From owner-freebsd-current@FreeBSD.ORG Thu Feb 12 12:54:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E878516A4CF for ; Thu, 12 Feb 2004 12:54:42 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53A1A43D1F for ; Thu, 12 Feb 2004 12:54:42 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i1CKsfMW028503; Thu, 12 Feb 2004 21:54:41 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Chris From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 12 Feb 2004 15:40:32 EST." <402BE4C0.3090604@tellme3times.com> Date: Thu, 12 Feb 2004 21:54:40 +0100 Message-ID: <28502.1076619280@critter.freebsd.dk> cc: freebsd-current@freebsd.org Subject: Re: Parallel port printing on 5.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Feb 2004 20:54:43 -0000 I'm using this with my printers on 5.2: ink|hp1220|hp1220c:\ :mx#0:\ :sh:sf:\ :if=/usr/local/libexec/hp1220:\ :lp=/dev/ulpt0:sd=/var/spool/output/ink:lf=/var/log/lpd-errs: /usr/local/libexec/hp1220: /usr/local/bin/gs -dSAFER -dNOPAUSE \ -q \ -sDEVICE=ijs \ -sIjsServer=/usr/local/bin/hpijs \ -dIjsUseOutputFD \ -sDeviceModel="DESKJET 1220" \ -dPrintmode=1 \ -sPAPERSIZE=a4 \ -r300 \ -sOutputFile=- - | dd obs=8k && exit 0 The dd(1) trick used to make things go a lot faster on USB, I don't know if it is still necessary. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.