Solomon Peachy
11829f2f45
Merge a pile spelling fixes from Ville Skyttä <scop@sf>
6 years ago
Solomon Peachy
182754c549
Get rid of some extra semicolons.
7 years ago
Solomon Peachy
34af66170b
build: Experiment with LTO, fix some problems it uncovered.
7 years ago
Solomon Peachy
ea8e0b1f35
all: Fix up a a large pile of cppcheck warnings.
7 years ago
Solomon Peachy
e83b30df96
s2145: More accurate "new media" number based on our guess of media type.
7 years ago
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
7 years ago
Solomon Peachy
41f5f688f7
All: Use 'ink-ribbon' instead of 'ribbon' for the supply type.
7 years ago
Solomon Peachy
fcdcc6de60
shinkos2145: Add support for CUPS marker attributes.
...
* Guessimate remaining ribbon into a percentage.
7 years ago
Solomon Peachy
1006665a1f
s2145: Whitespace fixes.
7 years ago
Solomon Peachy
8e35e5608b
all: It's 2016 now, update the copyright text.
...
Also, correct the initial dates for a few of the backends.
7 years ago
Solomon Peachy
1c3cfc996a
all: Ensure all jobid-aware printers log the ID properly.
7 years ago
Solomon Peachy
298d7a5d6d
all: Make sure the requested jobid isn't already in use!
7 years ago
Solomon Peachy
5dda0018d2
all: Get rid of a little more getopt detritus.
8 years ago
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!
8 years ago
Solomon Peachy
cc87cd1cc3
all: Add some print quantity range checks where we can.
...
Most backends don't verify against remaining media though.
8 years ago
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.
8 years ago
Solomon Peachy
71419234ef
s2145: Ensure the requested print method is legal.
...
And get rid of some obsolete comments.
8 years ago
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.
8 years ago
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.
8 years ago
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.
8 years ago
Solomon Peachy
114202d7f5
shinko6145: Add a preliminary backend. Does NOT include library work.
8 years ago
Solomon Peachy
2181ae04b9
all: Clean up a small pile of warnings that clang-analyzer found.
8 years ago
Solomon Peachy
5fa84dc2b7
s6245: Add ability to set standby time.
8 years ago
Solomon Peachy
4489c1c0a5
misc: Clean up buffer overflows identified by cppcheck
8 years ago
Solomon Peachy
49f6d85c45
s6245/s2145: Don't abort in the face of some soft errors.
8 years ago
Solomon Peachy
8f1243de31
s2145: Get rid of early parse.
8 years ago
Solomon Peachy
992e551a02
all: Fix command like parsing when the argument has an option.
...
This was a longstanding bug. Oops.
8 years ago
Solomon Peachy
24c3550feb
all: Ensure all malloc() failures are caught and logged.
8 years ago
Solomon Peachy
c8aa3c47da
shinkos2145: Update backend with a complete list of all error codes.
8 years ago
Solomon Peachy
04d1bbff04
s2145: One more 1245 reference removed.
8 years ago
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
8 years ago
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.
8 years ago
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
8 years ago
Solomon Peachy
7a7d14687b
shinkos2145: Add info on the Brava 21
8 years ago
Solomon Peachy
b731dc04f8
Update copyright notice.
9 years ago
Solomon Peachy
125a4ef832
misc: Fix up some return codes to respect CUPS_BACKEND_*
9 years ago
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...)
9 years ago
Solomon Peachy
02f84569db
Fix build bug.
9 years ago
Solomon Peachy
d66663cfdc
s2145: Documentation updates.
9 years ago
Solomon Peachy
5e2071d0ae
s2145: Work on the s6245 and 6145.
9 years ago
Solomon Peachy
895b723ae5
s2145: Add initial support for the S1245 model.
...
With any luck, it'll acutally work.
9 years ago
Solomon Peachy
e9981107b7
s2145: We know the s1245 USB VID/PID.
...
Now whether or not it acutally *works*...
9 years ago
Solomon Peachy
e9958c39d8
s2145: use CUPS_BACKEND_*
9 years ago
Solomon Peachy
7edb9f1c67
s2145: Check print job against printer supported type, and abort
...
cleanly if the wrong media is loaded.
9 years ago
Solomon Peachy
1faa032ea6
backends: Revamp cmdline args so you can specify multiple backend args at once.
9 years ago
Solomon Peachy
825b82ef61
shinkos2145: fast return needed tweaking.
9 years ago
Solomon Peachy
5f8780cc3c
More cppcheck-driven fixes. Mainly a bunch of memory leaks.
9 years ago
Solomon Peachy
8578561d38
shinkos2145: Fix return code for button enable/disable cmd.
...
Not that this seems to do anything. Strange.
9 years ago
Solomon Peachy
d7db0bbdbe
Massive overhaul of command line handling.
...
Completely untested with real printers.
That happens tonight! :)
9 years ago
Solomon Peachy
34e3b64fc4
all: Get rid of the now-obsolete 'multipage_capable' flag.
9 years ago