[cups.general] Display username on printer lcd panel

Helge Blischke h.blischke at srz.de
Fri Jun 24 05:37:53 PDT 2005


Eric PEYREMORTE wrote:
> 
> Hello Everyone,
> 
> I would like cups to write username of the person who prints, on the
> printer lcd panel of the printer.
> So i tried to put a banner with just this PJL code, bute when i print it
> prints the pjl code instead
> of interpreting it.. Does anyone knows how to do ?
> 
> The pjl code(which works when putted by ftp on the printer) :
> ^[%-12345X at PJL RDYMSG DISPLAY = "{job-originating-user-name}"
> 
> Thanks!

The pstops filter emits a JCL statement like
	@PJL JOBNAME = ... DISPLAY = id user title
where id is the job-ID, user the job-originating-user-name and title the job-name.
If that isn't sufficient, you'd hack the sources (cups/emit.c in the source tree)
or file a RFE (request for enhancements) hoping that your request finds the way
into CUPS 1.2

Helge
 
-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list