Commit Graph

2194 Commits (04d85d4887f1a4be5d38d0f909148dc9187c7a3a)

Author SHA1 Message Date
Solomon Peachy 04d85d4887 canonselphyneo: Add a placeholder for the new Selphy CP1500
It is _not_ currently supported.
2022-09-15 19:52:30 -04:00
Solomon Peachy 4d77315c5b dnp: Add in a missing printer error code. 2022-07-28 10:52:44 -04:00
Solomon Peachy d581ec546a kodak305: Update version check to the v3.02 firmware 2022-07-01 10:21:17 -04:00
Solomon Peachy 7fe1bd1573 Documentation update: Kodak 8800/9810 has been working for a while. 2022-06-26 20:22:20 -04:00
Solomon Peachy d47097e56d hiti: Fill in heat data files for P72x and P75x 2022-06-26 18:33:12 -04:00
Solomon Peachy 9fe00a1465 hiti: Add in heat tables for P72x and P750 2022-06-26 18:18:45 -04:00
Solomon Peachy 9316644f0b hiti: Hook up P530D, probably won't work yet. 2022-06-26 18:01:08 -04:00
Solomon Peachy a809283189 hiti: Parse v2 of the heatdata format
The structure is known, and some guesses as to the individual data blocks.
Don't know how this maps to actual printer commands just yet.
2022-06-26 17:54:54 -04:00
Solomon Peachy da2a15df6a hiti: Fix inverted vertical offset compensation 2022-06-26 17:54:54 -04:00
Solomon Peachy f4549ec407 hiti: Add in data files for the P530D model. 2022-06-26 17:54:42 -04:00
Solomon Peachy 9877cca28e hiti: Update P51x heat tables. 2022-06-26 17:54:42 -04:00
Solomon Peachy c97ffe5947 documentation update 2022-06-23 23:26:58 -04:00
Solomon Peachy ede367ee5b hiti: Use proper delays when sending SEHT and CVD data.
(Vendor code delays 200ms after sending each!)
2022-06-23 16:29:40 -04:00
Solomon Peachy 6d24d9ab46 hiti: Forgot to commit a few definitions 2022-06-21 10:55:02 -04:00
Solomon Peachy d9f9337d67 hiti: Add in an unknown command seen on the P51x. 2022-06-20 23:29:25 -04:00
Solomon Peachy d553166783 hiti: Some models only return 64 bytes of data at a time
So if we are reading larger chunks of data, keep reading until we're set.
2022-06-18 18:16:26 -04:00
Solomon Peachy 20797ec00c hiti: Another attempt to fix the P510-series wonkiness
libusb is kicking back an overflow error, which in turn comes from the
kernel.  What doesn't make sense is that the buffer is supposedly
2022-06-17 21:52:14 -04:00
Solomon Peachy 12ca1f99de hiti: RDS_RIS and RDS_RSUS take 0 arguments, not 1.
...Hopefully fixes the P51x probing.
2022-06-12 11:13:31 -04:00
Solomon Peachy 8150fdeb83 hiti: P51x models don't handle CMD_RDS_RSUS (request supplies status)
Instead they only use RDS_RIS (request input status)
2022-06-09 13:24:13 -04:00
Solomon Peachy 1d8f534ffc hiti: Add in a bunch of updated LUTs, and doc updates
(Affects: P51x, P52x, P72x, P75x)
2022-05-26 14:36:36 -04:00
Solomon Peachy 05e628e693 common: Use '.dylib' for DLL_SUFFIX on MacOS 2022-05-26 12:42:51 -04:00
Solomon Peachy 26f766c129 lib70x: Update documentation to include the D70-S/D707-S variants 2022-04-20 10:12:10 -04:00
Solomon Peachy 8af7aadde3 common: Fix crash with libusb 1.0.25
Original patch by Ben Berg, but reworked to apply to master code
2022-03-18 10:52:16 -04:00
Solomon Peachy 3d74e90f1d build: Separate out the data file build/install targets 2021-11-03 07:57:02 -04:00
Solomon Peachy d7e3672fa6 common: 'FAST_RETURN=0' can now be used to disable fast_return mode. 2021-10-28 16:16:23 -04:00
Solomon Peachy aa98d9f559 misc: add better support for GCC's static analyzer 2021-10-15 23:46:22 -04:00
Solomon Peachy d84cd5f482 dnp: for out of media/etc situations, error out properly instead of warning and retrying indefinitely 2021-10-12 12:56:11 -04:00
Solomon Peachy 64e73f58a4 DNP: Handle mediaoffset calculations resulting in negative remaining media just capping it to 0.
2021-10-12 12:39:46 -04:00
Solomon Peachy e203ec1d0b common: Fix the "offline-report" state logging 2021-10-12 08:51:12 -04:00
Solomon Peachy 29c90dc0df various: Update copyright year 2021-09-30 22:02:33 -04:00
Solomon Peachy b883a7b100 common: We don't need to sleep in PPD messages 2021-09-30 16:11:02 -04:00
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
2021-09-30 14:52:11 -04:00
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.
2021-09-30 13:55:27 -04:00
Solomon Peachy b91eead1f0 sonyupdneo: Properly log unknown printer status attributes 2021-09-30 09:25:17 -04:00
Solomon Peachy e32c652d64 common: custom ATTRs aren't supported by CUPS, use PPD attributes instead.
StpUsbBackend, StpUsbVid, StpUsbPid, StpUsbBus, StpUsbPort


  StpMediaID##, StpMediaName##

We can use STATE: reasons or
 ATTR:printer-alert-description="textual explanation"
   code=jam,coverOpen,subunitMissing/Full/etc,and so forth...
2021-09-29 23:30:45 -04:00
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
2021-09-29 22:56:44 -04:00
Solomon Peachy 87f3f39005 various: We used CUPS_BACKEND_HOLD instead of _STOP for some errors 2021-09-29 22:54:07 -04:00
Solomon Peachy 1a1e1c7dfb common: report the usb vid, pid, bus, and port as CUPS attributes
2021-09-29 18:12:46 -04:00
Solomon Peachy 80d8222551 common: Log the bus/port number when we're probing things 2021-09-27 19:57:58 -04:00
Solomon Peachy 5866b8b908 DNP: when we run into a fatal printer error, STOP the queue
(Instead of HOLDing the job)
2021-09-27 19:26:12 -04:00
Solomon Peachy 66d66ccb00 Documentation updates 2021-09-27 06:49:19 -04:00
Solomon Peachy 6c85215ac7 common: Be more explicit when in CUPS command mode 2021-09-26 22:53:28 -04:00
Solomon Peachy 50819d9f0a common: key off of CONTENT_TYPE to determine if we're a command or not 2021-09-26 22:34:49 -04:00
Solomon Peachy fb0859ede0 s6245: Fix a memory leak in an error path 2021-09-24 09:57:04 -04:00
Solomon Peachy b056fcfb8d lib2245: Fix a potential crash causd by not checking the return code on an allocation path 2021-09-24 09:57:04 -04:00
Solomon Peachy 596edb8039 kodak8800: Fix a memory leak in a job parsing error path 2021-09-24 09:57:02 -04:00
Solomon Peachy e16b466e33 wigh.. wrong USB PID in the regression test list 2021-09-09 06:30:12 -04:00
Solomon Peachy a72feb3079 sony up-971: Make tests use the 971, not 991 id. 2021-09-09 06:22:16 -04:00
Solomon Peachy 76c9e23d10 sonyupdneo: Add updated test image for UP-9x1, and expand regressions 2021-09-09 00:02:05 -04:00
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
2021-09-08 07:00:50 -04:00