
- Forum
- Programming Talk
- Microsoft .NET
- Custom Paper Size
Custom Paper Size
This is a discussion on Custom Paper Size within the Microsoft .NET forums, part of the Programming Talk category; Dear All I am facing a problem in printing document using custom paper sizes, i created a new paper size ...
-
Custom Paper Size
Dear All
I am facing a problem in printing document using custom paper sizes,
i created a new paper size thru code and try to use the same paper size for printing, in preview it shows exactly [ giving output in same pape size ], but while printing the paper size is resetting to A4 / letter.
How can i solve this ...
i am using vb.dot net 2005.
i read somewhere that it is possible thru Winspooler API, but i dont know how to use that.

-
Here is a nice sample project that you can use to start with ..
Adding custom paper sizes to named printers - The Code Project - C# Programming
this is in C Sharp but there are converters to get the code to vb.net
here is the converter if you are wondering ..
Convert C# to VB.NET - A free code conversion tool from Developer Fusion
Thanks,

Reply With Quote





