how to avoid msg "Printer not activated error code - 30

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
Posts: 39
Joined: Fri Jan 09 2004
Location: Bombay ( INDIA)

how to avoid msg "Printer not activated error code - 30

Post by kamleshvgujarathi »

Hello :D ,

If we exit from the middle of the enable pre event then it gives the messages that "Printer not activated error code -30"

how to avoid this message ?

Waiting for your reply.


Kamlesh Gujarathi
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002

Post by Joan »


When catching the EnablePre event you shouldn't run any code but enabling the printer by calling EnablePrinter.

You code needs to be in the StartDoc Event. If you wish to exit you can exit from the StartDoc or StartDocPre Event.

hope this helps.
Post Reply