pdfMachine Troubleshooting

Windows Update MS16-098

In August 2016 Microsoft released a Windows update (MS16-098) - which had a known issue "that it broke the print functionality for multiple print jobs". After the first print (in the same device context) Windows causes the next print to fail.

Problem : pdfMachine Word mail merge failing with error : [dfMachine.cpp:475] Could not access merged PDF file C:\Users\...\FileName.pdf : The system cannot find the file specified. (0x2 / 2)

This failure to print resulted in pdfMachine Word mail merge failing to create all of the documents in a pdfMachine Word Mail Merge. The error reported is

[dfMachine.cpp:475] Could not access merged PDF file C:\Users\...\FileName.pdf : The system cannot find the file specified. (0x2 / 2)

Problem : During a print job of multiple documents that uses pdfMachine parameter parsing, the print job stops after the first print

Solutions

  • pdfMachine version 14.92 and above uses the pdfMachine "office addin" for pdfMachine Word mail merge rather than printing. The error does not occur.
  • Since the release of the problematic Windows udpate, Microsoft released another Windows update to fix their printing bug: KB 3187022. However this only fixed it for certain operating systems which didn't include Windows 10. They then released KB 3186988 which fixes it for some versions of Windows 10. Doing a Windows update may fix it, although you may have to manually install the updates from the Microsoft Catalog as they are not necessarily automatically issued. If you go to the Microsoft web page for the appropriate knowledge base article there should be links for installation.