Adding Custom Paper Size in Crystal Reports

Visual Basic

    Sponsored Links

    Next

  • 1. stored procedures, multiple selects, and crystal reports
    I have a stored procedure which returns 3 tables. I was accessing this in crystal by using the push method and loading all three tables into a dataset. I've been having problems with the push method for large datasets, however, so I've decided to try other options. I've just recently tried connecting directly to the database (MSSQL) from crystal reports editor. However, when I add the stored procedure as a datasource, I only see the first table it returns. Is there any way to get at the other two? so my procedure looks something like this: create procedure sp_foo select a,b,c select d,e,f select g,h,i go and in the designer I only see: sp_foo |-a |-b |-c where are my other tables at? Crystal reports sometimes reminds me of a swiss army knife - it does a great many things, but none of them very well.
  • 2. How to display alternative color
    Hi there, How do I change in the report details the background color to be one line yellow one line white ? Thanks, Oded Dror
  • 3. Version of PDF export
    I'm writing some code that will take a single PDF file and split it into multiple PDF's based on the content at line x / column x of each page. In order to find the value of line x/column x, I have to put the content of the PDF to a string or text file for searching purposes. To put the data to text, I'm using ADOBE's GetJSObject 's saveas method. This works great when the original PDF is written with Acrobat 7.0, but when written with Crystal 10, it returns this error: "Bad PDF; could not read page structure. <Bad PDF; error in processing fonts: unsupported Type2 font>[4]" and after hitting 'OK' button, this error is displayed "Unable to convert untagged document to Tagged PDF." Also, if using Acrobat's 'Advanced->Accessibility->Quick Check on a Crystal created report renders "This document is not structured so the reading order may not be correct...." An Acrobat created PDF has the structure present. I'm not convinced this is trully a font issue as mentioned above, however, a clue I'd like to throw out there is when opening ADOBE's PDF with notepad, the 1st line contains "PDF-1.6" and when opening Crystal's version of a PDF, the 1st line contains "PDF-1.3". I believe Crystal uses th CRAXDRT.DLL to create its PDF and the version number is 10.0.0.533. Also, when using Acrobat 7.0 's Does anyone have any advice or direction to take in helping me solve?
  • 4. using ASP with crystal10
    I am using ASP page to pass login info to crystal 10 reports. When I have a report with a subreport,I try passing two userid and password but crystal will not allow one of them to go through and prompts ypu to log in for the subreport. Again I am using Crystal 10 . Does anyone have a solution?
  • 5. Spacing Comments on a Report
    Hi, I have a report that displays some accounting numbers at the top, then 3 comment fields at the bottom. In the db, we allow up to 1000 chars for each comment field. If I put the fields far enough apart on the report when designing it and set them to Can Grow, all 1000 chars will display for each comment. The problem lies in when there are fewer than 1000 chars in a comment. If there is only 1 sentence in a comment, there is a large white space before the next comment (ie enough space for 1000 chars). Is there a way to tell Crystal Reports to start the next comment section wherever the previous comment section ends to avoid this large white space on the report? Thanks in advance, Darrin

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