🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2618

Re: Please explain this PostScript problem to me

#2618
From: This space for rent
Date: Wed, 25 Jul 1990 16:32
33 lines
1836 bytes
In article <9815@hubcap.clemson.edu> philip@hubcap.clemson.edu (Philip L 
Harshman) writes:
> 
> I am trying to force Mac PostScript through a non-apple PostScript 
interpreter.
> Currently, I am having problems with a statement in the LaserPrep file 
that
> looks like this:
> 
> /fc{save vmstatus exch sub 50000 lt
> {(%%[|0|]%%)=print flush}if pop restore}bdf
> 
> From what little I understand of PostScript, this is defining "fc" to be
> an alias for the stuff between the outer braces.  However, the
> (%%[|0|]%%)=print part is getting triggered repeatedly and causing my
> interpreter to choke.  

As near as I can guess, "fc" stands for "font check" and is called before 
any new PostScript font is defined.  The "%%[|0|]%%" message tells the 
driver that there are less than 50000 bytes of free VM left in the printer 
(the driver probably parses all messages bracketed by "%%[" and "]%%" and 
acts accordingly).

The change you've made won't break anything -- since you're not the LW 
driver, you're not going to do anything differently based on that message 
-- but now I wonder why those print statements "choke" your interpreter?  
Is your "non-Apple" PS interpreter a clone?  If not, why do you have so 
little VM as to repeatedly trigger that message?

Disclaimer:  I'm not an Apple driver spokesman and I don't play one on TV.

--Kevin Andresen [kevina@apple.com]
"No, ma'am, we're musicians."
Technical Details
Message-ID: <9404@goofy.Apple.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!apple!apple.com!kevina
References: <9815@hubcap.clemson.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!decwrl!apple!apple.com!kevina
From: kevina@apple.com (This space for rent)
Newsgroups: comp.lang.postscript,comp.sys.mac.misc
Subject: Re: Please explain this PostScript problem to me
Message-ID: <9404@goofy.Apple.COM>
Date: 25 Jul 90 16:32:42 GMT
References: <9815@hubcap.clemson.edu>
Sender: usenet@Apple.COM
Organization: Apple Computer, Inc.
Lines: 33