home *** CD-ROM | disk | FTP | other *** search
- % Sample Postscript program to adjust color rendering on the IBM* 4079.
- % Eliminates 'graying' effect. Adjusts Blue to have less of a purple
- % hue.
- %
- % Copy this file to the printer. (It will not output anything.) The
- % changes made will last until the printer is turned off or is Reset.
- %
- % This program will not affect images.
- %
- % This program will not affect HPGL mode.
- %
- % Do not use this program in conjunction with the Pantone color tables.
- %
- % (C) Copyright 1993 Lexmark International Inc. All Rights Reserved.
- %
- % *IBM is a registered trademark of the International Business Machines
- % Corporation in the United States and/or other countries and is used
- % under license.
- %
-
- userdict /4079blueadj known not
- { serverdict begin 0 exitserver } if
-
- /4079blueadj
- { dup .5 gt
- { dup .666667 lt { .375 mul .3125 add }
- { dup .833333 lt { 1.625 mul .520833 sub } if }
- ifelse
- } if
- } bind def
-
-
- /sethsbcolor { 3 -1 roll 4079blueadj 3 1 roll
- systemdict /sethsbcolor get exec } bind def
-
- /setrgbcolor { systemdict /setrgbcolor get exec
- currenthsbcolor sethsbcolor } bind def
-
- /setcmykcolor { systemdict /setcmykcolor get exec
- currenthsbcolor sethsbcolor } bind def
-
- {pop 0.0} bind setblackgeneration
-