Commit graph

534 commits

Author SHA1 Message Date
Solomon Peachy 0244c757db Udpate documentation, plus another shoutout to LiveLink for their
support in making this stuff possible.
2014-06-03 20:43:31 -04:00
Solomon Peachy 1f96096ca9 kodak68x0: Major rework on state machine, considerably more robust now.
Prints 4x6s reliably, yay.

Detects more error conditions, yay.

Still need to decode printer status better..
2014-06-03 20:38:21 -04:00
Solomon Peachy fe3dcaffcd kodak68x0: Use printer to generate multiple copies. 2014-06-03 20:38:03 -04:00
Solomon Peachy 6a52422961 common: Fix parsing of '-d' and add a third '-D' level to enable full
data dumps.
2014-06-03 20:27:23 -04:00
Solomon Peachy 65b40b8e1a kodak68x0: First step in some major internal rework.
Separate out media detection, add a function for decodable status
queries.

...I'll probably end up scrapping most of the state machine in the end.
2014-06-02 22:16:28 -04:00
Solomon Peachy 27c8af05d9 kodak68x0: Fix bug in media query command, and more decoding of the
status message.
2014-05-30 19:08:47 -04:00
Solomon Peachy 0381965f40 canonselphy: Add USB PID for CP520 2014-05-30 19:08:47 -04:00
Solomon Peachy 63c278946b Doc updates. 2014-05-08 09:58:27 -04:00
Solomon Peachy 31777dcd9b blacklist: Eliminate placeholder for CP910/CP820 2014-05-06 19:44:26 -04:00
Solomon Peachy 62001ac958 Docs: Update status of CP820/CP910 2014-05-06 19:44:01 -04:00
Solomon Peachy 0f6a28019e canonselphy: Get rid of placeholders for CP910/CP820 2014-05-06 19:41:58 -04:00
Solomon Peachy d58cc5c493 updr150: reformat a comment. 2014-05-06 09:49:55 -04:00
Solomon Peachy 01e3b0049d Minor documentation updates. 2014-05-05 12:49:41 -04:00
Solomon Peachy 63e7585d77 kodak68x0: Validate print sizes against list returned by printer.
Also handle errors in the mdia response more sanely.
2014-04-26 20:20:07 -04:00
Solomon Peachy fe94087437 updr150: Convert to CUPS_BACKEND_* return codes. 2014-04-25 11:41:35 -04:00
Solomon Peachy 673bc98653 sonyupdr150: Initial support for the UP-DR10.
Incomplete, and gutenprint proper still lacks support.
2014-04-25 11:39:15 -04:00
Solomon Peachy 6fff71f2eb mitsu70x: Convert to CUPS_BACKEND_* return codes. 2014-04-25 11:38:01 -04:00
Solomon Peachy ddd0d254be kodak6800/kodak605: convert to CUPS_BACKEND_* return codes. 2014-04-25 11:34:53 -04:00
Solomon Peachy 1825d549e8 kodak1400: use CUPS_BACKEND_* return codes. 2014-04-20 11:57:26 -04:00
Solomon Peachy e9958c39d8 s2145: use CUPS_BACKEND_* 2014-04-20 11:53:46 -04:00
Solomon Peachy 812c26a29c dnpds40: use CUPS_BACKEND_* return codes. 2014-04-20 11:51:06 -04:00
Solomon Peachy 22a02e7696 canonselphy: Use CUPS error responses.
early_parse -> non-CUPS errors
 read_parse - CUPS errors
 main_loop - CUPS errors

All other cases don't matter, as they're not invoked by CUPS.
2014-04-20 11:08:04 -04:00
Solomon Peachy 12d05eccba common: Replicate CUPS return codes.
General philosophy:

 OK      (self explanatory)
 FAILED   general failures (eg unexpected printer response)
 HOLD     wrong-media-loaded and other job-specific failures
 STOP     printer out of media, or other non-job-specific failures
 CANCEL   job failed to load or parse
 RETRY    temporary failure, retry later
 RETRY_CURRENT temp failure, retry immediately
