hiti: Fix error in turning on Matte mode.

This commit is contained in:
Solomon Peachy 2023-05-03 16:01:07 -04:00
parent e475160089
commit f82889068d
2 changed files with 31 additions and 8 deletions

View file

@ -2468,7 +2468,7 @@ static int hiti_main_loop(void *vctx, const void *vjob, int wait_for_return)
sf.rows = cpu_to_be16(rows);
sf.rows_offset = calc_offset(5, ctx->calibration.vert, 8, 4);
sf.cols_offset = calc_offset(ctx->calibration.horiz, 6, 11, 4);
sf.colorSeq = 0x87 + (job->hdr.overcoat ? 0xc0 : 0);
sf.colorSeq = 0x87 | (job->hdr.overcoat ? 0xc0 : 0);
sf.copies = job->common.copies;
sf.printMode = (ctx->conn->type == P_HITI_461)
? 0 : 0x08 + (job->hdr.quality ? 0x02 : 0);
@ -3208,7 +3208,7 @@ static const char *hiti_prefixes[] = {
const struct dyesub_backend hiti_backend = {
.name = "HiTi Photo Printers",
.version = "0.54",
.version = "0.55",
.uri_prefixes = hiti_prefixes,
.cmdline_usage = hiti_cmdline,
.cmdline_arg = hiti_cmdline_arg,
@ -3240,6 +3240,8 @@ const struct dyesub_backend hiti_backend = {
{ 0x0d16, 0x0009, P_HITI_720, NULL, "hiti-p720l"},
{ 0x0d16, 0x000a, P_HITI_720, NULL, "hiti-p728l"},
{ 0x0d16, 0x0501, P_HITI_750, NULL, "hiti-p750l"},
{ 0x0d16, 0xc000, P_HITI_51X, NULL, "yashica-yp120"},
{ 0x0d16, 0xd000, P_HITI_51X, NULL, "touchtunes-p510tt"},
{ 0, 0, 0, NULL, NULL}
}
};

View file

@ -28,22 +28,39 @@ LUT filename Codes:
c? = Card type
s? = Sheet type
r? = Roll type
d? = ??
p? = ??
3? = ??
3a = 63xPS (630PS/631PL/631PS) <-- ???
cb = CS3xx
cc = CS3xx
cd = CS2xx
3a = 63xPS (630PS/631PL/631PS)
ca = CS300/CS300i
cb = CS31x
cc = CS32x/CS36x
cd = CS200e
cg = CIIAT CTC-940
ch = Fagoo P550/P560
ci = Seaory T11S/T11D
cl = CS2xx (sub-model?)
cm = CS2xx (sub-model?)
da = 640DL
db = 640DL-Amphi
dc = G400i/DL400i/G400/DL400/iD400
db = AMPHI (?)
de = BS-A400
df = BS-A400i
dg = Amphi II
dc = BS4xx (BS-DL400/BS-DL400i/BS-G400/BS-G400i/BS-iD400)
pb = 630PLUS
pc = 730 (730PL/730PS)
pd = PhotoShuttle=MS
pe = PhotoShuttle-H
ra = P51x
rb = P710 <-- Shinko S2145?
rd = P72x
re = P72x <-- P728 maybe?
rc = DNP DS-A1
rd = P72x (also "P810L-D")
re = CIIT CTP-3010
rf = Tashica YP-120
rg = TouchTunes P510TT
rh = P750
ri = P520
ri1 = P525 (maybe 528?)
@ -52,9 +69,13 @@ LUT filename Codes:
rm = M610 <-- Shinko S2245?
sb = 630PSV
sc = 64xPS (640PS/641PS)
sd = 640GOLD
se = S3xx (S300/L300)
sf = S4xx (S400/S420)
sh = S423 / 830PS
si = P110
sj = MiX
sk = Unomat P128S
sl = P310
sn = P461/Prinhome
sp = P320