From owner-freebsd-questions Mon Nov 9 10:57:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA07065 for freebsd-questions-outgoing; Mon, 9 Nov 1998 10:57:22 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.symmetron.com (mail.symmetron.com [206.239.186.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA07027 for ; Mon, 9 Nov 1998 10:56:50 -0800 (PST) (envelope-from FreeBSD.lists@symmetron.com) Received: from mail (mail.symmetron.com [127.0.0.1]) by mail.symmetron.com (Netscape Mail Server v2.02) with SMTP id AAA379; Mon, 9 Nov 1998 13:56:44 -0500 Reply-To: From: FreeBSD.lists@symmetron.com (Symmetron's FreeBSD Mailing Lists) To: "Willow" , "Bryce Newall" Cc: "FreeBSD Questions List" Subject: RE: APS Filter/JetDirect troubles... Date: Mon, 9 Nov 1998 13:56:44 -0500 Keywords: FreeBSDemail Message-ID: <001801be0c12$b19a0bc0$02baefce@mail.symmetron.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG AFAIK APSfilter and remote printing don't work together. I think you have to have the printer hooked up directly to the computer to run APSfilter. -john -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Willow Sent: Monday, November 09, 1998 3:30 AM To: Bryce Newall Cc: FreeBSD Questions List Subject: Re: APS Filter/JetDirect troubles... 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message