Print plugin: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The print_plugin.sprx uses two execution modes. Based on which mode it sets up a different plugin interface table. 1 Identifier: * 1 (Global, for both modes) =1 Interface= ...") |
m (→1 Interface) |
||
Line 11: | Line 11: | ||
0: - Printer Selection | 0: - Printer Selection | ||
1: | 1: 2 Parameter: void * callback, int - Printer Open | ||
2: - Printer Manager | 2: - Printer Manager | ||
3: | 3: | ||
Line 22: | Line 22: | ||
9 - 16 apply to execution mode = 1, mode = 0 only returns 1 | 9 - 16 apply to execution mode = 1, mode = 0 only returns 1 | ||
9: | 9: printStartJob, 2 Parameter: int total_page, int color_format | ||
10: | 10: printEndJob, 0 Parameter | ||
11: | 11: printCancelJob, 0 Parameter | ||
12: | 12: printStartPage, 0 Parameter | ||
13: | 13: printEndPage, 0 Parameter | ||
14: | 14: printGetPrintableArea, 2 Parameter: int *, int * | ||
15: - | 15: printSendBand, 3 Parameter: sys_addr_t * addr, int p_buffer_size, int * p_send_size - addr via allocate_memory_from_container with size 0x200 | ||
16: | 16: printGetStatus, 1 Parameter: int * status | ||
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> | {{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> |
Revision as of 01:00, 2 April 2014
The print_plugin.sprx uses two execution modes. Based on which mode it sets up a different plugin interface table.
1 Identifier:
- 1 (Global, for both modes)
1 Interface
contains 17 subs:
0: - Printer Selection 1: 2 Parameter: void * callback, int - Printer Open 2: - Printer Manager 3:
4 - 8 on exeuction mode = 1 will only return 1
4: 5: 6: 7: 8:
9 - 16 apply to execution mode = 1, mode = 0 only returns 1
9: printStartJob, 2 Parameter: int total_page, int color_format 10: printEndJob, 0 Parameter 11: printCancelJob, 0 Parameter 12: printStartPage, 0 Parameter 13: printEndPage, 0 Parameter 14: printGetPrintableArea, 2 Parameter: int *, int * 15: printSendBand, 3 Parameter: sys_addr_t * addr, int p_buffer_size, int * p_send_size - addr via allocate_memory_from_container with size 0x200 16: printGetStatus, 1 Parameter: int * status