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
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