Problems upgrading from PDF Converter 2.05 to 5.0

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
glenn78748
Posts: 1
Joined: Thu Aug 27 2015

Problems upgrading from PDF Converter 2.05 to 5.0

Post by glenn78748 »

We are migrating off of our Windows 2003 environment because of compliance issues. Because our legacy web applications will not work in a 64-bit environment we are migrating them to Windows 2008, 32-bit. For our PDF reports we have been using PDF Converter 2.05. The server code is developed using PowerBuilder 11.2/EAServer 5.5, which builds the PDF file, sends it to a temp folder on the web server where IIS picks it up and displays to the client. Everything has been working great for years, now it seems 2.05 is not compatible with Windows 2008 so we downloaded the latest 5.0 version and installed it on the application server. I tweaked the PowerBuilder code to use version 5 and things seems to show correctly in logs however the report never makes it to the temp folder on the web server. To avoid any possible permissions issues I modified the config to print the PDF to a local folder on the application server. It is still not working.

Am I missing something? Is there something I need to do in 5 that I did not need to do in 2.05?

Below is from the server log showing the sequence of events:

Aug 27 12:49:02 2015: Trace - (113725) n_cst_printer.printamyuni_500 - STARTING
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 Setting document name to 1564900488540_temp.pdf
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 PrintSetPrinter return code = 1
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 DriverInit return code = 161483080
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 Lock() return code = 0
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 SetDocFileProps using => \\JCDC-D-JAG-154\Reports\1564900488540_temp.pdf
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 SetDocFileProps return code = 0
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 Company Name = Amyuni PDF Converter Evaluation
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 License Used = 07EFCDAB0100010025AFF1804.....(edited out)
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 EnablePrinter return code = 1
Aug 27 12:49:02 2015: Debug - (113725) n_cst_printer.printamyuni_500 print() return code = 1

The code was written before I started working here. It appears it is the SetDocFileProps method that sets the path of the PDF. But not sure if that changed or what exactly is going on.
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Re: Problems upgrading from PDF Converter 2.05 to 5.0

Post by Jose »

Hello,

This user ended up contacting support@amyuni.com. The issue was related to a combination of the incorrect licensing and re-booting the server.

Thanks
Get PDF Suite, the expert .NET developer toolkit for PDF conversion, creation and editing - www.amyuni.com/pdfsuite
Post Reply