The problem that you encounter could be generated by a missing or corrupted DLL file. To fix it, it isn't advised to download the missing file directly from the Internet. By doing this, you could damage your computer. Try to update your printer's driver to the latest version available. If you have installed the latest version, download and install it again. Also, follow the same process for the printing utility that you are using. This should fix your problem and the error shouldn't appear anymore.