Forums › TWAIN Classic › Command line twain › Reply To: Command line twain
2, failure event. If you’re looking at the Setup method from the sample there should be two exception handlers, If you step thru uld bethe code you should be able to see what exception is being thrown.
>Isn’t possible to scan without always show the gui?
With the cmdHarness as I have it on the site today? No. With the opentwain library? Yes. . Run the guiharness, look thru the profileEditor. You should be able to see how I build a profile, save the profile, and then execute it later. On the profile editor you should see two checkboxs – one says ‘show Ui’ the other says ‘Show indicators’. Uncheck them. If you want to add the code from the guiharness to the cmdharness you are more than welcome to. The guiHarness is a more complete sample of the library, the cmdHarness is just a demo that the library can acquire from the cmdline – no frills. Everything the guiHarness can do the cndHarness *can* also do as they both use the sample library, but it doesn’t handle all of the options.