Solomon Peachy
4a7a17fabf
canonselphy: Slightly better error logging.
2018-09-28 20:14:34 -04:00
Solomon Peachy
2e70eca4e1
all: Revamp "backend names" to align with gutenprint model names.
...
Should have done this to begin with, whoops.
(All old names are retained for backwards compatibility)
2018-09-22 09:11:14 -04:00
Solomon Peachy
3d847ab7f7
canonselphy/neo: Pass media code into backend for tests.
...
Note that neither backend validates the media type until printing
starts. Should change this..
2018-09-21 15:59:22 -04:00
Solomon Peachy
51554069b9
many: Fix up memory leaks introduced in last commits.
2018-06-17 19:17:28 -04:00
Solomon Peachy
fd9b38202e
common: better split between parsing and printing.
...
parsing returns a self-contained job, which is then passed to printing
code. No global state is modified.
mitsu 70x:
Still need to move the image processing code to the print side.
2018-06-17 12:14:46 -04:00
Solomon Peachy
f3da1fa465
canonselphy: Fix typo in cp790.
2018-05-15 19:55:51 -04:00
Solomon Peachy
e3e893e3b1
selphy: Add TEST_MDODE_NOATTACH support.
2018-05-12 21:40:29 -04:00
Solomon Peachy
390c5e2bf6
all: push printer type lookup into common code.
2018-05-09 23:09:01 -04:00
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
c3d9a9b151
misc: Fix up a pile of cppcheck warnings.
...
* memory leaks in error paths
* not checking return values in a couple of places
* logic errors in s1245
2018-04-26 14:45:32 -04:00
Solomon Peachy
e9b224dcab
canonselphy: Rejigger paper detection to handle lable media.
...
(ES2/ES20 are the only ones that handle this..)
2018-04-06 08:18:29 -04:00
Solomon Peachy
114f509ea7
canonselphy: Fix segfault on status query.
2018-04-05 19:52:53 -04:00
Solomon Peachy
e99821f976
misc: Update the backend names.
2018-03-26 22:27:27 -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
6f704c3b94
canonselphy/selphyneo: Add support for querying printer status.
...
It's full-featured on the selphyneo, but on the older ones it's dumber.
2018-01-04 10:00:57 -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
96a24d9922
canonselphy: Fix the ES3/ES30/ES40/CP790 -- Not sending footer.
2017-08-07 17:10:58 -04: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
dd31f82a81
canonselphy: Don't fail when we're on battery power.
2017-04-11 14:03:35 -04:00
Solomon Peachy
6aff01fdd1
canonselphy: Delete docs since moved to selphyneo.
2016-12-14 18:06:28 -05:00
Solomon Peachy
790bf06f9c
canonselphy/selphyneo: Support sending over a reset.
2016-12-09 21:24:19 -05: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
e960ef1e6b
Doc update for the newer CP series.
2016-06-17 08:56:47 -04:00
Solomon Peachy
9ba118c5cb
canonselphy: Rework handling of early_parse to better support CP900.
2016-04-06 21:03:15 -04:00
Solomon Peachy
99977fb227
canonselphy: Documentation corrections.
2016-01-30 13:38:17 -05: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
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
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
0e91abe75d
canonselphy: Log the job type before the job/printer mismatch error.
2015-08-12 23:15:53 -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
f67a8f8ea5
common: Eliminate early_parse() from backend.
...
only canonselphy used it. This also showed that extra_vid/pid was broken.
2015-08-12 22:51:45 -04:00
Solomon Peachy
cd03e9a22f
misc: Fix some unitialized variable warnings that show up with -Os
2015-07-04 10:12:57 -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
ba99a0a4ca
canon_selphy: Log the CP900 state.
2014-06-30 19:44:29 -04:00
Solomon Peachy
c9f650166d
canonselphy: Fix early parse on subsequent pages.
2014-06-25 11:53:12 -04:00
Solomon Peachy
fdbb7337f4
selphy: Try a hack for the CP900.
2014-06-25 11:51:00 -04:00
Solomon Peachy
0381965f40
canonselphy: Add USB PID for CP520
2014-05-30 19:08:47 -04:00
Solomon Peachy
0f6a28019e
canonselphy: Get rid of placeholders for CP910/CP820
2014-05-06 19:41:58 -04:00
Solomon Peachy
22a02e7696
canonselphy: Use CUPS error responses.
...
early_parse -> non-CUPS errors
read_parse - CUPS errors
main_loop - CUPS errors
All other cases don't matter, as they're not invoked by CUPS.
2014-04-20 11:08:04 -04:00
Solomon Peachy
fce71590c4
canonselphy: Add some preliminary docs on the CP820/CP910
2014-03-13 19:51:16 -04:00
Solomon Peachy
4f11516536
canonselphy: Remove forced manufacturer string.
2014-03-13 10:52:07 -04:00
Solomon Peachy
00e905de6e
canonselphy: Add error recovery string to all ES printers too.
...
Since the CP-series is identical (even the CP790) I decided to just try
adding the string the to the ES1 and kick off a bad print. The error
recovery just worked.
So I copied it to all the ES printers.
2014-03-05 09:43:01 -05:00
Solomon Peachy
aeeb1e3404
canonselphy: Rearrange a little, no functional change.
2014-02-18 23:33:33 -05:00