zebra discussion

Hello Robin;

Never to late to learn new things!

We did not engage in the project because the customer was indecisive and we

did no push because we felt unprepared, lacking the testing means.

I put some code together but our huge problem was not having a printer to


Are you(the company) making a virtual printer to test any soon?

I also practiced with a Dymo label printer I have here. Dymo provides

specific methods and classes to talk directly to the printer . You tell

them what label to print(the full path) , the data to be included(this

depends on the label you select) and how many copies do you want.Even the

tray if it has more than one, all this in few lines of code and without

zpl, In a very simple way. Why is it that I could not find these functions

for Zebra?

Is it coming any time soon? I am sure you have some dlls for mobile

devices(Link os i think is the name), but I could not find anything like

that in pc.

Third and last question. This code presented for sending raw data through

an ip connection, how would it need to be changed if the printer was local?

I seriously need a virtual printer so I can make tests.I am here, the

customer in another continent and both are new to Zebra.

Anonymous (not verified)
Hi Tobias. I am sorry and

Hi Tobias.

I am sorry and agree it would be great, but we are not intending to do a virtual printer for IP reasons.  If you watch the webinar   I think I have some options for what you are asking about in there. 

Our SDK does have a way to identify the label you want to print, then use a structure (HashMap in Java) to send the variable data you want printed (FormatUtil (Zebra API (build v2.11.2800)) ). You can also send the data as an XML structure if you want.  The Link-OS SDK has a set of Java APIs for PC​.

When you say local connection, do you mean USB or local TCP?  Which code are you referring to?

Vote up!
Vote down!

Points: 0

You voted ‘up’

Tobias Sanchez
When mentioning local I

When mentioning local I meant usb, if it were local TCP I could use the

same code for when I have an ip, right?

I was reading the link. What I got from there is that I have to create a

generic printer with the zebra name to send the information there

I know how to create the zpl and modify it according to my data, I even

sent it to print and it printed the zpl code, but it has to be tested in a

real zebra printer.

Thank you very much for your help but I am getting nowhere without the real


2017-08-24 17:27 GMT-04:00 Robin West <


Zebra Technologies Developer Portal <https://developer.zebra.com/>

zebra discussion

reply from Robin West

<https://developer.zebra.com/people/RWest?et=watches.email.thread> in *Label

And Receipt Printing* - View the full discussion


Vote up!
Vote down!

Points: 0

You voted ‘up’

Anonymous (not verified)
Hi Tobias,The code for TCP

Hi Tobias,

The code for TCP and USB is different.  USB is far more difficult to work with directly.  The method of using the generic driver is probably the easiest, but you have a few other options. 

1. Print through the generic driver

2. The Java Link-OS SDK for PC

3. Send the raw data to the Windows spooler (methods may be deprecated in Win 10)

4. Open a FileStream to the USB port directly

If you're not part of our ISV Partner Program, I'm sorry we can't do much to help you get a printer for your testing.  There are plenty of places where they can be ordered online, some even used. You don't need a top of the line printer.  As long as it is a ZPL printer, basic USB and TCP communication is essentially the same and you should be able to do dev and test with it.

Vote up!
Vote down!

Points: 0

You voted ‘up’

Log in to post comments