Library | Package Java Toolkit

Interface PrintPrinterOption

package com.ptc.pfc.pfcExport;

public interface PrintPrinterOption
  extends jxobject



Description

This interface is used to define the printer settings for printing a file.



Method Summary
booleanGetDeleteAfter ()
    Get method for attribute "DeleteAfter"
    true to delete file after printing; false to not delete file.
StringGetFileName ()
    Get method for attribute "FileName"
    Name of a file where the print should go.
PrintSizeGetPaperSize ()
    Get method for attribute "PaperSize"
    Size of paper to be printed.
StringGetPenTable ()
    Get method for attribute "PenTable"
    File containing pen table
StringGetPrintCommand ()
    Get method for attribute "PrintCommand"
    Print command.
StringGetPrinterType ()
    Get method for attribute "PrinterType"
    Type of printer.
intGetQuantity ()
    Get method for attribute "Quantity"
    Number of papers to be printed.
booleanGetRollMedia ()
    Get method for attribute "RollMedia"
    true to use roll media for printing; false to not use roll media.
booleanGetRotatePlot ()
    Get method for attribute "RotatePlot"
    true to rotate the plot; false to skip rotating plot.
PrintSaveMethodGetSaveMethod ()
    Get method for attribute "SaveMethod"
    Save method.
booleanGetSaveToFile ()
    Get method for attribute "SaveToFile"
    true to save file after print; false to skip file saving.
booleanGetSendToPrinter ()
    Get method for attribute "SendToPrinter"
    true to send file to printer; false to not send file to printer.
doubleGetSlew ()
    Get method for attribute "Slew"
    Slew value
booleanGetSwHandshake ()
    Get method for attribute "SwHandshake"
    true to use handshake method for printing; false to not use handshake method.
booleanGetUseTtf ()
    Get method for attribute "UseTtf"
    true to use TTF support for printing; false to stroke all text.
voidSetDeleteAfter (boolean value)
    Set method for attribute "DeleteAfter"
    true to delete file after printing; false to not delete file.
voidSetFileName (String value)
    Set method for attribute "FileName"
    Name of a file where the print should go.
voidSetPaperSize (PrintSize value)
    Set method for attribute "PaperSize"
    Size of paper to be printed.
voidSetPenTable (String value)
    Set method for attribute "PenTable"
    File containing pen table
voidSetPrintCommand (String value)
    Set method for attribute "PrintCommand"
    Print command.
voidSetPrinterType (String value)
    Set method for attribute "PrinterType"
    Type of printer.
voidSetQuantity (int value)
    Set method for attribute "Quantity"
    Number of papers to be printed.
voidSetRollMedia (boolean value)
    Set method for attribute "RollMedia"
    true to use roll media for printing; false to not use roll media.
voidSetRotatePlot (boolean value)
    Set method for attribute "RotatePlot"
    true to rotate the plot; false to skip rotating plot.
voidSetSaveMethod (PrintSaveMethod value)
    Set method for attribute "SaveMethod"
    Save method.
voidSetSaveToFile (boolean value)
    Set method for attribute "SaveToFile"
    true to save file after print; false to skip file saving.
voidSetSendToPrinter (boolean value)
    Set method for attribute "SendToPrinter"
    true to send file to printer; false to not send file to printer.
voidSetSlew (double value)
    Set method for attribute "Slew"
    Slew value
voidSetSwHandshake (boolean value)
    Set method for attribute "SwHandshake"
    true to use handshake method for printing; false to not use handshake method.
voidSetUseTtf (boolean value)
    Set method for attribute "UseTtf"
    true to use TTF support for printing; false to stroke all text.

Method Detail

GetPrinterType/SetPrinterType

StringGetPrinterType ()
voidSetPrinterType (String value)


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



GetSaveToFile/SetSaveToFile

booleanGetSaveToFile ()
voidSetSaveToFile (boolean value)


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



GetSaveMethod/SetSaveMethod

PrintSaveMethodGetSaveMethod ()
voidSetSaveMethod (PrintSaveMethod value)


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



GetFileName/SetFileName

StringGetFileName ()
voidSetFileName (String value)


    Name of a file where the print should go.

Attention: if Model.Export(String, ExportInstructions) is called for ExportType 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



GetDeleteAfter/SetDeleteAfter

booleanGetDeleteAfter ()
voidSetDeleteAfter (boolean value)


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



GetSendToPrinter/SetSendToPrinter

booleanGetSendToPrinter ()
voidSetSendToPrinter (boolean value)


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



GetPrintCommand/SetPrintCommand

StringGetPrintCommand ()
voidSetPrintCommand (String value)


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



GetPenTable/SetPenTable

StringGetPenTable ()
voidSetPenTable (String value)


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



GetPaperSize/SetPaperSize

PrintSizeGetPaperSize ()
voidSetPaperSize (PrintSize value)


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



GetQuantity/SetQuantity

intGetQuantity ()
voidSetQuantity (int value)


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



GetSwHandshake/SetSwHandshake

booleanGetSwHandshake ()
voidSetSwHandshake (boolean value)


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



GetRollMedia/SetRollMedia

booleanGetRollMedia ()
voidSetRollMedia (boolean value)


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



GetSlew/SetSlew

doubleGetSlew ()
voidSetSlew (double value)


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



GetRotatePlot/SetRotatePlot

booleanGetRotatePlot ()
voidSetRotatePlot (boolean value)


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



GetUseTtf/SetUseTtf

booleanGetUseTtf ()
voidSetUseTtf (boolean value)


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