Commit Graph

163 Commits (master)

Author SHA1 Message Date
Solomon Peachy b35c890067 common: Give dyesub_read_file() an option to not print an error if the file is not found. 2023-11-29 20:55:21 -05:00
Solomon Peachy 660ce0713e sonupd: It's the UP-D711MD, not UP-D771MD. Sigh. 2023-10-29 20:56:56 -04:00
Solomon Peachy 81ebf76259 sonyupd: It's the UP-D771, not UP-D711. Oops.. 2023-10-16 10:19:56 -04:00
Solomon Peachy 16833d29aa sonyupd: Initial support for UP-D711 series.
Spool file parsing and status/media readback.

Printing not implemented yet.
2023-10-15 15:32:06 -04:00
Solomon Peachy 7ea1911289 mitsu9xxx: Add IDs for CP9500-S and CP9600-S
No idea if they work, but... eh.
2023-10-04 20:31:19 -04:00
Solomon Peachy aada0892b0 mistu9820: Initial support for the CP9820DW-AG model.
_Probably_ won't print yet.
2023-10-02 09:31:35 -04:00
Solomon Peachy e7bb48da25 sonyupd: Add preliminary support for the Fujifilm ASK-2500
(also known as the Nidec Copal DPB-7000)

Status reporting only; spool parsing will come later.
2023-09-09 14:39:21 -04:00
Solomon Peachy 2269ba3ebd mitsu70x: Add support for the DNP DS480 and DS680 models.
These are variations of the Mitsubishi D70, and were only ever sold
as part of a complete minilab-eseque system.
2023-07-23 17:45:02 -04:00
Solomon Peachy 588bcef6cd mitsud90: Add VID/PID for Mitsubishi CP-W5000DW
The W5000 uses the same base protocol as the D90/M1 family.

Further analysis is in the works.
2023-07-07 09:47:28 -04:00
Solomon Peachy dd64a8f78f hiti: Initial support for P320 series. Just detection and tables.
This is where things will stand until I get one in my hands.
2023-06-05 22:26:09 -04:00
Solomon Peachy 7a6c82828c hiti: Beginnings of support for the HiTi P310 series
Just basic detection and data tables for now

And replace some magic numbers with proper names
2023-06-04 00:03:01 -04:00
Solomon Peachy 79c555e195 hiti: Beginning of P461 support. Doesn't work yet! 2023-03-31 19:03:30 -04:00
Solomon Peachy 7c0f42ac1e hiti: Update copyright year. 2023-03-17 13:16:05 -04:00
Solomon Peachy ee1a6056f8 hiti: P525 has some differences with the P520
* Different firmware version strings
 * Use 'ri1' data files instead of 'ri'
 * CMD_EFD_CHS doesn't work
2023-03-17 13:10:48 -04:00
Solomon Peachy 68f79125a9 docs: Update copyright year for files modified (so far) in 2022 2022-09-29 14:28:16 -04:00
Solomon Peachy 9316644f0b hiti: Hook up P530D, probably won't work yet. 2022-06-26 18:01:08 -04:00
Solomon Peachy 05e628e693 common: Use '.dylib' for DLL_SUFFIX on MacOS 2022-05-26 12:42:51 -04:00
Solomon Peachy b883a7b100 common: We don't need to sleep in PPD messages 2021-09-30 16:11:02 -04:00
Solomon Peachy b5c7b5e53e all: Move to using 'struct dyesub_job_common' in all backends
Should have done this a while ago.  Now I can finally modify the
common job structure in just one place
2021-09-30 14:52:11 -04:00
Solomon Peachy a396200bce all: make "fast_return" only affect the final print in a job.
That way we can take advantage of printer pipelining within a job
even when fast_return is turned off.

This refactoring was also necessary for further changes in how
fast_return will work.
2021-09-30 13:55:27 -04:00
Solomon Peachy 1a1e1c7dfb common: report the usb vid, pid, bus, and port as CUPS attributes
ATTR:org.gutenprint.usb.backend=%s
	ATTR:org.gutenprint.usb.vid=%04x
	ATTR:org.gutenprint.usb.vid=%04x
        ATTR:org.gutenprint.usb.bus=%03d
        ATTR:org.gutenprint.usb.port=%03d
2021-09-29 18:12:46 -04:00
Solomon Peachy 80d8222551 common: Log the bus/port number when we're probing things 2021-09-27 19:57:58 -04:00
Solomon Peachy aeae9566e6 sonyupdneo: Fixes for the UP-991AD/971AD
Can now pass static regression tests with the windows printjob
2021-09-07 13:35:12 -04:00
Solomon Peachy 316710ca63 Add backend for the kodak 8800/9810
* COMPLETELY UNTESTED *

To-Do:

 * Did I menton testing?
 * cmdline tools to query/dump:
   * media
   * counters
   * error log
   * fw versions
 * Query major status (eg idle, printing, etc)
 * Detect errors at runtime (eg cover open, ribbon not loaded, etc)
2021-08-04 17:18:01 -04:00
Solomon Peachy 42806398b3 mitsud90: Rework panorama handling code.
* Expect single-image job from gutenprint
 * Split job into separate overlapping panels
 * Create a job for each panel
 * Nuke original parsed job

Still (major) TODO:  processing overlapping regions!
2021-07-11 22:19:57 -04:00
Solomon Peachy 1ce5a85d82 common: Change backend->read_parse() API to allow returning multiple jobs
Handle up to MAX_JOBS_FROM_READ_PARSE (== 3)
2021-07-11 21:28:28 -04:00
Solomon Peachy 2bc38801f4 Don't emit processing library info in STATS_ONLY mode. 2021-05-05 21:14:59 -04:00
Solomon Peachy 7fec86bac7 hiti: Add in the the CS2xx series USB PIDs, and its LUT. 2021-04-20 20:14:44 -04:00
Solomon Peachy e450d6f496 mitsud90: Initial support for the Fujifilm ASK-500
Looks to be a near-identical clone of the CP-M1 series, albeit with
different color curves and no LUT.

Currently untested, as I don't know the USB VID/PID.  Gutenprint
support not yet committed.
2021-03-15 17:08:43 -04:00
Solomon Peachy d8c4f6d717 misc: Bump copyright year on some files updated in 2021 2021-02-07 23:56:37 -05:00
Solomon Peachy 1b8eb61923 canonselphy: Fix incorrect media type reporting for the CP790. 2021-02-07 20:32:43 -05:00
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 cfe0fd8004 common: the 'dyesub_backend' structure is now const everywhere. 2020-10-05 22:27:08 -04:00
Solomon Peachy 8847037a32 common: Clean up some variable names in the probe functions.
No functional change.
2020-08-13 21:36:41 -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 27181eda63 common: un-hardcode 'stderr' as the logging stream
It's now a global variable that's initialized to stderr
(This is prep work for eventual support of printing applications)
2020-08-11 12:48:38 -04:00
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