Scaning a document

Author: parcaya@compuamerica.com.ve (parcaya)

Anyone have any code examples of how scan a document from a "FORM" in Uniface?.

6 Comments

  1. parcaya said Anyone have any code examples of how scan a document from a "FORM" in Uniface?.

    What do you mean with document and FORM ? If you want to scan the proccode inside a UnifAce component, there are four possibillities

    1. Use the global search in UnifAce (GOTO->ADMINISTRATION->GLOBAL SERACH)
    2. Compile all form with listings and then search in this listings  (hint:  "/lis=2" )
    3. Export all components as XML and search inside this XML files
    4. Build your own search tool build on the tabels from the model DICT

    Ingo


    Author: istiller (i2stiller@gmx.de)
  2. you can export all the form you wish to scan using : Lets say you load all the names of the forms to entity DUMMY1,field form_to_exp and use  entity DUMMY field exp_path for path information  type the path to exp_path.dummy  Than  loop the entity occ , and use $ude proc code  $98 = "%%exp_path.dummy%%%\%%form_to_exp.dummy1%%%.xml"  $95 = form_to_exp.dummy1    $1 = $ude("export", "component", $95, $98,"append=False")


    Author: avner (avner@one1.co.il)
  3. parcaya said Anyone have any code examples of how scan a document from a "FORM" in Uniface?.

    Hello, I'm understanding your question a bit differently than the previous posters. If you would like to scan (e.g.) a paper document using a flatbed scanner then you would need an external program that can do this for you. The end result (e.g. image or PDF document) could of course be processed by Uniface (in one way or another). One option to embed a scanner program could be the Uniface OCX container. This, however, requires that there is a vendor that provides an OCX or ActiveX control that could be used for this task. I'm not sure if something like that already exists. Maybe another forum member has some experience with this. Alternatively you also could scan the document with an external program first and then "import" the scanned document (e.g. image or PDF document) into Uniface. Hope this helps. Kind regards, Daniel


    Author: diseli (daniel.iseli@uniface.com)
  4. We currently do this using a program called Quickscan, but it's a bit out of date and we are searching for another one. It has a command line option which we run from within UNiface, which scans documents to a folder, we then use $ldir etc to process all the files in the folder and remove them.  I have requested on this forum before whether any users have a TWAIN signature or dll that works with Uniface, but there have been no answers.  regards,  Iain


    Author: Iain Sharp (i.sharp@pcisystems.co.uk)
  5. We have integrated TWAIN scanning into our own dll. There are tools which you can use and then you need to implement just an "interface" to call this from Uniface. We use just a few operations: Twain Get Sources, Twain Source Capabilities and Twain Acquire Image. Results are saved to file(s) and then loaded into Uniface. Zdeněk


    Author: sochaz (zdenek.socha@fullsys.cz)
  6. sochaz said We have integrated TWAIN scanning into our own dll. There are tools which you can use and then you need to implement just an "interface" to call this from Uniface. We use just a few operations: Twain Get Sources, Twain Source Capabilities and Twain Acquire Image. Results are saved to file(s) and then loaded into Uniface. Zdeněk
    sochaz said We have integrated TWAIN scanning into our own dll. There are tools which you can use and then you need to implement just an "interface" to call this from Uniface. We use just a few operations: Twain Get Sources, Twain Source Capabilities and Twain Acquire Image. Results are saved to file(s) and then loaded into Uniface. Zdeněk

    Hi, It will be possible to send me a copy of that interface. Thanks


    Author: parcaya (parcaya@compuamerica.com.ve)