Get no. of pages before print in cups

Viewed 314

What I have done:-

  • I am using cups4j api and I am getting the print job attributes(Job ID, Job Name, Page Size, Job sender, Creation date and Completion date) of the print job that are being sent to the printer.

What I want:-

  • total no. of pages that are being sent for print.

Problem facing:-

  • I am getting total no. of pages only when the job is completed.
  • I want to get the total no. of pages before the print gets completed that is as soon as the print job is sent.
1 Answers
Related