Esempio n. 1
0
def delPrinter(printer_name):
    setPasswordPrompt("You do not have permission to delete a printer.")
    return cupsext.delPrinter(printer_name)
Esempio 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)