CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: How Do I????

  1. #1
    Join Date
    Jun 2002
    Posts
    2

    Question How Do I????

    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.

  2. #2
    Join Date
    Jun 2002
    Location
    Letchworth, UK
    Posts
    1,020
    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.
    Succinct is verbose for terse

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured