zebra printer

plcBen

Member
Join Date
Jun 2009
Location
Tennessee
Posts
13
I am trying to print labels with a zebra zm400 printer. I succesfully configured chanel 0 and matched settings (baud 9600, parity, etc.). I also am able to see the data light (on the zebra printer) flash when I send data to the Com port-so I am confident that data is being sent. I am using an ASCII write, of course to do this by sending string of printer commands. . . . However, I am not getting any label to print. My suspicion is there needs to be data sent in packets and it needs to follow a certain time scheme, but I am not sure where to begin. Has anyone succesfully done this? [I am using AB SLC 505, the printer is ZM400, the programming language for the printer is ZPL II].
Thanks
 
I have done this before with a ZM4+ printer and 5/05. The last thing that you send to the printer should be ^XZ. This is the end format command which should tell the printer to start.
 
continued zebraprint

Thanks,
I have done this, still no success. For a trial I did this:
ST9:0 ^XA
ST9:1 ^FO5,5^ADN,5,5^FDBEN
ST9:2 ^FS
ST9:3 ^XZ

I am using 4 ASCII write commands(one for each line of string commands) and sending all of this at the same time (triggered by the same bit)
 
Try adding a backslash (\) before each command. Like this:

ST9:0 \^XA
ST9:1 \^FO5,5\^ADN,5,5\^FDBEN
ST9:2 \^FS
ST9:3 \^XZ

Also, make sure you are using a ons instruction to trigger your AWT instructions only once.
 
You may be better off concatenating (ACN) the strings into one before sending it. This would guarantee that the characters go down the wire in the right order.

Paul
 
Make sure the port is configured for ASCII with no termination characters. See the Channel Configuration section, Channel 0 page.
Hope this helps.
Steve.
 
try adding a backslash (\) before each command. Like this:

St9:0 \^xa
st9:1 \^fo5,5\^adn,5,5\^fdben
st9:2 \^fs
st9:3 \^xz

also, make sure you are using a ons instruction to trigger your awt instructions only once.

yes the backslash (\) is the answer... You have to add before each (^) simbol, and make sure it is not repeated.
 

Similar Topics

Hello ! I am trying to use an omron cj2m-cpu33 with a CP1W-CIF01 plug in serial connector to talk to a zebra ZT610 printer. I am getting the data...
Replies
8
Views
316
Hi All, I currently have an issue to establish connection between my PLC to Zebra Printer. On my side don't have the ASCII card Module to use...
Replies
9
Views
684
Hi All Trying to get the PLC to send a commant to the printer to prinnt a lable. evarything is setup except RS linnx cannot see the printers and...
Replies
0
Views
353
Hi All I'm trying to connect two zebra printers to th PLC through Ethernet. I can ping the Printer through my laptop connected to the private...
Replies
0
Views
339
Hi there, i have 2 questions, first of all... I need help with the configuration of a Zebra Printer. zt410 I have created the module and still...
Replies
4
Views
1,560
Back
Top Bottom