@classmethod
def create(cls, printer=None, server='', port=0, user=''):
    """Return a handle to print using a connection to the (local) CUPS server, if available."""
    try:
        import cups
    except ImportError:
        return
    cups.setServer(server or '')
    cups.setPort(port or 0)
    cups.setUser(user or '')
    try:
        c = cups.Connection()
    except RuntimeError:
        return
    h = cls(c, printer)
    if h.printer().printerName() in c.getPrinters():
        return h
