Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tresf
Copy link
Contributor

@tresf tresf commented Feb 16, 2021

Adds detailed job status information while listening on a printer status, e.g.

Closes #736

{
   printerName: "PDFwriter",
   jobName: "My Sample PDF",
   eventType: "JOB",
   statusText: "PAUSED",
   severity: "WARN",
   statusCode: "media-empty", // (or for Windows, 0x00000040)
   message: ...
}

tresf and others added 15 commits December 10, 2020 21:07
Simplify JS callback method
Map STOPPED to PAUSED (was ERROR)
Reduce severity of common states
Make sample.html more readable
Log unknown or unmapped state-reasons.
Various Wmi Job status improvements

Co-authored-by: Kyle Berezin <[email protected]>
…es (#769)

- Changed PRINTED to SENT to avoid confusion with COMPLETE
- Waits for "Local Downlevel Document" to clear before triggering SPOOLING event
- Remove occasional duplicate COMPLETE messages

Co-authored-by: Vzor- <[email protected]>
@tresf tresf merged commit 79d47fb into master Mar 30, 2021
@tresf tresf deleted the job-status branch March 30, 2021 15:05
This was referenced Apr 6, 2021
emkah4 pushed a commit to Fourbolts/orderkrab-tray that referenced this pull request May 24, 2025
Add Wmi and CUPS Job Status mappings for more details with printer status
- Bump JNA to 5.7.0
- Remove CUPS XML parsing in favor of JNA
- De-dupe repeat status messages
- Combine Job Status + Printer Status into single API
Co-authored-by: Kyle Berezin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Printer Job Status

2 participants