Commit graph

381 commits

Author SHA1 Message Date
Solomon Peachy 766ca01f0d whitespace fixes. 2014-01-12 17:26:29 -05:00
Solomon Peachy 1888254860 all: Move to using the common read_data() instead of direct libusb functions. 2013-12-21 22:55:33 -05:00
Solomon Peachy db65d25feb common: Add a generic read_data() call. 2013-12-21 22:39:15 -05:00
Solomon Peachy 875ebd2d76 all: Silence nearly all DEBUG outputs unless DYESUB_DEBUG is set in the
environment.
2013-12-21 22:15:18 -05:00
Solomon Peachy 138d10551b common: Fix incorrect help text.
To use a specific device, use 'DEVICE=...' rather than 'SERIAL=...'

The documentation (readme) was correct.
2013-12-20 11:14:20 -05:00
Solomon Peachy b872a63533 dnp_ds40: Handle reading in the plane data as smaller chunks.
Fixes use when data is piped in.
2013-12-19 07:56:16 -05:00
Solomon Peachy 13e25a4c95 common: Ensure we properly define URI_PREFIX as part of the build. 2013-12-18 18:28:13 -05:00
Solomon Peachy b4ab36693a install: use the name 'gutenprint52usb' instead of 'gutenprint52+usb' 2013-12-18 09:41:51 -05:00
Solomon Peachy 64dda99d30 common: We need to URLify the manufacturer string too! 2013-12-18 07:48:30 -05:00
Solomon Peachy 886833b0a8 dnp_ds40: Increase max printjob len due to 300x600 DPI mode. 2013-12-17 20:43:30 -05:00
Solomon Peachy 1067a127fd documentation updates. 2013-12-17 13:20:14 -05:00
Solomon Peachy 812fba5927 dnp_ds40: Add a thank you for Marco Di Antonio and
ilgruppodigitale.com who made this backend possible!
2013-12-17 08:31:45 -05:00
Solomon Peachy d78c59240a blacklist: Add Mitsubishi CP-D70/D707 and DNP DS80 2013-12-17 08:31:19 -05:00
Solomon Peachy 5d58950293 shinko_s2145: Whitespace. 2013-12-17 08:30:37 -05:00
Solomon Peachy 14251b2726 documentation updates. 2013-12-17 07:21:24 -05:00
Solomon Peachy 7f39793a42 install: Use the correct 'gutenprint52+usb' backend name. 2013-12-17 07:18:53 -05:00
Solomon Peachy d9cae63a36 dnp_ds40: Documentation updates. 2013-12-17 00:41:22 -05:00
Solomon Peachy bb4958d5a2 dnp_ds40: Many changes:
* Parse printjob properly, read it in chunks
 * Detect 300/600dpi mode based on printer header
 * Be smarter about in-printer copy generation
 * Send printjob to printer in chunks
 * If printer has sufficient buffers for our print, spool it immediately
   even if we're still printing another job
 * Fix some buffer overflows
 * Move media detection and remanining prints into status query page
2013-12-17 00:36:06 -05:00
Solomon Peachy 1e3d3b14c4 dnp_ds80: Update the testjob to reflect upstream gutenprint changes. 2013-12-17 00:35:39 -05:00
Solomon Peachy 3ce2346a0d dnp_ds40: Make spooling a little more intelligent, and add status query
for color table information.
2013-12-16 23:01:30 -05:00
Solomon Peachy 6d9ca428c4 dnp_ds40: Have the spooler handle prints. 2013-12-16 22:05:49 -05:00
Solomon Peachy 2cc0ad2842 dnp_ds40: Fix bugs preventing spooler from working.
Also add a sample testjob.
2013-12-16 21:25:59 -05:00
Solomon Peachy fefaaa1e47 dnpds80: Improvements gleamed from playing with the windows driver:
* Query serial number (yay!)
 * Query the 'PQTY' counter, not sure what that is.
 * Query 'Media ID set", not sure what that is.
 * Clear counter command fixed.
