473,387 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

AxWebBrowser printing and selecting print to print too w/o prompti

Hello All,

I'm having an issue with printing from AxWebBrowser.ExecWB.. The printing
works just fine other then is always print from the default printer.. I'm
sure there is a way to accomplish this, but I have no idea how too... I did
reading something about IOleCommandTarget, but I can't seem to find it and
VS.NET doesn't have much about it in the MSDN...

In short is anyone has a solution or can point me in the right direction it
would be greatly accepted...

Thanks in advance..
Nov 21 '05 #1
2 2346
I need to correct a few things in my first post... Sorry for the poor
grammer.. I wasn't awake yet when I wrote this..

What I'm trying to accomplish is; find away to select or define which
printer I want to print too before I use the print command in the ExecWB
method.. Like I stated earlier if I just execute the print function, it
print from my default printer..

Thanks again

"Robert Kellogg" wrote:
Hello All,

I'm having an issue with printing from AxWebBrowser.ExecWB.. The printing
works just fine other then is always print from the default printer.. I'm
sure there is a way to accomplish this, but I have no idea how too... I did
reading something about IOleCommandTarget, but I can't seem to find it and
VS.NET doesn't have much about it in the MSDN...

In short is anyone has a solution or can point me in the right direction it
would be greatly accepted...

Thanks in advance..

Nov 21 '05 #2
I need to correct a few things in my first post... Sorry for the poor
grammer.. I wasn't awake yet when I wrote this..

What I'm trying to accomplish is; find away to select or define which
printer I want to print too before I use the print command in the ExecWB
method.. Like I stated earlier if I just execute the print function, it
print from my default printer..

Thanks again

"Robert Kellogg" wrote:
Hello All,

I'm having an issue with printing from AxWebBrowser.ExecWB.. The printing
works just fine other then is always print from the default printer.. I'm
sure there is a way to accomplish this, but I have no idea how too... I did
reading something about IOleCommandTarget, but I can't seem to find it and
VS.NET doesn't have much about it in the MSDN...

In short is anyone has a solution or can point me in the right direction it
would be greatly accepted...

Thanks in advance..

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: AH | last post by:
Hi, I am trying to print a document from an instance of IE and then destroy the instance after the printing has completed. I use the following code to navigate to the page. object o = null;...
0
by: David Thielen | last post by:
Hi; I have a form window that places an AxWebBrowser control in it and I can display html fine. However, I am now trying to print (and save and e-mail) the page. The following should, I believe,...
0
by: Ljudva | last post by:
I'm using a AxWebBrowser component and a button to print the contents wihout a printer dialog. The problem is when a web page has a script window.print() the print dialog appears. Is there a way...
0
by: Marcin | last post by:
Hello! I've got problem with printing documents using AxWebBrowser in C#. In my code is: _content.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT, SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DODEFAULT, ref...
0
by: Robert Kellogg | last post by:
Hello All, I'm having an issue with printing from AxWebBrowser.ExecWB.. The printing works just fine other then is always print from the default printer.. I'm sure there is a way to accomplish...
6
by: Dave Booker | last post by:
It appears that I cannot correctly install the AxWebBrowser in VS2005. I can instantiate an "AxWebBrowser browser" and refer to its members, properties, and methods. I'm having trouble with the...
0
by: John Smith | last post by:
Hello, I have 7 different crystal reports that need to be collated. Since I want to end up with a page of each (which all together make a single report), I created a blank main report and then...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
0
it0ny
by: it0ny | last post by:
Hi guys, thanks I am fairly new to this forum so I hope I chose the right place to post this question. I try to make my program printout a deposit's report. I created a class to store the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.