| Michael Loßin on Tue, 27 Feb 2001 14:11:30 +0100 (CET) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: apsfilter 6.0-devel:missing filter file |
Mark Devin schrieb: > > 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 It seems that gs6.50 still has some wierd bugs... > 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: IIRC "apsfilterconfig" is a Debian thing. I don't know what kind of changes have been made to build the package, so you might want to try the latest apsfilter release (preferably the CVS version) to be sure it's not some bug introduced by the Debian guys. > 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) It seems that you are using LPRng; in this case, please enable filter_stderr_to_status_file in lpd.conf and have a look at .../status (instead of .../log). > 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) !?! If that file (should be a link to /var/lib/apsfilter/bin/apsfilter) isn't there, _nothing_ is going to work at all... wierd... > 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. This seems to be a bug in the apsfilterconfig script. Please contact the Debian maintainer to report it. [quoting the next message:] > From abiword I set the printer command as: lpr -P bjc4200 > It just prints a strip of black ink instead of the words I have typed. > However, if I print from netscape then it works OK. At least the spooler and printer work. > Do I need a special filter file for abiword? I hope not... Maybe abiword produces some wierd PostScript code. Please print the text to a file (from the abiword print dialog) and check if that file can be printed with lpr. Michael