What does your command to print look like so far?
Is it executing a macro? If so what is the code for the macro.
Do mean "switch to the Log window" if there are errors or are you attempting not to have anything in the log for the print if there are no errors.
And what type of errors are you concerned with?