summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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