Commit graph

45 commits

Author SHA1 Message Date
Solomon Peachy 573d70aef6 One more correction. Disabled an entry that is in the regression list. 2021-04-17 07:47:54 -04:00
Solomon Peachy e3ab11a975 misc: Get rid of all USB_VID_*/USB_PID_* definitions
Directly reference the IDs in the lookup tables, like in linux-kernel
2021-04-16 21:12:54 -04:00
Solomon Peachy 8a4fd56c13 Update shaftnet.org URLS from http -> https
Update copyright year as appropriate
2021-01-23 10:47:01 -05:00
Solomon Peachy e6236d9cb7 sonyupdneo: Fix copy count. 2020-11-08 12:22:25 -05:00
Solomon Peachy 08325fbda4 updneo: Fix more regressions brought out by the test mode 2020-11-07 22:37:55 -05:00
Solomon Peachy 6397c6e293 sonyupdneo: Fix regressions in test mode 2020-11-07 22:21:06 -05:00
Solomon Peachy a3dea1d400 updneo: Major fixes for Sony UP-D898MD
* Add USB PID
 * Validate job parameters against printer's max reported dimensions
 * Serial numbers reported correctly
 * Handle two more status marker types
 * Better media status reporting
 * Printer-generated copies
 * Issue USB Reset between prints
2020-11-07 20:57:18 -05:00
Solomon Peachy cfe0fd8004 common: the 'dyesub_backend' structure is now const everywhere. 2020-10-05 22:27:08 -04:00
Solomon Peachy 322ad8d7b7 common: Introduce a common USB connection object, and use it! 2020-08-12 20:04:54 -04:00
Solomon Peachy 6f01f362eb misc: Bump copyright dates on files modified in 2020 2020-06-30 23:42:54 -04:00
Solomon Peachy 5567aa748c sonyupdneo: Provide an example status dump from the SDP1000 2020-02-27 22:38:59 -05:00
Solomon Peachy a0e3326316 sonyupdneo: Add USB ID for Stryker SDP1000 (rebaded UP-DR80MD) 2020-02-27 07:12:42 -05:00
Solomon Peachy 697486b467 All: Leave the "prefix" list for family or backwards-compatible names only.
...use the name in the DEVICE entry for backend matches!
2020-01-30 22:08:55 -05:00
Solomon Peachy 626a49f05d Misc: Update address for FSF.
Also fix the copyright year for a few files.
2020-01-17 16:50:56 -05:00
Solomon Peachy 13d62550f3 common: Add proper definitions for special CUPS marker levels.
And report STATE(media-empty) globally based on this.
2019-12-11 23:20:04 -05:00
Solomon Peachy ed1c6d2227 sonyneo: Get rid of a redundant test. 2019-11-17 20:54:08 -05:00
Solomon Peachy bc14a0b8ba sonyupdeo: try not to spam the log with unrecognized codes. 2019-11-15 20:48:51 -05:00
Solomon Peachy 31d22a35a4 sonyupdneo: Correct spurious error after a successful page parse 2019-11-14 17:02:11 -05:00
Solomon Peachy 7a16caac34 sonyupdneo: Terminate properly when fast return mode is off. 2019-11-14 15:29:56 -05:00
Solomon Peachy 797936c114 sonyupdneo: Fix inverted string comparison tests.
(oops..)
2019-11-13 19:59:49 -05:00
Solomon Peachy 8d319efac3 sonyupdneo: Fix array overrun 2019-11-07 12:34:21 -05:00
Solomon Peachy aa8a8ffbf2 sonyupdneo: Substantial improvements. (untested!)
* Decode all known reported status fields
 * Error detection & reporting
 * Busy/Idle detection & reporting
 * Media type / remaining reporting
 * Serial number reporting
2019-11-06 15:14:23 -05:00
Solomon Peachy e0d098bfab Fix a typo. 2019-11-05 17:40:12 -05:00
Solomon Peachy 3d3724639e sonyupdneo: Log IEEE1284 string returned by printer. 2019-11-05 16:43:52 -05:00
Solomon Peachy 9a719b26ae sonyupdneo: Fix regression failure
We can't query status in TEST_MODE_NOATTACH
2019-11-03 07:03:57 -05:00
Solomon Peachy 7b42b49aa1 sonyupdneo: Start trying to work with the printer status.
(Note nothing is actually decoded in SW yet, but further doc updates
 have landed..)
2019-11-02 21:39:38 -04:00
Solomon Peachy 3cf41c8018 sonyupdneo: Fix job parsing, and add correct VID/PID to regression list. 2019-11-02 14:32:12 -04:00
Solomon Peachy 1fe3a6066b all: Pass the USB bInterfaceNum into the backend attach() function. 2019-11-02 09:12:30 -04:00
Solomon Peachy 475749a881 sonyupdneo: Initial IEEE1284 device ID parsing. Not hooked up.
(Need to pass USB bInterface field into the backends first..)
2019-11-02 08:26:15 -04:00
Solomon Peachy 320551c61e sonyupdneo: Decoding & Documenting the status messages. 2019-11-02 00:17:00 -04:00
Solomon Peachy f13ceff500 sonyupdneo: Strip out the JOBSIZE=??? header, and send the PJL header, PDL payload, and PJL footer as separate transactions. 2019-11-01 23:49:01 -04:00
Solomon Peachy 2a69821e6b sonyupdneo: Further documentation updates. 2019-11-01 22:33:04 -04:00
Solomon Peachy 46b612e1c4 sonyupdneo: VID/PID for UP-DR80MD, and doc fixes. 2019-11-01 22:12:07 -04:00
Solomon Peachy 5f34b1070f misc: Fix missing newlines in multiple error messages. 2019-10-03 20:30:35 -04:00
Solomon Peachy c1b15c1fbb all: Clean up unnecessary #include 2019-09-28 11:05:42 -04:00
Solomon Peachy 9b3ae0ed5b all: Report up the low-level media ID as a PPD attribute.
(Needs changes to Gutenprint in order to be useful...)
2019-09-28 10:54:10 -04:00
Solomon Peachy 401f43f682 sonyupdneo: Add in a couple of USB PIDs. 2019-05-24 17:29:22 -04:00
Solomon Peachy 1f2b68e6b9 sonyupdneo: Fix buffer overflow with multi-page jobs. 2019-05-23 09:04:29 -04:00
Solomon Peachy 473f86b0d5 common: Use generic teardown code unless necessary. 2019-05-22 20:42:12 -04:00
Solomon Peachy 473aa2bbc4 misc: More static analysis fixes. 2019-05-12 11:11:51 -04:00
Solomon Peachy 701e6a45a2 misc: Fix up a small pile of bugs found via static analysis. 2019-05-07 11:02:30 -04:00
Solomon Peachy ffd39f19b4 sonyupdneo: Document the spool format and everything known so far. 2019-05-05 19:33:16 -04:00
Solomon Peachy 6c2bbd7933 sony: Minor updates. 2019-04-20 19:55:36 -04:00
Solomon Peachy fdf9336738 sonyupdneo: Add gutenprint-generated testjobs for sony up-cr20l 2019-04-20 09:12:25 -04:00
Solomon Peachy fe2cbc587c sonyupdneo: Add WIP backend for newer Sony printers
Covers these models:

 * UP-DR80MD
 * UP-CR20SL
 * UP-D898 / UP-X898

Includes sample files generated by Windows drivers.  Note that I do not
have USB VID/PIDs for any these models, and the post-parsing code has
not been tested.
2019-04-17 13:58:42 -04:00