worseltes
Member
Hello all,
Have an interesting problem today. My PLC program is building the content of a 2d matrix barcode and sending the data to a Zebra 105SL Plus printer. Almost everything works well, the label is printed properly and all data is readable.
However, the customer spec calls for ASCII record and group separators to be visible to their system in the string data at specific locations, as well as an ASCII EoT. I am inserting HEX values of these characters into my string before sending, and the printer properly recognizes and includes the Group separators ($1D) in the code, but not the record separator ($1E) or EoT ($004). I believe the problem is that printer sees these characters as a print formatting instruction, rather than a special character to be printed, and as such, when I structure the string as per their spec, it is truncated and an empty 2d matrix is printed.
Here is what I am doing:
Example 1 - customer spec for code content
[)>[RS]06[GS]Yyyyyyyyyyyyyyyy[GS]Pxxxxxxxxx[GS]zzzzzzzzzz[GS]4D16286[GS]Ssssssssssssssss[RS][EOT]
Example 2 - Actual data sent, according to Customer Spec. Reads as an empty Data Matrix.
FD[)>$1E06$1DYyyyyyyyyyyyyyyy$1DPxxxxxxxxxxxxxx$1Dzzzzzzzzzzzz$1D4D16286$1DSssssssssssss$1E$004
Example 3 - Actual Data sent, Slightly modified from spec, but produces readable label
$1EFD[)>06$1DYyyyyyyyyyyyyyy$1DPxxxxxxxxxx$1Dzzzzzzzzzzzzzz$1D4D16286$1DSsssssssssssss$1E$004
Example 4: Content of Example 3 Label, as read by customer. Not accepted.
[)>06[GS]Yyyyyyyyyyyyyyyy[GS]Pxxxxxxxxx[GS]zzzzzzzzzz[GS]4D16286[GS]Ssssssssssssssss
Additionally, this string is preceded by a "$1EXA" and human readable data, then ended with a "$1EXZ". Also, I am using an Allen Bradley L33ER PLC, with ASCII card to send the data over serial connection.
Can anyone help? Hopefully this isn't too confusing.
Thanks in advance!
Have an interesting problem today. My PLC program is building the content of a 2d matrix barcode and sending the data to a Zebra 105SL Plus printer. Almost everything works well, the label is printed properly and all data is readable.
However, the customer spec calls for ASCII record and group separators to be visible to their system in the string data at specific locations, as well as an ASCII EoT. I am inserting HEX values of these characters into my string before sending, and the printer properly recognizes and includes the Group separators ($1D) in the code, but not the record separator ($1E) or EoT ($004). I believe the problem is that printer sees these characters as a print formatting instruction, rather than a special character to be printed, and as such, when I structure the string as per their spec, it is truncated and an empty 2d matrix is printed.
Here is what I am doing:
Example 1 - customer spec for code content
[)>[RS]06[GS]Yyyyyyyyyyyyyyyy[GS]Pxxxxxxxxx[GS]zzzzzzzzzz[GS]4D16286[GS]Ssssssssssssssss[RS][EOT]
Example 2 - Actual data sent, according to Customer Spec. Reads as an empty Data Matrix.
FD[)>$1E06$1DYyyyyyyyyyyyyyyy$1DPxxxxxxxxxxxxxx$1Dzzzzzzzzzzzz$1D4D16286$1DSssssssssssss$1E$004
Example 3 - Actual Data sent, Slightly modified from spec, but produces readable label
$1EFD[)>06$1DYyyyyyyyyyyyyyy$1DPxxxxxxxxxx$1Dzzzzzzzzzzzzzz$1D4D16286$1DSsssssssssssss$1E$004
Example 4: Content of Example 3 Label, as read by customer. Not accepted.
[)>06[GS]Yyyyyyyyyyyyyyyy[GS]Pxxxxxxxxx[GS]zzzzzzzzzz[GS]4D16286[GS]Ssssssssssssssss
Additionally, this string is preceded by a "$1EXA" and human readable data, then ended with a "$1EXZ". Also, I am using an Allen Bradley L33ER PLC, with ASCII card to send the data over serial connection.
Can anyone help? Hopefully this isn't too confusing.
Thanks in advance!