![xojo 2015r2 xojo 2015r2](http://www.xdevmag.com/images/xdev-logo-trans-big.png)
Of course in most cases you are not affected and you may never notice the bug existed.
#Xojo 2015r2 software
So you know what issues the old software has. In the release notes for every new version, you can learn about what bugs have been fixed. That is usually fine as we don’t want to change a running system and risk that one change on a component requires other components or scripts to be updated to work again.īut some versions are really not recommended, especially if they have security related issues. But a lot of people do not use the latest one, but stay with older versions. That is true for our plugins, Xojo and FileMaker. We may be able to add more options to documentation in examples.įor any software out there, the latest version is of course the best version ever released. And if you miss an option, please let us know. So if you have problems translating this, let me know. The options above are listed as MBS FileMaker Plugin calls, but for Xojo the properties are named similar and values are the same. That may be more convenient for some users to simply use the dialogs. For TWAIN, you would use Twain.SetPixelType to pass 1 for grayscale images.įor all three variants, you can scan with dialog and see options as well as define defaults for your scanner. With WIA, you can use WIA.SetItemPropertyValue to set the item's current intent property to 2 for grayscale.
![xojo 2015r2 xojo 2015r2](https://www.mbsplugins.de/images/keynote_copy1.jpg)
For ImageCapture, you can use ImageCapture.SetParameter to set pixelDataType to gray and bitDepth to 8 to get a 8bit grayscale image file.
![xojo 2015r2 xojo 2015r2](http://2.bp.blogspot.com/-fsaAZgsljvY/VgA7b9OXg5I/AAAAAAAACi8/ypAinHAv2Js/s1600/RunService2.png)
If you scan only for OCR, you may just limit it to be black and white or grayscale. With WIA, the WIA.DevicePropertyValue function can query the "Vertical Optical Resolution" to let you know the native resolution. For ImageCapture, you can use ImageCapture.GetParameter with parameter nativeXResolution and nativeYResolution to query native resolution, preferredResolutions to query preferred resolution and supportedResolutions for a list of supporters resolutions. But we have seen scanners which can do 200 and 100 dpi, but not 150 dpi. For TWAIN you call Twain.SetResolutionX and Twain.SetResolutionY to set the resolution. First for item Feeder as well as item Flatbed, than for properties "Horizontal Resolution" and "Vertical Resolution" to set both. For WIA, you may need to call WIA.SetItemPropertyValue several times. For ImageCapture you call ImageCapture.SetParameter with parameter resolution and value 300. Usually most scanners can interpolate in hardware if needed, but asking for a common resolution of 150 or 300 dpi may simply be okay for most scanners. Next you may want to define resolution for the scan. It's always good to double check and query the value you set to verify what was saved. The specs also allow to specify 8 for front page first, but may scanner here doesn't recognize that and returns an error. You may also include 256 for preferred automatic selection or +512 for auto advance. Usually you pass a combination of values including 4 for duplex. And for WIA, it is the WIA.SetItemPropertyValue function with the property named "Document Handling Select". For ImageCapture, you need to use ImageCapture.SetParameter with the duplexScanningEnabled property and the value 1. To do this for TWAIN, you call Twain.SetDuple圎nabled passing 1 to enable duplex mode. For the feeder, you may want to enable duplex. If used correctly, you should be able to scan a stack of papers on your scanner.īut before scanning, you may want to set a few options. For TWAIN you need to enable feeder with Twain.SetFeededEnabled and enable auto feeding with Twain.SetAutofeed function. For WIA, you would later when requesting the scan pass Feeder as the item to use for WIA.Scan function.
![xojo 2015r2 xojo 2015r2](https://www.mbs-plugins.com/image/DragDropWin.jpg)
To select the feeder, you would use ImageCapture.requestSelectFunctionalUnit early to request the DocumentFeeder as functional unit, before setting up other parameters.
#Xojo 2015r2 windows
64-bit can be a problem as TWAIN is very old and you may not find a 64-bit driver, although you can have a compatibility DLL for Windows to help translate 64-bit app to 32-bit driver. For some scanners, you only get one driver, so your decision is made by the manufacturer of the device. See WIA functions for FileMaker and our WIA plugin part in the MBS Xojo Win Plugin.Īll three interfaces are still in use with customers.