Article View: comp.lang.postscript
Article #3598Re: HP111 postscript file io
From: Glenn Reid
Date: Thu, 08 Nov 1990 00:28
Date: Thu, 08 Nov 1990 00:28
25 lines
1510 bytes
1510 bytes
In article <32311@netnews.upenn.edu> jeffe@eniac.seas.upenn.edu (George Jefferson ) writes:
>I have an HP111 with the HP ps cartridge connected
>to a PC via a serial connection.
>
>according to the red book I should be able to
>open a file and write to it like this:
>
>(filename) (w) file (string) writestring
The file operators in PostScript work only with file systems that
are directly available to the PostScript interpreter. If your
printer had a hard disk attached to it, you could open arbitrary
files. In your setup, there is no way for the PostScript
interpreter to "climb back up" the serial connection to access
the file system on your host computer (the PC).
In Display PostScript environments, the interpreter actually runs
on the host computer, and has access to the file system.
Unfortunately, you're out of luck in your situation.
--
Glenn Reid RightBrain Software
glenn@heaven.woodside.ca.us PostScript/NeXT developers
..{adobe,next}!heaven!glenn 415-851-1785
Technical Details
Message-ID:
<315@heaven.woodside.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!adobe!heaven!glennReferences:
<1990Nov5.190523.6673@usenet@kadsma> <32311@netnews.upenn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!adobe!heaven!glenn From: glenn@heaven.woodside.ca.us (Glenn Reid) Newsgroups: comp.lang.postscript Subject: Re: HP111 postscript file io Message-ID: <315@heaven.woodside.ca.us> Date: 8 Nov 90 00:28:59 GMT References: <1990Nov5.190523.6673@usenet@kadsma> <32311@netnews.upenn.edu> Reply-To: glenn@heaven.woodside.ca.us (Glenn Reid) Organization: RightBrain Software, Woodside, CA Lines: 25