Job status information
You can use the qchk command to display information about print jobs that are currently running.
The qchk command displays information about currently running jobs, including the originator, title, number of pages to be printed, and percentage completed. All this information comes from the status file. Most of the information is set up by the qdaemon when the backend is first invoked, except the pages printed and percent done fields, which must be filled in by the backend itself.
To provide this information, the backend should periodically call libqb (see Back-end routines in libqb) for the
following functions:
- log_progress(pages,percent)
- log_pages(pages), for individual function
- log_percent(percent), for individual function