From owner-freebsd-questions Thu Nov 19 12:36:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA16844 for freebsd-questions-outgoing; Thu, 19 Nov 1998 12:36:54 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from zappa.demon.nl (zappa.demon.nl [195.173.232.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA16836 for ; Thu, 19 Nov 1998 12:36:50 -0800 (PST) (envelope-from root@zappa.demon.nl) Received: (from root@localhost) by zappa.demon.nl (8.9.1/8.8.8) id VAA00321; Thu, 19 Nov 1998 21:37:31 +0100 (CET) (envelope-from root) Message-ID: <19981119213731.B282@zappa.demon.nl> Date: Thu, 19 Nov 1998 21:37:31 +0100 From: Ron Klinkien To: Clarence Griffin Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help with HP LJ configuration References: <002B0DEF.003144@ed.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <002B0DEF.003144@ed.gov>; from Clarence Griffin on Thu, Nov 19, 1998 at 01:45:01PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 19, 1998 at 01:45:01PM -0500, Clarence Griffin wrote: > > 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 _________________________________ Hmm I don't know whats wrong, it looks like your system is trying to start 2 lpd's.. You only have to check in /etc/rc.conf --- cut -- rc.conf:lpd_enable="YES" # Run the line printer daemon. --- cut -- Check if lpd runs: ps aux|grep lpd root 143 0.0 0.4 824 480 ?? Is 9:20PM 0:00.00 lpd Then lp -d /etc/hosts should print the file. (where spoolername is the name of the printer in /etc/printcap) being hp6p in the printcap example in the first reply. Ron. > 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 -- --- "You could jam in Joe's garage..." -FZ 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