PrinterType enumeration

Library: TFORMer9Lib

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).

Values

NameExplicit initializerDescription
PrinterType_Default= 0

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.

PrinterType_Win32= 1

Direct printing to a Windows printer via GDI-calls (Microsoft Windows only).

PrinterType_Repository= 2

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.

PrinterType_Cups= 3

A CUPS printer (Linux and UNIX only).

PrinterType_PostscriptFile= 4

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.

PrinterType_HtmlFile= 5

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.

PrinterType_PdfFile= 6

This printer type generates PDF output as file.

PrinterType_PostscriptPrinter= 7

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.

PrinterType_TextPrinter= 8

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

PrinterType_TextFile= 9

This printer type generates ASCII output as file.

PrinterType_ImageBmp= 10

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

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

PrinterType_ImageGif= 11

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

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

PrinterType_ImageJpg= 12

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

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

PrinterType_ImagePcx= 13

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

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

PrinterType_ImagePng= 14

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

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

PrinterType_ImageTga= 15

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

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

PrinterType_ImageTifSingle= 16

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

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

PrinterType_ImageTifMultiPage= 17

This printer type generates multi-page TIFF image files (one image contains all output pages).

PrinterType_ZPLPrinter= 18

This printer type sends ZPL-II (ZEBRA Printer Language) output directly to the specific printer (Microsoft Windows only).

PrinterType_ZPLFile= 19

This printer type generates ZPL-II (ZEBRA Printer Language) output as file.

PrinterType_PDFA= 20

This printer type generates PDF/A output as file.

PrinterType_ZUGFeRD= 21

This printer type generates ZUGFeRD PDF/A-3 output as file and attaches the given ZUGFeRD-invoice.xml to it (see http://www.zugferd.de).

PrinterType_SVG= 22

This printer type generates SVG (Scalable Vector Graphics) output as file.

PrinterType_SVGZ= 23

This printer type generates SVGZ (Compressed Scalable Vector Graphics) output as file.

PrinterType_InvalidNot explicit

Invalid or unspecified printer type.

Do not use this value (internal use only).

Search documentation

Search in
More scopes
Additional scopes

All contents