Set Paper size programmatically and print directly to local printer.
Posted on 2006-11-16
We developed a system using ASP.NET (Visual studio 2003) and Crystal report 10. Normally, the reports are in Letter size or US Standard Fan Fold size.
At the moment, user can preview the report but when user want to switch from Letter reporting to US Standard Fan Fold size report, user have to goto "control Panel" + "Printers" and set the size to either "Letter" size or "US Standard Fan Fold". Else the some text are truncated.
So, is it possible to programmatically set the paper size (either "Letter" size or "US Standard Fan Fold" and print to CLIENT MAchines's printer??? I think i need to share printer and print.
But, i want to know how to set the paper size programmatically and print directly using a asp.net.