Solved

Custom Paper size in print

Posted on 2011-03-16
8
530 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now