2
1
0

There seems to be confusion among colleagues what JobPhase@PercentageCompleted defines.  Does this define the percentage of Pages or Sheets completed? 

Scenario: You have a 30 page document to be processed and printed with 10 sheets simplex, and 10 sheets duplex.

If 10 sheets have been outputted, are we 33% complete with the job, or 50% complete.  

    CommentAdd your comment...

    1 answer

    1.  
      3
      2
      1

      PercentComplete is inherently system dependent. It is designed to support progress bars in user interfaces and should not be used for business calculations. The goal is to display the amount of time completed. Thus the answer depends on your device: if duplex takes twice as long as simplex, 33% is the correct answer in your example. If the device processes duplex as fast as simplex, it is 50%.

      Note that all progress bars tend to be incorrect and move erraticly...

        CommentAdd your comment...