page-label

Rick Davis roodavis at mac.com
Tue Nov 21 08:37:22 PST 2006


I see this topic discussed on a lot of OS X forums, but no one has ever posted a confirmed solution. Basically we are looking for a way to identify the user that sent the print job to the printer with a header or footer that includes the username, date and workstation that it was printed from. This information appears to be stored in the local CUPS database. So how can we extract it and add it to the print job?

Did Jeff ever get this resolved?

Rick Davis
thePRIMAXgroup
http://applehelp.org


> See the respective link on the cups web site for the "alternate pstops filter". Read the
> text file which is published there. The gzipped tar archive also contains samples how to
> set up both page labels and banner pages - what you seem to really need is banner page(s)
> prepended/appended to the job but part of the job.
> Which banner or page-label to select by default is (as of CUPS 1.1.x) best set up in a
> global lpoptions file (which must be set up on each client).
>
> Helge
>
>
> jmao at mac.com wrote:
> >
> > Thanks for your patience,...can you give me,...or point me,...at explicit directions on how to set this up?
> >
> > I'd like it so that when a user prints from the Mac GUI in the normal way, without intervention on the user end (in fact I'd like it so that they cannot override it), all print jobs end up with a header that displays some identifying information about the computer that sent the print job,...we've got lot of laptops,...so we know who sent it if we know from where it came,...so including a MAC Address in the header would be great.
> >
> > Once I understand how to do this on one computer, I can replicate the work across my deployment without much work,...
> >
> > Thanks again
> > Jeff
> >
> > > Anonymous wrote:
> > > >
> > > > Thanks,...is it possible to implement a page-label at the server end of things so that all documents printed get a header? I'm using Mac OS X, so each machine is running it's own server, and would like to add headers to all jobs to identify which computer printed the document.
> > > >
> > > > Jeff
> > >
> > > It is always the server end where the page-label is handled. In case you are going to use
> > > the alternate pstops filter, you'd have to implement it on all your Mac OS X machines,
> > > of course.
> > >
> > > Helge
> > >
> > > >
> > > > > Jeff wrote:
> > > > > >
> > > > > > I see a number of references to "page-label" for adding a static header to every page printed,...how exactly would one implement the page-label option? When I looked it up in the documentation, it simply explained what it was, but I didn't see anything on how to do it,...
> > > > > >
> > > > > > Thanks
> > > > > > Jeff
> > > > >
> > > > > page-label is a job attribute:
> > > > >       -o page-label="some weird text"
> > > > > on the command line. The default implementation simply renders this "sime weird text"
> > > > > (without the quotes) surrounded by a rectangular box at both tht top and the bottom of
> > > > > each page.
> > > > >
> > > > > There is an alternate implementation - see the link to "alternate pstops filter" on the
> > > > > CUPS homepage - which requires some skills in PostScript programming but allows to
> > > > > do things like watermarks, thumb tabs, etc.
> > > > >
> > > > > Helge
> > > > >
>
>
> --
> Helge Blischke
> Softwareentwicklung
> SRZ Berlin | Firmengruppe besscom
> http://www.srz.de





More information about the cups mailing list