Page 1 of 1

[SOLVED] PDFTK command arguments issue

Posted: Mon Feb 02, 2015 12:00 pm
by loicaigon
Hi all,



Given the PDFTK command line utility, this line works fine in terminal :

pdftk "/Users/sunsikim/Desktop/toto.PDF cat 1-2 output /Users/sunsikim/Desktop/totoP1-2.pdf"



Once I try to use it through Switch Execute Command, I can't get it to work



Command : pdftk

Arguments : "/Users/sunsikim/Desktop/toto.PDF" cat 1-2 output "/Users/sunsikim/Desktop/totoP1-2.pdf"



t's just a copy/paste plus the double quotes for the paths. I am just expecting to get the output pdf but none are created. I am conscious here that it won't output the file in my connection. I am ok with that right now.



For starters, I just wish that the PDFTK command just works.



Anyone has ever used PDFTK with Switch ? Does anyone see what I am doing wrong here ?



Thanks in advance for your hints.



Loic

[SOLVED] PDFTK command arguments issue

Posted: Mon Feb 02, 2015 2:04 pm
by loicaigon
It appears I made the #1 mistake ;)



http://www.enfocus.com/en/support/knowl ... mand-tool/



HTH,



Loic

[SOLVED] PDFTK command arguments issue

Posted: Wed Feb 11, 2015 10:05 am
by pcarvalho
I had the same issue and solved like this:



Exetution Mode: Concurrent

Comand or path: the path for the PDFTK

Arguments: "%1" output "%2" owner_pw password

Output: File at path

Copy input Job: yes

Output extension: Automatic

Fail exit code is: Disregard exit code



Don't forget the quotes in the argument "%1" and "%2"