Solved

Need help getting a Zebra QL420 PLUS printer working on Redhat 5.2

Posted on 2011-09-22
6
1,619 Views
Last Modified: 2013-12-26
We have purchased several Zebra QL420 PLUS (wireless) hip printers to print barcode labels from an application that runs on our Redhat 5.2 server.  We've tried setting up the printer using the Zebra driver that comes with Cups v1.2 and as a "raw" printer.  As a raw printer the all we get is a form feed when we attempt to print to it.  No text at all.  As a "Zebra" printer we get control codes with the embedded text.  I guess I need any pointers on how to fix this.  Is there a way to create a ZPLII file that can be piped directly to the printer?  I'd like to isolate that the application is or is not the problem.
0
Comment
Question by:lwrogers
  • 4
  • 2
6 Comments
 
LVL 20

Expert Comment

by:tfewster
ID: 36589138
My knowledge of Zebra printers is 10 years old, but may still be relevant; They had their own printer control language, so a file sent to it had contain the Zebra codes for formatting etc.

- If you're driving it "raw", you need to include all the Zebra setup codes. The format is unique, but straightforward and covered in their programming guide. I managed to get an Access database running on Windows 95 to send "reports" to the printer embedding the codes for what I wanted. It was only 2 barcodes & the corresponding clear-text, so nothing fancy.

- If you're using supplied drivers (never tried that!), that should take care of the setup but I'm not sure about the content - barcode-type selection, fontsize & positioning etc. Something has to tell the printer "change font for the next bit of data" - the Zebra probably supports a number of standard graphics file formats.

Your current plan, to create a test file that can be sent to the printer using `lp` is a good first step to prove the printer is working, either "raw" or using the drivers. The ZPL II programmers Guide has some simple examples that would do.

Next, you can intercept what the app is sending to the printer (print to a file instead), then use that file as the basis for testing, by adding the Zebra codes if needed.

Finally, you need to get the app to embed the codes in the output. If you can't change the app, you'll have to sent it through a custom lp filter that converts the control codes the app inserts into Zebra codes
0
 

Author Comment

by:lwrogers
ID: 36711767
Based on my test the printer is setup correctly on the Linux side.  When we print to the printer from our application we are getting a form feed with no text.  If we send a CPCL file to the printer it prints the label correctly.  If we send a ZPL file to the printer all I get is a form feed.  We know that the application is creating a ZPL label.  We found some instructions on how set the command language on the printer to ZPL by sending a text file via Label Vista.  In the text file is the following command

! U1 setvar "device.languages" "ZPL"

However this does not seem to fix the problem.  What was not specified is what this text file should be named.
0
 

Accepted Solution

by:
lwrogers earned 0 total points
ID: 36949193
Actually the solution was a configuration file provided by Zebra that I had to upload to the printer.   The Label Vista program was showing that the printer was setup to except ZPL code but in fact it was not.  One I sent the configuration file and rebooted the printer we where in business.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 20

Expert Comment

by:tfewster
ID: 36952908
Glad to hear you fixed it, and posted the answer for others who may have the same problem.

You can get your points refunded by clicking the Request Attention link

Regards,
tfewster
0
 

Author Closing Comment

by:lwrogers
ID: 36991284
Solved
0
 

Author Comment

by:lwrogers
ID: 36970319
Fixed it myself
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Is it worth it to buy an Echo? In a word, yes! For me it was definitely worth it. I use mine on a daily basis. Prologue & Privacy At first, I was very skeptical about the Amazon Echo. In general, I don't like voice assistants. I don't li…
Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

708 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

17 Experts available now in Live!

Get 1:1 Help Now