Tizen 2.0 Release
[external/epson-laser-printer-escpage.git] / lib / epson-usb.h
1 /*___________________________________  epson-usb.h   ___________________________________*/\r
2 \r
3 /*       1         2         3         4         5         6         7         8        */\r
4 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/\r
5 /*******************************************|********************************************/\r
6 /*\r
7  *   Copyright (c) 2009  Seiko Epson Corporation                 All rights reserved.\r
8  *\r
9  *   Copyright protection claimed includes all forms and matters of\r
10  *   copyrightable material and information now allowed by statutory or judicial\r
11  *   law or hereinafter granted, including without limitation, material generated\r
12  *   from the software programs which are displayed on the screen such as icons,\r
13  *   screen display looks, etc.\r
14  *\r
15  */\r
16 /*******************************************|********************************************/\r
17 /*                                                                                      */\r
18 /*                               Epson USB I/F Definitions                              */\r
19 /*                                                                                      */\r
20 /*******************************************|********************************************/\r
21 #ifndef _EPSON_USB_H_\r
22 #define _EPSON_USB_H_\r
23 #ifdef    __cplusplus\r
24 extern "C" {\r
25 #endif    /* def __cplusplus    */\r
26 \r
27 /*------------------------------------  Includes   -------------------------------------*/\r
28 /*******************************************|********************************************/\r
29 #include "epson-typedefs.h"\r
30 \r
31 /*------------------------------------- Data Types -------------------------------------*/\r
32 /*******************************************|********************************************/\r
33 \r
34 /*----------------------------------  Generic Macros   ---------------------------------*/\r
35 /*******************************************|********************************************/\r
36 \r
37 /*-----------------------------------  Definitions  ------------------------------------*/\r
38 /*******************************************|********************************************/\r
39 \r
40 /*--------------------------  Public Function Declarations   ---------------------------*/\r
41 /*******************************************|********************************************/\r
42 extern EPS_ERR_CODE usbFind                     (EPS_UINT32*, EPS_INT32                         );\r
43 extern EPS_ERR_CODE usbProbePrinterByID (EPS_INT8*, EPS_UINT32, EPS_PRINTER_INN**       );\r
44 \r
45 extern EPS_ERR_CODE usbStartJob             (void                                           );\r
46 extern EPS_ERR_CODE usbRestartJob       (void                                           );\r
47 extern EPS_ERR_CODE usbEndJob           (void                                           );\r
48 extern EPS_ERR_CODE usbWritePrintData   (const EPS_UINT8*, EPS_UINT32, EPS_UINT32*      );\r
49 extern EPS_ERR_CODE usbResetPrinter     (void                                           );\r
50 \r
51 extern EPS_ERR_CODE usbGetStatus        (EPS_STATUS_INFO*, EPS_BOOL*, EPS_BOOL*         );\r
52 extern EPS_ERR_CODE usbGetJobStatus     (EPS_STATUS_INFO*                                                           );\r
53 extern EPS_ERR_CODE usbGetPMString      (const EPS_PRINTER_INN*, EPS_INT32,\r
54                                          EPS_UINT8*, EPS_INT32*                         );\r
55 \r
56 extern EPS_ERR_CODE usbMechCommand      (EPS_INT32                                      );\r
57 \r
58 #ifdef    __cplusplus\r
59 }\r
60 #endif    /* def __cplusplus    */\r
61 \r
62 #endif    /* def _EPSON_USB_H_ */\r
63 \r
64 /*___________________________________  epson-usb.h  ____________________________________*/\r
65 \r
66 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/\r
67 /*       1         2         3         4         5         6         7         8        */\r
68 /*******************************************|********************************************/\r
69 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/\r
70 /***** End of File *** End of File *** End of File *** End of File *** End of File ******/\r
71 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/\r