Hi,

I had the same problem and solved it by setting NAPS2 to use native UI, when scanning in duplex mode.

For that, I made a batch script that creates 6 profiles for scanning, being 3 in color mode (duplex, simplex with ADF and simplex using the reading glass) and other 3 in grayscale mode.

Also, this script creates new profiles in the native UI.

While not the best solution, it only takes one additional click on the "scan" button in the native UI.


@echo off
taskkill /fi "imagename eq NAPS2.exe"

echo Windows Registry Editor Version 5.00 > lexmark_pofiles.reg

echo [HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain] >> lexmark_pofiles.reg
echo "DirectScan"=dword:00000001 >> lexmark_pofiles.reg
echo [HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets] >> lexmark_pofiles.reg
echo "LastPreset"="Color - Duplex" >> lexmark_pofiles.reg
echo [HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\UserPresets] >> lexmark_pofiles.reg
echo "DefaultPreset"="Color - Duplex" >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\FactoryPresets\OCR] >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\FactoryPresets\Photo] >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\FactoryPresets\Text] >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\FactoryPresets\Text/Graphics] >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\UserPresets\Grayscale - One side - ADF] >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\UserPresets\Grayscale - One side - Glass] >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\UserPresets\Color - One side - ADF] >> lexmark_pofiles.reg
echo [-HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\UserPresets\Color - One side - Glass] >> lexmark_pofiles.reg
echo [HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\UserPresets\Color - Duplex] >> lexmark_pofiles.reg
echo "ContentType"=dword:00000003 >> lexmark_pofiles.reg
echo "Resolution"=dword:000000c8 >> lexmark_pofiles.reg
echo "ColorDepth"=dword:00000018 >> lexmark_pofiles.reg
echo "PaperSize"=dword:00000004 >> lexmark_pofiles.reg
echo "ScanSource"=dword:00000001 >> lexmark_pofiles.reg
echo "Orientation"=dword:00000000 >> lexmark_pofiles.reg
echo "Duplex"=dword:00000001 >> lexmark_pofiles.reg
echo "MirrorImage"=dword:00000000 >> lexmark_pofiles.reg
echo "NegativeImage"=dword:00000000 >> lexmark_pofiles.reg
echo "Brightness"=dword:00000005 >> lexmark_pofiles.reg
echo "Contrast"=dword:00000000 >> lexmark_pofiles.reg
echo "BackgroundRemoval"=dword:00000000 >> lexmark_pofiles.reg
echo "BackGroundRemovalAuto"=dword:00000000 >> lexmark_pofiles.reg
echo "Threshold"=dword:00000080 >> lexmark_pofiles.reg
echo "ColorDropout"=dword:00000000 >> lexmark_pofiles.reg
echo "Descreen"=dword:00000000 >> lexmark_pofiles.reg
echo "ColorBalanceRed"=dword:00000000 >> lexmark_pofiles.reg
echo "ColorBalanceGreen"=dword:00000000 >> lexmark_pofiles.reg
echo "ColorBalanceBlue"=dword:00000000 >> lexmark_pofiles.reg
echo "Temperature"=dword:00000000 >> lexmark_pofiles.reg
echo "Sharpness"=dword:00000003 >> lexmark_pofiles.reg
echo "OriginalType"=dword:00000000 >> lexmark_pofiles.reg
echo "TopLeftX"=dword:00000000 >> lexmark_pofiles.reg
echo "BottomRightX"=dword:0000067a >> lexmark_pofiles.reg
echo "TopLeftY"=dword:00000000 >> lexmark_pofiles.reg
echo "BottomRightY"=dword:00000923 >> lexmark_pofiles.reg
echo "BlankPageRemoval"=dword:00000001 >> lexmark_pofiles.reg

echo [HKEY_CURRENT_USER\Software\Lexmark\NetworkTwain\Presets\UserPresets\Grayscale - Duplex] >> lexmark_pofiles.reg
echo "ContentType"=dword:00000003 >> lexmark_pofiles.reg
echo "Resolution"=dword:000000c8 >> lexmark_pofiles.reg
echo "ColorDepth"=dword:00000008 >> lexmark_pofiles.reg
echo "PaperSize"=dword:00000004 >> lexmark_pofiles.reg
echo "ScanSource"=dword:00000001 >> lexmark_pofiles.reg
echo "Orientation"=dword:00000000 >> lexmark_pofiles.reg
echo "Duplex"=dword:00000001 >> lexmark_pofiles.reg
echo "MirrorImage"=dword:00000000 >> lexmark_pofiles.reg
echo "NegativeImage"=dword:00000000 >> lexmark_pofiles.reg
echo "Brightness"=dword:00000005 >> lexmark_pofiles.reg
echo "Contrast"=dword:00000000 >> lexmark_pofiles.reg
echo "BackgroundRemoval"=dword:00000000 >> lexmark_pofiles.reg
echo "BackGroundRemovalAuto"=dword:00000000 >> lexmark_pofiles.reg
echo "Threshold"=dword:00000080 >> lexmark_pofiles.reg
echo "ColorDropout"=dword:00000000 >> lexmark_pofiles.reg
echo "Descreen"=dword:00000000 >> lexmark_pofiles.reg
echo "ColorBalanceRed"=dword:00000000 >> lexmark_pofiles.reg
echo "ColorBalanceGreen"=dword:00000000 >> lexmark_pofiles.reg
echo "ColorBalanceBlue"=dword:00000000 >> lexmark_pofiles.reg
echo "Temperature"=dword:00000000 >> lexmark_pofiles.reg
echo "Sharpness"=dword:00000003 >> lexmark_pofiles.reg
echo "OriginalType"=dword:00000000 >> lexmark_pofiles.reg
echo "TopLeftX"=dword:00000000 >> lexmark_pofiles.reg
echo "BottomRightX"=dword:0000067a >> lexmark_pofiles.reg
echo "TopLeftY"=dword:00000000 >> lexmark_pofiles.reg
echo "BottomRightY"=dword:00000923 >> lexmark_pofiles.reg
echo "BlankPageRemoval"=dword:00000001 >> lexmark_pofiles.reg

reg import lexmark_pofiles.reg
del lexmark_pofiles.reg

for /f "tokens=1,2,3 delims=/" %%a in ("%date%") do set timestamp=%%c%%b%%a
for /f "tokens=1,2 delims=:" %%d in ("%time%") do set timestamp=%timestamp%%%d%%e

if exist %appdata%\NAPS2\profiles.xml (
move %appdata%\NAPS2\profiles.xml %appdata%\NAPS2\profiles_%timestamp%.xml
)

