Output Format Prefix Reference
An output-format prefix passed to TFormer_SetPrinterName selects the output type together with the destination.
For example:
Create a PDF file
PassPDF:out.pdfto TFormer_SetPrinterName. See Output to a File.Send ZPL directly to a Windows printer
PassZPLPRINTER:ZEBRA4Mto TFormer_SetPrinterName, replacingZEBRA4Mwith your printer name. See Output to a Printer.
Prefix | Example | Description |
|---|---|---|
No Prefix | HP4050PS | Direct printing to the specified printer. Supply a printer name as defined on Windows or Linux/UNIX (CUPS). Use "\\server\printername" for shared network printers, "printername" for local printers or leave the printer name empty for the default printer. An explicitly selected printer type is retained. |
PDFFile: | PDFFile:C:\Temp\out.pdf | PDF-output is stored in C:\temp\out.pdf |
PDF: | PDF:C:\Temp\out.pdf | PDF-output is stored in C:\temp\out.pdf |
PDFA: | PDFA:C:\Temp\out.pdf | PDF/A-output is stored in C:\temp\out.pdf |
HTML: | HTML:C:\Temp\out.html | HTML-output stored in C:\temp\out.html and automatically named subfolders |
PS: | PS:C:\Temp\out.ps | PostScript-output is stored in C:\temp\out.ps |
PSPRINTER: | PSPRINTER:HP4050PS | Direct printing to the printer specified. The printer must support PostScript. On Windows, you can use a generic text-only printer driver. |
TXT: | TXT:C:\temp\out.txt | Plain text output is stored in C:\temp\out.txt |
TXTPRINTER: | TXTPRINTER:ZEBRA4M | Direct printing to the printer specified. The output is plain text and may contain printer control sequences. On Windows, you can use a generic text-only printer driver. |
REPO: | REPO:PrinterName | Direct printing to the printer specified in the Repository. |
IMGBMP: | IMGBMP:C:\temp\out.bmp | The BMP image file named out.bmp is stored in C:\temp. One file is generated per output page; see One File per Page for numbering and filename patterns. |
IMGGIF: | IMGGIF:C:\temp\out.gif | The GIF image file named out.gif is stored in C:\temp. One file is generated per output page; see One File per Page for numbering and filename patterns. |
IMGJPG: | IMGJPG:C:\temp\out.jpg | The JPG image file named out.jpg is stored in C:\temp. One file is generated per output page; see One File per Page for numbering and filename patterns. |
IMGPCX: | IMGPCX:C:\temp\out.pcx | The PCX image file named out.pcx is stored in C:\temp. One file is generated per output page; see One File per Page for numbering and filename patterns. |
IMGPNG: | IMGPNG:C:\temp\out.png | The PNG image file named out.png is stored in C:\temp. One file is generated per output page; see One File per Page for numbering and filename patterns. |
IMGTGA: | IMGTGA:C:\temp\out.tga | The TGA image file named out.tga is stored in C:\temp. One file is generated per output page; see One File per Page for numbering and filename patterns. |
IMGTIF: | IMGTIF:C:\temp\out.tif | The TIF image file named out.tif is stored in C:\temp. One file is generated per output page; see One File per Page for numbering and filename patterns. |
IMGMULTITIF: | IMGMULTITIF:C:\temp\out.tif | The TIF image file named out.tif is stored in C:\temp. All pages are stored in a single output file. |
ZPL: | ZPL:C:\temp\out.zpl | ZPL-II output (suitable for ZEBRA printers) is stored in C:\temp\out.zpl. |
ZPLPRINTER: | ZPLPRINTER:ZEBRA4M | Direct printing in ZPL-II format to the operating system printer named ZEBRA4M. The printer must support ZPL-II. You can use a generic text-only printer driver. This output type is supported under Microsoft Windows only. |
ZUGFERD: | ZUGFERD:C:\Temp\out.pdf | ZUGFeRD-output is stored in C:\temp\out.pdf. Requires a ZUGFeRD invoice XML file, supplied either through the SDK option |
SVG: | SVG:C:\Temp\out.svg | SVG-output is stored in C:\temp\out.svg. One file is generated per output page; see One File per Page for numbering and filename patterns. |
SVGZ: | SVGZ:C:\Temp\out.svgz | SVGZ-output is stored in C:\temp\out.svgz. One file is generated per output page; see One File per Page for numbering and filename patterns. |