Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Set Paper size programmatically and print directly to local printer.

Posted on 2006-11-16
3
Medium Priority
?
1,468 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 2000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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 …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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