Tim Mackey's Weblog
mostly.Net
|
|
Search
Categories
.Net Compact
.Net General
.Net Windows Forms
Asp.Net
Database
General
Mobile
Outdoors
Windows Server 2003
Archive
June, 2010 (2)
May, 2010 (1)
September, 2009 (1)
April, 2009 (1)
March, 2009 (1)
February, 2009 (2)
January, 2009 (1)
December, 2008 (2)
October, 2008 (2)
September, 2008 (1)
August, 2008 (1)
July, 2008 (1)
May, 2008 (2)
April, 2008 (2)
March, 2008 (2)
January, 2008 (4)
December, 2007 (1)
November, 2007 (4)
October, 2007 (3)
September, 2007 (3)
August, 2007 (3)
July, 2007 (5)
June, 2007 (1)
May, 2007 (5)
April, 2007 (4)
March, 2007 (3)
February, 2007 (4)
January, 2007 (3)
December, 2006 (1)
November, 2006 (1)
October, 2006 (3)
September, 2006 (3)
August, 2006 (6)
July, 2006 (2)
April, 2006 (2)
March, 2006 (2)
February, 2006 (4)
January, 2006 (9)
December, 2005 (10)
November, 2005 (3)
October, 2005 (1)
September, 2005 (4)
August, 2005 (6)
June, 2005 (2)
May, 2005 (3)
April, 2005 (3)
March, 2005 (5)
February, 2005 (2)
January, 2005 (3)
December, 2004 (3)
November, 2004 (5)
October, 2004 (3)
September, 2004 (3)
July, 2004 (5)
June, 2004 (3)
May, 2004 (2)
April, 2004 (3)
March, 2004 (7)
Blogroll
Sign In
Friday, August 11, 2006
Crystal Reports: Export PDF irregularities between server and dev machine
Friday, August 11, 2006 1:20:57 PM (GMT Daylight Time, UTC+01:00) (
.Net General
|
.Net Windows Forms
|
Asp.Net
)
I have a few reports in my web application that i export in PDF format only. You would think this would remove any printer driver complications but apparently not.
Crystal Reports have a
surprisingly good article
to help troubleshoot issues with printing or exporting a report.
The problem i was finding was that in a Text object or Unbound field, the text would be truncated at the edge of the box boundary. Some users have reported strange mid-word wrapping, but mine was a different problem, actually hacking off the end of each line. This didn't happen on my dev machine, but it did happen on the server (2003). When i compared them side by side, the Times New Roman font on the server was stretched by about 5% compared to my dev machine.
with the help of the CR article, i tracked it down to the lack of any printer installed on the server, i had also disabled the Print Spooler service which was preventing even the Microsoft Office Document Imaging Printer from being available. So i started the print spooler service and made sure that the Office Imaging Printer was marked as the default printer. Then i went back to Visual Studio and set all the reports to use the Office Imaging printer. This solved the problem.
You could of course install a PDF only printer such as PrimoPDF if you didn't have MS office installed on the server. As long as the server has the same printer installed as the one set in the report design, everything turns out fine.
Comments [1]
| |
Tuesday, August 22, 2006 11:26:57 PM (GMT Daylight Time, UTC+01:00)
Tim, you are my hero!
I have been struggling with this issue for months and following up with Business Objects support. This was exactly the problem and in less than a minute, I've got my reports rendering properly again.
Ryan @ Ross
Name
E-mail
Home page
Remember Me
Comment (HTML not allowed)
Enter the code shown (prevents robots):
Live Comment Preview