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

Custom Size Printing

edited February 2005 in General
I'm printing custom size envelopes 3.75" x 6.75" . These are also know as #
7 envelopes. How can I set up a default printer to automatically print
these? They don't show up on most print driver list of sizes. Thanks.

Bob

Comments

  • edited February 2005
    Hi Bob,

    You will need to set the TppPrinterSetup.PaperName to Custom and then define
    the PaperWidth and PaperHeight properties manually. This can all be done at
    design time in the Delphi Object Inspector while clicked on the TppReport
    object.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2005
    Nico,

    I have all that setup properly but it still does not print properly
    sometimes. Some printer do not recognize Custom sizes, LaserJet 4 for
    instance. Would there be more control over the printing if I used PDF? I
    guess it depends on the print driver installed also. Nothing is easy!!

    Bob
  • edited February 2005
    Hi Bob,

    Yes, ReportBuilder simply sends commands to the Windows API which in turn
    sends commands to your printer driver. I can't guarantee exporting to PDF
    and printing from Acrobat will work, but it's worth a try.

    --
    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.