So, if I understand correctly, you want to scan a bunch of sheets in duplex mode but want to automatically discard any blank sides of the sheets, right?
Currently you are somehow using IrfanView to do this, which works for the first sheet scanned, but fails for sheets afterward.
How about you invoke IrfanView once for every sheet in the scanner? Just tell the scanner to grab only one page. This way, you can keep your current set up and the compression won't revert back to internal/none.
If not, you could try:
1. Update your kodak driver
2. Update your TWAIN DSM (replace twain_32.dll with the new one:
http://sourceforge.net/projects/twain-dsm/)