Setting printer status from STOPPED to IDLE

Helge Blischke h.blischke at srz.de
Tue Dec 19 05:18:51 PST 2006


Bawenang wrote:
>>Bawenang wrote:
> [...]
> 
> 
> Thanks a lot. BTW, after I read Kurt Pfeifle's reply about using cupsenable printer_name, I wanted to ask about something. What's the difference of using the snippet and just simply call: system("cupsenable printer_name"); ? I've tried the cupsenable and it worked so maybe if it wasn't any different I'll try the more direct system call.
> 
> Thanks again.

Some treat calling system () as a potential scurity hole.

Helge

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




More information about the cups mailing list