Commit Graph

231 Commits

Author SHA1 Message Date
Solomon Peachy a5b2892476 mitsud90: Update docs and take a guess at a serial number query. 2019-12-20 11:37:26 -05:00
Solomon Peachy 77b7b12202 misc: version bumps 2019-12-13 19:07:13 -05:00
Solomon Peachy 388a25ab74 mitsu70x: Add generic common query support. 2019-12-13 19:02:42 -05:00
Solomon Peachy 1d331f940d misc: use CUPS_BACKEND_OK instead of 0 as a return value. 2019-12-12 07:15:25 -05:00
Solomon Peachy 2687133fe7 mitsu70x: Log the error when failing to open the LUT. 2019-11-27 08:17:16 -05:00
Solomon Peachy b41803ef9e common: Pass bInterfaceNo into backend->query_serno() call
Also allow the USB iSerialNumber value to be ignored.
2019-11-06 14:18:49 -05:00
Solomon Peachy 1fe3a6066b all: Pass the USB bInterfaceNum into the backend attach() function. 2019-11-02 09:12:30 -04:00
Solomon Peachy 551666a50e misc: Documentation/comment updates and some dead code removed. 2019-10-28 20:32:09 -04:00
Solomon Peachy 5f34b1070f misc: Fix missing newlines in multiple error messages. 2019-10-03 20:30:35 -04:00
Solomon Peachy c1b15c1fbb all: Clean up unnecessary #include 2019-09-28 11:05:42 -04:00
Solomon Peachy 9b3ae0ed5b all: Report up the low-level media ID as a PPD attribute.
(Needs changes to Gutenprint in order to be useful...)
2019-09-28 10:54:10 -04:00
Solomon Peachy 5c2f56cc31 Missed some files modified in 2019. 2019-06-03 19:40:45 -04:00
Solomon Peachy 70b10a55dd misc: It's 'Fujifilm', not 'Fuji' 2019-05-26 22:35:44 -04:00
Solomon Peachy 473aa2bbc4 misc: More static analysis fixes. 2019-05-12 11:11:51 -04:00
Solomon Peachy d9b8ccf740 mitsu70x: minor tweak to memory output 2019-05-11 18:01:38 -04:00
Solomon Peachy c38be94d99 mitsu70x: Further enhance memory query. 2019-05-11 18:00:35 -04:00
Solomon Peachy 0acd4ff5ea mitsu70x: Display memory bank status 2019-05-11 17:53:12 -04:00
Solomon Peachy 9ae4330a66 mitsu98xx: Start using lib70x -- 3D LUT only for now. 2019-02-26 07:23:14 -05:00
Solomon Peachy 11b5746884 kodak305: Update version test. 2018-10-24 21:42:56 -04:00
Solomon Peachy d37bae36e7 kodak305: Firmware 3.0 supports 5" media! 2018-10-21 22:35:19 -04:00
Solomon Peachy 5c566926d5 mitsu707: On the D707, retry on the other deck if we error out. 2018-10-18 22:17:49 -04:00
Solomon Peachy 5930981eaf mitsu707: Don't forget requested deck when iterating through pages/copies 2018-10-18 22:04:39 -04:00
Solomon Peachy da0517fa82 mitsu70x: Don't trigger fast return until job has started printing.
Longer latency until we return (and can submit another print) but will
catch many more errors.
2018-10-18 16:29:51 -04:00
Solomon Peachy a5c243717d misc: don't duplicate fast return in backend help. 2018-10-18 13:37:11 -04:00
Solomon Peachy 7ee92fbeb0 mitsu707: Handle corner case where only requested deck is offline
We have to distinguish between "deck offline, bail" vs "deck busy, retry"
2018-10-18 11:26:47 -04:00
Solomon Peachy 1eae48e761 mitsu70x: two bugfixes:
* Report -1 prints remaining when the deck is offline.
 * Check the correct deck's error status when printing.
2018-10-18 10:57:57 -04:00
Solomon Peachy e82f7cee7f mitsu70x: fix definitions for ask300 and mitsu d707 2018-09-28 16:17:31 -04:00
Solomon Peachy 2e70eca4e1 all: Revamp "backend names" to align with gutenprint model names.
Should have done this to begin with, whoops.

