dnp_ds40: Fix bugs preventing spooler from working.

Also add a sample testjob.
master
Solomon Peachy 2013-12-16 21:25:59 -05:00
parent fefaaa1e47
commit 2cc0ad2842
3 changed files with 7 additions and 6 deletions

6
README
View File

@ -25,11 +25,12 @@
Kodak 6850 Photo Printer
Shinko CHC-S2145 (aka "Sinfonia S2")
Sony UP-DR150
DNP DS40
DNP DS80
Work-in-progress printers:
Mitsubishi CP-D70DW, CP-D707DW and CP-K60DW
DNP DS40 and DS80
Sony UP-DR200
***************************************************************************
@ -313,9 +314,6 @@
DNP DS40
DNP DS80
NOTE: This backend has **NOT** been tested with spooling operation, but
is known to work for the various status/etc commands.
This backend supports additional commands:
dnpds40 [command [arg] ]

View File

@ -334,7 +334,7 @@ static int dnpds40_read_parse(void *vctx, int data_fd) {
if (i < 0)
return i;
ctx->databuf += i;
ctx->datalen += i;
// XXX no way to figure out print job length without parsing stream
// until we get to the plane data
@ -803,7 +803,7 @@ static int dnpds40_cmdline_arg(void *vctx, int run, char *arg1, char *arg2)
/* Exported */
struct dyesub_backend dnpds40_backend = {
.name = "DNP DS40/DS80",
.version = "0.14",
.version = "0.15",
.uri_prefix = "dnpds40",
.cmdline_usage = dnpds40_cmdline,
.cmdline_arg = dnpds40_cmdline_arg,

BIN
testjobs/dnp_ds80_8x12.raw (Stored with Git LFS) Normal file

Binary file not shown.