[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#2213: Description



Package: magicfilter
Status: install ok installed
Priority: optional
Section: text
Maintainer: David Frey <David.Frey@lugs.ch>
Version: 1.1b-1
Recommends: dvips, gs_x, pbmplus
Description: magicfilter is a customizable, extensible automatic
  printer filter.
suggestion: 
Description: Customizable, extensible automatic printer filter.

Transcription of postinst:

# /var/lib/dpkg/info/magicfilter.postinst
/var/lib/dpkg/info/magicfilter.postinst: unexpected EOF while looking for `''
/var/lib/dpkg/info/magicfilter.postinst: command substitution: line 4: syntax error

You have to customize the printing system manually by doing the following:

  0) Add the right entries to your /etc/printcap file.

  1) copy the file /usr/doc/magicfilter/filters/<your-printer> into
       /usr/sbin/<your-printer-filter>

  2) make the input-filter-entry (if) point to your magicfilter script
       ...
       if=/usr/sbin/<your-printer-filter>
       ...

Example:
  0) I have an Epson Stylus 800 bubble jet printer, with the following
     entry in /etc/printcap:

     ...
     lp|stylus|stylus800|Epson Stylus 800:\
       :lp=/dev/lp1:sd=/var/spool/stylus800:\
       :sh:pw#80:pl#66:px#2880:mx#0:\
       :if=/usr/sbin/stylus800-filter:\
       :af=/var/adm/stylus-acct:
     ...

  1) cp /usr/doc/magicfilter/filters/stylus800-filter /usr/sbin
           ...
  2)



Reply to: