summarylogtreecommitdiffstats
path: root/pentaxpj-filter.install
diff options
context:
space:
mode:
authorfelics2018-04-20 14:53:43 +0200
committerfelics2018-04-20 14:53:43 +0200
commit305ec4124ae4b21a6d29850d2991b0c8b981b1e7 (patch)
treea6251900480fb49f07fe79bc78b4a31375585229 /pentaxpj-filter.install
parent86874fe8d46b35392f0eb5b1b1ca931bd62a0a0d (diff)
downloadaur-305ec4124ae4b21a6d29850d2991b0c8b981b1e7.tar.gz
Bugfix.
Diffstat (limited to 'pentaxpj-filter.install')
-rw-r--r--pentaxpj-filter.install32
1 files changed, 32 insertions, 0 deletions
diff --git a/pentaxpj-filter.install b/pentaxpj-filter.install
new file mode 100644
index 000000000000..755e801ad427
--- /dev/null
+++ b/pentaxpj-filter.install
@@ -0,0 +1,32 @@
+post_install() {
+ cat << EOM
+
+=== pentaxpj-filter ===
+
+NOTE: In order to use the Pentax PocketJet II/ 200 with CUPS,
+after installing the printer in CUPS you most probably need to
+modify the printer's PPD file (will be under /etc/cups/ppd/ after
+installation in CUPS):
+
+In the line
+ *FoomaticRIPCommandLine: "pentaxpj%B"
+replace
+ pentaxpj
+with
+ pentaxpj_sh
+(so the line reads like
+ *FoomaticRIPCommandLine: "pentaxpj_sh%B"
+).
+
+Otherwise, you most probably will get a "Filter failed"-error in CUPS
+and /var/log/cups/error.log will show
+ Process is dying with \"Encountered error Broken pipe during fwrite\"
+
+=== /pentaxpj-filter ===
+
+EOM
+}
+
+post_upgrade() {
+ post_install
+}