Commit graph

740 commits

Author SHA1 Message Date
Solomon Peachy cd03e9a22f misc: Fix some unitialized variable warnings that show up with -Os 2015-07-04 10:12:57 -04:00
Solomon Peachy 5fa84dc2b7 s6245: Add ability to set standby time. 2015-07-04 10:01:23 -04:00
Solomon Peachy 4489c1c0a5 misc: Clean up buffer overflows identified by cppcheck 2015-07-04 09:45:48 -04:00
Solomon Peachy 5ce4b691e3 s1245/6245: Fix some buffer overflows. 2015-07-04 09:38:59 -04:00
Solomon Peachy 6a02bf8554 common: A few minor cleanups. 2015-07-04 09:13:42 -04:00
Solomon Peachy b13445d3c6 s6245: Add ICC profiles. 2015-07-03 00:15:09 -04:00
Solomon Peachy 3f36efa57e s6245: Set the printer's RTC at each print. 2015-07-02 23:55:52 -04:00
Solomon Peachy 49f6d85c45 s6245/s2145: Don't abort in the face of some soft errors. 2015-07-02 23:55:22 -04:00
Solomon Peachy 9b3f7cbb66 s6245: Add a preliminary backend for the Shinko S6245 2015-07-02 23:32:16 -04:00
Solomon Peachy 8f1243de31 s2145: Get rid of early parse. 2015-07-02 22:43:43 -04:00
Solomon Peachy 3965f237ed common: Handle problems claming the USB interface.
...Retry a few times, and sleep between each one.
2015-07-02 19:44:26 -04:00
Solomon Peachy c9c3cb859a dnpds40: Fix help text. 2015-06-30 21:35:05 -04:00
Solomon Peachy 992e551a02 all: Fix command like parsing when the argument has an option.
This was a longstanding bug.  Oops.
2015-06-30 21:33:02 -04:00
Solomon Peachy 14af6acbb9 dnpds40: Decode sensor information as much as possible. 2015-06-30 20:51:30 -04:00
Solomon Peachy c3044c7fc7 Get rid of a bad chunk in the multicut patch. 2015-06-25 20:12:54 -04:00
Solomon Peachy 24c3550feb all: Ensure all malloc() failures are caught and logged. 2015-06-23 20:48:52 -04:00
Solomon Peachy 980fada366 dnpds40: Max printjob size was too small.
Resulted in 8x12 @600dpi prints failing to fully parse due to buffer overflows.

Also added a log message when we fail to read things.
2015-06-23 19:40:35 -04:00
Solomon Peachy 19ce36f65b dnpds40: Distinguish between soft (user-correctable) and fatal errors. 2015-06-23 19:25:23 -04:00
Solomon Peachy d39ff78b4d Update blacklist. 2015-06-23 00:03:04 -04:00
Solomon Peachy 476318bbec dnpds40: Don't repeat media query. 2015-06-22 23:55:48 -04:00
Solomon Peachy 189631d9b4 dnpds40: Add some #ifdefs 2015-06-22 23:51:17 -04:00
Solomon Peachy 2cce68aa81 dnpds40: Minor update. 2015-06-22 23:48:30 -04:00
Solomon Peachy 64a85a4a42 dnpds40: Push media query into early attachment code.
Also, move all sanity checks into the job parsing function, out of the
main loop.  Only stuff like remaining media, rewind, etc belong in the
main loop.
2015-06-22 23:32:48 -04:00
Solomon Peachy 8f6fff03c7 Documentation updates. 2015-06-22 23:19:28 -04:00
Solomon Peachy d63c075015 dnpds40: correct media offset. 2015-06-22 19:26:23 -04:00
Solomon Peachy e67628389e Update gutenprint patch. 2015-06-22 19:04:31 -04:00
Solomon Peachy a2bd3946d1 dnpds40: Display total media quantity *before* remaining prints. 2015-06-22 18:58:19 -04:00
Solomon Peachy f90f2ba558 dnpds40: Add support for 6x4.5 and 6x4.5*2 prints 2015-06-22 18:46:26 -04:00
Solomon Peachy 9f69513f8a dnpds40: DS620 bugfixes. Fix 6x9 detection, and color data checksum. 2015-06-21 13:49:28 -04:00
Solomon Peachy 7e56920868 dnpds40: Bugfixes. Typo in version checking. Double free in main
loop.  Log remaining prints on status page.  Multicut detection fixes.
2015-06-20 16:33:39 -04:00
Solomon Peachy 9c5086c89e citizencw01: PQTY is 'remaining prints in job' 2015-06-20 16:33:37 -04:00
Solomon Peachy b57b415bbe dnpds40: Add USB VID/PID for the DNP DS620
In theory, the DS620 is now fully supported.  Just needs some testing.
2015-06-19 13:47:43 -04:00
Solomon Peachy 5fb9094e5f doc updates. 2015-06-18 23:32:31 -04:00
Solomon Peachy b51beff824 Update gutenprint 5.2.11-dev patch 2015-06-18 23:27:12 -04:00
Solomon Peachy 3e08415a81 dnpds40: Disable PQTY query until we can figure out its use. 2015-06-17 22:59:01 -04:00
Solomon Peachy a2584443b5 dnpds40: Query serial number and version just once, at attachment time.
Also add disabled code that stores and restores the last matte status.
2015-06-17 22:57:31 -04:00
Solomon Peachy a9620b8ba3 cw01: Fix an error when the printer has a used buffer. 2015-06-17 21:41:13 -04:00
Solomon Peachy f5484d0573 dnpds40: Add standby mode set for DS620 printers. 2015-06-17 21:02:51 -04:00
Solomon Peachy 504ff4cd37 dnpds40: Decode the standby status code. 2015-06-17 20:55:29 -04:00
Solomon Peachy b1905b15ca dnpds40: Log when we detect the DS620 being in standby. 2015-06-17 20:53:22 -04:00
Solomon Peachy 3471bfa953 Documentation updates. 2015-06-17 20:53:00 -04:00
Solomon Peachy 96bc3d83d5 ICM: Add profiles for DNP DS620A and Citizen CX-W 2015-06-17 20:44:26 -04:00
Solomon Peachy 68a64d544b dnpds80: Fix a couple of comments, and RX1 has its own type now. 2015-06-16 20:26:27 -04:00
Solomon Peachy df4437f275 dnpds40: Correct remaining print count. 2015-06-16 18:54:58 -04:00
Solomon Peachy 26bffc806c ... 2015-06-16 18:47:58 -04:00
Solomon Peachy c4a36dbc2f dnpds40: Add support for DS620-specific multicut-types 2015-06-16 18:47:12 -04:00
Solomon Peachy dc86a3a345 whitespace cleanup 2015-06-14 15:28:20 -04:00
Solomon Peachy e373d06760 dnpds40: Query remaining media to see if we can complete job
* This lets us properly halt the queue if the media has run out
 * Print a warning if we can start, but have insufficient media to finish
2015-06-14 11:33:08 -04:00
Solomon Peachy 7b8844daa9 dnpds40: Query DS620-specific configuration flags.
* Media end keep mode
 * Report serial number in USB descriptor
 * Standby delay time

Still need to allow them to be set
2015-06-14 09:23:02 -04:00
Solomon Peachy 15a8bd7761 dnpds40: Add Color data version/checksum fetches for DS620. 2015-06-14 09:15:24 -04:00