FAQ: TFORMer SDK
How Can I Change the Barcode Draw Mode to Quality?
How Can I Change the Barcode Draw Mode to Quality?
In some cases you want to change the bar code draw mode for trouble shooting enlarged bars on thermal transfer printers like Printronix T4M or Zebra.
Beside changing the draw mode in the Designer print dialog (Options button), you can adjust it also for the SDK or Quickprint in the TFORMer.xml configuration file on a per user or system basis.
Location of TFORMer.xml on Microsoft Windows
- The default (system-wide) TFORMer.xml resides in the directory
C:\ProgramData\TEC-IT\TFORMer\8
- In addition, TFORMer Designer maintains a user specific file which overrides the default file. This file is created in the user specific folder:
C:\Users\**USERNAME**\AppData\Local\TEC-IT\TFORMer\9
- If you deliver a local configuration file along with your application (EXE), it takes precedence over the standard files in the user or program data directories.
Changing the GDI Draw Mode to 'Quality'
- Open the TFORMer.xml configuration file(s) as indicated above.
- Locate the <WINGDI><TBARCODE> node.
- Change the drawing-mode attribute to “2” <TBARCODE drawing-mode="2" />
- After saving the file, restart your SDK application (e.g. Quickprint) to read in the new settings.
SDK Option
- In case you don't want to change the drawing mode permanently, you can change it also dynamically by program code (or command line) with the following SDK option: tbarcode-drawing-mode=quality