Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto-saving a PDF to a network location

Status
Not open for further replies.

rpack78

Programmer
Oct 1, 2004
35
0
0
US
I have been working on a way to capture a signature on a PDF using a Topaz signature pad and automatically saving the PDF to a network location when a submit button is clicked. The PDF is opening in a browser so clicking "Save" brings up a dialog box to ask where I want to save it and under what name.

Is there a way to do this? I don't want the user to be prompted at all.

Thanks in advance for any help you can offer.
 
I'll take a shot here and give you a few simply steps that you could try.

1 --> Use Perl GD Module to save the signature as in image
2 --> Use PDF::API2 to generate a pdf document.

$pdf->saveas ( "/var/ );
$pdf->end();

Clearly there is a lot of code missing here ... you are welcome to contact me directly to fill in the blanks if you require additional help.
 
Thanks, I'll look at those modules and give it a shot. I really appreciate it.
 
Ok, so I think I got the PDF::API2 part down. I'll need to create a new PDF using the posted data and place the signature image in, then use the saveas method.

But I'm not finding any way to use GD to create the signature image. Can it take a "screen shot" of sorts and create the image that way?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top