Adobe PDF的虚拟打印功能确实很有用,比如在保存网页的时候可以直接虚拟打印成PDF文档。我的虚拟打印功能一直正常,可最近出现了点小问题,打印失败,日志记录如下:
%%[ Error: undefined; OffendingCommand: setdistillerparams; ErrorInfo: CalCMYKProfile U.S. Web Coated (SWOP) v2 ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
访问色彩配置文件时发生错误:U.S. Web Coated (SWOP) v2
%%[ Warning: PostScript error. No PDF file produced. ] %%
在Adobe的Knowledge Base上找到解决办法,简而言之,就是安装缺失的色彩配置文件。如果你不想看下面的大段英文,则直接下载我提供的安装包,解压缩后找到 USWebCoatedSWOP.icc,在其上点右键,安装配置文件 即可。注意,我在没有关闭IE的情况下,安装了配置文件直接打印网页,死机了。不知道是否巧合。重启电脑后打印PDF功能恢复。
Error "...OffendingCommand: setdistillerparams..." or "Adobe PDF printer failed to create..." when you create a PDF file (Acrobat or Acrobat 3D)
Issue
When you try to create a PDF file with Adobe Acrobat Distiller, you receive a PostScript error log such as:
%%[ Error: undefined; OffendingCommand: setdistillerparams; ErrorInfo: CalCMYKProfile U.S. Web Coated (SWOP) v2 ]%%
%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
Error accessing color profile: U.S. Web Coated (SWOP) v2
%%[ Warning: PostScript error. No PDF file produced. ] %%
Distill Time: 0 seconds (00:00:00)
**** End of Job ****
When you use PDFMaker in a Microsoft Office application, PDFMaker may return the error message "ERROR" followed by the message "Adobe PDF printer failed to create the PDF file."
Solutions
Do one or more of the following solutions:
Solution 1: Reinstall the USWebCoatedSWOP.icc profile.
To download and extract profiles:
1. Download replacement ICC profiles from the adobe website at www.adobe.com/support/downloads/product.jsp?product=62&platform=Windows
2. Extract the ZIP file.
Note: Windows 2000 users can use a utility such as WinZip or WinRAR to extract the ZIP file by right-clicking the downloaded ZIP file and selecting the Extract option. Windows XP users can right click the ZIP file and select the Extract All Files option.
To install a missing or corrupt profile:
1. Navigate to the USWebCoatedSWOP.icc profile. (The AdobeICCProfiles_0805.zip archive contains two directories: CMYK Profiles and RGB Profiles. USWebCoatedSWOP.icc is in the CMYK folder.)
2. Right-click the profile and choose Install Profile.
Note: Proceed to Solution 2 if Uninstall Profile is present.
Solution 2: Remove corrupted profiles and manually reinstall the profiles.
Before you remove corrupted files, download and extract replacement profiles:
1. Download replacement ICC profiles from the adobe website at www.adobe.com/support/downloads/product.jsp?product=62&platform=Windows
2. Extract the ZIP file.
Note: Windows 2000 users can use a utility such as WinZip or WinRAR to extract the ZIP file by right-clicking the downloaded ZIP file and selecting the Extract option. Windows XP users can right click the ZIP file and select the Extract All Files option.
To remove corrupted profiles and reinstall them:
1. Navigate to the USWebCoatedSWOP.icc profile. (The AdobeICCProfiles_0805.zip archive contains two directories: CMYK Profiles and RGB Profiles. USWebCoatedSWOP.icc is in the CMYK folder.)
2. Right-click USWebCoatedSWOP.icc and choose Copy.
3. Select Start > Run, type %programfiles%\Common Files\Adobe\Color\Profiles\Recommended in the Open box, and click OK.
4. Delete any listings for USWebCoatedSWOP.icc.
5. Select Edit > Paste.
6. Select Start > Run, type %windir%\system32\spool\drivers\color in the Open box, and click OK.
7. Delete any listings for USWebCoatedSWOP.icc.
8. Select Edit > Paste.
Solution 3: Remove corrupted profiles from the joboption feature.
Note: This solution eliminates the error message but does not address the source of the issue. Disabling the joboption feature may alter the appearance of colors on screen or during the print process.
1. Choose Start > Programs > Acrobat Distiller to start Distiller.
2. In Distiller, select Settings > Edit Adobe PDF Settings.
3. Click the Color tab.
4. Change the Color Management Policies setting to Leave Color Unchanged.
5. Click Save As.
6. Name the modified joboption, click Save, and then click OK.
7. Repeat steps 2-6 for any additional joboptions that are used to convert files to PDF.
8. Select File > Exit.
Background information
This error is caused by corrupted ICC profiles. Acrobat generates the error when it is unable to access or load the profiles.