Commit Graph

137 Commits (master)

Author SHA1 Message Date
Solomon Peachy 68f79125a9 docs: Update copyright year for files modified (so far) in 2022 2022-09-29 14:28:16 -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 d47097e56d hiti: Fill in heat data files for P72x and P75x 2022-06-26 18:33:12 -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 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 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 f9cbd6ee74 README updates:
* Consistent naming for supported/unsupported lists
 * Move Mitsu CP30 to supported list
 * Naming fixes for Mitsu CP30 / CP9xxx / CP3800 series
 * Remove HiTi P110 from list entirely
 * Don't query Manuf/Model strings for old URI scemes
2021-04-28 23:11:45 -04:00
Solomon Peachy 7fec86bac7 hiti: Add in the the CS2xx series USB PIDs, and its LUT. 2021-04-20 20:14:44 -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 e9d687b11b hiti: Add explicit version checks and recommendataions for upgrading 2021-04-16 11:12:51 -04:00
Solomon Peachy c468459dbd hiti_p75x: Fix filename of a correction table.
Better document the naming convention of the data files
2021-04-15 23:39:03 -04:00
Solomon Peachy 6d88d9dced hiti: Correct media vendor/type lookup 2021-04-14 15:21:36 -04:00
Solomon Peachy aa5093abfa hiti: More fixes for the CVD table 2021-04-14 14:54:15 -04:00
Solomon Peachy 9b561262b5 hiti: More p51x fixes.
* Use correct lengths when sending SEHT data
 * Another unknown response code (0x53)
 * Move copy count to start of job structure (global requirement)
2021-04-14 07:46:37 -04:00
Solomon Peachy f8209b6bec hiti: Fix regression in querying remaining media 2021-04-13 12:31:07 -04:00
Solomon Peachy db08aa0003 hiti: Fix regression with LED calibration query on P520L 2021-04-13 12:24:50 -04:00
Solomon Peachy a797acdda7 hiti: More fixes for the P510 series. 2021-04-13 12:06:58 -04:00
Solomon Peachy 69a80f6b1b hiti: Fix a buffer overflow 2021-04-12 19:57:48 -04:00
Solomon Peachy 88fdacf16c hiti: More fixes for P51x
Also properly parse multi-record statistics responses
2021-04-12 19:51:07 -04:00
Solomon Peachy bbd3ff4293 hiti: One more fix for the P51x series 2021-04-09 10:45:20 -04:00
Solomon Peachy 05ca53078a hiti: Properly handle an unknown command error. 2021-04-08 08:05:33 -04:00
Solomon Peachy 536043062e hiti: Don't issue ERDC_RHA on the P51x series; they don't support it. 2021-04-08 08:00:52 -04:00
Solomon Peachy 35ee06f3ab canonselphyneo: Documentation updates 2021-03-03 19:42:51 -05:00
Solomon Peachy 4f41aa37da hiti: Fixes for the P510 series.
Enable the P510, P518, and P728 series.
2021-02-26 22:04:20 -05: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 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 5c05424c8b hiti: Only P51x models have heat tables to send.
(that I know of..)
2020-06-15 17:20:14 -04:00
Solomon Peachy ebf857e8fc hiti: Use nanosleep() instead of usleep() 2020-03-24 19:33:20 -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 25a24ca536 hiti_p51x: Send over heat tables.
(Very much a WIP, and is completely untested..)
2020-03-10 20:54:22 -04:00
Solomon Peachy 494a188f1a common: Allow CORRTABLE_PATH to be overrided at runtime. 2020-02-16 16:20:47 -05:00
Solomon Peachy 5697bcfef4 hiti: Add support for planar YMC data formats.
(Isn't generated by Gutenprint yet.  If used, it will bypass the RGB LUT
 mapping, but that could mean a huge performance boost..)

