🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.lang.postscript
2 messages
2 total messages Started by John Holden Tue, 10 Nov 1992 06:32
Permanently hiding level 2 Postscript printers on LocalTalk
#4027
Author: John Holden
Date: Tue, 10 Nov 1992 06:32
9 lines
946 bytes
	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?
Re: Permanently hiding level 2 Postscript printers on LocalTalk
#4038
Author: 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads