🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #3249

<None>

#3249
From: Steve Mansour
Date: Tue, 02 Oct 1990 16:04
74 lines
3223 bytes
I just got a copy of still.ps (the distill utility) from adobe's file server.
I would like to use it under Sun's X11/NeWS or with ghostscript 2.0 but I'm
having trouble getting started.  I'm new to PostScript interpreters, and I
would appreciate any help.

Under the "HOW TO USE" section the comments in the beginning suggest the
following:

    %       INTERPRETERS: if you have an interpreter with a file system
    %           handy, first type "(still.ps) run" to load this file, then
    %           distill your file like this: "(prog.ps) distill".  It will
    %           write the results in "prog.psx" (appends an x to the file
    %           name you give it).

I first tried psh under OpenWindows 2.0.  Here's what happened:

    sman:/home/sman/steve/src/ps[ 74 ]:psh
    executive
    Welcome to X11/NeWS Version 2
    (still.ps) run
    ***ERROR***
    Process: 0x300088 (sman NeWS client)   Error: undefinedfilename
       No such file or directory
    Stack: (still.ps) (r)
    Executing: 'file'
    At: {(r) *'file' 'cvx' 'exec'}
    In: Reading file(?,W,R)
    *****

Next I tried it under ghostscript 2.0 :

    sman:/home/sman/steve/src/ps[ 75 ]:gs
    Reading ghost.ps... Loading font file ugly_r.gsf... done.
    ghost.ps read.
    Ghostscript 2.0  Copyright (C) 1990 Aladdin Enterprises,
       Menlo Park, CA.  All rights reserved.
    Distributed by Free Software Foundation, Inc.
    Ghostscript comes with NO WARRANTY: see the file COPYING for details.
    GS>(still.ps) run
    GS>(cal.ps) distill
    %!PS-Adobe-2.1 debug version (\(V 1.0d release 12 edit 0\))

    % Distill Error; invoked with file name: (cal.ps)
    % This interpreter cannot open files directly.
    % Please add "distill" at end of file and concatenate with
    % file to be distilled.

    Error: /rangecheck in --getdevice--
    ... lots more stack info ...

So, I tried what was suggested in the comments.  I added "distill" to the end
end of the file and appended the code I wanted to distill, and tried again.

    %!PS-Adobe-2.1 debug version (\(V 1.0d release 12 edit 0\))
    %!PS-Adobe-2.1
    %%Title: %stdout
    %%Creator: Glenn Reid and still.ps (V 1.0d release 12 edit 0)
    %%BoundingBox: (atend)

    ... some lines truncated ...

           { 3 {2 index} repeat put pop 1 add }{ exch pop }ifelse
        } forall pop 3 1 roll REMAP
     } bdef
     end %PROLOGUE
    %%EndProcSet: Adobe_distill 0.1202 0.0

After the %%EndProcSet line, it just waited and produced no further
output.

What am I doing wrong?  Any input would be welcome.

Steve Mansour          steve@tandem.com          (apple|sun)!tandem!steve
Tandem Computers DSG   (408) 285-7316
Technical Details
Message-ID: <1990Oct2.160407.12592@tandem.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!pacbell.com!tandem!wizard.DSG.Tandem.COM!steve

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!pacbell.com!tandem!wizard.DSG.Tandem.COM!steve
From: steve@wizard.DSG.Tandem.COM (Steve Mansour)
Newsgroups: comp.lang.postscript
Subject: <None>
Message-ID: <1990Oct2.160407.12592@tandem.com>
Date: 2 Oct 90 16:04:07 GMT
Sender: news@tandem.com
Reply-To: steve@wizard.DSG.Tandem.COM (Steve Mansour)
Organization: Tandem Computers, Inc.
Lines: 74