[sane-devel] convert standalone programa to backend

Stéphane VOLTZ stef.dev at free.fr
Tue Jul 31 19:38:23 UTC 2007


Le jeudi 26 juillet 2007, Miguel a écrit :
> I've working with the kodak i1320, making a standalone program to
> scan, based on sniffing the usb port.
> In the actual state the program scans and saves the images (both
> sides), at the same speed than in windows, and the next step for me is
> convert it to a sane backend, using sane-usb.
>
> here is where i need some help.
> How do i include the .c and .h files in the makefile?
> Which sane headers should i include?
> Do i have to modify any where else in sane?
> i have some questions on using sane-usb, mainly regarding the attach
> function callback.
> I can provide the source for the scanning program, if you think it is
> useful, and i have the intention to submit the backend to the sane
> project.
>
> Your help will be greatly appreciated
>
> --
> Miguel Ruiz Velasco

	Hello,

	Ive done such a thing with th umax_pp backend. The scanning program is in the 
tools subdirectory of SANE, and I turned it into a backend (umax_pp). This 
will give an idea of one way of doing what you want.

Regards,
	Stef



More information about the sane-devel mailing list