Home | Trees | Indices | Help |
---|
|
object --+ | Connection
A connection to the CUPS server. Before it is created the connection server and username should be set using cups.setServer and cups.setUser; otherwise the defaults will be used. When a Connection object is instantiated it results in a call to the libcups function httpConnectEncrypt().
The constructor takes optional arguments host, port, and encryption, which default to the values of cups.getServer(), cups.getPort(), and cups.getEncryption().
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
dict |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
integer |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
dict |
|
||
string or None |
|
||
dict |
|
||
dict |
|
||
dict |
|
||
None |
|
||
None |
|
||
dict |
|
||
list |
|
||
string |
|
||
dict |
|
||
dict |
|
||
dict |
|
||
string |
|
||
integer list |
|
||
integer |
|
||
integer |
|
||
job ID |
|
||
None |
|
||
|
|||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
None |
|
||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
repr(x)
|
Cause printer to accept jobs.
|
Add or adjust a print queue. Several parameters can select which PPD to use (filename, ppdname, and ppd) but only one may be given.
|
Set a network default option. Jobs submitted to the named queue will have the job option added if it is not already present in the job. This works with CUPS servers of at least version 1.2.
|
Add a printer to a class. If the class does not yet exist, it is created.
|
Get server settings.
See Also: adminSetServerSettings |
Set server settings.
See Also: adminGetServerSettings |
|
|
|
Cancel a subscription.
|
Create a subscription.
|
Delete a class.
|
Delete a printer.
|
Remove a printer from a class. If the class would be left empty, it is removed.
|
Removes a network default option. See addPrinterOptionDefault.
|
Disable printer. This prevents the printer from processing its job queue.
|
Enable printer. This allows the printer to process its job queue.
|
|
Get the system default printer.
|
|
|
Fetches the job document and stores it in a temporary file.
|
Fetch a CUPS server resource to a local file. This is for obtaining CUPS server configuration files and log files.
|
Fetch job attributes.
|
Fetch a list of jobs.
|
Get notifications for subscribed events.
|
Fetch a printer's PPD.
|
|
Fetch the attributes for a printer, specified either by name or by uri but not both.
|
|
Fetches the named PPD and stores it in a temporary file.
|
Get subscriptions.
|
Print a file.
|
Print a list of files.
|
Print a test page.
|
This is for uploading new configuration files for the CUPS server. Note: adminSetServerSettings is a way of adjusting server settings without needing to parse the configuration file.
|
Cause printer to reject jobs.
|
Renew a subscription.
|
Restart a job.
|
Set the system default printer. Note that this can be over-ridden on a per-user basis using the lpoptions command.
|
Specifies when a job should be printed.
|
Set the device URI for a printer.
|
Set the printer's error policy.
|
Set the human-readable information about a printer.
|
Specifies job sheets for a printer.
|
Set the human-readable printer location
|
Set the printer's operation policy.
|
Set whether a printer is shared with other people. This works with CUPS servers of at least version 1.2, by setting the printer-is-shared printer attribute.
|
Set the list of users allowed to use a printer. This works with CUPS server of at least version 1.2, by setting the requesting-user-name-allowed printer attribute.
|
Set the list of users denied the use of a printer. This works with CUPS servers of at least version 1.2, by setting the requesting-user-name-denied printer attribute.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 30 10:48:44 2008 | http://epydoc.sourceforge.net |