Commit Graph

94 Commits

Author SHA1 Message Date
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
Solomon Peachy 16e11039c7 shinko: Start pulling out common code into one place. 2019-05-06 17:29:57 -04:00
Solomon Peachy ab665f7d47 kodak605: Add experimental support for dumping the error log.
No idea if this will work.  Anyone got a Kodak 605 printer?
2019-02-18 13:35:10 -05:00
Solomon Peachy 188b59ce37 misc: Update copyright year on files modified in 2019. 2019-02-17 21:54:38 -05:00
Solomon Peachy 26e6bfb5fc kodak605: Help update. 2019-01-19 21:59:55 -05:00
Solomon Peachy 9f94b4a8dc kodak605: Initial crack at runtime error handling. 2019-01-18 22:41:06 -05:00
Solomon Peachy 31c171e37e kodak605: Add in an experimental command to cancel a printjob.
And document all of the "guessed" commands (mostly unimplemented)

To-Do:  rewrite the various command issuances to use the proper headers.
2019-01-17 10:15:16 -05:00
Solomon Peachy 295a921747 common: rename dyesub_read_data() to dyesub_read_file() 2019-01-13 20:09:04 -05:00
Solomon Peachy 54b253d655 common: Add a global function to read the contents of a file.
Most backends now utilize it.  The stragglers do something special.
2019-01-13 15:44:29 -05:00
Solomon Peachy 2e70eca4e1 all: Revamp "backend names" to align with gutenprint model names.
Should have done this to begin with, whoops.

(All old names are retained for backwards compatibility)
2018-09-22 09:11:14 -04:00
Solomon Peachy 970309daaf kodak68x0/605: Support passing media type into test mode. 2018-09-21 15:59:22 -04:00
Solomon Peachy fd9b38202e common: better split between parsing and printing.
parsing returns a self-contained job, which is then passed to printing
code.  No global state is modified.

mitsu 70x:
  Still need to move the image processing code to the print side.
2018-06-17 12:14:46 -04:00
Solomon Peachy bf22135ad1 kodak: suppor TEST_MODE_NOATTACH 2018-05-12 21:44:19 -04:00
Solomon Peachy 390c5e2bf6 all: push printer type lookup into common code. 2018-05-09 23:09:01 -04:00
Solomon Peachy f6445cfb4d all: Don't query the marker state at attach time
As the backend->query_marker() call will do this.
2018-04-29 14:15:54 -04:00
Solomon Peachy 5669fb3552 all: add new marker query support to backends and rejigger as needed. 2018-04-29 11:03:46 -04:00
Solomon Peachy 06dbf0fa91 common: Change backend->attach API to allow status returns 2018-04-28 19:22:05 -04:00
Solomon Peachy 7939d501d7 all: Move all backend names into aliases tables.
Update all printer entries to have unique names.  As long as the USB
VID/PID is unique, each "backend" appears unique!
2018-03-16 15:35:00 -04:00
Solomon Peachy ad3409b600 It's 2018, update appropriately. 2018-02-22 06:02:49 -05:00
Solomon Peachy c824c549fb all: use BACKEND_CUPS_RETRY_CURRENT for memory allocation failures. 2018-02-16 10:49:21 -05:00
Solomon Peachy 5b40d2e216 All: Add 'SPDX-License-Identifier' headers to all source files.
(GPL-3.0+ for everything but the S6145 backend, which is GPL-3.0+
   with an additional permission)
2017-11-17 13:34:26 -05:00
Solomon Peachy 56cd04bd2a all: Clean up the manufacturer override field in the devices. 2017-11-08 19:19:00 -05:00
Solomon Peachy 487ccc9f71 Fix up bad whitespacing. 2017-07-10 20:15:56 -04:00
Solomon Peachy 11829f2f45 Merge a pile spelling fixes from Ville Skyttä <scop@sf> 2017-05-05 08:11:04 -04:00
Solomon Peachy ea8e0b1f35 all: Fix up a a large pile of cppcheck warnings. 2016-08-21 10:23:00 -04:00
Solomon Peachy b210c5a5c0 all: Major updates to CUPS marker reporting
* use 'ribbonWax' instead of 'ink-ribbon'  (as per RFC)
 * return media type as the 'marker' name, if known or inferrable
 * Selphy CP series gained support
 * Mitsu D70 family gained support for uppper and lower decks
2016-08-19 17:40:12 -04:00
Solomon Peachy 41f5f688f7 All: Use 'ink-ribbon' instead of 'ribbon' for the supply type. 2016-08-17 23:54:08 -04:00
Solomon Peachy 4d490b60bb kodak605: Add support for CUPS marker attributes.
* Donor ribbon percentage remaining
2016-08-17 21:42:04 -04:00