Page 1 of 1

PDFTK does not output PDFs in Switch unless manual folder scan is invoked

Posted: Mon Apr 12, 2021 2:10 pm
by Arthur
Hello clever heads :)
I am experiencing an annoying issue with PDFTK server, which seems it does not output PDFs to a folder of choice, unless I go Scan Folders Now manually from the right-click in Switch.
Until then, no PDF is produced.....
Anyone had anything like that ??

The command is fairly simple:
"%1" output "final_location\folder\_[Job.UniqueNamePrefix]_[Job.Name]"

Help anyone please ?? :)
PDFTK Issue.PNG
PDFTK Issue.PNG (28.99 KiB) Viewed 4152 times

Re: PDFTK does not output PDFs in Switch unless manual folder scan is invoked

Posted: Mon Apr 12, 2021 2:28 pm
by laurentd
You should use "%2" with output "File at Path"

Re: PDFTK does not output PDFs in Switch unless manual folder scan is invoked

Posted: Mon Apr 12, 2021 2:40 pm
by jan_suhr
And also set the Output property to "File at path" it is by default None and will there fore not output anything

Re: PDFTK does not output PDFs in Switch unless manual folder scan is invoked

Posted: Mon Apr 12, 2021 3:06 pm
by Arthur
Will check that later. I chose a defined path however as the "%2" never worked for me....
Will report after the changes.
Interesting though....

Re: PDFTK does not output PDFs in Switch unless manual folder scan is invoked

Posted: Mon Apr 12, 2021 5:42 pm
by jan_suhr
Arthur wrote: Mon Apr 12, 2021 3:06 pm Will check that later. I chose a defined path however as the "%2" never worked for me....
Will report after the changes.
Interesting though....
Sounds like the Output property is set to None

Re: PDFTK does not output PDFs in Switch unless manual folder scan is invoked

Posted: Mon Apr 12, 2021 7:36 pm
by Arthur
I shall report that the suggested amendments did the job and indeed it works as expected.
Which on the other hand I am finding strange, since we've been using PDFTK in our flows for the last 3 years and it never worked with "%2" for the output, yet it always did with a fixed path, as exampled earlier.
Now on the new machine it works using "%1" output "%2" and file at path and this is the most important bit.
Thank you for your help, as I would probably have my mind fixed on how it used to work for the last couple of years and be going in circles trying to figure it out myself.
Thx again.