home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD 12 / 12_pcplus_supercd.iso / COMUN / NWMAC / NW_MAC / BINARY.PS < prev    next >
Encoding:
Text File  |  1994-04-15  |  584 b   |  33 lines

  1. %!PS-Adobe-3.0 ExitServer
  2. %%Title: (Set up Binary Protocol - Level 1 or Level 2)
  3. %%EndComments
  4. %%BeginExitServer: 0
  5. serverdict begin 0 exitserver
  6. %%EndExitServer
  7. /languagelevel where
  8. {pop languagelevel}{1}ifelse 2 ge
  9. {
  10.     currentsystemparams
  11.     /CurInputDevice 2 copy known {
  12.         get
  13.         mark
  14.         /Protocol /Binary
  15.         %counttomark 2 idiv dup dict begin
  16.         %{def} repeat
  17.         1 dict begin def
  18.         pop currentdict
  19.         end
  20.         setdevparams
  21.     }{
  22.         pop pop
  23.     } ifelse
  24. }{
  25.     statusdict /setsoftwareiomode known
  26.     {
  27.         statusdict begin
  28.         100 setsoftwareiomode
  29.         end
  30.     } if
  31. }ifelse
  32. %%EOF
  33.