I'll need to have that be done on the page ....
basically it is a form that is being filled out and a user
will need to "Sign" it. So, it could be stored as a Gif or JPG,
but I have to have a way of saving it from the web interface.
Any ideas? Anyone?
Faithful
Topaz Systems has web based manuals from their site:
http://www.topazsystems.com/software/download/web/index.htm
That is where I would start.
Can someone tell me if this can also be done completely in PHP? Or do I need to use JavaScript to do part of this?
Is it possible to capture the displayed image as a JPEG instead of a long alphanumeric signature, or is there a benefit in using the signature?
If I use the signature, it seems to me that it would be best to display the picture as a JPEG ... is this possible from using the signature that is captured??? Thanks!
Faithful
Seeing as this is a very system specific piece of technology, I think that you might have to set this up the way the manufacturer intended. I would first get it working to specifications, and then start playing around with it seeing what can and can’t be done.
I would dare say that not too may people would be able to help with this simply because we don’t have the signature capture pad. (Speaking for me, somebody else might have it.)
PHP GD (image library) only handles actual physical .jpg .gif or .png files (you can get other libraries that can do more formats, but that's what's included with the free GD2.0).
So I don't know what this {embed} obj will look like coming from that touch-sensitive signature tablet. If that software used for the tablet can create .jpgs from the signature, then PHP can certainly import them and save them in binary format inside of MySQL database tables.
Well, ASP can do it .... apparently it is done by using this script:
</HEAD>
<BODY>
<%
'SigPlus must be installed on the server for this to function!
Dim sigObj
Set sigObj = CreateObject("SIGPLUS.SigPlusCtrl.1")
sigObj.InitSigPlus ''''initialize SigPlus first
sigObj.SigCompressionMode = 1
sigObj.SigString = Request.Form("SigField")
sigObj.ImageFileFormat = 4 ''''4=jpg, 0=bmp, 6=tif
sigObj.ImageXSize = 500 ''''width of resuting image in pixels
sigObj.ImageYSize =165 ''''height of resulting image in pixels
sigObj.ImagePenWidth = 11 ''''thickness of ink in pixels
sigObj.JustifyMode = 5 ''''center and fit signature to size
sigObj.WriteImageFile Server.MapPath ("/sigsample.jpg")
%>
</BODY>
</HTML>
Does that help??
Thanks,
Faithful
Hi All, BobbyMac and I were working on this issue via MSN messenger.
This is how far I am on this. I now am able to tap in to the activeX control sometimes (I think) and it will sometimes write out a JPEG file, but other times I get an error. (very strange). Any help would be much appreciated. This is what BobbyMac and I came up with in converting the ASP to PHP .....
*If you want to compare, you can view the ASP Code in my above post*
?>
</BODY></HTML>
Sometimes I get a rectangular box that gets saved out to the correct path but it is all black. The signature is not viewable as it is solid black.
Other times I get this error:
PHP has encountered an Unhandled Exception Code -1073741676 at 09D0270C
I feel like I am sooooo close! But, I don't know what could be causing this. If anyone has any suggestions, I'd appreciate them!! Thanks so much!
Faithful
Thank you all again for your help.
Look they posted my code !!! Woo hoo!!! Now they have a PHP option!
Whats up! I don't know if it has been answered but I would go about it by making a flash app. You can make a flash app that allows the user to draw their signature... Then you can send the BitmapData in a $_POST request to php that would in return store it as binary data in the database or a JPG externally with a url in the database.
I have the same issue where the applicants will sign the form online and I need to capture the signature. I tried to use the .php file but it didn't work. The forms will be signed at Windows machines and will be processed on a Linux server. Need to know the steps to do this. Thanks.
Hi All,
This is what I'm being asked to do and I am not sure wether there is an ability to
do it.
Basically I need to be able to capture a signature from a "Signature Tablet" and
have that image saved in a MySQL database.
I'm thinking the capturing ... or even displaying that signature image on the web
interface is going to be the tough part. Does anyone have any ideas on this??
I'd very much appreciate it if you could point me in the right direction.
Thanks,
Faithful