FAQ: TFORMer SDK
How Can I Set the Resolution for a Zebra Printer?
How Can I Set the Resolution for a Zebra Printer?
Beside changing the resolution for Zebra (ZPL II) printers directly in the Designer (print dialog), you can adjust it also for the SDK or Quickprint as shown below.
The DPI can be permanently set / changed in the TFORMer.xml configuration file (per user and per system).
Location of TFORMer.xml on Microsoft Windows
- The default (system-wide) TFORMer.xml resides in the directory
C:\ProgramData\TEC-IT\TFORMer\9
- In addition, TFORMer supports user specific files which override the default.
TFORMer Designer creates this file automatically in a user specific folder:
C:\Users\**USERNAME**\AppData\Local\TEC-IT\TFORMer\9
Editing the TFORMer.xml
- Locate the <ZEBRA> node and edit the resolution attribute, which specifies the DPI of the Zebra printer.
- After saving the file, restart your SDK application (e.g. Quickprint) to read in the new settings.
For further information, see Appendix C: Configuration File TFORMer.xml in the TFORMer Developer Manual.
SDK Option
- In case you don't want to change the resolution permanently, you can change it also dynamically by program code (or command line) with the following SDK option: resolution=300