Solved

Custom Paper size in print

Posted on 2011-03-16
8
560 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 101

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 101

Expert Comment

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

mlmcc
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 101

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 101

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 101

Expert Comment

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

mlmcc
0
 
LVL 101

Expert Comment

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

mlmcc
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

688 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