And some more documentation updates..
2020-02-04 10:27:11 -05:00
Solomon Peachy 697486b467 All: Leave the "prefix" list for family or backwards-compatible names only.
...use the name in the DEVICE entry for backend matches!
2020-01-30 22:08:55 -05:00
Solomon Peachy a30fa619f1 misc: Correct a small pile of cppcheck/scan-build warnings.
No actual bugs, thankfully.
2020-01-22 11:25:06 -05:00
Solomon Peachy 626a49f05d Misc: Update address for FSF.
Also fix the copyright year for a few files.
2020-01-17 16:50:56 -05:00
Solomon Peachy 4380d91e2f hiti: Support job pipelining, and much improved job control. 2020-01-16 10:06:07 -05:00
Solomon Peachy de7bb4655b hiti: Fix incorrect copy accounting 2020-01-13 20:43:03 -05:00
Solomon Peachy 77b7b12202 misc: version bumps 2019-12-13 19:07:13 -05:00
Solomon Peachy 78c7713578 common: Instead of "media" use "deck" instead, and each one gets status/lifetime 2019-12-13 19:02:34 -05:00
Solomon Peachy 4053794395 hiti: support global stats query. 2019-12-13 15:30:29 -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 e8f69900b5 hiti: Fix new warning. 2019-11-17 20:56:12 -05:00
Solomon Peachy 91cef7f405 hiti: Fix incorrect correction offset being applied. 2019-11-17 20:53:08 -05:00
Solomon Peachy 4c321f3a8d hiti: Work around P520/P525 firmware bug (v1.19 or newer)
(Printer loses its mind if a USB_CLEAR_ENDPOINT_HALT is sent)
2019-11-15 20:47:00 -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 adec7f16e6 hiti: Add in 3D LUT files for P51x series 2019-10-29 14:52:08 -04:00
Solomon Peachy 564661a650 hiti: Fix performance "optimization" actually breaking everything. 2019-10-29 14:51:58 -04:00
Solomon Peachy 551666a50e misc: Documentation/comment updates and some dead code removed. 2019-10-28 20:32:09 -04:00
Solomon Peachy 320f2bea8e hiti: Minor performance optimization in the color conversion code. 2019-10-28 19:15:12 -04:00
Solomon Peachy f4166d43cf hiti: Sanity-check job header now. 2019-10-23 21:45:31 -04:00
Solomon Peachy b3867f7af0 misc: When there is more than once copy count source, use the largest. 2019-10-18 14:17:51 -04:00
Solomon Peachy e226319b38 hiti: TODO updates. 2019-10-09 13:38:49 -04:00
Solomon Peachy a0ad05bab4 hiti: Additional HiTi USB IDs
All the models we're likely to care about.
2019-10-05 20:39:28 -04:00
Solomon Peachy 002be3677d hiti: Document a ton of CS-specific commands.
(First steps towards supporting the CS-220e and CS-200e models)
2019-10-05 20:01:07 -04:00
Solomon Peachy 9bfa8e146c hiti: Document P52x firmware 1.19.0.X problem. 2019-10-04 10:20:20 -04:00
Solomon Peachy dc912fbcdd hiti: Implement CMD_8010 query as the first step. 2019-10-03 21:33:27 -04:00
Solomon Peachy 29c5c12959 hiti: Robustness when sending data:
* Delays after command writes
 * Delays after writing data blocks
 * Handle "Resend Data" indication from printer
2019-10-03 11:23:48 -04:00
Solomon Peachy 2ab02213bd hiti: Query Highlight Adjustment parameters
Don't know how they are consumed, so this is purely informational.
Similarly I know how to set them, but that's not implemented yet.
2019-10-03 10:34:09 -04:00
Solomon Peachy 46a750b7a7 hiti: Add USB PIDs for P750L, P720L, and document P520L/P525L as being supported. 2019-10-02 18:17:07 -04:00
Solomon Peachy 8edc6a6f68 hiti: Get rid of nonfunctional legacy windows spool parsing code
It was never finished and, absent real docs, probably never will be.
2019-10-02 08:15:22 -04:00
Solomon Peachy 33a8693f25 hiti: job query active 2019-10-01 23:36:26 -04:00
Solomon Peachy f5a689c0e2 hiti: Use requested quality in correction data lookup 2019-10-01 23:36:19 -04:00
Solomon Peachy fbc9837dbc hiti: Don't query LED and Thermal Head voltage calibration at startup
Instead only trigger them upon request.
2019-10-01 23:36:13 -04:00
Solomon Peachy 9c1f2ade5b hiti: Support reset, doc updates, and fixed start job message 2019-10-01 22:04:00 -04:00
Solomon Peachy 76410d1a2b hiti: Fix up some bugs and add regression jobs. 2019-10-01 19:17:53 -04:00
Solomon Peachy 247ee80471 hiti: Allow color correction tables to be disabled. 2019-10-01 19:06:17 -04:00
Solomon Peachy a65e8690f0 hiti: P520L can now print!
Todo:

 * Job ID accounting (queries, status/cancellation, etc)
 * Additional options (matte, quality)
 * Multicut sizes (4x6-div2, 8x6-div2, 5x7-div2)
 * Additional printers (P525, P72x, P750)
 * Calibration updates (eg H/V alignment)
 * Soft reset
2019-10-01 16:41:54 -04:00
Solomon Peachy 17e5e6064c hiti: implement a new spool format just for Gutenprint.
...Plus a ton of bugfixes.

NOTE: This sends a job over but the printer kicks back a '0301fe' code, which
is 'command sequence error'.  So..
2019-09-30 23:54:39 -04:00
Solomon Peachy e671c68c65 hiti: startjob, endjob, counter queries 2019-09-28 19:03:33 -04:00
Solomon Peachy 27e96d4da8 hiti: Port over inteprolation algorithm, and include binary data files. 2019-09-28 17:56:58 -04:00
Solomon Peachy 51fff289b9 hiti: Fix regressions in command submission. Should now work. 2019-09-28 16:08:48 -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 3d59ad96bb HiTi: Continue with updates:
* Color tables for P72x
 * Issue Sublimation Format command
 * Isue Color Heating Setting command
 * Status Summary decoded in info dump
2019-09-27 23:49:45 -04:00
Solomon Peachy 7a08d72e09 HiTi: Add WIP backend for HiTi 520L.
There's a clear path to supporting P52x, P72x, and P750.
Other models (P51x, P11x) are viable, but will require more legwork.
Remaining models (P3xx, X610, and others) are unknowns.
2019-09-26 21:06:39 -04:00