*BSD News Article 82129


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!arclight.uoregon.edu!news.uoregon.edu!Symiserver2.symantec.com!news
From: tedm@agora.rdrop.com
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: printcap question
Date: 2 Nov 1996 21:00:38 GMT
Organization: Symantec Corp.
Lines: 31
Message-ID: <55gcpm$n3v@Symiserver2.symantec.com>
References: <55b6co$7rv@netaxs.com>
Reply-To: tedm@agora.rdrop.com
NNTP-Posting-Host: shiva1.central.com
X-Newsreader: IBM NewsReader/2 v1.2.5

In <55b6co$7rv@netaxs.com>, heller@socko.cdnow.com (A. Karl Heller) writes:
>
>  I'm having some problems getting an HP Laserjet4m+ to work correctly
>with FreeBSD 2.1.5.
>
>  I have this printcap:
>
>upstairs|raw: \
>        :rm=hp4m.domain.com: \
>        :rp=lp: \

I'm not sure that you understood HP's documentation properly, or if your using a non-HP
JetDirect printer card, but you can save yourself a deal of trouble if you correct
your printcap entry.

JetDirect cards support two remote print queues under LPD, one is "raw" the
other is "text"  The text queue does the newline conversions automatically,
and is intended for use with Unix directory listings and other such stuff.

Use

:rp=raw:  to access the raw queue, or use

:rp=text:  to access the text queue.

There is no such queue as lp on a JetDirect card, so it is probably using the raw
queue by default.  This queue is used for postscript, or PCL5 or such.

Obviously, you don't need to use your script with this setup.