Printing on ESC/POS printers

Hi everyone !

We need to print to a thermal printer that supports ESC/POS protocol.

Has anyone faced this case ? Is it necesary to use a Plug-in ?

Help and suggestions are appreciated.

Best regards

May be I have to share more information : printing to an ESC/POS device means sending binary data to a device.

I do not find a command in Servoy to do it; the print command associated to a form is meant to print a foundset or the current record so it is not applicable.

May be someone has faced a similar case.

It depends on the printer and on the client that you use.

I’ve worked with POS printers that were connected through the serial port or via tcp/ip, In smart client you need a plugin for that. I’ve also worked with POS printers that had windows drivers, so it was just possible to print to it like a normal printer, no plugin necessary.

In the NGclient it is a bit more tricky to connect to local devices. A good option would be to run the NGclient from electron. Let me know if you need more info on that.