On Monday 23 April 2007 13:08, Carlos E. R. wrote:
> The Monday 2007-04-23 at 14:20 +0200, Johannes Meixner wrote:
> > > Let's generalize, then. How to add arbitrary strings? File name,
> > > page number, date of printing...
> >
> > For fixed strings (i.e. no page numbers) you can use the
> > "page-label" option which will show a fixed string (without spaces)
> > at the very top  and bottom all of all pages, for example to get
> > the idea try:
> >
> > echo -en "One\fTwo" | lp -d <queue> -o page-label="$(date +%F,%T)"
>
> Curious! An undocumented feature! It is not in the man page of 'lp'.
> Are there more options?

Thanks for elaborating the example. For some reason when I first read 
Johannes' post, I didn't grok that "One\fTwo" were two pages of 
sample / simulated output that would be printed with the 
date/time-stamp page label.


> ...
> --
> Cheers,
>        Carlos E. R.


Randall Schulz
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to