2013-12-16 20:15:48 -05:00
Solomon Peachy 84a755f785 Documentation updates. 2013-12-14 20:55:37 -05:00
Solomon Peachy d2cac28e3a dnp_ds40: Fix counter_clear and set_counter_p commands (I hope) 2013-12-13 15:43:30 -05:00
Solomon Peachy e8514eb5cf dnp_ds40: fix formatting on the matte counter, and an attempt to get the
counter clear commands working.
2013-12-11 20:02:12 -05:00
Solomon Peachy 1ed58be6e3 dnp_ds40: Fix a bug in the new do_cmd() function.
Also move the debug output to be keyed off of DYESUB_DEBUG
2013-12-11 07:50:31 -05:00
Solomon Peachy 4715a088e3 common: unify the debug messages, set DYESUB_DEBUG before invoking. 2013-12-11 07:49:57 -05:00
Solomon Peachy a8c5ae8a2a dnp_ds40: Add ability to set the 'P' counter. 2013-12-10 22:00:56 -05:00
Solomon Peachy 4a992d9677 dnp_ds40: Add counter clear commands.
Start implementing the spooling/backend code...
2013-12-10 21:53:46 -05:00
Solomon Peachy ab770ea0d4 README: Add info about the DNP DS40/DS80 2013-12-10 21:53:17 -05:00
Solomon Peachy c6e536ed56 dnp_ds40: Add media info and counter fetches. 2013-12-10 19:42:28 -05:00
Solomon Peachy 362ff51f70 dnp_ds40: Don't bother logging the responses either.
Also fix formatting for resolution output.
2013-12-10 09:36:18 -05:00
Solomon Peachy c48bbebe9f dnp_ds40: Log print resolution and buffer counts.
Also got rid of debug dump of request message contents.
2013-12-10 08:54:07 -05:00
Solomon Peachy 8de9099adf dnp_ds40: Fix termination when printing multiple copies, and some minor
things.
2013-12-08 07:14:27 -05:00
Solomon Peachy ce731aa034 dnp_ds40: We have to read printer responses in two transactions.
first, 8 bytes to give us the length of the payload.
Then, the payload length.
2013-12-04 10:31:41 -05:00
Solomon Peachy af72fab316 dnp_ds40: Add the DS80 USB ID, and a ton of debug output. 2013-12-04 07:37:11 -05:00
Solomon Peachy 555aa9840f dnp_ds40: Document known stuff inthe Windows spool file format. 2013-12-03 23:07:19 -05:00
Solomon Peachy ad6d71afa0 dnp_ds40: Add status query. 2013-12-03 22:32:08 -05:00
Solomon Peachy 15909ce5ad add DS40 to blaklist. 2013-12-03 22:22:47 -05:00
Solomon Peachy ccf44058ab dsp_ds40: Initial pass at a backend.
As far as a backend is concerned, it's just a passthrough.  However, it
has command-line options.
2013-12-03 22:21:44 -05:00
Solomon Peachy 40d8ad76ed Document the possibly-supported state of the Mitsubishi CP-K60DW-S 2013-12-03 22:20:27 -05:00
Solomon Peachy 28d8b5a629 kodak605: Clean out a little cruft. 2013-12-03 21:28:39 -05:00
Solomon Peachy bca17fcd5f Add a README for the ICC profiles. 2013-11-27 09:44:43 -05:00
Solomon Peachy 00f80a3c37 Add sRGB and AdobeRGB1998 color profiles as references. 2013-11-27 08:17:40 -05:00
Solomon Peachy 1459092733 Add ICC profiles for Mitsubishi CP-K60DW-S 2013-11-25 09:27:43 -05:00
Solomon Peachy 3d434dc96e misc: open() with O_CREAT requires a MODE argument. 2013-11-25 09:09:29 -05:00
Solomon Peachy 917ccc0851 testjobs: Add a Mitsubishi CP-K60DW-S 4x6 test print. 2013-11-24 12:09:23 -05:00
Solomon Peachy 39a6198019 kodak605: Add support for tone curves. 2013-11-24 11:01:44 -05:00
Solomon Peachy 66860c6348 kodak6800: Fix a copy-pasta bug in the 68x0 set tone curve code. 2013-11-24 10:53:39 -05:00