]> gitweb.pimeys.fr Git - scripts-20-100.git/commitdiff
Thanks b2moo
authorVincent Le Gallic <legallic@crans.org>
Sun, 29 Sep 2013 12:33:57 +0000 (14:33 +0200)
committerVincent Le Gallic <legallic@crans.org>
Sun, 29 Sep 2013 12:33:57 +0000 (14:33 +0200)
compat [new file with mode: 0755]

diff --git a/compat b/compat
new file mode 100755 (executable)
index 0000000..e38fccc
--- /dev/null
+++ b/compat
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# Script écrit par Daniel pour rendre un PDF compatible avec l'imprimante
+gs -dCompatibilityLevel=1.2 -dBATCH -dNOPAUSE -sDEVICE=pdfwrite\
+ -sOutputFile="$2" "$1"