Solved

Crystal Reports - Export to PDF

Posted on 2006-11-02
12
1,411 Views
Last Modified: 2007-12-19
I am having trouble with the Crystal Reports export to pdf functionality.  Basically, when I export a CR document it comes out differently on the PDF.  i.e. some lines get slightly moved, it seems to get zoomed down very slightly etc etc.... there's a few different issues.  Is there some settings I'm not using?? Should it be possible to represent the Crystal Report exactly as is??

I'm using crpre32.dll for the crystal calls, and using u2fpdf.dll for the pdf export.

If I can't figure this out, is there other mechanisms for exporting to pdf.

I know I can prob use a PDF writer to do it, but really not sure if thats the road I want to take.
cheers,
james
0
Comment
Question by:obrienj
  • 7
  • 3
12 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 250 total points
Comment Utility
0
 

Author Comment

by:obrienj
Comment Utility
that explains the font changes... but what about the movement of lines etc... i.e. the layout gets a bit messed up.  Are they related issues??

Also, on that page it seems to say that the issue can be fixed... does it actually work satisfactorily??  looks like a relatively dangerous fix, not sure I want to risk it unless it works.

I assume you have misgivings as you say bad news, rather than good news.....
0
 
LVL 77

Expert Comment

by:peter57r
Comment Utility
I only meant bad news in terms of it being a bit of pain to deal with.
I have not used the fix myself, but other reports here suggest that it will resolve the fonts issue.  
I am guessing that the problems are related but I don't know for sur.

Pete
0
 

Author Comment

by:obrienj
Comment Utility
okay thanks.... at least its fixable.. thats always some good news.

Anyone else know if the the font fix will fix the layout fix??? or if they are completely different problems, is there a fix for the layout one??
0
 

Author Comment

by:obrienj
Comment Utility
okay, another problem.  I can't implement  the fix as I seem to be missing the reg path.
I am supposed to change the value of 'ForceLargerFonts' to 1 within the following reg folder:
HKEY_CURRENT_USER\SOFTWARE\Crystal Decisions\10.0\Crystal Reports\Export\PDF

But the PDF folder does not exist.  It stops at the Export folder, and there is no ForceLargerFonts entry there.

Anyone know why I would be missing this info??

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 77

Expert Comment

by:peter57r
Comment Utility
I only have CR9 where I am at present, so can't investigate this.
I'll see if anyone else can help.
0
 
LVL 42

Expert Comment

by:frodoman
Comment Utility
Hey James - the registry key does not exist at all before the update (Peter's first response link) is installed.  Once the update is installed you should have this key and be able to change the value.  You could add the value manually to the registry and shouldn't have any negative impact but without the update I don't believe it would help either.

I don't know for certain that the layout problem will be fixed with the font but it seems a reasonable possibility that the positioning of the lines are based on the position of the text which changes with the font size.  Can't say for certain though.

frodoman
0
 

Author Comment

by:obrienj
Comment Utility
okay cheers, ill try it tomorrow.
0
 

Author Comment

by:obrienj
Comment Utility
Hello,
I installed the update, and changed the value to 1.  It definitely fixed the fonts problem all right, but here's the bad news.  It did not fix the layout problem.
0
 

Author Comment

by:obrienj
Comment Utility
so anyone any ideas about the layout.  It seems to push the margins in from each side.... left, right, top, bottom.  Some of the inner lines and boxes are okay, others are not.   The differences are minuscule, and if it wasn't for one or two lines you wouldn't even notice.  

Is there any other "export" options or anything that i can set??  it might be something small in the setup.
0
 

Author Comment

by:obrienj
Comment Utility
ill accept the first answer since know one seems to know anything about the layout.  It's likely to just be a Crystal Reports problem.
thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now