🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8443

%%[ Error: undefined; OffendingCommand: BEGINPAGE ]%%

#8443
From: Glenn Reid
Date: Wed, 17 May 1989 21:43
40 lines
2461 bytes
A few have you have reported problems printing files retrieved from the
Adobe PostScript File Server.  The symptom were either no output (if
you don't have a mechanism for catching PS errors) or the "undefined"
error on "BEGINPAGE".  I had trouble reproducing this, but I have
finally discovered what the problem is.

PROBLEM:
    You have an old version of our TranScript spooling software that
    does page reversal incorrectly.  The definitions for "BEGINPAGE"
    are not visible to the program because the "Setup" section of the
    document gets reversed to the end of the document wiht Page 1,
    which is a bug.

SOLUTION:
    The easiest thing is to add a single line to the beginning of
    the file that contains just %! (this is the same as editing out
    the "PS-Adobe-2.0" from the first line).  This will cause the
    TranScript program to believe that it is not allowed to reverse
    the pages, and the problem will go away.

    More complicated alternatives are either to turn off page reversal
    for the printer (see TranScript documentation) or to edit the
    PostScript language file to allow page reversal to work correctly.
    This means either moving %%EndProlog after the %%EndSetup comment
    (which is not strictly a good idea, but will work around the
    problem) or getting rid of all instances of either "PROLOGUE begin"
    or the corresponding calls to "end".  This still leaves the
    encoding vector at the end, in the wrong place, but I think most
    documents should print OK.  You might see "yen" symbols instead of
    bullets or other minor quirks.  It might be easier just to run
    "psrev" to reverse the pages and then hand-edit the setup section
    back to the beginning.

    Of course, you could always upgrade your version of TranScript, too.
    Send mail to "psmith@adobe" to do that, or call 1-800-344-8335.

Thanks to all of you who point it out, and sorry about the problems.

Glenn Reid
Adobe Systems
Technical Details
Message-ID: <840@adobe.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!adobe!greid

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!adobe!greid
From: greid@adobe.com (Glenn Reid)
Newsgroups: comp.lang.postscript
Subject: %%[ Error: undefined; OffendingCommand: BEGINPAGE ]%%
Summary: old TranScript
Message-ID: <840@adobe.UUCP>
Date: 17 May 89 21:43:33 GMT
Sender: news@adobe.COM
Reply-To: greid@adobe.COM (Glenn Reid)
Organization: Adobe Systems Incorporated, Mountain View
Lines: 40