pdfm
v1.0.4
Published
simple pdf merger
Downloads
14
Readme
pdfm - Simple PDF Merger
Dependence
- nodejs
- pdftk-server
Setup
- choco install pdftk-server nodejs
- npm install -g pdfm
Usage
- pdfMerge --files files.pdfm --output JohnDoePackage.pdf
- Optional: --bin full/path/to/pdftk
- files.pdfm is list of pdf files; full path, to be merged in order list.
- Example: files.pdfm
P:\Documents\Physicians\Internship\JohnDoe\JohnDoe_Pennsylvania_GeneralSurgery_7-1-1996_6-30-1997.pdf P:\Documents\Physicians\Internship\JohnDoe\Internship\JohnDoe_MD_OhioUniversity_8-29-1996.pdf P:\Documents\Physicians\Internship\JohnDoe\Internship\JohnDoe_UnivCincinnati_7-1-1997_6-30-2001.pdf
Notes
- pdfm will copy files to the systems temp folder before attempting to call pdftk to merge the files. This is to avoid issues seen in pdftk when attempting to access files on a network store. pdfm should remove these files after completion but in the event of an unhandle error occurs files could be left in the systems temp folder.
Changes
1.0.4
- Fixed bug where pdfm was not using the temporary files as expected
Future
- Support linux without having to use --bin option
- Fix test
- Maybe if I have time. Daemon process to watch pdf files for changes then run a merge.