VB Crystal Report >> crystal report paper size

by Q2hpYXJh » Thu, 28 Apr 2005 22:20:01 GMT

Hi,
I've a problem. I have to set the paper size of a report (crystal report) at
runtime, but the size I need to set isn't in the list of
CrystalDecisions.Shared.PaperSize.

I want do something like this:
myreport.PrintOptions.PaperSize = new CrystalDecisions.Shared.PaperSize
(width, height)

There is a way to do that?

Thank you
Chiara




Similar Threads

1. Cannot print using custom paper size (Crystal Report .NET) - VB.Net

2. Adding Custom Paper Size in Crystal Reports

Respected Sir / Madam,
 I am working as  a softwareprofessional with core MicroSoft Technologies. 
At present I am working in .Net 2003. I am using the Crystal Reports that 
comes along with the .Net 2003 package for my Reporting Purpose. I have a 
problem in printing the reports when it comes to printing it in a Custom 
Paper size. The paper size that i use is  10in x 12in. I have set the paper 
size in the printer using the server properties in the Control panel. I am 
not able to set the paper size in the coding part as we usually do using the 
REport.Printoptions.Papersize.

It shows only the Names of the paper that it supports. how to i Set the 
paper size to 10in x 12in.  Everytime otherwise i have to go to the Advanced 
properties in the print dialog box ,that pops up when we click the print 
button in the viewer, set the paper size which is defaulted to Letter and 
then print it. 

I would be really GRATEFUL if any of u can help me out in this problem.

Thanks

Waiting for a positive reply

Please i need  Clear solution. pleaseeeeeeeeee



-- 
Think Positive. There is always an answer for a Problem. Never Say Die.

3. Can Crystal report use custom paper size ? - VB Crystal Report

4. How to set custom paper size in crystal reports 8.5

Hi, I am unable to set the custom paper size using VB 6.0 (with SP 6) and Crystal Reports 8.5. I need to set it to 8.5 Inches x 6.0 Inches (Width x Height). My printer does not support the User Defined Sizes
I have tried the following cod
crptobj.PaperSize = crPaperUser

5. Paper Size in Crystal Web Viewer - VB.Net

6. Paper size problem with vB.NET & Crystal 9

We have a problem with our application (VB.NET & Crystal 9), because we need 
to define a paper size in Crystal Report, but we don't know how to do that.
Our app, require to print two diferent custom forms in two diferent printers 
conencted on one computer, but allways the report print as defalut printers 
(letter).
Please help us.

Thanks,
Rigoberto

7. Paper Size and Crystal 9 - VB Crystal Report

8. Original Paper Size Changes and Breaks Report

I have created a label in Crystal 10 with a paper size of 4x6 and
delivered the report through Enterprise.  When my user prints to his
Zebra label printer, it is blank (just off the page) because it
defaults back to 8.5 x 11 paper size).  He has to run the report, click
the printer icon, go into properties button, set the paper size, and
then click out and finish printing for EACH label!!!  It is driving him
nuts!

So I decided to create a VB.NET app that would push the report to him,
thinking it would give me better manipulation of the settings... but it
has the same problem!  In fact, it doesn't even offer me the 4x6
option!

I really need some help! Are there any label printing gurus out there
who could help me force the report to use the right paper size?