Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links

    Next

  • 1. Begineers Reports Question
    I am new to crystal Report. I created a new Report in ASP.net and created a web form. Then in web form I added CrystalReportViewer and Report Document. I did bind Report to Report Viewer. --------------------------------------------------------------- <body MS_POSITIONING="GridLayout"> <form id="Form1" method="post" runat="server"> <CR:CrystalReportViewer id=CrystalReportViewer1 style="Z-INDEX: 101; LEFT: 8px; POSITION: absolute; TOP: 8px" runat="server" Width="1062px" Height="7103px" ReportSource="<%# cachedUserList1 %>"> </CR:CrystalReportViewer> </form> </body> --------------------------------------------------------------- But when I run the the form I'm getting following message: CrystalReportViewer - CrystalReportViewer1 Use ReportSource or DataBindings property to specify a report source.
  • 2. vb Dot net - Crystal Reports, changing an image per report
    Where are all of teh dot net experts? I have seen lots and lots of discussions about vb6, but my problem is with vb dot net and Winforms. I have a company logo that needs to appear on the report in PageheaderSection1 and change based on which company is running the report. I pull the data for the report based on a query that pulls only for a particular company (the one logged in) I know I can use Ole object and link it to a file. But I want to specify the path and have that be variable too. I can pull the path from the database, or otherwise generate it, but what code do I need to have the path and file name recognized, and where do I put that code? So should it just be picture, whose property is changed at run time? I dont really need to store the logo in a database, although I could if I had to. I have looked through every newgroup listing, and Crystals web site (Business Objects) and Microsoft, and have not yet found one response that works for me. Please help. Thanks David
  • 3. CrystalReportViewer startup time - typical/expected?
    What kind of delay in startup can be expected when firing up a CrystalReportViewer from within a Visual Studio application? On a 3GHZ PC with 1GB RAM when I fire up an application which loads a simple one page report using the CrystalReportViewer class it takes roughly 10-15 seconds to display the report on the screen. The first time it takes a little bit longer. Supposedly I have been told because the computer caches some memory, then afterward the processes runs somewhat faster. background: My boss asked me to speed things up and I am not sure if that is possible. I am trying to find out if the delay is a feature of the product or a programming or setup deficiency?
  • 4. Crystal Reports 9 Export to Excel Problem
    I am having problems with Crystal Reports 9 exporting to Excel. I have applied Service Pack 5 and the latest "hot fix" for database exporting. I can extract the data unto xls format, but data is not ready to be manipulated without some cleaning up. It puts a single item in multiple cells and that means we cannot use the numbers to do calculations or sort the data. Any ideas? Anyone else having similar problems? Thanks in advance for any help. CS XXXX@XXXXX.COM

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