Commit Graph

61 Commits (e3189b65ebd079247625c532612ab329184b8e5e)

Author SHA1 Message Date
Solomon Peachy e3189b65eb [libusb] Handle CUPS calling conventions.
Also, use ERROR macro where appropriate.

With this commit, we're theoretically ready to be used as a CUPS backend.

Need to test it, of course.  But that will happen later.
2012-11-13 07:15:19 -05:00
Solomon Peachy da7aae88ea [docs] Update documentation. 2012-11-13 07:15:03 -05:00
Solomon Peachy 6d2621f205 [common] Add an ERROR macro to distinguish between "normal" and "error" output. 2012-11-13 07:14:32 -05:00
Solomon Peachy c4c54470ae [docs] Move the CP740 and CP750 onto the tested list. 2012-11-12 11:22:18 -05:00
Solomon Peachy 8996f1cfd4 [libusb] Update error message text again. 2012-11-11 08:07:49 -05:00
Solomon Peachy 79bd7e7f2d [libusb] Updated debugging output. 2012-11-11 07:54:29 -05:00
Solomon Peachy 9f248ae288 [libusb] Added PIDs for ES20 and CP750 2012-11-11 06:36:18 -05:00
Solomon Peachy a10300b4da [misc] Fill in a guess on the CP900 readbacks. 2012-11-08 19:50:19 -05:00
Solomon Peachy bfe6cc4006 [libusb] SELPHY CP510 fully tested now. 2012-11-08 19:35:09 -05:00
Solomon Peachy 3b8e4b1f87 [common] Update information about CP-series readback codes. 2012-11-08 19:06:00 -05:00
Solomon Peachy a52f6582a3 [docs] Updates. 2012-11-07 19:37:37 -05:00
Solomon Peachy 9fb2c5ac4e [misc] Full support for SELPHY CP780 printer
Also, fixed long-standing bug in parsing paper type.
2012-11-07 19:00:29 -05:00
Solomon Peachy f3f30a65d6 [libusb] Add SELPHY CP780 PID, and fix endpoint detection. 2012-11-07 18:29:47 -05:00
Solomon Peachy 2e62022da4 [libusb] always print debug device information. 2012-11-06 23:16:37 -05:00
Solomon Peachy bcbc69294a [libusb] I think we have a sane CUPS display URI now.
Next up is to add cmdline options to parse the URI.
2012-11-06 23:06:32 -05:00
Solomon Peachy c86704ace7 [libusb] Handle errors in dump_data_libusb() now. 2012-11-06 22:44:56 -05:00
Solomon Peachy 87cd72033a [libusb] Clean up device info logging. 2012-11-06 22:38:05 -05:00
Solomon Peachy 72252db47e [misc] Wrap all debug output in DEBUG macro.
The only thing on stdout is now the cups id string stuff.
2012-11-06 22:34:23 -05:00
Solomon Peachy d75f66cfe3 [libusb] Do a device scan when no arguments are given. 2012-11-06 22:20:42 -05:00
Solomon Peachy 640325a9f8 [libusb] Scan through all printers instead of stopping at the first match. 2012-11-06 21:31:04 -05:00
Solomon Peachy e675967a16 [usb] We now have Product ID strings for all printers.
Next up is to make the spooler use them.
2012-11-06 11:44:09 -05:00
Solomon Peachy 763f896d48 [libusb] Add more Product strings.
Note -- To support detection based on this requires a lot of work.
2012-11-06 10:21:20 -05:00
Solomon Peachy b86b62311f [misc] Update comments. 2012-11-05 21:07:35 -05:00
Solomon Peachy 3a99197258 [libusb] Back out one debugging line that made it in by accident. 2012-11-05 20:34:35 -05:00
Solomon Peachy 4381022200 [libusb] Dump out mfg/product/serial strings, if present. 2012-11-05 20:33:10 -05:00
Solomon Peachy a5f9ea4676 [misc] Paper type guesses. 2012-11-05 20:07:28 -05:00
Solomon Peachy b9a111c747 [cp720] Move CP720 to the 'definitely supported' list. 2012-11-05 19:51:10 -05:00
Solomon Peachy dc73425b84 [cp720] Full support for CP720! 2012-11-05 19:29:20 -05:00
Solomon Peachy 95adba9b87 [libusb] Parse endpoints, as they vary from printer-to-printer. 2012-11-05 19:23:02 -05:00
Solomon Peachy d9b46db070 [libusb] Better error handling. 2012-11-05 18:51:32 -05:00
Solomon Peachy 881ff9b369 [all] Add printjob detection for CP810 and CP900.
Also, fix problems with ES40/CP790 on Big Endian systems.
2012-11-03 09:37:12 -04:00
Solomon Peachy fa002b0517 [usb] Add PID for CP720 2012-10-31 07:34:10 -04:00
Solomon Peachy fafd7f0fcb [usb] Add ID for CP900 (via OSX Forums) 2012-10-30 22:52:26 -04:00
Solomon Peachy 8ddb748f41 [usb] Add ID for CP810 2012-10-29 22:51:12 -04:00
Solomon Peachy 91dfae5325 [misc] README updates. 2012-10-29 13:25:31 -04:00
Solomon Peachy 7b4f090dbe [usb] Add PID for CP760 (Thanks to Gernot Hassenpflug) 2012-10-29 13:20:51 -04:00
Solomon Peachy 80f7c2661b [usb] Add USB PID for CP740 (Thanks to Thomas Kaiser) 2012-10-28 17:32:24 -04:00
Solomon Peachy 793354f3df [misc] Rework data structures. 2012-10-28 12:19:17 -04:00
Solomon Peachy d5d84d48fb [misc] Update documentation 2012-10-28 11:18:29 -04:00
Solomon Peachy 3ae6f5a988 [misc] Update cmdline 2012-10-28 09:45:39 -04:00
Solomon Peachy 218b9a9aa5 Add comment about CP810, another new/unknown printer. 2012-10-28 09:36:43 -04:00
Solomon Peachy e299e0e478 [libusb] Corrections. 2012-10-28 00:07:22 -04:00
Solomon Peachy 06b0f8b912 [libusb] Add a pile of printer IDs and placeholders for the known unknowns. 2012-10-27 23:58:39 -04:00
Solomon Peachy ba41fba659 [linux] No need for 'lseek' now that we work with stdin. 2012-10-27 10:48:03 -04:00
Solomon Peachy 6c947b609b [common] Move printjob parser into common code. 2012-10-27 10:46:56 -04:00
Solomon Peachy b5644910db [common] Working towards merging common code. 2012-10-27 10:38:36 -04:00
Solomon Peachy 013703f08a [misc] Fix up indendation. 2012-10-27 10:35:26 -04:00
Solomon Peachy 58894f20fa [linux] Support reading from stdin. 2012-10-27 10:32:12 -04:00
Solomon Peachy 8d0515762c [misc] Move common comments into docs. 2012-10-27 10:27:31 -04:00
Solomon Peachy 54267d51eb [build] Add a makefile 2012-10-27 10:22:12 -04:00