🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2595

Please explain this PostScript problem to me

#2595
From: Philip L Harshman
Date: Tue, 24 Jul 1990 13:28
24 lines
1522 bytes
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.  If I take it out, leaving:

/fc{save vmstatus exch sub 50000 lt
{flush}if pop restore}bdf

it works fine, but now I don't know if I'm aiming a gun at my foot for later
things.  Could some give me some idea as to what this is trying to do and
if it's OK to make the change I've made?  Thank you very much for all your
help.
-- 
Philip Harshman                         uucp: ... !gatech!hubcap!philip
Employed by Clemson University         	inet: philip@hubcap.clemson.edu
although they have no idea that       bitnet: philip@clemson
I'm doing this. (So don't tell!)       phone: (803) 656-3697
Technical Details
Message-ID: <9815@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!swrinde!emory!hubcap!philip

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!swrinde!emory!hubcap!philip
From: philip@hubcap.clemson.edu (Philip L Harshman)
Newsgroups: comp.lang.postscript,comp.sys.mac.misc
Subject: Please explain this PostScript problem to me
Keywords: postscript problem mac printing
Message-ID: <9815@hubcap.clemson.edu>
Date: 24 Jul 90 13:28:39 GMT
Organization: Clemson University, Clemson, SC
Lines: 24