class documentation
class Object(gws.base.action.Object): (source)
Undocumented
Method | cancel |
Cancel a print job |
Method | get |
Get the result of a print job as a byte stream |
Method | get |
Query the print job status |
Method | print |
Print using the specified params |
Method | start |
Start a background print job |
Inherited from Object
:
Method | props |
Undocumented |
Inherited from Node
(via Object
):
Method | cfg |
Undocumented |
Method | closest |
Undocumented |
Method | create |
Undocumented |
Method | create |
Undocumented |
Method | create |
Undocumented |
Method | find |
Undocumented |
Method | find |
Undocumented |
Method | initialize |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | permissions |
Undocumented |
Method | _configure |
Undocumented |
Inherited from Object
(via Object
, Node
):
Method | __repr__ |
Undocumented |
Inherited from INode
(via Object
, Node
, Object
, IAction
):
Method | activate |
Undocumented |
Method | configure |
Undocumented |
Method | post |
Undocumented |
Method | pre |
Undocumented |
Class Variable | children |
Undocumented |
Class Variable | ext |
Undocumented |
Class Variable | ext |
Undocumented |
Class Variable | parent |
Undocumented |
Class Variable | root |
Undocumented |
Class Variable | uid |
Undocumented |
@gws.ext.command.api( 'printerCancel')
def cancel(self, req:
def cancel(self, req:
gws.IWebRequester
, p: JobRequest
) -> gws.PrintJobResponse
:
(source)
¶
Cancel a print job
@gws.ext.command.get( 'printerResult')
def get_result(self, req:
def get_result(self, req:
gws.IWebRequester
, p: JobRequest
) -> gws.ContentResponse
:
(source)
¶
Get the result of a print job as a byte stream
@gws.ext.command.api( 'printerStatus')
def get_status(self, req:
def get_status(self, req:
gws.IWebRequester
, p: JobRequest
) -> gws.PrintJobResponse
:
(source)
¶
Query the print job status
@gws.ext.command.api( 'printerStart')
def start_print(self, req:
def start_print(self, req:
gws.IWebRequester
, p: gws.PrintRequest
) -> gws.PrintJobResponse
:
(source)
¶
Start a background print job