Remote IP

Matthias Jansen mail at matthiasjansen.de
Thu Oct 11 08:35:15 PDT 2007


Hi all,

in a backend programm I'm writing, I need the information which IP address the printing job is from. The only place I found this information is in the corresponding file /var/spool/cups/c000<id> but this file is per default only readable by root but the process of my backend is spawned as lp. I already tried Net::CUPS (as my backend is a perl script) but this doesn't seem to give me the information I need.

Is there any other way?

Thanks in advance,

Best regards,

Matthias Jansen




More information about the cups mailing list