gws.ext.action.printer

Provides the printing API.

class gws.ext.action.printer.Config(*args, **kwargs)[source]

Print action

class gws.ext.action.printer.Object[source]
api_print(req: gws.types.IRequest, p: Union[gws.common.printer.types.PrintParamsWithTemplate, gws.common.printer.types.PrintParamsWithMap]) → gws.common.printer.job.StatusResponse[source]

Start a backround print job

api_snapshot(req: gws.types.IRequest, p: Union[gws.common.printer.types.PrintParamsWithTemplate, gws.common.printer.types.PrintParamsWithMap]) → gws.common.printer.job.StatusResponse[source]

Start a backround snapshot job

api_status(req: gws.types.IRequest, p: gws.common.printer.job.StatusParams) → gws.common.printer.job.StatusResponse[source]

Query the print job status

api_cancel(req: gws.types.IRequest, p: gws.common.printer.job.StatusParams) → gws.common.printer.job.StatusResponse[source]

Cancel a print job

http_get_result(req: gws.types.IRequest, p: gws.common.printer.job.StatusParams) → gws.types.Response[source]