From d3d63d5afc4cdfe022ecb0901d48906b05ed7328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Hu=C5=A1ek?= <husek@iuuk.mff.cuni.cz> Date: Wed, 18 Oct 2017 21:21:43 +0200 Subject: [PATCH] add config file --- cups-pdf-postprocess.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cups-pdf-postprocess.conf diff --git a/cups-pdf-postprocess.conf b/cups-pdf-postprocess.conf new file mode 100644 index 0000000..9995925 --- /dev/null +++ b/cups-pdf-postprocess.conf @@ -0,0 +1,23 @@ + +"enviroment": { + "DISPLAY": ":0", + "XAUTHORITY": "/tmp/kde-radek/xauth-1000-_0", + "HOME": "/home/radek", + "KDE_SESSION_VERSION": "4", + "XDG_CURRENT_DESKTOP": "KDE", +}, + +"printers": [ + ("Nessie gray", ["ssh", "iuuk", "lp", "-d", "nessie-gray"]), + ("Nessie color", ["ssh", "iuuk", "lp", "-d", "nessie-color"]), + ("Obludka (2nd floor)", ["ssh", "iuuk", "lp", "-d", "obludka"]), + ("Potvurka (Petra's office)", ["ssh", "iuuk", "lp", "-d", "potvurka"]), +], + +"defaults": { + "crop": False, + "crop_margins": [ 20, 20, 20, 20 ], + "pdfbook": True, + "staple": True, +} + -- GitLab