Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links


  • 1. Adding subreports in subreport
    Hi, I have to make report in .Net 2.0. In this report I have to add sub report in sub report. But there is limitation in .Net that sub report can not be added in a sub report. Is there any alternate way of it. Please help me. Thanks, Amit
  • 2. Missing Database
    Hi All, I have a VSNET 2005 VB application with one problem report. SQL Server 2000. I have several reports and all run fine. The database name/login/password are all hard coded in the application and the problem report seems to have all the same properties as the other reports. When I run this report on my production machines (two different computers) the report runs fine. Any other computer I get an error indicating that the database is blank. What happens is a dialog box shows itself asking for Server/Database/Login/Password/Integrated Security. The Server and database text boxes are greyed out so I can not even put the database in if I wanted to. The only other thing I can tell that is different is that I created this report using a developement database on the same server. Can't see how that would cause a problem. Any help would be greatly appreciated. Thanks.
  • 3. Dynamic Report
    Hi, I want to ask, how you guys view the specific record in crystal report by specific input from VB6. By Formula or by modifying the SQL query (and how)? Any examples would be appreciated Rgds...Douglas
  • 4. Crystal XI and Vb6.0
    Hi I have an VB 6.0 application running along with Crystal 8.5 .. I need to display images on report with the path stored in SQL Database . I foun that the crystal XI supports dynamic image location hence upgraded to Crystal XI .. bu the the reports fail to laod in Vb6.0 application .. Is something specific required to use Crystal XI reports in VB6.0 ?? Thanxs Bharat P Jain
  • 5. Eror -Error in Kind when using this formula below
    Hi I am gettng an error 515 error in kind as issue with formula when I use this formula ({@ProfitGP}/Sum ({SOLine.CommCost}, {SOHeader.OrdNbr}))*100 in my crystal report. The ({@ProfitGP} formula that is being used in the above formula is as below- Sum ({SOLine.TotOrd}, {SOHeader.OrdNbr}) - Sum ({SOLine.CommCost}, {SOHeader.OrdNbr}) I would really appreciate help with this issue. Thank in advance. Sandy Singh.

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