*BSD News Article 68767


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!arclight.uoregon.edu!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: lpq question
Date: 16 May 1996 16:45:15 +0100
Organization: Coverform Ltd.
Lines: 48
Message-ID: <4nfiib$2g8@anorak.coverform.lan>
References: <3193287B.41C67EA6@merlin.rockwell.cz> <3193771B.41C67EA6@gnome.co.uk>
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Chris Stenton (jacs@gnome.co.uk) wrote:
: petr wrote:
: > 
: > lpq on my freebsd box behaves strange
: > lpq call results in message "connection to printer is down"
: > while the lp and lpr work normally
: > Here is the printcap
: > 
: > hp|lp:\
: >         :sh:lp=:rm=gutenberg:rp=text:sd=/var/spool/lpd/hp:
: > ps:\
: >         :sh:lp=:rm=gutenberg:rp=raw:sd=/var/spool/lpd/hp
: > 
: > Ping to gutenberg works as well.
: > 
: > Any suggestions ?
: >

: What is gutenberg ? If it is a LaserDirect Card it
: can't print and tell you the queue size at the same time.
: You either get "JetDirect lpd: no entries" OR "connection to printer is down"
: which is not very useful.

: Chris

: -------------------------------------------------------------------------------
: Dr Chris Stenton				     chris@gnome.co.uk
: Gnome Computers Ltd				     Tel/Fax: 44 (0)1480 406164
: 25A Huntingdon St, St Neots, Cambridgeshire, PE19 1BG
: -------------------------------------------------------------------------------

If it is a JetDirect, my entry works (I havn't tried printing & querying at
the same time):

laser: \
        :rm=laser.kew.utl: \
	:rp=lp: \
	:sd=/usr/spool/lpd/laser: \
	:lf=/var/log/lpd-errs: \
	:sh: \
	:rs: \
	:ff=: \
	:fo


--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....