Beispiel #1
0
def setDefaultPrinter(printer_name):
    if PY3:
        printer_name = str(printer_name, "utf-8")
    setPasswordPrompt(
        "You do not have permission to set the default printer. You need authentication."
    )
    return cupsext.setDefaultPrinter(printer_name)
Beispiel #2
0
def setDefaultPrinter(printer_name):
    setPasswordPrompt("You do not have permission to set the default printer.")
    return cupsext.setDefaultPrinter(printer_name)
Beispiel #3
0
def setDefaultPrinter(printer_name):
    setPasswordPrompt("You do not have permission to set the default printer.")
    return cupsext.setDefaultPrinter(printer_name)