Quantcast
Channel: SCN : All Content - Output Management
Viewing all articles
Browse latest Browse all 1353

PDF417 on Zebra ZM400 group, record separators & eot

$
0
0

I have tried MANY suggestions to get the GS/ RS & EOT to come out correctly but cannot. Can anyone help me?

 

Standard text:

<BX>&headr&<030>&sixxc&<029>&lic&&splitc&&quaty2&&splitc&&part&_1D&lot&&split2&&pon&

&split2&&plt&&spl22&&eot2&</>

 

<BX> PDF417 system barcode

&headr& <030> &sixxc&<029> &lic&&splitc& &quaty2&&splitc& &part& _1D &lot&&split2& &pon&

&split2& &plt&&spl22& &eot2&

 

Smartform Global definitions:

spl22 type x '1E' constant

eot2 type x '04' constant

split2 type x  29 constant

sixxc type char2 '06' constant

splitc type char1

headr typr char3

 

Code before Standard Text is called:

strtc = cl_abap_conv_in_ce=>uccp( '005B' ).

str2c = cl_abap_conv_in_ce=>uccp( '0029' ).

str3c = cl_abap_conv_in_ce=>uccp( '003E' ).

splitc = cl_abap_conv_in_ce=>uccp( '001D' ).

eotc = cl_abap_conv_in_ce=>uccp( '0004' ).

spl2c = cl_abap_conv_in_ce=>uccp( '001E' ).

CONCATENATE strtc str2c str3c INTO headr.

 

Should be:

[)>[RS]06[GS]1J708010X10ZG2051[GS]Q700.000[GS]P2009514-AA[GS]1T10ZG2051[GS]K086827[GS]21L840[RS][EOT]

 

Scans as:

[)>061J708010X10ZG2051#Q700.000#P2009514-AA_1D1T10ZG20511DK0868271D21L8401E04

 

Various attempts come out as:

_1D = _1D suppose to work for Zebra

 

SAP Characters from table TCP01

<029> =

<030> =      

 

Variables defined in different manners

Split2 = 1D          

splitc = #

Spl22 = 1E     

Eot2 = 04     

 

-


On a seperate note:

When I concatentate all the variables into 1, converting the hex values, the hex comes out as #.

If I place all the variables & hex values side by side in a window they come out as multiple barcodes.


Viewing all articles
Browse latest Browse all 1353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>