djc
Advanced Member level 1
Hi,
I have successfully interfaced thermal printer Maxim pn-64 with Atmega8 and code vision for AVR. I can print the data using putchar() and puts() function provided with codevision. Now i want to change the font size. Double width and double height.For this command given is 'ESC ! n'. Hexadecimal value for ESC is 1B, for ! is 21 but what about 'n'. What is 'n' and how to send hex value for 'n' or for that matter whole 'ESC ! n' sequence using putchar() or puts() function. Please guide.
I have successfully interfaced thermal printer Maxim pn-64 with Atmega8 and code vision for AVR. I can print the data using putchar() and puts() function provided with codevision. Now i want to change the font size. Double width and double height.For this command given is 'ESC ! n'. Hexadecimal value for ESC is 1B, for ! is 21 but what about 'n'. What is 'n' and how to send hex value for 'n' or for that matter whole 'ESC ! n' sequence using putchar() or puts() function. Please guide.