Hello,
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.
Tony