ad00851f9411

Fucking computers
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 13 Apr 2019 10:37:06 -0400
parents b892847fa264
children 855cbad5f857
branches/tags (none)
files bin/code-to-pdf

Changes

--- a/bin/code-to-pdf	Sat Apr 13 10:05:46 2019 -0400
+++ b/bin/code-to-pdf	Sat Apr 13 10:37:06 2019 -0400
@@ -8,20 +8,20 @@
 enscript -1 --media=Letter \
     --toc \
     --header '%H - $N | | page $% of $= in file $v' \
-    --font "UbuntuMono-Regular@8" \
-    --header-font "UbuntuMono-Bold@10" \
+    --fancy-header=sjl \
+    --font "UbuntuMono-Regular@10" \
+    --header-font "UbuntuMono-Bold@12" \
     --title "$TITLE" \
     --baselineskip 3 \
     --line-numbers \
     --highlight \
     --color \
     --mark-wrapped-lines=arrow \
-    --margins=60:60:18:60 \
+    --margins=50:50:18:50 \
     --portrait \
     --output - \
     --word-wrap $* \
-    # | ps2pdf code
+    | ps2pdf - code.pdf
 
     # --margins=20:40:30:30 \
     # --landscape \
-    # --fancy-header=sjl \