HiTi: Add WIP backend for HiTi 520L.

There's a clear path to supporting P52x, P72x, and P750.
Other models (P51x, P11x) are viable, but will require more legwork.
Remaining models (P3xx, X610, and others) are unknowns.
This commit is contained in:
Solomon Peachy 2019-09-10 14:34:58 -04:00
parent 43526a7069
commit 7a08d72e09
7 changed files with 1414 additions and 1 deletions

1
.gitignore vendored
View File

@ -20,3 +20,4 @@ mitsu9550
mitsup95d
magicard
mitsud90
hiti

View File

@ -53,7 +53,7 @@ CPPFLAGS += -DURI_PREFIX=\"$(BACKEND_NAME)\" $(OLD_URI)
CFLAGS += -funit-at-a-time
# List of backends
BACKENDS = sonyupd sonyupdneo kodak6800 kodak1400 shinkos2145 shinkos1245 canonselphy mitsu70x kodak605 dnpds40 mitsu9550 shinkos6245 shinkos6145 canonselphyneo mitsup95d magicard mitsud90
BACKENDS = sonyupd sonyupdneo kodak6800 kodak1400 shinkos2145 shinkos1245 canonselphy mitsu70x kodak605 dnpds40 mitsu9550 shinkos6245 shinkos6145 canonselphyneo mitsup95d magicard mitsud90 hiti
# For the s6145 and mitsu70x backends
CPPFLAGS += -DUSE_DLOPEN

25
README
View File

@ -1104,4 +1104,29 @@ Notes:
* All models can report media empty, but not quantity remaining or type.
***************************************************************************
BACKEND=hiti
Model IDs recognized:
hiti-p520l hiti-p525l hiti-p52x
Very work-in-progress printers:
HiTi P520L
This backend supports additional commands:
hiti [command [arg] ]
Valid commands:
-i Query printer information
-s Query printer status
Notes:
* This backend is in very early stages of development, and is a long
way off from being able to print.
***************************************************************************

View File

@ -694,6 +694,7 @@ extern struct dyesub_backend mitsup95d_backend;
extern struct dyesub_backend dnpds40_backend;
extern struct dyesub_backend magicard_backend;
extern struct dyesub_backend mitsud90_backend;
extern struct dyesub_backend hiti_backend;
static struct dyesub_backend *backends[] = {
&canonselphy_backend,
@ -713,6 +714,7 @@ static struct dyesub_backend *backends[] = {
&mitsup95d_backend,
&dnpds40_backend,
&magicard_backend,
&hiti_backend,
NULL,
};

View File

@ -165,6 +165,8 @@ enum {
P_KODAK_701X = 51,
P_KODAK_6900 = 52,
P_SHINKO_S2245 = 53,
P_HITI_52X = 54,
P_HITI_75X = 55,
P_END,
};

1380
backend_hiti.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -261,3 +261,6 @@
# Magicard Enduro+
0x0c1f 0x880a blacklist
# HiTi P52x
0x0d16 0x0502