Set Paper size programmatically and print directly to local printer.

Hi,

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.

Thanks.
fortuna_techmyAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mlmccConnect With a Mentor Commented:
Here is a link that shows how to change printers in VB.  I believe there aer page sizes available in a similar way.

http://www.experts-exchange.com/Databases/Crystal_Reports/Q_20762547.html

This may also be useful
http://support.businessobjects.com/communityCS/TechnicalPapers/cr9_print_feature_changes.pdf.asp

mlmcc
0
All Courses

From novice to tech pro — start learning today.