How does a Bluetooth printer print QR code by command?

How does a Bluetooth printer print QR code by command?

With the increasing use of QR code, there are more and more occasions where QR code is needed. How can OCOM's Bluetooth printer print the QR code by command?
In the early days, the OCPP series of Bluetooth printers did not support printing barcodes, but as the barcodes became more widely used, we upgraded the printers and now have the option to support Bluetooth printers that support QR code printing.

Print the QR code command:

Hex: 1F 1C mn nL 00 d1 d2 d3 ...... dk

1F 1C is a fixed instruction to print QR code

m: indicates the size of the barcode. The value of m ranges from 0 to 9.

n: indicates the error correction level, and the value of n ranges from 0 to 4.

nL The number of barcode characters printed.

The value of d ranges from 0 to 255.

Example: The QR barcode with the print data "OCOM".

Command: 1F 1C 08 03 04 00 4F 43 4F 4D OA

Explanation:




Facial Masks

Dust Mask,Anti Dust Mask,Protective Mask,Surgical Disposable Face Mask

ShanDong YongFang Sanitary Products Co.,Ltd , https://www.sdyongfang.com