summaryrefslogtreecommitdiff
path: root/print-chores-chart
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-08-20 11:27:11 -0700
committerBen Sima <ben@bsima.me>2018-08-20 11:58:36 -0700
commit4d33be51a08d3fd8a6468dcf4d4f7e4a4f13911f (patch)
treececcc4b6012ffc29583e52d2a81e391c58de7a0b /print-chores-chart
parent275bde54229ad9c46d529d8f421cd2e945fe8c87 (diff)
Add print-chores-chart
Diffstat (limited to 'print-chores-chart')
-rwxr-xr-xprint-chores-chart9
1 files changed, 9 insertions, 0 deletions
diff --git a/print-chores-chart b/print-chores-chart
new file mode 100755
index 0000000..8f334f9
--- /dev/null
+++ b/print-chores-chart
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+set -xe
+
+emacs ~/org/chores.org --load ~/.emacs.d/init.el --batch -f org-store-agenda-views --kill
+
+pandoc -i ~/public_html/chores.html -t html -o ~/public_html/chores.pdf
+
+lp -d OfficeJet-Pro-6960 ~/public_html/chores.pdf \ No newline at end of file