Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

escape codes

edited September 2006 in General
How do I send an escape code to set "high quality" before print of DBText
box then turn of "high quality" after printing.

Comments

  • edited September 2006

    This is an example provided by a customer. It shows an example of sending
    escape codes to the printer.

    http://www.digital-metaphors.com/tips/PrinterEscapeCommands.zip



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited September 2006
    I have the details from the epson LQ300+ as follows:

    Format

    ASCII ESC x n

    Hex 1B 78 n

    Decimal 27 120 n

    Parameter range

    n = 0, 1, 48, 49

    Function

    Selects either LQ or draft printing according

    n = 0 or 48 Draft printing

    1 or 49 Letter-quality printing



    The PCL_Codes unit has :



    EMPTY_LINE = '@PJL'#10;
    LANDSCAPE = '@PJL SET ORIENTATION=LANDSCAPE'#10;
    PCL = '@PJL ENTER LANGUAGE = PCL'#10;
    PORTRAIT = '@PJL SET ORIENTATION=PORTRAIT'#10;
    START_JOB = #27'%-12345X@PJL'#10;
    UEL = #27'%-12345X';



    I need to do something like add

    LQ = (escape code for LQ)

    DRAFT = (escape code for DRAFT)

    Do you know the syntax please.

    I have played around with the syntax but cannot get any result on the print.

    Cheers

    SteveW




This discussion has been closed.