Exemplo n.º 1
0
def delPrinter(printer_name):
    setPasswordPrompt("You do not have permission to delete a printer.")
    return cupsext.delPrinter(printer_name)
Exemplo n.º 2
0
def delPrinter(printer_name):
    setPasswordPrompt(
        "You do not have permission to delete a printer. You need authentication."
    )
    return cupsext.delPrinter(printer_name)