Article View: comp.lang.postscript
Article #7810Re: Setting manual feed on a Laserwriter
From: Glenn Reid
Date: Thu, 12 Jan 1989 17:56
Date: Thu, 12 Jan 1989 17:56
36 lines
1721 bytes
1721 bytes
In article <207@adobe.COM> burgett@adobe.COM (Michael Burgett) writes:
>In article <12461449989015@KL.SRI.COM> SCHWER@KL.SRI.COM (Len Schwer) writes:
>> \statusdict manual true put
>
>Actually,
>
>\statusdict manualfeed true put
>
>is closer to the mark. Also, the time that the printer will wait for a
>manualfeed (usually defaults to 60 seconds) can be with
>
>\statusdict manualfeedtimeout xxx put
>
>where xxx is the number of seconds to wait.
I'm not sure where the \ came from, but I hope everybody reading this
discussion knows that it is NOT part of the PostScript language syntax,
and in fact will not work as presented (as "pure" PostScript language,
that is).
I can't remember the origins of this discussion; perhaps the \ is TeX
syntax of some kind.
The "pure" PostScript language sequence should look like this:
statusdict /manualfeed known {
statusdict /manualfeed true put
} if
Without the "if" statement, it will not execute correctly on printers
which do not have the "manualfeed" variable. Of course, even the name
"statusdict" is not guaranteed to be there, but it is currently a
pretty safe bet.
Glenn Reid
Adobe Systems
Technical Details
Message-ID:
<216@adobe.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!adobe!greidReferences:
<2976@uhccux.uhcc.hawaii.edu> <12461449989015@KL.SRI.COM> <207@adobe.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!adobe!greid From: greid@adobe.com (Glenn Reid) Newsgroups: comp.lang.postscript Subject: Re: Setting manual feed on a Laserwriter Summary: no backslash... Message-ID: <216@adobe.COM> Date: 12 Jan 89 17:56:12 GMT References: <2976@uhccux.uhcc.hawaii.edu> <12461449989015@KL.SRI.COM> <207@adobe.COM> Sender: news@adobe.COM Reply-To: greid@adobe.COM (Glenn Reid) Organization: Adobe Systems Incorporated, Mountain View Lines: 36