Print Preview with Landscape?

VB_Student

New member
Joined
Jun 28, 2004
Messages
4
Programming Experience
1-3
Hello,

Can anyone tell me how I can have a little more interactive print preview dialog? I need the ability to show the user how info in a dataset will appear if printed in LANDSCAPE. Then print that view.

Also, an added bonus would be able to print selected pages... but really not important.
 
You're setting the DefaultPage setting for the printer. Try to set it for the document itself:

PrintDocument1.DefaultPageSettings.Landscape = True
PrintDocument1.Print()
 
You're setting the DefaultPage setting for the printer. Try to set it for the document itself:

PrintDocument1.DefaultPageSettings.Landscape = True
PrintDocument1.Print()
I hope the OP isn't still waiting for an answer after 18 years 😉 but you may still help someone else who finds this thread.
 
Back
Top