How can i pass folder path to pdf creator when i'm printing


#1

Hi,

I’m a development worker.
I’ve got a problem with my application, I would like to print several files (by using PDF Creator) and auto-save this files in different folder path.
unfortunately the user profile of PDF Creator give one path for printing result and all the pdf files generated arrives in this folder.
Is there a way to tell to PDF Creator the path for created files ?
by code, how can I pass the file path to PDF Creator ?

Best Regards
Yannick


#2

Hi,

If you are using the COM interface you can set the path for the output path via ConvertTo(string path).
You can find more information about the COM interface here: http://docs.pdfforge.org/pdfcreator/latest/en/pdfcreator/com-interface/


#3

Hi,

thanks for your answer, but unfortunately i’m not using the COM interface, but just launch the print function as i do for any printer.

Thanks
Best Regards
Yannick


#4

Hi,

depending on how your application works, you might be able to use tokens to solve this, please have a look at http://docs.pdfforge.org/pdfcreator/latest/en/pdfcreator/using-pdfcreator/tokens/
If you need to have an interactive path selection, using the COM interface will be the best and only stable option I can think of.

Best regards,

Robin