Commit graph

79 commits

Author SHA1 Message Date
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 8f8f7fca64 [docs] We have reports of CP800 and CP900 working. On OSX! 2012-11-20 10:47:35 -05:00
Solomon Peachy 61a2487ea2 [docs] Major doc update. 2012-11-20 07:33:52 -05:00
Solomon Peachy e04be18f48 [misc] Update docs. 2012-11-19 21:53:20 -05:00
Solomon Peachy 6c2870e791 [build] Rename everything to match what is gutenprint now. 2012-11-19 21:50:14 -05:00
Solomon Peachy 50b9111237 [all] Add support for an error readback. CP-series, ES2/20 handled. 2012-11-19 21:45:49 -05:00
Solomon Peachy c3765df0b3 [libusb] Move CP-200 to the fully-supported list. 2012-11-19 16:41:55 -05:00
Solomon Peachy c55a7e4c2a [docs] Update supported list. 2012-11-16 22:50:43 -05:00
Solomon Peachy 8d28ab9cc8 [libusb] Add PID for CP710 2012-11-16 20:19:15 -05:00
Solomon Peachy 6abf73df8a [docs] CP-300 is now on the tested list.
* Explicitly list out printers with unknown USB PIDs
 * Other minor doc updates
2012-11-16 13:15:18 -05:00
Solomon Peachy af5b1f50f0 [libusb] Add USB PID for the SELPHY CP770, and move it to the tested list. 2012-11-15 18:31:00 -05:00
Solomon Peachy d7e074f0a4 [misc] The "all data sent" message never happened.
(Thanks to Thomas Kaiser for pointing this out)
2012-11-13 19:30:43 -05:00
Solomon Peachy e7f45c22b2 [libusb] HOLY CRAP IT WORKS WITH CUPS NOW! 2012-11-13 18:26:31 -05:00
Solomon Peachy 569c0476d7 [libusb] Fix CUPS URI generation.
Now we successfully auto-attach....
2012-11-13 18:20:41 -05:00
Solomon Peachy 615b7b60f9 [misc] Updated install rule. 2012-11-13 16:40:36 -05:00
Solomon Peachy 42ff824594 [docs] Add some compilation and usage instructions. 2012-11-13 16:32:53 -05:00
Solomon Peachy 47f42909bf [docs] Add CP730 to the known-working list. 2012-11-13 11:02:36 -05:00
Solomon Peachy 15b4bc6e2b [libusb] add PID for CP730 2012-11-13 10:27:19 -05:00
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