Add print server role

This commit is contained in:
bnolge
2026-03-17 15:33:16 +03:00
parent 75344b6d34
commit f8ed4504d8
9 changed files with 464 additions and 147 deletions
@@ -0,0 +1,22 @@
NextPrinterId 3
<DefaultPrinter {{ printer_name | default('HP_P2015d') }}>
PrinterId 2
UUID urn:uuid:{{ 10000000 | random | hash('md5') | batch(8) | map('join') | join('-') }}
Info {{ printer_info | default('HP LaserJet P2015d') }}
MakeModel HP LaserJet p2015d Series, hpcups 3.22.10
DeviceURI socket://{{ printer_ip }}:9100
State Idle
StateTime {{ ansible_date_time.epoch }}
ConfigTime {{ ansible_date_time.epoch }}
Type 36884
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
Option Duplex DuplexNoTumble
Option Duplexer True
</Printer>