|
-
Jan 31st, 2007, 11:30 AM
#1
Thread Starter
Fanatic Member
Change paper size before printing
I'm using a DataReport to do my print out.
The report is designed to support legal format (8½" X 14").
I manually set the paper size of my default printer to this format and the report is opening when I do "MyReport.Show".
The problem is that when the report opens, it look at the current paper size and if it's too small, it returns the error : "Report width is larger than the paper width".
What I would like to do is check the current paper size of the default printer, change it to Legal, open the report, the user can now print it and once he close the windows, I set the paper size back at what it was before.
What is the easiest way to do this ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|