hi i am doing a kiosk software for my company. i have never done pcl before so please forgive any mistaken i make. I am having problem writing a code to change the font size of a text in c#.
The printer i am using is a axiohm/tpg A794 thermal pos printer. i know that if i want to send a pcl code to the printer i have to use esc or for c# "x1b" then the pcl code and send it to the printer as a normal printer.
i wrote the code like this
"movie = "x1b* 21 62"
PrintDirect.WritePrinter(lhPrinter,movie,movie.Length,ref pcWritten);
movie = "hello world";
PrintDirect.WritePrinter(lhPrinter,movie,movie.Length,ref pcWritten);"
i noted that the first line which was suppose to send the font change code to the printer actually printed out the 1 62. i look throught the documentation and ask the tpg service support and i still have no idea why is that being printed the code is actually take from
hope someone can help with this
The printer i am using is a axiohm/tpg A794 thermal pos printer. i know that if i want to send a pcl code to the printer i have to use esc or for c# "x1b" then the pcl code and send it to the printer as a normal printer.
i wrote the code like this
"movie = "x1b* 21 62"
PrintDirect.WritePrinter(lhPrinter,movie,movie.Length,ref pcWritten);
movie = "hello world";
PrintDirect.WritePrinter(lhPrinter,movie,movie.Length,ref pcWritten);"
i noted that the first line which was suppose to send the font change code to the printer actually printed out the 1 62. i look throught the documentation and ask the tpg service support and i still have no idea why is that being printed the code is actually take from
hope someone can help with this