Commit Graph

27 Commits

Author SHA1 Message Date
Solomon Peachy 895b723ae5 s2145: Add initial support for the S1245 model.
With any luck, it'll acutally work.
2014-10-18 20:13:08 -04:00
Solomon Peachy e9981107b7 s2145: We know the s1245 USB VID/PID.
Now whether or not it acutally *works*...
2014-10-18 13:29:14 -04:00
Solomon Peachy e9958c39d8 s2145: use CUPS_BACKEND_* 2014-04-20 11:53:46 -04:00
Solomon Peachy 7edb9f1c67 s2145: Check print job against printer supported type, and abort
cleanly if the wrong media is loaded.
2014-04-20 10:28:29 -04:00
Solomon Peachy 1faa032ea6 backends: Revamp cmdline args so you can specify multiple backend args at once. 2014-02-11 22:45:14 -05:00
Solomon Peachy 825b82ef61 shinkos2145: fast return needed tweaking. 2014-02-11 21:45:47 -05:00
Solomon Peachy 5f8780cc3c More cppcheck-driven fixes. Mainly a bunch of memory leaks. 2014-02-11 20:11:33 -05:00
Solomon Peachy 8578561d38 shinkos2145: Fix return code for button enable/disable cmd.
Not that this seems to do anything.  Strange.
2014-02-10 23:00:00 -05:00
Solomon Peachy d7db0bbdbe Massive overhaul of command line handling.
Completely untested with real printers.

That happens tonight!  :)
2014-02-10 20:10:36 -05:00
Solomon Peachy 34e3b64fc4 all: Get rid of the now-obsolete 'multipage_capable' flag. 2014-01-30 21:37:07 -05:00
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 d7d60b7191 backends: Enhance to add multipage capabilities.
DNP ds40/ds80 and Sony UP-DR150/200 backends do NOT support this yet.

Next up is to commit the core.
2014-01-17 22:54:25 -05:00
Solomon Peachy 817b6b04fc all: Handle short reads when loading in initial printjob header. 2014-01-13 18:30:30 -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 5d58950293 shinko_s2145: Whitespace. 2013-12-17 08:30:37 -05:00
Solomon Peachy 3d434dc96e misc: open() with O_CREAT requires a MODE argument. 2013-11-25 09:09:29 -05:00
Solomon Peachy be8eec4f2d common: Return better CUPS error codes, and document them. 2013-09-30 15:15:28 +01:00
Solomon Peachy 294018b7ed s2145: Log when fast return is active. 2013-09-30 13:30:19 +01:00
Solomon Peachy 140f9ecf42 s2145: Enable a 'fast return' mode
This terminates the backend as soon as the printer acks the print job,
allowing the use of both printer bufers.
2013-09-30 13:07:35 +01:00
Solomon Peachy 7a7bdf9fab all: Update URL to the public git repo. 2013-08-20 20:10:21 -04:00
Solomon Peachy 1deb5ca1b3 s2145: Clean up calling conventions of s2145_do_cmd()
Instead of passing dev, endp_up, endp_down, just pass the ctx that has
everything in it already.
2013-08-20 20:02:10 -04:00
Solomon Peachy b81f6735ac s2145: Minor documentation cleanups. 2013-08-08 08:53:48 -04:00
Solomon Peachy 36404817e7 common: Rename everything consistently. 2013-07-27 07:34:36 -04:00
Renamed from shinko_s2145_print.c (Browse further)