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
Solomon Peachy
425d68c449
kodak68x0/605: We know about another paper type.
...
0x2c == 6R/6TR2 (396-2941)
Add it to the detection list of both printers.
2016-06-20 21:43:59 -04:00
Solomon Peachy
8e35e5608b
all: It's 2016 now, update the copyright text.
...
Also, correct the initial dates for a few of the backends.
2016-01-24 09:44:19 -05:00
Solomon Peachy
298d7a5d6d
all: Make sure the requested jobid isn't already in use!
2016-01-15 08:24:23 -05:00
Solomon Peachy
5dda0018d2
all: Get rid of a little more getopt detritus.
2015-08-25 22:47:26 -04:00
Solomon Peachy
3d8375d7c6
kodak605: misc updates.
2015-08-25 20:58:57 -04:00
Solomon Peachy
70ace070e8
kodak605: Major strides on status decoding (and other stuff)
...
Major commonalities with Shinko S2145
2015-08-25 18:13:00 -04:00
Solomon Peachy
78a4f8ec65
Documentation updates.
2015-08-24 22:24:08 -04:00
Solomon Peachy
b343d56f1e
all: Get rid of the remainder of the old two-stage cmdline parsing
...
All backend->cmdline_arg() invocations are done with intent to execute!
2015-08-24 18:49:51 -04:00
Solomon Peachy
3da69ee55b
kodak605: Load media at attach time.
2015-08-24 18:49:51 -04:00
Solomon Peachy
cc87cd1cc3
all: Add some print quantity range checks where we can.
...
Most backends don't verify against remaining media though.
2015-08-20 23:22:35 -04:00
Solomon Peachy
175f6a52d8
all: For printers that automatically generate copies, get rid of
...
leftover manual copy handling code.
The exception is the dnp backend, it needs do use manual copies under
some situations.
2015-08-20 23:13:52 -04:00
Solomon Peachy
2cffab375b
kodak605: Further attempts to decode status messages.
2015-08-18 20:00:53 -04:00
Solomon Peachy
9db64590df
kodak605: Forgot to query the results after sending the image header.
2015-08-18 00:39:13 -04:00
Solomon Peachy
a4c60fc21f
kodak605: Major update to bring code closer to the 6800 backend flow.
...
Also attempted to decode the status structure as much as possible. No
idea how to determine "idle" vs "busy" or whatever..
2015-08-18 00:27:45 -04:00
Solomon Peachy
db0c7d8b99
all: Eliminate the multi-stage cmdline parsing.
...
Unfortunately this means we lose the '-B backend' method, but the
overall control flow is much, much simpler now.
2015-08-13 21:09:56 -04:00
Solomon Peachy
de8a32424c
all: Unified approach to extra_vid/pid/type
...
This required a modification to all attach() methods.
Also, fix canonselphy's parsing/attachment code.
2015-08-12 22:56:29 -04:00
Solomon Peachy
992e551a02
all: Fix command like parsing when the argument has an option.
...
This was a longstanding bug. Oops.
2015-06-30 21:33:02 -04:00
Solomon Peachy
24c3550feb
all: Ensure all malloc() failures are caught and logged.
2015-06-23 20:48:52 -04:00
Solomon Peachy
b731dc04f8
Update copyright notice.
2015-01-05 21:39:22 -05:00
Solomon Peachy
ddd0d254be
kodak6800/kodak605: convert to CUPS_BACKEND_* return codes.
2014-04-25 11:34:53 -04:00
Solomon Peachy
fa3e2edbc5
Kodak605: Partial decode of the media structure.
2014-04-19 11:34:07 -04:00
Solomon Peachy
158cb50128
kodak605/6800: Use the greater of printjob.copies and cups.copies.
...
Also put in experimental code in the '6800 backend that uses the printer
to generate copies. (Unsure if the printers actually support it...)
2014-02-15 08:37:57 -05:00
Solomon Peachy
1faa032ea6
backends: Revamp cmdline args so you can specify multiple backend args at once.
2014-02-11 22:45:14 -05:00
Solomon Peachy
5f8780cc3c
More cppcheck-driven fixes. Mainly a bunch of memory leaks.
2014-02-11 20:11:33 -05:00
Solomon Peachy
d7db0bbdbe
Massive overhaul of command line handling.
...
Completely untested with real printers.
That happens tonight! :)
2014-02-10 20:10:36 -05:00
Solomon Peachy
34e3b64fc4
all: Get rid of the now-obsolete 'multipage_capable' flag.
2014-01-30 21:37:07 -05:00
Solomon Peachy
6c335ea1e4
Update copyright notice; it's 2014 now!
2014-01-23 16:07:25 -05:00
Solomon Peachy
6acc8b553c
backends: say "## copies remaining" to differentiate between pages.
2014-01-22 09:10:34 -05:00
Solomon Peachy
4aa050f695
backends: Fix a double-free error in all backends.
...
Since we always call read_parse() we always free the data buffers. Make
sure we set them to NULL or we will try to double-free them when we
terminate normally.
2014-01-21 20:34:00 -05:00
Solomon Peachy
2eb20f90f4
backends: A 0-length read when doing our inital header load is
...
and EOF, so treat it as such and don't error out.
2014-01-20 19:41:52 -05:00
Solomon Peachy
d7d60b7191
backends: Enhance to add multipage capabilities.
...
DNP ds40/ds80 and Sony UP-DR150/200 backends do NOT support this yet.
Next up is to commit the core.
2014-01-17 22:54:25 -05:00
Solomon Peachy
817b6b04fc
all: Handle short reads when loading in initial printjob header.
2014-01-13 18:30:30 -05:00
Solomon Peachy
82c72fcd99
Add a 'C' size test print for the Canon SELPHY ES1.
2014-01-13 05:41:48 -05:00
Solomon Peachy
1888254860
all: Move to using the common read_data() instead of direct libusb functions.
2013-12-21 22:55:33 -05:00
Solomon Peachy
875ebd2d76
all: Silence nearly all DEBUG outputs unless DYESUB_DEBUG is set in the
...
environment.
2013-12-21 22:15:18 -05:00
Solomon Peachy
28d8b5a629
kodak605: Clean out a little cruft.
2013-12-03 21:28:39 -05:00
Solomon Peachy
39a6198019
kodak605: Add support for tone curves.
2013-11-24 11:01:44 -05:00