*BSD News Article 23024


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!werple.apana.org.au!news
From: andrew@werple.apana.org.au (Andrew Herbert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: NetBSD w/ HP dj printer
Date: 31 Oct 1993 16:11:06 +1100
Organization: werple public-access unix, Melbourne
Lines: 20
Message-ID: <2avhda$hh@werple.apana.org.au>
References: <1993Oct29.005300.1@hirama.hiram.edu>
NNTP-Posting-Host: werple.apana.org.au

joe@hirama.hiram.edu writes:

>	Anyone out there running NetBSD 0.9 and have an HP deskjet 500
>or 1200c or similar printcap entries.  Maybe a PCL 3 or PCL 5 filter or

You might like to try this printcap:

ps|lw|Deskjet 500/postscript:\
        :lp=/dev/lp0:rg=wheel:rs:sh:lf=/var/log/lpd:\
        :if=/usr/libexec/lpr/ps2dj:\
        :mx#0:sh:sf:

ps2dj looks like this:

#!/bin/sh
exec /usr/local/bin/gs -q -sDEVICE=djet500 -sOutputFile=- -

It certainly keeps me happy.

Andrew