From owner-freebsd-questions Fri Feb 6 10:44:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA00229 for questions-outgoing; Fri, 6 Feb 1998 10:44:39 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from thud.homenet (ub4.dreamscape.com [206.114.185.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA00207 for ; Fri, 6 Feb 1998 10:44:25 -0800 (PST) (envelope-from aaron@dreamscape.com) Received: (from aaron@localhost) by thud.homenet (8.8.7/8.8.7) id NAA00298; Fri, 6 Feb 1998 13:41:44 -0500 (EST) (envelope-from aaron) Message-ID: <19980206134143.00781@homenet> Date: Fri, 6 Feb 1998 13:41:43 -0500 From: Aaron Jeremias Luz To: Francisco Viana Cc: questions@FreeBSD.ORG Subject: Re: Printer Canon Bj 240 Reply-To: aaron@csh.rit.edu References: <19980206160815.6167.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <19980206160815.6167.qmail@hotmail.com>; from Francisco Viana on Fri, Feb 06, 1998 at 08:08:15AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" 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