Totem building

This commit is contained in:
Gerardo J. Puerta
2022-10-24 18:40:01 +02:00
parent ac268a82ec
commit 2a9e3df414
57 changed files with 1608 additions and 1278 deletions

View File

@ -0,0 +1,42 @@
--- a/lib/epson-escpr-api.h
+++ b/lib/epson-escpr-api.h
@@ -111,6 +111,9 @@
/*** -------------------------------------------------------------------------------*/
extern EPS_ERR_CODE epsMakeMainteCmd (EPS_INT32, EPS_UINT8*, EPS_UINT32* );
+extern EPS_ERR_CODE SetupJobAttrib (const EPS_JOB_ATTRIB* );
+extern EPS_ERR_CODE SendStartJob (EPS_BOOL );
+extern EPS_ERR_CODE PrintBand (const EPS_UINT8*, EPS_UINT32, EPS_UINT32* );
#ifdef __cplusplus
}
#endif
--- a/src/filter.c
+++ b/src/filter.c
@@ -33,7 +33,9 @@
#include "epson-protocol.h"
#include "epson-escpr-api.h"
+#include "epson-escpr-services.h"
#include "epson-escpr-mem.h"
+#include "epson-escpage.h"
#include "err.h"
#include "mem.h"
@@ -42,6 +44,7 @@
#include "libprtX.h"
#include "optBase.h"
#include "linux_cmn.h"
+#include "xfifo.h"
#define WIDTH_BYTES(bits) (((bits) + 31) / 32 * 4)
--- a/src/mem.c
+++ b/src/mem.c
@@ -23,6 +23,7 @@
#endif
#include <stdlib.h>
+#include "err.h"
#include "mem.h"
void *

View File

@ -0,0 +1,11 @@
--- a/src/filter.c 2020-05-23 13:50:19.064756474 +0200
+++ b/src/filter.c 2020-05-23 13:53:01.936647646 +0200
@@ -68,7 +68,7 @@
extern EPS_UINT8* tmpLineBuf;
extern EPS_CMN_FUNC epsCmnFnc;
-EPS_JOB_FUNCS jobFnc;
+extern EPS_JOB_FUNCS jobFnc;
extern EPS_INT32 tonerSave;
extern EPS_INT32 back_type;