AutoSave - Filename

I need to use the PDFCreator in Autosave mode. My application requires the pdf name to be a userdefined one rather than a .

Is there any way we can give the customized file name before printing.

I'm using it from the PowerBuilder 12.0 code. I will set the default printer to 'PDFCreator' and print the datawindow through code..

The pdf is getting generated without any issues in proper format, but I want to give the filename at runtime.

Thanks in Advance.

Please help..!!!!