Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Export To PDF Issue

Posted on 2010-08-12
7
Medium Priority
?
645 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 101

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
Industry Leaders: 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 101

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 101

Accepted Solution

by:
mlmcc earned 2000 total points
ID: 33434628
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to perform batch conversion of PDF, TIFF, and other image file formats into PDF, PDF Searchable, and TIFF files via a command line interface, using Nuance's latest document imaging software — Power PDF Advanced.
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
In this video, we show how to perform Bates Numbering/Stamping of PDF documents using Power PDF Advanced, the newest product from the Document Imaging division of Nuance Communications. There are two editions of Power PDF — Standard and Advanced. Th…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

610 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