From owner-freebsd-questions Wed Mar 15 12:24:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from logisticsoftware.co.nz (logisticsoftware.co.nz [202.37.163.1]) by hub.freebsd.org (Postfix) with ESMTP id 5AE0337B97C for ; Wed, 15 Mar 2000 12:24:21 -0800 (PST) (envelope-from jonc@logisticsoftware.co.nz) Received: from jonc.logisticsoftware.co.nz (jonc.logisticsoftware.co.nz [10.3.1.1]) by logisticsoftware.co.nz (8.9.3/8.9.3) with ESMTP id JAA11430; Thu, 16 Mar 2000 09:24:16 +1300 (NZDT) Received: (from jonc@localhost) by jonc.logisticsoftware.co.nz (8.9.3/8.9.3) id JAA33489; Thu, 16 Mar 2000 09:24:15 +1300 (NZDT) (envelope-from jonc) Date: Thu, 16 Mar 2000 09:24:15 +1300 From: Jonathan Chen To: Joe Park Cc: freebsd-questions@FreeBSD.ORG Subject: Re: printer problem Message-ID: <20000316092415.C33339@jonc.logisticsoftware.co.nz> References: <4.2.0.58.20000314201950.009517d0@uclink4.berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <4.2.0.58.20000314201950.009517d0@uclink4.berkeley.edu>; from joepark@uclink4.berkeley.edu on Wed, Mar 15, 2000 at 12:20:38AM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Mar 15, 2000 at 12:20:38AM -0800, Joe Park wrote: > Hello, > > As one of processes of moving from Window to FreeBSD, I started to work on > printer now. I have Panasonic KX-P6500 laser printer and on first try of > "lptest > /dev/lpt0", it printed one line of ASCII chracters on first page > and two blank page. Yup. That's what I expect. You've got a staircasing effect, as your printer does not automatically translate a '\n' to '\r\n'. >And I thought, "hmm, that's odd. Let me try to set up > printcap and see what happen." So I edited printcap like this : > > ########################## > lp|panasonic|local Panasonic KX-P6500:\ > :sh:\ > :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/lpfilter: > ########################## > > And "lptest > /dev/lpt0" gives me 3 blank pages. Changing the printcap file does *NOT* affect lptest, as lptest is printing directly to the device. ie it doesn't look at /etc/printcap at all. >I tried spooler but all > jobs sit at the queue. I tried polled mode with "lptcontrol -p" but > nothing changed. Have you got the lpd(8) daemon running? What's the output of `lpq -a' like? [...] Jonathan Chen ---------------------------------------------------------------------- When you want to test the depth of a stream, don't use both feet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message