(All old names are retained for backwards compatibility)
2018-09-22 09:11:14 -04:00
Solomon Peachy 4f510078ca mitsu70x: Support passing media code into test mode. 2018-09-21 15:17:48 -04:00
Solomon Peachy 3b4338988f misc: Fix some minor issues reported by scan-analyze
(All remaining issues are false positives, from what I can tell)
2018-09-20 08:42:30 -04:00
Solomon Peachy ccdfcf5b07 mitsu70x: Figured out how to detect the D707's dual deck. 2018-09-19 14:40:06 -04:00
Solomon Peachy 706ff71502 mitsu70x: Do a proper BCD-to-int conversion on the unknown field
That way we won't get caught by integer overflow, making dual deck
detection more reliable.
2018-09-19 10:32:05 -04:00
Solomon Peachy 67f67d9b29 mitsu70x: Try a smarter test for the presence of the upper D70x deck. 2018-09-18 19:57:18 -04:00
Solomon Peachy c0e02d0a7c mitsu70x: Fix upper deck status reporting on D707 2018-09-18 13:49:40 -04:00
Solomon Peachy 23346080ee mitsu70x: Fix inverted test in deck selection.
And if both decks are okay to use, pick one at random.
2018-09-18 11:16:35 -04:00
Solomon Peachy 652942281c mitsu70x: Greatly enhance support for the dual-deck CP-D707DW
* Intelligent deck selection based on loaded media
 * Load-balancing between decks when printing multiple copies
 * Sane error detection and handling.
2018-09-18 10:41:24 -04:00
Solomon Peachy fd5a488924 mitsu70x: Move firmware sanity tests into attachment code. 2018-09-18 09:50:43 -04:00
Solomon Peachy ed6e734ac3 Fix a typo that accidently got committed. 2018-08-28 11:03:44 -04:00
Solomon Peachy 4b13d56d9d mitsu70x: Better support for the CP-D707DW
We can now determine job status of upper vs lower deck.

Need better smarts for determinig if we can print.

(Testing provided by a contributor who wishes to remain anonymous!)
2018-08-27 12:16:43 -04:00
Solomon Peachy c5a8283a80 common: Support a multi-page "joblist"
Port the DNP and mitsu70x job combining code to use it.

Basically, this ensures we won't spit out any extra page copies, and is
an important stepping stone towards decoupling parsing from printing.
2018-06-20 21:50:10 -04:00
Solomon Peachy de41c311db mitsu70x: fix. 2018-06-20 11:54:44 -04:00
Solomon Peachy 2a1163d155 mitsu70x: support 4x6 combining on all models, and 3.5x5 on EK305/K60. 2018-06-19 20:11:58 -04:00
Solomon Peachy b4dc6c7f25 mitsu: 70x and 98xx families perform the image processing in test modes.
This fixes a functional regression.
2018-06-19 09:04:17 -04:00
Solomon Peachy 0203308a1a mitsu70x: Move the bulk of the image processing into the main loop
Now we can finally muck with job combining on the D70 family.
2018-06-17 22:08:19 -04:00
Solomon Peachy d554030a3b mitsu70x: Simply parsing logic a little.
Fix a bug with multiple pages with the LUT enabled.
2018-06-17 21:34:14 -04:00
Solomon Peachy 43d4812856 many: Fix more memory leaks and outright bugs. 2018-06-17 21:08:17 -04:00
Solomon Peachy fd9b38202e common: better split between parsing and printing.
parsing returns a self-contained job, which is then passed to printing
code.  No global state is modified.

mitsu 70x:
  Still need to move the image processing code to the print side.
2018-06-17 12:14:46 -04:00
Solomon Peachy 28ddec9d02 mitsu 70x & d90: Documentation updates.
Continuing to learn new stuff about these models, based on RE efforts.
2018-05-20 11:31:36 -04:00
Solomon Peachy 1a8d41dad8 mitsu70x: constify a few things. 2018-05-17 20:19:16 -04:00
Solomon Peachy caaaaa63bf whitespace cleanup. 2018-05-17 20:11:30 -04:00