Thread: Printer Escape Codes for Epson stylus color 460?

  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
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912

    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, 02:01 PM
  2. Success - Output to Printer
    By noraa in forum C Programming
    Replies: 5
    Last Post: 08-04-2002, 09:12 AM