Files
mgmt/modules/cups/files/printer.conf.tmpl
James Shubin e40819d617 modules: Add a small stub for CUPS
This is definitely not perfect, but it's a simple stub which we can
expand on.
2025-01-31 00:52:24 -05:00

36 lines
618 B
Cheetah

{{/*
TODO: A lot of this could be templated, if we knew what it did.
*/ -}}
{{ if .default -}}
<DefaultPrinter {{ .name }}>
{{ else -}}
<Printer {{ .name }}>
{{ end -}}
PrinterId {{ .id }}
UUID urn:uuid:{{ .uuid }}
{{ if .info -}}
Info {{ .info }}
{{ end -}}
{{ if .location -}}
Location {{ .location }}
{{ end -}}
MakeModel {{ .makemodel }}
DeviceURI {{ .uri }}
State Idle
StateTime 1735329279
ConfigTime 1734305561
Type 36884
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy abort-job
{{ if .default -}}
</DefaultPrinter>
{{ else -}}
</Printer>
{{ end -}}