Johannes, On Monday 23 April 2007 05:20, Johannes Meixner wrote: > Hello, > > On Apr 23 14:00 Carlos E. R. wrote (shortened): > .. > > > 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)"
I'm a little confused by this example. Let's say I have a PostScript file name "report.ps". How would I print it with page labels equal to the file name? Secondly, is there a way to do this with PDF? (Apart, of course, from converting the PDF to PostScript before printing?) Lastly, is there a way to use this technique with the printing software used by document viewers such as KGhostView, kpdf or Adobe Reader? For the first two, at least, it's "kprinter." Reader uses its own custom printing GUI, apparently--it looks like no other printing dialog on my system. Thanks. > > Kind Regards > Johannes Meixner Randall Schulz -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
