Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links


  • 1. Dynamically add fields in Crystal 9, 10, or 11?
    Hi all, While I have primarily used the embedded Crystal 9 in VS.NET 2003, we have recently purchased Crystal 11, which is what I am now using. I assume, however, that this question would be legitimate in either version. Is there a way to dynamically add a database field to the report at runtime? For instance, let's say I had 3 database fields (field1, field2, and field3). At runtime, based on the report parameters I send to the report, I tell it to add field1 and field2 to the report detail, with specific X, Y coordinates and an appropriate width. Is this possible? I have a feeling that, sadly, it is not. This seems to me to be a significant oversight. Sure, it's not a big deal in a three field example ... but try a 30 field example, where you want to offer almost any combination of fields to the report, with different plancement and size. You'd never create a static report to handle that many combinations. Thanks for the help. Wade
  • 2. Multiple DataBase Server Report
    Hi, I created two ODBC and I want to know how to change between them in crystal reports??? so basically, i want my application to select fields from the first Database Server's Table through the first ODBC then select some fields from the second Database Server's table through a second ODBC (each ODBC connect to a remote Database server) Does any one know how ??
  • 3. General Practise for deploying CR on ASP.Net
    I would like to know the common practise for the captioned subject Currently if create a Web Setup Project to deploy my 2.0 solution, it will include all my source code, as my target machine don't have crystal report installed, I was wondering if I can use Build->Publish Web Site to deploy my solution which has Crystal Reports? Can some give me some suggestion, how to deploy web solution to customer web server which has Crystal Report?
  • 4. VB.NET, Crystal, and MS Access "Stored Procedures"
    My questions is about using Crystal Reports with a parameterized query in Visual Studio 2003. I have created a query in MS Access that takes two parameters. I am using the Crystal Reports designer included in Visual Studio. For some reason, I cannot select my Access query as the data source for the report. When I look in the Server Explorer, my query appears under the "Stored Procedures" header. Other Access queries that do not take parameters appear under the "Views" category. When I try to set my datasource for the Crystal Report, I see all of the queries that show up under "Views", but I don't see the "stored procedures", and don't see any way of selecting them. I know that in the stand-alone version of Crystal, not the one included in VS 2003, there was an option to display stored procedures along with tables when specifying a data source. Is there a similar option in the version of Crystal included with VS that I need to set? How do I get to it? Or am I forced to either use the stand-alone Crystal or create my query without parameters? Thanks, Dave
  • 5. Distribute a Crystal Report v 9 on Crystal Enterprise 10
    Can I distribute a Crystal Report V9 on CE v10 or do the versions of CE and CR need to be the same? Thanks.

Adding Custom Paper Size in Crystal Reports

Postby S3Jpc2huYQ » Sun, 03 Dec 2006 14:39:00 GMT

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 

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.


Waiting for a positive reply

Please i need  Clear solution. pleaseeeeeeeeee

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

Similar Threads:

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

2.Can Crystal report use custom paper size ?

I've use a custom paper size on a report, with dot matrix printer ,
it works fine on development machine,
but , when I deploy the report to production machine,
the paper size will change to A4,
if anyone have idea that why this happen ??

Thank you very much!!

3.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

4.crystal report paper size

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 

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

There is a way to do that?

Thank you

5.Printing on a Custom Paper Size


I want to programatically set the paper size of a print document. I created 
a class that inherits PrintDocument, so I can print some database records on 
8" x 10" paper.

I added this line to my class constructor:

Dim customPaperSize As New Printing.PaperSize("8x10", 800, 1000)

But now I am looking for the proper code lines so that any instance of my 
class sends the proper size information to the printer, without user 
intervention. How do I do it with VB.NET (with .NET 2.0)?

Thank you in advance,


6. Custom Paper Sizes

7. Getting the paper size for a custom printer form

8. Custom size paper problem

Return to Visual Basic


Who is online

Users browsing this forum: No registered users and 15 guest