From owner-freebsd-questions Mon Nov 9 00:29:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA28316 for freebsd-questions-outgoing; Mon, 9 Nov 1998 00:29:54 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from zeus.tds.edu (zeus.tds.edu [38.149.131.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA28310 for ; Mon, 9 Nov 1998 00:29:52 -0800 (PST) (envelope-from willow@tds.edu) Received: from zeus.tds.edu (willow@zeus.tds.edu [38.149.131.15]) by zeus.tds.edu (8.9.1a/8.9.1a) with ESMTP id DAA09512; Mon, 9 Nov 1998 03:29:37 -0500 (EST) Date: Mon, 9 Nov 1998 03:29:37 -0500 (EST) From: Willow To: Bryce Newall cc: FreeBSD Questions List Subject: Re: APS Filter/JetDirect troubles... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 "" > > 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 > 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