Print plugin: Difference between revisions

From PS3 Developer wiki
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= ...")
 
 
(2 intermediate revisions by the same user not shown)
Line 11: Line 11:


  0: - Printer Selection
  0: - Printer Selection
  1:  
  1: p_open, 2 Parameter: void * callback, int - Printer Open
  2: - Printer Manager
  2: p_j_start, 2 Parameter: void *callback, int - Printer Manager
  3:  
  3: p_j_end/p_j_abort, 0 Parameter:
4 - 8 on exeuction mode = 1 will only return 1
4 - 8 on exeuction mode = 1 will only return 1
  4:  
  4:  
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: - printStartJob
  9: printStartJob, 2 Parameter: int total_page, int color_format
  10: - printEndJob
  10: printEndJob, 0 Parameter
  11: - printCancelJob
  11: printCancelJob, 0 Parameter
  12: - printStartPage
  12: printStartPage, 0 Parameter
  13: - printEndPage
  13: printEndPage, 0 Parameter
  14: - printGetPrintableArea
  14: printGetPrintableArea, 2 Parameter: int *pixelWidth, int *pixelHeight
  15: - printSendBand
  15: printSendBand, 3 Parameter: const unsigned char *buff, int buffsize, int *sendsize
  16: - printGetStatus
  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>

Latest revision as of 02:48, 6 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[edit | edit source]

contains 17 subs:


0: - Printer Selection
1: p_open, 2 Parameter: void * callback, int - Printer Open
2: p_j_start, 2 Parameter: void *callback, int - Printer Manager
3: p_j_end/p_j_abort, 0 Parameter:

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]}