Solved

Set Paper size programmatically and print directly to local printer.

Posted on 2006-11-16
3
1,394 Views
Last Modified: 2009-12-16
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.
0
Comment
Question by:fortuna_techmy
3 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 17965626
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

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Crystal Reports - Display Last Invoice in Group 15 73
Pagination Difference  in crystal report 7 53
display n/a in column 2 32
Sum Before Standard Deviation 2 21
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question