Commit Graph

2395 Commits

Author SHA1 Message Date
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 9a4af3ce3e dnp/citizen: Allow iserial status to be reported, but not updated on new DS40/DS80 FW. 2024-02-26 17:10:10 -05:00
Solomon Peachy 0081e77288 dnpds40: DS40/DS80 cannot report/change iSerial settings.
...New firmware always reports iSerial, but can't change the setting.
2024-02-14 18:03:46 -05:00
Solomon Peachy 31b11b3708 DNP: DS40 v1.70 and DS80 v1.42 support iSerial reporting! 2024-02-14 11:20:30 -05:00
Solomon Peachy 478321be55 Minor corrections to the various image processing library READMEs 2024-01-23 21:05:09 -05: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 e0ec2898a6 dnpds40: media codes for this model are in decimal, not hex. 2024-01-20 18:31:53 -05:00
Solomon Peachy 12a3206847 common: Major bugfixes in the rgb8 panorama split code.
* In the blend code, don't double-increment buffer pointer
 * Use correct row count in the blend code

And in the sinfonia code:

 * Set the post-panel-split data buffer lengths correctly
2024-01-20 18:17:51 -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 008e16ec0a mitsud90: Feature enhancements:
* Report if FW version on the M1 is out of date
 * Report cutter & print count count on the M1
 * Report print count in standard stats on W5000 and M1
 * Check memory status in the "wait for ide" loop to enable pipelining
 * Better handle job-specified wait/delay-to-start time
 * Documentation consolidation/update
2024-01-19 11:27:14 -05:00
Solomon Peachy aa45db7e64 common: Supress WARNINGs in quiet mode 2024-01-14 20:54:09 -05:00
Solomon Peachy fa74802dba mitsud90: Bugfixes for panorama mode 2024-01-11 22:27:08 -05:00
Solomon Peachy 123a357a73 mitsud90: Use BACKEND_FLAG_DUMMYPRINT for testing M1 processing
...This way the full pipeline can be used.
2024-01-11 22:11:30 -05:00
Solomon Peachy 1aebde2715 mitsud90: Fix typo in a panorama check 2024-01-11 22:05:30 -05:00
Solomon Peachy 341f48dcaa Revert "mitsud90: Move all image processing to before pano splitting"
This reverts commit 69344f821a.
2024-01-11 22:04:25 -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 69344f821a mitsud90: Move all image processing to before pano splitting
...and out of the main_loop() which now only does some final sanity
checks and sets up the job
2024-01-11 21:30:35 -05:00
Solomon Peachy fe230371db mitsud90: Disable in-printer sharpening with pano prints
We don't want it messing with the blended areas

Will have to figure out a way to do the sharpening pre-split, but the
mitsu image algorithms are all set up to sharpen post-gamma.
2024-01-11 20:33:24 -05:00
Solomon Peachy a14219959e build: Minor tweak for when we can't find gutenprint headers 2024-01-10 10:44:55 -05:00
Solomon Peachy 546a63e6af sinfonia: Indlude the fw target name in the debug output 2024-01-10 09:54:08 -05:00
Solomon Peachy a65ec4fcab s2245: Don't set any IPP request bits in the PRINT command
(It's superfluous anyway)
2024-01-07 21:09:08 -05:00
Solomon Peachy 03ca5ce596 mitsud90: Theoretically we support continuous panoramas now
This required substantial rework of the "common" rgb8 pano split code to
add blending support (modeled after the DNP stuff) along with MANY
bugfixes.

The Sinfonia pano code (used by the EK8810 and EK69xx) also needed
to be tweaked, but that isn't expected to work on real printers yet due to
unknown control protocol bits.
2024-01-07 12:24:10 -05:00
Solomon Peachy e4b678ea08 sinfonia: Document mechanism used for updating firmware
....Nothing uses this yet.  Should be interesting.
2024-01-05 21:00:22 -05:00
Solomon Peachy 340d8f690f minor doc updates 2024-01-05 20:47:08 -05:00
Solomon Peachy 7993261341 ...It's 2024 now, yo. 2024-01-03 14:54:34 -05:00
Solomon Peachy f4f1bc2caa mitsu: Report media manufacturer code of 0xda as Fujifilm.
Seen in a Fujifilm ASK-300
2024-01-02 09:43:28 -05:00
Solomon Peachy 71d3f575e1 mitsu: Add fallback media type reporting for unrecogmized mfg codes
This way we can report the correct media size even if we don't
recognize the mfg code.  It will be reported as (eg) "Unknown (5x7)"
2023-12-31 21:08:20 -05:00
Solomon Peachy 58b5de29d7 regression: Remove a bad definition in the regression test list 2023-12-30 11:20:47 -05:00
Solomon Peachy e008c72f36 dnp: Add support for writing the printer serial number 2023-12-29 10:10:48 -05:00
Solomon Peachy 7775a80b46 dnp: Mark the Citizen CX-02 as capable of handling panorama prints
(I don't know what firmware versions are needed)
2023-12-28 22:01:13 -05:00
Solomon Peachy e1f591d568 dnp: Add new panorama sizes for the DS820/DS620 to the regression list 2023-12-28 21:30:06 -05:00
Solomon Peachy 4b4b2c4a95 dnp: DS820 panoramas are now supported.
* Note:  Continuous panoramas do NOT work on A4 media!
   (tested with now-current v1.21 firmware)
2023-12-28 19:05:18 -05:00
Solomon Peachy e74960ad84 DNP: Continuous & Discrete Panorama Processing
* Image must be submitted as a single, full-sized page
   (eg 6x14/6x20 on DS620)
 * Backend splits image into the necessary 2 or 3 panels w/ 2" overlap
 * Backend blends the overlapping areas together
 * Discrete panoramas work the same way, only no overlap and are larger

 Successfully tested on the DS620!
2023-12-28 11:05:15 -05:00
Solomon Peachy 581602539f dnpcitizen: Respect the job's BUFFCNTRL setting.
If it's not supplied, default to on if possible
2023-12-27 21:24:29 -05:00
Solomon Peachy bdf38b874b dnpcitizen: reformat some stuff 2023-12-27 21:14:54 -05:00
Solomon Peachy 848acdf730 common: Bugfix in the dyesub_pano_split_rgb8() function 2023-12-23 17:28:27 -05:00
Solomon Peachy 0e726e7855 hiti: Implement job combining
On 5x7 media, will combine 2* 3.5x5" prints into a single 5x7", cut in half
 On 6x8/6x9, will combine 2* 4x6" prints into a single 6x8", cut in half

As these printers don't support ribbon rewinding, this will waste less
media.  It also has the benefit of speeding up printing.
2023-12-23 14:16:23 -05:00
Solomon Peachy b499e6ba73 mitsu70x: Minor tweak for the job combining code 2023-12-23 14:12:35 -05:00
Solomon Peachy 8891ce2c19 hiti: Fix an uninitalized operation that defeated an optimization attempt 2023-12-23 14:11:38 -05:00
Solomon Peachy 0d8356861c dnp: One minor fix for the pano code 2023-12-23 09:33:10 -05:00
Solomon Peachy 3b21c7596c dnp: Backend support for panorama printing
* Requires all panels to be submitted together as *one* job.
 * "white border" and continuous panoramas are both handled.

Notes:

  * The gutenprint side is not ready yet
  * continuous panoramas require special processing
2023-12-23 09:22:51 -05:00
Solomon Peachy 6b6c9ced51 misc: Fix two (harmless) compiler warnings 2023-12-23 09:22:51 -05:00
Solomon Peachy ab92fd1fa2 sonyupd: Add USB IDs for the Nidec Copal DPB 4000/6000 and ASK-4000/2000
No idea if they'll JustWork(tm) but we'll find out!
2023-12-22 11:50:20 -05:00
Solomon Peachy 30557772c1 mitsud90: add csv data files for D90 family. 2023-12-21 20:45:27 -05:00
Solomon Peachy c0a9f7499c mitsud90: Add in a LUT for the D90, may be needed in panorama mode
(The LUT needs to be done _before_ the panel split, so it can't be done
 in-printer)
2023-12-20 19:55:52 -05:00
Solomon Peachy 3c40f4a656 dnp: Fixes for the Fujifilm ASK-400
(Still don't know the USB PID yet)
2023-12-16 16:12:18 -05:00
Solomon Peachy ed11cf105c dnp: Sticker media forces use of glossy overcoat mode 2023-12-16 16:11:29 -05:00