Commit graph

154 commits

Author SHA1 Message Date
Solomon Peachy 061020a000 DNP: always send QTY to the printer, even for 1 copy jobs. 2016-07-27 12:19:32 -04:00
Solomon Peachy 4016c45759 dnp: Always report a sane value for half-size prints.
* On printers that predate rewind support, this was never reported.
* On DS620A, it was reported incorrectly.
2016-07-21 17:23:31 -04:00
Solomon Peachy ba721f6834 DNP: Clean up media quantity reporting.
* Fix it all up.
2016-07-19 18:46:10 -04:00
Solomon Peachy bebdb72f21 DNP: Fix formatting of 'media lot code' 2016-07-17 10:56:33 -04:00
Solomon Peachy a5ce2e21b4 dnp: Log the actual printer type in the info dump. 2016-07-16 00:31:38 -04:00
Solomon Peachy 980abd7ed0 dnpds40: Another minor fix for counter output. 2016-07-14 20:49:25 -04:00
Solomon Peachy 1d27d98d93 dnpds40: Clean up output a bit. 2016-07-07 22:59:39 -04:00
Solomon Peachy 7fb50e97bd dnp: Insert a sleep after sending the last of the image data.
This keeps us from immediately querying the printer status before the
printer has had a chance to get going.
2016-06-30 16:31:28 -04:00
Solomon Peachy a63d5b84f0 dnpds40: Initial support for DNP RX1HS 2016-06-28 17:55:26 -04:00
Solomon Peachy 829570e2be DNP: DNP/EU has released firmware (1.34) with lustre support. 2016-06-26 22:13:32 -04:00
Solomon Peachy 5a996b70e3 DNP: Prettier output for some status messages. 2016-06-25 13:00:45 -04:00
Solomon Peachy 1045fa9f3f dnpds40: Add support for job cancel and printer reset.
And fix iserial support.
2016-06-25 11:28:08 -04:00
Solomon Peachy 6efd1242f8 dnpds40: Discovered USB IDs for DS80DX and CW02 2016-06-24 16:29:06 -04:00
Solomon Peachy 15e60abbcf dnpds40: Minor status message change. 2016-06-19 08:58:57 -04:00
Solomon Peachy cc9b1531a9 Nuke two features from the DS40 from firmware that was never released. 2016-06-12 09:38:45 -04:00
Solomon Peachy 1abae91127 dnpds40: Correct a bug in the matte state tracking 2016-02-08 17:53:28 -05:00
Solomon Peachy 9eaea2d609 dnpds40: the DS620 also has a 'HEAD' counter; report that. 2016-02-07 17:04:50 -05:00
Solomon Peachy bbc404472e dnpds40: Query last matte state after we attach to the printer.
Otherwise we don't know the serial number.
2016-02-07 09:17:29 -05:00
Solomon Peachy ae0c99d118 dnpds40: Improvements in matte state tracking.
* Handle the more advanced matte modes
 * Load state at startup only
 * Write state after each *successful* print

