TFORMer SDK - JAVA  7.0
Public Member Functions | Public Attributes
Enumerations.EPrinterType Enum Reference

This enumeration specifies the type of output generated by TFORMer SDK. More...

List of all members.

Public Member Functions

String getFileExtension ()
 Return the file extension.
boolean isFile ()
 Tests if the printer saves data to a file.

Public Attributes

 Cups
 A CUPS printer (Linux and UNIX only).
 Default
 The default output device type.
 HTML = ("html")
 This printer type generates HTML output as file.
 ImageBmp = ("bmp")
 This printer type generates BMP image files (one image file per page).
 ImageGif = ("gif")
 This printer type generates GIF image files (one image file per page).
 ImageJpg = ("jpg")
 This printer type generates JPG image files (one image file per page).
 ImagePcx = ("pcx")
 This printer type generates PCX image files (one image file per page).
 ImagePng = ("png")
 This printer type generates PNG image files (one image file per page).
 ImageTga = ("tga")
 This printer type generates TGA image files (one image file per page).
 ImageTifMultiPage = ("tiff")
 This printer type generates multi-page TIFF image files (one image contains all output pages).
 ImageTifSingle = ("tif")
 This printer type generates TIFF image files (one image file per page).
 PDFFile = ("pdf")
 This printer type generates PDF output as file.
 PSFile = ("ps")
 This printer type generates PostScript output as file.
 PSPrinter
 This printer type sends PostScript output directly to the specific printer.
 Repository
 The printer as defined in the Repository or stand-alone FormLayout. In the later case only the printer _Default_ is used (which maps to the default printer of the current user). To use other printers set the PrinterType to Win32.
 TxtFile = ("txt")
 This printer type generates ASCII output as file.
 TxtPrinter
 This printer type sends ASCII output directly to the specific printer.
 Win32
 Direct printing to a Windows printer via GDI-calls (Microsoft Windows only).
 ZPLFile = ("zpl")
 This printer type generates ZPL-II (ZEBRA Printer Language) output as file.
 ZPLPrinter
 This printer type sends ZPL-II (ZEBRA Printer Language) output directly to the specific printer.

Detailed Description

This enumeration specifies the type of output generated by TFORMer SDK.

Choose between direct printing (Win32, Repository, Cups, PostscriptPrinter, TextPrinter, ZPLPrinter) and other supported output formats (PostscriptFile, HtmlFile, PdfFile, TextFile, ZPL-file or the various image formats).

See also:
Output Format Prefixes, setOutputName, setPrinterType, setPrinterName

Member Function Documentation

String getFileExtension ( )

Return the file extension.

Returns:
null if the printer doesn't save data to file
boolean isFile ( )

Tests if the printer saves data to a file.

Returns:
true if the printer is a file printer

Member Data Documentation

The default output device type.

The output device which will be used depends on the type of the FormLayout to be printed.

  • Repository-based FormLayout:
    A printer of type Repository will be used. Without the specification of a PrinterName the default printer within this Repository (named _Default_) is used.
  • Stand-alone FormLayout: A printer of type Win32 will be used on Microsoft Windows. For Linux and UNIX a printer of type Cups will be used.
HTML = ("html")

This printer type generates HTML output as file.

Some aspects of the index page and the footer appended to each generated HTML page may be customized. See Footer.html and Template.html in the TFORMer installation directory for details.

ImageBmp = ("bmp")

This printer type generates BMP image files (one image file per page).

The specified filename may contain #-characters as placeholders for the page-number.

ImageGif = ("gif")

This printer type generates GIF image files (one image file per page).

The specified filename may contain #-characters as placeholders for the page-number.

ImageJpg = ("jpg")

This printer type generates JPG image files (one image file per page).

The specified filename may contain #-characters as placeholders for the page-number.

ImagePcx = ("pcx")

This printer type generates PCX image files (one image file per page).

The specified filename may contain #-characters as placeholders for the page-number.

ImagePng = ("png")

This printer type generates PNG image files (one image file per page).

The specified filename may contain #-characters as placeholders for the page-number.

ImageTga = ("tga")

This printer type generates TGA image files (one image file per page).

The specified filename may contain #-characters as placeholders for the page-number.

ImageTifSingle = ("tif")

This printer type generates TIFF image files (one image file per page).

The specified filename may contain #-characters as placeholders for the page-number.

PSFile = ("ps")

This printer type generates PostScript output as file.

The PostScript header and footer used for each page may be customized. See Footer.ps and Header.ps in the TFORMer installation directory for details.

This printer type sends PostScript output directly to the specific printer.

The PostScript header and footer used for each generated page may be customized. See Footer.ps and Header.ps in the TFORMer installation directory for details.


© 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