[LUNI] lpr question?
maney at pobox.com
Tue Nov 5 10:52:03 CST 2002
On Tue, Nov 05, 2002 at 09:11:50AM -0800, Richard Reina wrote:
> Is there a way to make the name of a file appear at the top ( or bottom
> ) of the page when a file is printed?
Yes, but doing it through LPR only works if you're printing plain text.
Most likely you're printing what is, to the spooler, magic goop (read:
postscript). At that level there's no easy way to attach such
information, and the original filename probably isn't anywhere handy
anyway. The cost of giving the application full control over page
rendering is that attaching the original file name, etc, becomes a job
for the application.
Truth in advertising is like leaven, which a woman hid in three
measures of meal. It provides a suitable quantity of gas, with
which to blow out a mass of crude misrepresentations into a form
that the public can swallow. - Dorothy Sayers, _Murder Must Advertise_
More information about the luni