HI Bob,
I do capture the image of my form, but the quality is very poor.
I am doing the same other way, by looping trough the controls of my form and
painting them directly to the printer, ... works fine, but forms are to
complex, so I would have to write different printing procedure for each
form.
I noticed that when I use Alt + PrintScr on my form, then paste it on a word
document, the image has just perfect quality and the printout, too. So I am
wondering how can I do Alt+PrintScr programatically on an active form and
then paste the image in a word document and send that document to the
printer.
Any help will be gratefully appreciated,
Dino
--
-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Capture an image of the form as outlined in the GDI+ FAQ then use the
Print system to send this bitmap to the printer.
--
Bob Powell [MVP]
C#, System.Drawing
The October edition of Well Formed is now available.
Find out how to use DirectX in a Windows Forms control
http://www.bobpowell.net/currentissue.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
Read my Blog at http://bobpowelldotnet.blogspot.com
"Dino M. Buljubasic" <di*************@rivusglobal.com> wrote in message
news:HNvpb.114846$EO3.73241@clgrps13... I'd like to be able to print my form or some controls on it. I have
found lots of references for this but they all talk about printing a text
document from a form.
Any help will be appreciated
Dino
--
------------------------------------------------------------------------- FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com