From owner-freebsd-questions@FreeBSD.ORG Sun Apr 1 09:14:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A38BD106566B for ; Sun, 1 Apr 2012 09:14:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 62FC68FC08 for ; Sun, 1 Apr 2012 09:14:51 +0000 (UTC) Received: from r56.edvax.de (port-92-195-185-71.dynamic.qsc.de [92.195.185.71]) by mx02.qsc.de (Postfix) with ESMTP id 3812C1E3C6; Sun, 1 Apr 2012 11:14:44 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q319EhGW002045; Sun, 1 Apr 2012 11:14:43 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 1 Apr 2012 11:14:43 +0200 From: Polytropon To: Lino Miklav Message-Id: <20120401111443.0dfa0e26.freebsd@edvax.de> In-Reply-To: <4F775909.8090301@unitedpeople.net> References: <4F75D37C.2020203@lovetemple.net> <2E2ED820-21EA-4025-A4AA-A4CA76C01E29@mac.com> <4F775909.8090301@unitedpeople.net> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Printer recommendation please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Apr 2012 09:14:51 -0000 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, ...