Commit graph

115 commits

Author SHA1 Message Date
Solomon Peachy ab81c3e7fc docs: Update URL to current repository and bug tracker 2024-05-29 20:34:43 -04:00
Solomon Peachy 6c0efde77c all: Pull the static device table out of the backend structure definition
...Now it's a separate structure referenced through a const pointer.

Personally I find this a bit uglier but I'm sick of the voliminous noise
that static analyzers generated from the way it was.
2024-04-05 07:50:54 -04:00
Solomon Peachy b6f7513d52 all: MEDIA_CODE argument is in _hex_ not decimal, so use strtol instead of atoi 2024-01-20 17:59:48 -05:00
Solomon Peachy 340d8f690f minor doc updates 2024-01-05 20:47:08 -05:00
Solomon Peachy 79cb5b8916 misc: Update copyright year on a few files.
I really need to put in a git hook to catch this crap.
2023-12-11 21:58:59 -05:00
Solomon Peachy f1c2004666 misc: misc fixes to make cppcheck & clang-analyze happier
Most of these are CONSTifying arguments, but there are some memory leaks too
2023-11-01 16:16:26 -04:00
Solomon Peachy eb897885e2 s6245: Minor documentation update 2023-03-29 10:36:42 -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 fb0859ede0 s6245: Fix a memory leak in an error path 2021-09-24 09:57:04 -04:00
Solomon Peachy ae7806a827 mitsud90: Major bugfixes for panorama support. 2021-07-12 14:40:28 -04:00
Solomon Peachy 94c4b86108 kodak8810: Rework panorama support. WIP! 2021-07-12 14:13:13 -04:00
Solomon Peachy 1006f6927c Some panorama work on the EK8810 and Mitsu D90.
Detect the pano flags set by Gutenprint, and error out.
2021-07-11 21:16:55 -04:00
Solomon Peachy d08feb06e8 ek8810: Correct the copy cap for the Kodak 8810 2021-06-30 23:00:17 -04:00
Solomon Peachy 955cee5098 shinko6145: Hopefully fix a bug printing 8x10" sizes. 2021-06-18 20:26:29 -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 231341dd2b ek8810: Implement support for print sizes > 8x12
Printer does it all internally, supposedly/apparently.
2021-03-15 09:42:53 -04: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 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 9875b026ad shinkos2245: Further improvements:
* Support setting image quality in the print command
 * Error code list improved.
 * Correct image correction data queries
 * Better documentation
 * Fix settime call

 Still broken:

    * Corrdata parsing
    * Print 'mode' enumeration (possibly media checking too)
    * And Printing, duh.
2020-07-30 00:07:32 -04:00
Solomon Peachy 0e59dd80f5 shinkos2245: Lots of bugfixes.
Working:
 * status query
 * firmware version query
 * media query
 * eeprom dump
 * corrtable dump
 * partial errorlog dump

Broken:
 * corrtable parsing (differs from S6145.. sigh)
 * print command decoding (ditto)
 * actual printing (after the brokenness)
2020-07-29 13:03:01 -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 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 1fe3a6066b all: Pass the USB bInterfaceNum into the backend attach() function. 2019-11-02 09:12:30 -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 13eab89923 kodak8810: Add support for double-slug cutlists. 2019-09-27 09:59:35 -04:00
Solomon Peachy b310f943ad kodak8810: Multicut support. 2019-09-22 21:50:48 -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 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 9f32458aec kodak8810: Enhancements:
* Support disabling control panel
 * Additional commands identified
 * Cutter list support [theoretical]
2019-09-19 09:00:50 -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 1b90a94f8b kodak8810: Bugfixes:
* Try to support multicut on EK8810
 * Handle INVALID_PARAMS error when submitting job
2019-09-06 23:12:40 -04:00
Solomon Peachy 70bb1a83d7 kodak8810: Correct some error messages. 2019-09-03 19:02:13 -04:00
Solomon Peachy b1a067d8b9 kodak8810: Bugfixes:
* Correct the remaining print count.  (it's a percentage)
 * Fix EXTCOUNTER invocation
2019-08-15 16:32:45 -04:00
Solomon Peachy c54c976d09 kodak8810: Fix typo in a size check. 2019-08-13 20:32:17 -04:00
Solomon Peachy 7c7ef5f7e2 kodak8810: Printer is now confirmed working. 2019-08-13 20:27:27 -04:00