diff options
author | Sehong Na <sehong.na@samsung.com> | 2014-05-31 12:39:36 +0900 |
---|---|---|
committer | Sehong Na <sehong.na@samsung.com> | 2014-05-31 12:39:36 +0900 |
commit | f1c4a07bea53a9ca2f04896c92c0077336dfb07a (patch) | |
tree | aa2b32eaea1b1e6ad17923f2bbbc24fa5230e2a3 /lib/epson-net-raw.h | |
download | epson-inkjet-printer-escpr-18989caf92d662a77ca00a113dd978153b1d0c9b.tar.gz epson-inkjet-printer-escpr-18989caf92d662a77ca00a113dd978153b1d0c9b.tar.bz2 epson-inkjet-printer-escpr-18989caf92d662a77ca00a113dd978153b1d0c9b.zip |
Initialize Tizen 2.3submit/tizen_2.3/20140531.0738312.3a_releasetizen_2.3
Diffstat (limited to 'lib/epson-net-raw.h')
-rw-r--r-- | lib/epson-net-raw.h | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/lib/epson-net-raw.h b/lib/epson-net-raw.h new file mode 100644 index 0000000..5d58ec4 --- /dev/null +++ b/lib/epson-net-raw.h @@ -0,0 +1,74 @@ +/*_________________________________ epson-net-raw.h ________________________________*/
+
+/* 1 2 3 4 5 6 7 8 */
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/*******************************************|********************************************/
+/*
+* Copyright (c) 2010 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 Raw Port Protocol Definitions */
+/* */
+/*******************************************|********************************************/
+
+#ifndef __EPSON_NET_RAW_H__
+#define __EPSON_NET_RAW_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*------------------------------------ Includes -------------------------------------*/
+/*******************************************|********************************************/
+#include "epson-typedefs.h"
+
+/*---------------------------- API Function Declarations ----------------------------*/
+/*******************************************|********************************************/
+/* Initialize */
+extern void rawSetupSTFunctions (const EPS_PRINTER_INN* );
+extern EPS_UINT16 rawGetDefautiPort (void );
+
+/* Discovery message related Functions */
+extern EPS_ERR_CODE rawFindStart (EPS_SOCKET*, const EPS_INT8*, EPS_BOOL );
+extern EPS_ERR_CODE rawFind (EPS_SOCKET, EPS_PRINTER_INN** );
+extern EPS_ERR_CODE rawFindEnd (EPS_SOCKET );
+extern EPS_ERR_CODE rawProbePrinterByID (EPS_INT8*, EPS_UINT32, EPS_PRINTER_INN** );
+
+/* Job Functions */
+extern EPS_ERR_CODE rawStartJob (void );
+extern EPS_ERR_CODE rawEndJob (void );
+extern EPS_ERR_CODE rawRestartJob (void );
+extern EPS_ERR_CODE rawWritePrintData (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
+extern EPS_ERR_CODE rawResetPrinter (void );
+extern EPS_ERR_CODE rawStartPage (void );
+extern EPS_ERR_CODE rawEndPage (void );
+extern EPS_ERR_CODE rawMechCommand (const EPS_PRINTER_INN*, EPS_INT32 );
+
+/* Printer status Functions */
+extern EPS_ERR_CODE rawGetStatus (EPS_STATUS_INFO*, EPS_BOOL*, EPS_BOOL* );
+extern EPS_ERR_CODE rawGetInkInfo (EPS_STATUS_INFO* );
+extern EPS_ERR_CODE rawGetJobStatus (EPS_STATUS_INFO* );
+extern EPS_ERR_CODE rawGetPMString (const EPS_PRINTER_INN*, EPS_INT32,
+ EPS_UINT8*, EPS_INT32* );
+
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
+#endif /* def __EPSON_NET_RAW_H__ */
+
+/*_________________________________ epson-net-raw.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 ******/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|