Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

allowing users to export to *.PDF

Status
Not open for further replies.

Sheffield

Programmer
Jun 1, 2001
180
US
Greetings,

I'm using v8.0 and everything work great with one exception: end users aren't able to export to *.pdf.

Do they need to have the FULL version of Adobe Acrobat (which includes distiller) to do this? Or is there some software that needs to be installed on the server?

Oddly enough, the export to *.pdf option exists but when chosen, an error message: "the export format u2fpdf:0 is not supported."

I have the U2FPDF.dll on my system, but it only seems to help me export to *.pdf from the Crystal Reports Program, but NOT the Crystal Viewer.

Can anyone shed some light on this?
 
Have you registered the DLL?

Regsvr32 u2fpdf.dll

Bradb
 
the instructions from Crystal specfically directed NOT to register it. It just needed to be placed in the "c:\windows\Crystal" directory.
 
Which crystal viewer are you referring to? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Ken,

I'm using the ActiveX Viewer.

Although I'm using Crystal Reports 8.0, my
Code:
CRViewer.dll
is file version 8.5.0.432. It appears that I automatically downloaded a newer version than was originally installed.

Any thoughts?
 
Tell us about the applicaton that is using this viewer. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Ken,

In a nutshell...the Crystal ActiveX Viewer is launched via ASP. SELECT boxes exist on the web page, functioning as parameters for the SQL Server 2000 Stored Procedure, which provides the resultset for the Crystal Report. Not overly complicated.

The data resides on one server and the reports & ASP code reside on another. Nothing is local.

What I'm a little unclear about is the software that resides on the server where the reports live. I've always known it as 'Crystal Services', but am unsure exactly what it is.

Let me repeat...literally everything works fine with one exception: I can export to any format EXCEPT *.pdf, where I get the error ('u2fpdf') listed above.

The viewer that comes shrinkwrapped with 8.0 doesn't even allow the option to export to *.pdf. Even installing the full version of Acrobat doesn't help.

However, I upgraded the viewer to 8.5; was then able to see the *.pdf export as an option, but received the error when attempting to do it.
 
If I understand things, the Active-X viewer has to be downloaded the first time a client hits the web server. So something is local. And where that is coming from isn't clear to me.

I am not sure what you mean by upgrading the viewer. Did you upgrade the version of CR on your web server? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Correct, the Active-X viewer does have to be downloaded the first time a client hits the web server. In my case, recently, I hit a different web server (somewhere that I'm not aware of) and downloaded a newer version of the viewer, which happens automatically when the web server has an updated viewer. So, yes, the viewer is local.

Still, I have the same problem: Unable to export to *.pdf.

The web server I need for this to work on runs version 8.0. Is there some kind of a patch I can install for it to work?

Perhaps this isn't possible at all with version 8.0. I just can't confirm this.
 
I am not sure either, but I suspet that you are correct. It may be that since v8 does not support PDF, that the v8 web engine won't either. You might need to upgrade to v8.5. There used to be a beta download of the PDF export for v8, but that has been pulled. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
To use PDF export, it is important to have ATL 3.0 installed (the ActiveX template Library). Check ATL.DLL and it's version number.

Email me if you can't find the MS program to install the windows specific version of that DLL. It's not very large and is easy to send. Editor and Publisher of Crystal Clear
 
Ken,

Although Crystal did remove their link for the *.pdf download file, they didn't actually remove the file.


However, this file will only allow you to export to *.pdf in the Crystal Development environment, NOT through the Crystal viewer for *.rpts on a web server.

I understand why they removed it....they want users to upgrade to 8.5.

ChelseaTech: I have no idea what the ATL.dll has to do with exporting to *.pdf. I have version 3.00.8449 on my pc, which appears to be the latest version, and I still have no luck. Please forward more information.

Thanks:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top