Landscape Report Prints Portrait
I have a report that shows up in the preview of my program as landscape, but
when it is sent to the printer, the printer prints in portrait. I saved the
report as a PDF and opened the file in Adobe Acrobat and printed it. The
file is printed in landscape. Is there something I am missing?
Jeff Kreider
when it is sent to the printer, the printer prints in portrait. I saved the
report as a PDF and opened the file in Adobe Acrobat and printed it. The
file is printed in landscape. Is there something I am missing?
Jeff Kreider
This discussion has been closed.
Comments
At runtime, are the printer dialog properties showing portrait or landscape?
The printer setup object of the report should be placed on the printersetup
object of the pages, which then get sent to the output device (printer). You
could check the printersetup on the page objects in the Report.OnEndPage
event to check the values. This event fires after the page has been
generated completely by the report engine, and the timing is also
immediately before it is sent to the output device.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com