How do I: Change Paper Size programmatically??
Hi,
I am interested in allowing my user to pick what paper size he/she wants to
use.
I found the PrinterSetup sub object in the TppReport.
I display a list using ppReport.PrinterSetup.PaperNames list.
I then set the PaperName property to whatever they select.
But when I open the printer preview dialog, it doesn't seem to reflect the
settings I made in my code.
Do I have to set other properties in addition to this?
thanks,
Sincerely,
John Scalco
This discussion has been closed.
Comments
1. Make sure that you doing this prior to calling Report.Print.
2. The name must match exactly one of the names from
report.PrinterSetup.PrinterNames[]
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com