echo ^<?xml version="1.0"?^>> %appdata%\NAPS2\profiles.xml
echo ^<arrayofscanprofile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ^="">>> %appdata%\NAPS2\profiles.xml
echo ^<scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<device^>>> %appdata%\NAPS2\profiles.xml
echo ^<id^>Lexmark Network TWAIN Scan^</id^>>> %appdata%\NAPS2\profiles.xml
echo ^<name^>Lexmark Network TWAIN Scan^</name^>>> %appdata%\NAPS2\profiles.xml
echo ^</device^>>> %appdata%\NAPS2\profiles.xml
echo ^<drivername^>twain^</drivername^>>> %appdata%\NAPS2\profiles.xml
echo ^<displayname^>Lexmark - Duplex^</displayname^>>> %appdata%\NAPS2\profiles.xml
echo ^<iconid^>0^</iconid^>>> %appdata%\NAPS2\profiles.xml
echo ^<maxquality^>false^</maxquality^>>> %appdata%\NAPS2\profiles.xml
echo ^<isdefault^>false^</isdefault^>>> %appdata%\NAPS2\profiles.xml
echo ^<version^>2^</version^>>> %appdata%\NAPS2\profiles.xml
echo ^<usenativeui^>false^</usenativeui^>>> %appdata%\NAPS2\profiles.xml
echo ^<afterscanscale^>OneToOne^</afterscanscale^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightness^>0^</brightness^>>> %appdata%\NAPS2\profiles.xml
echo ^<contrast^>0^</contrast^>>> %appdata%\NAPS2\profiles.xml
echo ^<bitdepth^>C24Bit^</bitdepth^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagealign^>Right^</pagealign^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagesize^>A4^</pagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<resolution^>Dpi200^</resolution^>>> %appdata%\NAPS2\profiles.xml
echo ^<papersource^>Duplex^</papersource^>>> %appdata%\NAPS2\profiles.xml
echo ^<enableautosave^>false^</enableautosave^>>> %appdata%\NAPS2\profiles.xml
echo ^<quality^>15^</quality^>>> %appdata%\NAPS2\profiles.xml
echo ^<autodeskew^>true^</autodeskew^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightnesscontrastafterscan^>false^</brightnesscontrastafterscan^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesize^>false^</forcepagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesizecrop^>false^</forcepagesizecrop^>>> %appdata%\NAPS2\profiles.xml
echo ^<twainimpl^>Legacy^</twainimpl^>>> %appdata%\NAPS2\profiles.xml
echo ^<excludeblankpages^>true^</excludeblankpages^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagewhitethreshold^>95^</blankpagewhitethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagecoveragethreshold^>1^</blankpagecoveragethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaoffsetwidth^>false^</wiaoffsetwidth^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaretryonfailure^>false^</wiaretryonfailure^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscans^>false^</wiadelaybetweenscans^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscansseconds^>2^</wiadelaybetweenscansseconds^>>> %appdata%\NAPS2\profiles.xml
echo ^<flipduplexedpages^>false^</flipduplexedpages^>>> %appdata%\NAPS2\profiles.xml
echo ^</scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<device^>>> %appdata%\NAPS2\profiles.xml
echo ^<id^>Lexmark Network TWAIN Scan^</id^>>> %appdata%\NAPS2\profiles.xml
echo ^<name^>Lexmark Network TWAIN Scan^</name^>>> %appdata%\NAPS2\profiles.xml
echo ^</device^>>> %appdata%\NAPS2\profiles.xml
echo ^<drivername^>twain^</drivername^>>> %appdata%\NAPS2\profiles.xml
echo ^<displayname^>Color - One side (ADF)^</displayname^>>> %appdata%\NAPS2\profiles.xml
echo ^<iconid^>0^</iconid^>>> %appdata%\NAPS2\profiles.xml
echo ^<maxquality^>false^</maxquality^>>> %appdata%\NAPS2\profiles.xml
echo ^<isdefault^>false^</isdefault^>>> %appdata%\NAPS2\profiles.xml
echo ^<version^>2^</version^>>> %appdata%\NAPS2\profiles.xml
echo ^<usenativeui^>false^</usenativeui^>>> %appdata%\NAPS2\profiles.xml
echo ^<afterscanscale^>OneToOne^</afterscanscale^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightness^>0^</brightness^>>> %appdata%\NAPS2\profiles.xml
echo ^<contrast^>0^</contrast^>>> %appdata%\NAPS2\profiles.xml
echo ^<bitdepth^>C24Bit^</bitdepth^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagealign^>Right^</pagealign^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagesize^>A4^</pagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<resolution^>Dpi200^</resolution^>>> %appdata%\NAPS2\profiles.xml
echo ^<papersource^>Feeder^</papersource^>>> %appdata%\NAPS2\profiles.xml
echo ^<enableautosave^>false^</enableautosave^>>> %appdata%\NAPS2\profiles.xml
echo ^<quality^>15^</quality^>>> %appdata%\NAPS2\profiles.xml
echo ^<autodeskew^>true^</autodeskew^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightnesscontrastafterscan^>false^</brightnesscontrastafterscan^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesize^>false^</forcepagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesizecrop^>false^</forcepagesizecrop^>>> %appdata%\NAPS2\profiles.xml
echo ^<twainimpl^>Default^</twainimpl^>>> %appdata%\NAPS2\profiles.xml
echo ^<excludeblankpages^>false^</excludeblankpages^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagewhitethreshold^>95^</blankpagewhitethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagecoveragethreshold^>1^</blankpagecoveragethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaoffsetwidth^>false^</wiaoffsetwidth^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaretryonfailure^>false^</wiaretryonfailure^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscans^>false^</wiadelaybetweenscans^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscansseconds^>2^</wiadelaybetweenscansseconds^>>> %appdata%\NAPS2\profiles.xml
echo ^<flipduplexedpages^>false^</flipduplexedpages^>>> %appdata%\NAPS2\profiles.xml
echo ^</scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<device^>>> %appdata%\NAPS2\profiles.xml
echo ^<id^>Lexmark Network TWAIN Scan^</id^>>> %appdata%\NAPS2\profiles.xml
echo ^<name^>Lexmark Network TWAIN Scan^</name^>>> %appdata%\NAPS2\profiles.xml
echo ^</device^>>> %appdata%\NAPS2\profiles.xml
echo ^<drivername^>twain^</drivername^>>> %appdata%\NAPS2\profiles.xml
echo ^<displayname^>Color - One side (Glass)^</displayname^>>> %appdata%\NAPS2\profiles.xml
echo ^<iconid^>0^</iconid^>>> %appdata%\NAPS2\profiles.xml
echo ^<maxquality^>false^</maxquality^>>> %appdata%\NAPS2\profiles.xml
echo ^<isdefault^>false^</isdefault^>>> %appdata%\NAPS2\profiles.xml
echo ^<version^>2^</version^>>> %appdata%\NAPS2\profiles.xml
echo ^<usenativeui^>false^</usenativeui^>>> %appdata%\NAPS2\profiles.xml
echo ^<afterscanscale^>OneToOne^</afterscanscale^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightness^>0^</brightness^>>> %appdata%\NAPS2\profiles.xml
echo ^<contrast^>0^</contrast^>>> %appdata%\NAPS2\profiles.xml
echo ^<bitdepth^>C24Bit^</bitdepth^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagealign^>Right^</pagealign^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagesize^>A4^</pagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<resolution^>Dpi200^</resolution^>>> %appdata%\NAPS2\profiles.xml
echo ^<papersource^>Glass^</papersource^>>> %appdata%\NAPS2\profiles.xml
echo ^<enableautosave^>false^</enableautosave^>>> %appdata%\NAPS2\profiles.xml
echo ^<quality^>15^</quality^>>> %appdata%\NAPS2\profiles.xml
echo ^<autodeskew^>true^</autodeskew^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightnesscontrastafterscan^>false^</brightnesscontrastafterscan^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesize^>false^</forcepagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesizecrop^>false^</forcepagesizecrop^>>> %appdata%\NAPS2\profiles.xml
echo ^<twainimpl^>Default^</twainimpl^>>> %appdata%\NAPS2\profiles.xml
echo ^<excludeblankpages^>false^</excludeblankpages^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagewhitethreshold^>70^</blankpagewhitethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagecoveragethreshold^>25^</blankpagecoveragethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaoffsetwidth^>false^</wiaoffsetwidth^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaretryonfailure^>false^</wiaretryonfailure^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscans^>false^</wiadelaybetweenscans^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscansseconds^>2^</wiadelaybetweenscansseconds^>>> %appdata%\NAPS2\profiles.xml
echo ^<flipduplexedpages^>false^</flipduplexedpages^>>> %appdata%\NAPS2\profiles.xml
echo ^</scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<device^>>> %appdata%\NAPS2\profiles.xml
echo ^<id^>Lexmark Network TWAIN Scan^</id^>>> %appdata%\NAPS2\profiles.xml
echo ^<name^>Lexmark Network TWAIN Scan^</name^>>> %appdata%\NAPS2\profiles.xml
echo ^</device^>>> %appdata%\NAPS2\profiles.xml
echo ^<drivername^>twain^</drivername^>>> %appdata%\NAPS2\profiles.xml
echo ^<displayname^>Grayscale - One side (ADF)^</displayname^>>> %appdata%\NAPS2\profiles.xml
echo ^<iconid^>0^</iconid^>>> %appdata%\NAPS2\profiles.xml
echo ^<maxquality^>false^</maxquality^>>> %appdata%\NAPS2\profiles.xml
echo ^<isdefault^>false^</isdefault^>>> %appdata%\NAPS2\profiles.xml
echo ^<version^>2^</version^>>> %appdata%\NAPS2\profiles.xml
echo ^<usenativeui^>false^</usenativeui^>>> %appdata%\NAPS2\profiles.xml
echo ^<afterscanscale^>OneToOne^</afterscanscale^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightness^>0^</brightness^>>> %appdata%\NAPS2\profiles.xml
echo ^<contrast^>0^</contrast^>>> %appdata%\NAPS2\profiles.xml
echo ^<bitdepth^>Grayscale^</bitdepth^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagealign^>Right^</pagealign^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagesize^>A4^</pagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<resolution^>Dpi200^</resolution^>>> %appdata%\NAPS2\profiles.xml
echo ^<papersource^>Feeder^</papersource^>>> %appdata%\NAPS2\profiles.xml
echo ^<enableautosave^>false^</enableautosave^>>> %appdata%\NAPS2\profiles.xml
echo ^<quality^>15^</quality^>>> %appdata%\NAPS2\profiles.xml
echo ^<autodeskew^>true^</autodeskew^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightnesscontrastafterscan^>false^</brightnesscontrastafterscan^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesize^>false^</forcepagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesizecrop^>false^</forcepagesizecrop^>>> %appdata%\NAPS2\profiles.xml
echo ^<twainimpl^>Default^</twainimpl^>>> %appdata%\NAPS2\profiles.xml
echo ^<excludeblankpages^>false^</excludeblankpages^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagewhitethreshold^>70^</blankpagewhitethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagecoveragethreshold^>25^</blankpagecoveragethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaoffsetwidth^>false^</wiaoffsetwidth^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaretryonfailure^>false^</wiaretryonfailure^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscans^>false^</wiadelaybetweenscans^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscansseconds^>2^</wiadelaybetweenscansseconds^>>> %appdata%\NAPS2\profiles.xml
echo ^<flipduplexedpages^>false^</flipduplexedpages^>>> %appdata%\NAPS2\profiles.xml
echo ^</scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^<device^>>> %appdata%\NAPS2\profiles.xml
echo ^<id^>Lexmark Network TWAIN Scan^</id^>>> %appdata%\NAPS2\profiles.xml
echo ^<name^>Lexmark Network TWAIN Scan^</name^>>> %appdata%\NAPS2\profiles.xml
echo ^</device^>>> %appdata%\NAPS2\profiles.xml
echo ^<drivername^>twain^</drivername^>>> %appdata%\NAPS2\profiles.xml
echo ^<displayname^>Grayscale - One side (Glass)^</displayname^>>> %appdata%\NAPS2\profiles.xml
echo ^<iconid^>0^</iconid^>>> %appdata%\NAPS2\profiles.xml
echo ^<maxquality^>false^</maxquality^>>> %appdata%\NAPS2\profiles.xml
echo ^<isdefault^>false^</isdefault^>>> %appdata%\NAPS2\profiles.xml
echo ^<version^>2^</version^>>> %appdata%\NAPS2\profiles.xml
echo ^<usenativeui^>false^</usenativeui^>>> %appdata%\NAPS2\profiles.xml
echo ^<afterscanscale^>OneToOne^</afterscanscale^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightness^>0^</brightness^>>> %appdata%\NAPS2\profiles.xml
echo ^<contrast^>0^</contrast^>>> %appdata%\NAPS2\profiles.xml
echo ^<bitdepth^>Grayscale^</bitdepth^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagealign^>Right^</pagealign^>>> %appdata%\NAPS2\profiles.xml
echo ^<pagesize^>A4^</pagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<resolution^>Dpi200^</resolution^>>> %appdata%\NAPS2\profiles.xml
echo ^<papersource^>Glass^</papersource^>>> %appdata%\NAPS2\profiles.xml
echo ^<enableautosave^>false^</enableautosave^>>> %appdata%\NAPS2\profiles.xml
echo ^<quality^>15^</quality^>>> %appdata%\NAPS2\profiles.xml
echo ^<autodeskew^>true^</autodeskew^>>> %appdata%\NAPS2\profiles.xml
echo ^<brightnesscontrastafterscan^>false^</brightnesscontrastafterscan^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesize^>false^</forcepagesize^>>> %appdata%\NAPS2\profiles.xml
echo ^<forcepagesizecrop^>false^</forcepagesizecrop^>>> %appdata%\NAPS2\profiles.xml
echo ^<twainimpl^>Default^</twainimpl^>>> %appdata%\NAPS2\profiles.xml
echo ^<excludeblankpages^>false^</excludeblankpages^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagewhitethreshold^>70^</blankpagewhitethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<blankpagecoveragethreshold^>25^</blankpagecoveragethreshold^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaoffsetwidth^>false^</wiaoffsetwidth^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiaretryonfailure^>false^</wiaretryonfailure^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscans^>false^</wiadelaybetweenscans^>>> %appdata%\NAPS2\profiles.xml
echo ^<wiadelaybetweenscansseconds^>2^</wiadelaybetweenscansseconds^>>> %appdata%\NAPS2\profiles.xml
echo ^<flipduplexedpages^>false^</flipduplexedpages^>>> %appdata%\NAPS2\profiles.xml
echo ^</scanprofile^>>> %appdata%\NAPS2\profiles.xml
echo ^>> %appdata%\NAPS2\profiles.xml</arrayofscanprofile>