-
Notifications
You must be signed in to change notification settings - Fork 274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retrieve spooled file data #978
Conversation
@Vzor- I'm testing this on Windows 11 running on ARM64, and I get the following error:
I can confirm that C:\>cd C:\Windows\system32\spool\PRINTERS
Access is denied. |
This comment was marked as outdated.
This comment was marked as outdated.
Question posted publicly: https://superuser.com/questions/1740212 |
Ok, so I think this is working as a standard user as of 7e151b7. The Per findings in https://superuser.com/questions/1740212, a user can read their own spooled files, just not the parent directory. |
@Vzor- FYI, I'm going to squash the commits and rebase on master. A backup of the individual commits is here: master...tresf:tray:job-data-backup. |
Closes qzind#923 Co-authored-by: Vzor- <[email protected]>
Adds the ability to obtain raw, spool file data on Windows printers which have 'keep spooled documents' feature enabled.
printer.status.jobdata
is set to true, e.g.Environment variable QZ_OPTS:-Dprinter.status.jobdata=true
--OR--
printer.status.jobdata=true
.Closes #923
Note: This feature does not work by default on Windows 11 ARM, the spool directory permissions don't allow it.
Edited by @tresf
TODO:
see #923