Date: Thu, 19 Nov 1998 21:37:31 +0100 From: Ron Klinkien <root@zappa.demon.nl> To: Clarence Griffin <Clarence_Griffin@ed.gov> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help with HP LJ configuration Message-ID: <19981119213731.B282@zappa.demon.nl> In-Reply-To: <002B0DEF.003144@ed.gov>; from Clarence Griffin on Thu, Nov 19, 1998 at 01:45:01PM -0500 References: <002B0DEF.003144@ed.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <enter> 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 <spoolername> /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 <root@zappa.demon.nl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981119213731.B282>