|
-
January 22nd, 2000, 05:23 AM
#1
Runtime Printer Setting
Hi
I have a specific problem related with setting the printer object properties at runtime. In my application which is being developed using VB6.0, I am using data reports to generate reports. My reports looks fine when the printer settings are set to 'Portrait'. However, when the same is changed to 'Landscape',the report is displayed in a haphazard way.
I hereby request to tell how I can change the printer setting to 'Portraint' despite there is a change in the same in windows?
I would appreciate, if you could give me your reply at your earliest
Thanking you
PCS
-
January 22nd, 2000, 04:28 PM
#2
Re: Runtime Printer Setting
Try this in your code,
Printer.Orientation = vbPRORLandscape
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
|