printing problem with TLP 3884 Z zebra printer

5 pts.
Tags:
Zebra printers
ZPL code
Hi all, I am sending this zpl command to zebra printer's output stream to print the label but blank label is printed with this command. here is my code to print the label.
zplcmd="^XA~TA000~JSN^LT0^MNW^MTT^PON^PMN^LH0,0^JMA^PR2,2^MD10^JUS^LRN^CI0^XZn"
+"^XAn"
+"^MMTn"
+"^LL0300n"
+"^PW600n"
+"^LS0n"
+"^FT60,42^A0N,42,40^FH\^FD"+Name+"^FSn"
+"^FT60,132^A0N,42,40^FH\^FD"+Age+"^FSn"
+"^BY1,3,40^FT60,220^BCN,,Y,Nn"
+"^FD>"+barcode+"^FSn"
+"^PQ1,0,1,Y^XZn";


S = new Socket(Ip, port);
DataOutputStream out = new DataOutputStream(S.getOutputStream());
out.writeBytes(zplcmd);
why the blank label is printing ?? what is wrong with this ZPL script Thanks in advance, Leozeo
ASKED: September 24, 2008  7:34 AM
UPDATED: January 29, 2010  8:16 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

We had some strange things like that here.

We were using TL Ashford for our label printing and getting similar results.

It took a while but the problem ended up being the print driver.

Silly us.. we had it defined as a zebra printer..

When we changed it to a default print driver, the label printer worked flawless.

Try replacing the zebra driver with the default printer driver.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following