Commit graph

30 commits

Author SHA1 Message Date
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