home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEPLOY / USER.Z / NXCanonBubbleJet < prev    next >
Text File  |  1996-09-09  |  993b  |  44 lines

  1. %!PS-Adobe-3.0 Resource-Halftone
  2. %%DocumentSuppliedResources: halftone NXCanonBubbleJet
  3. %%Creator: NeXT Computer, Inc.
  4. %%CreationDate: 3 December 1991
  5. %%LanguageLevel: 2
  6. %%VMlocation: global
  7. %%VMusage: 3852 1040
  8. %%EndComments
  9. %%BeginResource: halftone NXCanonBubbleJet
  10. <<
  11.   /HalftoneType 2
  12.   /RedFrequency 40
  13.   /BlueFrequency 40
  14.   /GreenFrequency 40
  15.   /GrayFrequency 40
  16.  
  17.   /RedAngle 45
  18.   /GreenAngle 45
  19.   /BlueAngle 45
  20.   /GrayAngle 45
  21.  
  22.   <<
  23.     /scsproc {
  24.       2 {
  25.     3 1 roll add dup 1.0 gt {
  26.       2.0 sub
  27.     } if
  28.       } repeat
  29.       abs exch abs 2 copy add 1 gt {
  30.     1 sub dup mul exch 1 sub dup mul add 
  31.       }{    
  32.     dup mul exch dup mul add 1 exch sub
  33.       } ifelse
  34.     } bind readonly
  35.   >> begin
  36.     /RedSpotFunction   {1.40 0.24 //scsproc exec } bind
  37.     /GreenSpotFunction {0.60 1.76 //scsproc exec } bind
  38.     /BlueSpotFunction  {0.24 0.60 //scsproc exec  } bind
  39.     /GraySpotFunction  {1.76 1.40 //scsproc exec} bind
  40.   end
  41. >>
  42. /NXCanonBubbleJet exch /Halftone defineresource pop
  43. %%EndResource
  44.