PrintDocument Page Size (PLEASE HELP)

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi Guys,
I am using PrintDocument to print everything, and is working well so far.
Now I have a report to print on a page size of 850, 2500.
How do I set the page height to 2500.
I am not able to find a way to set the page height.

Please help me. I need to finish this project ASAP.
Thanks for any help/suggestion you can provide.

Steve.
 
I am no expert on this, but I believe that what you need to do is in the
printdocuments querrypagesettings event, change the papersize there. When
you say 2500 are you saying 25 inches? 'Cause the size in in .01 inches.
So, in the event it is something like...

e.PageSettings.PaperSize.Height = 2500

Hope this helps
 
PrintDocument1.DefaultPageSettings.PaperSize = New
Printing.PaperSize("PageSize", 850, 2500)

This should work.
Neetu
 
Back
Top