Commit Graph

2216 Commits

Author SHA1 Message Date
Solomon Peachy 7e5d0b7ed1 Revert "hiti: Fix data length specified in CMD_SEPD"
This reverts commit 49a606d5a8.

I made the change in the wrong place, and it turns out it was fine.
2022-10-29 11:20:16 -04:00
Solomon Peachy 49a606d5a8 hiti: Fix data length specified in CMD_SEPD
It should be buffer_len + 8, not + 5.  For some reason the P520L (and
supposedly the P510L) worked just fine but apparently the P510S doesn't.

Fingers crossed that this is the main problem.
2022-10-29 10:53:25 -04:00
Solomon Peachy f753005e7e hiti: set HITI_NODATA in the environment to disable data table sends
o
2022-10-29 10:27:51 -04:00
Solomon Peachy 7fc8ba7088 hiti: Major improvements in parsing v2 heattable data files.
* Properly decode length
 * Handle secondary/embedded tables
 * Document the known field types
2022-10-28 01:33:25 -04:00
Solomon Peachy e5df30205c hiti: Refactor the p51x heat table loading code a bit 2022-10-27 05:17:51 -04:00
Solomon Peachy adc7d669a1 hiti: Matrix table (aka nvram) is actually 512 bytes 2022-10-22 22:03:21 -04:00
Solomon Peachy 498fde721d hiti: fix compile error (missed a chunk when commiting) 2022-10-21 17:31:25 -04:00
Solomon Peachy 3e26608a69 hiti: Query the matrix data on p51x 2022-10-20 20:56:40 -04:00
Solomon Peachy 88c4f92af7 selphyneo: Add CP1500 to blacklist 2022-10-10 15:05:17 -04:00
Solomon Peachy afb3c3b5c1 regression: Add cp1500 2022-10-10 15:04:42 -04:00
Solomon Peachy 78179680a3 selphyneo: Add USB ID for new SELPHY CP1500 2022-10-10 15:03:09 -04:00
Solomon Peachy a9bd694245 canonselphyneo: Decode more error codes and battery status 2022-10-07 12:37:51 -04:00
Solomon Peachy b2c5fbeac1 regression: Add in the only new size to the QW410 set. 2022-10-03 16:07:17 -04:00
Solomon Peachy 642a150101 dnp: Handle the 4x3, 4.5x3, 4x4. and 5,4.5x4 sizes.
These have unique MULTICUT values.   There's a gap in the sequence
that lends me to think there's another size in play, but dunno.

Updates to Gutenprint will follow
2022-10-03 16:07:15 -04:00
Solomon Peachy 89700f105f hiti: Fix incorrect data accounting if we retry a plane. 2022-10-01 21:31:22 -04:00
Solomon Peachy 1e908e0422 hiti: Properly check the job status flag.
An unknown flag is ocming up that's signifying an error state.
2022-10-01 21:10:30 -04:00
Solomon Peachy 216560c1b2 DNP: Add in some new ICC files 2022-09-29 14:45:00 -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 e6293c3a57 DNP: Rework the new sies a little based on what I've learned so far
(They're still mostly just placeholders, but eh)
2022-09-29 10:13:09 -04:00
Solomon Peachy 34ee1f2305 s2145: Add support for the Olmec OP1000 2022-09-28 21:24:59 -04:00
Solomon Peachy 9420bef7e1 DNP: Placeholder for the QW410 1.10 firmware features
Adds support for 4x4.5, 4.5x3, 4.5x4" prints.  Not sure of the details.
2022-09-28 15:35:11 -04:00
Solomon Peachy 9c93ee1091 hiti: Rework paper/ribbon queries a little
* Read the paper type from the correct offset of CMD_RDS_RSUS
 * Use structs instead of byte arrays for RIS and RSUS queries

Unable to test for regressions at the moment.
2022-09-16 14:55:01 -04:00
Solomon Peachy 04d85d4887 canonselphyneo: Add a placeholder for the new Selphy CP1500
It is _not_ currently supported.
2022-09-15 19:52:30 -04:00
Solomon Peachy 4d77315c5b dnp: Add in a missing printer error code. 2022-07-28 10:52:44 -04:00
Solomon Peachy d581ec546a kodak305: Update version check to the v3.02 firmware 2022-07-01 10:21:17 -04:00
Solomon Peachy 7fe1bd1573 Documentation update: Kodak 8800/9810 has been working for a while. 2022-06-26 20:22:20 -04:00
Solomon Peachy d47097e56d hiti: Fill in heat data files for P72x and P75x 2022-06-26 18:33:12 -04:00
Solomon Peachy 9fe00a1465 hiti: Add in heat tables for P72x and P750 2022-06-26 18:18:45 -04:00
Solomon Peachy 9316644f0b hiti: Hook up P530D, probably won't work yet. 2022-06-26 18:01:08 -04:00
Solomon Peachy a809283189 hiti: Parse v2 of the heatdata format
The structure is known, and some guesses as to the individual data blocks.
Don't know how this maps to actual printer commands just yet.
2022-06-26 17:54:54 -04:00
Solomon Peachy da2a15df6a hiti: Fix inverted vertical offset compensation 2022-06-26 17:54:54 -04:00
Solomon Peachy f4549ec407 hiti: Add in data files for the P530D model. 2022-06-26 17:54:42 -04:00
Solomon Peachy 9877cca28e hiti: Update P51x heat tables. 2022-06-26 17:54:42 -04:00
Solomon Peachy c97ffe5947 documentation update 2022-06-23 23:26:58 -04:00
Solomon Peachy ede367ee5b hiti: Use proper delays when sending SEHT and CVD data.
(Vendor code delays 200ms after sending each!)
2022-06-23 16:29:40 -04:00
Solomon Peachy 6d24d9ab46 hiti: Forgot to commit a few definitions 2022-06-21 10:55:02 -04:00
Solomon Peachy d9f9337d67 hiti: Add in an unknown command seen on the P51x. 2022-06-20 23:29:25 -04:00
Solomon Peachy d553166783 hiti: Some models only return 64 bytes of data at a time
So if we are reading larger chunks of data, keep reading until we're set.
2022-06-18 18:16:26 -04:00
Solomon Peachy 20797ec00c hiti: Another attempt to fix the P510-series wonkiness
libusb is kicking back an overflow error, which in turn comes from the
kernel.  What doesn't make sense is that the buffer is supposedly
right-sized.
2022-06-17 21:52:14 -04:00
Solomon Peachy 12ca1f99de hiti: RDS_RIS and RDS_RSUS take 0 arguments, not 1.
...Hopefully fixes the P51x probing.
2022-06-12 11:13:31 -04:00
Solomon Peachy 8150fdeb83 hiti: P51x models don't handle CMD_RDS_RSUS (request supplies status)
Instead they only use RDS_RIS (request input status)
2022-06-09 13:24:13 -04:00
Solomon Peachy 1d8f534ffc hiti: Add in a bunch of updated LUTs, and doc updates
(Affects: P51x, P52x, P72x, P75x)
2022-05-26 14:36:36 -04:00
Solomon Peachy 05e628e693 common: Use '.dylib' for DLL_SUFFIX on MacOS 2022-05-26 12:42:51 -04:00
Solomon Peachy 26f766c129 lib70x: Update documentation to include the D70-S/D707-S variants 2022-04-20 10:12:10 -04:00
Solomon Peachy 8af7aadde3 common: Fix crash with libusb 1.0.25
Original patch by Ben Berg, but reworked to apply to master code
2022-03-18 10:52:16 -04:00
Solomon Peachy 3d74e90f1d build: Separate out the data file build/install targets 2021-11-03 07:57:02 -04:00
Solomon Peachy d7e3672fa6 common: 'FAST_RETURN=0' can now be used to disable fast_return mode. 2021-10-28 16:16:23 -04:00
Solomon Peachy aa98d9f559 misc: add better support for GCC's static analyzer 2021-10-15 23:46:22 -04:00
Solomon Peachy d84cd5f482 dnp: for out of media/etc situations, error out properly instead of warning and retrying indefinitely 2021-10-12 12:56:11 -04:00
Solomon Peachy 64e73f58a4 DNP: Handle mediaoffset calculations resulting in negative remaining media
...by just capping it to 0.
2021-10-12 12:39:46 -04:00