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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerBuilder 6.5 and PDF creation error

Status
Not open for further replies.

amivp

Programmer
Sep 29, 2005
7
US
Hello,


I am using PowerBuilder 6.5.
We have an application that is creating a PDF file to a specified folder when a
report is generated.
The environment is Windows 2000, Adobe version 5.0 and PowerBuilder 6.5 and
Printer is Acrobat Distiller
It works like this:
The user generates the report and in the report generation itself, the o/p filename
is generated. The application creates a file in folder given in the app.ini (C:\ or network) drive) file.
the printer is switched from Default to Acrobat Distiller within the application and once
the report is generated it is again switched back to Default.

RegistrySet(ls_printerregkey, "Device", RegString!, ls_targetprinter)


adw_print.object.datawindow.print.documentname = is_savepath + as_filename
adw_print.Print(false)



But now our environment is changed from Windows 2000 to Windows XP Professional ,
Adobe is upgraded to 7.0 and printer is Adobe PDF. PowerBuilder version is same 6.5

The application fails while creating the report. I tried using CutePDF writer as printer,
but then it prompts for file name every time it generates the report.

Does anyone have a solution for this problem?
Help is very much appreciated!

Thanks,
Ami

 
We have had good results with the Amyuni product for PDF creation. The set up is almost exactly like what you are trying to do. You may wish to download an evaluation copy to check out it's functionality.

Matt

"Nature forges everything on the anvil of time
 
Matt,
What you are using, PDF converter or PDF creator?. Does Amyuni products allow applcaiton generated outputfile names and user defined output locations? Will I be able to change the output folder/filename programatically?
Pl. reply,
Thanks,
Ami
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top