Solved

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

Posted on 2014-01-24
3
3,203 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:Herman D'Hondt
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
html input clean up 3 32
Not needed 13 58
Showing data from 2 sql queries in one dropdown 8 14
using hash in login 34 20
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
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 dynamically set the form action using jQuery.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now