Commit graph

2474 commits

Author SHA1 Message Date
Solomon Peachy 86a673d8d5 dnpcitizen: Clean up some of hte job parsing code
(No funcitonal difference)
2025-05-31 16:53:50 -04:00
Solomon Peachy 47975ed3c2 dnp: Don't issue any cutter commands for the partial matte image
Should hopefully resolve the problem where using advanced cutter
modes with partial matte results in the partial matte image getting
printed on its own.
2025-05-29 21:17:14 -04:00
Solomon Peachy 1ec6736633 build: Turn on -Wshadow, and fix the fallout 2025-03-03 16:30:51 -05:00
Solomon Peachy 63074c39d6 shinkos6145: Pull ImgAvgCalc out of global context
It's arguably part of the print job, but it is computed and used
back-to-back within a single function.  So make it local.
2025-03-01 21:18:56 -05:00
Solomon Peachy 49065c8be5 sonyupdneo: Only issue a usb reset for the B&W thermal models.
(ie the UP-D898 and UP-D971/991)

Have a report that the reset breaks the UP-DR80 family.
2025-01-16 08:33:39 -05:00
Solomon Peachy 28fe002129 sonyupdneo: Decode paper feed error 2025-01-15 20:19:22 -05:00
Solomon Peachy ed5b47a720 common: Fix parsing of IEEE1284 string
Broke in 484c53fa1a (April 2024!)
2025-01-15 18:40:13 -05:00
Solomon Peachy e6202fad97 mitsuw5k: Extend the spool format to specify copy count 2025-01-07 18:03:39 -05:00
Solomon Peachy db3977beae common: Update copyright years I'd missed 2025-01-05 21:34:06 -05:00
Solomon Peachy 2cd4c4d9bb common: (usually) Ignore the 'copies' argument on the command line
We're only supposed to pay attention to this when a file is specified
2025-01-05 21:33:07 -05:00
Solomon Peachy be55ead6eb mitsu d70/d90: Extend spool format to include a page copy count
These printers don't support hardware copies but we want the backend
to be able to handle this so we can:

 * avoid re-running the heavy image processing steps each time
 * allow for automatic Nup/cut page combining

Requires a change in gutenprint to utilize
2025-01-05 21:33:03 -05:00
Solomon Peachy f277217339 kodak8800: Convert to common job format
Quite surprised I'd missed this!
2025-01-05 21:33:01 -05:00
Solomon Peachy c06221488a various: More consistency with respect to copy generation
* Always use the larger of
   * specified count from spool file
   * count from cmdline etc
 * Always report the copy count used to the common code
2025-01-05 21:20:02 -05:00
Solomon Peachy b66656fd7d Update some comments for consistency 2025-01-05 21:00:34 -05:00
Solomon Peachy 55a3a82321 dnp: Decode the panorama error condition 2025-01-04 19:33:53 -05:00
Solomon Peachy 86abbddb60 common: Disable -Wcast-qual in the backend code.
The CFLAGS that gutenprint uses upstream causes a ton of noisy warnings
2024-12-24 09:24:21 -05:00
Solomon Peachy 8d40045692 sinfonia: Fix a (thankfully) harmless overflow in the button command 2024-12-24 09:20:47 -05:00
Solomon Peachy eaa65b12ff CP-D90DW-SL is now working 2024-12-17 13:10:40 -05:00
Solomon Peachy 61c8726678 mitsud90: Fixes for the D90-SL variant
Got a sniff of it printing.  Apparently the only change looks to be a
single byte in the plane/data header.
2024-12-16 19:59:46 -05:00
Solomon Peachy fb0fae779b libmitsu: Recognize SilverLab-branded media 2024-12-16 19:58:34 -05:00
Solomon Peachy e82aeb6918 mitsud90: Fix regression on W5000 model 2024-12-11 08:21:51 -05:00
Solomon Peachy a9e702979f mitsud90: CP-D90DW-SL uses a variation of the PAGE START command
(changed offset 0x05 from 0x33 to 0x03)
2024-12-10 19:26:17 -05:00
Solomon Peachy 608fe617a3 mitsud90: bump version 2024-11-22 07:09:21 -05:00
Solomon Peachy f1915ae58e mitsud90: Add the USB ID for the Mitsubishi CP-D90DW-SL variant
No idea if it actually works but this is a start.
2024-11-22 07:04:28 -05:00
Solomon Peachy 9348003199 lib2245: Implement ip_getMemorySize() for the KA6900.
ip_imageProc() now intentionally aborts.
2024-11-12 19:56:23 -05:00
Solomon Peachy 718c505ba5 hiti: Add the Swiftfoto KSF-10R in parallel to the Joyspace U826
It's not clear if this the KSF-10R will supplant the U826 branding,
but initial indications are that they share the same USB IDs.

