Enhance printing functionality with SNMP support and update dependencies

- Added SNMP configuration options to `AppConfig` for querying printer status.
- Extended `PrintInstruction` in the proto file to support additional fields for remote file URLs and raw data.
- Implemented logic in `CupsClient` to retrieve printer paper levels and page counts via SNMP.
- Updated `Cargo.toml` to include `snmp` and `reqwest` dependencies for network communication.
- Refactored `TempPdf` handling to support multiple data sources for printing.
- Improved error handling and logging for better diagnostics during print operations.
This commit is contained in:
lan
2025-12-14 22:04:27 +08:00
parent 5789a4346a
commit 3a9aaef996
12 changed files with 1515 additions and 86 deletions

777
Cargo.lock generated

File diff suppressed because it is too large Load Diff