API Documentation > Interfaces > Interface PrintPrinterOption
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.
User Guide References:
Method Summary
boolean
Get method for attribute "DeleteAfter"
true to delete file after printing;false to not delete file.
String
Get method for attribute "FileName"
Name of a file where the print should go.
Get method for attribute "PaperSize"
Size of paper to be printed.
String
Get method for attribute "PenTable"
File containing pen table
String
Get method for attribute "PrintCommand"
Print command.
String
Get method for attribute "PrinterType"
Type of printer.
int
Get method for attribute "Quantity"
Number of papers to be printed.
boolean
Get method for attribute "RollMedia"
true to use roll media for printing;false to not use roll media.
boolean
Get method for attribute "RotatePlot"
true to rotate the plot;false to skip rotating plot.
Get method for attribute "SaveMethod"
Save method.
boolean
Get method for attribute "SaveToFile"
true to save file after print;false to skip file saving.
boolean
Get method for attribute "SendToPrinter"
true to send file to printer;false to not send file to printer.
double
Get method for attribute "Slew"
Slew value
boolean
Get method for attribute "SwHandshake"
true to use handshake method for printing;false to not use handshake method.
boolean
Get method for attribute "UseTtf"
true to use TTF support for printing;false to stroke all text.
void
SetDeleteAfter (boolean value)
Set method for attribute "DeleteAfter"
true to delete file after printing;false to not delete file.
void
SetFileName (String value)
Set method for attribute "FileName"
Name of a file where the print should go.
void
Set method for attribute "PaperSize"
Size of paper to be printed.
void
SetPenTable (String value)
Set method for attribute "PenTable"
File containing pen table
void
SetPrintCommand (String value)
Set method for attribute "PrintCommand"
Print command.
void
SetPrinterType (String value)
Set method for attribute "PrinterType"
Type of printer.
void
SetQuantity (int value)
Set method for attribute "Quantity"
Number of papers to be printed.
void
SetRollMedia (boolean value)
Set method for attribute "RollMedia"
true to use roll media for printing;false to not use roll media.
void
SetRotatePlot (boolean value)
Set method for attribute "RotatePlot"
true to rotate the plot;false to skip rotating plot.
void
Set method for attribute "SaveMethod"
Save method.
void
SetSaveToFile (boolean value)
Set method for attribute "SaveToFile"
true to save file after print;false to skip file saving.
void
SetSendToPrinter (boolean value)
Set method for attribute "SendToPrinter"
true to send file to printer;false to not send file to printer.
void
SetSlew (double value)
Set method for attribute "Slew"
Slew value
void
SetSwHandshake (boolean value)
Set method for attribute "SwHandshake"
true to use handshake method for printing;false to not use handshake method.
void
SetUseTtf (boolean value)
Set method for attribute "UseTtf"
true to use TTF support for printing;false to stroke all text.
Method Detail
GetPrinterType
String
GetPrinterType
()
SetPrinterType
void
SetPrinterType
(String value)
Type of printer.
User Guide References:
GetSaveToFile
boolean
GetSaveToFile
()
SetSaveToFile
void
SetSaveToFile
(boolean value)
true to save file after print; false to skip file saving.
User Guide References:
GetSaveMethod
GetSaveMethod
()
SetSaveMethod
void
SetSaveMethod
(PrintSaveMethod value)
Save method.
User Guide References:
GetFileName
String
GetFileName
()
SetFileName
void
SetFileName
(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.
User Guide References:
GetDeleteAfter
boolean
GetDeleteAfter
()
SetDeleteAfter
void
SetDeleteAfter
(boolean value)
true to delete file after printing; false to not delete file.
User Guide References:
GetSendToPrinter
boolean
GetSendToPrinter
()
SetSendToPrinter
void
SetSendToPrinter
(boolean value)
true to send file to printer; false to not send file to printer.
User Guide References:
GetPrintCommand
String
GetPrintCommand
()
SetPrintCommand
void
SetPrintCommand
(String value)
Print command.
User Guide References:
GetPenTable
String
GetPenTable
()
SetPenTable
void
SetPenTable
(String value)
File containing pen table
User Guide References:
GetPaperSize
GetPaperSize
()
SetPaperSize
void
SetPaperSize
(PrintSize value)
Size of paper to be printed.
User Guide References:
GetQuantity
int
GetQuantity
()
SetQuantity
void
SetQuantity
(int value)
Number of papers to be printed.
User Guide References:
GetSwHandshake
boolean
GetSwHandshake
()
SetSwHandshake
void
SetSwHandshake
(boolean value)
true to use handshake method for printing; false to not use handshake method.
User Guide References:
GetRollMedia
boolean
GetRollMedia
()
SetRollMedia
void
SetRollMedia
(boolean value)
true to use roll media for printing; false to not use roll media.
User Guide References:
GetSlew
double
GetSlew
()
SetSlew
void
SetSlew
(double value)
Slew value
User Guide References:
GetRotatePlot
boolean
GetRotatePlot
()
SetRotatePlot
void
SetRotatePlot
(boolean value)
true to rotate the plot; false to skip rotating plot.
User Guide References:
GetUseTtf
boolean
GetUseTtf
()
SetUseTtf
void
SetUseTtf
(boolean value)
true to use TTF support for printing; false to stroke all text.
User Guide References:
Was this helpful?