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.
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.
Manual References:
GetSaveToFile
boolean
GetSaveToFile
()
SetSaveToFile
void
SetSaveToFile
(boolean value)
true to save file after print; false to skip file saving.
Manual References:
GetSaveMethod
GetSaveMethod
()
SetSaveMethod
void
SetSaveMethod
(PrintSaveMethod value)
Save method.
Manual 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.
Manual References:
GetDeleteAfter
boolean
GetDeleteAfter
()
SetDeleteAfter
void
SetDeleteAfter
(boolean value)
true to delete file after printing; false to not delete file.
Manual References:
GetSendToPrinter
boolean
GetSendToPrinter
()
SetSendToPrinter
void
SetSendToPrinter
(boolean value)
true to send file to printer; false to not send file to printer.
Manual References:
GetPrintCommand
String
GetPrintCommand
()
SetPrintCommand
void
SetPrintCommand
(String value)
Print command.
Manual References:
GetPenTable
String
GetPenTable
()
SetPenTable
void
SetPenTable
(String value)
File containing pen table
Manual References:
GetPaperSize
GetPaperSize
()
SetPaperSize
void
SetPaperSize
(PrintSize value)
Size of paper to be printed.
Manual References:
GetQuantity
int
GetQuantity
()
SetQuantity
void
SetQuantity
(int value)
Number of papers to be printed.
Manual References:
GetSwHandshake
boolean
GetSwHandshake
()
SetSwHandshake
void
SetSwHandshake
(boolean value)
true to use handshake method for printing; false to not use handshake method.
Manual References:
GetRollMedia
boolean
GetRollMedia
()
SetRollMedia
void
SetRollMedia
(boolean value)
true to use roll media for printing; false to not use roll media.
Manual References:
GetSlew
double
GetSlew
()
SetSlew
void
SetSlew
(double value)
Slew value
Manual References:
GetRotatePlot
boolean
GetRotatePlot
()
SetRotatePlot
void
SetRotatePlot
(boolean value)
true to rotate the plot; false to skip rotating plot.
Manual References:
GetUseTtf
boolean
GetUseTtf
()
SetUseTtf
void
SetUseTtf
(boolean value)
true to use TTF support for printing; false to stroke all text.
Manual References:
Was this helpful?