added notes on basic conversion of .txt to .pdf
This commit is contained in:
parent
5502c11b33
commit
3a75ccad27
1 changed files with 13 additions and 0 deletions
13
txt2pdf_instructions.txt
Normal file
13
txt2pdf_instructions.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
This is just some notes on how to convert a .txt file to a .pdf file from the command line.
|
||||
Eventually consider how to put this into a bash script, as it creates a series of unnecessary files in the conversion process that could easily be rmoved by a simple bash script.
|
||||
|
||||
You'll need the enscript and ghostscript packages:
|
||||
|
||||
doas pacman -S enscript ghostscript
|
||||
|
||||
Simple Conversion of txt File to pdf File
|
||||
|
||||
enscript -p output.ps input.txt
|
||||
|
||||
ps2pdf output.ps output.pdf
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue