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
Solomon Peachy
9201105c66
all: Fixed all compiler warnings.
2013-11-23 19:51:55 -05:00
Solomon Peachy
48b9931bf4
kodak605: Add a delay after sending image data.
...
This hopefully will improve reliability.
2013-11-23 14:45:56 -05:00
Solomon Peachy
deaef190c1
kodak605: Fix more bugs.
2013-11-22 07:03:51 -05:00
Solomon Peachy
eb08c516c7
kodak605: lengths are LITTLE endian.
2013-11-21 22:05:32 -05:00
Solomon Peachy
8bd47ddd6f
kodak605: add support for querying printer status/media status.
...
Also fix documentation.
2013-11-21 09:30:50 -05:00
Solomon Peachy
2b106a4555
kodak605: Theoretically handle copies properly.
2013-11-20 21:47:16 -05:00
Solomon Peachy
ee9ca87e8e
kodak605: Add an initial implementation of a Kodak 605 backend
2013-11-20 21:33:46 -05:00