Commit graph

84 commits

Author SHA1 Message Date
Solomon Peachy ea8e0b1f35 all: Fix up a a large pile of cppcheck warnings. 2016-08-21 10:23:00 -04:00
Solomon Peachy b210c5a5c0 all: Major updates to CUPS marker reporting
* use 'ribbonWax' instead of 'ink-ribbon'  (as per RFC)
 * return media type as the 'marker' name, if known or inferrable
 * Selphy CP series gained support
 * Mitsu D70 family gained support for uppper and lower decks
2016-08-19 17:40:12 -04:00
Solomon Peachy 41f5f688f7 All: Use 'ink-ribbon' instead of 'ribbon' for the supply type. 2016-08-17 23:54:08 -04:00
Solomon Peachy bdafbfaf87 mitsu70x: Preliminary (disabled) work for CUPS attributes. 2016-08-17 21:53:58 -04:00
Solomon Peachy b51b242907 mitsu70x: Make the "init/wakeup" header optional in the data stream.
The Mitsubishi 'CP70Filter' driver does not include it.
2016-04-28 09:29:45 -04:00
Solomon Peachy 8e35e5608b all: It's 2016 now, update the copyright text.
Also, correct the initial dates for a few of the backends.
2016-01-24 09:44:19 -05:00
Solomon Peachy 139aa6e355 mitsu70x: doc update 2016-01-20 20:14:05 -05:00
Solomon Peachy 1c3cfc996a all: Ensure all jobid-aware printers log the ID properly. 2016-01-20 13:40:11 -05:00
Solomon Peachy f97b139549 d70x: K60 and EK306 need a workaround. 2016-01-19 17:45:35 -05:00
Solomon Peachy f578422aa7 mitsu70x: Add support for the printers' data tables
Nothing is done with them yet, but I hope to change that.
2016-01-19 17:40:22 -05:00
Solomon Peachy 298d7a5d6d all: Make sure the requested jobid isn't already in use! 2016-01-15 08:24:23 -05:00
Solomon Peachy 5621aaec5b mitsu70x: Mark entire backend as WIP, and update README. 2015-12-29 08:37:01 -05:00
Solomon Peachy 4ce5914bd6 mitsu70x: automatically turn on super/ultrafine whne using matte. 2015-12-28 16:46:26 -05:00
Solomon Peachy 0afeb71ab5 mitsu70x: Minor updates. 2015-12-28 11:29:31 -05:00
Solomon Peachy 7cac814134 mitsu70x: More info in the printer deck status dump 2015-12-25 23:27:35 -05:00
Solomon Peachy a9ba8db004 mitsu70x: Add support for setting the sleep timer. 2015-12-25 23:02:18 -05:00
Solomon Peachy 5e54d729d7 mitsu70x: Dump job history and dispositions. 2015-12-25 17:48:55 -05:00
Solomon Peachy ae06087f03 nitsu70x: Add ability to abort a job in progress. 2015-12-25 17:40:27 -05:00
Solomon Peachy b8bbd32c5f mitsu70x: Decode all errors, classes, and dispositions. 2015-12-25 17:23:48 -05:00
Solomon Peachy 67c75b6a6a mitsu70x: Major internal reworking to improve robustness.
This might fix the problems printing on the K60 models.
2015-12-25 16:21:06 -05:00
Solomon Peachy 5dac77ce76 mitsu70x: The unkown field in the status message version chunks is a checksum. 2015-09-13 11:34:22 -04:00
Solomon Peachy 5dda0018d2 all: Get rid of a little more getopt detritus. 2015-08-25 22:47:26 -04:00
Solomon Peachy b343d56f1e all: Get rid of the remainder of the old two-stage cmdline parsing
All backend->cmdline_arg() invocations are done with intent to execute!
2015-08-24 18:49:51 -04:00
Solomon Peachy db0c7d8b99 all: Eliminate the multi-stage cmdline parsing.
Unfortunately this means we lose the '-B backend' method, but the
overall control flow is much, much simpler now.
2015-08-13 21:09:56 -04:00
Solomon Peachy de8a32424c all: Unified approach to extra_vid/pid/type
This required a modification to all attach() methods.

