From owner-freebsd-questions Thu Mar 30 03:46:36 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id DAA24605 for questions-outgoing; Thu, 30 Mar 1995 03:46:36 -0800 Received: from palmer.demon.co.uk (root@palmer.demon.co.uk [158.152.50.150]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id DAA24599 for ; Thu, 30 Mar 1995 03:46:32 -0800 Received: from localhost (gary@localhost [127.0.0.1]) by palmer.demon.co.uk (8.6.9/8.6.9) with SMTP id MAA01212 ; Thu, 30 Mar 1995 12:25:25 +0100 X-Authentication-Warning: palmer.demon.co.uk: Host localhost didn't use HELO protocol To: Shane Anderson cc: questions@FreeBSD.org Subject: Re: Line Printer HPDJ 500 In-reply-to: Your message of "Wed, 29 Mar 1995 14:54:13." <324@et.pronex.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1208.796562724.1@palmer.demon.co.uk> Date: Thu, 30 Mar 1995 12:25:25 +0100 Message-ID: <1209.796562725@palmer.demon.co.uk> From: Gary Palmer Sender: questions-owner@FreeBSD.org Precedence: bulk In message <324@et.pronex.com>, Shane Anderson writes: >My system did not install a device "lp" ... so ... i have tried >hacking the printcap to send to lpt0, which resulted in print jobs >with no text written - pages of blanks. The USENIX 4.4 System >Manager's Manual gives few examples. I am running a Deskjet 500 >on my first parallel port. Any help or pointers to FAQ's or other >docs would be great... Probably a ``feature'' in the deskjet, not the printcap. The deskjet (I know - I have a 500 also :-) ) is DOS orientated, and needs as a line-feed char, FreeBSD just sends . This means the carriage never returns to the left hand side, and any text gradually walks off the right hand side of the page. The solution is to install `apsfilter', which is a shell script (not part of the system yet), which corrects the output from the lpd to match the deskjet's broken worldiew. My /etc/printcap reads: # @(#)printcap 5.3 (Berkeley) 6/30/90 lp|djet500|local line printer:\ :lp=/dev/lpt0:sd=/var/spool/lpd:lf=/var/log/lpd-errs:sh:sf:\ :if=/usr/local/bin/apsfilter:df=/usr/local/bin/apsfilter: If you want the filter, drop me a line. Gary