s6245: Add a preliminary backend for the Shinko S6245

This commit is contained in:
Solomon Peachy 2015-07-02 23:32:16 -04:00
parent 8f1243de31
commit 9b3f7cbb66
5 changed files with 1858 additions and 9 deletions

View File

@ -8,7 +8,7 @@ CPPFLAGS = `pkg-config --cflags libusb-1.0`
CUPS_BACKEND_DIR = /usr/lib/cups/backend
CUPS_DATA_DIR = /usr/share/cups
BACKENDS = sonyupdr150 kodak6800 kodak1400 shinkos2145 shinkos1245 canonselphy mitsu70x kodak605 dnpds40 citizencw01 mitsu9550
BACKENDS = sonyupdr150 kodak6800 kodak1400 shinkos2145 shinkos1245 canonselphy mitsu70x kodak605 dnpds40 citizencw01 mitsu9550 shinkos6245
DEPS = backend_common.h

53
README
View File

@ -257,13 +257,6 @@
Shinko CHC-S2145 (aka "Sinfonia S2")
Work-in-process printers:
Shinko CHC-S6245 (aka "Sinfonia CE1")
Shinko CHC-S6145 (aka "Sinfonia CS2")
Shinko CHC-S6145-5A (aka "Sinfonia CS2-c")
Ciaat Brava 21
Development was initially sponsored by:
LiveLink Technology [ www.livelinktechnology.net ]
@ -352,6 +345,52 @@
Values are unsigned 16-bit big endian, between 0 and 16383
(ie only 14 bits used)
***************************************************************************
BACKEND=shinkos6245
Low-level documentation was provided by Sinfonia, Inc. Thank you!
Work-in-process printers:
Shinko CHC-S6245 (aka "Sinfonia CE1")
Valid commands:
-c filename Query User tone curve from flash [1]
-C filename Store User tone curve in flash [1]
-e Query Error log
-f Enable Fast return from prints [2]
-F Flash printer LEDs for 5 seconds
-i Query printer firmware information
-l filename Query Current tone curve from RAM [1]
-L filename Store Current tone curve in RAM [1]
-m Query media information
-r Reset User tone curve to default [4]
-R Reset printer to factory defaults
-s Query printer status
-X id Cancel print job 'id' [3]
Notes:
[1] Format of curvedata file:
256 entries each of Yellow, Magenta, Cyan mappings:
Values are unsigned 16-bit big endian, between 0 and 2047
(ie only 11 bits used)
[2] This terminates the backend as soon as the printer has acknowledged
the print job, without waiting for the print job to complete.
This can also be enabled by setting the 'FAST_RETURN' environment
variable. This is the default behavior when using this backend
with CUPS.
[3] Job ID is the Internal Job ID (reported via status)
This cancels a multi-copy print job.
To see which jobs are active/pending, see the output of the
'-s' command, specifically the 'Bank' output.
[4] Default printer tone curve is a linear 'val << 3'
***************************************************************************
BACKEND=sonyupdr150

View File

@ -545,6 +545,7 @@ static struct dyesub_backend *backends[] = {
&kodak1400_backend,
&shinkos1245_backend,
&shinkos2145_backend,
&shinkos6245_backend,
&updr150_backend,
&mitsu70x_backend,
&mitsu9550_backend,

View File

@ -102,6 +102,7 @@ enum {
P_KODAK_605,
P_SHINKO_S2145,
P_SHINKO_S1245,
P_SHINKO_S6245,
P_SONY_UPDR150,
P_SONY_UPCR10,
P_MITSU_D70X,
@ -156,6 +157,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 shinkos6245_backend;
extern struct dyesub_backend canonselphy_backend;
extern struct dyesub_backend mitsu70x_backend;
extern struct dyesub_backend mitsu9550_backend;

1807
backend_shinkos6245.c Normal file

File diff suppressed because it is too large Load Diff