CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Information collection for printing progression report. More...
Data Fields | |
unsigned | flags |
unsigned | copy |
unsigned | cpage |
unsigned | dmedia |
unsigned | fmedia |
fmedia defines the full amount of to be printed media. The amount depends on the print mode (duplex versus simplex) and the page-ranges the user has given in the printing parameters.
An easy use case is to print a full document with 10 pages in simplex mode and one copy only. The amount of to be printed media in this case is 10. The same job in duplex print mode would have only 5 media.
If the full document has only 9 pages, in simplex mode and one copy only, the amount of to be printed media is 9, but in duplex mode it is still 5 media.
Things change if page-ranges come into play:
And again it changes, if more than one copy is to be printed:
dmedia is related to the fmedia value. It starts with '1' and increases up to the value of dmedia.
unsigned flags |
report about
0
= non-collating job1
= collating jobMore bits may follow.
unsigned copy |
Current copy of medium (non-collating) or copy of document (collating)
0
is invalid unsigned cpage |
Current page number, corresponding to the document's page number (not medium number)
0
is invalid unsigned dmedia |
Media count already done
0
is invalid unsigned fmedia |
Predicted full media count to print
0
is invalid