summarylogtreecommitdiffstats
path: root/pentaxpj-filter.install
blob: 755e801ad427c985cbecd58d9f7892276fc8f7c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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
}