Solomon Peachy
ab81c3e7fc
docs: Update URL to current repository and bug tracker
2024-05-29 20:34:43 -04:00
Solomon Peachy
6c0efde77c
all: Pull the static device table out of the backend structure definition
...
...Now it's a separate structure referenced through a const pointer.
Personally I find this a bit uglier but I'm sick of the voliminous noise
that static analyzers generated from the way it was.
2024-04-05 07:50:54 -04:00
Solomon Peachy
a047969950
mitsu: Set the 'is_raw' flag after processing 8bpp input into native
...
...This will prevent double-processing.
2024-01-20 20:55:33 -05:00
Solomon Peachy
b6f7513d52
all: MEDIA_CODE argument is in _hex_ not decimal, so use strtol instead of atoi
2024-01-20 17:59:48 -05:00
Solomon Peachy
f1c2004666
misc: misc fixes to make cppcheck & clang-analyze happier
...
Most of these are CONSTifying arguments, but there are some memory leaks too
2023-11-01 16:16:26 -04:00
Solomon Peachy
751f26fdc0
mitsu98xx: Fix major bugs in output generation
...
* Correct Endianness when generating Matte plane
* Don't treat YMC planes as 8bpp
2023-10-09 22:33:22 -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
5f15a0e3b0
mitsu98xx: Updates for the 9820.
2023-10-04 15:06:59 -04:00
Solomon Peachy
23402f8d67
mitsu9xxx: Major rework of the job parsing code.
...
* Use fixed number of planes instead of the bizarre readahead
* Handles job boundaries sanely
* Better sanity checking
* Add a 12bpp test job for 9810/9820 6x9 matte.
* Disable windows 9600 test job due to brokenness
The new parsing code is a lot saner but can't handle the standard
windows CP9600 testjob where instead of using 3x full-size data planes
it uses something like 32x sub-page planes.
It's not worth trying to maintain complexity for that special case. If
anyone complains, I'll revisit this...
2023-10-04 10:34:47 -04:00
Solomon Peachy
2014566309
mitsu9820: Supposedly found the correct PRINT START code.
2023-10-04 07:36:21 -04:00
Solomon Peachy
a43779d35e
mitsu9xxx: Tweak CP9XXXX_START to work globally, not just for the 9820S
2023-10-03 21:52:36 -04:00
Solomon Peachy
39c46bd77e
mitsu9820: Another guess for the printer start cmd.
...
allow CP9XXXX_START environment variable to override start cmd.
2023-10-03 21:31:49 -04:00
Solomon Peachy
6d206083cb
mitsu9550: bump version, should have done it earlier.
2023-10-03 11:58:13 -04:00
Solomon Peachy
4660ee149d
mitsu9820: Try a different START command for the 9820-AG.
...
It's most likely one of 0x49/0x4a/0x4b/0x4f/0x50, nothing to be done but
try them one at a time.
2023-10-03 11:39:32 -04:00
Solomon Peachy
cb89b6c553
misc: Update copyright year for a couple of files
2023-10-02 22:27:14 -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
29c90dc0df
various: Update copyright year
2021-09-30 22:02:33 -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
87f3f39005
various: We used CUPS_BACKEND_HOLD instead of _STOP for some errors
2021-09-29 22:54:07 -04:00
Solomon Peachy
61cd0a06cf
mitsu9xxx: Document a few things seen on a CP9810
...
Either we're not picking up an error condition or we're keying off
the wrong field to determine if printing is complete.
2021-07-09 20:37:07 -04:00
Solomon Peachy
e3ab11a975
misc: Get rid of all USB_VID_*/USB_PID_* definitions
...
Directly reference the IDs in the lookup tables, like in linux-kernel
2021-04-16 21:12:54 -04: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
0a6f7bd30b
cp30: Report media type (based on "max" count)
2020-12-05 21:05:03 -05:00
Solomon Peachy
997a2681c1
cp30dw: A couple more minor tweaks.
2020-12-05 19:27:05 -05:00
Solomon Peachy
affda734ea
mitsucp30: Better error loging
2020-12-05 19:04:18 -05:00
Solomon Peachy
c14dc23de3
lib70x: Library enhancements for CP30D family
...
* 3D LUT processed in planar format
* Sharpening support (not implemented yet)
2020-12-05 18:42:46 -05:00
Solomon Peachy
62032a4e61
mitsu9xxx: Many, many bug fixes for the CP30 family.
...
It prints properly now!
2020-12-05 16:39:12 -05:00
Solomon Peachy
f32f198063
mitsu9xxx: Fix multiple copy generation.
...
(embarassing goof..)
2020-12-05 16:26:46 -05:00
Solomon Peachy
7d8af6dcd7
mitsu9xxx: Code consolitation and cleanup.
...
Likely fixed a bug on the 9550S and 9810S models.
2020-12-04 23:35:19 -05:00
Solomon Peachy
f017aa0cea
mitsu_cp30: Report firmware version.
...
Rearrange command info to numerical order
2020-12-04 20:02:44 -05:00
Solomon Peachy
cec707f00f
mitsu9xxx: Misc internal rework, with lessons learned so far from the CP30
2020-12-03 22:06:33 -05:00
Solomon Peachy
f91635bd23
mitsu9xxx: Minor documentation fix
2020-11-28 17:50:30 -05:00
Solomon Peachy
cfe0fd8004
common: the 'dyesub_backend' structure is now const everywhere.
2020-10-05 22:27:08 -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
d591d9738b
mitsu98xx: Fix row/col ordering bug
2020-06-05 21:06:41 -04:00
Solomon Peachy
81f1dcf1a6
mitsu98xx: LUT mapping needs BGR, not RGB.
...
CP30D data is planar not packed, so the LUT processing won't work anyway!
2020-06-04 13:20:51 -04:00
Solomon Peachy
87c5ed3b98
micsup30: Will now run the CP30 data through the LUT.
2020-06-03 23:15:04 -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
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
4a99ee5ff6
mitsu_cp98xx: Documentation update.
2020-03-01 08:50:45 -05:00
Solomon Peachy
6505ec5d91
mitsu: Don't abort on attaching if the library isn't loaded.
...
Instead, only abort on job parsing, and even then only if it's necessary.
2020-02-27 11:53:31 -05:00
Solomon Peachy
79895460fa
mitsu98xx: Correct an error message.
2020-02-17 10:33:37 -05:00
Solomon Peachy
494a188f1a
common: Allow CORRTABLE_PATH to be overrided at runtime.
2020-02-16 16:20:47 -05:00
Solomon Peachy
ef666ba37e
mitsu98xx: Significant fixes
...
* Cleanup library code loop conditionals
* Reverse row data if needed
* Convert packed YMC16 to planar YMC16
* Send data to printer last row first (ie matching processing flow)
2020-02-12 20:07:03 -05:00
Solomon Peachy
196db2230d
mitsu9550: Move copy field to standard place in job header.
...
(Purely a cosmetic change, but it allows common code to display properly)
2020-02-11 17:22:39 -05:00
Solomon Peachy
561eb90a61
mitsu98xx: Implement proper gamma correction code in lib70x
...
- Bump version & API version
- Move all table loading and manipulation out of mitsu9550 backend
- Everything but sharpening is implemented
- COMPLETELY UNTESTED!
2020-02-11 11:15:57 -05:00
Solomon Peachy
959b2de744
Mitsubishi: Start pulling common code into a separate code module.
2020-02-05 18:50:58 -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