Commit Graph

65 Commits

Author SHA1 Message Date
Solomon Peachy 11829f2f45 Merge a pile spelling fixes from Ville Skyttä <scop@sf> 2017-05-05 08:11:04 -04:00
Solomon Peachy 55d24dba50 mitsup95: Add USB IDs for Mitsubishi P93D
Unfortunately, it's not identical to the P95 from an operational
2017-02-02 01:19:14 -05:00
Solomon Peachy cd1f20d79c It's now 2017; Update copyright year for the code that's seen changes. 2017-01-13 08:39:53 -05:00
Solomon Peachy 6202b06936 dnp: Add support for the DS820 printer. 2017-01-05 16:28:50 -05:00
Solomon Peachy 5e77d6dcc8 Doc updates in the header. 2016-12-05 23:31:08 -05:00
Solomon Peachy 1aebe61253 mitsup95d: Add in support for the Mitsubishi P95D. 2016-12-03 23:33:18 -05:00
Solomon Peachy 2ae41d59ff canonselphyneo: Add a new backend for the CP820/910/1000/1200 printers. 2016-12-02 23:49:22 -05:00
Solomon Peachy 8ade2d3a16 mitsu70x: Figured out lifetime print count!
At least on the EK305 (and presumably, K60)
2016-10-31 19:32:38 -04:00
Solomon Peachy 45d46409b4 common: Pull a couple of unnecessary globals into main(). 2016-10-20 22:01:32 -04:00
Solomon Peachy 90e3c770bf mitsu9550: Fix incorrect marker level reporting and media checks. 2016-10-14 13:54:07 -04:00
Solomon Peachy 5105d71b6c mitsu9550: Split out the 9800/9810/9800S into unique types.
The 9810 is different from the 9800 (matte support), and the 9800S is
probably different from the 9800, if the 9550/9550S is any indication.
2016-10-13 12:50:30 -04:00
Solomon Peachy ed4a98c031 mitsu9550: Add USB VID/PID for CP-9800DW-S 2016-10-13 12:41:55 -04:00
Solomon Peachy 6362d358e7 mitsu9550: Rejigger it to handle the 9600 and 98x0 variations.
This is strictly limited to the job parsing and sanity code.
It is unknown if there are runtime differences.
2016-10-13 08:12:20 -04:00
Solomon Peachy 047f60ed46 mitsu9550: Add in VID/PID for mitsu9600 2016-09-28 23:47:24 +03:00
Solomon Peachy 827c6965c5 Common: Get rid of the -S, -V, -P, -T options.
They won't work until after we attach to the backend, but we need them
before we attach.  Rely on the environment variables instead.
2016-07-14 21:42:28 -04:00
Solomon Peachy 52e4b827cd whitspace cleanups. 2016-01-24 16:59:56 -05:00
Solomon Peachy 8e35e5608b all: It's 2016 now, update the copyright text.
Also, correct the initial dates for a few of the backends.
2016-01-24 09:44:19 -05:00
Solomon Peachy f578422aa7 mitsu70x: Add support for the printers' data tables
Nothing is done with them yet, but I hope to change that.
2016-01-19 17:40:22 -05:00
Solomon Peachy 9d3ee7b3b5 s6145: Add in some missing bits.
...Unknown if they all work or not.
2015-12-17 21:50:47 -05:00
Solomon Peachy eb053ceb1a common: Export current page to backends. 2015-08-29 08:24:54 -04:00
Solomon Peachy 2a0f680ac6 dnpds40: Add queries for Duplexer FW version, counter, and status. 2015-08-28 19:30:16 -04:00
Solomon Peachy 535d0efea0 dnpds40: Add an early attempt to query DS80D duplexer status.
And it doesn't work on a DS80 at all, so further DS80D work will have to
2015-08-26 22:54:18 -04:00
Solomon Peachy 82ea661415 common: move uint16_to_packed_bcd() into common code. 2015-08-25 18:09:24 -04:00
Solomon Peachy db0c7d8b99 all: Eliminate the multi-stage cmdline parsing.
Unfortunately this means we lose the '-B backend' method, but the
overall control flow is much, much simpler now.
2015-08-13 21:09:56 -04:00
Solomon Peachy de8a32424c all: Unified approach to extra_vid/pid/type
This required a modification to all attach() methods.

