Re: Printer Not Activated Error Code -30

Tech-Archive recommends: Fix windows errors by optimizing your registry



You're welcome ... Glad you worked it out...

--
Van T. Dinh
MVP (Access)



"JKro" <JKro@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7052EB78-83D8-4055-8B2F-CC85520B639D@xxxxxxxxxxxxxxxx
Van - Thank you so much! You pointed me in the right direction!!!!! I
checked my pdf converter documentation and sure enough I had the code
incorrect (although not sure how it was able to work outside of a loop).
In
any case, I changed the following line of code:

wordDoc.PrintOut ActivePrinter = PrinterName

to:

' Enable the printer before each printout
cdi.EnablePrinter Licensee, LicCode
wordDoc.Application.ActivePrinter = PrinterName
wordDoc.PrintOut Background:=False

Again, thank you for your help. It is much appreciated!

Jackie



.