Printer Options
The printer settings for printing a file are defined in the pfcExport.PrintPrinterOption object.
Methods Introduced:
The method
pfcExport.pfcExport.PrintPrinterOption_Create creates a new instance of the
pfcExport.PrintPrinterOption object.
The pfcExport.PrintPrinterOption object contains the following options:
|
|
If the method pfcModel.Model.Export is called for pfcModel.ExportType object, then the argument FileName is ignored, and can be passed as NULL. You must use the method pfcModel.Model.Export to set the FileName.
|
• PaperSize—Specifies the parameters of the paper to be printed in terms of the
pfcExport.PrintSize object. The method
pfcExport.PrintPrinterOption.SetPaperSize assigns the
PaperSize option. Use the method
pfcExport.Export.PrintSize_Create to create a new instance of the
pfcExport.PrintSize object. This object contains the following options:
◦ PaperSize—Specifies the size of the paper used for the plot in terms of the
pfcModel.PlotPaperSize object. Use the method
pfcExport.PrintSize.SetPaperSize to set the paper size.
|
|
If you want to plot a layout without adding a border on the paper, use the following paper sizes defined in the enumerated data type pfcModel.PlotPaperSize:
• CEEMPTYPLOT—The paper size is 22.5 x 36 in
• CEEMPTYPLOT_MM—The paper size is 625 x 1000 mm
|
• SaveMethod—Specifies the save method in terms of the
pfcExport.PrintSaveMethod class. Use the method
pfcExport.PrintPrinterOption.SetSaveMethod to specify the save method. The available methods are as follows:
◦ PRINT_SAVE_SINGLE_FILE—Plot is saved to a single file.
◦ PRINT_SAVE_MULTIPLE_FILE—Plot is saved to multiple files.
◦ PRINT_SAVE_APPEND_TO_FILE—Plot is appended to a file.
• SwHandshake—Determines if the software handshake method is to be used for printing. Set it to true to use the software handshake method. Use the method
pfcExport.PrintPrinterOption.SetSwHandshake to set this option.
• UseTtf—Specifies whether
TrueType fonts or stroked text is used for printing. Set this option to true to use
TrueType fonts and to false to stroke all text. Use the method
pfcExport.PrintPrinterOption.SetUseTtf to set this option.