Home Devices

Using printer control codes

edited September 2005 in Devices
Hello,

Is there an example or explanation on how to use printer control codes
to control the font size of report builder?

My challenge is to print the header band content so that it fits within 80
characters
and the detail band in a 12 characters per inch so that it would fit within
96 characters.

FYI, This will be printed on a dot matrix printer.

Thanks,

Karen

Comments

  • edited September 2005
    Hi Karen,

    ReportBuilder renders to the printer using the Delphi TCanvas class and via
    calls to Windows GDI functions.

    We do not have any direct experience with sending escape codes directly to
    the printer driver. According to the Windows API documentation, the
    ExtEscape function allows applications to access capabilities of a
    particular device that are not available through GDI. Try searching the
    Windows API docs and Google for more information.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.