TFORMer SDK - JAVA  7.0
Print Options

Table of advanced print options supported by setOptions.

Overview

setOptions allows to specify additional printing options. The options are specified as a string containing named values in the form [OptionName]=[value]. Multiple options are delimited by white-spaces.

List of Supported Options

Option Output TypeDescription
media Win32 Printers The value has to match an existing printer tray or form name
Other Printers The value has to match a predefined media name or has to be specified in the format Custom.WidhtxHeight e.g. Custom.220mmX10cm
resolution Image Printers Value in dpi (dots per inch)
Other Printers No effect
orientation All Printers Landscape
Portrait
duplex Win32 printers
PostScript File/Printer
Vertical, Yes, True or 1 for vertical duplex printing
Horizontal for horizontal duplex printing
Simplex, None, No, False or 0 for no duplex printing
Other Printers No effect
collate Win32 printers
PostScript File/Printer
Option has no effect if SimulateCopies is true otherwise
Yes, True or 1 for collating output
No, False or 0 for not collating output
Other Printers No effect
copies All Printers The value specifies the number of copies
simulatecopiesWin32 printers
PostScript File/Printer
Yes, True or 1 specifies that TFORMer will simulate copies
No, False or 0 specifies that the printer driver should handle copies
ZPL printers Yes, True or 1 specifies that TFORMer will simulate copies (collated)
No, False or 0 specifies that the printer driver should handle copies (not collated)
Other Printers This option is ignored, copies are always simulated (collated)
barcode-error abort, abort printing if an error occurs
ignore, ignore the error and continue printing
print, print the error information instead of the component
image-error abort, abort printing if an error occurs
ignore, ignore the error and continue printing
print, print the error information instead of the component
expression-error abort, abort printing if an error occurs
ignore, ignore the error and continue printing
print, print the error information instead of the component
unicode-font-error abort, abort printing if an error occurs
ignore, ignore the error and continue printing
print, print the error information instead of the component
soft-hyphens Specifies the optional soft-hyphen characters (comma separated).
hyphen Specifies the hyphen character which should be printed when a word-break is triggered by a soft-hyphen.
offsetX Specifies the horizontal offset of the top left corner (shift right: offsetX=3.2mm). Default unit is mm, if required you can specify other units like in, cm, m, mil, etc. (see TFORMer Designer).
offsetY Specifies the vertical offset of the top left corner (shift down: offsetY=3.2mm). Default unit is mm, if required you can specify other units like in, cm, m, mil, etc. (see TFORMer Designer).

© 2006-2012 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue Oct 23 2012 16:33:20 for TFORMer SDK - JAVA with doxygen 1.8.0