Commit graph

40 commits

Author SHA1 Message Date
Solomon Peachy d103d62650 shino_s1245: Add in marker level support. 2016-10-12 16:16:51 -04:00
Solomon Peachy ea8e0b1f35 all: Fix up a a large pile of cppcheck warnings. 2016-08-21 10:23:00 -04:00
Solomon Peachy fba125714c Add printer reset support to Kodak 68xx and Shinko S1245. 2016-06-28 10:29:17 -04:00
Solomon Peachy fc12adaf5c s1245: Minor cleanups; no functional change. 2016-06-22 22:37:33 -04: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 1c3cfc996a all: Ensure all jobid-aware printers log the ID properly. 2016-01-20 13:40:11 -05:00
Solomon Peachy 298d7a5d6d all: Make sure the requested jobid isn't already in use! 2016-01-15 08:24:23 -05:00
Solomon Peachy 5dda0018d2 all: Get rid of a little more getopt detritus. 2015-08-25 22:47:26 -04:00
Solomon Peachy d2b9ce6d3e kodak68x0: Major updates.
Printer shares considerable commonality with Shinko S1245

   * Revamped error detection
   * Greatly enhanced status decoding
   * Full ability to properly pipeline jobs
   * Ability to cancel a job in progress

Printer shares considerble commonality with Shinko S1245.
2015-08-25 20:33:41 -04:00
Solomon Peachy 0a9811197f shinko_s1245: Fix printer detection, and library code. 2015-08-25 18:13:00 -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 175f6a52d8 all: For printers that automatically generate copies, get rid of
leftover manual copy handling code.

The exception is the dnp backend, it needs do use manual copies under
some situations.
2015-08-20 23:13:52 -04:00
Solomon Peachy 0fb287cb1e s1245: Fix media sanity checking. 2015-08-20 23:13:09 -04:00
Solomon Peachy 28645830f5 s1245: Enforce the 5-points-per-response limit on media queries. 2015-08-20 22:41:58 -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 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 65d1c5461d s6245/s1245: Fix a pile of warnings found by clang-analyzer 2015-07-04 11:01:10 -04:00
Solomon Peachy cd03e9a22f misc: Fix some unitialized variable warnings that show up with -Os 2015-07-04 10:12:57 -04:00
Solomon Peachy 5ce4b691e3 s1245/6245: Fix some buffer overflows. 2015-07-04 09:38:59 -04:00
Solomon Peachy 992e551a02 all: Fix command like parsing when the argument has an option.
This was a longstanding bug.  Oops.
2015-06-30 21:33:02 -04:00
Solomon Peachy 24c3550feb all: Ensure all malloc() failures are caught and logged. 2015-06-23 20:48:52 -04:00
Solomon Peachy d39837bf2f s1245: Whitespace fixes. 2015-05-14 18:08:59 -04:00
Solomon Peachy e3843ab52d s1245: Fix use of 'switch' instead of 'if'
...oops.
2015-05-14 18:08:33 -04:00
Solomon Peachy 5863e7bd30 Docs: Note that Sinfonia provided documentation for the s1245. Thank you! 2015-02-21 10:53:53 -05:00
Solomon Peachy dece0d8975 s1245: Textual descriptions of tone curves. 2015-02-19 21:32:43 -05:00
Solomon Peachy 97112f91a4 s1245: Only set matte intensity if the printer's stored value is different. 2015-02-18 21:20:59 -05:00
Solomon Peachy d198f0493b s1245: We can't set the matte intensity if we have a print in progress.
Ideally we could query the existing state, and only update if it
changed.
2015-02-18 21:14:00 -05:00
Solomon Peachy 0e39bf9ee4 s1245: Set the matte intensity when performing a matte print. 2015-02-18 21:07:50 -05:00
Solomon Peachy 87bc69642c s1245: Add tone curve support. 2015-02-18 21:00:32 -05:00
Solomon Peachy c9ab39eff8 s1245: Flesh out error reporting and handlig around the main print routine.
...It's ready for testing now, I think.  Any volunteers?
2015-02-10 22:39:18 -05:00
Solomon Peachy 8ac7aba333 s1245: Initial print command implemented. 2015-02-09 21:46:25 -05:00
Solomon Peachy 4a34c4e740 s1245: Implement the canceljob command.
All that's left is the actual printing.  And testing all of this on a
real printer.
2015-02-08 20:34:30 -05:00
Solomon Peachy 06320b61db s1245: Add support for querying and setting the user string.
...AKA the "serial number" we need to report to CUPS.
2015-02-08 20:19:44 -05:00
Solomon Peachy 5661725a3b s1245: Add media query support, and start fleshing out the main loop. 2015-02-08 19:50:22 -05:00
Solomon Peachy 2c69ca34dc s1245: Add printer status command. 2015-02-08 18:59:26 -05:00
Solomon Peachy 9049231db1 s1245: Fleshing out structure definitions.
Next up:  query status, parsing status, etc.
2015-02-08 15:33:17 -05:00
Solomon Peachy 261a86f0b6 s1245: Data structures
Still need to define flags and whatnot.
2015-02-08 13:17:33 -05: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
backend.
2015-02-08 12:11:16 -05:00