Commit graph

59 commits

Author SHA1 Message Date
Solomon Peachy 340d8f690f minor doc updates 2024-01-05 20:47:08 -05:00
Solomon Peachy ab92fd1fa2 sonyupd: Add USB IDs for the Nidec Copal DPB 4000/6000 and ASK-4000/2000
No idea if they'll JustWork(tm) but we'll find out!
2023-12-22 11:50:20 -05:00
Solomon Peachy 0961f2664e sonyupd: Properly add block lengths as we parse Nidec Copal files
...Making it the same as our internal representation of Sony files.

This means we can use the unmodified "main_loop" code that writes
the data out to the printer in individual cmd & data blocks.
2023-11-11 21:56:07 -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 c3fba776c4 sonyupd: Regression in detecting job-specified copy count 2023-11-01 13:22:00 -04:00
Solomon Peachy 660ce0713e sonupd: It's the UP-D711MD, not UP-D771MD. Sigh. 2023-10-29 20:56:56 -04:00
Solomon Peachy aa7efbb9dd sonyupd: We can now print to the UP-D771MD! 2023-10-20 12:20:35 -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 245346c358 sonyupd: Add missing input buffer overflow checking to DPB parsing code 2023-10-06 22:53:13 -04:00
Solomon Peachy 4ce6f60f51 sonyupd: Support the native spool format for the ASK-2x00/4000 series
(AKA Nidec Copal DPB-4000/6000/7000)
2023-09-18 21:59:06 -04:00
Solomon Peachy 027dfbbed2 sonyupd: Fix compile errors. 2023-09-11 16:40:55 -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 8e8aa25ce2 sonyupd: More updates based on lessons learned about the Nidec Copal printers 2023-06-08 11:09:44 -04:00
Solomon Peachy 8ba6ded6de sonyupd: Documentation updates.
Turns out the Fujifilm ASK-2000/4000 series (and the Nidac Copal
DPB-4000/6000/7000) use the same protocol as the older Sony UPD series.

Unfortunately they use a different spool format.  I don't know if
it's worth trying to add backend support at this point...
2023-06-06 10:10:52 -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 2bb883f49a Update copyright year on a few files 2021-08-19 23:40:45 -04:00
Solomon Peachy 754bf01f80 sonyupd: Fix CUPS marker media level reporting and add a new media type 2021-08-14 22:39:53 -04:00
Solomon Peachy 28956af578 sonyupd: Add USB PID of Sony UP-CX1
Should JustWork(tm)
2021-08-13 16:42:59 -04:00
Solomon Peachy afb1245434 sony: Add USB ID for UP-CX1 (not expected to work) 2021-08-13 06:24:21 -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 f9ec0df5e7 sonyupd: Fix a missing \n 2020-12-10 17:48:06 -05:00
Solomon Peachy f7e63b947b sonyupdneo: Report the remaining media in the status query. 2020-12-01 22:54:08 -05:00
Solomon Peachy 55593d7f72 sonyupneo: We now know how to query remaining media quantity!
(Lifetime counts still unknown..)
2020-12-01 22:47:40 -05:00
Solomon Peachy 4e7f19691a sonyupd: Bugfixes for the UP-DR200 2020-11-29 09:42:05 -05:00
Solomon Peachy 31078c8971 sonyupd: More work on the UP-DR200 2020-11-28 10:39:28 -05:00
Solomon Peachy f790e0bacd sonyupd: Media type detection for UP-D series
(Only R206/6x8 is known so far)

Added in a 6x8 test job
2020-11-28 09:35:24 -05:00
Solomon Peachy d6d49264ba sonyupd: Ignore the STS1_UNK "error" for now 2020-11-27 18:40:04 -05:00
Solomon Peachy 9686557592 sonyupd: Make better use of UPD_STS1_* instead of magic numbers 2020-11-23 19:52:02 -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 6f01f362eb misc: Bump copyright dates on files modified in 2020 2020-06-30 23:42:54 -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 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
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 1d331f940d misc: use CUPS_BACKEND_OK instead of 0 as a return value. 2019-12-12 07:15:25 -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 1fe3a6066b all: Pass the USB bInterfaceNum into the backend attach() function. 2019-11-02 09:12:30 -04:00
Solomon Peachy 5960428715 sonyupd: Implement the same "use greatest of the copy parameters" logic. 2019-10-19 20:27:56 -04:00
Solomon Peachy 5f34b1070f misc: Fix missing newlines in multiple error messages. 2019-10-03 20:30:35 -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 eb4fc21990 misc: Fix a small pile of leaks and unintialized issues. 2019-05-26 13:05:41 -04:00
Solomon Peachy 473f86b0d5 common: Use generic teardown code unless necessary. 2019-05-22 20:42:12 -04:00
Solomon Peachy 4e8665a029 sony: List a few more unknown commands discovered. 2019-05-22 18:38:48 -04:00
Solomon Peachy f6e65c51cd misc: Fix several cppcheck format string warnings. 2019-05-14 23:06:39 -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 6c2bbd7933 sony: Minor updates. 2019-04-20 19:55:36 -04:00