# Printer API, possible to connect?

**URL:** <https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728>\
**Category:** Ignition\
**Created:** [January 29, 2020, 7:15pm UTC](https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728 "2020-01-29T19:15:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [January 29, 2020, 7:15pm UTC](https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728/1 "2020-01-29T19:15:49Z")

</div>

Hi all,

I’m trying to get printer status from a label printer with C# API. Need some advice on how to connect and read data directly from Ignition - if possible?

Thanks in advance.

[http://www.satoworldwide.com/software/sato-printer-interface-api.aspx](http://www.satoworldwide.com/software/sato-printer-interface-api.aspx)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 29, 2020, 7:22pm UTC](https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728/2 "2020-01-29T19:22:41Z")

</div>

Ignition is not written in .NET so this library/API is not directly useful.

You might be able to use it to build a small .NET web service that you can communicate with from Ignition, that in turn communicates with the label printer.

---

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [January 29, 2020, 7:34pm UTC](https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728/3 "2020-01-29T19:34:27Z")

</div>

Thanks Kevin,

That’s the road we are going, just wanted to check if its possible to get it done without additional software.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [January 29, 2020, 7:43pm UTC](https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728/4 "2020-01-29T19:43:44Z")

</div>

It actually looks like that API has a little web server built in that you can start and stop… so it might not be much work.

---

<div class="post-metadata">

**Author:** ![SBL\_MC](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sbl_mc/32/56813_2.png) [@SBL\_MC](https://forum.inductiveautomation.com/u/SBL_MC)\
**Post date:** [February 4, 2020, 8:52am UTC](https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728/5 "2020-02-04T08:52:11Z")

</div>

Maybe its possible to read the windows printer driver status? All we need is online/offline and que status.

---

<div class="post-metadata">

**Author:** ![arebbaloch1122](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arebbaloch1122/32/20971_2.png) [@arebbaloch1122](https://forum.inductiveautomation.com/u/arebbaloch1122)\
**Post date:** [February 2, 2021, 1:44pm UTC](https://forum.inductiveautomation.com/t/printer-api-possible-to-connect/31728/6 "2021-02-02T13:44:32Z")

</div>

Don’t expect the c# code to be easy. Learn the language of ZPL. You’ll find it easy to do if you can get your hands on one sample zpl file with the commands to encode it. In order to add more details to an existing mark, I literally had to learn this two days ago to change zpl. The zpl language is pretty easy to understand and with a printer you can do all your tests on a notepad.
