Professional Documents
Culture Documents
BMC
LINKER
TH34 fiscal printer
PC driver programmer's manual
page 1 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
Table of Contents
1. Introduction..........................................................................................................................................................3
2. Installation...........................................................................................................................................................3
3. Linking process....................................................................................................................................................3
4.Control center........................................................................................................................................................4
Appendix 1 – command file format.........................................................................................................................5
Appendix 2 – response file format (error codes).....................................................................................................9
page 2 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
1. Introduction
TH34 linker is PC software that provides an easy connection between any POS application and TH34 fiscal
printer. It acts like any other windows printer driver but it requires a special communication to be used.
2. Installation
Installation of driver does not require usual installation procedure. Only thing that is necessary is that
Linker application (linker.exe)and Options.ini file have to be placed in same directory.
Linker application requires Microsoft .NET Framework 2.0 to be installed on host machine.
3. Linking process
When it is started, this driver monitors defined command folder on machine's file system and reacts only
when new command file with extension .dat is created. Driver checks if format of command file is according
to appendix 1 of this manual. If format of command file is correct, driver executes commands on fiscal
printer using machine's serial port and raw communication protocol for fiscal device.
If command file format is correct and execution of fiscal printer commands pass without any error, driver
creates new file with same name as command file and extension .OK in predefined response folder.
Additionally, for upload commands this response file contains data that was uploaded to PC.
If any error is raised during format checking or command's execution, driver creates new file with same
name as command file and extension .ERR in predefined response folder. In this case, response file will
contain error codes, saved in separate lines.
Linker will not delete response file so it is programmer's duty to delete response file after processing it.
Driver will optionally raise visual indication on PC screen in form of tray notification pop up window with
with detail description of command's execution result (success or error).
page 3 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
4.Control center
Driver is working in background of other applications running on Windows operating system. Only
indication that it actually works is its tray icon. Additional driver's options can be accessed using context
menu which shows after clicking with right mouse button on driver's tray icon.
This context menu has following items:
- Control center... (displays driver's control center for some additional actions)
- Stop (stops driver execution and releases host machine's serial port)
- Start (starts driver execution and occupies host machine's serial port)
- Check printer connection
- Show last notification
- Exit (stops all drivers activities and exists application)
Driver's control center is displayed on screen using context menu's item Control center and it supports
following:
- diagnostic actions - Check printer connection and Read Printer information
- actions necessary to resolve error situations,
- the most usual fiscal and non fiscal reports printing
- Options screen where driver's working parameters can be modified
Programming screen can be accessed if correct password is known and allows user to:
- if it is logged as manager, program cashiers, commercial footer message, printer number and display
greeting message
page 4 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
- if it is logged as service man, to do service programmings (setting fiscal mode parameters, set/change shop
name, set/change tax rates, set date and time,..)
page 5 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
page 6 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
page 7 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
page 8 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
page 9 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
page 10 of 11
BMC TH34 fiscal printer – PC driver programmer's manual
page 11 of 11