For each solution that I've used below, sometimes I'll get errors. I'll use the same text file - sometimes it prints, sometimes it returns an error.

The most recent code worked fine yesterday.

Today (using the same file) I'm getting "Run-time error '482': Printer error" - for the line: Printer.Print strTemp

What's causing this error? Why is there sometimes an error and sometimes not?