# Printing report to networked printer

**URL:** <https://forum.inductiveautomation.com/t/printing-report-to-networked-printer/16097>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [November 22, 2017, 5:39pm UTC](https://forum.inductiveautomation.com/t/printing-report-to-networked-printer/16097 "2017-11-22T17:39:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [November 22, 2017, 6:21pm UTC](https://forum.inductiveautomation.com/t/printing-report-to-networked-printer/16097/2 "2017-11-22T18:21:52Z")

</div>

I think it needs to be as it’s installed and named in the client.

This bit of code will fetch the installed printer names:

```auto
from javax.print import PrintServiceLookup as PSL

printerList = PSL.lookupPrintServices(None, None)
defaultPrinter = PSL.lookupDefaultPrintService()

for printer in printerList:
  print printer.getName()
print'------------------------'
print 'Default printer : ' + defaultPrinter.getName()

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/printing-report-to-networked-printer/16097)._
