Commit graph

66 commits

Author SHA1 Message Date
Solomon Peachy 4df2bc964b Add USB PIDs for several Mitsubishi models:
* CP-D80DW
 * CP-9800DW
 * CP-9810DW
 * CP-3020D/DE
 * CP-3020DA/DAE
2016-11-04 16:03:40 -04:00
Solomon Peachy e9aad3e55c mitsu9550: Handle the CP9600's door open condition. 2016-10-31 14:02:23 -04:00
Solomon Peachy b163618f69 mitsu9550: Fix an incorrect field size in the status2 struct. 2016-10-31 13:44:56 -04:00
Solomon Peachy 4f170198cc mitsu9550: add a placeholder for dump_status2() 2016-10-28 05:30:48 +09:00
Solomon Peachy 6cdd326eca mitsu9550: doc updates and speculation. 2016-10-26 16:28:20 -04:00
Solomon Peachy 7f70b36a27 mitsu9550: Update docs. 2016-10-25 15:11:51 -04:00
Solomon Peachy d528e23971 mitsu9550: Fix a boneheaded memcpy(). 2016-10-23 14:00:04 -04:00
Solomon Peachy b0b5f7d461 mitsu9550: Fix data parsing errors. 2016-10-23 11:59:29 -04:00
Solomon Peachy a579516840 mitsu9550: Major revamp of how we handle data chunks.
Some models split the input stream into multiple smaller blocks instead
of one block per image plane.  Properly parse them and send them over to
the printer in a sane manner.
2016-10-23 09:35:25 -04:00
Solomon Peachy 4d35e21250 mitsu9550: Add USB PIDs for CP-9000 and CP-9500. 2016-10-18 15:36:33 -04:00
Solomon Peachy cc68df3a8b mitsu9550: Improvements in the media matching:
* 9550-S and 9800-S don't support 3.5x5" prints
 * 9550/98x0 don't support 3.5x5" on 7x5" media.
2016-10-17 15:26:58 -04:00
Solomon Peachy 0669aca74d mitsu9550: Fix remaining length computation when parsing job. 2016-10-16 10:23:02 -04:00
Solomon Peachy 286163e952 mitsu9550: 9810 matte data needs to come *after* "data end". 2016-10-16 09:52:02 -04:00
Solomon Peachy 16c53684b2 mitsu9550: Fix plane length on 9800DW-S 2016-10-14 14:57:54 -04:00
Solomon Peachy f4e9bc735e mitsu9550: Send "end data" *before* going into status query loops. 2016-10-14 13:59:31 -04:00
Solomon Peachy 90e3c770bf mitsu9550: Fix incorrect marker level reporting and media checks. 2016-10-14 13:54:07 -04:00
Solomon Peachy 4561c48b56 mitsu9550: Bugfixes.
* Errors parsing print job
 * Media types needs to be aware of S vs non-S printers.
2016-10-14 07:42:24 -04:00
Solomon Peachy 4cb8fb2c95 doc update. 2016-10-13 19:58:16 -04:00
Solomon Peachy 361f87dccf mitsu_9550: In theory, we now support the 9800DW-S 2016-10-13 19:44:09 -04:00
Solomon Peachy 5105d71b6c mitsu9550: Split out the 9800/9810/9800S into unique types.
The 9810 is different from the 9800 (matte support), and the 9800S is
probably different from the 9800, if the 9550/9550S is any indication.
2016-10-13 12:50:30 -04:00
Solomon Peachy ed4a98c031 mitsu9550: Add USB VID/PID for CP-9800DW-S 2016-10-13 12:41:55 -04:00
Solomon Peachy 8812fd4436 mitsu9550: sanity check matte code. Disabled for now. 2016-10-13 08:24:51 -04:00
Solomon Peachy 6362d358e7 mitsu9550: Rejigger it to handle the 9600 and 98x0 variations.
This is strictly limited to the job parsing and sanity code.
It is unknown if there are runtime differences.
2016-10-13 08:12:20 -04:00
Solomon Peachy b3d8da50ee mitsu9550: 9600/9800/9810 will be handled by the same backend.
Update docs to reflect what's been learned, and add placeholders
for some of the differences.
2016-10-12 23:33:07 -04:00
Solomon Peachy 6f48f68ab6 mitsu9550: doc update 2016-10-12 20:29:14 -04:00
Solomon Peachy 047f60ed46 mitsu9550: Add in VID/PID for mitsu9600 2016-09-28 23:47:24 +03:00
Solomon Peachy fdc6da2f05 mitsu9550: Bugfixes and doc updates. 2016-09-28 21:15:04 +03:00
Solomon Peachy 332c060681 Marker message should include media type where it's known. 2016-08-24 20:55:28 -04:00
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 53e00af2aa mitsu9550: Add support for CUPS marker attributes.
* Report % remaining of the ribbon.
2016-08-17 21:53:55 -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 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 175f6a52d8 all: For printers that automatically generate copies, get rid of
leftover manual copy handling code.

The exception is the dnp backend, it needs do use manual copies under
some situations.
2015-08-20 23:13:52 -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 20f6d05b8a common: Rework the early cmdline argument parsing code to improve robustness
Also move fast_return out of individual backends and into common code.
2015-08-12 21:02:11 -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 746e3feebb mitsu9550: Log the details when we fail due to a media mismatch. 2015-01-22 13:25:48 -05:00
Solomon Peachy b7e39c63be mitsu9550: Try to validate all known print sizes against all media types. 2015-01-17 08:46:50 -05:00
Solomon Peachy bb121400d1 mitsu9550: Fix a missing '\n' in an error message. 2015-01-16 07:48:02 -05:00
Solomon Peachy 51364fc5a1 9550 is not longer WIP. 2015-01-10 17:42:11 -05:00
Solomon Peachy b5ae78f1da mitsu9550: Fix an inverted test. 2015-01-07 21:58:11 -05:00
Solomon Peachy 1741c7fa16 mitsu9550: Fix swapped row/col fields in one of the headers. 2015-01-07 10:22:26 -05:00
Solomon Peachy b731dc04f8 Update copyright notice. 2015-01-05 21:39:22 -05:00
Solomon Peachy 6263ef69fa mitsu9550: Fix more boneheaded errors in serial number parsing, and
also a structure mis-definition which broke job parsing.
2014-12-25 08:23:18 -05:00
Solomon Peachy 94d4f9b8a6 mitsu9550: reword a couple of messages. No functional change. 2014-12-20 15:16:26 -05:00