Check the permissions in Regedit, I think that is the fix for error code -40 and -31... so maybe it is related?
Here is what I have:
UPDATED READ NOT FROM SAGE ON WHY THERE ARE TWO PDF DRIVERS: Heads up on dealing with this. When PU4 is installed, it creates another version of the PDF Converter, but the old version doesn't get deleted. So when you right click to go to Printer Properties on the Sage PDF Converter, 2 show up on the list. To delete the old one, you need to make sure they have separate ports. After changing the port, refresh and you should see each one individually. Delete the one called Sage PDF Converter and keep and change the one called Sage 100 PDF Converter. We still need to modify port and security settings as we have in the past.
UPDATE FROM SAGE ON WHY THERE ARE TWO PDF DRIVERS:
The new Sage 100 PDF Converter was created for use going forward. It will not function with previous versions so to maintain backward compatibility the Sage PDF converter is not removed. In Windows printers utilizing the same port appear together as one. As you noted you can right mouse click and modify check properties.
If you remove The ""Sage PDF converter"", paperless office will no longer function for any version prior to 2013 PU4.
This message occurs when running the Sage 100 ERP Launcher on a Server OS, and printing to PDF via Paperless Office. This Configuration can be utilized for testing, but using a server operating system as a Sage 100 ERP workstation is not supported. Please refer to the Sage 100 ERP Supported Platform Compatibility Matrices. Users running in a supported configuration should not encounter this error. If you are encountering this issue, please contact support for assistance. We are working with Amyuni to restore the ability for users to run the Launcher on a Server OS for testing. There is a current workaround, users can RDP to the Server, and from the Launcher, print to PDF via Paperless Office without error.
This issue occurs on Server 2012 only with the following versions:
5.0.0.8
5.10.0.4