djc
Advanced Member level 1
- Joined
- Jan 27, 2013
- Messages
- 402
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- India
- Activity points
- 4,554
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.