what is the 2 second cap between def from reg and the empty printout line?
removed irrelevant lines?

very nice logging indeed...

one more thing to check, is the spooler service running?
the only reason I could figure out for error 3012, would be stopped/non-responsive spooler subsystem.
_________________________
!

download KiXnet