Date: Fri, 6 Feb 1998 13:41:43 -0500 From: Aaron Jeremias Luz <aaron@dreamscape.com> To: Francisco Viana <frviana@hotmail.com> Cc: questions@FreeBSD.ORG Subject: Re: Printer Canon Bj 240 Message-ID: <19980206134143.00781@homenet> In-Reply-To: <19980206160815.6167.qmail@hotmail.com>; from Francisco Viana on Fri, Feb 06, 1998 at 08:08:15AM -0800 References: <19980206160815.6167.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 06, 1998 at 08:08:15AM -0800, Francisco Viana wrote: > Is it possible print graphics and PostScripts files on my Bj240?? > How to Config for it? > Thanks > > Frederico Viana > BRAZIL Yes. Check out Ghostscript in /usr/ports/print. Just a couple of days ago, I configured a Canon BJ200e to emulate a Postscript printer. This is just a guess, but I wouldn't be surprised if the BJ-240 is backwardly compatible with the BJ200. In any case, Ghostscript supports most common printers. Here's an example of how you could invoke Ghostscript. #!/bin/sh # # pstobj200if - Print Ghostscript simulated PostScript on a Cannon BJ-200 # exec /usr/local/bin/gs -dSAFER -dNOPAUSE -dQUIET -sDEVICE=bj200 \ -sPAPERSIZE=letter -sOutputFile=/dev/fd/3 - 3>&1 1>&2 2> /dev/null You can change the paper size to A4 if you wish. Also, the juggling of file descriptors is necessary to keep error messages separate from the actual printer output. (-dQUIET unfortunately isn't enough.) If you haven't done so already, you may want to read section 7 of the FreeBSD Handbook which explains printing. Have fun, Aaron
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980206134143.00781>