[sane-devel] Xerox backend 1.0.24 supporting ADF Duplex

solano solanoalves at gmail.com
Sat Feb 18 02:34:07 UTC 2017


Hi people,

My question is about Xerox 3635MFP and xerox_mfp.c backend in sane 1.0.24

xerox_mfp backend has three options for source:
1. ADF     0x20
2. Flatbed 0x40
3. Auto     0x80

Neither of these options support Duplex.

Doing some reverse engineering as per recommended by Alexander Kuznetsov, I
checked packets from a working ADF Duplex Windows Twain driver.

So I compared Linux_ADF, Windows_ADF and Windows_ADF_Duplex packets

Discovered that Duplex is byted as 0x10

My question is: Adding 0x10 as an option in this backend will work fine?

Thanks in advance for any thoughts and sorry If Im violating rules

-------------------------------------------------------------
25 bytes command CMD_SET_WINDOW Packets below:

LINUX_ADF: 0x1b, 0xa8, 0x24, 0x13, 0x30, 0x00, 0x00, 0x27, 0xd7, 0x00,
0x00, 0x41, 0x9f, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00,
0x02, 0x20, 0x00
WINDOWS_ADF: 0x1b, 0xa8, 0x24, 0x13, 0x30, 0x00, 0x00, 0x27, 0xd8, 0x00,
0x00, 0x33, 0x90, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x05, 0x06, 0x01,
0x02, 0x20, 0x00
DUPLEX_ADF: 0x1b, 0xa8, 0x24, 0x13, 0x30, 0x00, 0x00, 0x27, 0xd8, 0x00,
0x00, 0x33, 0x90, 0x0a, 0x0a, 0x00, 0x00, 0x00, 0x00, 0x05, 0x06, 0x01,
0x02, 0x10, 0x00


-- 
Solano Alves
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20170218/e858624e/attachment.html>


More information about the sane-devel mailing list