Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 1998 03:29:37 -0500 (EST)
From:      Willow  <willow@tds.edu>
To:        Bryce Newall <data@dreamhaven.net>
Cc:        FreeBSD Questions List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: APS Filter/JetDirect troubles...
Message-ID:  <Pine.BSF.4.05.9811090326570.9458-100000@zeus.tds.edu>
In-Reply-To: <Pine.NEB.3.96.981108233221.15750r-100000@ds9.dreamhaven.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I have a JetDirect card installed in a HP LJ 4+ and use the following
printcap, also I am able to print from our NT, WIN95/98, and Macintosh
boxes without issue as well as all of the unix hosts on the network:
 
The first entry I use for text, and the second I use for anything graphics
related (postscript, web pages, etc)  I assigned a name to the ip address
used by the jetdirect card.


lp|tlaser|HP LaserJet 4M+ TEXT:rm=hplaser:rp=text:rs:sh:mx#0:\
        :af=/var/account/acct:\
        :lf=/var/log/lpd-errs:\
        :sd=/var/spool/lpd/tlaser:

plaser|HP LaserJet 4M+ PS:rm=hplaser:rp=raw:rs:sh:mx#0:\
        :af=/var/account/acct:\
        :lf=/var/log/lpd-errs:\
        :sd=/var/spool/lpd/plaser:

-- 
willow@tds.edu
--

On Sun, 8 Nov 1998, Bryce Newall wrote:

> If it ain't one thing, it's another.
> 
> First of all, thanks to everyone (particularly Norman Rice) who helped me
> get APS Filter compiled and working.  Well... compiled, anyway... working
> is still another story.
> 
> The printer works just fine if it's hooked up directly to my FreeBSD
> machine's parallel port.  However, to throw a wrench in the works a bit, I
> hooked up an HP JetDirect EX Plus on my internal network and assigned it
> an IP address.  I can print from both of my NT boxes with no problem, and
> before upgrading to the latest version of APS Filter, I could print to it
> from the FreeBSD machine as well.  The reason I upgraded was so that it
> would support my new (well, new to me) HP DeskJet 870.  I had an old HP
> DeskJet 520 black & white before.  To make my print jobs go to the
> JetDirect box, I made one simple change to the /etc/printcap that APS
> Filter's installation generated... the same change I made previous to
> upgrading, which was to change this line in each printer definition:
> 
>        :lp=/dev/lpt0:\ 
> 
> to:
> 
>        :rm=10.0.0.5:\
> 
> Where 10.0.0.5 is the IP address of my JetDirect box.  APS Filter created
> 5 printer definitions:  ASCII mono, Auto mono, ASCII color, Auto color,
> and Raw.  If I send a print job to "raw", it comes out, although it loses
> any formatting.  If I print to any of the others, I see the JetDirect
> activity light blink a few times, and then I get this mailed to me:
> 
> Date: 9 Nov 1998 07:39:24 -0000
> From: root@dreamhaven.net
> Reply-To: root@ds9.dreamhaven.org
> To: root@ds9.dreamhaven.org
> Subject: lp printer job "<unknown>"
> 
> Your printer job 
> could not be printed
> 
> Upon checking my log files, I noticed this for each time I'd try to print:
> 
> Nov  8 23:39:19 ds9 lpd[18586]: restarting lp
> Nov  8 23:39:23 ds9 last message repeated 3 times
> Nov  8 23:39:24 ds9 lpd[18586]: lp: job could not be sent to remote host
> (cfA011ds9.dreamhaven.org)
> Nov  8 23:39:24 ds9 lpd[18586]: mail sent to user root about job <unknown>
> on printer lp (FATALERR)
> 
> I've no idea what to check.  lpr doesn't seem to have any sort of "debug"
> option, so I can't figure out where it's barfing.  By the way, with the
> previous version of APS Filter, everything worked fine; I was just
> printing to my 870C with APS Filter thinking it was a 500.  I believe the
> problem lies somewhere with the communication between lpd and the
> JetDirect, since a direct hookup works fine.  If anyone has any
> suggestions on what to check, I'd be most grateful, as I am quite
> mystified at the moment.
> 
> Thanks in advance!
> 
> **********************************************************************
> *       Bryce Newall       *       Email: data@dreamhaven.net        *
> *               WWW: http://home.dreamhaven.net/~data                *
> *       "Insanity takes its toll.  Please have exact change."        *
> **********************************************************************
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?Pine.BSF.4.05.9811090326570.9458-100000>