Commit graph

428 commits

Author SHA1 Message Date
Solomon Peachy 34e3b64fc4 all: Get rid of the now-obsolete 'multipage_capable' flag. 2014-01-30 21:37:07 -05:00
Solomon Peachy 64938b839e canonselphy: Independently report on incorrect paper/ribbon errors for
the CP_XXX family.

Also make the errors more consistent with their language.
2014-01-30 20:00:21 -05:00
Solomon Peachy 4094e9d635 canonselphy: Add 'media feed error' to CP790 error list.
Also add placeholder entries for CP820 and CP910
2014-01-30 08:50:08 -05:00
Solomon Peachy 72c94bee3d Add info about the SELPHY CP820 (not sold in US or Japan) 2014-01-30 08:49:22 -05:00
Solomon Peachy 85284b321f canonselphy: ES1 now detects depleted media. 2014-01-29 22:11:32 -05:00
Solomon Peachy 4d2d9bed87 canonselphy: Improve ES3 error detection -- Incorrect media. 2014-01-29 21:36:17 -05:00
Solomon Peachy 7f8fe44269 canonselphy: Improve ES2 error derection some more. 2014-01-29 21:31:26 -05:00
Solomon Peachy 0b1e2dd6e3 canonselphy: ES1 error handling improved. 2014-01-29 21:26:59 -05:00
Solomon Peachy 1eefa82b64 canonselphy: We need to match the full 8-bit papercode for all models other than the CP790. 2014-01-29 21:05:21 -05:00
Solomon Peachy 882eda8ad1 Canon SELPHY CP790 is now verified as working! 2014-01-29 19:54:10 -05:00
Solomon Peachy d577517a24 canonselphy: Fix init sequence detect for cp790/es40 2014-01-29 12:02:12 -05:00
Solomon Peachy 5e996322e3 canonselphy: Log the types when we fail to match on media. 2014-01-29 10:29:22 -05:00
Solomon Peachy 7a4b99f6d7 canonselphy: Tweak the paper type detection. 2014-01-29 10:26:56 -05:00
Solomon Peachy 3764319eb2 canonselphy: Rewrite the error detection code.
Now instead of a dumb offset/flag, we parse the whole response from the
printer and holistically figure out what's wrong.  On a per-printer type
basis.

