You have to define a constant or variable with the decimal value equivelant to an "escape character" which is 027. Every character equates to a decimal number. The percent sign is equal to decimal 037. You need some kind of an ASCII conversion chart to determine the decimal value of every character you want to send to the printer.
Then, in your program, just write those character sequences to the printer.
Thanks for your response. Sounds simple when you know how. which of couse it is!
Do you now know where I can get an ascii conversion chart from? These used to always be in the back of printer manuals and DOS manuals, but unfortunately in HP's and MS's absolute wisdom, they are no longer included.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.