ZD410 - Blank labels, RS232, Scale

P Patryk Banasiak 3 years 7 months ago
117 2 0

Hello,

I've been recently working on a projcet involving Zebra ZD410 and a warehouse scale. The point of this project is to send the weight from the scale through RS232 to the printer and print a information label for the workers. It is my first ever project involving a zebra printer and after some time i run into troubles. I have connected the printer and scale using 9 pin RS232 cable and everything seems to be working fine. I tested the connection using diagnostic mode on the printer to see if I can recive some informations from the scale. The problem i run into is that the scale is sending an EPL code to the printer and the printer is printing blank labels. The EPL code i recived is pasted below:

FK"AA"
FS"AA"
D8
S4
I0
ZT
V00,07,N,"A"
V01,08,R,"B"
V02,08,R,"C"
V03,08,R,"D"
V04,08,R,"E"
V05,08,R,"F"
V06,08,R,"G"
TDY4/MN/DD
TTH:M:S
Q200,24
q384
j0
R0,0
A30,20,0,4,1,1,N,TD"  "TT
A30,55,0,4,1,1,N,"NO:     "V00
A30,90,0,4,1,1,N,"NET:  "V01"kg"
A30,125,0,4,1,1,N,"TARE: "V03"kg"
A30,160,0,4,1,1,N,"GROSS:"V02"kg"
FE
FR"AA"
?
P1,1

I've done some reading on the EPL guides and it looks like the scale is sending the complete form to the printer. I've also checked the stored forms on the printer and there is none. To clarify all things:

- I set the device.languages of the printer to "epl",
- I tried to make custom label using ZebraDesigner 2 to see if the printer would work on other scale and it does ( other scale is sending ASCII       text only, no form ) ,
- I checked stored forms after printing one label and there is nothing there,
- The RS232 settings for both scale and printer are (9600baud,8bit,1stop,no parity, DTR/DSR protocol)

My question is why the printer is printing blank labels when the scale is sending the form each time I press the print button on the scale? Is it possible that the printer is ignoring the form that the scale is sending? Do i need to make custom form before and send it to the printer for it to work with the scale?

Thank you for taking your time and helping me with this issue.

Please Register or Login to post a reply

2 Replies

Y Yanis Dalabiras

If the stored form is not there after a FI command, it means that the printer couldn't parse the form and store it on the printer. It's most likely that there are some errors in the form. I would suggest to check the commands in the EPL form received from the scale, i.e. the commands between FS and FE, against the ELTRON® Programming Language (EPL) Programming Guide. There could be unsupported commands or error in syntax, etc. Hope this helps.

P Patryk Banasiak

Thank you for your reply, I contacted the scale supplier about the syntax error in "I" command, now I'm waiting for their response.

CONTACT
Can’t find what you’re looking for?