shinko6145: Add a preliminary backend. Does NOT include library work.
This commit is contained in:
parent
e5a2fff2b1
commit
114202d7f5
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -3,8 +3,10 @@ sonyupdr150
|
|||
kodak6800
|
||||
kodak605
|
||||
kodak1400
|
||||
shinkos2145
|
||||
shinkos1245
|
||||
shinkos2145
|
||||
shinkos6145
|
||||
shinkos6245
|
||||
canonselphy
|
||||
mitsu70x
|
||||
dnpds40
|
||||
|
|
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ CPPFLAGS += `pkg-config --cflags libusb-1.0`
|
|||
CPPFLAGS += -DURI_PREFIX=\"$(BACKEND_NAME)\"
|
||||
|
||||
# List of backends
|
||||
BACKENDS = sonyupdr150 kodak6800 kodak1400 shinkos2145 shinkos1245 canonselphy mitsu70x kodak605 dnpds40 citizencw01 mitsu9550 shinkos6245
|
||||
BACKENDS = sonyupdr150 kodak6800 kodak1400 shinkos2145 shinkos1245 canonselphy mitsu70x kodak605 dnpds40 citizencw01 mitsu9550 shinkos6245 shinkos6145
|
||||
|
||||
# Build stuff
|
||||
DEPS = backend_common.h
|
||||
|
|
|
@ -549,6 +549,7 @@ static struct dyesub_backend *backends[] = {
|
|||
&kodak1400_backend,
|
||||
&shinkos1245_backend,
|
||||
&shinkos2145_backend,
|
||||
&shinkos6145_backend,
|
||||
&shinkos6245_backend,
|
||||
&updr150_backend,
|
||||
&mitsu70x_backend,
|
||||
|
|
|
@ -102,7 +102,8 @@ enum {
|
|||
P_KODAK_605,
|
||||
P_SHINKO_S2145,
|
||||
P_SHINKO_S1245,
|
||||
P_SHINKO_S6245,
|
||||
P_SHINKO_S6245,
|
||||
P_SHINKO_S6145,
|
||||
P_SONY_UPDR150,
|
||||
P_SONY_UPCR10,
|
||||
P_MITSU_D70X,
|
||||
|
@ -157,6 +158,7 @@ extern struct dyesub_backend kodak605_backend;
|
|||
extern struct dyesub_backend kodak1400_backend;
|
||||
extern struct dyesub_backend shinkos1245_backend;
|
||||
extern struct dyesub_backend shinkos2145_backend;
|
||||
extern struct dyesub_backend shinkos6145_backend;
|
||||
extern struct dyesub_backend shinkos6245_backend;
|
||||
extern struct dyesub_backend canonselphy_backend;
|
||||
extern struct dyesub_backend mitsu70x_backend;
|
||||
|
|
|
@ -1777,48 +1777,4 @@ struct dyesub_backend shinkos2145_backend = {
|
|||
|
||||
04 03 02 01 [[ footer ]]
|
||||
|
||||
* CHC-S6145 data format
|
||||
|
||||
Spool file consists of an 116-byte header, followed by RGB-packed data,
|
||||
followed by a 4-byte footer. Header appears to consist of a series of
|
||||
4-byte Little Endian words.
|
||||
|
||||
10 00 00 00 MM MM 00 00 HH 00 00 00 01 00 00 00 MM == Model (ie 6145d), HH == 0x02 (5" media), 0x03 (6" media)
|
||||
64 00 00 00 00 00 00 00 TT 00 00 00 00 00 00 00 TT == 0x08 5x5, 0x03 5x7, 0x07 2x6, 0x00 4x6, 0x06 6x6/6x6+6x2/6x8
|
||||
UU 00 00 00 ZZ 00 00 00 XX 00 00 00 00 00 00 00 XX == 0x00 default, 0x02 glossy, 0x03 matte, ZZ == 0x00 default, 0x01 == std qual; UU == 0x00 normal, 0x04 2x6*2, 0x05 6x6+2x6
|
||||
00 00 00 00 WW WW 00 00 HH HH 00 00 NN 00 00 00 WW/HH Width, Height (LE), NN == Copies
|
||||
00 00 00 00 00 00 00 00 00 00 00 00 ce ff ff ff
|
||||
00 00 00 00 ce ff ff ff QQ QQ 00 00 ce ff ff ff QQ == DPI (300)
|
||||
00 00 00 00 ce ff ff ff 00 00 00 00 00 00 00 00
|
||||
00 00 00 00
|
||||
|
||||
[[Packed RGB payload of WW*HH*3 bytes]]
|
||||
|
||||
04 03 02 01 [[ footer ]]
|
||||
|
||||
* CIAAT Brava 21 data format
|
||||
|
||||
This printer is supposed to be a variant of the S6145, but uses a
|
||||
different spool format -- but seems to use the same command language.
|
||||
|
||||
01 40 12 00 01 NN 00 YY YY XX XX TT 00 00 00 00 00 00 01 MM QQ 00
|
||||
|
||||
NN == copies
|
||||
YY YY == Columns (LE)
|
||||
XX XX == Rows (LE)
|
||||
MM == Overcoat (02 = glossy, 03 = matte, 01 = none)
|
||||
QQ == Multicut (00 = normal, 01 = none, 02 = 2*4x6,
|
||||
04 = 2*2x6, 80 = 4x6-notrim)
|
||||
TT == Type (00 = 4x6, 03 = 5x7, 06 = 8x6, 07 = 2x6)
|
||||
|
||||
1844*2434 8x6
|
||||
1844*2492 4x6*2
|
||||
1548*2140 5x7
|
||||
1844*1240 4x6 (and 2x6*2)
|
||||
1844*1210 4x6-notrim (WTF?)
|
||||
1844*634 2x6
|
||||
|
||||
|
||||
[[ Followed by XX*YY*3 bytes of image data, RGB ]]
|
||||
|
||||
*/
|
||||
|
|
1834
backend_shinkos6145.c
Normal file
1834
backend_shinkos6145.c
Normal file
File diff suppressed because it is too large
Load diff
|
@ -893,7 +893,7 @@ struct s6245_fwinfo_resp {
|
|||
|
||||
|
||||
|
||||
#define READBACK_LEN 128 /* Needs to be larger than largest response hdr */
|
||||
#define READBACK_LEN 512 /* Needs to be larger than largest response hdr */
|
||||
#define CMDBUF_LEN sizeof(struct s6245_print_cmd)
|
||||
|
||||
uint8_t rdbuf[READBACK_LEN];
|
||||
|
|
BIN
icm/Shinko_s6145/SINFONIA_CHC-S6145_2.ICC
(Stored with Git LFS)
Normal file
BIN
icm/Shinko_s6145/SINFONIA_CHC-S6145_2.ICC
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
icm/Shinko_s6145/SINFONIA_LUT_Profile_A17D50.ICC
(Stored with Git LFS)
Normal file
BIN
icm/Shinko_s6145/SINFONIA_LUT_Profile_A17D50.ICC
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in a new issue