1 /*___________________________________ epson-usb.h ___________________________________*/
\r
3 /* 1 2 3 4 5 6 7 8 */
\r
4 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
\r
5 /*******************************************|********************************************/
\r
7 * Copyright (c) 2009 Seiko Epson Corporation All rights reserved.
\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
16 /*******************************************|********************************************/
\r
18 /* Epson USB I/F Definitions */
\r
20 /*******************************************|********************************************/
\r
21 #ifndef _EPSON_USB_H_
\r
22 #define _EPSON_USB_H_
\r
25 #endif /* def __cplusplus */
\r
27 /*------------------------------------ Includes -------------------------------------*/
\r
28 /*******************************************|********************************************/
\r
29 #include "epson-typedefs.h"
\r
31 /*------------------------------------- Data Types -------------------------------------*/
\r
32 /*******************************************|********************************************/
\r
34 /*---------------------------------- Generic Macros ---------------------------------*/
\r
35 /*******************************************|********************************************/
\r
37 /*----------------------------------- Definitions ------------------------------------*/
\r
38 /*******************************************|********************************************/
\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
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
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
56 extern EPS_ERR_CODE usbMechCommand (EPS_INT32 );
\r
60 #endif /* def __cplusplus */
\r
62 #endif /* def _EPSON_USB_H_ */
\r
64 /*___________________________________ epson-usb.h ____________________________________*/
\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