Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links

    Next

  • 1. Summarising and groups problem
    Hi there, I'm writing a report that contains a percentage against each record, and then have the average percentage in the group section - this average percentage needs to be calculated by looking at the contribution that it makes in relation to the group based on another field i.e. the report should look something like Group Name 1 Total Amount = 300 Avg Percent: 28.1% Item 1 Amount = 00 Avg Percent: 20% Item 2 Amount = 00 Avg Percent: 35% Group Name 2 etc etc The avg percentage is calculated by: (20 x 600 / 1300) + (35 x 700 / 1300) It doesnt seem as if Crystal reports can do such a formula - i've currently set up a formula that calculates the contribution against each item i.e: Contribution = {Percent} * {Amount} / Sum({Amount}, {Group_ID}) and then tried to summarise these fields on the group level: Sum({@Contribution}, {Group_ID}) but this then gives the error "this field cannot be summarized" presumably because its doing a summary on a summary? Any help on getting around this will be gratefully appreciated!! Many thanks James
  • 2. Crosstabs - changing the column names
    I know similar questions have been asked, but no thread seems to meet my needs. I have a crosstab that is based on an aggregate query. That query has just a few numeric results, which are counts of a given value. I need some of the aggregated data and then the names of the fields being counted. Don't ask why, but I don't have the ability to show the field names, yet I'm able to identify (in this instance, anyway), what each column header pertains to. Can I simply rename them to reflect the name of the column instead of the count as the query actually supplies? Thanks in advance. JV
  • 3. STore .RPT file content in the SQL 2000 DB Challenge
    Hi All, is it possible to get the .rpt file content (stored in the varbinary column in a SQL 2000 table) and pass it on to the 'Load' method of the 'Crystal Report Document'?. Basically i dont want to store .rpt as a file on any of our servers. SO, i'm storing it in the DB. Thanks in advance, sreedhar
  • 4. Licensing
    In CR9, you needed the Advanced Edition to create an automated, static report distribution system that met the licensing requirements. The licensing language has changed and I can't find what's required for the same system under CR10. Does anyone know? Thanks.

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