Solomon Peachy
6c335ea1e4
Update copyright notice; it's 2014 now!
2014-01-23 16:07:25 -05:00
Solomon Peachy
6acc8b553c
backends: say "## copies remaining" to differentiate between pages.
2014-01-22 09:10:34 -05:00
Solomon Peachy
4aa050f695
backends: Fix a double-free error in all backends.
...
Since we always call read_parse() we always free the data buffers. Make
sure we set them to NULL or we will try to double-free them when we
terminate normally.
2014-01-21 20:34:00 -05:00
Solomon Peachy
2eb20f90f4
backends: A 0-length read when doing our inital header load is
...
and EOF, so treat it as such and don't error out.
2014-01-20 19:41:52 -05:00
Solomon Peachy
cf59af280c
dnpds40/80: Make backend multipage-capable.
2014-01-19 19:23:24 -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
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
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
886833b0a8
dnp_ds40: Increase max printjob len due to 300x600 DPI mode.
2013-12-17 20:43:30 -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
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
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
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
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
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
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