Also, fix canonselphy's parsing/attachment code.
2015-08-12 22:56:29 -04:00
Solomon Peachy 5ffc5f3f8e mitsu70x: Fix up some compile warnings on some compilers. 2015-07-24 23:36:50 -04:00
Solomon Peachy 2181ae04b9 all: Clean up a small pile of warnings that clang-analyzer found. 2015-07-04 11:03:52 -04:00
Solomon Peachy 4489c1c0a5 misc: Clean up buffer overflows identified by cppcheck 2015-07-04 09:45:48 -04:00
Solomon Peachy 24c3550feb all: Ensure all malloc() failures are caught and logged. 2015-06-23 20:48:52 -04:00
Solomon Peachy 57c76ac2ab Get rid of some debug code. 2015-01-10 17:42:34 -05:00
Solomon Peachy b731dc04f8 Update copyright notice. 2015-01-05 21:39:22 -05:00
Solomon Peachy 778d014708 Add a few more deck status examples. 2014-12-30 18:03:39 -05:00
Solomon Peachy 1ac8584ff4 mitsu70x: Fix endian goof in the serno parsing code. 2014-12-30 09:51:58 -05:00
Solomon Peachy e1d2d8ccfb mitsu70x: Further deductions from status message analysis.
We don't know the media type yet, but we know the media capacity, and
possibly the total print counts too.
2014-12-29 18:57:40 -05:00
Solomon Peachy 4747a4b5e3 mitsu70x: Dump component versions too 2014-12-29 16:04:08 -05:00
Solomon Peachy 18fd12377c mitsu70x: Clean up the k60 workarounds to use proper headers. 2014-12-29 15:52:55 -05:00
Solomon Peachy c759fda455 mitsu70x: All models should use the 256K data chunk writes. 2014-12-29 15:38:34 -05:00
Solomon Peachy be32e335d3 mitsu70x: Implement a first cut at a serial number query for The D70
family.  The value is unique, at least, but not necessarily the same as
the the sticker on the printer (at least in the case of the Kodak 305)
2014-12-29 14:21:39 -05:00
Solomon Peachy 3fd50eaa41 mitsu70x: Fix swapped rows/columns in the print setup header.
Also use the ctx->rows/cols when checking to see if we need to fixup things.
2014-12-29 08:54:14 -05:00
Solomon Peachy 507906e951 mitsu70x: Send data to the K60/Kodak305 in 256K chunks, including a
special first chunk.
2014-12-29 08:42:35 -05:00
Solomon Peachy 7b698253a5 mitsu70x: The kodak305 needs to be treated like a K60. 2014-12-29 08:39:05 -05:00
Solomon Peachy 8ae0c18a6f mitsud70x: Add USB VID/PID for Kodak 305. 2014-12-25 09:20:50 -05:00
Solomon Peachy 75bbec99ad mitsu70x: Initial appearances show the D80 is teh same as the D70. 2014-12-02 23:45:32 -05:00
Solomon Peachy 1775df394a mitsu70x: Add initial support for the Kodak 305, which appears to be a
rebadged Mitsu D70
2014-10-17 21:14:45 -04:00
Solomon Peachy 5bb48ed47e mitsu70x: more fixes. 2014-10-03 21:32:40 -04:00
Solomon Peachy 69781991c5 mitsu70x: Another fix. 2014-10-03 20:54:23 -04:00
Solomon Peachy 1cdc2cac22 mitsu70x: More work. 2014-10-03 20:52:47 -04:00
Solomon Peachy e1519a59a1 mitsu70x: Fix dump_status debug. 2014-10-03 20:39:13 -04:00
Solomon Peachy 96cf9a96da mitsu70x: pack all structures. 2014-10-03 20:35:05 -04:00
Solomon Peachy a89e4e5016 mitsu70x: More rearrangement of the command sequence. 2014-10-03 20:30:09 -04:00