[cups] Remove all printers
Luiz Guilherme Nunes Fernandes
narutospinal at gmail.com
Tue Sep 19 12:33:56 PDT 2017
ready,
My code:
#!/bin/bash
lpstat -p | awk '{print $2}' | while read printer
do
echo "Deleting Printer:" $printer
lpadmin -x $printer
done
2017-09-19 15:22 GMT-03:00 Luiz Guilherme Nunes Fernandes <
narutospinal at gmail.com>:
> Dears,
> how remove all printers in cups?, i have +- 100 printers.
>
> I try remove all files the of directory "ppd" and all 'printers.conf'
> files.
>
> --
> <<<<<<<<<<<<<<<<<<<-----------------------------------------
> -------------------------->>>>>>>>>>>>>>>>>>>
>
> < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao
> Pai, senão por mim >
> (João 14:6)
>
> Att.
> ♪ ♫ Luiz Guilherme Nunes
> Fernandes ♫ ♪
>
> <<<<<<<<<<<<<<<<<<<-----------------------------------------
> -------------------------->>>>>>>>>>>>>>>>>>>
>
--
<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>
< Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao
Pai, senão por mim >
(João 14:6)
Att.
♪ ♫ Luiz Guilherme Nunes
Fernandes ♫ ♪
<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>
More information about the cups
mailing list