🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5371

Re: HELP ?

#5371
From: Hanz Makmur
Date: Tue, 16 Apr 1991 19:02
44 lines
2144 bytes
	Date: Sun, 14 Apr 91 15:26:57 PDT
	From: orthlieb@adobe.com (Carl Orthlieb)
	Message-Id: <9104142226.AA11559@adobe.com>
	To: makmur@paul.rutgers.edu
	Subject: Re:  help with PS
	Status: RO

	Unfortunately, I have no idea how Apple keeps track of the different
	versions of LaserPrep in the printer. From what I can tell of the
	LaserPrep itself, there is no version information included in the
	LaserPrep procset.

	When you figure it out, you should post to the network -> a
	lot of people ask this question!  What Apple does with
	LaserPrep is not really known to us,
	we have no formal agreement to exchange information on LaserPrep
	related	problems.

	Carl 86)

In article <Apr.16.12.24.41.1991.27372@paul.rutgers.edu> makmur@paul.rutgers.edu (Hanz Makmur) writes:

> Does any one know how to find out what version of the LaserPrep is
> loaded  in the LaserWriter ? What I would like to do is to always
> check the version of the prep loaded into the printer. If the version
> is not the approved one, reset the printer and laod a the approve prep
> file. Kind a like what the Mac is doing when it start a print job.


Well, this is a kind of silly but I just found out the way to do this
right after I posted my message. Anyway, I foun dout the answer in
Apple laserwriter driver. Here is the code that will reset the printer
if the prep file loaded is not version 70

%!PSAdobe
/md where{/md get /av get cvi 70 eq{(1)}{ systemdict /quit get exec
}ifelse}{(0)}ifelse = flush
%%reset if prep is not version 7.0

I hope others can use it.

Hanz Makmur
Rutgers University
Technical Details
Message-ID: <Apr.16.15.02.15.1991.4790@paul.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!makmur
References: <Apr.16.12.24.41.1991.27372@paul.rutgers.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!aramis.rutgers.edu!paul.rutgers.edu!makmur
From: makmur@paul.rutgers.edu (Hanz Makmur)
Newsgroups: comp.lang.postscript
Subject: Re: HELP ?
Keywords: laserprep
Message-ID: <Apr.16.15.02.15.1991.4790@paul.rutgers.edu>
Date: 16 Apr 91 19:02:20 GMT
References: <Apr.16.12.24.41.1991.27372@paul.rutgers.edu>
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 44
To: makmur@paul.rutgers.edu