...So treat them the same for now.
2024-10-24 21:48:48 -04:00
Solomon Peachy 19765bb5dc kodak6900: Update understanding of the IPP data structures 2024-09-08 10:47:42 -04:00
Solomon Peachy 39a753e2c7 lib2245: Fix segfault on S2245 printers. 2024-09-06 09:57:31 -04:00
Solomon Peachy 943e4f4780 kodak6900: update to current ICC profile 2024-09-05 19:54:18 -04:00
Solomon Peachy 0377aab0ce libs2245: Correct copyright year. 2024-09-04 07:59:53 -04:00
Solomon Peachy f4ebf1ac62 lib2245: Basic handling of the Kodak 6900 IPP data.
IPP data is now parsed and validated, and we can successfully complete
an ip_imageProc() run.  Unfortunately this is still insufficient:

 * Additional fields in IppConf header not yet handled
   (some are recognized/known)
 * Printer requires additonal data to be sent over:
   * 12 additional rows per plane (beyond the size in the print cmd)
   * 9856 bytes of additional info (partial IPP headers plus ???)
   * ip_getMemorySize() needs to take all of this into account
 * Panorama processing adds another layer of fun on top of that.
2024-08-29 12:46:20 -04:00
Solomon Peachy 2414d3c8ac kodak6900: Printer doesn't return a list of legal print sizes
...so don't check.
2024-08-29 12:46:10 -04:00
Solomon Peachy e1ca9e3210 kodak6900: More fixes identified to the print flow
NOTE: WILL NOT PRINT!

Requires some substantial work on the image processing library.
2024-08-27 13:23:19 -04:00
Solomon Peachy 07cc1fbd11 kodak6900: Further additions and fixes.
* Can now query the IPP data.
 * Respect IPP response length on S2245 and S6145
2024-08-25 16:18:36 -04:00
Solomon Peachy ce631ebfdc ek6900: Initial quirks for the Kodak 6900 2024-08-21 16:52:00 -04:00
Solomon Peachy c0bf6052c3 hiti: Fix print combining for 5x3.5" prints 2024-08-21 14:41:19 -04:00
Solomon Peachy 80fbc39703 hiti: fix dual 2x6*2 job combining into a single 2x6*4 job 2024-08-21 13:43:09 -04:00
Solomon Peachy 5bad97fab5 hiti: add w432h576-div4 to regression test sizes. 2024-08-21 13:29:13 -04:00
Solomon Peachy 9190a17433 hiti: Theoretically support job combining with 2x6 strips 2024-08-21 13:20:26 -04:00
Solomon Peachy 95607d4cf8 hiti: Fix failure to print on P52x models. 2024-08-21 12:05:13 -04:00
Solomon Peachy d5d54749ef hiti: fix 6x5/6x6" prints on 6x9" media 2024-08-20 21:05:28 -04:00
Solomon Peachy 0b472418e4 hiti: Fix the incorrect template for the 3D LUT files. 2024-08-20 20:14:22 -04:00
Solomon Peachy dbdb8f12a0 hiti: Send the unknown 8011 command on the P52x family. 2024-08-19 08:24:17 -04:00
Solomon Peachy f3face3408 s2245: Fix a regression failure 2024-08-19 08:12:19 -04:00
Solomon Peachy c95564b0dd kodak69xx: Add in panorma detection and splitting. (Untested)
Much like the EK8810, I still don't know what exactly is needed to tell
the printer to do the fancy panorama handling.  That should change within
a couple of weeks.
2024-08-17 18:49:38 -04:00
Solomon Peachy 4ea3205b87 Move the JoySpace U826 over to the "confirmed working" list. 2024-08-16 07:41:53 -04:00
Solomon Peachy b0b5ab117e hiti: Implement support for additional media types 2024-08-15 19:38:32 -04:00
Solomon Peachy d0b58f347d hiti: Add a large pile of data files for ri/ro series. 2024-08-15 18:16:50 -04:00
Solomon Peachy cb772493f4 hiti: Support for 6x6 and 6x5 print sizes 2024-08-14 18:28:35 -04:00
Solomon Peachy 3b5e406bc6 hiti: Support for the Joyspace U826
This is apparently a rebadged P525L, but with a couple of new features:

 * Addtitional media types (Sticker, Transparent, Metallic)
 * Ribbon rewinding support
 * Identifies itself as 'ro' type (instead of 'ri')

Still todo:

 * figure out how to support additional media types
 * Figure out rewind feature ("delayed availability" WTF?)
 * Add new LUT and heat file types to the decoder ring
2024-08-13 14:18:36 -04:00