🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4038

Re: Permanently hiding level 2 Postscript printers on LocalTalk

#4038
From: Stephen Zisk
Date: Tue, 10 Nov 1992 20:44
35 lines
2181 bytes
In article <root.721377167@psychvax>, johnh@psych.su.oz.au (John Holden)
wrote:
> 
> 	I have a LaserWriter IIg and a LaserWriter NTR that I wish to hide
> from direct access by Macintoshes by changing the LocalTalkType to
> something other than LaserWriter (ie LW Spooler). The following script works,
> but the printer reverts after a reset (ie power cycle).
> 
> true 0 startjob (%LocalTalk%) <</LocalTalkType (LW Spooler)>> setdevparams
> 
> Various permutations of %LocalTalk% like %LocalTalk_NV% will still fail
> across resets. Is there an incantation that works?

First of all, there are two passwords on a Level 2 machine: the startjob
password and the system parameters password. You are using the startjob
password by invoking startjob. Try adding the /Password key with a value of
the system parameters password to your setdevparams invokation.

Secondly, there is no guarantee that all settable device parameters will be
stored across power cycles. This depends on how much non-volatile ram is
available. Check your printer supplement for which values are persistent.

Finally, device parameters do not obey save/restore, so there is no need to
set them outside of the server loop. So your code could be:
  (%LocalTalk%) <</Password xxx /LocalTalkType (LW Spooler)>> setdevparams

Regards,
Steve Zisk

Stephen Zisk (zisk@adobe.com)   Disclaimer: These are my personal opinions
and
Adobe Systems Incorporated      do not represent the views of Adobe Systems
Eastern Regional Office         Incorporated.
24 New England Exec. Park
Burlington, MA 01803            They pay me but they don't muzzle me!
Technical Details
Message-ID: <zisk-101192151023@macne004.boston.us.adobe.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!ogicse!decwrl!adobe!macne004.boston.us.adobe.com!user
References: <root.721377167@psychvax>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.tek.com!ogicse!decwrl!adobe!macne004.boston.us.adobe.com!user
From: zisk@adobe.com (Stephen Zisk)
Newsgroups: comp.lang.postscript
Subject: Re: Permanently hiding level 2 Postscript printers on LocalTalk
Message-ID: <zisk-101192151023@macne004.boston.us.adobe.com>
Date: 10 Nov 92 20:44:06 GMT
Article-I.D.: macne004.zisk-101192151023
References: <root.721377167@psychvax>
Sender: usenet@adobe.com (USENET NEWS)
Followup-To: comp.lang.postscript
Organization: Adobe Systems Incorporated
Lines: 35