User's Guide > Interface > Printing Files > Printer Options
Printer Options
The printer settings for printing a file are defined in the pfcPrintPrinterOption object.
Methods and Properties Introduced:
The method pfcPrintPrinterOption.Create() creates a new instance of the pfcPrintPrinterOption object.
The method pfcBaseSession.GetPrintPrinterOptions() retrieves the printer settings.
The pfcPrintPrinterOption object contains the following options:
DeleteAfter—Determines if the file is deleted after printing. Set it to true to delete the file after printing. Use the property pfcPrintPrinterOption.DeleteAfter to assign this option.
FileName—Specifies the name of the file to be printed. Use the property pfcPrintPrinterOption.FileName to set the name.
* 
If the method pfcModel.Export() is called for pfcExportType object, then the argument FileName is ignored, and can be passed as NULL. You must use the method pfcModel.Export() to set the FileName.
PaperSize—Parameters of the paper to be printed in terms of the pfcPrintSize object. The property pfcPrintPrinterOption.PaperSize assigns the PaperSize option. Use the method pfcPrintSize.Create() to create a new instance of the pfcPrintSize object. This object contains the following options:
Height—Height of paper. Use the property pfcPrintSize.Height to set the paper height.
Width—Width of paper. Use the property pfcPrintSize.Width to set the paper width.
PaperSize—Size of the paper used for the plot in terms of the pfcPlotPaperSize object. Use the property pfcPrintSize.PaperSize 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 pfcPlotPaperSize:
CEEMPTYPLOT—The paper size is 22.5 x 36 in
CEEMPTYPLOT_MM—The paper size is 625 x 1000 mm
PenTable—File containing the pen table. Use the property pfcPrintPrinterOption.PenTable to set this option.
PrintCommand—Command to be used for printing. Use the property pfcPrintPrinterOption.PrintCommand to set the command.
PrinterType—Printer type. Use the property pfcPrintPrinterOption.PrinterType to assign the type.
Quantity—Number of copies to be printed. Use the property pfcPrintPrinterOption.Quantity to assign the quantity.
RollMedia—Determines if roll media is to be used for printing. Set it to true to use roll media. Use the property pfcPrintPrinterOption.RollMedia to assign this option.
RotatePlot—Determines if the plot is rotated by 90 degrees. Set it to true to rotate the plot. Use the property pfcPrintPrinterOption.RotatePlot to set this option.
SaveMethod—Save method in terms of the pfcPrintSaveMethod enumerated data type. Use the property pfcPrintPrinterOption.SaveMethod 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.
SaveToFile—Determines if the file is saved after printing. Set it to true to save the file after printing. Use the property pfcPrintPrinterOption.SaveToFile to assign this option.
SendToPrinter—Determines if the plot is directly sent to the printer. Set it to true to send the plot to the printer. Use the property pfcPrintPrinterOption.SendToPrinter to set this option.
Slew—Speed of the pen in centimeters per second in X and Y direction. Use the property pfcPrintPrinterOption.Slew to set this option.
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 property pfcPrintPrinterOption.SwHandshake to set this option.
UseTtf—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 property pfcPrintPrinterOption.UseTtf to set this option.
Was this helpful?