[cups.general] Question on doing print accounting and backends

Rob Tanner rtanner at linfield.edu
Thu Feb 9 10:01:22 PST 2006


Here I am replying to my own post.  Is the jobid always and without fail 
<printer name>-<sequence number>? 

-- Rob

Rob Tanner said the following on 02/09/2006 09:26 AM:

> I'm moving from an lprng print system to CUPS, and we currently 
> implement a by-the-page charge back print accounting system.  With 
> CUPS, I have already discovered the "accsnmp" backend wrapper, and it 
> works like a champ.  The problem is that the actual program that I 
> need to call to record the accounting information (logs it to a 
> database) requires not the printer IP, but the printer name.  The 
> wrapper has the IP, but because several physical printers have more 
> than one name for a variety of reasons, there is not a simple 
> one-to-one relationship between the IP address and the printer name.
> Does the DeviceURI follow the standard URL convention that will allow 
> me to append something like "?name=myprinter" in order to capture the 
> name of the printer?
>
> Thanks,
> Rob
>
>

-- 

Rob Tanner
UNIX Services Manager
Linfield College, McMinnville OR





More information about the cups mailing list