Solved

How to generate and print a barcode using zebra printer(gk420d) and zebra programming language

Posted on 2014-01-24
3
3,429 Views
Last Modified: 2014-02-23
Hi

I have a requirement in my website.I want to generate a barcode for a text that is generated dynamically.I am using php and printer is zebra printer(gk420d) and on windows 7.I have installed the zebra utilities  and zebra drivers also.

I need to know how to use the zpl  and also how to send the zpl code to  zebra printer from a webpage.

Please suggest the process involved with zebra printer when printing needs from a webpage.

I have tried and written the zpl code and send it to printer using window.print.But  it is printing the code on the label,instead of barcodes details.
0
Comment
Question by:srikanth_saladi
3 Comments
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39806779
Obviously you can't print from the browser directly to your printer so you need to use a helper.   I use http://qzindustries.com/.  It used to be free under jzebra but with the added security features sun as added to java, they have had to change their business model.  There is still a free version you will see on the site, but it is self signed so you will get the warning messages from java.  

Once you download, it will come with a test page http://qzindustries.com/TutorialWebApplet you can use.  Essentially you are loading a jar file and a bit of javascript.  

Each printer (zebra, epson) has their own proprietary raw codes to send the printer.  You will need to get the documentation by signing up with zebra if you have not done so already.

The developer is good about getting back to you with issues and there is more tutorials and help on the google groups page https://code.google.com/p/jzebra/

Please let me know if you have any more questions on this.
0
 
LVL 38

Expert Comment

by:hdhondt
ID: 39880379
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question