Subject: Re: GhostScript for Lazy People
To: Peter Seebach <seebs@plethora.net>
From: David Brownlee <abs@netbsd.org>
List: current-users
Date: 09/22/2000 18:56:50
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--0-1927852427-969568007=:272
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.NEB.4.21.0009221853322.10561@odysseus.mono.org>

	Please find attached updated version (that atually works as
	documented :)

	Just replace @PREFIX@ with /usr/pkg or whatever you use. Expect to
	see this in pksgrc after the freeze :)

                David/absolute
			       -- www.netbsd.org: A pmap for every occasion --


--0-1927852427-969568007=:272
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="if-psprint.pl"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.21.0009221856500.10561@odysseus.mono.org>
Content-Description: 
Content-Disposition: attachment; filename="if-psprint.pl"

IyFAUFJFRklYQC9iaW4vcGVybCAtdw0KIw0KIyAkTmV0QlNEJA0KIyANCiMJ
Q29weXJpZ2h0IChjKSAyMDAwIERhdmlkIEJyb3dubGVlIDxhYnNAbmV0YnNk
Lm9yZz4uIEFsbCByaWdodHMNCiMJcmVzZXJ2ZWQuIFByb3ZpZGVkIGFzLWlz
IHdpdGhvdXQgZXhwcmVzcyBvciBpbXBsaWVkIHdhcnJhbnRpZXMuDQojDQoj
CVJlZGlzdHJpYnV0aW9uIGFuZCB1c2UgaW4gc291cmNlIGFuZCBiaW5hcnkg
Zm9ybXMsIHdpdGggb3Igd2l0aG91dA0KIwltb2RpZmljYXRpb24sIGFyZSBw
ZXJtaXR0ZWQgcHJvdmlkZWQgdGhlIGFib3ZlIGNvcHlyaWdodCBhbmQgdGhp
cw0KIwlub3RpY2UgaXMgcmV0YWluZWQuDQojDQojIFByaW50IHRleHQsIHBv
c3RzY3JpcHQsIG9yIG5hdGl2ZSBwcmludGVyIGxhbmd1YWdlIHRvIGFyYml0
cmFyeSBw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