# Printing on ESC/POS printers

**URL:** <https://forum.servoy.com/t/printing-on-esc-pos-printers/20150>\
**Category:** Classic Servoy\
**Created:** [December 26, 2019, 5:12pm UTC](https://forum.servoy.com/t/printing-on-esc-pos-printers/20150 "2019-12-26T17:12:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![achiary](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@achiary](https://forum.servoy.com/u/achiary)\
**Post date:** [December 26, 2019, 5:12pm UTC](https://forum.servoy.com/t/printing-on-esc-pos-printers/20150/1 "2019-12-26T17:12:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![achiary](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@achiary](https://forum.servoy.com/u/achiary)\
**Post date:** [December 29, 2019, 1:56pm UTC](https://forum.servoy.com/t/printing-on-esc-pos-printers/20150/2 "2019-12-29T13:56:51Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Joas](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/joas/32/5095_2.png) [@Joas](https://forum.servoy.com/u/Joas)\
**Post date:** [March 17, 2020, 2:57pm UTC](https://forum.servoy.com/t/printing-on-esc-pos-printers/20150/3 "2020-03-17T14:57:01Z")

</div>

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.
