CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Electronic Signature Pads

    Has anyone here ever used an electronic signature capture pad made by Topaz Systems Inc. They have some examples fo using the pad with VB, but I cannot figure out how to print the signature image to a printer using VB code. Any ideas?

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Electronic Signature Pads

    Why would you want to do that?
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    1,901

    Re: Electronic Signature Pads

    Presumably you want to print signatures on letters - perhaps generated using Microsoft Word.

    Yours Faithfully
    George


    If the Signature was captured to some kind if Image file eg, .JPG, .TIF, .BMP etc, then all you need do is drop it into an image box within the Word document, and it should print (Just create a different template for different authors / signatories) - In this case its just an image in a Word Document

    If you want to do something completely different then best you explain a little more detail

  4. #4
    Join Date
    Jan 2000
    Location
    Saskatchewan, Canada
    Posts
    595

    Re: Electronic Signature Pads

    The pad comes with an .ocx to be used. It has what looks like a picture box where what is captured from the pad is displayed in this picture box. This image can then be saved to a .bmp or a .sig file or saved to a database field. In a POS setting, the customer would sign the invoice or packing slip and the signature should appear on the printed document that is mailed back to the customer's head office. I was hoping not to need to save to a .bmp and reload it to a picture box to get printed.

  5. #5
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Electronic Signature Pads

    You should be able to print the contents of the picture box. Seems like I have some code somewhere that I wrote to do that. I'll see if I can locate it here in a few.

  6. #6
    Join Date
    Jul 2008
    Location
    WV
    Posts
    5,362

    Re: Electronic Signature Pads

    Here we go

    Code:
    Printer.PaintPicture Reports.Db2ocx1.Picture, 2, 5, 48, 10
    the numbers here indicate the location to print x,y and the size of the image for more info look at the printer object in your online help under methods paintpicture

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured