🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7397

Re: resetting a printer through postscript

#7397
From: William Roberts
Date: Mon, 08 Aug 1988 19:49
24 lines
1415 bytes
In article <1053@granjon.UUCP> ggr@granjon.UUCP (Guy Riddle) writes:
>The following reboots LaserWriters and probably most other PostScript printers:
>
>       %!
>       serverdict begin
>       0 % or whatever your password is
>       exitserver
>       systemdict begin
>       quit

Please don't do this - it makes life exceptionally difficult
for any spooler environment if the application arrogantly
resets the printer. Resetting my Linotronic because it isn't a
LaserWriter isn't going to help anyone....

If you want to see lots of bad examples like this, look in a
newish Apple LaserPrep file. There are suitable comments to put
round such code (if you use version 2 of the structuring
convention) but most people don't.
-- 

William Roberts         ARPA: liam@cs.qmc.ac.uk  (gw: cs.ucl.edu)
Queen Mary College      UUCP: liam@qmc-cs.UUCP
LONDON, UK              Tel:  01-975 5250
Technical Details
Message-ID: <569@sequent.cs.qmc.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!mcvax!ukc!eagle!icdoc!qmc-cs!liam
References: <270@thor.wright.EDU> <1053@granjon.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!attcan!uunet!mcvax!ukc!eagle!icdoc!qmc-cs!liam
From: liam@cs.qmc.ac.uk (William Roberts)
Newsgroups: comp.lang.postscript
Subject: Re: resetting a printer through postscript
Summary: DONT!
Keywords: reset.ps?
Message-ID: <569@sequent.cs.qmc.ac.uk>
Date: 8 Aug 88 19:49:31 GMT
References: <270@thor.wright.EDU> <1053@granjon.UUCP>
Reply-To: liam@cs.qmc.ac.uk (William Roberts)
Organization: Computer Science Dept, Queen Mary College, University of London, UK.
Lines: 24