imTigger / webapp-hardware-bridge

Silent print and serial ports for web!
MIT License
135 stars 71 forks source link

printer-basic.htm raw string #32

Open guysnelling opened 3 years ago

guysnelling commented 3 years ago

In the RAW example, the string "G0AbQBthAEhlbGxvIFdvcmxkCh0hERthAUVTQy9QT1MgUHJpbnRlciBUZXN0Ch0hABthAkdvb2RieWUgV29ybGQKHVZBAw==" is sent.

How is this string decoded into the label that is printed?

imTigger commented 3 years ago

This sample is a ESC/POS payload for receipt printer. Base64 are decoded to binary and send directly to printer.