Printer Escape Codes for Epson stylus color 460?

This is a discussion on Printer Escape Codes for Epson stylus color 460? within the C Programming forums, part of the General Programming Boards category; I am trying to write to my epson color stylus 460 printer using a program I have written. I have ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    5

    Exclamation Printer Escape Codes for Epson stylus color 460?

    I am trying to write to my epson color stylus 460 printer using a program I have written. I have created a header file that contains fprint statements that look something like this:

    fprintf(prn_ptr,"\x1B...");

    What i need is the escape sequences to perform the following:

    switch bold on
    switch bold off
    switch underline on
    switch underline off
    swith italic on
    switch italic off
    reset (or initialise)
    landscape on and off
    portrait on and off
    condensed on and off

    Can anybody help me?
    I have tried the epson homepage but have had no luck
    Thanks
    Dan

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913

    Follow up question.

    Could you do these effects with DOS, or do you have to use windows, with multiple fonts, etc.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    5
    I am using DOS as I cannot access my epson printer at all trough windows. I have been told that it is not really possible or easy to do this through windows. I am now using turboc in DOS.

  4. #4
    Unregistered
    Guest
    A guy named Van Wolverton used to write books on doing tricks with DOS that went into all the escape codes.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Escape Codes
    By renurv in forum C++ Programming
    Replies: 2
    Last Post: 01-01-2006, 01:01 PM
  2. Success - Output to Printer
    By noraa in forum C Programming
    Replies: 5
    Last Post: 08-04-2002, 09:12 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21