Hi
I have a windows application that prints a record in a given page size.

I looked all over but i could not see how did it set the page size.
and now requirement is to print the paper size in legal paper size of 18.5" by 14".

How can i set the printing process to print in this paper size.

I have not done this kind of job before so i am finding it quite difficult.
Searching internet was not much help

Please help

>I have a windows application that prints a record in a given page size.

I don't think there is a big problem with windows application. Use crystal report or microsoft report.

If you are printing using a PrintDocument object then you can try altering the .DefaultPageSettings.PaperSize property.

Comments
Perfect answere, doing this exactly solved the problem

If you are printing using a PrintDocument object then you can try altering the .DefaultPageSettings.PaperSize property.

Thaanks Ryshad your solution worked.

This question has already been answered. Start a new discussion instead.