Date: Sun, 1 Apr 2012 11:14:43 +0200 From: Polytropon <freebsd@edvax.de> To: Lino Miklav <lino@unitedpeople.net> Cc: freebsd-questions@freebsd.org Subject: Re: Printer recommendation please Message-ID: <20120401111443.0dfa0e26.freebsd@edvax.de> In-Reply-To: <4F775909.8090301@unitedpeople.net> References: <4F75D37C.2020203@lovetemple.net> <alpine.BSF.2.00.1203301244390.58700@wonkity.com> <2E2ED820-21EA-4025-A4AA-A4CA76C01E29@mac.com> <4F775909.8090301@unitedpeople.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 31 Mar 2012 21:20:41 +0200, Lino Miklav wrote: > On 31.03.2012 00:16, Peter A. Giessel wrote: > > It doesn't surprise me that Gutenprint doesn't have a setting > > specifically for the 6500 because Xerox provides one: > > Uf, I have this idea to only use LPD and filters. That should be no problem. If I read the specifications for the Xerox Phaser 6280V DN correctly, it supports both PS and PCL. Here's an example for a PCL printer filter: #!/bin/sh printf "\033&k2G" || exit 2 gs -q -dBATCH -dNOPAUSE -dPARANOIDSAFER -dSAFER -sPAPERSIZE=a4 -r600x600 \ -sDEVICE=ljet4 -sOutputFile=- - && exit 0 exit 2 The "ljet4" produces PCL, it can also be used to access features like duplexer (add -dDuplex=true). It basically does the same as the apsfilter filter, except that the apsfilter one has support for "pretty printing" and direct command line printing, so % lpr foo.c or % lpr bar.png can be issued directly, no need to create a PS stream by another application. You can easily add that filter to /etc/printcap's if= setting, add rm= with the IP or hostname of the printer, prepare the spool and it should work. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120401111443.0dfa0e26.freebsd>