gws.base.printer.action¶
Provides the printing API.
Source code: gws.base.printer.action
Module Contents¶
- class gws.base.printer.action.CliParams(*args, **kwargs)¶
Bases:
gws.CliParamsCLI params
- output: str¶
output path
- project: str | None¶
project uid
- request: str¶
path to request.json
- class gws.base.printer.action.Config(*args, **kwargs)¶
Bases:
gws.base.action.ConfigConfiguration for the printer action.
- class gws.base.printer.action.Object¶
Bases:
gws.base.action.ObjectGeneric action object, the parent of all action objects.
- printer_cancel(req: gws.WebRequester, p: gws.JobRequest) gws.JobStatusResponse¶
- printer_output(req: gws.WebRequester, p: gws.JobRequest) gws.ContentResponse¶
- printer_start(req: gws.WebRequester, p: gws.PrintRequest) gws.JobStatusResponse¶
Start a background print job
- printer_status(req: gws.WebRequester, p: gws.JobRequest) gws.JobStatusResponse¶
- class gws.base.printer.action.Props(*args, **kwargs)¶
Bases:
gws.base.action.PropsObject properties.