Linux tool to read print spool queue using CUPS

Job ID: 34485033

Budget: ₹2,500 – ₹0 INR

I want a small linux tool to read the status of my print job.

Details required are things like:
How may pages remaining
Print job has started or still pending in queue

The application will run an a raspberry pi which is connected to a printer.

This data point needs to be exposed to a web app.