Crystal Reports - Export to PDF

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
obrienjAsked:
Who is Participating?
 
obrienjAuthor Commented:
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
 
peter57rCommented:
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
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
obrienjAuthor Commented:
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
 
obrienjAuthor Commented:
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
 
peter57rCommented:
I only have CR9 where I am at present, so can't investigate this.
I'll see if anyone else can help.
0
 
frodomanCommented:
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
 
obrienjAuthor Commented:
okay cheers, ill try it tomorrow.
0
 
obrienjAuthor Commented:
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
 
obrienjAuthor Commented:
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
 
obrienjAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.