Library | File

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

static pfcPrintPrinterOption_ptrCreate ()
Creates an object used to define the printer settings for printing a file.
xboolGetDeleteAfter ()
voidSetDeleteAfter (xbool value)
true to delete file after printing; false to not delete file.
xstringGetFileName ()
voidSetFileName (xrstring value)
Name of a file where the print should go.
pfcPrintSize_ptrGetPaperSize ()
voidSetPaperSize (pfcPrintSize_ptr value)
Size of paper to be printed.
xstringGetPenTable ()
voidSetPenTable (xrstring value)
File containing pen table
xstringGetPrintCommand ()
voidSetPrintCommand (xrstring value)
Print command.
xstringGetPrinterType ()
voidSetPrinterType (xrstring value)
Type of printer.
xintGetQuantity ()
voidSetQuantity (xint value)
Number of papers to be printed.
xboolGetRollMedia ()
voidSetRollMedia (xbool value)
true to use roll media for printing; false to not use roll media.
xboolGetRotatePlot ()
voidSetRotatePlot (xbool value)
true to rotate the plot; false to skip rotating plot.
pfcPrintSaveMethodGetSaveMethod ()
voidSetSaveMethod (pfcPrintSaveMethod value)
Save method.
xboolGetSaveToFile ()
voidSetSaveToFile (xbool value)
true to save file after print; false to skip file saving.
xboolGetSendToPrinter ()
voidSetSendToPrinter (xbool value)
true to send file to printer; false to not send file to printer.
xrealGetSlew ()
voidSetSlew (xreal value)
Slew value
xboolGetSwHandshake ()
voidSetSwHandshake (xbool value)
true to use handshake method for printing; false to not use handshake method.
xboolGetUseTtf ()
voidSetUseTtf (xbool value)
true to use TTF support for printing; false to stroke all text.



Method Detail

xstringGetPrinterType ()
voidSetPrinterType (xrstring value)

Type of printer.
Manual References:
Interface: Printer Options, Interface: Printer Options




xboolGetSaveToFile ()
voidSetSaveToFile (xbool value)

true to save file after print; false to skip file saving.
Manual References:
Interface: Printer Options, Interface: Printer Options




pfcPrintSaveMethodGetSaveMethod ()
voidSetSaveMethod (pfcPrintSaveMethod value)

Save method.
Manual References:
Interface: Printer Options, Interface: Printer Options




xstringGetFileName ()
voidSetFileName (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:
Interface: Printer Options, Interface: Printer Options




xboolGetDeleteAfter ()
voidSetDeleteAfter (xbool value)

true to delete file after printing; false to not delete file.
Manual References:
Interface: Printer Options, Interface: Printer Options




xboolGetSendToPrinter ()
voidSetSendToPrinter (xbool value)

true to send file to printer; false to not send file to printer.
Manual References:
Interface: Printer Options, Interface: Printer Options




xstringGetPrintCommand ()
voidSetPrintCommand (xrstring value)

Print command.
Manual References:
Interface: Printer Options, Interface: Printer Options




xstringGetPenTable ()
voidSetPenTable (xrstring value)

File containing pen table
Manual References:
Interface: Printer Options, Interface: Printer Options




pfcPrintSize_ptrGetPaperSize ()
voidSetPaperSize (pfcPrintSize_ptr value)

Size of paper to be printed.
Manual References:
Interface: Printer Options, Interface: Printer Options




xintGetQuantity ()
voidSetQuantity (xint value)

Number of papers to be printed.
Manual References:
Interface: Printer Options, Interface: Printer Options




xboolGetSwHandshake ()
voidSetSwHandshake (xbool value)

true to use handshake method for printing; false to not use handshake method.
Manual References:
Interface: Printer Options, Interface: Printer Options




xboolGetRollMedia ()
voidSetRollMedia (xbool value)

true to use roll media for printing; false to not use roll media.
Manual References:
Interface: Printer Options, Interface: Printer Options




xrealGetSlew ()
voidSetSlew (xreal value)

Slew value
Manual References:
Interface: Printer Options, Interface: Printer Options




xboolGetRotatePlot ()
voidSetRotatePlot (xbool value)

true to rotate the plot; false to skip rotating plot.
Manual References:
Interface: Printer Options, Interface: Printer Options




xboolGetUseTtf ()
voidSetUseTtf (xbool value)

true to use TTF support for printing; false to stroke all text.
Manual References:
Interface: Printer Options




static pfcPrintPrinterOption_ptrCreate ()

Creates an object used to define the printer settings for printing a file.
Manual References:
Interface: Printer Options, Interface: Printer Options
Returns: