Commit graph

294 commits

Author SHA1 Message Date
Solomon Peachy a604625ed5 mitsud80: We may need to slow print speed for some SuperFine prints
We can always rewind, but we might need to slow down to do so safely.

Requires an updated lib70x.
2024-06-03 21:59:16 -04:00
Solomon Peachy 845125bdbb mitsud80: Corrections for superfine and rewind operation
* ECPC is only passed into the library when it needs to be used
   * ie glossy 4x6" prints in superfine mode
 * Disallow rewind in fastest (ie Fine) print speeds
 * Disallow rewind for matte prints

This is ..experimental, have no way to test this currently.
2024-06-02 16:19:37 -04:00
Solomon Peachy ab81c3e7fc docs: Update URL to current repository and bug tracker 2024-05-29 20:34:43 -04:00
Solomon Peachy 6c0efde77c all: Pull the static device table out of the backend structure definition
...Now it's a separate structure referenced through a const pointer.

Personally I find this a bit uglier but I'm sick of the voliminous noise
that static analyzers generated from the way it was.
2024-04-05 07:50:54 -04:00
Solomon Peachy 23019c1558 mitsu70x: Distinguish between jobs that we processed vs those submitted as raw
The library code to write the image data to the printer reverses the
row data in the buffer, but pre-rendered jobs are already in the
correct order.
2024-03-18 08:44:58 -04:00
Solomon Peachy ee741aa9f6 mitsu70x: Fix a major regression introduced in a047969950
Two bugs canceled each other out; when the first was fixed, the second
(long present) bug expressed itself.
2024-03-17 16:07:33 -04:00
Solomon Peachy a047969950 mitsu: Set the 'is_raw' flag after processing 8bpp input into native
...This will prevent double-processing.
2024-01-20 20:55:33 -05:00
Solomon Peachy 12f8c1c231 mitsu70x: Fix incorrect page combining for the Kodak 305 and Mitsu K60
2* 3.5x5" -> 5x7-div2 overpadded by 11 rows, overflowing a buffer.
2* 4x6 -> 8x6-div2 underpadded by 2 rows, possibly resulting in a white margin.
2024-01-20 20:45:19 -05:00
Solomon Peachy b6f7513d52 all: MEDIA_CODE argument is in _hex_ not decimal, so use strtol instead of atoi 2024-01-20 17:59:48 -05:00
Solomon Peachy 981ba9acd4 Revert "mitsu70x: Move full image procesisng pipeline into read_parse"
This reverts commit 81193f9675.

It breaks job combining
2024-01-11 22:03:52 -05:00
Solomon Peachy 81193f9675 mitsu70x: Move full image procesisng pipeline into read_parse
No need to call main_loop to validate the full flow
2024-01-11 21:34:55 -05:00
Solomon Peachy 340d8f690f minor doc updates 2024-01-05 20:47:08 -05:00
Solomon Peachy b499e6ba73 mitsu70x: Minor tweak for the job combining code 2023-12-23 14:12:35 -05:00
Solomon Peachy f1c2004666 misc: misc fixes to make cppcheck & clang-analyze happier
Most of these are CONSTifying arguments, but there are some memory leaks too
2023-11-01 16:16:26 -04:00
Solomon Peachy 2269ba3ebd mitsu70x: Add support for the DNP DS480 and DS680 models.
These are variations of the Mitsubishi D70, and were only ever sold
as part of a complete minilab-eseque system.
2023-07-23 17:45:02 -04:00
Solomon Peachy 68f79125a9 docs: Update copyright year for files modified (so far) in 2022 2022-09-29 14:28:16 -04:00
Solomon Peachy d581ec546a kodak305: Update version check to the v3.02 firmware 2022-07-01 10:21:17 -04:00
Solomon Peachy b5c7b5e53e all: Move to using 'struct dyesub_job_common' in all backends
Should have done this a while ago.  Now I can finally modify the
common job structure in just one place
2021-09-30 14:52:11 -04:00
Solomon Peachy a396200bce all: make "fast_return" only affect the final print in a job.
That way we can take advantage of printer pipelining within a job
even when fast_return is turned off.

This refactoring was also necessary for further changes in how
fast_return will work.
2021-09-30 13:55:27 -04:00
Solomon Peachy 9726451a02 mitsu70x: Fix a minor issue in the valgrind result.
And add in a missing regression testcase!
2021-08-14 08:08:01 -04:00
Solomon Peachy f7970ea003 kodak1400: Add error message parsing. Purely informative. 2021-07-06 19:37:42 -04:00
Solomon Peachy 33beff44c4 mitsu70x: All vert/horiz calibration is in pixels, aka 0.085mm 2021-05-16 08:08:12 -04:00
Solomon Peachy 4cde33cada mitsu70x: Properly decode the horizontal calibration data 2021-05-16 07:51:54 -04:00
Solomon Peachy 126a667d94 mitsu70x: Better general test for -S models. 2021-05-14 15:04:10 -04:00
Solomon Peachy fd2d143363 mitsu70x: Fix inverted calculation. 2021-05-14 11:14:12 -04:00
Solomon Peachy da592851dd mitsu70x: Figured out how to interpret the vertical calibration 2021-05-14 11:08:19 -04:00
Solomon Peachy aaa63cac89 mitsu70x: Support Mitsubishi CP-K60DW-S "HG" media
Apparently there's a "media subtype' field, and HG media needs a
different calibration data file.
2021-05-14 09:15:03 -04:00
Solomon Peachy 466222ea68 mitsu70x: Documentation updates. 2021-05-14 06:30:07 -04:00
Solomon Peachy afbff6b5b9 mitsu70x: Figured out the eeprom dump 2021-05-11 21:07:20 -04:00
Solomon Peachy c5f0c89789 mitsu70x: Dump additional tables & eeprom in test mode 2021-05-11 20:52:18 -04:00
Solomon Peachy 7ce9bcfecc mitsu70x: Fix lifetime print counter
* Figuring out a bunch of test stuff
 * Documentation
2021-05-11 20:45:36 -04:00
Solomon Peachy 4a1c7804bd mitsu70x: Add support for printer-generated test prints
Seems to work on EK305 and D80.
2021-05-06 20:32:15 -04:00
Solomon Peachy 9add10fd93 mitsu70x: Correct the total print count in the printer stats code path 2021-05-06 14:12:38 -04:00
Solomon Peachy 48d34318d0 mitsu70x: Minor documentation update. 2021-05-05 16:15:11 -04:00
Solomon Peachy e3ab11a975 misc: Get rid of all USB_VID_*/USB_PID_* definitions
Directly reference the IDs in the lookup tables, like in linux-kernel
2021-04-16 21:12:54 -04:00
Solomon Peachy 6fb05d5cf0 mitsu70x: Fix a missing \n in a log message 2021-04-14 07:44:37 -04:00
Solomon Peachy 8a4fd56c13 Update shaftnet.org URLS from http -> https
Update copyright year as appropriate
2021-01-23 10:47:01 -05:00
Solomon Peachy 781d87aa88 mitsi70x: Properly report the '-S' variants of the D70/D707/D80 models
(we don't know how to detect the CP-D80DW-S variant yet)
2021-01-13 23:08:01 -05:00
Solomon Peachy c14dc23de3 lib70x: Library enhancements for CP30D family
* 3D LUT processed in planar format
 * Sharpening support (not implemented yet)
2020-12-05 18:42:46 -05:00
Solomon Peachy cfe0fd8004 common: the 'dyesub_backend' structure is now const everywhere. 2020-10-05 22:27:08 -04:00
Solomon Peachy 322ad8d7b7 common: Introduce a common USB connection object, and use it! 2020-08-12 20:04:54 -04:00
Solomon Peachy 434b693413 mitsu70x: Experimental code to enable CP-D70DW-S 2020-03-30 14:17:48 -04:00
Solomon Peachy f79500986f misc: Shut up a large pile of compile warnings with pedantic compilers 2020-03-24 18:23:00 -04:00
Solomon Peachy 53ffda7aad misc: consolidate <config.h> inclusion 2020-03-13 09:03:11 -04:00
Solomon Peachy 4c5e93811e misc: Fix a small pile of static analysis problems 2020-03-03 00:16:05 -05:00
Solomon Peachy a486a91dfb mitsu: Enhance media type reporting to handle per-model variations 2020-02-28 23:24:28 -05:00
Solomon Peachy 6505ec5d91 mitsu: Don't abort on attaching if the library isn't loaded.
Instead, only abort on job parsing, and even then only if it's necessary.
2020-02-27 11:53:31 -05:00
Solomon Peachy b750c4bf83 mitsux70x: static assertion for header. 2020-02-25 21:27:12 -05:00
Solomon Peachy 494a188f1a common: Allow CORRTABLE_PATH to be overrided at runtime. 2020-02-16 16:20:47 -05:00
Solomon Peachy 1b6d98a292 mitsu: Document some more CP-M1 stuff, and move a little common code. 2020-02-11 21:15:08 -05:00