|
-
January 24th, 2000, 04:47 AM
#1
Changing Printer Orientation at Runtime
Hi,
I have a specific problem with printer settings. I have developed some reports using VB6.0 Data Reports. When the printer orientation setting is 'Portrait', my reports looks fine. However, when the windows printer setting is changed to 'Landscape', the report print preview shows disturbance in the placement of fields.
To solve this problem, I tried to change the setting at runtime by using 'Printer.Orientation=VBProrLandscape', before the report is displayed. But this did not worked out. Even I tried an api 'Escape' to set the printer setting to 'Portrait' but in vain.
I would appreciate, if you could give me solution to this problem.
Waiting for an early reply.
Bye
PCS
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
|