Module cups :: Class Dest
[show private | hide private]
[frames | no frames]

Type Dest

object --+
         |
        Dest


CUPS destination

A destination print queue, as returned by Connection.getDests.
Method Summary
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Instance Variable Summary
string instance: destination instance name
boolean is_default: whether this is the default destination
string name: destination queue name
dict options: string:string dict of default options for this destination, indexed by option name

Method Details

__init__(...)
(Constructor)

x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides:
__builtin__.object.__init__

__new__(T, S, ...)

T.__new__(S, ...) -> a new object with type S, a subtype of T
Returns:
a new object with type S, a subtype of T
Overrides:
__builtin__.object.__new__

Instance Variable Details

instance

destination instance name
Type:
string
Value:
<attribute 'instance' of 'cups.Dest' objects>                          

is_default

whether this is the default destination
Type:
boolean
Value:
<attribute 'is_default' of 'cups.Dest' objects>                        

name

destination queue name
Type:
string
Value:
<attribute 'name' of 'cups.Dest' objects>                              

options

string:string dict of default options for this destination, indexed by option name
Type:
dict
Value:
<attribute 'options' of 'cups.Dest' objects>                           

Generated by Epydoc 2.1 on Wed May 28 13:04:03 2008 http://epydoc.sf.net