#! /bin/sh # psscreentest.sh feature file output.png # (c) 2001 Stanislav Brabec, UTX ( cat <> setpagedevice %%EndFeature %%BeginFeature: ghostscript printer like screen 5 45 % The following screen algorithm is used by permission of the author. { 1 add 180 mul cos 1 0.08 add mul exch 2 add 180 mul cos 1 0.08 sub mul add 2 div % (C) 1989 Berthold K.P. Horn } setscreen EOF [ ! -z "$1" ] && cat "$1" cat <