Commit Graph

121 Commits (master)

Author SHA1 Message Date
Solomon Peachy 8482e1c46a kodak605: Further enhancments
* Debug message improved
 * More known error codes
 * More print sizes
2023-03-28 17:59:42 -04:00
Solomon Peachy acc2b1cdf7 kodak605: Add in some common error codes observed on the EK605 2023-03-24 10:29:24 -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 1fd5be5512 kodak70xx: Document the new 70xx 5" size codes. No functional change 2021-08-19 23:57:31 -04:00
Solomon Peachy 4e8949b288 sinfonia: Move all parameter definitions into common header
Document all known-unknowns for S6145, S2245, EK8810, and EK7000.

As always, S6245 remains unknown!
2021-05-15 12:57:27 -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 36a560bda7 kodak605: Fix a memory leak. 2021-02-23 07:40:20 -05:00
Solomon Peachy 8a4fd56c13 Update 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 6f01f362eb misc: Bump copyright dates on files modified in 2020 2020-06-30 23:42:54 -04: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 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 beed73bc9d ek6800/s1245: Support generic status queries. 2019-12-17 13:21:23 -05:00
Solomon Peachy 131765cedc sinfonia: Support generic stats query across most models.
(Everything but the s1245)
2019-12-16 11:00:35 -05:00
Solomon Peachy 13d62550f3 common: Add proper definitions for special CUPS marker levels.
And report STATE(media-empty) globally based on this.
2019-12-11 23:20:04 -05:00
Solomon Peachy 3cea30605f kodak605: Silence a cppcheck warning. 2019-11-17 20:53: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 551666a50e misc: Documentation/comment updates and some dead code removed. 2019-10-28 20:32:09 -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 9ce1ce7304 kodak605: Fix inverted logic when checking free banks. 2019-09-29 22:15:55 -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 183c68a431 sinfonia: Further dumpall enhancements. 2019-09-22 00:16:00 -04:00
Solomon Peachy 6c7881679d sinfonia: More cleanups:
* Command execution error handling revamped
 * Centralized parameter lists
 * Figuring out parameters for EK8810 and EK7000
2019-09-22 00:08:05 -04:00
Solomon Peachy cbdf14a00d kodak: Document the parameters that EK7000 and EK8810 respond to. 2019-09-19 18:40:10 -04:00
Solomon Peachy 9dd36400da kodak605: Fix crash in printer attachment code. 2019-09-19 18:13:45 -04:00
Solomon Peachy 128050cfad sinfonia: Add ability to dump all parameters. 2019-09-19 15:53:43 -04:00
Solomon Peachy 1f27acbfc8 sinfonia: The 'Set Tone Curve' calls were using the wrong IDs. 2019-09-19 15:06:35 -04:00
Solomon Peachy 0229d9ae6e kodak701x: Add backprinting hooks.
Still need the gutenprint side of things.
2019-09-18 21:08:20 -04:00
Solomon Peachy 2960be2b02 sinfonia: Several updates:
* Identify (and log) some additonal command types
 * Figured out backprinting command on EK701x
 * EK70xx supports panel button disabling
2019-09-18 21:08:13 -04:00
Solomon Peachy 9510016387 sinfonia: More consolidation and updates:
- Consolidate media query
  - Correct EK8810 8x10 print counts
  - Consolidate 6R/5R print counts
  - Documentation updates
2019-09-09 20:12:24 -04:00
Solomon Peachy f41852da72 kodak70xx: >4x6 pruints need 2 banks. 2019-09-01 21:28:19 -04:00
Solomon Peachy 361c19579b kodak70xx: Printer has four banks. 2019-09-01 19:49:38 -04:00
Solomon Peachy 6c776db8f9 kodak605: Properly handle printer status while waiting for job completion. 2019-08-15 16:32:57 -04:00
Solomon Peachy a1921cf334 kodak70xx: Minor enhancements for the Kodak 7000 2019-08-12 22:23:54 -04:00
Solomon Peachy e8f0ed7d0f kodak605: Fix compile. Bad Solomon. 2019-08-02 09:34:44 -04:00
Solomon Peachy 3ed1788e04 Distinguish between Kodak 7010 and 7015.
They have distinct USB PIDs
2019-08-01 13:51:12 -04:00
Solomon Peachy d72a4702c6 sinfonia: Unify a pile of common commands across four backends
* docmd
 * flashled
 * setparam
 * getparam
 * canceljob
 * getfwinfo
 * geterrorlog
 * resetcurve
 * gettonecurve
 * settonecurve

(And the EK605 river no longer uses raw bytestreams for commands!)

Overall a ~600 line reduction of code size.  Added some functionality too.
2019-05-25 09:04:15 -04:00
Solomon Peachy d454dfffa4 sinfonia-chcs2245: Add USB PID, and regression jobs. 2019-05-23 13:08:53 -04:00
Solomon Peachy 473f86b0d5 common: Use generic teardown code unless necessary. 2019-05-22 20:42:12 -04:00
Solomon Peachy 14794e37a2 kodak70xx: Add in error codes for taken from Sinfonia docs.
(Found it online in a PDF!)
2019-05-22 20:34:02 -04:00
Solomon Peachy d39238255d kodak: Add preliminary support for Kodak 7000-series, 8810, and 6900
6900 in particular is _very_ preliminary.

Also unifies some more common sinfonia code.
2019-05-22 18:59:09 -04:00
Solomon Peachy 7768f9a970 sinfonia: Add a library "version" and have the specific backends log it. 2019-05-13 20:56:09 -04:00
Solomon Peachy a65eb72562 sinfonia: More common code & definitions, and normalize code for more. 2019-05-13 18:14:12 -04:00
Solomon Peachy b1cd5f4387 shinko: Rename common shinko library to 'sinfonia' to reflect current name 2019-05-13 10:29:00 -04:00
Solomon Peachy bfd6e1b72a shinko: More common structs and definitions. 2019-05-12 23:42:10 -04:00
Solomon Peachy 63384d9657 shinko: MEDIA_TYPE_* definitions are common, and unify EK68x0 + S1245 errors 2019-05-12 13:20:04 -04:00
Solomon Peachy f8122b0236 shinko: Extract more common code. 2019-05-09 12:39:18 -04:00