Hello,

On Apr 23 14:00 Carlos E. R. wrote (shortened):
> The Sunday 2007-04-22 at 20:14 -0700, Randall R Schulz wrote:
> > 
> > I have a related request: Can I annotate either the first page or all 
> > pages with the file name of the PostScript file being printed?
> 
> 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)"


Kind Regards
Johannes Meixner
-- 
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to