Article View: comp.lang.postscript
Article #6602Re: Cancelling jobs being processed (Q)
From: Joel Sacks
Date: Wed, 06 Jan 1993 16:05
Date: Wed, 06 Jan 1993 16:05
38 lines
2790 bytes
2790 bytes
In article <1993Jan6.150357.22690@adobe.com> zisk@adobe.com (Stephen Zisk) writes: In article <justin.726213640@tasman>, justin@tasman.cc.utas.edu.au (Justin Ridge) wrote: > Is it possible to cancel a job which is being processed in a PS > printer - specifically, in a Apple LaserWriter IINT/NTX/f/g? For any PostScript printer data stream there is an "interrupt" command. On serial and parallel streams, emit a ^C character. On Appletalk, I do not know the command, but you could look it up in Inside Appletalk. The effect of the command depends on the state of the printer job. Actually, there is unfortunately no such command on AppleTalk. The protocol you talk to the printer with (PAP, Printer Access Protocol) does not have a Cancel notion. The "Cancel" button on your Macintosh only stops the flow of data to the printer. This usually works if you interrupt a job before it's gotten too far along, because the printer will go to read data and get EOF instead. The EOF can be in the middle of an image, in the middle of an operator name, or wherever, but will generally cause some sort of error, and the job will abort. You'll never see the error, because the Macintosh will have already closed the connection and won't be listening for it. However, back to your real question, how to stop the interpreter on a LaserWriter. Even though you can't generate the interrupt over the communication channel itself (in the AppleTalk case), if you have physical access you can interrupt the job by changing the switch position for a few seconds, and then changing it back. This can have anti-social consequences, if you switch the printer from LocalTalk to serial mode, say, because running serial line levels on a LocalTalk wire will freeze the network. It's probably safest to disconnect the communication channels before fussing with the switch. Finally, even using the switch may not be enough, because as mentioned earlier, the printer may have some pages queued up via copypage, and the interrupt will not do anything to them. -- Joel Sacks sacks@mv.us.adobe.com Adobe Systems Inc. ...!decwrl!adobe!sacks
Technical Details
Message-ID:
<SACKS.93Jan6080550@spartan.mv.us.adobe.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!uucp-gw-2.pa.dec.com!adobe!newshost!sacksReferences:
<justin.726213640@tasman> <1993Jan6.150357.22690@adobe.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!uucp-gw-2.pa.dec.com!adobe!newshost!sacks From: sacks@spartan.mv.us.adobe.com (Joel Sacks) Subject: Re: Cancelling jobs being processed (Q) In-Reply-To: zisk@adobe.com's message of Wed, 6 Jan 1993 15:03:57 GMT Message-ID: <SACKS.93Jan6080550@spartan.mv.us.adobe.com> Followup-To: comp.lang.postscript Sender: usenet@adobe.com (USENET NEWS) Organization: Adobe Systems Incorporated, Mountain View, CA References: <justin.726213640@tasman> <1993Jan6.150357.22690@adobe.com> Date: Wed, 6 Jan 1993 16:05:50 GMT Lines: 38