home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / emulator / specstuf / startup.ps < prev    next >
Encoding:
Text File  |  1990-03-19  |  1.2 KB  |  35 lines

  1. % File: STARTUP.PS - UltraScript startup file, as of Mar 19, 1990 (v1.1)
  2. % To be used for ALL Apple LaserWriter™ drivers!
  3. % (c) 1989 by Hubert Nooijen
  4. %
  5. % Note: PostScript files may not have linefeeds!
  6. %       And for use with Macintosh PS files only!
  7. %
  8. % Performs negative AND positive range checks for those programs which go
  9. %  beyond the limits, like MacWrite II, FreeHand 2.0 and ReadySetGo 4.5,
  10. %  while retaining compatibility with MonoType PS fonts™
  11.  
  12. % Intercepts printer-specific PostScript commands
  13. statusdict begin
  14. /sendpcmd {pop} def
  15. /tonerlight {pop} def
  16. /setrealdevice {exec 31 sendpcmd 4 eq tonerlight} def
  17. /execjob {31 sendpcmd 4 eq tonerlight} def
  18. /setsccinteractive {pop pop pop} def
  19. end
  20.  
  21. % UltraScript thinks it's a LaserWriter
  22. statusdict /product (LaserWriter) put
  23. statusdict /version 47.0 put
  24.  
  25. % Remedies a problem with some applications which go beyond UltraScript's range
  26. systemdict begin
  27. /setcachedevice {4 {pop} repeat setcharwidth} bind def
  28. /usmv /moveto load def
  29. /usrp {pop -1000} def
  30. /moveto {exch dup -30000 le {usrp}{dup 32000 ge {usrp}if} ifelse exch dup -30000 le {usrp}{dup 32000 ge {usrp}if} ifelse usmv} bind def
  31. end
  32.  
  33. (%%[ Macintosh STARTUP v1.1 running... ]%%\n) print flush
  34.  
  35.