Home › Forums › TWAIN Classic › twain scan front/back
- This topic has 3 replies, 3 voices, and was last updated 14 years, 2 months ago by MonkFox.
- AuthorPosts
Hello,
i use the twain library to scan page from a hp scanjet7650 which does, through its own driver, front/back scan.So… there is a way to get front/back scan directly without do it manualy?
Of course ADF.I hope i explained myself clearly and i’m sorry for my bad english 🙂
Thx
1. Check CAP_DUPLEX. If it is TWDX_1PASSDUPLEX or TWDX_2PASSDUPLEX, the scanner supports duplex scanning.
2. Set CAP_DUPLEXENABLED to TRUE to enable duplex scanning.
3. Start scanning.
See TWAIN specification for details.Thx a lot 🙂
Ator
when you say check the cap_duplex cap, this is the way I did it:
rc = DSCap(twident,src,dg_control,dat_cap,msg_get,twcap.cap_duplex(1))
if rc <> twrc.success then
closeSRC()
returnend if
so if that returns success then it supports the duplex (1passduplex) right?
Then set the CAP_ENABLEDUPLEX -> 1Thanks,
Justin
- AuthorPosts