Sending a string of commands to a printer directly in its native language is called Raw Printing.
Many thermal printers need these raw commands sent to them in order to perform functions like barcode printing, receipt printing, label printing, etc. Raw Printing bypasses the printer's drivers in most cases, making them very fast and reliable. Raw Printing is also capable of doing some advanced features such as cutting receipt paper, kicking out cash drawers, etc.
Download and install the QZ Tray application on the computer to which your thermal printer is connected. This application can be found at its official site. Currently, Windows, macOS, and Linux are supported by QZ Tray. During the installation you will be prompted to install Java if not already installed, please install Java to complete the installation.
Further instructions on installing the QZ Tray Application can be here.
To be able to send raw commands to a printer you need to first create a print format in raw commands. Jinja Templating Language is used in raw commands just like in the HTML custom print format.
To create a new print format for Raw Printing:
Currently, any string-based printer languages can be used in the Raw Commands
field in the print format. Writing raw commands requires knowledge of the printer's native language provided by the printer manufacturer. Please refer to the developer manual provided by the printer manufacturer on how to write their native commands.
To enable Raw Printing:
There are two ways to send Raw Printing commands to your printer.
To print a raw command print format from the Document print view:
4. You may be asked to select the "print format - printer mapping".
It is often a requirement that a print command has to be issued on a certain event (like submit, save, amend, etc.). It is possible to write a client script.
Please contact us to customize this for you