[EMAIL PROTECTED] (Dave Murray) wrote in message news:<[EMAIL PROTECTED]>... > > There is a way to test the control to see if it is ready to print but > I can't remember the code and don't have it with me at work. I'll post > a follow-up from home that shows how to implement a loop that waits > for the printer to be ready before printing. > > Hope this helps. > > Thanks, > Dave.
Please do let me know how to implement that loop - I tried something similar but I couldn't get it to work (to ever exit the loop successfully) The code was something like this (this is from memory so it prob has some errors) while MozCtrl.QueryStatusWB(OLECMDID_PRINT) And OLECMDF_ENABLED <> True DoEvent Wend MozCtrl.ExecWB OLECMDID_PRINT, .... The conditional always evaluated to true and therefore the ExecWB line would never be executed. I have worked around this by 1) using the Internet Explorer control (which originally wouldn't print satisfactorily) 2) placing the ExecWB command in the NavigateComplete event. Thanks for your response. - John
