Solved

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

Posted on 2011-09-22
6
1,628 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Stuck in voice control mode on your Amazon Firestick?  Here is how to turn it off!!!
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

914 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