Is there a way to trap printed error or print status from printing window? I have an app. printing report the a remote printer in different room. I need it to be able to notify me if it runs out of paper or it gets paper-jammed.
Thank you for responding. I know it's been a while back. I just now have a chance to play with it. I can't seem to get it to work for me. I stepped through the code and found that
?GetLastError()
I would get 87[/color red] instead of 122[/color red] (ERROR_INSUFFICIENT_BUFFER).
Eventhough I commented out the IF condition, ln_Return would get 0[/color red] value. Any idea?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.