View Full Version : Resize paper wit Page.Print
tulanhlon
11-03-2008, 05:03 AM
I want to print a page at run time, so I use Page.Print. However, the paper size is A4.
Can I print a page on A5 or B5 paper size? Please help me.
longedge
11-03-2008, 05:29 AM
Page.Print allows 2 parameters which are ShowPrintDialog and ScaleToPrint. If you set both of these to true, then it's down to your printer driver settings. I've never tried it myself as it's always far easier to use A4 and guillotine the paper :)
RizlaUK
11-03-2008, 10:07 AM
ooo, those poor trees, i hope you recycle the off cutz!, lol
longedge
11-03-2008, 11:16 AM
ooo, those poor trees, i hope you recycle the off cutz!, lol
:lol We use re-cycled paper. If I was doing a large print run, I'd re-feed and get 2 sheets per A4 before slicing them up - honest :)
tulanhlon
11-04-2008, 11:34 AM
Page.Print allows 2 parameters which are ShowPrintDialog and ScaleToPrint. If you set both of these to true, then it's down to your printer driver settings. I've never tried it myself as it's always far easier to use A4 and guillotine the paper :)
Thank you, longedge. However, when PagePrint is set =True, the printer prints the page in landscape direction although the paper is fed in portrait direction.
I want to print a page in portrait direction. How can I set the printer into a desired size and direction of paper? Please help me to solve this problem.
longedge
11-04-2008, 12:37 PM
Thank you, longedge. However, when PagePrint is set =True, the printer prints the page in landscape direction although the paper is fed in portrait direction.
I want to print a page in portrait direction. How can I set the printer into a desired size and direction of paper? Please help me to solve this problem.
The "ShowPrintDialog" option should be set to true. This will open your standard Windows print dialogue and from there you can set the print options you require. These depend entirely on the printer and the type of print driver hat you have installed for it.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.