Solomon Peachy
3bf185e60c
common: Get rid of [le|be]64_to_cpu macros
...
They operate on integers, not floats.
Floating point requires different handling.
2020-06-08 19:47:18 -04:00
Solomon Peachy
7ff5c6be62
mitsu: Preliminary support for the Mitsubishi CP30DW MedSci model.
...
Need the USB PID, plus some sniffs to figure out readback codes.
2020-06-03 22:35:36 -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
53ffda7aad
misc: consolidate <config.h> inclusion
2020-03-13 09:03:11 -04:00
Solomon Peachy
eeeda9a116
misc: Use GCC builtins for byteswapping.
...
(On most CPUs this translates to single-cycle operations. 1.2% binary
size shrink on x86_64, for example)
2020-02-26 16:02:42 -05:00
Solomon Peachy
a0ca92d25b
common: Add support for compile time assertions.
...
(Allows us to check header lengths are sane)
2020-02-25 21:02:10 -05:00
Solomon Peachy
494a188f1a
common: Allow CORRTABLE_PATH to be overrided at runtime.
2020-02-16 16:20:47 -05:00
Solomon Peachy
9cd61ac571
mitsu_m1: Fill in the beginning of CP-M1 support.
...
* Calculate opRate and rgbRate
* Matte plane loading
* set up input and output BandImages
* Placeholders for remaining stuff
Notaby missing:
* How to tell which gamma table to use
* USB PID
2020-02-16 14:03:29 -05:00
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
d0d6ef32b4
misc: Clean up endian macros, eliminate use of ntohs and friends.
2020-01-25 07:33:52 -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
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
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
131765cedc
sinfonia: Support generic stats query across most models.
...
(Everything but the s1245)
2019-12-16 11:00:35 -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
3b962df076
common: Support for common status / media reporting query.
...
Outputs in text form or JSON. See README for details.
2019-12-13 15:30:28 -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
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
0dfd40efe0
common: Make IEEE1284 ID manipulation code non-static.
2019-11-02 08:25:34 -04:00
Solomon Peachy
adec7f16e6
hiti: Add in 3D LUT files for P51x series
2019-10-29 14:52:08 -04:00
Solomon Peachy
46a750b7a7
hiti: Add USB PIDs for P750L, P720L, and document P520L/P525L as being supported.
2019-10-02 18:17:07 -04:00
Solomon Peachy
62b4b2b511
common: Get rid of explicit enumeration IDs in the P_?? list.
...
And sort them alphabetically.
2019-09-30 18:30:39 -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
3d59ad96bb
HiTi: Continue with updates:
...
* Color tables for P72x
* Issue Sublimation Format command
* Isue Color Heating Setting command
* Status Summary decoded in info dump
2019-09-27 23:49:45 -04:00
Solomon Peachy
7a08d72e09
HiTi: Add WIP backend for HiTi 520L.
...
There's a clear path to supporting P52x, P72x, and P750.
Other models (P51x, P11x) are viable, but will require more legwork.
Remaining models (P3xx, X610, and others) are unknowns.
2019-09-26 21:06:39 -04:00
Solomon Peachy
cf4b9b0023
common: const-ify more stuff in the common code.
2019-09-04 00:21:38 -04:00
Solomon Peachy
6145983ec4
common: include cpu_to_be64/le64 macros too.
2019-09-04 00:21:30 -04:00
Solomon Peachy
d454dfffa4
sinfonia-chcs2245: Add USB PID, and regression jobs.
2019-05-23 13:08:53 -04:00
Solomon Peachy
473f86b0d5
common: Use generic teardown code unless necessary.
2019-05-22 20:42:12 -04:00
Solomon Peachy
d39238255d
kodak: Add preliminary support for Kodak 7000-series, 8810, and 6900
...
6900 in particular is _very_ preliminary.
Also unifies some more common sinfonia code.
2019-05-22 18:59:09 -04:00
Solomon Peachy
bed955d1ce
common: Introduce the concept of collation.
2019-05-12 11:46:41 -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
fe2cbc587c
sonyupdneo: Add WIP backend for newer Sony printers
...
Covers these models:
* UP-DR80MD
* UP-CR20SL
* UP-D898 / UP-X898
Includes sample files generated by Windows drivers. Note that I do not
have USB VID/PIDs for any these models, and the post-parsing code has
not been tested.
2019-04-17 13:58:42 -04:00
Solomon Peachy
23d2fb370e
sony-upd89x: Initial support for UP-D895 and UP-D897
...
Can successfully send over spool files. Next up, generating our own.
2019-03-08 21:23:46 -05:00
Solomon Peachy
66b9733bc0
common: add 64-bit byteswapping macros.
2019-03-08 13:40:33 -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
309d7c2706
common: Make interface claim code available for other uses.
2019-01-11 07:54:42 -05:00
Solomon Peachy
de305f0c06
common: Add ability to suppress non-error messages.
2018-10-23 11:41:57 -04:00
Solomon Peachy
96dfb31db9
sony: Add preliminary support for the UP-D895 and UP-D897 medsci models.
2018-08-13 18:14:49 -04:00
Solomon Peachy
c5a8283a80
common: Support a multi-page "joblist"
...
Port the DNP and mitsu70x job combining code to use it.
Basically, this ensures we won't spit out any extra page copies, and is
an important stepping stone towards decoupling parsing from printing.
2018-06-20 21:50:10 -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
b7e1e62e7f
common: explicitly enumerate all P_** values.
...
Now that there are external dependencies.
2018-05-15 19:56:18 -04:00
Solomon Peachy
7ebfa12b96
mitsud90: Add WIP backend for the Mitsubishi CP-D90DW
2018-05-12 12:15:13 -04:00