Click to See Complete Forum and Search --> : How Do I????


Dhinchak
June 21st, 2002, 06:04 AM
Hi
I want to change default codepage of printer throgh C code. The printer I am using is EPSON compatible.
I am able to successfully pass thee escape sequences for Bold, Double Strike etc.
I need to change the code page that will support printing of French characters on printer.

Can anyone help???

Thanks in advance.

cup
June 25th, 2002, 03:30 AM
This depends on whether you are printing directly or indirectly. By directly, I mean you send a sequence to the printer and it prints it. By indirectly, I mean a bitmap of what you want is formed and then transferred to the printer.

If you are printing directly, it depends on the printer. The old dot matrix ones had a dip switch that could be changed. To switch between the modes, send ESC 6 or ESC 7.

The Epsons also have an IBM mode. You can use ESC 6, ESC 7, ESC \ or ESC ^ in IBM mode.

If you are printing indirectly, the code page will have to be set before you enter the program.