This was needed because the ES40 and CP790 share a single "backend" but
have radically different error reporting.
2014-01-29 10:22:20 -05:00
Solomon Peachy 0eef76d2b3 Add a CP790/ES40 'L' size test job. Courtesy of Gernot Hassenpflug 2014-01-28 21:28:23 -05:00
Solomon Peachy 375aed9243 canonselphy: Theoretically add support for the CP790 2014-01-28 21:23:24 -05:00
Solomon Peachy ee7dae82a5 canonselphy: Document what's known about the CP790.
Next up is to code support.
2014-01-28 19:59:58 -05:00
Solomon Peachy 826ec4ddd2 Add the CP790 to the blacklist. 2014-01-28 09:13:13 -05:00
Solomon Peachy acd4eea41d canonselphy: Add USB ID for SELPHY CP790 2014-01-27 14:09:23 -05:00
Solomon Peachy a1d5111048 updr150: Reworked backend, now it at least doesn't segfault. 2014-01-26 15:05:02 -05:00
Solomon Peachy 54d6f1a4ee get rid of obsolete debug code. 2014-01-26 14:45:12 -05:00
Solomon Peachy fffeecc6fa updr150: Handle unaligned 32-bit reads, which are common! 2014-01-24 09:58:10 -05:00
Solomon Peachy c5beaecf1f Update. 2014-01-24 09:58:01 -05:00
Solomon Peachy 6c335ea1e4 Update copyright notice; it's 2014 now! 2014-01-23 16:07:25 -05:00
Solomon Peachy e3d06881f2 Rename ICC profile directories to be consistent. 2014-01-22 09:54:37 -05:00
Solomon Peachy f403080410 ICC Profile for the Sony UP-DR200. 2014-01-22 09:23:06 -05:00
Solomon Peachy cbade04663 Add a test job for the Sony UP-DR200. 2014-01-22 09:21:57 -05:00
Solomon Peachy 6acc8b553c backends: say "## copies remaining" to differentiate between pages. 2014-01-22 09:10:34 -05:00
Solomon Peachy 46f61742c7 updr150: USB VID/PID for the UP-DR200 added to backend. 2014-01-22 08:45:41 -05:00
Solomon Peachy 0333be835c build: Rename the executable to 'dyesub_backend'
It gets renamed to 'gutenprint52+usb' when installed.
2014-01-22 08:35:12 -05:00
Solomon Peachy 4aa050f695 backends: Fix a double-free error in all backends.
Since we always call read_parse() we always free the data buffers.  Make
sure we set them to NULL or we will try to double-free them when we
terminate normally.
2014-01-21 20:34:00 -05:00
Solomon Peachy 312c210c2a common: We can't detect EOF situations in global code.
And fix enumeration in the presence of multiple printer types.
2014-01-20 19:48:36 -05:00
Solomon Peachy 2eb20f90f4 backends: A 0-length read when doing our inital header load is
and EOF, so treat it as such and don't error out.
2014-01-20 19:41:52 -05:00
Solomon Peachy 3cb593f36d More README updates. 2014-01-20 14:27:18 -05:00
Solomon Peachy 02e8d2d2c7 sonyupdr150: Bump version. 2014-01-19 19:55:46 -05:00
Solomon Peachy 902c9dedde sonyupdr150: Rework backend so it is multipage capable.
This requires us to parse the incoming print job when we load it,
instead of while we're sending it to the printer.
2014-01-19 19:53:45 -05:00
Solomon Peachy cf59af280c dnpds40/80: Make backend multipage-capable. 2014-01-19 19:23:24 -05:00
Solomon Peachy 66f4756483 sonyupdr150: Fix parsing of data stream for 6x8 prints.
Update documentation as well.
2014-01-17 23:21:23 -05:00
Solomon Peachy 75de99c103 common: Add core support for multi-page print jobs.
If the backend supports it, restart the backend if we detect additional
data waiting.  Hopefully that detection is sane.
2014-01-17 22:58:03 -05:00
Solomon Peachy d7d60b7191 backends: Enhance to add multipage capabilities.
DNP ds40/ds80 and Sony UP-DR150/200 backends do NOT support this yet.

Next up is to commit the core.
2014-01-17 22:54:25 -05:00
Solomon Peachy a7316668ff mitsu70x: Rework printjob parsing so that it can figure out job length
from the headers.
2014-01-17 22:50:29 -05:00
Solomon Peachy dfbac582bc common: Add a driver entry for multipage capability. 2014-01-17 22:49:13 -05:00
Solomon Peachy 821fc52db9 README updates. 2014-01-17 21:24:18 -05:00
Solomon Peachy f1a71f56d3 README updates. Plus mark the Canon CP-10 as fully supported. 2014-01-16 18:39:20 -05:00
Solomon Peachy 817b6b04fc all: Handle short reads when loading in initial printjob header. 2014-01-13 18:30:30 -05:00
Solomon Peachy 76c2e87fad selphy: Retry short reads when loading in plane data.
Also check for short read when loading header and footer.
2014-01-13 18:29:50 -05:00
Solomon Peachy 82c72fcd99 Add a 'C' size test print for the Canon SELPHY ES1. 2014-01-13 05:41:48 -05:00
Solomon Peachy 766ca01f0d whitespace fixes. 2014-01-12 17:26:29 -05:00
Solomon Peachy 1888254860 all: Move to using the common read_data() instead of direct libusb functions. 2013-12-21 22:55:33 -05:00
Solomon Peachy db65d25feb common: Add a generic read_data() call. 2013-12-21 22:39:15 -05:00