*BSD News Article 94965


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!newsfeeder.toronto.ican.net!newsfeeder.servtech.com!post.servtech.com!not-for-mail
From: Shawn Carey <smc@servtech.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Printing to JetDirect on network
Date: Thu, 08 May 1997 22:31:45 -0400
Organization: ServiceTech, Inc.
Lines: 41
Message-ID: <33728C91.59E2B600@servtech.com>
References: <01bc5c0b$e3dae360$64d91dce@phishhead.dawtech.com>
NNTP-Posting-Host: boulder.syr.servtech.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (X11; I; FreeBSD 2.2.1-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40606

Chris Taylor wrote:
> 
> Anyone have any info about printing to a JetDirect network printer?
> 

Here are the printcap entries we use:

ps|HP LaserJet 4SiMX:\
        :lp=:\
        :rm=laserjet0:\
        :rp=raw:\
        :mx#0:\
        :lo=/var/run/lpd.lock:\
        :sd=/var/spool/lpd/lj0_raw:

lp|HP LaserJet 4SiMX:\
        :lp=:\
        :rm=laserjet0:\
        :rp=text:\
        :mx#0:\
        :lo=/var/run/lpd.lock:\
        :sd=/var/spool/lpd/lj0_text:


If you haven't already done so, you'll need to at least configure the
JetDirect IP address via the printer's front panel and put this address
in your /etc/hosts or DNS table.  Setting the log host might be a good
idea, too.

Notice that there are two pseudo-printers, "raw" and "text".  I've found
that the 4SiMX is pretty good at determining when it should print
postscript, but when you give it anything newer than PS 2.0 you need to
send it to the "raw" printer.  Our printer is a few years old so you
might not run into this.

And unless HP has fixed this, you may have problems when trying to get
the printer to do anything while it is printing.  For example, running
lpq while the printer is printing will hang until the print job is
finished, which sort of defeats the purpose of examining the queue!

-Shawn Carey