Code for Scanning of signatures from uploaded form & uploading to database

Hi
what is the procedure for scanning of signatures from a uploaded signature form and uploading them to database

The procedure is:
Learn programming.
Design program.
Implement program.
Test program.
Deploy program.
Some of step 1 can be found here: http://java.sun.com/docs/books/tutorial/
You mention databases, forms and uploads - so the JDBC, servlet and file I/O trails should be of particular interest to you.

Similar Messages

  • Solution for scanning multiple pages from inside the form6i/10g

    Hi All,
    I need to scan multiple pages from Oracle forms (6i/10g) using a scanner which is scanning multiple pages per minute. Can any one post a solution for me.
    Hafeez

    here are the two ways I use to scan images.
    1) if the image is a single TIF image then d2kwutil can upload the image into a BLOB field on the database (but it is limited to only SINGLE-page TIFs).
    2) if the image is a single or multi-page PDF, then your forms client must copy the image to a filesystem location known by the database (where the filesystem location is a directory on the database), and then the database can import the image into a BLOB field within the database.
    either solutions work pretty fast for me (<10 seconds per image)
    Chris

  • Want to scan an image from oracle forms -- Is it possible??

    Hi all,
    I want to scan an image from oracle forms through a scanner. I have not found any help on this topic. Pls help with example or code or with demmo form.
    BR
    Tarik.
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM

    A colleague of me did it like this:
    * the scanner is connected to a network document server.
    * the document server sends(ftp) the image to the oracle XDB
    * a form shows the scanned documents(using a view on the ftp directory in XDB using path_view)
    * in this form the user can move the scanned document(s) to a (blob field) in a table.
    Hope this helps a bit...
    Edited by: poelger on Sep 9, 2008 10:08 AM

  • Code for reading particular  fields from the file placed in application

    hi,
    code for reading particular  fields from the file placed in application server in to the internal table.

    Hi,
    Use the GUI_UPLOAD FM to upload the File into ur Internal Table.
    DATA : FILE_TABLE TYPE FILE_TABLE OCCURS 0,
             fwa TYPE FILE_TABLE,
             FILENAME TYPE STRING,
             RC TYPE I.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_OPEN_DIALOG
      EXPORTING
        WINDOW_TITLE            = 'Open File'
       DEFAULT_EXTENSION       =
       DEFAULT_FILENAME        =
       FILE_FILTER             =
       INITIAL_DIRECTORY       =
       MULTISELECTION          =
       WITH_ENCODING           =
      CHANGING
        FILE_TABLE              = FILE_TABLE
        RC                      = RC
       USER_ACTION             =
       FILE_ENCODING           =
      EXCEPTIONS
        FILE_OPEN_DIALOG_FAILED = 1
        CNTL_ERROR              = 2
        ERROR_NO_GUI            = 3
        NOT_SUPPORTED_BY_GUI    = 4
        others                  = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE FILE_TABLE INDEX 1 into fwa.
    FILENAME = fwa-FILENAME.
        CALL FUNCTION 'GUI_UPLOAD'
             EXPORTING
                  filename                = filename
                  FILETYPE                = 'DAT'
           IMPORTING
                FILELENGTH              =
             TABLES
                  data_tab                = itab
             EXCEPTIONS
                  file_open_error         = 1
                  file_read_error         = 2
                  no_batch                = 3
                  gui_refuse_filetransfer = 4
                  invalid_type            = 5
                  OTHERS                  = 6 .
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    Regards,
    Balakumar.G
    Reward Points if helpful.

  • I need a code to run a report from a forms on 10G...

    Hi!! I´m migrating from 6i to 10G and i cant run a report... can someone send me a sample code to run a report from a form in 10G??
    Thanks!!
    Regards!

    iam using Javabean in oracle 10g forms to tun the report....
    First create a block with a name control and add an bean to it with a name
    userid_bean.click the proerty of the bean and changes its width and height
    so that u cannot see it when u run the particular form.
    now use the below code where u are coding to run the report.
    Declare
    rep_url varchar2(2000);
    begin
    rep_url := '/reports/rwservlet?report=filepath\rep1.RDF' ||
    '&desformat=htmlcss&destype=cache&userid=sample/sample@oracle' || '&paramform=yes';
    -- Write Log messages to the Forms JInitiator console.The Next line must
    -- be disabled before running this code in any production environment.
    set_custom_property('control.userid_bean',1,'ADD_USERID',
    get_application_property(username)||'/'||
              get_application_property(password)||'@'||
              get_application_property(connect_string));
    -- writing the cookie
    set_custom_property('control.userid_bean',1,'WRITE_USERID_COOKIE','10g');
    web.show_document(rep_url,'_blank');
    end;

  • Custom code for Target Source Reconciliation from a flat file

    Hi Experts,
    I need help in writing a custom code for Target Source Reconciliation from a flat file to OIM. The flat file will contain account details for different application instances. I am working on 11gr2.
    Thanks,
    Subin

    All right, all right, not so quickly.
    I am at the stage of trying to put one dimension
    array. But I stuck in one place, this is the program:
    import java.io.*;
    public class FromFile {
    public static void main(String[] args) throws IOException {
    File inputFile = new File("mac.txt");
    FileReader in = new FileReader(inputFile);
    int c;
    for(int i = 0; i < 10; i++) {
         c = in.read();
    System.out.println(c);
    and I try to read: 1 2 3 4 from text file
    This is the result so far...
    49
    32
    50
    32
    51
    32
    52
    -1
    -1
    -1
    well,
    I think I know what's wrong. I must change ASCII numbers into
    ints. But I dont' know how to do it. Some nice book, or
    tutorial on streams would come in handy. Could you correct
    it?.

  • How to send digital signature from pdf form to fdf file?

    Hi...
    I already create the pdf form that contain digital signature field using ACROBAT XPRO...and now i would like to send data from pdf form to fdf file.I already manage to send data from other field except the digital signature.How to send the signature digital value to FDF file so that i can display it back to PDF file next time?Can anyone help me...i really need help right now...
    tq..

    hi....
    thanks for replying..
    George Johnson wrote:
    It did work with earlier versions that did not perform a full save when a signature was applied. Since Acrobat/Reader now do a Save As when a signature is applied, there are no incremental saves to include in the FDF. This can still be useful for forms that haven't been signed, oddly enough, but since you cannot control whether the user performs a full save, it shouldn't be relied on for general use. The big problem is extracting the appended saves from the FDF so you can concatenate it to original document. The FDF Toolkit is the only thing I'm aware of that helps with this.
    as u said that,Fdf tool kits can help to solve my problem.Can u send me the sample of code using java so that i can get the value using Fdf Tool kits?
    Thanks..

  • Reason code for short payment received from Customers

    Hello
    We are on ECC 6.0 without application of any enhancement package.
    Requirement is to capture reasons of short payment received from customer and generate a report based on such reason codes.
    Reasons of short payment received could be - Adhoc payment; Excess billed; Tax deducted at source (TDS) on freight / service charges and Bank charges etc.
    Let me know relevant configuration required.
    Would reason codes be captured during incoming payment entry or customer account clearing?
    Thanks.
    Vimal, India

    Hi Vimal
    Following is the configuration for Reason code for customer payments. It can be short payment, over payment or discount not allowed.
    First step is to define reason code. You do this in Financial Accounting (New >Accounts Receivable and Accounts Payable>Incoming Payments>Incoming Payments Global Settings>Overpayment/Underpayment>Define Reason Codes
    Define reason code , short text, long text and assign it to correspondence type. (please note correspondence type settings needs to be done first).  There is a column c which is Indicator: Charge off difference via separate account set this if you want to post the difference to seperate account during clearing customer open item.
    The second step is to define accounts for payment difference.
    Financial Accounting (New >Accounts Receivable and Accounts Payable>Incoming Payments>Incoming Payments Global Settings>Overpayment/Underpayment>Define Accounts for Payment Differences
    Assign G/L accounts against reason codes.
    The third step is Define Reason Code Conversion Version
    Financial Accounting (New >Accounts Receivable and Accounts Payable>Incoming Payments>Incoming Payments Global Settings>Overpayment/Underpayment>Define Reason Code Conversion Version
    In this step, you make the default settings you need for the manual incoming payment processing via payment advice notes. If differences between the payment advice item and the total of the allocated open items occur after selecting the open items, you can enter a reason code in the payment advice item. This represents the reason for the reduction of the payment amount specified by the paying person.
    Create version 001 and name for it.
    For correspondence type create or assign relevant form and print program in global settings> correspondence
    Once you have these settings you can insert appropriate reason code while clearing customer open item .
    You can print correspondence via T-ode F.62 on a monthly basis or wekly basis.
    Hope this helps.
    Thanks
    Sanjeev

  • How to search tables and views used in the code of oracle fmb 6i from another form???

    Hii guys, this is a very interesting question and i hope that it will have ample amount of answers.
    My requirement is to know the number of tables and views and backend functions/procedures which are used in the code written in the oracle forms 6i,
    all i want is to display whole views, tables or functions/procedures which are written  in the code of a particular fmb, i do have the path of that fmb and i want to read the code and search through it's entire code for the tables/views/backend procedures/functions written in the code. So how to search through the entire code of a particular form (6i) and make it display through another form.
    I am using oracle forms 6i.
    Please help me out....
    With Regards:
    Ankit Chandra

    Here is a modified dealForm.jsp that merges the 2 steps - both symbol submission and Yahoo convert is done by it. Play with it and add your DB code to it:
    <html>
    <head><title>IPIB Database Selection</title></head>
    <body bgcolor="#DFDFFF">
    <H1><CENTER>IPIB Database Selection</CENTER></H1>
    <font size=4>
    <%@ page language="java" %>
    <%@ page import="java.net.*,java.io.*,java.util.*" %>
    <%
    String symbol = request.getParameter("symbol");
    if (symbol != null) {
    String urlString = "http://finance.yahoo.com/download/javasoft.beans?SYMBOLS=" + symbol + "&format=ab";
    try {
    URL url = new URL(urlString);
    URLConnection con = url.openConnection();
    InputStream is = con.getInputStream();
    InputStreamReader isr = new InputStreamReader(is);
    BufferedReader br = new BufferedReader(isr);
    String line = br.readLine();
    StringTokenizer tokenizer = new StringTokenizer(line,",");
    String name = tokenizer.nextToken();
    name = name.substring(1, name.length()-2);
    String price = tokenizer.nextToken();
    price = price.substring(1, price.length()-2);
    %>
    <p>
    Original line from yahoo <%= line %>
    </p> <p>
    Name: <%= name %>
    </p> <p>
    Price: <%= price %>
    </p> <p>
    Pub DB processing code from dealLoad.jsp here
    </p>
    <%
    } catch (IOException exception) {
    System.err.println("IOException: " + exception);
    } else { %>
    <form action="dealForm.jsp"method="GET">
    <p>Enter Symbol: <input size="20" name="symbol">
    <inputtype="submit" value="Submit">
    </p></form>
    <% } %>
    </font>
    </body>
    </html>

  • Routine sample code for reading 2 fields from existing DSO

    Hi Gurus,
                 I am a monkey when it comes to write ABAP code. I have one DSO-A where we store accounting info of purchading (from DS 2lis_02_acc) and one DSO-B getting data from 2lis_02_scl data source.
    We need to write a rountine to read DSO-A for G/L account and populate DSO-B G/L account field.
    Please provide me the sample code for this.
    Warm Regards,
    Anil

    Hi anil,
    Create a local table this is type of you source,
    Data : LV_table  TYPE  XXXX
    use the select statement to read the table of DSO .You have to use th active table for the dso that you want to read data from.
    Select xxxfieldxxx FROM  /BIC/A..........50
    into lv_table where
    filed name of of scheule line probably order no and item no .
    <soruce-fields>-IOBELN = IOBELN
    and <source-fields>-IOBELP = IOBELP.
    Checke the techinal name i am not sure about it. It will be something like that.
    Cheers mate

  • How do I change my Pin for Scan-To-Email from ePrintcenter on the HP 7520 Photosmart?

    Upon enterinng your email initially, you are sent a randomly generated 4 digit pin code for all your scan to email thereafter.
    Is there anyway you can manage this account and change the pin?
    I want to change it to something more easily remembered.
    I have registered and logged into eprint on the HP website, but that only allows me to create posts here and add my printer to my account and change the eprint email of the printer. There is no option to link my eprintcenter account and/or change my pin number.

    Hi djlongy,
    I am sorry at this time you cannot change your scan to email pin number.  I like your idea it would be a nice option to have.
    Hope this helps.

  • I want to access from my form to tow databases

    i want to access from my form to tow databases

    Sabri,
    I see you posted a similar question to the "Sample Code" forum. While I don't use forms, I suggest having a look at the Oracle Forms Web page.
    And perhaps try posting your question to the Forms.
    Good Luck,
    Avi.

  • Need code for call a report from stored produre in oracle9i(using rwclient)

    dear all,
    i need a stored procedure to run the report 9i(.rdf) from pl/sql.But i have code in older version(rwcgi60).So i want stored procedure for rwclient.
    The below code not working in oracle9i version.its very urgent.Thanks in advance..
    create table report
    (id number not null primary key,
    filename varchar2(100) not null,
    report_connection_id number not null,
    destype varchar2(5) not null)
    create table report_connection
    (id number not null primary key,
    user_id varchar2(100) not null,
    pass varchar2(100) not null,
    database_server varchar2(50) not null,
    report_server varchar2(50) not null)
    alter table cm.report add foreign key (report_connection_id) references cm.report_connection (id)
    insert into report_connection values (1, 'scott', 'tiger', 'orcl', 'Rep60_Dev');
    insert into report values (1, 'test.rdf', 1, 'PDF');
    commit;
    procedure pr_example (p_id report.id%type) is
    cursor cur_data is
    select r.filename,
    c.user_id,
    c.pass,
    r.destype,
    c.database_server,
    c.report_server
    from report r,
    report_connection c
    where r.report_connection_id = c.id
    and r.id = p_id;
    v_blob blob;
    v_url varchar2(2000);
    v_pieces utl_http.html_pieces;
    v_buffer raw(2000);
    v_buffer_size integer := 2000;
    begin
    for v_rec in cur_data loop
    v_url := 'yourserver.domain.com/dev60cgi/rwcgi60.exe?report=' || v_rec.filename || '&desformat=' ||
    v_rec.destype || '&userid=' || v_rec.user_id || '/' || v_rec.pass || '@' || v_rec.database_server ||
    '&server=' ||v_rec.report_server || '&destype=cache';
    if v_rec.destype = 'PDF' then
    owa_util.mime_header('application/pdf', false);
    htp.p('content-disposition: filename='||v_rec.filename);
    owa_util.http_header_close;
    --you can add a bunch of elsif logic here for different destypes and setting the correct mime type.
    end if;
    --sets transfer timeout to be one hour
    utl_http.set_transfer_timeout(3600);
    --runs the report
    v_pieces := utl_http.request_pieces(v_url,64000);
    v_blob := empty_blob();
    dbms_lob.createtemporary(v_blob,true);
    for i in 1 .. v_pieces.count loop
    v_buffer := utl_raw.cast_to_raw(v_pieces(i));
    v_buffer_size := utl_raw.length(v_buffer);
    if v_buffer_size > 0 then
    dbms_lob.writeappend(v_blob, v_buffer_size, v_buffer);
    end if;
    end loop;
    wpg_docload.download_file(v_blob);
    end loop;
    end;
    Now run this url:
    http://yourserver.domain.com/pls/dad_name/pr_example?p_id=1
    regards
    mani

    JosAH wrote:
    A couple of years ago Sun supplied their javax.comm package (mysteriously versioned as version 2)
    but they stopped it for the PC Windows.
    There's an alternative: rxtx which offers an identical API as Sun did and their own native implementation for serial and parallel port handling; I have used both and the rxtx version is clearly superior to Sun's old version: http://www.rxtx.org
    This question popped up recently.
    tschodt wrote in [http://forums.sun.com/thread.jspa?messageID=10863769#10863769:}
    [Java Communications API|http://java.sun.com/products/javacomm/]
    Implementations of the API are currently available for Solaris SPARC, Solaris x86, and Linux x86.follow the Download link to find
    Sun no longer offer's the Windows platform binaries of javax.comm, however javax.comm 2.0.3 can be used for the Windows platform, by using it in conjunction with the Win32 implementation layer provided by the RxTx project. To use that, download javax.comm for the 'generic' platform (which provides the front-end javax.comm API only, without platform specific back-end implementations bundled). Then acquire the Windows binary implementation rxtx-2.0.7pre1 from http://www.rxtx.org.

  • Changing GL Code for "Clring Account Revenue from Asst Sale" (TCode: AO90)

    Dear Experts,
    We have a requirement to change "Clearing Account Revenue from Asset Sale" from currently used GL Account (Eg; 22840020) with another GL account (Eg; 22840022).  Both these GL Accounts are Balance Sheet Accounts. We have created required GL Account in desired conpany codes.
    When we try to change respective GL Account in T-Code: AO90 (Balance Sheet Accounts) we get below message with green colour message type:
    "Account "22840022" not allowed to be Balance sheet account"
    "Account "22840019" not defined as P22840019L account"
    (There are no red colour message type)
    Please help. Should we go ahead with the change? Will there be any risk involved in doing so? Is there any other prereqisite to be followed?
    - Nilesh

    Dear Atif,
    Thanks A lot for explanation.
    Though fundamentaly it is right what you are saying, Our Client is using Balance Sheet Account 22840020 since many years as "Revenue from Asset Sale Clearing Account". Now they want to replace this GL Code with 22840022 (Balance Sheet Account). With previous GL Code there were no problems. And message given by system is relevant to what you are saying, but it is not an error message.
    What I understand is, they are sufficing their requirement with Balance sheet account. So after replacing GL Code with B/S account there should not be any problem.
    They do the retirement without customer and sale is not on credit basis also.
    Please suggest for more clarity.
    Thanks in Advance.
    - Nilesh

  • What's wrong with my code for comparing date retreived from db and sysdate?

    Hi all,
    I need to retrive date from the DB and compare it to system date.i have posted the code below.i get java.sql.SQL Exception:Io exception:Socket closed.
    What's wrong with the code?please help me.Thanks in advance.
    public boolean date() throws IOException, SQLException {
    Connection con1;
    long millis = System.currentTimeMillis();
    Timestamp timestamp = new java.sql.Timestamp(millis);
    ResultSet rs4 = null;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver");
    con = DriverManager.getConnection(
    "jdbc:oracle:thin:@abc:1605:xyz",
    "cdf", "cdf");
    Statement stmt_exp = con.createStatement();
    rs4 = stmt_exp.executeQuery("SELECT DATE FROM TABLE_NAME")
    while (rs4.next()) {
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    con1.close();
    catch (Exception e)
    e.printStackTrace();
    finally
    //ResultSet rs4 = null;
    //Timestamp timestamp2;
    Timestamp timestamp2 = rs4.getTimestamp("expire_date");
    if (timestamp2.compareTo(timestamp) < 0)  //sysdate < exp date
    return true;
    } else {
    return false;
    }

    Didn't you understand what BalusC said? You're closing the connection and then trying to use the ResultSet. The ResultSet will be closed when you close the connection so you can't use it anymore.
    You should close the connection last thing in your code, probably in a finally. And after you close your ResultSet and Statement.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

Maybe you are looking for

  • Split Payment Advice in FEBA

    In FEBA, there is functionlity of FEBA. We are planning to use this. We tried in our test system, by clicking the split payment advice, nothing appears but the payment advice locked. Can you please help how to use this Split Payment advice functional

  • Domain - Need Help Finding It!

    I was getting error messages and thought that I might have to install a new copy of iWeb. So, I removed my site from Application Support>iWeb and placed it on my desktop. Later, I put it back in there, but now it isn't there. There is just an empty s

  • Loaded resaved iDVD6 proj from orig iDVD5 causes hang.

    Up front - I've already applied the recent updates to the iLife suite. In another thread I got worked out how to get iDVD to open and actually import an iDVD5 project. However, now when I save this project and try to reopen it, iDVD6 hangs. If I kill

  • Bridge out of memory

    I upgraded to PSCS4 about five weeks ago, and finally got around to working with the ACR 5.6 adjustment brush and gradient tool. I immediately began to get 'bridge out of memory' warnings on any folder where I had used these tools on my .dng files. I

  • Clean core instalation

    Hello, I need to use only the oracle 11g XE core, without apex and examples. Anyone know how to install a clean oracle 11g XE? Thanks in advice.