Home > News > Industry > How to print QR code via Receipt Printer
Catalogues
China Catalogues manufacturer
Latest News

OCOM passed the certification of "National High-tech Enterprise"

On November 7, 2023, according to the announcement of the National High-tech Enterprise Recognition and Management Leading Group Office, OCOM successfully passed the "National High-tech Enterprise" certification, thus officially entering the ranks of national high-tech enterprises.

OCOM Emerges as No.1 Financial Equipment Supplier in Alibaba's "Super September 2023"

OCOM Emerges as No.1 Financial Equipment Supplier in Alibaba's "Super September 2023"

"Software Copyrights" and six "Utility Model Patent" Certificates Obtained by OCOM

Congratulations to OCOM- obtain three "Software Copyrights" and six "Utility Model Patent" certificates in 15th anniversary.

OCOM Grandly Celebrate the 15th Anniversary

July 2nd, 2022, OCOM 15th anniversary celebration was grandly held at Atour S Hotel, Nanshan District, Shenzhen.
Certifications
Contact Us
Address: 3A01, 4F, Block 2, Nanyou 4th Industrial Park, Nanshan Ave, Nanshan, Shenzhen 518054, China.
Email: ocom@ocominc.com, info@possolution.com .cn; 
Tel: +86.755.86053207, ext. 800; 
Fax: +86.755.86053207 ext. 868; 
QQ: 2485890637; 
WeChat / WHATSAPP / Viber: 0086-13352932860. Contact Now

News

How to print QR code via Receipt Printer

Hans Original 2014-09-04 18:41:37

                     How to print QR code via Receipt Printer

With the QR code used more widely, many businesses will advertise on shopping bills by QR barcode or QR code payments. So how to print QR code via Receipt Printer?

Now we Print: "WWW.OCOMINC.COM" the QR code as an example,

Open one can receive and send hex command devices such as "serial debugging assistant"

Enter the command:

1D 28 6B 30 67 n (instruction set QRcode size ranges of n greater value in the 1-16 bar the larger the size)

1D 28 6B 30 69 n (set-dimensional bar code error correction level of instruction, ranging from n in 48-51 represent different error correction levels)

1D 28 6B 30 80 0F 00 (transfer data to the "code cache" command)

77 77 77 2E 6F 63 6F 6D 69 6E 63 2E 63 6F 6D (which is www.ocominc.com hexadecimal representation)

1D 28 6B 30 81 (  Print QR Code encoded data encoded buffer)

0A 0A 0A 0A (paper feed / line-instruction, multiple instructions can be avoided then send cutter knife to cut off the complete QR Code wrap with a few instructions)

 1D 56 01 (cutter instruction, want to continue to print, then do not want to cut you can delete this instruction)

Put together all of the above instructions, you can print out the 2D barcode

1D 28 6B 30 67 07 1D 28 6B 30 69 48 1D 28 6B 30 80 0F 00 77 77 77 2E 6F 63 6F 6D 69 6E 63 2E 63 6F 6D 1D 28 6B 30 81 0A 0A 0A 1D 56 01