home *** CD-ROM | disk | FTP | other *** search
- %!PS-Adobe-
- %
- % HIDE.PS 11/27/91
- %
- % change the LaserWriter's persistent NBP type to "LaserShared"
- % depends on *undocumented* feature of Apple LaserWriters
- % Novell is NOT responsible for results if used on other printers
- % reverse by using ATPSSHOW command
- %
- % If used on LaserWriter compatible and it fails, reverse results
- % with the printer NAMER.
- %
- serverdict begin 0 exitserver
- /name 64 string def
- statusdict begin
- name printername (:LaserShared)
- dup type 2 index type 2 copy ne {
- pop pop
- errordict begin (concatenate) typecheck end
- }{
- /stringtype ne exch /arraytype ne and {
- errordict begin (concatenate) typecheck end
- } if
- } ifelse
- dup length 2 index length add 1 index type
- /arraytype eq{array}{string}ifelse
- dup 0 4 index putinterval
- dup 4 -1 roll length 4 -1 roll putinterval
- setprintername
- end
- %%EOF
-