# Print Labels from Client

**URL:** <https://forum.inductiveautomation.com/t/print-labels-from-client/94399>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [August 9, 2024, 9:01am UTC](https://forum.inductiveautomation.com/t/print-labels-from-client/94399 "2024-08-09T09:01:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 9, 2024, 3:26pm UTC](https://forum.inductiveautomation.com/t/print-labels-from-client/94399/3 "2024-08-09T15:26:36Z")

</div>

You can use `executeReport` instead, to get the report bytes as a PDF, then pass that to the local printer directly using a modified form of the code Jordan posted here:

> [@Printing to a local client printer in a Vision client](https://forum.inductiveautomation.com/t/printing-to-a-local-client-printer-in-a-vision-client/63822/6):
>
> I had this done up yesterday, but then got yanked to go to to one of our sister plants. roll_eyes I prefer looking up the printer by name, because somehow, somewhere, someone will add another printer and make it the default. from javax.print import DocFlavor, SimpleDoc, PrintServiceLookup from java.io import ByteArrayInputStream # Get all available printers printServices = PrintServiceLookup.lookupPrintServices(None, None) # Initialize print service variable printService = None # Check fo…

---

_[View the full topic](https://forum.inductiveautomation.com/t/print-labels-from-client/94399)._
