-
Printing Help!
I have a multi line text box that acts as a receipt for a booking, and I would like to be able to print this. I have tried all manner of things, but haven't managed anything. I have no code to work from, as everything I have tried has failed :( any help would be appreciated, thanks!
NB. Using the PowerPacks on VB is the better option, but I haven't got there with it yet :(
-
Re: Printing Help!
Post what you have tried so far....
PowerPacks is simple way of printing an image of a form
http://msdn.microsoft.com/en-us/libr...v=vs.110).aspx
-
Re: Printing Help!
I havent got anything left that is the thing... Thats why I need the help :(
-
Re: Printing Help!
Then re start what you did.
There are numerous examples for what you want to do, just google
here is one that should get you going
http://vbcity.com/forums/t/157103.aspx
-
Re: Printing Help!
to print directly from vb, you need to add a PrintDocument control to your form and call its print method. In the print method handler (double on the printDocument control on the form to open it) you will use gdi techniques to draw what you what to the printer.
kevin
-
Re: Printing Help!
Make yourself a copy of the RichTextBoxPrintCtrl and your printing worries are over. It's what all the cool kids do! :cool: