# Printing a label from a Zebra ZT230 using USB connection

**URL:** <https://forum.inductiveautomation.com/t/printing-a-label-from-a-zebra-zt230-using-usb-connection/72462>\
**Category:** Ignition\
**Tags:** ignition81, scripting, perspective\
**Created:** [April 14, 2023, 3:00pm UTC](https://forum.inductiveautomation.com/t/printing-a-label-from-a-zebra-zt230-using-usb-connection/72462 "2023-04-14T15:00:25Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 19, 2023, 3:40pm UTC](https://forum.inductiveautomation.com/t/printing-a-label-from-a-zebra-zt230-using-usb-connection/72462/21 "2023-04-19T15:40:07Z")

</div>

> [@Raymond\_Sipes](#):
>
> not sure how to add a strikethrough to the text on this forum

To get this:

~~This is struck through.~~

Use this:

```auto
<s>This is struck through.</s>

```

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [April 19, 2023, 4:28pm UTC](https://forum.inductiveautomation.com/t/printing-a-label-from-a-zebra-zt230-using-usb-connection/72462/22 "2023-04-19T16:28:48Z")

</div>

Just to add some flavor, we just set the printers up as shared printers on the gateways and then use the reporting module to print to the zebras using system.report.execute  
The report viewer has barcode fields for all of the major barcode types as well.

---

<div class="post-metadata">

**Author:** ![Francisco\_Ochoa](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@Francisco\_Ochoa](https://forum.inductiveautomation.com/u/Francisco_Ochoa)\
**Post date:** [September 25, 2024, 10:49pm UTC](https://forum.inductiveautomation.com/t/printing-a-label-from-a-zebra-zt230-using-usb-connection/72462/23 "2024-09-25T22:49:27Z")

</div>

can you pass me the full code please?

---

<div class="post-metadata">

**Author:** ![Francisco\_Ochoa](https://avatars.discourse-cdn.com/v4/letter/f/e495f1/32.png) [@Francisco\_Ochoa](https://forum.inductiveautomation.com/u/Francisco_Ochoa)\
**Post date:** [September 25, 2024, 10:54pm UTC](https://forum.inductiveautomation.com/t/printing-a-label-from-a-zebra-zt230-using-usb-connection/72462/24 "2024-09-25T22:54:19Z")

</div>

how i will know if my printer is selected?

[Previous page](https://forum.inductiveautomation.com/t/printing-a-label-from-a-zebra-zt230-using-usb-connection/72462.md?page=1)
