CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Parameter description for the to be processed print job. More...
Data Fields | |
int | fh |
const char * | mime_type |
unsigned | copies |
unsigned | collate:1 |
unsigned | duplex_long_edge:1 |
unsigned | duplex_short_edge:1 |
unsigned | fidelity:1 |
unsigned | rotation_auto:1 |
enum caps_rstr_orientation | orientation |
unsigned | fit_auto:1 |
unsigned | fit_to_medium:1 |
unsigned | fit_to_imageable_area:1 |
enum caps_rstr_alignment | alignment |
struct caps_ppd_resolution | resolution |
struct caps_ppd_options_table * | ppd_options |
struct doc_page_range | page_range_info |
struct rstr_print_state | state |
struct caps_rstr_page_desc | pg_desc |
struct caps_job_progression | prog_info |
Filled in by the framework. All known and default settings and modifiable by the user
All values start with a default. Then the user settings are processed and modify the entries accordingly.
int fh |
file handle to access the job's content
const char* mime_type |
The MIME type of the document
unsigned copies |
Media copy count, -> caps_rstr_job_copies_get()
unsigned collate |
non-collating job = 0, else collating job, -> caps_rstr_job_is_collating()
unsigned duplex_long_edge |
'1' = Duplex print, flip over long medium edge, related to printing parameter 'sides=two-sided-long-edge', -> caps_rstr_job_is_duplex()
unsigned duplex_short_edge |
'1' = Duplex print, flip over short medium edge, related to printing parameter 'sides=two-sided-short-edge' -> caps_rstr_job_is_duplex()
unsigned fidelity |
User wants fidelity, refer ipp_get_fidelity_value()
unsigned rotation_auto |
'1' by default, we should do our best to guess the correct rotation on demand
enum caps_rstr_orientation orientation |
JOB_ORIENTATION_UNSET is the default to not change the orientation, I need a value for don't touch source orientation -> rotation_auto == 0 and orientation = 0°?
unsigned fit_auto |
Favour the media settings to print the document.
unsigned fit_to_medium |
'1' if to scale (up or down) the document to fit to the print medium
unsigned fit_to_imageable_area |
'1' if to scale (up or down) the document to fit to the print medium and its imageable area
enum caps_rstr_alignment alignment |
Alignment of the document content to a larger print medium
struct caps_ppd_resolution resolution |
Print resolution [DPI], related to printing parameter 'printer-resolution=somevalue', -> caps_rstr_job_resolution_get()
struct caps_ppd_options_table* ppd_options |
current PPD settings, with all PPD related printing parameters applied to
struct doc_page_range page_range_info |
struct rstr_print_state state |
keep track of the printing precedure
struct caps_rstr_page_desc pg_desc |
Information collection for the printer driver of the current page to print
struct caps_job_progression prog_info |
Internal track of printing progression