Solved

Export To PDF Issue

Posted on 2010-08-12
7
640 Views
Last Modified: 2012-05-10
I have an old server (Windows Server 2003 x86) that I used to export lots reports as PDFs and it has worked perfectly. The new server is now setup (running Windows Server 2008 R2 x64), and the export seems to have gone haywire. I am using Crystal Reports 2008 and an .NET 4.0 application using the CrystalDecisions version 12 libraries.

The report is 1 page long, 8.5 x 11, but when exported to a pdf it is spreading across 3 pages with lots of white space including an entire blank page at the end. This only happens when running it on the server through either a web application, or windows application. I am able to actually preview the report in Crystal, view and export and it looks good.

Any ideas what would be changing the report into a 3 page pdf? I have installed the correct merge modules, Crystal Reports 2008 and it hasn't help.

Thanks,
Eric
0
Comment
Question by:tgidirect
  • 3
  • 2
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 33423713
Ensure you are using the same printer and printer driver on all machines.

Crystal uses the printer driver to render the report and changing drivers even sometimes the version can cause issues lie that.

I suspect you have a field that is near the right margin and changing the driver could push the field over the default right margin

mlmcc
0
 
LVL 7

Expert Comment

by:bouscal
ID: 33426643
If you are using any functions for grouping and the regional settings on the server are different that on the system that the reports were developed on it can create issues.  For us, it eliminated a grouping based on a date field, I could see it affecting what is being hidden which could essentially give you 3 pages of empty records.
0
 

Author Comment

by:tgidirect
ID: 33429327
There is actually no data source attached it to.  It is more of a static report that has values from the application passed in as parameters.

I did verify that the print driver is the same on both machines.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 100

Expert Comment

by:mlmcc
ID: 33430092
I assume the driver changed and you are using the 64-bit version rather than using the 32-bit version from an old OS?
That change might be enough to cause the issue.

mlmcc
0
 

Author Comment

by:tgidirect
ID: 33430272
I will look into it again.  

Also, when I preview the report manually in Crystal and put in some random parameters it actually creates the report correctly with 1 page.  When the application creates it, it is 3 pages.  But it only happens on 64bit, not 32bit...
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 33434628
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question