Raw commands are printed as text


I am trying to print in raw using QZTray from the POS. But, any raw command i have given in the print format is printed as text. The printer is ZKTeco ZKP8002 which supports ESC/POS.

I was able to print with this printer using qztray and ESC/POS on another application.

OK. I’ve fixed it. You have to enter the raw commands inside jinja template.
For eg.
{{ ‘\x1B’ + ‘\x61’ + ‘\x31’ }}

Wasted a whole day on this. :worried:

1 Like

I think there is a checkbox to specify it its raw commands.
Please check the print format. You might find.

Yeah. It doesn’t work even after you check that. You have to wrap the raw commands with jinja. It’s working now. Thanks though.