🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4041

Re: How do I recognize postscript from a file

#4041
From: Andrew Klossner
Date: Tue, 10 Nov 1992 21:17
23 lines
1628 bytes
[]

	"The correct way ... would be to provide a defined and
	acceptable operator that an application could use to indicate
	that "this is the start of a new job" with the implicit effect
	of putting a printer in a sane state (i.e.  equivalent to after
	receiving ^D or EOF)."

The reason this isn't sufficient is that the PostScript lexer isn't
necessarily the agent reading from the job stream.  The previous job
might be stuck in a "currentfile readline" loop.  Or the previous job
might have encountered an error, and the system is "flushing until
end-of-file".

Ideally, PostScript jobs are transmitted through media which provide
for out-of-band notification of control information such as
end-of-file.  This is the case for AppleTalk and TCP/IP (and note that
you'd better not send a control-D through these networks!), but not for
serial and parallel, so these latter must use an in-band EOF indicator
which is not part of the language.

  -=- Andrew Klossner  (andrew@frip.wv.tek.com)
                       (uunet!tektronix!frip.WV.TEK!andrew)
Technical Details
Message-ID: <2127@shaman.wv.tek.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!shaman!frip!andrew
References: <EWEINGAR.92Nov3111448@loanshark.cs.indiana.edu> <AV.92Nov4095431@kielo.uta.fi> <1992Nov7.065504@eklektix.com> <BxGrE7.Hr3@chinet.chi.il.us>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!shaman!frip!andrew
From: andrew@frip.WV.TEK.COM (Andrew Klossner)
Newsgroups: comp.lang.postscript
Subject: Re: How do I recognize postscript from a file
Message-ID: <2127@shaman.wv.tek.com>
Date: 10 Nov 92 21:17:02 GMT
References: <EWEINGAR.92Nov3111448@loanshark.cs.indiana.edu> <AV.92Nov4095431@kielo.uta.fi> <1992Nov7.065504@eklektix.com> <BxGrE7.Hr3@chinet.chi.il.us>
Sender: news@shaman.wv.tek.com
Reply-To: andrew@frip.wv.tek.com
Organization: Tektronix Color Printers, Wilsonville, Oregon
Lines: 23