Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to use a graphic tablet for signature in Delphi

Posted on 2013-01-18
6
Medium Priority
?
964 Views
Last Modified: 2013-01-28
Hello,

I have a software written in Delphi 2010.

My customer  wants this:

- he goes to his customer and use a graphic tablet as Genius EasyPen i405X (but it can be other graphic tablet as well, he hasn't decided which) and the customer writes down his signature
- he would press a button in my software and my software:
1.needs to import the signature in a folder in jpg format (I don't know how)
2.store it in database (this is not an issue)

So there should be a communication between my software and the  graphic tablet.
The customer doesn't want to save the file himself to a certain place, he wants everything to happen with only one mouse click.

Can you help me?

Thank you
0
Comment
Question by:starhu
  • 3
  • 2
6 Comments
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 38793353
you need a spec on the graphic tablet.
the graphic tablet will probably determine what "dev" environment you need to supply the software in

if it's a windows tablet you won't have a problem

otherwise you'll need a XE3 delphi to be able to develop for Ipad, Android, etc ...
or have the tablet open a website, where the signature is saved to a jpg
the website can just as well save the jpeg to a database
0
 

Author Comment

by:starhu
ID: 38794201
The customer will buy the tablet I will tell him (so he said).

By graphical tablet I don't mean not Iphone or Android but simple tablets which can be connected to a Pc and have a special pen I can draw with like it would be a sheet of paper and the drawing would be directly digitalized on the computer.

The cheapest graphic tablets are http://www.wacom.com/products/pen-tablets/bamboo
and Genius graphical tablets http://geniusnet.com/wSite/ct?xItem=48471&ctNode=174
0
 
LVL 1

Expert Comment

by:gxs
ID: 38800015
You will need to use OpenGL then as far as I know and receive the input from the tablet.

http://delphi.about.com/od/opengl/OpenGL_programming_with_Delphi.htm
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Accepted Solution

by:
starhu earned 0 total points
ID: 38811987
I solved the problem in a much easier way:

-I created a form on which can be drawn with the mouse (on the canvas)

-So when to user draws on the tablet it will draw direcly on my form too

-Whe he presses a button I save the canvas of the form in jpeg
0
 
LVL 38

Expert Comment

by:Geert Gruwez
ID: 38817740
remember that will only work if you have a windows graphic tablet
or compile it with firemonkey (XE3) for other platforms
0
 

Author Closing Comment

by:starhu
ID: 38826194
this was the fastest and easiest solution
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question