2014-04-20 11:05:27 -04:00
Solomon Peachy 7edb9f1c67 s2145: Check print job against printer supported type, and abort
cleanly if the wrong media is loaded.
2014-04-20 10:28:29 -04:00
Solomon Peachy 3bb29676ea dnpds40: Fix spurious printout. 2014-04-20 10:16:28 -04:00
Solomon Peachy fa3e2edbc5 Kodak605: Partial decode of the media structure. 2014-04-19 11:34:07 -04:00
Solomon Peachy eba5a43d6e kodak6800: Rename a function. No functional change. 2014-04-19 11:33:50 -04:00
Solomon Peachy 9f0738644c Remove obsolete comment. 2014-04-13 15:12:56 -04:00
Solomon Peachy 33cd11f125 Kocak68x0: Add up-to-date ICC profiles. 2014-04-13 10:23:31 -04:00
Solomon Peachy ba5dd540d9 mitsu70x: Remove a now-obsolete definition. 2014-04-12 16:36:01 -04:00
Solomon Peachy c3f08b8abc kodak68x0: Properly (I hope) decode the media query response
Also, initial work on decoding the printer status query response
2014-04-12 12:41:09 -04:00
Solomon Peachy 3d0d4805b9 Add a sample test job generated by the Windows K60 driver. 2014-04-06 09:51:38 -04:00
Solomon Peachy 4b3db40bdc minor documentation update. 2014-04-04 15:14:10 -04:00
Solomon Peachy 51a567e543 common: Fix crash when libusb_init() fails. 2014-03-26 09:20:09 -04:00
Solomon Peachy fce71590c4 canonselphy: Add some preliminary docs on the CP820/CP910 2014-03-13 19:51:16 -04:00
Solomon Peachy 18308e21c6 common: Fix bugs from last commit. 2014-03-13 19:50:48 -04:00
Solomon Peachy 7e2b3cc7aa common: Major overhaul of manuf/product strings to key off of the IEEE1284 data.
This mostly matches what the CUPS libusb backend generates.
2014-03-13 10:58:33 -04:00
Solomon Peachy 4f11516536 canonselphy: Remove forced manufacturer string. 2014-03-13 10:52:07 -04:00
Solomon Peachy 45f41a2f7d debug output fixes. 2014-03-12 13:45:36 -04:00
Solomon Peachy cf6517afc2 Fix some typos. 2014-03-12 10:55:35 -04:00
Solomon Peachy b8ee4cea94 Require use of '-DD' to enable raw data dumps. 2014-03-12 10:53:26 -04:00
Solomon Peachy 7191437d01 mitsu70x: Update test job for the CP-K60DW-W 2014-03-11 18:45:47 -04:00
Solomon Peachy 95483590de mitsu70x: Better decode print remaining, plus lots of doc updates. 2014-03-11 18:44:58 -04:00
Solomon Peachy ed8fce8c81 mitsu70x: Update print job, fix parsing bugs in backend. 2014-03-11 15:07:48 -04:00
Solomon Peachy c9c71cbe0d mitsu70x: Better decoding of status 2014-03-11 14:34:07 -04:00
Solomon Peachy 6a7da7b2cf Documentation updates. 2014-03-11 11:10:22 -04:00
Solomon Peachy b517d2ab72 Update version, and update blacklist. 2014-03-11 10:39:52 -04:00
Solomon Peachy 70dff0caca build: libusb < 1.0.10 doesn't support libusb_get_version() 2014-03-11 10:31:59 -04:00
Solomon Peachy 7b80c3b226 Mitsu70x: Add USB PID for CP-K60DW-S 2014-03-10 14:08:30 -04:00
Solomon Peachy 00e905de6e canonselphy: Add error recovery string to all ES printers too.
Since the CP-series is identical (even the CP790) I decided to just try
adding the string the to the ES1 and kick off a bad print.  The error
recovery just worked.

So I copied it to all the ES printers.
2014-03-05 09:43:01 -05:00