Solomon Peachy
8af7aadde3
common: Fix crash with libusb 1.0.25
...
Original patch by Ben Berg, but reworked to apply to master code
11 months ago
Solomon Peachy
3d74e90f1d
build: Separate out the data file build/install targets
1 year ago
Solomon Peachy
d7e3672fa6
common: 'FAST_RETURN=0' can now be used to disable fast_return mode.
1 year ago
Solomon Peachy
aa98d9f559
misc: add better support for GCC's static analyzer
1 year ago
Solomon Peachy
d84cd5f482
dnp: for out of media/etc situations, error out properly instead of warning and retrying indefinitely
1 year ago
Solomon Peachy
64e73f58a4
DNP: Handle mediaoffset calculations resulting in negative remaining media
...
...by just capping it to 0.
1 year ago
Solomon Peachy
e203ec1d0b
common: Fix the "offline-report" state logging
1 year ago
Solomon Peachy
29c90dc0df
various: Update copyright year
1 year ago
Solomon Peachy
b883a7b100
common: We don't need to sleep in PPD messages
1 year ago
Solomon Peachy
b5c7b5e53e
all: Move to using 'struct dyesub_job_common' in all backends
...
Should have done this a while ago. Now I can finally modify the
common job structure in just one place
1 year ago
Solomon Peachy
a396200bce
all: make "fast_return" only affect the final print in a job.
...
That way we can take advantage of printer pipelining within a job
even when fast_return is turned off.
This refactoring was also necessary for further changes in how
fast_return will work.
1 year ago
Solomon Peachy
b91eead1f0
sonyupdneo: Properly log unknown printer status attributes
1 year ago
Solomon Peachy
e32c652d64
common: custom ATTRs aren't supported by CUPS, use PPD attributes instead.
...
StpUsbBackend, StpUsbVid, StpUsbPid, StpUsbBus, StpUsbPort
plus
StpMediaID##, StpMediaName##
We can use STATE: reasons or
ATTR:printer-alert="code=XXX,severity=YYY"
ATTR:printer-alert-description="textual explanation"
code=jam,coverOpen,subunitMissing/Full/etc,and so forth...
severity=warning,critical,other
1 year ago
Solomon Peachy
3d6ff53559
common: Rework usage of connecting-to-device & add offline-report
...
The former is logged as soon as we start probing, and cleared once
we've found the printer we care about. The latter is only set
if we fail to find matching printer, and cleared otherwise
1 year ago
Solomon Peachy
87f3f39005
various: We used CUPS_BACKEND_HOLD instead of _STOP for some errors
1 year ago
Solomon Peachy
1a1e1c7dfb
common: report the usb vid, pid, bus, and port as CUPS attributes
...
ATTR:org.gutenprint.usb.backend=%s
ATTR:org.gutenprint.usb.vid=%04x
ATTR:org.gutenprint.usb.vid=%04x
ATTR:org.gutenprint.usb.bus=%03d
ATTR:org.gutenprint.usb.port=%03d
1 year ago
Solomon Peachy
80d8222551
common: Log the bus/port number when we're probing things
1 year ago
Solomon Peachy
5866b8b908
DNP: when we run into a fatal printer error, STOP the queue
...
(Instead of HOLDing the job)
1 year ago
Solomon Peachy
66d66ccb00
Documentation updates
1 year ago
Solomon Peachy
6c85215ac7
common: Be more explicit when in CUPS command mode
1 year ago
Solomon Peachy
50819d9f0a
common: key off of CONTENT_TYPE to determine if we're a command or not
1 year ago
Solomon Peachy
fb0859ede0
s6245: Fix a memory leak in an error path
1 year ago
Solomon Peachy
b056fcfb8d
lib2245: Fix a potential crash causd by not checking the return code on an allocation path
1 year ago
Solomon Peachy
596edb8039
kodak8800: Fix a memory leak in a job parsing error path
1 year ago
Solomon Peachy
e16b466e33
wigh.. wrong USB PID in the regression test list
1 year ago
Solomon Peachy
a72feb3079
sony up-971: Make tests use the 971, not 991 id.
1 year ago
Solomon Peachy
76c9e23d10
sonyupdneo: Add updated test image for UP-9x1, and expand regressions
1 year ago
Solomon Peachy
00cc091212
sonyupdneo: Don't assume UP-991AD has the same USB PID as the 971AD
...
...even though the IEEE1284 stuff might is the same, the PID may not be
1 year ago
Solomon Peachy
aa363e98b0
sonyupdneo: Fix incorrect USB PID for UP-991AD
1 year ago
Solomon Peachy
35500f3186
sonyupdneo: A bunch of minor fixes for the UP-D898 and UP-9x1 series
1 year ago
Solomon Peachy
0aa7c9ea33
Add testjob for sony up-991ad
1 year ago
Solomon Peachy
1316cfba45
Un-blacklist Kodak 9810/8800
1 year ago
Solomon Peachy
aeae9566e6
sonyupdneo: Fixes for the UP-991AD/971AD
...
Can now pass static regression tests with the windows printjob
1 year ago
Solomon Peachy
95ac5f391d
sonyupdneo: Add preliminary support for the Sony UP-971AD/UP-991AD
1 year ago
Solomon Peachy
e7c4eb4391
Add in TODOs for the Sony UP-970AD/971AD/990AD/991AD
1 year ago
Solomon Peachy
1fd5be5512
kodak70xx: Document the new 70xx 5" size codes. No functional change
1 year ago
Solomon Peachy
aad6d82569
kodak7015: additional print sizes in regression
1 year ago
Solomon Peachy
2bb883f49a
Update copyright year on a few files
1 year ago
Solomon Peachy
d4b9d75d66
dnp_citizen: When we get a media code of 0, check printer status
...
(This happens when the ribbon is exhausted, causing a parsing failure
rather than the underlying error being reported)
In the process, consolidate the various cut-n-pasted status queries
into a shared function.
1 year ago
Solomon Peachy
666952e6d9
README: Move the Sony UP-CX1 to the supported list.
1 year ago
Solomon Peachy
754bf01f80
sonyupd: Fix CUPS marker media level reporting and add a new media type
1 year ago
Solomon Peachy
85512ec8f2
lib70x: Fix a rewind check regression in the CPD80 processing code
1 year ago
Solomon Peachy
9726451a02
mitsu70x: Fix a minor issue in the valgrind result.
...
And add in a missing regression testcase!
1 year ago
Solomon Peachy
140cd844e4
Regression: Additional options to UP-CX1
1 year ago
Solomon Peachy
6c1b225b19
regression: Add S2145 sticker and Sony UP-CX1
1 year ago
Solomon Peachy
28956af578
sonyupd: Add USB PID of Sony UP-CX1
...
Should JustWork(tm)
1 year ago
Solomon Peachy
9c90c869b1
add kodak8800 to gitignore
1 year ago
Solomon Peachy
b7e615c9ba
lib70x: Rework the rewind logic a little bit
...
* Support additional rewind sizes listed in updated EK305 CPC files
* Some failure paths in the rewind checks could leave rewind enabled
1 year ago
Solomon Peachy
248a0041ea
Kodak305: updated CPC data files
...
Expands rewind table from 4 to 10 entries
1 year ago
Solomon Peachy
afb1245434
sony: Add USB ID for UP-CX1 (not expected to work)
1 year ago