bertcom - 2024-11-08

Good afternoon,

I have a project where i need to split a string and send it in ascii code to an Domino Printer.

Concept: i get an String from an Zebra scanner looking like this : " R002043;5410761402862;Oil Plus 2C Comp.A - Gris Belge;1286193824;"

To start is the ";" the seperator. i found some functions to delete the ";" in a string. this is okay but now i want to convert each digit in the string into ascii like this:

R=82
0=48
0=48
2=50
0=48
...

This because the printer wants to receive a string like this:

<esc>OQ001TE 82 48 48 50 48 ...<eot></eot></esc>

Anyone who can help me with setting me on the right track with some advice?