Mark Devin on Tue, 27 Feb 2001 08:06:47 +0100 (CET)


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

apsfilter 6.0-devel:missing filter file


I have spent the last 2 days trying to get my printer to work.

 Operating System  : Linux 2.4.1 - Debian Unstable

        apsfilter Rel.    : apsfilter-6.0
        ghostscript Rel.  : gs 6.5.0
        Printer           : Canon BJC-4200
        serial/parallel   : parallel printer
        Mono/Color        : color printer
        Postscript-Printer: no
        Print Resolution  : gs driver default ?
        My Full Name    : Mark Devin
        My e-mail addr  : mdevin@ozemail.com.au

The problem is:
I ran the apsfilterconfig program.  Here is a portion of my
/etc/printcap file:

ascii|lp1|bjc600-a4-ascii-mono|bjc600 ascii mono:\
        :lp=/dev/printers/0:\
        :sd=/var/spool/lpd/bjc600-a4-ascii-mono:\
        :lf=/var/spool/lpd/bjc600-a4-ascii-mono/log:\
        :af=/var/spool/lpd/bjc600-a4-ascii-mono/acct:\
        :if=/var/lib/apsfilter/filter/aps-bjc600-a4-ascii-mono:\
        :mx#0:\
        :sh:
#
lp2|bjc600-a4-auto-mono|bjc600 auto mono:\
        :lp=/dev/printers/0:\
        :sd=/var/spool/lpd/bjc600-a4-auto-mono:\
        :lf=/var/spool/lpd/bjc600-a4-auto-mono/log:\
        :af=/var/spool/lpd/bjc600-a4-auto-mono/acct:\
        :if=/var/lib/apsfilter/filter/aps-bjc600-a4-auto-mono:\
        :mx#0:\
        :sh:
#

Now, when I try to print a file from abiword I set the printer command
to: lpr -P bjc600-a4-auto-mono
(I have also tried as printer command: lp and lpr etc + other
combinations)
It does nothing.
There is not output in the log file:
/var/spool/lpd/bjc600-a4-auto-mono/log (despite having enabled
debugging)
And I noticed that there is no such file as:
/var/lib/apsfilter/filter/aps-bjc600-a4-auto-mono (which is supposed to
be the "if" file)

I was able to do this:
cat tiger.ps | gs -q -sDEVICE=bjc600 -dNOPAUSE -dSAFER
-sOutputFile=/tmp/test.out
cat /tmp/test.out > /dev/printers/0
This worked and printed the tiger correctly.

I know I must be doing something wrong but I have followed the
apsfilterconfig script countless times now.

Please help me.