C
catchanu
Hi,
I am using vb scripts in vb.net application to print html files that
are generated on fly and needs to print.
I have the code like this:
BrowserObject.Navigate2()
If (BrowserObject.QueryStatusWB(SHDocVw.OLECMDID.OLECMDID_PRINT) =
SHDocVw.OLECMDF.OLECMDF_SUPPORTED + SHDocVw.OLECMDF.OLECMDF_ENABLED)
Then
BrowserObject.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER)
Endif
most of the times it is successful, but once in 100 times it is
failing, it is not printing at all but event log shows print activity?
This is running in win2003 on ISM (IIS) server.
Really appreciate help
thanks a lot.
I am using vb scripts in vb.net application to print html files that
are generated on fly and needs to print.
I have the code like this:
BrowserObject.Navigate2()
If (BrowserObject.QueryStatusWB(SHDocVw.OLECMDID.OLECMDID_PRINT) =
SHDocVw.OLECMDF.OLECMDF_SUPPORTED + SHDocVw.OLECMDF.OLECMDF_ENABLED)
Then
BrowserObject.ExecWB(SHDocVw.OLECMDID.OLECMDID_PRINT,
SHDocVw.OLECMDEXECOPT.OLECMDEXECOPT_DONTPROMPTUSER)
Endif
most of the times it is successful, but once in 100 times it is
failing, it is not printing at all but event log shows print activity?
This is running in win2003 on ISM (IIS) server.
Really appreciate help
thanks a lot.