It would still be REALLY nice if the printer allowed us to query
ths disposition of the current job.
2016-02-07 09:11:48 -05:00
Solomon Peachy 323e20f80d dnpds40: when waiting for job completion, sleep between each loop. 2016-02-05 23:32:54 -05:00
Solomon Peachy f0e9c04257 dnpds40: Don't send the printer any of the job until we know it's ready.
Also, don't modify jobs inline, instead strip out commands we may need
to modify and explicitly re-insert them as necessary.
2016-02-05 07:42:15 -05:00
Solomon Peachy 08a5e31183 dnpds40: Split apart 6x6 vs 5x5 support. 2016-02-03 22:53:57 -05:00
Solomon Peachy 0ec6b0465a dnpds40: Replace lots of magic numbers with proper constants.
Makes the logic a lot easier to follow in some places.
2016-02-03 22:48:54 -05:00
Solomon Peachy 11ed078eb1 dnpds40: Strip buffcntrl from the input stream.
The backend will insert its own if the situation merits.
2016-01-29 23:50:47 -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 6d8eb1434a dnpds40: Newer DS620 FW supports fullcutter on non-6x8 prints. 2016-01-21 19:16:52 -05:00
Solomon Peachy 24ef3b445d dnpds40: Enable use of fast return mode
Or more accurately, block until print complete if not in fast return mode.
2016-01-20 20:11:54 -05:00
Solomon Peachy b443cb34a1 dnpds40: Media color offset is decoded better now.
Not sure if it's anything other than informational...
2016-01-01 21:20:48 -05:00
Solomon Peachy e1919da138 dnpds40: Incorrect color sensor decoding in the sensor query.
(Actually a documentation error)
2015-11-22 20:34:41 -05:00
Solomon Peachy aea73e3e24 dnpds40: Go ahead and attempt to print if the printer's out of media.
This will cause the printer error light to come on, so the user can tell
something's wrong.
2015-10-14 10:44:02 -04:00
Solomon Peachy 20b35e90ad dnpds40: Fix an inverted test in the square print arena. 2015-09-13 13:09:16 -04:00
Solomon Peachy 1de2cf6114 dnpds40: Handle an odd number of pages printed in duplex mode.
If it's an odd number of pages, manually force the printer to eject.
2015-09-03 01:22:56 -04:00
Solomon Peachy 8d2f7bcc44 dnpds40: Comment updates. 2015-08-29 07:13:59 -04:00
Solomon Peachy be1fc6a46f dnpds40: Don't allow BUFCNTRL on DS80D when not using roll media. 2015-08-28 20:49:31 -04:00
Solomon Peachy ac59030199 dnpds40: Counter_P support has minimum FW requirements too. 2015-08-28 20:46:03 -04:00
Solomon Peachy 8d5b52fe6d dnpds40: Rearrange sanity checks, and add in DS80D media validation. 2015-08-28 20:37:28 -04:00
Solomon Peachy 152384d82e dnpds40: Fix three bugs:
* Validation error if a job comes in with rewind pre-enabled
 * Minor bug with 8x10 media validation
 * Rewindable job could trigger crash if multicut cmd not present in job
2015-08-28 20:09:39 -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
wait.
2015-08-26 22:54:18 -04:00
Solomon Peachy 2b68e3bc83 dnpds40: make square print support a feature flag instead of model-dependent. 2015-08-26 21:49:52 -04:00
Solomon Peachy 5dda0018d2 all: Get rid of a little more getopt detritus. 2015-08-25 22:47:26 -04:00
Solomon Peachy b343d56f1e all: Get rid of the remainder of the old two-stage cmdline parsing
All backend->cmdline_arg() invocations are done with intent to execute!
2015-08-24 18:49:51 -04:00
Solomon Peachy cc87cd1cc3 all: Add some print quantity range checks where we can.
Most backends don't verify against remaining media though.
2015-08-20 23:22:35 -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 ba2f964c6a dnpds40: More fixes to rewind support on the DS620.
Previous comit broke all sizes that couldn't legitimately be rewound.  oops.
2015-08-10 20:00:58 -04:00
Solomon Peachy 84575600e4 dnpds40: Allow usb iserialnumber visibility to be configured.
Also, decouple it from the DS620, since it'll be available on other
models eventually
2015-08-06 09:54:49 -04:00
Solomon Peachy 0a44ac0906 dnpds40: Left out 4x6*2. 2015-07-31 20:57:15 -04:00
Solomon Peachy 36463c70c6 dnpds40: Fix rewind support in the presence of multiple copies.
(Actually, rewind support was broken, period, but now it's all good..)
2015-07-21 22:01:24 -04:00
Solomon Peachy 6b11607c93 dnpds40: DS40 "forgets" 2x6 cutter mode when resuming from an out-of-media error
...So resort to manual copy generation.

TODO:  See if newer DS40 firmware fixes this?
2015-07-21 18:00:58 -04:00