Printing Help.

TechJunkyTechJunky Member Posts: 881
I am trying to automate a crystal report printing process through a batch file.

I am able to get all the way up until it asks to print and then it just hangs.

I tried the following code

OK.Click
btnOK.Click

Anyone have any idea what code I should be using to hit the OK button on the print window?

The best way to describe the Automation....

Open MSWord, Hit Print, There is an OK button and a Cancel button.

I am trying to automate the OK button pressing using your mouse via a batch file.

Any ideas?

Comments

Sign In or Register to comment.