Skip to main content
12-Amethyst
September 9, 2019
Solved

Automatic Printing Label

  • September 9, 2019
  • 1 reply
  • 4397 views

Hi there!

I have a requirement to print out barcode labels automatically.

I have a Zebra web printer, which can print out barcode labels based on ZPL command text.

Basically, the process is to generate ZPL command codes and output it as a long string, and then send this string to Zebra printer.

However in ThingWorx, I cannot call Windows printers automatically.

Any ideas or advise?

Thanks a lot!

Best answer by slangley

Hi @tallrain.

 

You may want to contact Zebra to see what communications protocols are supported by your printers.  You may then be able to use one of our SDK's to translate it to the correct message format.

 

Regards.

 

--Sharon

1 reply

Support
September 10, 2019

Hi @tallrain.

 

We don't understand why this isn't possible as long as the printer is capable of processing the request.  We have had other customers that worked with Zebra printers in the past and they were able to communicate via REST.  From what we know so far, we can't say whether your printers support the same type of communication, but we don't see why there would not be some mechanism available for communicating with the printer using REST or via our SDK.

 

We would recommend that you reach out to the Sales team for engaging with our Services team to assist with any help that is needed for assessing and coding a solution.

 

Regards.

 

--Sharon

tallrain12-AmethystAuthor
12-Amethyst
September 11, 2019

Thanks Sharon!

I checked Zebra site, it seems only Zebra Mobile Printers support REST API, and Zebra Industrial Printers don't.

In our factory we only use Zebra Industrial Printers, so that would be an issue.

One possilbe solution is to output printer commands into txt files, and print them out via DOS command, but that's not a good solution, because you don't know the exact real time print result.