Commit Graph

1101 Commits

Author SHA1 Message Date
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 a1395541d9 commmon: Fix help text. 2016-09-20 20:43:28 -04:00
Solomon Peachy 0addaf2be5 Add in ICC profile for Fuji ASK300 2016-09-15 14:39:35 -04:00
Solomon Peachy f8ae72472c mitsu70x: Parse the CPC data files at runtime! 2016-09-13 23:16:58 -04:00
Solomon Peachy 886c47a55f Mitsu70x: Add in the CPC files! 2016-09-13 21:01:46 -04:00
Solomon Peachy 98c4962ff8 mitsu70x: Disable correction-table build by default.
It needs library code that's not ready yet..
2016-09-10 22:01:21 -04:00
Solomon Peachy 93c2cc5959 update D70 readme. 2016-09-10 20:16:49 -04:00
Solomon Peachy 3c17321d43 mitsu70x: Add in the raw matte data and color lookup tables 2016-09-10 19:46:49 -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 3af7523f0e DNP: You'd think a simple "prints remaining" counter would be simple..
*grumblegrumblestupidpfirmwarequirks*
2016-09-06 17:32:01 -04:00
Solomon Peachy 7b52082af7 DNP: avoid a divide-by-zero error if we encounter unknown media. 2016-09-06 17:19:36 -04:00
Solomon Peachy 46e795ebe1 mitsu70x: Corrected a couple more error messages. 2016-09-01 03:18:18 -04:00
Solomon Peachy 4a8e5dbd4e common: Use the first instead of last matching set of bulk endpoints
Apparently the Mitsu K60/Kodak 305 enumerate differently on Linux vs
Windows -- With the latter, there's only two endpoints, but on Linux,
there's an additional OUT endpoint which works for everything except
image bulk transfers.
2016-09-01 02:59:49 -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 9fe2e31b8b DNP: RX1 2.00 supports mediaoffset *and* mqty_default. 2016-08-30 15:04:06 -04:00
Solomon Peachy 87b76be8c5 DNP: RX1 1.20 supports 3.5x5 * 2 2016-08-30 14:55:26 -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 200852270e Marker message should include media type where it's known. (continued) 2016-08-25 08:19:10 -04:00
Solomon Peachy 332c060681 Marker message should include media type where it's known. 2016-08-24 20:55:28 -04:00
Solomon Peachy 903caa8d32 s6145: Early work for the 6145-5A variant. (Card sizes)
Still a lot of unknowns here.
2016-08-22 12:36:12 -04:00
Solomon Peachy 34af66170b build: Experiment with LTO, fix some problems it uncovered. 2016-08-21 11:15:13 -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 0e5d7f9307 Igore *.o 2016-08-21 10:16:13 -04:00
Solomon Peachy f06fb9eec2 DNP: Fix a pile of cppcheck warnings. 2016-08-21 09:50:05 -04:00
Solomon Peachy da65db7534 build: Compile each source file separately. 2016-08-21 09:49:44 -04:00
Solomon Peachy e83b30df96 s2145: More accurate "new media" number based on our guess of media type. 2016-08-19 18:00:23 -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 d6b2ae3d3a kodsk6800: Some updates, mostly to internal notes/docs 2016-08-18 21:04:51 -04:00
Solomon Peachy a0c6637dba dnpds40: Add a media database for legacy models
So we can calculate a proper "prints remaining" percentage on printers
that don't support the mqty_default command.
2016-08-18 00:12:35 -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 aee1e6a800 dnpds40: Add support for CUPS marker attributes:
* Report actual % of remaining media on printers that support it.

TODO:  Add a table so we can infer this on other models/versions.
2016-08-17 22:06:44 -04:00
Solomon Peachy bdafbfaf87 mitsu70x: Preliminary (disabled) work for CUPS attributes. 2016-08-17 21:53:58 -04:00
Solomon Peachy dfcb165952 shinkos6245: Add support for CUPS marker attributes
* Guessimate remaining ribbon percentage
2016-08-17 21:53:58 -04:00
Solomon Peachy d696ed5aae shinkos6145: Add support for CUPS marker attributes
* Guessimate remaining ribbon percentage
2016-08-17 21:53:58 -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 fcdcc6de60 shinkos2145: Add support for CUPS marker attributes.
* Guessimate remaining ribbon into a percentage.
2016-08-17 21:42:06 -04:00
Solomon Peachy 4d490b60bb kodak605: Add support for CUPS marker attributes.
* Donor ribbon percentage remaining
2016-08-17 21:42:04 -04:00
Solomon Peachy 009b5353ef kodak68xx: Add support for CUPS marker attributes.
* Report the ribbon percentage.
2016-08-17 21:42:01 -04:00
Solomon Peachy fae0b924aa Add in some docs for lib6145 2016-08-17 15:29:33 -04:00
Solomon Peachy 332ef60933 common: Log the page counts with the 'PAGE' log target. 2016-08-16 20:49:04 -04:00
Solomon Peachy 061020a000 DNP: always send QTY to the printer, even for 1 copy jobs. 2016-07-27 12:19:32 -04:00
Solomon Peachy 4016c45759 dnp: Always report a sane value for half-size prints.
* On printers that predate rewind support, this was never reported.
* On DS620A, it was reported incorrectly.
2016-07-21 17:23:31 -04:00
Solomon Peachy ba721f6834 DNP: Clean up media quantity reporting.
* Fix it all up.
2016-07-19 18:46:10 -04:00
Solomon Peachy d0751a838e common: Fix a memory leak in the libusb code. 2016-07-19 18:46:10 -04:00
Solomon Peachy bebdb72f21 DNP: Fix formatting of 'media lot code' 2016-07-17 10:56:33 -04:00
Solomon Peachy a5ce2e21b4 dnp: Log the actual printer type in the info dump. 2016-07-16 00:31:38 -04:00
Solomon Peachy 827c6965c5 Common: Get rid of the -S, -V, -P, -T options.
They won't work until after we attach to the backend, but we need them
before we attach.  Rely on the environment variables instead.
2016-07-14 21:42:28 -04:00
Solomon Peachy 980abd7ed0 dnpds40: Another minor fix for counter output. 2016-07-14 20:49:25 -04:00