Commit Graph

122 Commits

Author SHA1 Message Date
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 27181eda63 common: un-hardcode 'stderr' as the logging stream
It's now a global variable that's initialized to stderr
(This is prep work for eventual support of printing applications)
2020-08-11 12:48:38 -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 e4cac4838a shinkos2145: Fix detection entries. 2020-01-31 14:26:36 -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 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 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 29958fd9ee misc: Fix some compile warnings. 2019-10-18 16:53:18 -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 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 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 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 45668d5218 sinfonia: Common overcoat mode. 2019-05-25 22:04:43 -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 473f86b0d5 common: Use generic teardown code unless necessary. 2019-05-22 20:42:12 -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 33621537d1 shinko: More unification, print method decoding. 2019-05-12 23:55:09 -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 ed8e2f18b1 shinko: Some minor cleanups.
My goal here is to eventually unify these backends.
2019-05-06 13:38:09 -04:00
Solomon Peachy ce0fa508f0 sinfonia: Common header/job parsing code for Sinfonia models.
Covers:  S2145, S6145, S6245
2019-04-28 10:34:13 -04:00
Solomon Peachy 188b59ce37 misc: Update copyright year on files modified in 2019. 2019-02-17 21:54:38 -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 a5c243717d misc: don't duplicate fast return in backend help. 2018-10-18 13:37:11 -04: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 1854a2eb3c shinko: Add support for media forcing to all shinko models. 2018-09-21 18:20:40 -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 f27eae0acf shinko: support TEST_MODE_NOATTACH 2018-05-12 21:51:59 -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 e99821f976 misc: Update the backend names. 2018-03-26 22:27:27 -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