Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links


  • 1. subreport group footer prints on following page if full page
    I have a subreport and following the table I have two lines of text in the Group footer to explain what two of the column headings mean. I have 'keep group together' selected. This prints ok except when the table entries exactly fill the page. Then the two lines of text spill over onto the following page, printing by themseleves. I would like some way to prevent this from happening. Since keep group together doesn't seem to help in this case, is there any way to determine when this condition might occur and then start a new page on the last line of the table. I know how many lines print on a page, but what I don't know is are there any more lines to be printed after the line I'm getting ready to print. Is this doable in this, or another, way? thanks...charlie
  • 2. CrystalReport page count
    How can I get CrystalReport total and current page?
  • 3. Database login on remote PC
    I've created a crystal report that connects to an sql server db. The report version is 10 and it is displayed in a .NET viewer. The problem is that the report when it is run on a remote PC it displays the Database login info, while on my dev pc it does not. I then use the same params for login info and it cannot connect. While my app does connect and retrieve data with the same params. The report connects using OLEDB
  • 4. Design time preview
    I have used many version of Crystal reports over the years but I am new to the Crystal for .NET. Is there anyway to do design time previews of reports or do I have to compile and run my application everytime I need see the report while I am designing it? I am creating an ASP.NET application.
  • 5. Crystal XI RAS .NET API - Schedule Notification Alert
    I am using the .NET RAS API to schedule a report instance to a disk location. I want to extend the code to customize the email notification generated on successful generation of the report. Anyone have some sample code on how to access these API objects (C# or VB.NET is fine)? I want to set the mailto email addresss, subject line and message body at the time the report is scheduled. I see in the documentation the Notifications Class and the DestinationOnSuccess property but I don't understand how to utilize this class. Thanks in advance, Frank

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 96 guest