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.
Professional Software Development Tools
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.
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![]()
ooo, those poor trees, i hope you recycle the off cutz!, lol
Open your eyes to Narcissism, Don't let her destroy your life!!
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.