Printing Ink Control Contents on Tablet PC

I’m trying to use the native InkPicture Control in WinXP Tablet to capture a signature in a Notes application. It works perfectly except for the very irritating problem of not printing the contents.

The writing in a Windows Journal app prints fine, which leads me to believe that when Notes prints the document, it doesn’t know how to print the contents of the control.

I haven’t worked too much with embedding controls into a form, so I’m sort of lost. Can anyone give me some information on whether this is feasible or not?

Thanks,

John

Subject: Printing Ink Control Contents on Tablet PC

I’m having the same problem here. Did you solve the problem?

I’ve seen sample code for VB to print the content. It uses the renderer object to write the ink to printer’s graphic object. But I have no idea on how to perform similar actions in Lotus Notes. Isn’t there such a low level interface for printing?

Ref: http://www.gotdotnet.com/Community/MessageBoard/Thread.aspx?id=173655

Subject: RE: Printing Ink Control Contents on Tablet PC

I’ve had similar problems printing ActiveX controls. have you made any progress here since your last post…

Subject: RE: Printing Ink Control Contents on Tablet PC

I’m out at a client right now, and hope that I remember to check this when I get home. I did find an answer, actually a pretty simple and elegant answer.

Basically, I created a second form that opens to capture the signature. The QuerySave event of that form copies the inkcontrol to the clipboard as a BMP. When control comes back to the originating document, the cursor is placed into the appropriate RTField and the BMP is pasted into the field. I then use GeniiSoft’s MidasLSX to reduce the size of the BMP (THANKS BEN!)

It works like a champ, and prints wonderfully.

Subject: Printing Ink Control Contents on Tablet PC

Hi John,I am trying to do the samething, can you help me how to control the bitmap size and how to copy the signature and paste into the real document? Thank you for your help.

Subject: Printing Ink Control Contents on Tablet PC

Would you be kind enough to post parts of your code ?

I’m having other problems with this InkPicture Control. I’m not able to create a proper box. It’s always a square and I’m kind of tired trying to solve this.

Thanks

Stephane