diff --git a/README b/README index 843946d..a6b9185 100644 --- a/README +++ b/README @@ -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] ] diff --git a/backend_dnpds40.c b/backend_dnpds40.c index 4c48c39..756568d 100644 --- a/backend_dnpds40.c +++ b/backend_dnpds40.c @@ -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, diff --git a/testjobs/dnp_ds80_8x12.raw b/testjobs/dnp_ds80_8x12.raw new file mode 100644 index 0000000..f386f68 --- /dev/null +++ b/testjobs/dnp_ds80_8x12.raw @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c01a2427da0d0a4ca596b3979b456326ed7f49e33db7477869ac03cf75e6469 +size 27928072