Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Combine PDFs without using Automator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Combine PDFs without using Automator
Authored by: smccandlish on Aug 05, '11 09:58:21PM

Just FYI, this method is far superior to the GhostScript-based commandline in another hint, as GS reduces the quality drastically, even to the point of making small text unreadable after the file merge.

To use THIS hint's code in an easy shell script, try:

python '/System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py' -o 'output.pdf' "$@"
all on one line, with "output.pdf" being whatever you want as the default output filename. The "$@" will accept any legal filename/wildcard mess, like "file\ 1.pdf 'file 2.pdf' " or "*.pdf" or "file0?.pdf" or whatever.

---
Stanton McCandlish
Principal, McCandlish Consulting


[ Reply to This | # ]