Score:0

CUPS-PDF how to tell who printed? (remote instance)

cn flag

I have a cups-pdf setup on a Ubuntu EC2 instance. It works my question is how I can tell what computer printed to it... even if it's by IP address.

What part of the cups-pdf "runtime" would I look to modify.

Offhand I know you can set regarding the filename output constants like {$user} or something like (interpolated string/literal?)

I doubt you could pull from the config a remote-ip variable.

I have to associate who printed what, maybe I have to set a virtual printer per computer to be sure who made what.

Update

Only other thought I have is to have each user have a printer which can be programmatic but still sucks

uz flag
Jos
Isn't that in `/var/log/cups/access.log`?
Jacob David C. Cunningham avatar
cn flag
So it's not built in, I would just read that. I guess that works, I'll respond back with how it goes. Guess depends how many requests/hopefully each ip is mapped with the filename printed.
Jacob David C. Cunningham avatar
cn flag
This is a crappy solution, but I guess this is our own fault for choosing this solution. Just looking at the logs there's hardly anything there oh well. I'll make it work somehow. The filename is there.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.