22 #define XCB_XPRINT_MAJOR_VERSION 1
23 #define XCB_XPRINT_MINOR_VERSION 0
27 typedef char xcb_x_print_string8_t;
33 xcb_x_print_string8_t *data;
55 typedef uint32_t xcb_x_print_pcontext_t;
61 xcb_x_print_pcontext_t *data;
66 typedef enum xcb_x_print_get_doc_t {
67 XCB_X_PRINT_GET_DOC_FINISHED = 0,
68 XCB_X_PRINT_GET_DOC_SECOND_CONSUMER = 1
69 } xcb_x_print_get_doc_t;
71 typedef enum xcb_x_print_ev_mask_t {
72 XCB_X_PRINT_EV_MASK_NO_EVENT_MASK = 0,
73 XCB_X_PRINT_EV_MASK_PRINT_MASK = 1,
74 XCB_X_PRINT_EV_MASK_ATTRIBUTE_MASK = 2
75 } xcb_x_print_ev_mask_t;
77 typedef enum xcb_x_print_detail_t {
78 XCB_X_PRINT_DETAIL_START_JOB_NOTIFY = 1,
79 XCB_X_PRINT_DETAIL_END_JOB_NOTIFY = 2,
80 XCB_X_PRINT_DETAIL_START_DOC_NOTIFY = 3,
81 XCB_X_PRINT_DETAIL_END_DOC_NOTIFY = 4,
82 XCB_X_PRINT_DETAIL_START_PAGE_NOTIFY = 5,
83 XCB_X_PRINT_DETAIL_END_PAGE_NOTIFY = 6
84 } xcb_x_print_detail_t;
86 typedef enum xcb_x_print_attr_t {
87 XCB_X_PRINT_ATTR_JOB_ATTR = 1,
88 XCB_X_PRINT_ATTR_DOC_ATTR = 2,
89 XCB_X_PRINT_ATTR_PAGE_ATTR = 3,
90 XCB_X_PRINT_ATTR_PRINTER_ATTR = 4,
91 XCB_X_PRINT_ATTR_SERVER_ATTR = 5,
92 XCB_X_PRINT_ATTR_MEDIUM_ATTR = 6,
93 XCB_X_PRINT_ATTR_SPOOLER_ATTR = 7
100 unsigned int sequence;
104 #define XCB_X_PRINT_PRINT_QUERY_VERSION 0
110 uint8_t major_opcode;
111 uint8_t minor_opcode;
119 uint8_t response_type;
123 uint16_t major_version;
124 uint16_t minor_version;
131 unsigned int sequence;
135 #define XCB_X_PRINT_PRINT_GET_PRINTER_LIST 1
141 uint8_t major_opcode;
142 uint8_t minor_opcode;
144 uint32_t printerNameLen;
152 uint8_t response_type;
161 #define XCB_X_PRINT_PRINT_REHASH_PRINTER_LIST 20
167 uint8_t major_opcode;
168 uint8_t minor_opcode;
173 #define XCB_X_PRINT_CREATE_CONTEXT 2
179 uint8_t major_opcode;
180 uint8_t minor_opcode;
183 uint32_t printerNameLen;
188 #define XCB_X_PRINT_PRINT_SET_CONTEXT 3
194 uint8_t major_opcode;
195 uint8_t minor_opcode;
204 unsigned int sequence;
208 #define XCB_X_PRINT_PRINT_GET_CONTEXT 4
214 uint8_t major_opcode;
215 uint8_t minor_opcode;
223 uint8_t response_type;
231 #define XCB_X_PRINT_PRINT_DESTROY_CONTEXT 5
237 uint8_t major_opcode;
238 uint8_t minor_opcode;
247 unsigned int sequence;
251 #define XCB_X_PRINT_PRINT_GET_SCREEN_OF_CONTEXT 6
257 uint8_t major_opcode;
258 uint8_t minor_opcode;
266 uint8_t response_type;
274 #define XCB_X_PRINT_PRINT_START_JOB 7
280 uint8_t major_opcode;
281 uint8_t minor_opcode;
287 #define XCB_X_PRINT_PRINT_END_JOB 8
293 uint8_t major_opcode;
294 uint8_t minor_opcode;
300 #define XCB_X_PRINT_PRINT_START_DOC 9
306 uint8_t major_opcode;
307 uint8_t minor_opcode;
313 #define XCB_X_PRINT_PRINT_END_DOC 10
319 uint8_t major_opcode;
320 uint8_t minor_opcode;
326 #define XCB_X_PRINT_PRINT_PUT_DOCUMENT_DATA 11
332 uint8_t major_opcode;
333 uint8_t minor_opcode;
335 xcb_drawable_t drawable;
338 uint16_t len_options;
345 unsigned int sequence;
349 #define XCB_X_PRINT_PRINT_GET_DOCUMENT_DATA 12
355 uint8_t major_opcode;
356 uint8_t minor_opcode;
358 xcb_x_print_pcontext_t context;
366 uint8_t response_type;
370 uint32_t status_code;
371 uint32_t finished_flag;
377 #define XCB_X_PRINT_PRINT_START_PAGE 13
383 uint8_t major_opcode;
384 uint8_t minor_opcode;
390 #define XCB_X_PRINT_PRINT_END_PAGE 14
396 uint8_t major_opcode;
397 uint8_t minor_opcode;
404 #define XCB_X_PRINT_PRINT_SELECT_INPUT 15
410 uint8_t major_opcode;
411 uint8_t minor_opcode;
413 xcb_x_print_pcontext_t context;
421 unsigned int sequence;
425 #define XCB_X_PRINT_PRINT_INPUT_SELECTED 16
431 uint8_t major_opcode;
432 uint8_t minor_opcode;
434 xcb_x_print_pcontext_t context;
441 uint8_t response_type;
446 uint32_t all_events_mask;
453 unsigned int sequence;
457 #define XCB_X_PRINT_PRINT_GET_ATTRIBUTES 17
463 uint8_t major_opcode;
464 uint8_t minor_opcode;
466 xcb_x_print_pcontext_t context;
475 uint8_t response_type;
481 xcb_x_print_string8_t attributes;
488 unsigned int sequence;
492 #define XCB_X_PRINT_PRINT_GET_ONE_ATTRIBUTES 19
498 uint8_t major_opcode;
499 uint8_t minor_opcode;
501 xcb_x_print_pcontext_t context;
511 uint8_t response_type;
520 #define XCB_X_PRINT_PRINT_SET_ATTRIBUTES 18
526 uint8_t major_opcode;
527 uint8_t minor_opcode;
529 xcb_x_print_pcontext_t context;
540 unsigned int sequence;
544 #define XCB_X_PRINT_PRINT_GET_PAGE_DIMENSIONS 21
550 uint8_t major_opcode;
551 uint8_t minor_opcode;
553 xcb_x_print_pcontext_t context;
560 uint8_t response_type;
568 uint16_t reproducible_width;
569 uint16_t reproducible_height;
576 unsigned int sequence;
580 #define XCB_X_PRINT_PRINT_QUERY_SCREENS 22
586 uint8_t major_opcode;
587 uint8_t minor_opcode;
595 uint8_t response_type;
607 unsigned int sequence;
611 #define XCB_X_PRINT_PRINT_SET_IMAGE_RESOLUTION 23
617 uint8_t major_opcode;
618 uint8_t minor_opcode;
620 xcb_x_print_pcontext_t context;
621 uint16_t image_resolution;
628 uint8_t response_type;
632 uint16_t previous_resolutions;
639 unsigned int sequence;
643 #define XCB_X_PRINT_PRINT_GET_IMAGE_RESOLUTION 24
649 uint8_t major_opcode;
650 uint8_t minor_opcode;
652 xcb_x_print_pcontext_t context;
659 uint8_t response_type;
663 uint16_t image_resolution;
667 #define XCB_X_PRINT_NOTIFY 0
673 uint8_t response_type;
676 xcb_x_print_pcontext_t context;
681 #define XCB_X_PRINT_ATTRIBUT_NOTIFY 1
687 uint8_t response_type;
690 xcb_x_print_pcontext_t context;
694 #define XCB_X_PRINT_BAD_CONTEXT 0
700 uint8_t response_type;
706 #define XCB_X_PRINT_BAD_SEQUENCE 1
712 uint8_t response_type;
761 xcb_x_print_printer_serialize (
void **_buffer ,
763 const xcb_x_print_string8_t *name ,
764 const xcb_x_print_string8_t *description );
767 xcb_x_print_printer_unserialize (
const void *_buffer ,
771 xcb_x_print_printer_sizeof (
const void *_buffer );
783 xcb_x_print_string8_t *
822 xcb_x_print_string8_t *
1014 xcb_x_print_print_get_printer_list_sizeof (
const void *_buffer );
1040 uint32_t printerNameLen ,
1041 uint32_t localeLen ,
1042 const xcb_x_print_string8_t *printer_name ,
1043 const xcb_x_print_string8_t *locale );
1072 uint32_t printerNameLen ,
1073 uint32_t localeLen ,
1074 const xcb_x_print_string8_t *printer_name ,
1075 const xcb_x_print_string8_t *locale );
1180 xcb_x_print_create_context_sizeof (
const void *_buffer );
1210 uint32_t context_id ,
1211 uint32_t printerNameLen ,
1212 uint32_t localeLen ,
1213 const xcb_x_print_string8_t *printerName ,
1214 const xcb_x_print_string8_t *locale );
1241 uint32_t context_id ,
1242 uint32_t printerNameLen ,
1243 uint32_t localeLen ,
1244 const xcb_x_print_string8_t *printerName ,
1245 const xcb_x_print_string8_t *locale );
1521 uint8_t output_mode );
1544 uint8_t output_mode );
1619 uint8_t driver_mode );
1642 uint8_t driver_mode );
1694 xcb_x_print_print_put_document_data_sizeof (
const void *_buffer ,
1695 uint32_t doc_format_len ,
1696 uint32_t options_len );
1730 xcb_drawable_t drawable ,
1733 uint16_t len_options ,
1734 const uint8_t *data ,
1735 uint32_t doc_format_len ,
1736 const xcb_x_print_string8_t *doc_format ,
1737 uint32_t options_len ,
1738 const xcb_x_print_string8_t *options );
1769 xcb_drawable_t drawable ,
1772 uint16_t len_options ,
1773 const uint8_t *data ,
1774 uint32_t doc_format_len ,
1775 const xcb_x_print_string8_t *doc_format ,
1776 uint32_t options_len ,
1777 const xcb_x_print_string8_t *options );
1780 xcb_x_print_print_get_document_data_sizeof (
const void *_buffer );
1804 xcb_x_print_pcontext_t context ,
1805 uint32_t max_bytes );
1832 xcb_x_print_pcontext_t context ,
1833 uint32_t max_bytes );
1929 xcb_window_t window );
1952 xcb_window_t window );
2004 xcb_x_print_print_select_input_sizeof (
const void *_buffer );
2032 xcb_x_print_pcontext_t context ,
2033 uint32_t event_mask ,
2059 xcb_x_print_pcontext_t context ,
2060 uint32_t event_mask ,
2064 xcb_x_print_print_input_selected_serialize (
void **_buffer ,
2067 const uint32_t *all_events_list );
2070 xcb_x_print_print_input_selected_unserialize (
const void *_buffer ,
2074 xcb_x_print_print_input_selected_sizeof (
const void *_buffer );
2097 xcb_x_print_pcontext_t context );
2123 xcb_x_print_pcontext_t context );
2256 xcb_x_print_pcontext_t context ,
2284 xcb_x_print_pcontext_t context ,
2319 xcb_x_print_print_get_one_attributes_sizeof (
const void *_buffer );
2345 xcb_x_print_pcontext_t context ,
2348 const xcb_x_print_string8_t *name );
2377 xcb_x_print_pcontext_t context ,
2380 const xcb_x_print_string8_t *name );
2392 xcb_x_print_string8_t *
2453 xcb_x_print_print_set_attributes_sizeof (
const void *_buffer ,
2454 uint32_t attributes_len );
2485 xcb_x_print_pcontext_t context ,
2486 uint32_t stringLen ,
2489 uint32_t attributes_len ,
2490 const xcb_x_print_string8_t *attributes );
2518 xcb_x_print_pcontext_t context ,
2519 uint32_t stringLen ,
2522 uint32_t attributes_len ,
2523 const xcb_x_print_string8_t *attributes );
2546 xcb_x_print_pcontext_t context );
2572 xcb_x_print_pcontext_t context );
2606 xcb_x_print_print_query_screens_sizeof (
const void *_buffer );
2745 xcb_x_print_pcontext_t context ,
2746 uint16_t image_resolution );
2773 xcb_x_print_pcontext_t context ,
2774 uint16_t image_resolution );
2828 xcb_x_print_pcontext_t context );
2854 xcb_x_print_pcontext_t context );