Solved

how do I change papersize for each page in vb.net

Posted on 2008-09-30
2
312 Views
Last Modified: 2012-08-14
vb.net How to change papersize for each page when printing a multipage document with different page sizes.
0
Comment
Question by:salemanokc
2 Comments
 
LVL 12

Accepted Solution

by:
omegaomega earned 500 total points
ID: 22619802
Hello, salemanokc,

Have a look at the QueryPageSettings event of the PrintDocument component.  The event argument has a PageSettings property that (I think) will give you what you need.

Cheers,
Randy
0
 

Author Closing Comment

by:salemanokc
ID: 31501596
Thank you Randy.  That was just what I needed.  I set the e.PageSettings.PaperSize property and it worked like a champ!
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question