We are migrating from Solaris to Linux. We have several perl/Tk
applications that use /usr/openwin/bin/mp for printing user text
files. All our users like the prints with the file pathnames, page
numbers and alike, makes it easier for them to find their prints.
We have tried lp with prettyprint option. Not bad but does not seem to
support word wrap, and full file pathnames.
Tried a man on gedit, there seems to be limited command line inputs.
What I would like to do on the command line is sort of:
gedit -nowindow -printto printername -file filename
This way, from within our perl/Tk application, we can use gedit to print
specific files with the wordwrap and page headers without having the GUI
popup.