> : For me and my BJC-610, I did minor editing to my /etc/filter.ps file (to
> : use bj-10 mode rather than epson mode), and print postscript files with
> : "lpr -d". This requires me to power off, flip DIPs, power on the printer
> : anytime I need to switch between ASCII printing and Postscript printing;
> : fortunately, that's not a big problem for me now. Hopefully soon, I'll
> : undertake to write a ghostscript driver for the BJC-610 that will fix
> : this and also print in color.
> Can I also setup my BJC-4000 like your way to print postscript?
Check the Makefile of Ghostscript (I assume it's 2.6.2) for the line
'DEVICE_DEVS=x11.dev' and append the entry 'bj10e.dev'. If it's missing,
gs won't know how to format for the Canon BJ series.
As I don't use apsfilter or any of those fancy 'magic' filters, but my
own tiny little scripts, it then just comes down to calling necessary
filters in the correct order. (It's a Bad Thing to make gs the filter in
/etc/printcap, as it'll get additional parameters that I don't like).
E.g. the virtual printer that is responsible for PostScript(TM) has the
following entries:
/etc/printcap:
# PostScript
ps|lp3:lp=/dev/lp1:\
:sd=/var/spool/print/ps:\
:lf=/var/spool/print/ps/errs:\
:if=/usr/bin/psfilter.sh:\
:mx#0:\
:sh:\
:sf:
/* 'man printcap' for a description of the switches.
I don't know why, but _order matters_! */
/usr/bin/psfilter.sh:
#!/bin/sh
/usr/local/bin/gs -q -sDEVICE=bj10e -sOutputFile=- -
/* tells gs to read from stdin and write to stdout, suppressing all
non-output (errors & co.) */
It's basically just a matter of being creative ;-)
After the rather long prelude, a word of comfort: it just might be easier
to get apsfilter to default to the bj10e. Who knows, maybe it works for
you where it didn't for me?
On your printer I suggest you switch it to BJ mode permanently. I never
had any problems printing ascii that way (even in raw mode, for ascii I
usually use the 'bjf'-util. Don't remember where I found it, but it's
with me, accessible via anon ftp; see 'from' line 4 adress). Just remember
to set it to 'lf=cr+lf'.
Btw: if you want more details, mail me directly.
Gabriel
668 - Neighbor of the Beast
Cadet, German Air Force | REAL _root_s don't use ed.
University of the Armed Forces | They use 'echo "virtual beer" >foobar'
Munich, Germany |
snail-mail: UniBwM 106/2-305, 85577 Neubiberg, Germany