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