gws.base.printer.action¶
Provides the printing API.
Source code: gws.base.printer.action
Module Contents¶
- class gws.base.printer.action.CliParams(*args, **kwargs)¶
CLI params
- output: str¶
output path
- project: str | None¶
project uid
- request: str¶
path to request.json
- class gws.base.printer.action.Config(*args, **kwargs)¶
Configuration for the printer action.
- class gws.base.printer.action.Object¶
Generic 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)¶
Object properties.