Solved

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

Posted on 2014-01-24
3
3,521 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 53

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …

752 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