Issue setting printing save options via pdfsaver.exe /setoptions
Posted: Mon Feb 11, 2019 8:31 am
Hi All,
I'm having some trouble trying to automate some printing to .pdf with PDF XChange Standard, I hope someone can see what I'm doing wrong. So essentially, My script calls pdfsaver.exe /Addprinter to create a duplicate printer called "PDF-XChange ScriptOUTPUT", then I call pdfsaver again with;
/SetOptions "Save.File=%[DocName];Save.Path="C:\PDFOUT";Save.ShowSaveDialog=0;Save.RunApp=0;Save.UseLastPath=1" /Printer "PDF-XChange ScriptOUTPUT"
This works correctly on my system, but fails when I try to test it on a client's PC (of course). The printer gets created, but the profile settings don't get applied for some reason.
Any ideas?
Thanks!
I'm having some trouble trying to automate some printing to .pdf with PDF XChange Standard, I hope someone can see what I'm doing wrong. So essentially, My script calls pdfsaver.exe /Addprinter to create a duplicate printer called "PDF-XChange ScriptOUTPUT", then I call pdfsaver again with;
/SetOptions "Save.File=%[DocName];Save.Path="C:\PDFOUT";Save.ShowSaveDialog=0;Save.RunApp=0;Save.UseLastPath=1" /Printer "PDF-XChange ScriptOUTPUT"
This works correctly on my system, but fails when I try to test it on a client's PC (of course). The printer gets created, but the profile settings don't get applied for some reason.
Any ideas?
Thanks!