sethalftone
I have issue with sethalftone in the following script can any one let me know wats the wrong with the script !!!!
%!PS
/mycolorhalftone 6 dict def
mycolorhalftone begin
/Cyan <<
/HalftoneType 1
/Frequency 150
/Angle 15
/SpotFunction { dup mul exch dup mul add 1 exch sub }
>> def
/Magenta <<
/HalftoneType 1
/Frequency 150
/Angle 105
/SpotFunction { dup mul exch dup mul add 1 exch sub }
>> def
/Yellow <<
/HalftoneType 1
/Frequency 150
/Angle 90
/SpotFunction { dup mul exch dup mul add 1 exch sub }
>> def
/Black <<
/HalftoneType 1
/Frequency 150
/Angle 45
/SpotFunction { dup mul exch dup mul add 1 exch sub }
>> def
/Default <<
/HalftoneType 1
/Frequency 150
/Angle 45
/SpotFunction { dup mul exch dup mul add 1 exch sub }
>> def
end
mycolorhalftone sethalftone
