*BSD News Article 70660


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.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!mr.net!imci3!newsfeed.internetmci.com!uwm.edu!fnnews.fnal.gov!lakesis.fapesp.br!jazz.cr-df.rnp.br!usenet
From: Bernardo Brummer <bbrummer@ibama.gov.br>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Filter for HPDeskJet500C wanted
Date: Tue, 11 Jun 1996 09:12:44 -0300
Organization: RNP CR/DF - Rede Nacional de Pesquisa - Distrito Federal
Lines: 18
Message-ID: <31BD62BC.FF6D5DF@ibama.gov.br>
References: <9ckBPD1w165w@tusia.kiel.org>
NNTP-Posting-Host: yacare.ibama.gov.br
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0b4 (X11; I; FreeBSD 2.1.0-RELEASE i386)
To: Maciej Wiatr <macko@tusia.kiel.org>

> 
> Is there anybody here, who has a proper filter file for the mentioned printer

I call this small script "deskjet":
===============
#!/bin/sh -x
printf "\033E\033&k2G"
cat -
printf "\033E"
===============
So I just "cat file |deskjet | lp"

Kind of primitive but works. If you get something better please let me
know.

Bernardo

bbrummer@ibama.gov.br