Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone ^^

I am working on a project where I am using CUPS as a printer server.
I want to hold all new printer jobs, check the cartridge levels of my printer and one by one release jobs for printing. I want to enable the hold-new-jobs attribute on a specific printer in CUPS.
After this, I have to find out how to get all jobs that are on-hold and release one (by job ID, or so using FIFO) For completeness: If cartridges are below a threshold, the jobs are held until cartridges are reset and a button is pressed. (The implementation can be done also through cupsdisable --hold and cupsenable --release )

There is no example of IPPRequests for pycups. Note that I am searching for a solution using pycups in Python or <cups cups.h=""> in C.

If you need any additional information just mention it.
Thank you in advance.

What I have tried:

i am still searching for a solution so I haven't tried anything yet.
Posted
Updated 22-Feb-22 22:29pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900