[SOLVED] PDFTK command arguments issue

Post Reply
loicaigon
Advanced member
Posts: 379
Joined: Wed Jul 10, 2013 10:22 am

[SOLVED] PDFTK command arguments issue

Post 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
loicaigon
Advanced member
Posts: 379
Joined: Wed Jul 10, 2013 10:22 am

[SOLVED] PDFTK command arguments issue

Post by loicaigon »

It appears I made the #1 mistake ;)



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



HTH,



Loic
pcarvalho
Member
Posts: 24
Joined: Tue Dec 16, 2014 12:08 pm

[SOLVED] PDFTK command arguments issue

Post 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"
Post Reply