Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links


  • 1. How to display data from Image field on SQL Server 2000?
    Hi, Have a report that needs to display data from a table in SQL Server 2000 that has a field for the user notes of data type IMAGE. Does anyone have a function or routine to make this work in Crystal 8.5 and 10? Thank you for your help. SD
  • 2. Width UOM??
    I can't find the formula to tell what the Unit Of Measure of the Width property of a FieldObject is. It seems to be something like Pixels but I don't know how big a paper pixel is. It's not points because myfieldObject.Font.SizeInPoints is equal to 11 on the font I'm using. It looks to be something like 10 times SizeInPoints. Does anyone know what the width UOM is? Thanks, G
  • 3. Crystal reports 10 cross tab export
    Hi, after creating a cross tab reprot using crystal reports designer 10, I have a problem exporting the data to excel. I set the ident to 0cm in the cross tab options so that all labels are located in one column. After exporting to excel (data-only) the labels are spread over several columns depending on the amount of groups I have. Exporting to excel with the formating creates several unnecessary columns in excel, so that is not an option. Is there a way of keeping the labels of the crosstab in one excel column although there are more than one column in the cross tab? I try to create a little example to make the problem more understandable. A 1 B 2 C 3 Sum Group A 6 Total Sum 6 In Excel there will be three columns for the Group sum, the total sum and the single elemets. But I would like to have it all in one column as shown in the example. Hope someone can help Greetings Michael
  • 4. Calling Oracle SP's from Crystal Reports 10
    Hi All I have created a Stored Procedure (SP) on Oracle, and wants to generate a report from that SP. If I use the Microsoft OLEDB Provider for Oracle, the report generation works 100%. But with the Oracle OLEDB Provider, I keep getting the following error message: ORA-06550: line 1, column 7 ... wrong number or types of argument in call to 'OSP_RPT_XXX'... Does anyone know how to solve this issue, or perhaps point me in some direction? Regards, Morne
  • 5. hebrew display in reports with odbc version 2000.85 (mdac 2.8)
    Hi all I used to display hebrew correctly in reports using the odbc driver for sql server version 2.65 (mdac 2.6). Sql server collation is latin. When trying the same trick on a windows2003 server with iis 6 and mdac 2.8 (odbc version 2000.85),hebrew is lost.. Any idea where I should look?? Is the mdac upgrade responsible for my trouble or should i look in other directions as well? Thanks alot Rea

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