API Documentation > Interface Classes > Class pfcPrintPrinterOption
Class pfcPrintPrinterOption

# include <pfcExport.h>

class
pfcPrintPrinterOption
: public virtual
xobject
{
xdeclare(pfcPrintPrinterOption)
...
};
This is a
COMPACT class.

Description
This interface is used to define the printer settings for printing a file.
Method Summary
Creates an object used to define the printer settings for printing a file.
void
true to delete file after printing; false to not delete file.
void
Name of a file where the print should go.
void
Size of paper to be printed.
void
File containing pen table
void
Print command.
void
Type of printer.
void
Number of papers to be printed.
void
true to use roll media for printing; false to not use roll media.
void
true to rotate the plot; false to skip rotating plot.
void
Save method.
void
true to save file after print; false to skip file saving.
void
true to send file to printer; false to not send file to printer.
void
SetSlew (xreal value)
Slew value
void
true to use handshake method for printing; false to not use handshake method.
void
true to use TTF support for printing; false to stroke all text.
Method Detail
GetPrinterType
()
void
SetPrinterType
(xrstring value)
Type of printer.
Manual References:
GetSaveToFile
()
void
SetSaveToFile
(xbool value)
true to save file after print; false to skip file saving.
Manual References:
GetSaveMethod
()
void
SetSaveMethod
Save method.
Manual References:
GetFileName
()
void
SetFileName
(xrstring value)
Name of a file where the print should go.
Attention: if pfcModel::Export(xrstring, pfcExportInstructions_ptr) is called for pfcExportType EXPORT_PRINT, the argument FileName is ignored (and can be passed as null). Instead, the output filename should be set through this API.
Manual References:
GetDeleteAfter
()
void
SetDeleteAfter
(xbool value)
true to delete file after printing; false to not delete file.
Manual References:
GetSendToPrinter
()
void
SetSendToPrinter
(xbool value)
true to send file to printer; false to not send file to printer.
Manual References:
GetPrintCommand
()
void
SetPrintCommand
(xrstring value)
Print command.
Manual References:
GetPenTable
()
void
SetPenTable
(xrstring value)
File containing pen table
Manual References:
GetPaperSize
()
void
SetPaperSize
Size of paper to be printed.
Manual References:
GetQuantity
()
void
SetQuantity
(xint value)
Number of papers to be printed.
Manual References:
GetSwHandshake
()
void
SetSwHandshake
(xbool value)
true to use handshake method for printing; false to not use handshake method.
Manual References:
GetRollMedia
()
void
SetRollMedia
(xbool value)
true to use roll media for printing; false to not use roll media.
Manual References:
GetSlew
()
void
SetSlew
(xreal value)
Slew value
Manual References:
GetRotatePlot
()
void
SetRotatePlot
(xbool value)
true to rotate the plot; false to skip rotating plot.
Manual References:
GetUseTtf
()
void
SetUseTtf
(xbool value)
true to use TTF support for printing; false to stroke all text.
Manual References:
Create
()
Creates an object used to define the printer settings for printing a file.
Manual References:
Returns:
Was this helpful?