From owner-freebsd-questions Thu Nov 19 10:51:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA05000 for freebsd-questions-outgoing; Thu, 19 Nov 1998 10:51:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from vader.ed.gov (vader.ed.gov [165.224.216.253]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04993 for ; Thu, 19 Nov 1998 10:51:33 -0800 (PST) (envelope-from Clarence_Griffin@ed.gov) Received: from smtpgwy1.ed.gov (smtpgwy1.ed.gov [165.224.16.166]) by vader.ed.gov (8.9.1a/8.8.4) with SMTP id NAA13363; Thu, 19 Nov 1998 13:51:37 -0500 (EST) Received: from ccMail by smtpgwy1.ed.gov (IMA Internet Exchange 2.12 Enterprise) id 002B0DEF; Thu, 19 Nov 1998 13:48:50 -0500 Date: Thu, 19 Nov 1998 13:45:01 -0500 Message-ID: <002B0DEF.003144@ed.gov> From: Clarence_Griffin@ed.gov (Clarence Griffin) Subject: Re[2]: Help with HP LJ configuration To: Ron Klinkien Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ron, and all Thanks for the original tip about configuring the HP LJ. I'm a real newbie and this is pretty confusing to me. I've followed the instruction below, (which I left below) to complete the record, and now when I send to the printer I get the following message; lpr: connect: No such file or directory jobs queued, but cannot start daemon. So, I start the deamon (# lpd and the printer rolls out a blank sheet of paper So I check the que, and see the following message Warning: no daemon present. So I reboot, and note that when the system boots I get this message in the boot up list of messages starting standard daemon: inet cron printer sendmail ...etc....myname lpd [110] : bind: Address already in use Any suggestion to resolve the 'bind' address, missing daemon issue? ______________________________ Reply Separator _________________________________ Subject: Re: Help with HP LJ configuration Author: Ron Klinkien at Internet Date: 11/14/98 10:46 AM On Fri, Nov 13, 1998 at 12:59:15PM -0800, Doug White wrote: Hello, Simply configure your lp mechanism to send the right esc codes to the printer for LF->CR+LF conversion before the jobs gets sends. Do this: cp /usr/share/examples/printing/hpof /usr/local/libexec chmod 555 /usr/local/libexec/hpof vi /etc/printcap and put an entry like this into it: --- cut --- hp6p|My HP6P printer:\ :sh:of=/usr/local/libexec/hpof:\ :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: --- cut --- Now lp -d hp6p /etc/hosts will look ok. Don't redirect to a port but use the lp commands to print/spool. Ron. > On Fri, 13 Nov 1998, Clarence Griffin wrote: > > > > > I just ran the "lptest > .dev.lpt0" command and the LazerJet II > > attached to the serial port is printing one line of text at the top of > > each page, and then cycling to a new page. > > You've just experienced the famous HP 'stairstepping' problem. By default > HP printers are set up to require CR/LF as an end-of-line indication, > while UNIX just sends CR. > > There is either jumper settings or an escape code in your manual that will > change the EOL setting. I don't know what it is for the LJII off the top > of my head. > > Doug White > Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve > http://gladstone.uoregon.edu/~dwhite | www.freebsd.org > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- --- Running Solaris/SPARC at work, enjoying FreeBSD/PII at home. Ron Klinkien System Engineer ron@zappa.demon.nl http://www.zappa.demon.nl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message