Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links

    Next

  • 1. paramter pasing problem
    I have created a crystal report which takes 2 date parameter via VB application,for some reason data is not refreshed for specified date range..it always displays data what date range I have entered as default. Please help... -Payal
  • 2. ASCII File
    I need to create an ascii file for state reporting. The easiest way seemed to create a text box and drag the fields into it separating fields by the | character. However, the total record length is 815 bytes, which is bigger than our field sizes so I am inserting spaces. I don't have enough room on the page to insert the spaces because it is limited by the printer setup page size. For example the address field is 40 characters long, so I added our field plus spaces after it to make the 40 character length, then the | separator. Does anyone know how to make the page bigger? Or can I "wrap" the data to a second and third line? I am just going to export the data to a file anyway - not going to print it. Thanks, Vicki
  • 3. Need help to develop report
    I am trying to built a report with three count fields. i.e. I have a table with the name BranchMaster, in which ID is primary Key. Other tables are Branch1, Branch2 and Branch3 in which BranchID is present as foreign key. There could be 1 to many ( may be non ) records in each branch table for a record in BranchMaster table. Report Layout will be BranchMasterTitle, Count(Branch1), Count(Branch2), Branch(Count3) One 5 3 2 Two 8 6 8 three 0 5 0 Please advise how i can develop such report. regards, Khurram.
  • 4. Date Selection using Report Select Expert (V8)
    Can someone give me the correct syntax for selecting records that have dates that are in the last 30 days period: Like {fielddate} > current date minus 30 days ? Also I am a confused how to pass criteria from the main report into subreports which uses the same criteria on the linking field but may have additional criteria on other fields? And, sorry folks, another confusion. Is it possible to have hard coded selections that do not prompt the user at the same time as retaining some prompted selection criteria? These amateurs! Mervyn
  • 5. Crash caused by CRRUN32.exe in V8
    When trying to export a report to Excell, both from within crystal and also via a compiled report, my system is now crashing every time, although I did get through once at the beginning for one tantalising look only. The error message is "CRRUN32.exe has generated errors and will be closed by windows. An error log is being created" Anyone know what this means? Where would the error log be? I can export CSV files but get numerous bogus columns that are a nuisance! Mervyn

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

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

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


5.Printing on a Custom Paper Size

Hi,

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,

Anne 


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