🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4005

Re: How do I recognize postscript from a file

#4005
From: Carl J Lydick
Date: Mon, 09 Nov 1992 00:45
26 lines
1883 bytes
In article <BxEy6H.KCs@chinet.chi.il.us>, les@chinet.chi.il.us (Leslie Mikesell) writes:
>In article <3944@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
>
>>>When printing from MS Windows to Postscript file, the file (if you don't
>>>make it not to) starts with characters ^D%! (i.e. control-D, %, !).

>>The correct way to handle this is for the application to *not*
>>append or prepend ^D's, and let the spooler handle it.

>Errr, since when does MS Windows *have* a print spooler?  Don't you
>think it would be pretty silly of the applications to generate output
>that wouldn't work under the most common conditions?

Why not have the application start the file with:

%!
^D
%!
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
Technical Details
Message-ID: <1dkcaoINNia8@gap.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
References: <EWEINGAR.92Nov3111448@loanshark.cs.indiana.edu> <AV.92Nov4095431@kielo.uta.fi> <3944@ecicrl.ocunix.on.ca>,<BxEy6H.KCs@chinet.chi.il.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.claremont.edu!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.lang.postscript
Subject: Re: How do I recognize postscript from a file
Date: 9 Nov 1992 00:45:12 GMT
Organization: HST Wide Field/Planetary Camera
Lines: 26
Distribution: world
Message-ID: <1dkcaoINNia8@gap.caltech.edu>
References: <EWEINGAR.92Nov3111448@loanshark.cs.indiana.edu> <AV.92Nov4095431@kielo.uta.fi> <3944@ecicrl.ocunix.on.ca>,<BxEy6H.KCs@chinet.chi.il.us>
Reply-To: carl@SOL1.GPS.CALTECH.EDU
NNTP-Posting-Host: sol1.gps.caltech.edu