Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!cs.glasgow.ac.UK!inei From: inei@cs.glasgow.ac.UK (Nick Nei) Newsgroups: comp.protocols.appletalk Subject: Re: Appletalktype Message-ID: <16195.8812220031@crete.cs.glasgow.ac.uk> Date: 22 Dec 88 00:31:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 35 I have successfully changed the product name of our LaserWriter in Glasgow so that it does not appear in the chooser. Instead the name used by lwsrv appears in the Chooser. This is part of my scheme to prevent unauthorised access to the LaserWriters. The PostScript that effects this is: %! serverdict begin 0 exitserver statusdict begin (F091.LocalTalk:LazerWriter) setprintername where "LazerWriter" (with the 'z' instead of the 's') is the new product name. Remember to update your /etc/cap.printers file with: lwf091=F091.LocalTalk:LazerWriter@* If you invoke lwsrv as lwsrv -n F091 -p lwf091 ... then the name "F091" will appear instead of "F091.LocalTalk" in the Chooser. (atlook will however see both.) You should send the PostScript using lwpr like so: $ lwpr -pF091.LocalTalk:LaserWriter@\* rename where "rename" is the file containing the PostScript. This has worked for me since September. In fact I managed to embed non-printable ASCII in the product name like "LazerWriter^A^B^C" to make it more difficult for would be hackers. ARPA: inei%cs.glasgow.ac.uk@nss.cs.ucl.ac.uk USENET: inei@cs.glasgow.uucp Mail: Nick Nei, Computing Science Dept., Glasgow Univ., 17 Lilybank Gardens, Glasgow G12 8QQ, UK. Tel: (041) 339 8855