Commit graph

1101 commits

Author SHA1 Message Date
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
shared.
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 c4d5b80bd8 [docs] Update documentation regarding the CP-10 2012-12-11 12:25:13 -05:00
Solomon Peachy 9047c29951 [linux] Delete the selphy_print_linux tool.
The libusb backend does everything, and better.

 Also, it can't handle the CP-10 properly.
2012-12-11 12:16:23 -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 692960691d [docs] More updates. 2012-12-03 18:15:46 -05:00
Solomon Peachy d3f99fe42a [docs] CP-100 confirmed to work. 2012-12-03 17:56:53 -05:00
Solomon Peachy 9dfd70d3b9 [misc] Document use of SELPHY_PID and SELPHY_TYPE, plus other minor updates. 2012-11-22 22:23:05 -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 f65740bdab [misc] Error code and Paper type updates
* Error code updates for:  ES1, ES2, ES30
 * Added guess for paper code readbacks for ES40
2012-11-21 23:01:53 -05:00
Solomon Peachy bdeb411d02 [ES1] Add error code for ES1, plus more documented for ES2 & ES30. 2012-11-21 17:45:31 -05:00
Solomon Peachy 3b4e5d5f95 [ES40] ES40 is now supported!
Thanks to Gerhard Pfeffer for giving me access to his printer and letting
  me ruin a small pile of print media in the process of getting it working
2012-11-21 17:26:00 -05:00
Solomon Peachy 9ce3d04849 [es40] Initial readbacks in place. 2012-11-21 17:04:06 -05:00
Solomon Peachy 96d78b222c [libusb] Fix uninitialized varible. 2012-11-21 17:03:41 -05:00
Solomon Peachy c4f90455c2 [ES40] Fill in an initial set of guesses for readbacks.
(Will be verified shortly on the real thing, but we may get lucky)
2012-11-21 15:16:38 -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 4723122796 [CP-series] Handle a readback quirk reported on the CP900. 2012-11-20 13:25:20 -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 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