Trap PrintOut Action was Canceled

G

Guest

Hi, experts,

I have a three parts question that I want to achieve programatically in
access 97 VBA.
How to fire a Cancel action on a DoCmd.PrintOut? That is equivelant of
clicking the Cancel button on the Print dialog box.
How to trap "The Print Out Action was canceled" ?
How to bypass/suppress the OK button on above message box?

I have a batch printing proccess running un-attended on the server room.
Some times, a print command runs into long splooling mode. I want to kill
that job, log the result and move on to next record without human
intervention.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top