home *** CD-ROM | disk | FTP | other *** search
- %%BeginResource: procset pdflev15044
- %%Version: 4.0 5
- %%Copyright: Copyright 1987-1999 Adobe Systems Incorporated. All Rights Reserved.
- %%LanguageLevel: 1
- %%Title: PDF operators, Level 1, with emulated separations (TN 5044)
- /_ColorSep5044? true dd
- /_defaulthalftone
- /currenthalftone where
- { pop currenthalftone }
- { 4 dict dup begin
- currentscreen
- /SpotFunction exch def
- /Angle exch def
- /Frequency exch def
- /HalftoneType 1 def
- end }
- ifelse
- dd
- /currentcolortransfer where
- { pop /_defaultcolortransfer [ currentcolortransfer ] dd }
- { /setcolortransfer {
- settransfer pop pop pop
- } bd
- /_defaultcolortransfer [currenttransfer dup dup dup] dd
- }
- ifelse
- /initialize {
- sep_ops begin
- 50 dict begin
- _defaulthalftone sethalftone
- } bd
- /terminate {
- end end
- } bd
- /pl {
- transform
- 0.25 sub round 0.25 add exch
- 0.25 sub round 0.25 add exch
- itransform
- } bd
- /m { _sa? { pl } if moveto } bd
- /l { _sa? { pl } if lineto } bd
- /c { _sa? { pl } if curveto } bd
- /setSA { /_sa? xdd } bd
- /AlmostFull?
- { dup maxlength exch length sub 2 le
- } bd
- /Expand
- { 1 index maxlength mul cvi dict
- dup begin exch { def } forall end
- } bd
- /xput
- { 3 2 roll
- dup 3 index known not
- { dup AlmostFull? { 1.5 Expand } if
- } if
- dup 4 2 roll put
- } bd
- /defineRes
- { _categories 1 index known not
- { /_categories _categories 2 index 10 dict xput store
- } if
- _categories exch 2 copy get 5 -1 roll 4 index xput put
- } bd
- /findRes {
- _categories exch get exch get
- } bd
- /ri/pop ld
- /L1setcolor {
- aload length
- dup 0 eq
- { pop .5 setgray }
- { dup 1 eq
- { pop setgray }
- { 3 eq
- { setrgbcolor }
- { setcmykcolor }
- ifelse }
- ifelse }
- ifelse
- } bind dd
- /_sfcs { } dd
- /_sscs { } dd
- /scn { sc } bd
- /SCN { SC } bd
- /rf {re f} bd
- /concattransferfuncs {
- [ 3 1 roll /exec load exch /exec load ] cvx
- } bd
- /concatandsettransfer {
- /_defaulttransfer load concattransferfuncs settransfer
- } bd
- /concatandsetcolortransfer {
- colorplate 0 eq
- {
- _defaultcolortransfer aload pop
- 8 -1 roll 5 -1 roll concattransferfuncs 7 1 roll
- 6 -1 roll 4 -1 roll concattransferfuncs 5 1 roll
- 4 -1 roll 3 -1 roll concattransferfuncs 3 1 roll
- concattransferfuncs
- setcolortransfer
- } if
- colorplate 1 ge colorplate 4 le and
- {
- 4 colorplate sub index 4 { exch pop } repeat
- concatandsettransfer
- } if
- colorplate 5 ge
- {
- 0 index 4 { exch pop } repeat
- concatandsettransfer
- } if
- } bd
- /tn5044sethalftone
- {
- begin
- HalftoneType 5 eq
- { [/Default /Cyan /Magenta /Yellow /Black /Default /Default /Default]
- colorplate get
- here not {
- /Default here not { currentdict } if
- } if
- }
- { currentdict }
- ifelse
- end
- begin
- /TransferFunction here
- {
- concatandsettransfer
- currentdict dup length dict
- begin
- {
- 1 index /TransferFunction ne { def } { pop pop } ifelse
- } forall
- currentdict
- end
- }
- {
- currentdict
- } ifelse
- end
- sethalftone
- } bd
- /gs
- {
- begin
- /SA here { /_sa? xdd } if
- /TR here
- {
- dup xcheck
- { concatandsettransfer }
- { aload pop concatandsetcolortransfer }
- ifelse
- } if
- /HT here { tn5044sethalftone } if
- /FL here { i } if
- currentdict gsDI
- end
- } bd
- /csfamily {
- dup type /arraytype eq { 0 get } if
- } bd
- /_sfc
- {
- _fp null eq
- { _fcs type /arraytype eq
- {_fcs 0 get /Separation eq
- {
- _fcs 1 get /All eq
- {
- _fc aload pop 1 exch sub
- /setseparationgray where pop begin setseparationgray end
- }
- { _fcs 2 get csfamily /DeviceCMYK eq
- {
- 1 _fcs 3 get exec _fcs 1 get
- /findcmykcustomcolor where pop begin findcmykcustomcolor end
- _fc aload pop
- /setcustomcolor where pop begin setcustomcolor end
- }
- {
- _fc aload pop 1 exch sub setgray
- }
- ifelse
- }
- ifelse
- }
- { _fc L1setcolor }
- ifelse
- }
- { _fc L1setcolor }
- ifelse
- }
- { _fc L1setcolor }
- ifelse
- } bind dd
- /_ssc
- {
- _sp null eq
- { _scs type /arraytype eq
- {_scs 0 get /Separation eq
- {
- _scs 1 get /All eq
- {
- _sc aload pop 1 exch sub
- /setseparationgray where pop begin setseparationgray end
- }
- { _scs 2 get csfamily /DeviceCMYK eq
- {
- 1 _scs 3 get exec _scs 1 get
- /findcmykcustomcolor where pop begin findcmykcustomcolor end
- _sc aload pop
- /setcustomcolor where pop begin setcustomcolor end
- }
- {_sc aload pop 1 exch sub setgray
- }
- ifelse
- }
- ifelse
- }
- { _sc L1setcolor }
- ifelse
- }
- { _sc L1setcolor }
- ifelse
- }
- { _sc L1setcolor }
- ifelse
- } bind dd
- /sfc {
- _op? setoverprint
- _lp /fill ne {
- _sfcs
- _sfc
- /_lp /fill dd
- } if
- } dd
- /ssc {
- _OP? setoverprint
- _lp /stroke ne {
- _sscs
- _ssc
- /_lp /stroke dd
- } if
- } dd
- /f {
- { { sfc fill }
- {gsave sfc fill grestore clip newpath icl ilp}
- {gsave sfc fill grestore eoclip newpath icl ilp}
- } _doClip get exec
- } bd
- /f* {
- { { sfc eofill }
- {gsave sfc eofill grestore clip newpath icl ilp}
- {gsave sfc eofill grestore eoclip newpath icl ilp}
- } _doClip get exec
- } bd
- /S {
- { { ssc stroke }
- {gsave ssc stroke grestore clip newpath icl ilp}
- {gsave ssc stroke grestore eoclip newpath icl ilp}
- } _doClip get exec
- } bd
- /rf {re f} bd
- %%EndResource
-