[cups.general] how to disable a printer?
ekkard gerlach
jack at aiai.de
Mon Dec 22 16:54:43 PST 2008
Michael R Sweet schrieb:
> ekkard gerlach wrote:
>
>> Hi,
>>
>> how can I disable a printer if "disable" is not present (e.g. Suse
>> 10.2)? - I urgently need it because a script has to enable all
>> printers every minute (cron driven) by using lpstat -p | grep <text>
>> and the text is language specific. So I need to disable a printer to
>> see which text is put out from lpstat -p if a printer is disabled,
>
>
> Try "cupsdisable".
>
Yeahh! It works!
e.g cupsdisable hp1022
Thanks a lot!
Ekkard
More information about the cups
mailing list