Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I Have use this Code.

Printable ListView[^]

It is enough . but if we add 27 or more than column. it use second page for print.


But i want the the data print in one page in lanscape formate. now we are use Portrate.

and some text line also print.


Please help me...
Posted
Comments
Animesh Datta 16-Jun-14 6:17am    
are you using crystal report ?
ZurdoDev 16-Jun-14 10:43am    
I would suggest posting a comment to the article so the author is notified.

1 solution

It the QueryPageSettings event handler set e.PageSettings.Landscape = true;

(See the article An absolute beginner's guide to printing in .NET[^] for info on this and other print events)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900