anandpr1989
2nd June 2016, 08:35
Hi All,

Can you please help me for below syntax to print barcode on sticker, because I am not getting any help from standard.

a5="<STX>B1;f3;o342,78;c0,3;w3;h139;r0;d3,"& strip$(shiftl$(shiftr$(tcibd001.item))) & "<ETX>"
a6="<STX>H2;f3;o121,162;c26;b0;h34;w22;d3,"& strip$(shiftl$(shiftr$(tcibd001.dsca))) & "<ETX>"

Thanks in advance

mark_h
2nd June 2016, 14:21
Try searching for barcodes on this forum and on the board itself. You might find something to assist you. I am not familiar with the format displayed in your post.

bdittmar
2nd June 2016, 15:28
Hi All,

Can you please help me for below syntax to print barcode on sticker, because I am not getting any help from standard.

a5="<STX>B1;f3;o342,78;c0,3;w3;h139;r0;d3,"& strip$(shiftl$(shiftr$(tcibd001.item))) & "<ETX>"
a6="<STX>H2;f3;o121,162;c26;b0;h34;w22;d3,"& strip$(shiftl$(shiftr$(tcibd001.dsca))) & "<ETX>"

Thanks in advance

Hello,

easier way :

a5="<STX>B1;f3;o342,78;c0,3;w3;h139;r0;d3,"& trim$(tcibd001.item)& "<ETX>"

a5 should be a string with 100 characters :

so a 2D Code should be used.

<STX>B1;f3;o342,78;c0,3;w3;h139;r0;d3, = 38 char
Maximum of tcibd001.item is 47 char
<ETX> = 5 char , in SUM 90 char.

What Kind of Barcode should be used ?
Are <STX>......... and <ETX> necessary for scanner ?

Give more Details about your requirement, please.

Using controll characters in barcode you Need transparancy Barcodes !

Regards

bhushanchanda
2nd June 2016, 15:32
Hi,

Also, adding more to what Bernd suggested, you might try using ASCII values for STX and ETX

e.g.

a5= chr$(002)&"B1;f3;o342,78;c0,3;w3;h139;r0;d3,"& trim$(tcibd001.item)& chr$(003)