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.
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.
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!!
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.
Comments
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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
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
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com