Solomon Peachy
34af66170b
build: Experiment with LTO, fix some problems it uncovered.
2016-08-21 11:15:13 -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
e83b30df96
s2145: More accurate "new media" number based on our guess of media type.
2016-08-19 18:00:23 -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
fcdcc6de60
shinkos2145: Add support for CUPS marker attributes.
...
* Guessimate remaining ribbon into a percentage.
2016-08-17 21:42:06 -04:00
Solomon Peachy
1006665a1f
s2145: Whitespace fixes.
2016-03-25 16:41:14 -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
1c3cfc996a
all: Ensure all jobid-aware printers log the ID properly.
2016-01-20 13:40:11 -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
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
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
71419234ef
s2145: Ensure the requested print method is legal.
...
And get rid of some obsolete comments.
2015-08-16 21:58:14 -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
20f6d05b8a
common: Rework the early cmdline argument parsing code to improve robustness
...
Also move fast_return out of individual backends and into common code.
2015-08-12 21:02:11 -04:00
Solomon Peachy
114202d7f5
shinko6145: Add a preliminary backend. Does NOT include library work.
2015-07-26 23:05:21 -04:00
Solomon Peachy
2181ae04b9
all: Clean up a small pile of warnings that clang-analyzer found.
2015-07-04 11:03:52 -04:00
Solomon Peachy
5fa84dc2b7
s6245: Add ability to set standby time.
2015-07-04 10:01:23 -04:00
Solomon Peachy
4489c1c0a5
misc: Clean up buffer overflows identified by cppcheck
2015-07-04 09:45:48 -04:00
Solomon Peachy
49f6d85c45
s6245/s2145: Don't abort in the face of some soft errors.
2015-07-02 23:55:22 -04:00
Solomon Peachy
8f1243de31
s2145: Get rid of early parse.
2015-07-02 22:43:43 -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
c8aa3c47da
shinkos2145: Update backend with a complete list of all error codes.
2015-02-24 23:39:57 -05:00
Solomon Peachy
04d1bbff04
s2145: One more 1245 reference removed.
2015-02-19 21:33:06 -05:00
Solomon Peachy
f7d2f6e764
s2145: Minor improvements:
...
* Don't issue a media query on every state machine loop
* Upon receiving a printer error, just abort.
* When waiting for a state change, don't run the state machine.
* Consolidate error detection into the main status query
2015-02-08 19:50:19 -05:00
Solomon Peachy
dc7ba45fe2
s1245: Create a new backend for the Shinko s1245.
...
Shinko S1245 uses a different command language as the other Shinko
models, so it's not going to share much commonality with the 2145
backend.
2015-02-08 12:11:16 -05:00
Solomon Peachy
91631651bc
shinko2145: Make it work again.
...
1) early_parse returning bogus codes
2) media query in main loop sending wrong command
3) printer type in early_parse printed incorrectly
2015-02-01 13:32:36 -05:00
Solomon Peachy
7a7d14687b
shinkos2145: Add info on the Brava 21
2015-01-21 19:40:39 -05:00
Solomon Peachy
b731dc04f8
Update copyright notice.
2015-01-05 21:39:22 -05:00
Solomon Peachy
125a4ef832
misc: Fix up some return codes to respect CUPS_BACKEND_*
2014-12-17 07:33:51 -05:00
Solomon Peachy
8b4e68c231
S2145: Add an early_parse method, so we can figure out what printer type
...
a given job is meant for -- the s2145 and s1245 have to be handled
differently.
(As an aside, the early_parse stuff is only really relevant if you're
using the backend in a standalone mode with multiple printers of the
same backend hooked up...)
2014-11-15 08:32:47 -05:00
Solomon Peachy
02f84569db
Fix build bug.
2014-10-20 18:17:29 -04:00
Solomon Peachy
d66663cfdc
s2145: Documentation updates.
2014-10-19 23:38:23 -04:00
Solomon Peachy
5e2071d0ae
s2145: Work on the s6245 and 6145.
2014-10-19 09:10:10 -04:00
Solomon Peachy
895b723ae5
s2145: Add initial support for the S1245 model.
...
With any luck, it'll acutally work.
2014-10-18 20:13:08 -04:00
Solomon Peachy
e9981107b7
s2145: We know the s1245 USB VID/PID.
...
Now whether or not it acutally *works*...
2014-10-18 13:29:14 -04:00
Solomon Peachy
e9958c39d8
s2145: use CUPS_BACKEND_*
2014-04-20 11:53:46 -04:00
Solomon Peachy
7edb9f1c67
s2145: Check print job against printer supported type, and abort
...
cleanly if the wrong media is loaded.
2014-04-20 10:28:29 -04: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
825b82ef61
shinkos2145: fast return needed tweaking.
2014-02-11 21:45:47 -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
8578561d38
shinkos2145: Fix return code for button enable/disable cmd.
...
Not that this seems to do anything. Strange.
2014-02-10 23:00:00 -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