kanthiperera
asked on
Print a VB form not using Print form method
Hi,
I need to print a VB form. First, I used Printform method. But it only prints with default printer settings. I need to change Orientation(Portrait/Lands cape), Number of copies and Default Printer as I want. I used Print Dialog control but I don't know how to send these info to the printer. How do I code these in my application after the show Printer statement.
Does anyone have the code for printing the form changing these settings? Any help would be greately appreciated.
I need to print a VB form. First, I used Printform method. But it only prints with default printer settings. I need to change Orientation(Portrait/Lands
Does anyone have the code for printing the form changing these settings? Any help would be greately appreciated.
Have a look here:
http://www.qbdsoftware.co.uk/moth/qprinter/index.htm
There is a good control to print a form, with all the options...
Hope this helps.
http://www.qbdsoftware.co.uk/moth/qprinter/index.htm
There is a good control to print a form, with all the options...
Hope this helps.
ASKER
Hi Marconovaro,
Thanks for the response. It gives me little help. But my form has an Image and texts. Also I'm a beginner. So some contexts are complicated for me. So I think only way I can do is make a reference to the Qprinter. If you can help me to go further I appreciate it. Thanks.
Thanks for the response. It gives me little help. But my form has an Image and texts. Also I'm a beginner. So some contexts are complicated for me. So I think only way I can do is make a reference to the Qprinter. If you can help me to go further I appreciate it. Thanks.
ASKER
My thanks go to every one for helping me. I was able to find a solution using those URLs, which two of you have mentioned.
So 75 points to rPai
25 points to Marconovaro
Thanks Guys!!
So 75 points to rPai
25 points to Marconovaro
Thanks Guys!!
ASKER
My thanks go to every one for helping me. I was able to find a solution using those URLs, which two of you have mentioned.
So 75 points to rPai
25 points to Marconovaro
Thanks Guys!!
So 75 points to rPai
25 points to Marconovaro
Thanks Guys!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Please split my points between rpai and Marconovaro.
75 goes to rpai. The URLs provided were very helpful.
Thanks.
75 goes to rpai. The URLs provided were very helpful.
Thanks.
Hi Guys...
I'm trying to print a HTML file using Visual Basic. Whats the easiest and quickest possible way I could go about doing this?
Thanks
I'm trying to print a HTML file using Visual Basic. Whats the easiest and quickest possible way I could go about doing this?
Thanks
See here:- http://members.aol.com/VBOLUG/pobject.htm