2 column, landscape postscript filter for "pretty" code printing routine

Kevin Minor minor at cell.mot.COM
Tue Nov 21 10:07:30 AEST 1989


I'm not sure exactly where to post this question as I am a
new user to usenet but I think these two news groups are
appropriate.

I like the format of how the UNIX tool, vgrind, prints out
code, but I would like to be able to print the output in a 2
column, landscape format.
I also have another "pretty" printing routine which outputs postscript.
Some sort of postscript filter which could stick on what is needed for
2 column, landscape output and adjust the font size appropriately would
be nice.

I normally would use the UNIX tool, enscript, to accomplish such a task.
However, enscript expects normal text and both routines output a "non-text"
format. (ie troff or postscript)
I'm printing out to a Apple laserwriter. Is there a filter
available which can input postscript and output in a 2 column, landscape
format to the laser ?

Any help or hints would be greatly appreciated.
I would attempt to write one myself but as I have no experience with
postscript I believe I would have very little success....
If anyone already has a such filter, I would appreciate a copy of it
as soon as possible.

PS Indent and Cb both have certain characteristics which aren't desirable.
So I'm looking for a solution excluding those options...

Thanks in advance,
Kevin Minor
-- 
/-------------------------------------------------------\
|	Kevin Minor  	..uunet!motcid!minor		|
\-------------------------------------------------------/



More information about the Comp.unix.questions mailing list