Also, fix canonselphy's parsing/attachment code.
2015-08-12 22:56:29 -04:00
Solomon Peachy f67a8f8ea5 common: Eliminate early_parse() from backend.
only canonselphy used it.  This also showed that extra_vid/pid was broken.
2015-08-12 22:51:45 -04:00
Solomon Peachy 20f6d05b8a common: Rework the early cmdline argument parsing code to improve robustness
Also move fast_return out of individual backends and into common code.
2015-08-12 21:02:11 -04:00
Solomon Peachy 114202d7f5 shinko6145: Add a preliminary backend. Does NOT include library work. 2015-07-26 23:05:21 -04:00
Solomon Peachy 9b3f7cbb66 s6245: Add a preliminary backend for the Shinko S6245 2015-07-02 23:32:16 -04:00
Solomon Peachy 7edbf0239c misc: add DNP DS620 and RX1 to distinct printer types.
They are subtly different than each other, and the DS40.
2015-06-13 17:22:02 -04:00
Solomon Peachy dc7ba45fe2 s1245: Create a new backend for the Shinko s1245.
Shinko S1245 uses a different command language as the other Shinko
models, so it's not going to share much commonality with the 2145
2015-02-08 12:11:16 -05:00
Solomon Peachy b731dc04f8 Update copyright notice. 2015-01-05 21:39:22 -05:00
Solomon Peachy da5ae0e152 mitsu9550: Initial WIP of the Mitsubishi CP-9550DW-S backend.
Just committing it so I don't lose it.
2014-12-11 16:16:56 -05:00
Solomon Peachy 8b4e68c231 S2145: Add an early_parse method, so we can figure out what printer type
a given job is meant for -- the s2145 and s1245 have to be handled

(As an aside, the early_parse stuff is only really relevant if you're
using the backend in a standalone mode with multiple printers of the
same backend hooked up...)
2014-11-15 08:32:47 -05:00
Solomon Peachy 8d05fbb67f cw01: Initial support for the Citizen CW-01 printers 2014-10-06 21:56:55 -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 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 d64ec1cc36 Use proper pkgconfig libusb stuff. 2014-02-23 22:57:22 -05:00
Solomon Peachy fbfe2a5884 common: Fix build on Big Endian systems. Patch by Dimitri John Ledkov. 2014-02-19 13:28:17 -05:00
Solomon Peachy d7db0bbdbe Massive overhaul of command line handling.
Completely untested with real printers.

That happens tonight!  :)
2014-02-10 20:10:36 -05:00
Solomon Peachy 2e3cf70dba common: Re-add the libusb < 1.0.13 workarounds.
It comes with a GIANT WARNING if you are affected by the workaround.
2014-02-08 18:41:29 -05:00
Solomon Peachy a359fa17c4 canonselphy: Split the CP790 and ES40 handling apart.
They share nothing beyond a common spool file format:
  * Different readbacks (though the necessary parts are unique)
  * Different error codes
  * Different media reporting system and identifiers
2014-02-08 14:45:55 -05:00
Solomon Peachy 34e3b64fc4 all: Get rid of the now-obsolete 'multipage_capable' flag. 2014-01-30 21:37:07 -05:00
Solomon Peachy 6c335ea1e4 Update copyright notice; it's 2014 now! 2014-01-23 16:07:25 -05:00
Solomon Peachy dfbac582bc common: Add a driver entry for multipage capability. 2014-01-17 22:49:13 -05:00
Solomon Peachy 766ca01f0d whitespace fixes. 2014-01-12 17:26:29 -05:00
Solomon Peachy db65d25feb common: Add a generic read_data() call. 2013-12-21 22:39:15 -05:00
Solomon Peachy 875ebd2d76 all: Silence nearly all DEBUG outputs unless DYESUB_DEBUG is set in the
2013-12-21 22:15:18 -05:00
Solomon Peachy ccf44058ab dsp_ds40: Initial pass at a backend.
As far as a backend is concerned, it's just a passthrough.  However, it
has command-line options.
2013-12-03 22:21:44 -05:00
Solomon Peachy 9201105c66 all: Fixed all compiler warnings. 2013-11-23 19:51:55 -05:00