Commit Graph

23 Commits

Author SHA1 Message Date
Solomon Peachy e771f001d3 selphy: Fold the "common" header into the main source file.
There's nothing sharing it any more, so why bother?
2013-05-02 20:34:01 -04:00
Solomon Peachy eab5c72c27 selphy: Some major internal reworking, inspired by Ake Koomsin
* Ignore SIGPIPE
 * Buffer entire job into memory before sending it to the printer
 * Better informational messages

This patch also enables support for the CUPS backend 'num-copies'

Ake's patch adds much better error handling, but I need to spend more
time studying it due to the major changes it has on control flow.
2013-05-02 20:27:32 -04:00
Solomon Peachy 91aac07e91 [selphy] Add ID for SELPHY CP530 (Gernot Hassenpflug) 2013-02-12 07:34:26 -05:00
Solomon Peachy 9a0966438e selphy/kodak: ensure we quite with a sane error code. 2013-02-02 12:49:02 -05:00
Solomon Peachy 10485fedae [selphy] Make sure we're using blocking I/O, and fix warnings. 2013-02-02 11:34:39 -05:00
Solomon Peachy 8879523869 [selphy] Added guesses about CP790 PID 2013-02-02 08:01:04 -05:00
Solomon Peachy a9f169c18c [selphy] update copyright notices. 2013-02-01 21:45:25 -05:00
Solomon Peachy fcdb16d9f9 [selphy] Fix CUPS operation with the CP-100 printer that has no serial number. 2013-01-29 18:13:11 -05:00
Solomon Peachy 6d064f074c [selphy] Fix detection of CP-10 vs CP-XXX jobs. 2013-01-29 17:51:43 -05:00
Solomon Peachy 6880ebfa14 [misc] Back out the ability of find_and_enumerate() to change the reported type. 2012-12-13 07:03:51 -05:00
Solomon Peachy ecbdb9e7b4 [cp10] Completely rework CP-10 support. It uses a different data stream! 2012-12-12 19:00:45 -05:00
Solomon Peachy 14b6294a58 [misc] Move all non-init code out of the header now that it's no longer
2012-12-11 19:52:03 -05:00
Solomon Peachy 109dfacbd3 [libusb] Better support the CP-10. 2012-12-11 14:05:38 -05:00
Solomon Peachy e7013b65eb [libusb] Add PID for SELPHY ES3, and mark it supported. 2012-12-04 18:31:16 -05:00
Solomon Peachy ea26351dc5 [errors] Doubleread the readback, to clear initial state. 2012-11-22 07:40:32 -05:00
Solomon Peachy df272c6e6d [libusb] minor formatting fixes. 2012-11-21 23:38:03 -05:00
Solomon Peachy 21014052dd [error] Better logging of printer errors. 2012-11-21 23:36:18 -05:00
Solomon Peachy 3a0ac481cb [all] Rework how printer errors are detected.
All known errors from all supported printers are detected, except for
the ES2, which requires more investigation.
2012-11-21 23:18:56 -05:00
Solomon Peachy 96d78b222c [libusb] Fix uninitialized varible. 2012-11-21 17:03:41 -05:00
Solomon Peachy 2331c7b347 [libusb] CP500 is supported now. 2012-11-21 10:59:31 -05:00
Solomon Peachy c99a54af41 [libusb] Match printer serial number when called as a CUPS backend.
This way we don't automatically bind to the first supported/matching
printer we find.
2012-11-20 19:05:03 -05:00
Solomon Peachy 5dc84fa966 [cp900] Treat CP900 like the other CP-series printers.
Turns out its extra 4 bytes of footer can be safely ignored and not sent
 to the printer.  So don't bother, and simplify the code a little.

 Also, this adds support for SELPHY_PID/SELPHY_TYPE environment variables
 that allow for unknown PIDs to be used without a recompile.  Useful for
 testing purposes!
2012-11-20 11:36:16 -05:00
Solomon Peachy 6c2870e791 [build] Rename everything to match what is gutenprint now. 2012-11-19 21:50:14 -05:00
Renamed from es_print_libusb.c (Browse further)