Commit Graph

131 Commits

Author SHA1 Message Date
Solomon Peachy 9abe62b115 build: MinGW now compiles selphy_print cleanly.
Need to test it out. Especially the dynamic DLL loading.
2020-01-26 00:41:48 -05:00
Solomon Peachy d4b8ec0bc3 common: Move dynamic libary loading definitions into common header. 2020-01-26 00:24:33 -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 e41a96c500 mitsu: Documentation updates, mostly for the CP9xxx series. 2019-12-25 23:41:31 -05:00
Solomon Peachy bdfb386246 mitsu: More notes on the 9000 and 3020 series.
...I really have to question my own sanity in this...
2019-12-20 23:06:09 -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 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 baa101ea5e mitsu98xx: Figured out a few more things about the KH and WMAM structs. 2019-10-24 08:02:36 -04:00
Solomon Peachy b3867f7af0 misc: When there is more than once copy count source, use the largest. 2019-10-18 14:17:51 -04:00
Solomon Peachy c1b15c1fbb all: Clean up unnecessary #include 2019-09-28 11:05:42 -04:00
Solomon Peachy 9b3ae0ed5b all: Report up the low-level media ID as a PPD attribute.
(Needs changes to Gutenprint in order to be useful...)
2019-09-28 10:54:10 -04:00
Solomon Peachy 1078368ed8 mitsu9xxx: Further refine the GCC warning suppression
(So it doesn't trigger a new warning on GCC < 9...)
2019-09-12 09:11:01 -04:00
Solomon Peachy a558fe065f mitsu98xx: Silence a false-positive GCC warning. 2019-09-10 13:31:37 -04:00
Solomon Peachy 1de6cb47a6 mitsu9810: Document an unknown command seen referenced. 2019-08-01 22:36:07 -04:00
Solomon Peachy 701e6a45a2 misc: Fix up a small pile of bugs found via static analysis. 2019-05-07 11:02:30 -04:00
Solomon Peachy d673be68dd mitsu98xx: Handle data table in native byte order. 2019-03-08 13:59:45 -05:00
Solomon Peachy 3ac2f0c96c mitsu98xx: Correct the definitions of the Binary data table.
As the current binary table is big endian, there is need to convert the
table into textual form to so that the loading process sorts things out.
2019-03-08 09:34:14 -05:00
Solomon Peachy 9ae4330a66 mitsu98xx: Start using lib70x -- 3D LUT only for now. 2019-02-26 07:23:14 -05:00
Solomon Peachy 188b59ce37 misc: Update copyright year on files modified in 2019. 2019-02-17 21:54:38 -05:00
Solomon Peachy 295a921747 common: rename dyesub_read_data() to dyesub_read_file() 2019-01-13 20:09:04 -05:00
Solomon Peachy 54b253d655 common: Add a global function to read the contents of a file.
Most backends now utilize it.  The stragglers do something special.
2019-01-13 15:44:29 -05:00
Solomon Peachy ea34f11679 mitsu9810: reserve a little extra space for the lamination data.
(prevents a buffer overflow when on 5" media)
2018-09-30 10:40:20 -04:00
Solomon Peachy c41a9759fe mitsu9xxx: Fix uninitalized read in 98xx gamma correction code. 2018-09-30 09:24:48 -04:00
Solomon Peachy aebcdd47f6 mitsu98xx: Fix problem with printing matte on 9810/9820 2018-09-26 21:55:29 -04:00
Solomon Peachy 2e70eca4e1 all: Revamp "backend names" to align with gutenprint model names.
Should have done this to begin with, whoops.

(All old names are retained for backwards compatibility)
2018-09-22 09:11:14 -04:00
Solomon Peachy 0376d16586 mitsu9xxx: Support passing media type to test code. 2018-09-21 15:59:20 -04:00
Solomon Peachy 3b4338988f misc: Fix some minor issues reported by scan-analyze
(All remaining issues are false positives, from what I can tell)
2018-09-20 08:42:30 -04:00
Solomon Peachy c027017784 mitsu9550: More documentation of the WMAM data structure. 2018-06-30 14:15:20 -04:00
Solomon Peachy 77971898bf mitsu98xx: bugfix. 2018-06-20 11:54:44 -04:00
Solomon Peachy b4dc6c7f25 mitsu: 70x and 98xx families perform the image processing in test modes.
This fixes a functional regression.
2018-06-19 09:04:17 -04:00
Solomon Peachy faf99309ec mitsu98xx: Move bulk of image processing out of read_parse.
Paves way for the combining of jobs.
2018-06-17 22:24:15 -04:00
Solomon Peachy 43d4812856 many: Fix more memory leaks and outright bugs. 2018-06-17 21:08:17 -04:00
Solomon Peachy fd9b38202e common: better split between parsing and printing.
parsing returns a self-contained job, which is then passed to printing
code.  No global state is modified.

mitsu 70x:
  Still need to move the image processing code to the print side.
2018-06-17 12:14:46 -04:00
Solomon Peachy 1ef2847aa4 mitsu9600: Fix typo in backend alias. 2018-05-15 18:35:20 -04:00
Solomon Peachy ea7880e270 mitsu98xx: Fix bugs in the 8->12bpp conversion code. 2018-05-15 08:59:14 -04:00
Solomon Peachy 6e9c2a264f mitsu9xxx: fix compile. Bad Peachy. 2018-05-12 18:33:39 -04:00
Solomon Peachy a69cf575fd mitsu9550: Take advantate of TEST_MODE_NOTATTACH 2018-05-12 12:17:24 -04:00
Solomon Peachy 390c5e2bf6 all: push printer type lookup into common code. 2018-05-09 23:09:01 -04:00
Solomon Peachy 83fbd2d020 mitsu98xx: Fix parsing of 8bpp jobs. 2018-05-09 11:04:57 -04:00
Solomon Peachy e2d21d7683 mitsu9xxx: More datalogging. 2018-05-09 10:47:19 -04:00
Solomon Peachy 2696a1c8a1 mitsu9xxx: Fix the fix for the status2 query. 2018-05-04 08:34:57 -04:00
Solomon Peachy d1cbb6e077 mitsu98xx: Stricter end-of-job checking and some debug output. 2018-05-02 15:45:46 -04:00
Solomon Peachy 47d9211ebc mitsu98xx: Do the datafile read earlier
Keeps us from trashing the data length!
2018-05-01 17:51:13 -04:00
Solomon Peachy 86dc41df2e mitsu98xx: Fix boneheaded error. 2018-05-01 16:10:28 -04:00
Solomon Peachy a86552ccf2 mitsu9xxx: Fixes.
* "media remaining" display in status2 message
 * corrtable path for 98xx models
 * delete some now-dead code.
2018-05-01 14:40:17 -04:00
Solomon Peachy 5669fb3552 all: add new marker query support to backends and rejigger as needed. 2018-04-29 11:03:46 -04:00
Solomon Peachy 06dbf0fa91 common: Change backend->attach API to allow status returns 2018-04-28 19:22:05 -04:00
Solomon Peachy 497ae2ab22 mitsu9xxx: Don't send the "job cancel" command for -S models. 2018-04-23 22:01:35 -04:00