CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Data Fields | |
struct doc_range_list | print_ranges |
unsigned | document_pages |
unsigned | overall_pages_to_print |
Collect the information about the to be printed pages of the document. This information is used to track the printing progression in a predictable manner. It's handled internally to free the printing driver from doing it.
Since we do not know here how many pages the document has, we need a callback from the rasterizer to get this information.
struct doc_range_list print_ranges |
Page range list to print
unsigned document_pages |
The amount of pages the document has
unsigned overall_pages_to_print |
Amount of pages to be printed based on the document_desc::copies, document_desc::collate and the doc_page_range::print_ranges member