class KMPrinter

#### PyKDE - Python Bindings for KDE

# class KMPrinter |
Table of contents
Modules
tdeprint Classes
All Classes

Module | tdeprint
Class | KMPrinter
Inherits | KMObject

### enums

- PrinterCap = {CapBW, CapColor, CapDuplex, CapStaple, CapCopies, CapCollate, CapPunch, CapCover, CapBind, CapSort, CapSmall, CapMedium, CapLarge, CapVariable }
- PrinterState = {Idle, Stopped, Processing, Unknown, Rejecting, StateMask }
- PrinterType = {Printer, Class, Implicit, Virtual, Remote, Invalid, Special }

### methods

- KMPrinter ()

  returns a KMPrinter instance

- KMPrinter (p)

  returns a KMPrinter instance
  Argument | Type | Default
  --- | --- | ---
  p | KMPrinter |

- acceptJobs ()

  returns (bool)

- addMember (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- addPrinterCap (c)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  c | int |

- addType (t)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  t | int |

- autoConfigure (prt, parent = 0)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  prt | KPrinter |
  parent | TQWidget | 0

- compare (p1, p2)

  returns (int)
  static
  Argument | Type | Default
  --- | --- | ---
  p1 | KMPrinter |
  p2 | KMPrinter |

- copy (p)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  p | KMPrinter |

- dbEntry ()

  Not Implemented

- defaultOption (key)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- defaultOptions ()

  returns (TQMap)

- description ()

  returns (TQString)

- device ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- device ()

  returns (KURL)
  In versions less than KDE 3.2.0 only

- deviceProtocol ()

  returns (TQString)
  In versions KDE 3.2.0 and above only

- driver ()

  Not Implemented

- driverInfo ()

  returns (TQString)

- editedOption (key)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- editedOptions ()

  returns (TQMap)

- hasOption (key)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- instanceName ()

  returns (TQString)

- isClass (useImplicit = 1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  useImplicit | bool | 1

- isEdited ()

  returns (bool)

- isHardDefault ()

  returns (bool)

- isImplicit ()

  returns (bool)

- isLocal ()

  returns (bool)

- isPrinter ()

  returns (bool)

- isRemote ()

  returns (bool)

- isSoftDefault ()

  returns (bool)

- isSpecial ()

  returns (bool)

- isValid ()

  returns (bool)

- isVirtual ()

  returns (bool)

- location ()

  returns (TQString)

- manufacturer ()

  returns (TQString)

- members ()

  returns (TQStringList)

- model ()

  returns (TQString)

- name ()

  returns (TQString)

- option (key)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- options ()

  returns (TQMap)

- ownSoftDefault ()

  returns (bool)

- pixmap ()

  returns (TQString)

- printerCap ()

  returns (int)
  In versions KDE 3.2.0 and above only

- printerName ()

  returns (TQString)

- removeOption (key)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  key | TQString |

- setAcceptJobs (on)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  on | bool |

- setDbEntry (e)

  Not Implemented

- setDefaultOption (key, value)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  key | TQString |
  value | TQString |

- setDefaultOptions (opts)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  opts | TQMap |

- setDescription (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setDevice (d)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  d | TQString |

- setDevice (a0)

  returns nothing
  In versions less than KDE 3.2.0 only
  Argument | Type | Default
  --- | --- | ---
  a0 | KURL |

- setDriver (a0)

  Not Implemented

- setDriverInfo (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setEdited (on)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  on | bool |

- setEditedOption (key, value)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  key | TQString |
  value | TQString |

- setEditedOptions (opts)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  opts | TQMap |

- setHardDefault (on)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  on | bool |

- setInstanceName (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setLocation (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setManufacturer (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setMembers (l)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  l | TQStringList |

- setModel (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setName (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setOption (key, value)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  key | TQString |
  value | TQString |

- setOptions (opts)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  opts | TQMap |

- setOwnSoftDefault (on)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  on | bool |

- setPixmap (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setPrinterCap (c)

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  c | int |

- setPrinterName (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | TQString |

- setSoftDefault (on)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  on | bool |

- setState (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | KMPrinter.PrinterState |

- setType (t)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  t | int |

- setUri (u)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  u | KURL |

- state (complete = 0)

  returns (KMPrinter.PrinterState)
  Argument | Type | Default
  --- | --- | ---
  complete | bool | 0

- stateString ()

  returns (TQString)

- takeDriver ()

  Not Implemented

- type ()

  returns (int)

- uri ()

  returns (KURL)