Solved

Custom Paper size in print

Posted on 2011-03-16
8
558 Views
Last Modified: 2012-05-11
Hi

I am trying to print using Crystal Report with paper size 3" * 4"

Problems:
I have to set the printer (USING Print Server Properties > Create new form) to define the size.
Since I am using windows app, it is tedious to set each client printer like this. Though I can write the code to change hardware settings on printer, I would not prefer that. Why CR does not accept paper size in run time ? instead of setting it on each printer manually ?

If CR does not support, what is the alternate for me to achieve this ?
0
Comment
Question by:GRChandrashekar
[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
  • 6
  • 2
8 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 35153855
It will accept paper size at runtime but it has to be a defined size on the printer.

mlmcc
0
 

Author Comment

by:GRChandrashekar
ID: 35154012
Exactly this is the problem i am facing. It is not defined size on printer.

Is there any other way to achieve this
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35156832
Not that I know of.

mlmcc
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 100

Expert Comment

by:mlmcc
ID: 35156851
Can you write code to define a paper size on the printer.  It would have to run with admin privilege.
I don't know if such an application is even possible.

mlmcc
0
 

Author Comment

by:GRChandrashekar
ID: 35163032
I do not want to define a paper size on the printer
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 35165511
As far as I know then, Crystal will use what it finds on the printer.  It doesn't have a custom paper size of its own.

Crystal uses the printer driver to render the report thus the need for all printer/paper information to be defined for the printer.  The printer driver doesn't know how to use anything that isn't in the printer setup.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35171730
Sometimes the answer is you can't do that.

mlmcc
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35184276
Sometimes the answer is you can't do that.

mlmcc
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

737 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