Additional changes

This commit is contained in:
Kenneth John Odle 2021-09-08 20:35:56 -04:00
parent 23e3144bfb
commit e9e297aa0f

View File

@ -25,7 +25,9 @@ To edit metadata is a multistep process:
1) Dump the pdf metadata:
$ pdftk input.pdf dump_data metadata.txt
```
$ pdftk input.pdf dump_data metadata.txt
```
2) Edit the metadata (Geany appears to work), adding:
@ -42,12 +44,14 @@ InfoValue: Journal #42
3) Update the metadata in the pdf file:
$ pdft input.pdf update_info metadata.txt output.pdf
```
$ pdft input.pdf update_info metadata.txt output.pdf
```
Note that you must write to another file, as pdftk cannot overwrite the original file.
Thus, make the file you save the scan as different than what you want the final file to be named.
See https://sejh.wordpress.com/2014/11/26/changing-pdf-titles-with-pdftk/
See [https://sejh.wordpress.com/2014/11/26/changing-pdf-titles-with-pdftk/](https://sejh.wordpress.com/2014/11/26/changing-pdf-titles-with-pdftk/)
# Converting to Double Sided Scans without a Duplexer
@ -61,7 +65,9 @@ This gives you pages 1 3 5 7 9
Scan the reverse sides: 001b.pdf
This gives you pages 10 8 6 4 2
$ pdftk A=001a.pdf B=001b.pdf shuffle A1-5 B5-1 output 001.pdf
```
$ pdftk A=001a.pdf B=001b.pdf shuffle A1-5 B5-1 output 001.pdf
```
001.pdf should now be in the order:
1 2 3 4 5 6 7 8 9 10