open-escpos-print-service

This is an Android app that provides a PrintService for label and receipt printers.

It supports ESC/POS printers like the Netum G5 or MTP-II. It also supports Citizen printers using the CPCL protocol.

You can connect printers through Bluetooth or a TCP socket.

How

Using through an intent

If you need to print from an app that does not support printing (Firefox for Android for example) or without going through the Android printer selection screen, you can send an intent to this app with the folowwing format:

It looks like this: intent://#Intent;scheme=print-intent;S.content=H4sIAAAAAAAA...XXXXX;end

Details

If you have an ESC/POS label printer, enable the Cut after each page switch, this will make the printer go to the start of the next label (at least on the Netum ones). There are speed limits and delays that you can set in each printer settings; if your printer works well, leave these at 0.

TODO

Some things are not implemented yet: