Print plugin: Difference between revisions
Jump to navigation
Jump to search
m (→1 Interface) |
m (→1 Interface) |
||
Line 27: | Line 27: | ||
12: printStartPage, 0 Parameter | 12: printStartPage, 0 Parameter | ||
13: printEndPage, 0 Parameter | 13: printEndPage, 0 Parameter | ||
14: printGetPrintableArea, 2 Parameter: int *, int * | 14: printGetPrintableArea, 2 Parameter: int *pixelWidth, int *pixelHeight | ||
15: printSendBand, 3 Parameter: | 15: printSendBand, 3 Parameter: const unsigned char *buff, int buffsize, int *sendsize | ||
16: printGetStatus, 1 Parameter: int | 16: printGetStatus, 1 Parameter: uint8_t *status [] {int status; int errorStatus; int continueEnabled; unsigned char reserved[32]} | ||
{{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> | {{Reverse engineering}}<noinclude>[[Category:Main]]</noinclude> |
Revision as of 01:24, 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 *pixelWidth, int *pixelHeight 15: printSendBand, 3 Parameter: const unsigned char *buff, int buffsize, int *sendsize 16: printGetStatus, 1 Parameter: uint8_t *status [] {int status; int errorStatus; int continueEnabled; unsigned char reserved[32]}