Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setcolorspace

Status
Not open for further replies.

barryp

Programmer
Jan 30, 2002
48
GB
Hi

I'm confused by the following code. 'scaleTimes' & 'centerShow' are defined & they're fine. It's the setcolorspace & the 6 pops + 0.304645 that gets me.
Can someone walk through this code for me please ?
I really need to separate this into 6 postscript files to send to 6 devices (one for each color) but first I need to understand what's going on.

[ /DeviceN [ /Cyan /Magenta /Yellow /LightCyan /LightMagenta /LightYellow ] /DeviceGray { pop pop pop pop pop pop 0.304645 } ] setcolorspace
0.766010 0.734590 0.000000 0.000000 0.000000 0.000000 setcolor
14.881890 scaleTimes
(1) 31.181102 788.031496 centerShow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top