Commit graph

282 commits

Author SHA1 Message Date
Solomon Peachy 8a4fd56c13 Update shaftnet.org URLS from http -> https
Update copyright year as appropriate
2021-01-23 10:47:01 -05:00
Solomon Peachy 92fec5125d dnp: DS820 fix for A4x6" print sizes landed in firmware 1.06, not 1.07 2020-11-19 12:47:08 -05:00
Solomon Peachy 2e06e08f28 dnpds40: Add support for partial matte operation 2020-10-22 09:08:03 -04:00
Solomon Peachy cfe0fd8004 common: the 'dyesub_backend' structure is now const everywhere. 2020-10-05 22:27:08 -04:00
Solomon Peachy 5f4d87fd41 dnpds820: FW 1.07 is needed to print A4x6 sizes
(It could be 1.06 that fixed it, but 1.05 definitely is broken...)
2020-09-09 20:25:32 -04:00
Solomon Peachy f31e06802a ds820: We can't rewind A4x4 either 2020-09-01 23:28:02 -04:00
Solomon Peachy 3c4b54a083 dnpds820: We can't combine A4x6 prints 2020-09-01 23:24:05 -04:00
Solomon Peachy c73a02ada3 dnpds820: Also support combining 2x A5 -> A5-div2 2020-09-01 23:18:50 -04:00
Solomon Peachy fa6f7dae48 dnp820: We can also combine 2x A4x5" -> 1x A4x5*2 2020-09-01 17:17:49 -04:00
Solomon Peachy 322ad8d7b7 common: Introduce a common USB connection object, and use it! 2020-08-12 20:04:54 -04:00
Solomon Peachy 0737fa32a0 DNP: Support the QW410 and Citizen CZ-01 4.5" printers. 2020-04-30 21:24:15 -04:00
Solomon Peachy f79500986f misc: Shut up a large pile of compile warnings with pedantic compilers 2020-03-24 18:23:00 -04:00
Solomon Peachy 12d709fb2c dnpds40: Silence a build warning with GCC10 2020-03-22 20:58:39 -04:00
Solomon Peachy 1ddf81255f dnp: Fix another segfault that only happens in test mode. (ds620/ds820) 2020-03-18 07:32:13 -04:00
Solomon Peachy 2bb1faefb5 dnp: Fix segfault. Bad Solomon. 2020-03-17 22:04:17 -04:00
Solomon Peachy 26acaaf8df dnp_ds820: Set printer attributes at the very beginning of the probe code
Fixes the media subtype query on the DS820
2020-03-17 21:33:38 -04:00
Solomon Peachy 3d5ee56d67 DNP: Split media keep mode into its own feature flag 2020-03-09 19:04:29 -04:00
Solomon Peachy bd7a80540c DNP: DS820 has different CWDs for each media type. 2020-03-09 18:55:52 -04:00
Solomon Peachy 18a05657c5 DNP: Mark the legacy spool headers as packed. 2020-03-09 16:15:02 -04:00
Solomon Peachy a37678f9f8 dnp_citizen: Better sanitization of the iManufacturer string 2020-02-26 21:11:14 -05:00
Solomon Peachy 3d01e35e5e shinkos6145: Support job combining (4x6 *2 -> 8x6-div2)
This code could be genericized, but as the other 6" sinfonia models
automatically combine prints it's not terribly useful.

The 6" printers don't appear to support a 5x7-div2 cut size, so
this remains only useful for 4x6.  Similarly, we can't do a 6x8-div4.

But as all 6" models can rewind, this is only a print speed optimization
rather than a media use optimization!
2020-01-31 11:34:08 -05:00
Solomon Peachy 697486b467 All: Leave the "prefix" list for family or backwards-compatible names only.
...use the name in the DEVICE entry for backend matches!
2020-01-30 22:08:55 -05:00
Solomon Peachy a42576e326 misc: Clean up some of the problems compiling for Windows with mingw
Major remaining tasks:

  * Forcing Non-blocking I/O
  * dynamic library loading (eg dlopen or ltdl)
  * Final linking
