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
Solved

Custom Paper size in print

Posted on 2011-03-16
8
545 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
  • 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

 
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

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

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 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