pdftotext: add page (#1757)

coverage
Starbeamrainbowlabs 2017-12-09 16:55:58 +00:00 committed by GitHub
commit fb94f133a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 0 deletions

19
pages/common/pdftotext.md Normal file
View File

@ -0,0 +1,19 @@
# pdftotext
> Convert PDF files to plain text format.
- Convert filename.pdf to plain text and print it to standard output:
`pdftotext {{filename.pdf}} -`
- Convert filename.pdf to plain text and save it as filename.txt:
`pdftotext {{filename.pdf}}`
- Convert input.pdf to plain text and save it as output.txt:
`pdftotext {{input.pdf}} {{output.txt}}`
- Convert pages 2, 3 and 4 of input.pdf to plain text and save them as output.txt:
`pdftotext -f {{2}} -l {{4}} {{input.pdf}} {{output.txt}}`