home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2 / Openstep-4.2-Intel-User.iso / usr / lib / NextStep / printing.ps < prev    next >
Text File  |  1992-02-24  |  1KB  |  47 lines

  1. % printing.ps -- pixel encoding dictionaries for various NeXT devices.
  2. % Used only by `machportdevice'.
  3. %
  4. % `machportdevice' evaluates `defaultColorRendering /ColorRendering
  5. % findresource' to establish the color rendering dictionary.
  6. % If `defaultHalftone' is a dictionary, then `machportdevice' uses it
  7. % as the argument to `sethalftone' to establish the halftone dictionary.
  8. % If `defaultHalftone' is a name, then `machportdevice' evaluates
  9. % `defaultHalftone /Halftone findresource' to establish the halftone
  10. % dictionary.
  11.  
  12. currentshared true setshared
  13. nextdict begin
  14.   /NeXTLaser-300 <<
  15.     /jobTag 0                % overwriteable by apps
  16.     /samplesPerPixel 1
  17.     /bitsPerSample 1
  18.     /colorSpace NX_OneIsBlackColorSpace
  19.     /isPlanar false
  20.     /defaultHalftone /NXLaserPrinter
  21.     /defaultColorRendering /NXTrivialGray
  22.   >> readonly def
  23.  
  24.   /NeXTLaser-400 NeXTLaser-300 def
  25.  
  26.   /NeXTCBJ <<
  27.     /jobTag 0                % overwriteable by apps
  28.     /samplesPerPixel 4
  29.     /bitsPerSample 1
  30.     /colorSpace NX_CmykColorSpace
  31.     /isPlanar false
  32.     /defaultHalftone /NXCanonBubbleJet
  33.     /defaultColorRendering /NXCalibratedRGB
  34.   >> readonly def
  35.  
  36.   /NeXTMegaPixelDisplay <<
  37.     /jobTag 0
  38.     /samplesPerPixel 1
  39.     /bitsPerSample 2
  40.     /colorSpace NX_OneIsWhiteColorSpace
  41.     /isPlanar false
  42.     /defaultHalftone /NXMegaPixelDisplay
  43.     /defaultColorRendering /NXTrivialGray
  44.   >> readonly def
  45. end
  46. setshared % restore default shared setting
  47.