Commit Graph

124 Commits

Author SHA1 Message Date
Solomon Peachy 182754c549 Get rid of some extra semicolons. 2016-12-15 09:37:31 -05:00
Solomon Peachy f1d39aafc5 mitsu70x: Partially back out the reformatting of the component checksums
Mitsubishi is confusing sometimes..
2016-12-02 18:57:54 -05:00
Solomon Peachy d8b3b600db mitsu70x: Add some FW version sanity checks for EK305 and D70/D707
This is particularly important for the EK305.
2016-12-02 08:51:51 -05:00
Solomon Peachy c1b8f6397c mitsu70x: Display FW components like the printer self-test page. 2016-12-02 08:20:48 -05:00
Solomon Peachy e813b5120b mitsu70x: Cleanups for the disabled jobs code. 2016-11-16 22:32:06 -05:00
Solomon Peachy ff67befb68 mitsu70x: Disable jobs query altogether.
...It doesn't behave as expected.
2016-11-16 22:05:03 -05:00
Solomon Peachy 966b12827c mitsu70x: Turns out the jobstatus query has more than 2 jobs. 2016-11-16 19:53:42 -05:00
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 73785ccfca mitsu70x: Decode all known paper sizes for the D70/D80 series. 2016-11-03 09:54:28 -04:00
Solomon Peachy 8ade2d3a16 mitsu70x: Figured out lifetime print count!
At least on the EK305 (and presumably, K60)
2016-10-31 19:32:38 -04:00
Solomon Peachy 4395389ef7 mitsu70x: Don't break when we're using a raw spool file
...and the library is loaded.
2016-10-27 16:46:44 +09:00
Solomon Peachy fa3bacd780 mitsu70x: Fix incorrect error message. 2016-10-27 13:59:31 +09:00
Solomon Peachy a194c01f32 mitsu70x: the K60 subid is 0x00, not 0x02.
WTF did I get 0x02?  It's not in any of my old captures!
2016-10-26 03:50:18 -04:00
Solomon Peachy 9c7249f9e5 mitsu70x: Add sanity-checking for the model sub-id in the headers. 2016-10-26 03:12:31 -04:00
Solomon Peachy a27d381048 mitsu70x: Default to allowing rewind. Oops. 2016-10-26 03:01:04 -04:00
Solomon Peachy 59efa99f06 mitsu70x: Added a few command codes I discovered. 2016-10-23 19:47:18 -04:00
Solomon Peachy 7ec9a8234e mitsu70x: Properly handle lamination plane with 5" media. 2016-10-19 23:20:09 -04:00
Solomon Peachy fd22189a40 lib70x: Implement rewind detection support. Disabled for the moment. 2016-10-19 21:21:34 -04:00
Solomon Peachy 7a89e958c5 mitsu70x: Documentation updates. 2016-10-09 08:59:21 -04:00
Solomon Peachy b79cadc874 mitsu70x: allow PACKAGE_DATA_DIR too. 2016-10-06 08:25:30 -04:00
Solomon Peachy 741718b445 mitsu70x: default data path should be /usr/local instead. 2016-10-06 08:20:52 -04:00
Solomon Peachy 1e7d888c18 mitsu70x: Update help text a little. 2016-10-05 10:43:53 -04:00
Solomon Peachy 183e43f7d2 mitsu70x: Use dlopen() and friends for the library.
No fallback code is yet written.
2016-10-05 10:40:10 -04:00
Solomon Peachy 8b99dda63d mitsu70x: Fix build when corrtables isn't enabled. 2016-10-04 22:56:00 -04:00
Solomon Peachy 2c4dc662d0 mitsu70x: Rename the library. 2016-10-04 22:43:48 -04:00
Solomon Peachy c53a1c1c4f mitsu70x: More work moving to a proper library interface.
The eventual goal is to use dlopen().
2016-10-04 22:34:35 -04:00
Solomon Peachy 71166ba8e7 mitsu70x: The reimplemented library now generates sane output!
The backend is no longer WIP.

The Kodak 305 is now fully supported, and the other members of the
family are now considered expected to work (pending testing and
VID/PIDs)

Next up will be to whip the library into distributable shape.  Once
that's set, I'll push the new rendering code into Gutenprint.
2016-10-04 21:29:50 -04:00
Solomon Peachy f9ac4f7646 mitsu70x: Fix incorrect bytes_per_row calculation. 2016-10-04 17:08:46 -04:00
Solomon Peachy 0840ba0ec0 mitsu70x: In theory the driver is set up for the library now. 2016-10-04 09:58:25 -04:00
Solomon Peachy 6e99200729 mitsu70x: Don't blindly force speed when matte is on. 2016-09-29 21:41:12 +03:00
Solomon Peachy 1cf5793669 mitsu70x: On k60/305, only override header multicut when it's 0. 2016-09-29 21:06:20 +03:00
Solomon Peachy 8563496729 mitsu70x: Force the correct speeds on most models. 2016-09-26 07:14:31 -04:00
Solomon Peachy a313dc8689 mitsu70x: Wake up the printer before querying the status! 2016-09-21 20:22:48 -04:00
Solomon Peachy 7b236a0098 mitsu70x: Make the job query runtime optional.
Marked as unsupported by the EK305 and K60, presumably supported on the
rest.
2016-09-21 07:02:09 -04:00
Solomon Peachy f8ae72472c mitsu70x: Parse the CPC data files at runtime! 2016-09-13 23:16:58 -04:00
Solomon Peachy d980999c9e mitsu70x: Major steps towards supoprting 8bpp spool data.
* Support old 16bpp YMC data and 8bpp BGR data.
 * Tweak spool format to flag the difference
 * Load up LUT and transform contents if enabled
 * Load up Matte lamination data and use it if enabled
 * Use the data tables to perform 8bppBGR->16bppYMC mapping.

Confirmed to work, and quality is much improved over old status quo

 (Note this requires code not yet committed to gutenprint)
2016-09-10 19:44:26 -04:00
Solomon Peachy 46e795ebe1 mitsu70x: Corrected a couple more error messages. 2016-09-01 03:18:18 -04:00
Solomon Peachy ca1c8ee5ba mitsu70x: Many bugfixes based on lessons learned from the EK305 2016-09-01 02:59:45 -04:00
Solomon Peachy dc86141091 mitsud70: Support reading matte data from the proper pattern file. 2016-08-25 20:07:15 -04:00
Solomon Peachy cff03d1083 mitsu70x: Include the color lookup table in the data.
Interestingly, the LUT conversion expects the data to be in BGR
packed, not YMC planar!  So the output to the backend needs to be
changed...
2016-08-25 15:55:07 -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 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