Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links

    Next

  • 1. HELP!!!! Definition file (ttx)
    Hello everyone, I want to assign a ttx to a rdc report at runtime? is this possible? The report does not have an database assign to it. I know how to create the ttx at runtime but I don't know how to tie it to the report (runtime)... Any help/samples is appreciated. Thank you!!! Alex
  • 2. How to pass string to Cristal Report (VB6)
    Hello everybody, How can I pass a string to crystal report? Example: If the customer selects in my VB6 Application some Date range, for exapmle 01.01.2003 to 31.01.2003, i will show in the header of the report the date range, so how can i pass the 01.01.2003 and 31.01.2003 to the crystal report to be displayed? Of course, i tried it with the max and min function, but if i don't have any data for the 01.01.2003 or 02.03.2002 then I have not the right values in the header of the report. For exapmple: Header Line Major group report 03.01.2003 to 31.01.2003 instead of 01.01.2002 to 31.01.2003
  • 3. Email crystal report pages
    Hello, here is my problem : I wrote a VB app, and I have a crystal report report in it. In this report there is a group name group1. What I want is simple (to say ;) I want to mail each group to it's recipient. For examaple, the 1 element of the group is Mr Bob (his mail is in the field "mail" of the datasource), the second is Miss Barbra (her mail also is in the fiels "mail")... How can I modify this code to 1. have the mail adress set auto (with the value in the datasource) 2. have the right part of the report (group n) to go to the right recipient (recipient n) ? here's the code I have : With crReport .exportOptions.DestinationType = crEDTEMailMAPI .exportOptions.FormatType = crETFPortableFormat .exportOptions.MailToList = "mail" field .exportOptions.MailSubject = "Subject" .exportOptions.MailMessage = "Body" .Export False End With Thanks, it's very urgent Bye
  • 4. Sending parameters to crystal report
    Hi, pls clarify these 2 questions. 1. How can I send some values of globla variables from VB.NET to crystal report. I want to show these values on report. 2. I have added an SQL query in my crystal report through "Add Command" . My query is as follows... select b.btdnumber as btdnumber, b.btdtrfno as bbtdtrfno, a.btdtrfno as btdtrfnohidden, a.BtdAcno as BtdAcno, a.BtdCertNo as BtdCertNo, a.BtdShare as BtdShare from shrbatchdetail a right outer join shrbatchdetail b on a.btdrecid = b.btdrecid and a.btdsellbuy = 'S' and b.btdnumber = 123 In the above query b.btdnumber value is not static. I want to send this values dynamically from VB.NET (in the event of showing the report). If I use parameter field , System is prompting for the value at run time. How can I set this automatically?

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