Executing a batch printing, blank file name PDF will be generated uncertainly

Hello,

I have a engine that will execute a batch printing job. When I pass the printer name (PDFCreator) to the engine, it will start print files. It is very strange that one file will be printed with a empty file name uncertainly. For this situation sometimes occurred, sometimes not. So could you please help me on this point? Thanks!