I hope you found it useful.

A knowledge of enscript and postscript have been very helpful to me in various situations, like printer problems and formatting problems. Knowing postscript is like knowing html. There are editors around to generate html for you, but, getting under the hood is important.
Joel



Kurt Wall wrote:


Quoth Joel Hammer:


\shade{val}


I tried this and didn't quite get what I wanted. So, I went back to



I'm not surprised. No Postscript coder am I.




basics (really) and read the first chapter about postscript again and
then looked at the postscript which enscript generates. There is a Box
routine generated in enscript's standard postscript output, so, this text
file gives a nice blue page on which are displayed two small pictures
(jpg's) side by side (converted to encapsulated postscript by convert).

[EMAIL PROTECTED] 0 0 1 setrgbcolor 5 5 500 760 Box fill grestore}
[EMAIL PROTECTED] n ]{junk1.epsi}
[EMAIL PROTECTED] x3i y-1]{junk2.epsi}



Excellent stuff, Joel. Thanks!




enscript is run with this command:

enscript -o junk.ps junk.txt -e

If you want to get this to work, of course, you have to generate the
control code for zero, not the two characters [EMAIL PROTECTED] On my keyboard [cntrl v][0]
(followed by your next character or space) works. At least in vi in insert
mode.



Kurt



_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to