Solved

Custom Paper size in print

Posted on 2011-03-16
8
520 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

744 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

15 Experts available now in Live!

Get 1:1 Help Now