[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HP JetDirect and Debian



On Wed, Aug 18, 1999 at 11:15:30AM +0200, Cleto Pescia wrote:

   Hello,
   
   I am experiencing a strange problem with an HP JetDirect J2552A
   (firmware A.3.0.16) printer server installed in an HP DesignJet
   750C plotter. I can telnet to the plotter and configure it from a
   Debian 2.0 box, but I can not send anything to it.
   I have tried *everything* reported in the Printing-HOWTO, included
   the small Perl script to directly access the JetDirect through port
   9100, but without success..
   The Debian box has LPRng installed on it, and the spooling software
   works perfectly. I have read on the Bug Tracking mailing-list that
   LPRng seems not to be able to talk to networked printers, but I am
   not sure if that applies to my case as well, since even direct TCP
   connection does not work for me...

LPRng can be used to talk directly to the plotter, here is a simple
printcap for HP Laserjet 4MVs/5SIs/4000s/8000s:

queuename
        :lp=jetdirect.box.net%9100
        :if=/usr/lib/filters/ifhp
        :tc=@defaults
@defaults
        :rw:sh:sf
        :mx#0
        :sd=/var/spool/lpd/%P
        :af=/var/spool/lpd/%P.acct
        :lf=/var/spool/lpd/%P.log
        :ps=/var/spool/lpd/%P.status

Just replace jetdirect.box.net with your host or IP.  The %9100 tells
it to connect to 9100.  You may need to create the spool directories
and log files manually. You can then test, and check the logs to see
what it reports.

Dennis
--
Dennis Kelly <dpk@egr.msu.edu>
Network Adminstrator
College of Engineering, MSU



Reply to: