Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Topaz Signature Pad in Chrome Web Application

I am trying to incorporate an electronic signature using the Topaz Systems signature pad into my Web Application. Everything appears to work within Internet Explorer, as the signature pad uses Active X to access the pad plugged into the USB port. My Web Application however is relying on Chrome so I am attempting to get this to cooperate within Chrome.

I have tried unsuccessfully to use the Active X for Chrome plugin Active X for Chrome

The plugin itself appears to be working and there is output to the Console however I am unable to sign the box.
I am currently just trying to work with the simple demos found at Topaz Site Demos

Any help or direction as to how I can accomplish this would be greatly appreciated!

like image 258
Brian Avatar asked Jan 17 '23 23:01

Brian


2 Answers

Topaz released a plugin that will work for Firefox, Chrome, Safari, Opera, and Internet Explorer browsers. I tested it in chrome and it works.

The following is a link to the article: http://www.topazsystems.com/news/SigPlusWeb.htm

like image 150
Alex T Avatar answered Jan 28 '23 06:01

Alex T


As of now, the only way to get a Topaz signature pad working in chrome is to create an applet. Here is an example:

import java.applet.Applet;
import java.awt.GridLayout;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.beans.Beans;

import javax.comm.CommDriver;

import com.topaz.sigplus.SigPlus;
import com.topaz.sigplus.SigPlusEvent0;
import com.topaz.sigplus.SigPlusListener;


public class SigPlusAppletDemo extends Applet {

    public void init() {
        // TODO Auto-generated method stub
        super.init();
        SigPlusAppletDemo demo = new SigPlusAppletDemo();
    }



    public void start() {
        // TODO Auto-generated method stub
        super.start();

    }



    /**
     * 
     */
    SigPlus              sigObj = null;



    public SigPlusAppletDemo()
    {


    try
        {
        ClassLoader cl = (com.topaz.sigplus.SigPlus.class).getClassLoader();
        sigObj = (SigPlus)Beans.instantiate( cl, "com.topaz.sigplus.SigPlus" );

        setLayout( new GridLayout( 1, 1 ) );
        add( sigObj );


        sigObj.addSigPlusListener( new SigPlusListener()
            {
            public void handleTabletTimerEvent( SigPlusEvent0 evt )
                {
                }

            public void handleNewTabletData( SigPlusEvent0 evt )
                {
                }

            public void handleKeyPadData( SigPlusEvent0 evt )
                {
                }
            } );


        setSize( 500, 100 );
        show();

        sigObj.setTabletModel( "SignatureGemLCD1X5" );
        sigObj.setTabletComPort( "HID1" );


        sigObj.setTabletState( 1 );
        }
    catch ( Exception e )
        {
        return;
        }
    }   

}
like image 28
ask21900 Avatar answered Jan 28 '23 06:01

ask21900