Commit cb9782f
authored
v1.114.0: print server cleanup (#50)
Add a print-server maintenance utility to 35-Utilities plus a read-only
CLI action:
- PrintServerAudit (read-only): reports spooler state, printer count,
total queued jobs, orphaned TCP/IP ports (no printer references them),
and unused drivers. JSON-aware; makes no changes.
- Operations Menu [36] Print Server Cleanup:
- Flush stuck print queue (one-way): stop spooler, purge spool dir,
restart. Confirmation-gated, ONE-WAY in Dry-Run; spooler is always
restarted even if the purge fails.
- Remove orphaned printer ports (reversible): removes TCP/IP ports no
printer references, capturing each port's host address so the session
undo / Dry-Run Undo closure can re-create it.
Unused drivers are reported but not auto-removed (out of scope). The new
looping submenu follows the navigation convention (Test-NavigationCommand
on the Select prompt, ReturnToMainMenu in the loop).
CLI actions 196 -> 197. Section 181 added; 5075 structural tests green.1 parent 69b2c43 commit cb9782f
14 files changed
Lines changed: 253 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
3 | 14 | | |
4 | 15 | | |
5 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
1391 | 1391 | | |
1392 | 1392 | | |
1393 | 1393 | | |
1394 | | - | |
| 1394 | + | |
1395 | 1395 | | |
1396 | 1396 | | |
1397 | 1397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
0 commit comments