summaryrefslogtreecommitdiff
path: root/lib/epson-usb.h
diff options
context:
space:
mode:
authorHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:53:42 +0900
committerHyungKyu Song <hk76.song@samsung.com>2013-02-16 00:53:42 +0900
commit31dd8ff9600b5388cecb71d3b3f39be046b0fa3c (patch)
treec32ad99e056611427c0fa239cefd21a4e0d67c3c /lib/epson-usb.h
parenta15ab532dc3f3eaf44b06a5426e2f42d17999f95 (diff)
downloadepson-laser-printer-escpage-31dd8ff9600b5388cecb71d3b3f39be046b0fa3c.tar.gz
epson-laser-printer-escpage-31dd8ff9600b5388cecb71d3b3f39be046b0fa3c.tar.bz2
epson-laser-printer-escpage-31dd8ff9600b5388cecb71d3b3f39be046b0fa3c.zip
Diffstat (limited to 'lib/epson-usb.h')
-rwxr-xr-xlib/epson-usb.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/lib/epson-usb.h b/lib/epson-usb.h
new file mode 100755
index 0000000..823677d
--- /dev/null
+++ b/lib/epson-usb.h
@@ -0,0 +1,71 @@
+/*___________________________________ epson-usb.h ___________________________________*/
+
+/* 1 2 3 4 5 6 7 8 */
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/*******************************************|********************************************/
+/*
+ * Copyright (c) 2009 Seiko Epson Corporation All rights reserved.
+ *
+ * Copyright protection claimed includes all forms and matters of
+ * copyrightable material and information now allowed by statutory or judicial
+ * law or hereinafter granted, including without limitation, material generated
+ * from the software programs which are displayed on the screen such as icons,
+ * screen display looks, etc.
+ *
+ */
+/*******************************************|********************************************/
+/* */
+/* Epson USB I/F Definitions */
+/* */
+/*******************************************|********************************************/
+#ifndef _EPSON_USB_H_
+#define _EPSON_USB_H_
+#ifdef __cplusplus
+extern "C" {
+#endif /* def __cplusplus */
+
+/*------------------------------------ Includes -------------------------------------*/
+/*******************************************|********************************************/
+#include "epson-typedefs.h"
+
+/*------------------------------------- Data Types -------------------------------------*/
+/*******************************************|********************************************/
+
+/*---------------------------------- Generic Macros ---------------------------------*/
+/*******************************************|********************************************/
+
+/*----------------------------------- Definitions ------------------------------------*/
+/*******************************************|********************************************/
+
+/*-------------------------- Public Function Declarations ---------------------------*/
+/*******************************************|********************************************/
+extern EPS_ERR_CODE usbFind (EPS_UINT32*, EPS_INT32 );
+extern EPS_ERR_CODE usbProbePrinterByID (EPS_INT8*, EPS_UINT32, EPS_PRINTER_INN** );
+
+extern EPS_ERR_CODE usbStartJob (void );
+extern EPS_ERR_CODE usbRestartJob (void );
+extern EPS_ERR_CODE usbEndJob (void );
+extern EPS_ERR_CODE usbWritePrintData (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
+extern EPS_ERR_CODE usbResetPrinter (void );
+
+extern EPS_ERR_CODE usbGetStatus (EPS_STATUS_INFO*, EPS_BOOL*, EPS_BOOL* );
+extern EPS_ERR_CODE usbGetJobStatus (EPS_STATUS_INFO* );
+extern EPS_ERR_CODE usbGetPMString (const EPS_PRINTER_INN*, EPS_INT32,
+ EPS_UINT8*, EPS_INT32* );
+
+extern EPS_ERR_CODE usbMechCommand (EPS_INT32 );
+
+#ifdef __cplusplus
+}
+#endif /* def __cplusplus */
+
+#endif /* def _EPSON_USB_H_ */
+
+/*___________________________________ epson-usb.h ____________________________________*/
+
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/* 1 2 3 4 5 6 7 8 */
+/*******************************************|********************************************/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
+/***** End of File *** End of File *** End of File *** End of File *** End of File ******/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/