2020-01-25 07:15:02 -05:00
Solomon Peachy 80fbd14428 DNP: Explcicitly null-terminate all response buffers.
Since the RX1 doesn't terminate the version string properly..
2020-01-23 00:06:01 -05:00
Solomon Peachy 930b5a1c04 DNP: Allow combining 2" strip jobs. 2020-01-23 00:05:56 -05:00
Solomon Peachy 9075680ac1 DNP: It's okay to combine jobs with no-cut-waste set.
(And update the comments on the 2x6 strip situation...)
2020-01-22 22:23:00 -05:00
Solomon Peachy a30fa619f1 misc: Correct a small pile of cppcheck/scan-build warnings.
No actual bugs, thankfully.
2020-01-22 11:25:06 -05:00
Solomon Peachy a111a2559d Common: Major rejiggering of print job combining
* Decision logic for combining jobs is global, with a per-backend
   combine_job() call for the nitty-gritty
 * Job combining code now handles multipage jobs as well as
   multiple copies of a given page
 * Will attempt to batch multipage jobs
 * Automatically invoked every time a job is appended to a joblist
 * Only used by DNP and Mitsu D70 backends (so far)
2020-01-21 21:48:57 -05:00
Solomon Peachy 86907925fc DNP: Work around a bizzare short read scenario in the job footer 2020-01-21 20:32:20 -05:00
Solomon Peachy 626a49f05d Misc: Update address for FSF.
Also fix the copyright year for a few files.
2020-01-17 16:50:56 -05:00
Solomon Peachy a9b9edf192 dnp: Nuke an obsolete comment 2020-01-13 20:42:04 -05:00
Solomon Peachy 11b59b7283 dnp: Fix a bad error test. 2019-12-19 21:59:59 -05:00
Solomon Peachy 8168777679 dnp_ds80dx: Log the duplex counter in the common stats output for that deck. 2019-12-16 10:10:57 -05:00
Solomon Peachy 77b7b12202 misc: version bumps 2019-12-13 19:07:13 -05:00
Solomon Peachy 78c7713578 common: Instead of "media" use "deck" instead, and each one gets status/lifetime 2019-12-13 19:02:34 -05:00
Solomon Peachy 4da0ae1ce2 dnp: Support global stats query. 2019-12-13 15:30:29 -05:00
Solomon Peachy 5cf49d0dcb dnp: Sanely report model number for units that share the same USB PID/VID 2019-12-13 15:30:29 -05:00
Solomon Peachy 1d331f940d misc: use CUPS_BACKEND_OK instead of 0 as a return value. 2019-12-12 07:15:25 -05:00
Solomon Peachy 13d62550f3 common: Add proper definitions for special CUPS marker levels.
And report STATE(media-empty) globally based on this.
2019-12-11 23:20:04 -05:00
Solomon Peachy 58919693c2 dnp: Fix parsing LUSTER vs FINE MATTE with DS820 legacy spool format. 2019-11-17 20:52:21 -05:00
Solomon Peachy b41803ef9e common: Pass bInterfaceNo into backend->query_serno() call
Also allow the USB iSerialNumber value to be ignored.
2019-11-06 14:18:49 -05:00
Solomon Peachy 1fe3a6066b all: Pass the USB bInterfaceNum into the backend attach() function. 2019-11-02 09:12:30 -04:00
Solomon Peachy 551666a50e misc: Documentation/comment updates and some dead code removed. 2019-10-28 20:32:09 -04:00
Solomon Peachy 54fd7d16b4 dnp: fix typo 2019-10-25 06:53:53 -04:00
Solomon Peachy bbe404d24f citizen: Add support for the new CX-02W printer. 2019-10-25 06:50:39 -04:00
Solomon Peachy 6a4449c0a2 dnp: Fallout from the copy count rejiggering. 2019-10-19 13:11:47 -04:00
Solomon Peachy baae9b31f5 dnp: Use the larger of the copy arguments available to us. 2019-10-18 13:56:42 -04:00
Solomon Peachy 5bf9a2ef12 dnp: Respect 'copies' argument supplied by Windows' spool files. 2019-10-18 13:49:04 -04:00
Solomon Peachy 5f34b1070f misc: Fix missing newlines in multiple error messages. 2019-10-03 20:30:35 -04:00
Solomon Peachy 9a456ba7cb DNP: Fix logging of the media subtype 2019-09-29 11:56:52 -04:00