Article View: comp.lang.postscript
Article #4985Re: How can I tell if a file is "postscript"
From: Glenn Reid
Date: Tue, 12 Mar 1991 08:22
Date: Tue, 12 Mar 1991 08:22
26 lines
1633 bytes
1633 bytes
A couple of very minor details, for the curious and intrepid:
In article <Qbr2bdK00VQs40k49S@andrew.cmu.edu> jj1h+@andrew.cmu.edu (Joseph
Jackson) writes:
> "pscomm" looks at the first few bytes of the input stream looking for
> the "%!" PostScript magic. If it doesn't find it, it will call
> "enscript" to convert the (assumedly text) file to PostScript. You can
> change what program is called by setting the PSTEXT variable in the
> .options file which is located in the spool directory for the given
> queue.
>
> Another feature allows TranScript to handle both face-up and face-down
> printers. "pscomm" can be configured to call a page reversal filter for
> selected printers. It uses the same "psrev" command which is normally
> made available to users.
This is almost right, with the caveat that "pscomm" does not call "enscript"
and "psrev", it calls special-purpose (and less-fully-featured) similar
programs called "pstext" and "psrv", respectively. See the man page for
"pscomm" for more details.
--
Glenn Reid RightBrain Software
glenn@heaven.woodside.ca.us NeXT/PostScript developers
..{adobe,next}!heaven!glenn 415-851-1785 (fax 851-1470)
Technical Details
Message-ID:
<456@heaven.woodside.ca.us>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!adobe!heaven!heaven.woodside.ca.usReferences:
<Qbr2bdK00VQs40k49S@andrew.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!adobe!heaven!heaven.woodside.ca.us From: glenn@heaven.woodside.ca.us (Glenn Reid) Newsgroups: comp.lang.postscript Subject: Re: How can I tell if a file is "postscript" Message-ID: <456@heaven.woodside.ca.us> Date: 12 Mar 91 08:22:04 GMT References: <Qbr2bdK00VQs40k49S@andrew.cmu.edu> Sender: glenn@heaven.woodside.ca.us Lines: 26