Vision_GDIP_4_Images (for Win XP & Vista) - Version 1.4.5 of 10/11/2008 Source Base: Vision_GDIP_4_Images ver 1.4.4 of 10/9/2008 This app requires Vision API 3.0 minimum to run and Windows XP or Vista. To use Virtual Endorsement, API 3.1 or greater must be used. If installing the app without using the supplied installer, be sure to install file Image_AVX.ocx and register it using RegSvr32. CHANGES: Added Zoom button for the front image. The Zoom works on Win XP and Vista systems. The Zoom function uses the image viewer built into the operating system. Once the Zoom window is up, you can easily scroll through all the images in the Image folder. You can also print, zoom and copy the image. This app should work on Win 2000 Pro if the Microsoft GDI Plus distribution files are installed. The Zoom function probably will not work on 2000. See (v1.4.5} for source code changes. ----------------------------------------------------------------------- Vision_GDIP_4_Images (for Win XP & Vista) - Version 1.4.4 of 10/9/2008 Source Base: Vision_XP_4_Images ver 1.4.4 of 9/11/2008 Changed by replacing the old image control (Shimgvw.dll) with the new Image_AVX.ocx. This control uses GDI Plus to display images so it is supported by Windows XP and Vista without installing other supporting DLLs. You just have to install and register Image_AVX.ocx along with the application executable and its other support dlls. This should also work on Windows 2000 Pro if the Microsoft GDI Plus distribution package is separately installed on the system. To use any features in this application, you must have Vision API 3.0 installed. To use the Virtual Endorsement feature in this application, you must have Vision API 3.1 - Engine 1.1.0 minimum installed. --------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.4.4 of 9/11/2008 Source Base: Vision_XP_4_Images v1.4.3 of 8/21/2008 This application requires Windows XP to support ihe image viewer control used, the Preview control in ShImgVw.dll. This app also requires Vision API 3.1, VX Engine 1.1.0 minimum to support all the features available in the app. Changes: Added use of functions: GetVirtualEndorsementAreaProperty SetVirtualEndorsementAreaProperty To support use of custom Virtual Endorsement Areas and also custom Virtual Endorse font settings. Note that there are new parameters in the MVXParameters.ini file for default Virtual endorse text lines and custom area position: In the [Endorse] section see: FixedVEText1, FixedVEText2, CustomVEText, CustomVELeft, CustomVEBottom, CustomVERight and CustomVETop. See the Vision API Reference Manual Version 3.1 for information on how to set the Left, Right, Bottom and Top values for defining a custom area. There is a table with sample values in the Virtual Endorsement section of the API document. This app uses mils (thousandths of an inch) for defining the custom area. 9/4/2008 - 9/5/2008: Got call to SetVirtualEndorsementAreaProperty to define a custom area OK, and implemented new controls for a Custom Area Virtual Endorsement in the Options form. You can now use either Area Custom1 VE, or a fixed area VE, or both, with or without SmartJet. 9/11/2008 Got call to GetVirtualEndorsementAreaProperty to work OK to report the RECT coordinates of the Payee area in the listbox. Then added call to set the Custom1 Area to use Word Wrap. These both work OK. Added Custom Area VE Font button on the Options form and got setting the Font for the Custom1 area working. So, you can define the Area and the Font for the Custom1 area, and it has Flag = Word Wrap turned on. For the fixed area, the default Font is used (Arial, height = 10, weight = 600). The default Flag = Center is used for centered text alignment. See {v1.4.4} in the source code for changes. ----------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.4.3 of 8/21/2008 Source Base: Vision_XP_4_Images v1.4.0 of 7/8/2008 This application requires Windows XP to support ihe image viewer control used, the Preview control in ShImgVw.dll. This app also requires Vision API 3.1, VX Engine 1.1.0 minimum to support all the features available in the app. Changes: Added use of function: SetVirtualEndorsement Note that there are new parameters in the MVXParameters.ini file for default Virtual endorse text lines. See: FixedVEText1 and FixedVEText2. To Do in next version, add support for: GetVirtualEndorsementAreaProperty SetVirtualEndorsementAreaProperty 7/21/08 - Added sub SetPrintString (strPrintType) with Type values "NewDoc", "Feed", "SetOutput", "Exception". Consolidated all logic to select and build all print and virtual endorse strings into this sub. It also has logic to call either SendPrintDataHelp or SetVirtualEndorsement per selection of the user in the Options form. The decision of whether or not to call this sub still must be made by the calling logic. When this sub is called, one of the 2 above Print/Endorse functions will always be called. 7/23/08 - Got very basic Virtual Endorse working. The function prototype for SetVirtualEndorsement is now working. Did not need a new helper function to support this Vision API call. 7/23/08 - Got the VE text strings and regular ink text strings and the SmartJet text strings (both ink and VE) to print as desired. Added support of printing 2 lines for an AGP 2 in regular ink print and in SmartJet (ink or VE). For VE without SmartJet, the 2 VE text lines print irregardless of the number of inkjet lines supported. An AGP 4 has always printed 4 lines for regular print. I don't have an AGP 4 that can also do SmartJet to test, but this combo should print 4 lines in VE or ink. 8/7/08 - Added logic to support selecting the fixed area to print the Virtual Endorse text in. This works. 8/21/08 - Added a prompt in the Options dialog to let users know they must select Endorse as well as Virtual Endorsement to get Virtual Endorsement to work. See {v1.4.3} in the source code for changes. ------------------------------------------------------------ Vision_XP_4_Images (for Win XP) - Version 1.4.0 of 7/8/2008 Source Base: Vision_XP_4_Images v1.3.9 of 5/29/2008 This application requires Windows XP to support ihe image viewer control used, the Preview control in ShImgVw.dll. This app also requires Vision API 3.0 VX Engine 1.0.24 minimum to support all the features available in the app. Changes: Added message handler for the WMPAR_MAGCARD message that was added in API 3.0. Added logic in this message handler to call new API function GetMagCardResult then put up a dialog to display the mag card info. When call to SetParamsHelp fails, added call to ReportApiCallFailure to get error details. See {v1.4.0} in the source code for changes. ------------------------------------------------------------------ Vision_XP_4_Images (for Win XP) - Version 1.3.9 of 5/29/2008 Source Base: Vision_XP_4_Images v1.3.7 of 1/28/2008 To support test of fixes and new feature in Vision API 3.0 - VXEngine 1.0.24. This application version requires this API version to use the added features. This application requires Windows XP to support ihe image viewer control used, the Preview control in ShImgVw.dll. Changed on 5/5/2008: 1. Added option to select MICR font AUTO+OCR (This was added in VXEngine 1.0.24) 2. Added new [SorterParams] section in MVXParameters.ini file: DFD_Power DFD_Confidence DFD_Delay DFD Power - default = 5, range 1 to X DFD Confidence - default = 7, range 2 to 10 DFD Delay - default = 50, range 10 to 150 mm The user must manually enter the values desired in the ini file to use a non default value. These values are read from the ini file as part of the StartUp process and sent to the MVX after it connects. 3. Changed so the status returned from the call to SetSorterParameter in frmSorterParams is tested, and any error info or success is reported. 4. Added listing of API and Engine version and the ID Card Description when the Info button is selected. This provides a chance to log all this info if file logging is turned on after the app is initialized. Completed 5/26/2008: Added option to enable "SmartJet - Read & Key" print which will put up a dialog with the MICR line and allow the user to correct the line before printing the MICR data and continuing. This can be used to test for a long delay here. There is a problem in VXEngine 1.0.21 with imaging errors when a delay is created before calling SendPrinterData. This can be seen in this app when Endorse and SmartJet are both enabled. Junk is appended to the full images of the first doc scanned, and a sorter error pending for ERR_BUFFER_BUSY is reported when the second doc is scanned. If you run this app with VXEngine 1.0.24 and SmartJet and Endorse are on, the problem is resolved. Completed 5/29/2008: If snippets are on as well as SmartJet and Endorse, the app now uses the SNIPPET_ENABLE_FOR_DECISION feature to display snippets before putting up the Read - Key - Print dialog. The problem with timing before the SendPrinterData call in VXEngine 1.0.21 shows up better when Snippets are not turned on, just Endorse and SmartJet. See {v1.3.9} in the source code for changes. ------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.3.7 of 1/28/2008 Source Base: Vision_XP_4_Images - v1.3.6 of 1/14/2008 Requires VX API 3.0 or greater and Win XP to run. Changes: 1. Added option in Options dialog to select MICR Reading Font: E13B, E13B+OCR, Auto, CMC7, CMC7+OCR 2. Added 50, 75 and 100 to DPM speed selection list. 3. Moved the initial call to VApiGetVersion from frmLoad to WindowProc, case Sorter_Connected to keep the app from crashing when run from its EXE. This is necessary at least for Vista. 4. Got rid of call to VApiGetVersion in frmAbout - Form_Load to keep the app from crashing when run from its EXE and the Info button was selected. This is necessary at least for Vista. See {v1.3.7} for changes in source code. ------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.3.6 of 1/14/2008 Source Base: Vision_XP_4_Images v1.3.4 of 10/23/2007 Requires VX API 3.0 and or greater and Win XP to run. Changes: Added function declaration and calls for GetDeviceFeature. This will be used to report if unit is a SD, full color, max DPI resolution, etc at StartUp initialization. Also defined several new constants that can be used in this new function for FeatureID. See {v1.3.6} for changes in the source code. ------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.3.4 of 10/23/2007 Source Base: Vision_XP_4_Images v1.3.3 of 9/4/2007 Changes: Was having problems with v1.3.3 of this app crashing when it was run from its Exe file, and the Info button was selected. In frmAbout, Form_Load, had to add a call to ListEvents before making the call to VGetApiVersion. Without this extra call first, VGetApiVersion would crash. This might be a timing issue, or some other issue. You could try substituting a kill time loop here to see what happens. See {v1.3.4} for changes in source. ----------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.3.3 of 9/4/2007 Source Base: Vision_XP_4_Images v1.3.2 of 7/25/2007 10/2/2007 Changes: Added support for new function VApiGetVersion and report its returned Version string in the listbox and Info form. 9/4/2007 Changes: Changed to use new Vision X API 3.0. This means this app addresses the "VisionApi.dll" for API functions instead of "MVXAPI.dll". And also for the helper dll, this app addresses "VisionApiHlp.dll" instead of "MvxApiHlp.dll". There was a new VisionApiHlp.dll file created for this application. It can be found in the source directory for this app. These changes are all in the MvxApi.bas module. This application requires: MVX - Vision API v3.0 minimum Windows XP (for image viewer control) See {v1.3.3} for changes in source. -------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.3.2 of 7/25/2007 Source Base: Vision_XP_4_Images v1.3.1 of 5/14/2007 July 25, 2007 Changes: Changed so when in exception recovery, if the FreeTrack call fails, more information is returned about the error. The change was in ReportApiCallFailure, so when API error code is "Device Error", then more info is reported about the Device error code. July 6, 2007 Changes: Changed the Set DPM control, so at initialization the DPM is set to the max DPM of the connected MVX unit. June 7, 2007 Changes: Then added all the enhanced print features from Vision_XP_4_Images v1.0.8 of 3/29/2006. These changes are: Changed so line 1 of endorsement print comes from the MVXParameters.ini file. Section [Endorse], param "Line1". A doc number, date and time will always print at the start of Line 1 followed by the text in the Line1 param. If endorse line is too long for document dimensions, added code to report new ERR_PRINTER transport error and attempt a rescan. Also added logic to attempt a rescan if the transport error is Doc Lost (JAM). During Rescan, the code to call SendPrintDataHelp has been changed to just print one blank line. Really, logic needs to be added to ask the user if endorsement should be attempted during the rescan. In the Options form, added Endorse Alignment options Lead Edge and Trail Edge. Start up default is Lead Edge. Parameterized the Text Offset in all calls to SendPrintDataHelp. The text offset is currently set to 2 in m_lngTextOffset. Added call to GetSorterParameter for param ID 6 in WindowProc when the SORTER_CONNECTED message is received. This gets the max MICR codeline length. MVX v2.12.1.2 does not support this new Param ID. MVX v2.21.1.3 does support new sorter params 6, 7 and 8. This application requires: MVX API v2.21.1.3 minimum Windows XP (for image viewer control) See {v1.3.2} for changes in source. ------------------------------------------------------------ Vision_XP_4_Images (for Win XP) - Version 1.3.1 of 5/14/2007 Source Base: Vision_XP_4_Images v1.3.0 of 4/13/2007 CHANGES: Added a function declaration for SetFeederLimit. Added a call to set feeder limit according to a new parameter in the MVXParameters.ini file, in new section [Limit]. The parameter name is FeederLimit. The default value is 30 if the param is not in the ini file. The SetFeederLimit call is made during the MVX startup sequence. Valid values are 30, 1 and 0 (0 = unlimited feeder). This call must be made while the device is in the ChangeParameters state. Using this app to test Feederimit set to 1, there was no way to continue scanning after one doc had scanned without removing the docs from the feeder sensor. Only way to do another scan without taking docs from feeder sensor was to ShutDown and StartUp the app. This takes many seconds. OTHER INFO: MVX API v2.21.1.3 minimum is required to support this call. See {v1.3.1} for changes in source. ------------------------------------------------------------ Vision_XP_4_Images (for Win XP) - Version 1.3.0 of 4/13/2007 Source Base: Vision_XP_4_Images v1.2.9 of 3/12/2007 CHANGES: Added a function declaration for SetHandDropDly. Added a call to set hand drop delay to according to a new parameter in the MVXParameters.ini file, in new section [Delay]. The parameter name is HandDropDly. Its value is specified in milliseconds. Default value is 100. The SetHandDropDly call is made during the MVX startup sequence. This is to test the delay generated. We have a report that the delay generated is 3 times the requested delay. Also, fixed logic that was reporting false errors in calls to SetImageAdjustment. OTHER INFO: MVX API v2.21.1.3 minimum is required to support this call. See {v1.3.0} for changes in source. -------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.2.9 of 3/12/2007 Vision_XP_4_Images - v1.2.8 of 2/7/2007 CHANGES: Added a function declaration for SetAGPLines. On the Options form, added a group "Set AGP Lines", and 2 radio buttons, "2 Lines" and "Unlimited Lines". When OK or Apply is selected on the Options form, the call to SetAGPLines is made with the appropriate Line value, 2 for 2 Lines or 0 for Unlimited Lines. This call is only made if an AGP 4 MVX is detected. Testing of this change shows when an AGP 4 is connected and printing is set to 2 Lines using this call, then even though 4 lines are sent in the SendPrinterData call, only 2 lines print. MVX API v2.21.1.3 minimum is required to support this call. See "{v1.2.9} for changes. ------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.2.8 of 2/7/2007 Source Base: Vision_XP_4_Images v1.2.7 of 1/15/07 2/7/2007 - The calls to SetImageAdjust were not working properly. You can see in Debug View that the DeviceID and other params are not 0 and 1 as defined in the source code, they are very large values when received in Debug View. Changed function declaration for SetImageAdjust so all longs are passed ByVal to fix problem. 1/30/2007 - Changed to call SetImageAdjust(0,0,1) and SetImageAdjust(0,0,0) to set the front and rear image adjustments to 0 (the default) for both the front and rear images. These calls are made during intialization while in ChangeParameters state. MVX API v2.21.1.3 minimum is required to support these calls. See "{v1.2.8}" for changes. ---------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.2.7 of 1/15/07 Source Base: Vision_XP_4_Images - v1.2.6 of 11/28/06 12/13/2006 - Added code at app init to report more of the DeviceParameters default values to the listbox. Specifically, added report the Format and Threshold values for all 4 main images. 1/15/2007 - Added report MVX driver version (GetDriverRelease) before calling StartUp. In frmMain, in CmdStop_Click (when Stop selected), added code to enable change options or app exit if did not get to OnLine state after StopFeeding timeout (5 second timeout). Also in same sub, added code if StopFeeding call fails and you are in OnLine state, to enable Start, Options and Exit buttons. See "{v1.2.7}" in source code for changes. ----------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.2.6 of 11/28/06 Source Base: Vision_XP_4_Images v1.2.1 of 9/8/06 Added Set DPM list box on main form. Default = 90 DPM. The DPM will always be set when the Start button is selected, just before calling StartFeeding. Also added a LogError subroutine that logs to file Errors.log in the application executable directory when API or sorter errors occur. This is separate from the logging to Vision.log, the Errors.log logging can't be turned off. See "{v1.2.6}" in source code for changes. ------------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.2.1 of 9/8/06 Source Base: Vision_XP_4_Images v1.1.8 of 8/7/06 Added listing of many more Devices structure values at app init. See "{v1.2.1}" in source code for changes. ------------------------------------------------------------ Vision_XP_4_Images (for Win XP) - Version 1.1.8 of 8/7/06 Source Base: Vision_XP_4_Images v1.0.7 of 2/27/06 Changed to make a call to GetApiRelease before calling StartUp. Results will be put in the listbox. You can get the API version in this state. See "{v1.1.8} in the source code for changes. ----------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.0.7 of 2/27/06 Source Base: Vision_XP_4_Images v1.0.6 of 10/19/05 This application requires: Win XP Vision API version 1.2 and compatible MVX drivers preinstalled CHANGES: Added listing the default MICR Font and default MICR Enable settings at initialization. Used call to GetDeviceParameters to do this. Changed max MICR line length from 66 to 96 in call to GetMicrCodeline to solve problem of MICR data being returned as empty string occasionally. Added listing of more Device Param values in function InitParams. Added ToolTip in listbox that explains how to review doc images and data. See "{MICR_Default}" in source code for changes. Also added fix for application freeze due to Stop button being disabled when the Free Track button is selected while in Feeding state. See "{FixStop}". ---------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.0.6 of 10/19/05 Source Base: Vision_XP_4_Images v1.0.1 of 5/24/05 Deleted unused form containing db grids so could remove project dependencies on MSDATGRD.OCX and DBGRID32.OCX. --------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.0.1 of 5/24/05 Source Base: Vision_XP_4_Images - v1.0.0 of 3/24/05 See "{DFD}" in source for DFD changes. Added checkbox on main form to turn Double Feed Detection (DFD) on/off. The call to SetSorterParameter for DFD Enable works OK in OnLine state. Added a control to report and set DFD Power. There is a new button, "Sorter Params" on the main form. This brings up the "Sorter Parameters" dialog. Fixed logic in function ReportApiCallFailure to stop app crashes. Added logic in cmdFreeTrack_Click to be sure Start button is enabled and Stop button is disabled after a feed error occurs. Added ExceptionMgr module, and started enhancing exception handling. The exception handler gets more information for Sorter errors, especially for Transport class errors. Added automated FreeTrack calls after Sorter errors. Added a Rescan dialog and logic. A Rescan scans one doc at a time with DFD disabled. The handler currently uses Rescans after Double Feed is Detected and Jams (Doc Too Long). On 5/24/05, added a call to SendPrintDataHelp in the Rescan logic before calling StartFeeding (when endorse is on). This was necessary to prevent error 35, "Invalid Send Printer sequence", trying to Rescan with endorse on. See "{FixRescan}". See {Exception} for exception handling changes. ---------------------------------------------------------- Vision_XP_4_Images (for Win XP) - Version 1.0.0 of 3/24/05 Source Base: Vision_XP_Save_Dir v1.0.1 of 2/25/05 See "{4 Images}" in source for changes. Added logic to save 4 full compressed images per doc scanned. Added radio buttons to display either the 2 grayscale images or the 2 black and white images in the 2 main image viewer windows. This works while scanning or while scrolling through the Document Completed entries in the listbox when in Online state. Added radio buttons to select 100 or 200 DPI Resolution for the 4 full compressed images. Note, snippet resolution is not controllable through the MVX API. OCR works when full images are set to 200 DPI, but fails when full images are set to 100 DPI. Modified Image file naming schema slighty. Added BW (Black & White) or GS (Gray Scale) to the name. The GS images have a jpg extension. File Name Examples: 2005-03-25_23-02-57_0001FBW.tif 2005-03-25_23-02-57_0001FGS.jpg 2005-03-25_23-02-57_0001RBW.tif 2005-03-25_23-02-57_0001RGS.jpg Expanded the width of the main form to make the listbox wider. ----------------------------------------------------------- Vision_XP_Save_Dir (for Win XP) - Version 1.0.1 of 2/25/05 Source Base: Vision_XP_Save_Dir - v1.0.0 of 2/18/05 Corrected problem in v1.0.0 that prevented the snippets from displaying even though the snippet image files were being created. ----------------------------------------------------------- Vision_XP_Save_Dir (for Win XP) - Version 1.0.0 of 2/18/05 Source Base: Vision_XP_Demo - v1.0.1 of 12/10/04 For use on Win XP pcs with MVX API v1.6.1.2 or greater installed. Changed to add "Image Dir" button that brings up a dialog which allows selection of the directory where images are saved. You must OK the directory selected in this dialog for the dir to be used. You must OK an Image Dir before you can start scanning. This dialog also supports a "Create Dir" button and function. There is an ini file setting for the starting Image Dir. In MVXParameters.ini, in new section [Paths], there is a new SaveDir parameter. The full path to the directory should be put in here. EXAMPLE: SaveDir=c:\Images\Checks The full compressed black and white images are now saved using naming schema: Date, time, doc number, F or R, then ".tif". Format: "yyyy-mm-dd_hh-mm-ss_0000F.tif" for front images. "yyyy-mm-dd_hh-mm-ss_0000R.tif" for rear images. Example: 2005-02-18_10-22-55_0001F.tif This should guarantee unique names as long as the date on the pc is accurately maintained. The 0000 is the document ID returned from the MVX API for each doc scanned. There is a new "List Images" button which is used to insert entries into the listbox for all ".tif", ".jpg" and ".bmp" files found in the current Image Dir. The entries begin "IMAGE:" and are followed by the full path and filename for each file listed. If you scroll over an IMAGE: entry in the listbox so it is highlighted, the image will display in the top image viewer. So this app can be used to display all tif, jpg and bmp files in any selected dir. The Win XP version of this program uses the win XP Preview control. So you can right click on any image and select Preview. This gives a larger view of the image and allows for several other functions including a print wizard to be selected. Note, the 2 full compressed black and white images are saved in the selected Image Dir, but snippets are still named and saved as they were in previous versions. They are saved in the Snippets sub-dir of the dir where this program resides. The program changes the "current working directory" and "current working drive" operating system parameters to control the function of the Image Dir dialog. The review of data from documents just scanned should still work. By scrolling in the listbox, when each entry "MvxApiMsg: Document completed" is highlighted, the full images, MICR data, snippets, and OCR data for that doc is displayed. There were new dictionary objects added in this version to save the filename and path of all front and rear images in memory. -------------------------------------------------------- Vision_2K_Demo (for Win 2000) - Version 1.0.1 of 12/1/04 Vision_XP_Demo (for Win XP) - Version 1.0.1 of 12/10/04 Source Base: Vision_2K_Demo v1.0.0 of 6/26/04 The only difference between the win XP and the Win 2000 versions of this app is in the image viewer each uses. Changed to compile and run with MVXApi.dll v1.6.1.2. Then, added Font selection control on main form. The Font control can select typeface, style (bold, italic) and size. Arial 16 point fonts are max for 1 line printers to avoid cropping. Arial 20 point fonts are max for 4 line printers to get 4 lines. If a 4 line endorser is detected and the endorser is enabled it will print 4 lines. Added MVX API version info and inkjet printer info to the listbox at app init. See "{v1.0.1}" for changes. ----------------------------------------------------------- Vision_2K_Demo (for Win 2000) - Version dated 6/26/04 Vision_XP_Demo (for Win XP) - Version dated 7/9/04 Developed in Visual Basic version 6. Vision_2K_Demo and Vision_XP_Demo are the same except for the viewer they use to display images. They both use the viewer native to their OS that can display BMP, JPEG and TIF images. This program used Vision_2K_Images of 6/18/04 as a source base. See information below concerning Vision_2K_Images. Vision_2K_Demo was then modified by adding support to run E13B OCR on Snippet1 (the MICR line area of the front image). To use OCR, snippets must be enabled in the Options dialog, and OCR must be enabled on the main form. For the OCR to function properly, the snippet Color property must be set to 1 (black & white). See the information below about the MVXParameters.ini file. The OCR codeline is displayed in a new text box on the main form. The OCR codelines are also displayed while reviewing captured items in the listbox. Vision_2K_Demo also has an about box which is displayed when a new Info button is selected. This dialog also has much information about the MVX software versions and MVX hardware configuration. Finally, all of the code dealing with the Ranger control has been removed in Vision_2K_Demo. Much of the source code in this application can be used in any VB application that uses the Vision API for the MVX. This application supports: * MICR reading. * Capture, writing to file and display of front and rear bitonal images. * Optional capture, writing to file and display of two image snippets. * Optional rotation of the snippet images when captured, this is needed to work with some image viewers. * Optional endorsement of a dynamic text string. * Optional Hand Drop mode or Hopper Feed mode. * Optional E13B OCR reading of the MICR area on the front image. * Review after scan of all MICR data, OCR data and images in the current batch. * Display of all significant events with optional logging to file. * Implemented Options dialog logic which changes transport states to allow changes in DeviceParameters. So, options can now be changed any time the transport is stopped. * About box that contains much MVX software and hardware info. When the sorter is in the OnLine state, if you select any "Document completed" entry in the listbox, the 2 full images, snippets (if captured), MICR data and OCR data (if captured) for that document will be displayed. The program is setup to optionally create, display and save 2 snippets. The properties of these snippets are defined in the MVXParameters.ini file. See sections [Snippet0] and [Snippet1]. These parameters control the snippet's size, position, color(bits per pixel), etc. Note: the "Vision_2K_Demo" version uses the Kodak ImgEdit control to display images. This control is supplied with Windows 2000. The "Vision_XP_Demo" version uses the Preview control in ShImgVw.dll that is supplied with Windows XP. The program should still be able to review all images, snippets, MICR data and OCR data saved during scans. This is done by highlighting the XXX entries in the listbox. New dictionary objects were added in this version to store the full path of each full image file in memory. This dictionary data is used in the review process. ---------------------------------------------------------------- Vision_2K_Images (for Win 2000) - Version dated 6/18/04 Developed in Visual Basic version 6. This program used Ranger_2K_Images of 5/25/04 as a source base. See information below concerning Ranger_2K_Images. Vision_2K_Images illustrates how to convert a MyVisionX application using Ranger so that it uses the Vision API instead. Much of the source code in this application can be used in any VB application that uses Ranger to make the conversion to the Vision API for the MVX. This application supports: * MICR reading. * Capture, writing to file and display of front and rear bitonal images. * Optional capture, writing to file and display of two image snippets. * Optional rotation of the snippet images when captured, this is needed to work with some image viewers. * Optional endorsement of a dynamic text string. * Optional Hand Drop mode or Hopper Feed mode. * Review after scan of all MICR data and images in the current batch. * Display of all significant events with optional logging to file. * Implemented Options dialog logic which changes transport states to allow changes in DeviceParameters. So, options can now be changed any time the transport is stopped. When the sorter is in the OnLine state, if you select any "Document completed" entry in the listbox, the 2 full images, snippets (if captured) and MICR data for that document will be displayed. Note: the "2K" version uses the Kodak ImgEdit control to display images. This control is supplied with Windows 2000. The "XP" version uses the Preview control in ShImgVw.dll that is supplied with Windows XP. ---------------------------------------------------------------- Ranger_2K_Images (for Win 2000 and MVX) - Version dated 5/25/04 In 2K Version: * Removed Pause To View option (was for S1V). * Removed Flush Track button (was for S1V). * Added a one line variable endorsement option that works for MVX only. * Re-added transport startup at app init. * Removed Start Up button and replaced this with an Options button. * Added an Options dialog which can be used to select Create Snippets, Rotate Snippets and Endorse. * Implemented the Options dialog logic by changing transport states to illustrate how this is done. So, options can now be changed any time the transport is stopped. * Cleaned up source code, got rid of many comments and unused code. -------------------------------- Ranger_2K_Images (for Win 2000) - Version Dated 5/17/04 In 2k Version: * Made form wider to widen listbox and add Stop button. * Added Stop button on main form. * Added separate Click function for Stop button, so Start and Stop functions are not shared under the same Click event. This was needed due to Ranger sometimes starting transport back up after exception and stop. * Added listing of several "XXX request" (calls to change state) that were not previously listed. * Added "ERROR:" to listbox strings that report 0 byte image sizes (for searching). * Added checkbox "Write Log File" to turn logging to file on/off. * When enter "InExceptionState", added listing of the exception type. * The MICR data for each item is now saved in a dictionary object (in memory). * When not feeding, if you scroll through the listbox, every time a line that begins "ItemInPocket" is selected, all images and snippets saved for that item will be displayed, and the MICR data for the item will also be displayed. See lstEvents_Click and DisplayImages for new code. * Added Flush Track and ClearTrack buttons on main form. These call the FlushTrack passthrough method and the ClearTrack method respectively. SBT's doc concerning the Ranger.ocx of 4/30/04 stated that the app should call the FlushTrack method after an exception is reported by Ranger, Ranger sends TransportFeedingStopped, ExceptionDetected, then the operator is prompted to remove all (jammed) items from the track. -------------------------------- Ranger_2K_Images (for Win 2000) - Version Dated 5/14/04 In 2K version: * Added 3 more cases (defining reason for stop) for event FeedingStopped at 9:45 pm on 5/13/04. * Added don't display images or snippets if they are 0 bytes in length. * Added log whenever image or snippet is 0 bytes, also log all image and snippet byte counts when in exception state. * Added log all events to file RangerLite.log as well as to listbox. -------------------------------- Ranger_2K_Images (for Win 2000) - Version Dated 5/13/04 Ranger_XP_Images (for Win XP) - Version Dated 5/13/04 Both versions added many Ranger Event notices in the listbox. Added listing of Item State for the ItemInPocket event. ---------------------------------- Ranger_2K_Images (for Win 2000) - Version Dated 5/11/04 Ranger_XP_Images (for Win XP) - Version Dated 5/11/04 The versions with this date add a Hand Drop checkbox on the form. If ON, StartFeeding uses params Manual Drop and continuous. If OFF, StartFeeding uses params Main Hopper and continuous. ---------------------------------- Ranger_2K_Images (for Win 2000) - Version Dated 5/7/04 Ranger_XP_Images (for Win XP) - Version Dated 5/7/04 These apps are modified from Massimo's Ranger test app distributed with the MVX software setup. Ranger_2K_Images uses the Kodak ImgEdit control to display front and rear images as it scans. Thus it works on Win 2000 but not on Win XP. Ranger_XP_Images uses the Preview control to display front and rear images as it scans. Thus it works on Win XP but not on Win 2000. The programs have an option to create, save and display 2 snippets. There is an option to "pause to view" which allows you to see all images better when running on an S1V and the ItemInPocket events are fired in groups of 2 sequentially. The pause adds a 100 msec loop after it puts up the images. There is an option to rotate the snippets. This is needed when you run on Win XP with an MVX. I suspect this is an issue with the Preview control I am using. If you want to create and view snippets, then options "Create Snippets" must be selected before selecting the "Start Up" button. If you need to rotate the snippets, that option must also be selected before running "Start Up".