Different Paper Sizes
If I design a report using A4 paper with a header, detail band and footer
and the user prints on Letter paper several records are being missed off the
bottom of each page. The report is previewed first and then printed using
the printer icon.
Is there any simple way of ensuring that all detail bands will be printed
regardless of the page size?
This is using Delphi 5, RB 6.02 and a variety of HP Printers.
John
and the user prints on Letter paper several records are being missed off the
bottom of each page. The report is previewed first and then printed using
the printer icon.
Is there any simple way of ensuring that all detail bands will be printed
regardless of the page size?
This is using Delphi 5, RB 6.02 and a variety of HP Printers.
John
This discussion has been closed.
Comments
size. You'll have to set the Report.PrinterSetup.PaperName to Letter or A4
before printing the report. if you have static height controls or controls
beyond the available space when moving to a smaller paper size, then you'll
lose those controls. You should reposition the layout or create two
templates. One for A4 and one for Letter size paper so that your controls
will fit as you would like them to be and for the best use of space on the
paper.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
you'll
Sorry if this a FAQ but is there a way to determine which papername the user
hasselected in the onprintdialogclose event ?
John
setup in the OnPrintDialogClose event.
uses
ppPrintr;
...
TppPrinter(Report.PrintDialog.Printer).PrinterSetup.PaperName
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com