Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links

    Next

  • 1. Reordering groups
    Hi My problem: I have a report grouped by cusomer id; in the detail section are the contracts for each customer grouped and I have a total field that is the sum of the contracts price; is it possible to reorder the report so that customer's groups are showed ordered (descending) by total (sum of contracts price) ? that is to say: the report should show first customers with contracts more expensive followed by customers with contracts less expensive. Sorry for the unclearness Thanks Adriano
  • 2. Connection exists after printing
    Hi all, I am using Crystal report 8.0.0.395 with Visual Basic 6.0 as front-end and Oracle 8.0.5 as back-end. After printing the report still the connection exists with oracle. Is there anyway where I can close the connection after printing or any specific patch for this.I searched in Crystal report website but I couldn't find anything. Advance thanks Leo
  • 3. Error while invoking printing from SQL Agent
    Hi, My purpose is to print specific records with Crystal report from an VB application. But when invoking this exe manually it prints perfectly. From SQL Agent job,it does not give the needed result. Any idea? I am invoking SQL Agent job as "SQLAgentCmdExec". In this VB Application(Exe) is been invoked. It executes. But expected result is not seen.Below msg was found in job histroy. "The step did not generate any output. Process Exit Code 0. The step succeeded." Thanks in advance, Sachi
  • 4. CR for .NET
    I'm havning some challenges with CR for .NET in a ASP.NET project: 1) Go to last page-button in CR toolbar does not work.... 2) Is it possible to dynamically [auto]scale the X-axis of a graph? -This works for the Y-axis. -anyone who have experienced these issues (and found answers...?) regards Jarle Midtb XXXX@XXXXX.COM
  • 5. Loaded event?
    Hi all. is there an event on the windows viewer that fires when the report is about to be rendered? I assign a ReportSource then set the status bar to "Ready" but a large report still takes some 10 to 15 seconds to render. I'd like to keep the user informed as to the progress of rendering the report via my progress bar, but I can't find a way to determine the progress of it once loaded. any clues?

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