Problem

When trying to run the FTPRUNPC command with the MERGELETTERPRINT directive to automatically print the document after the merge completes, the following error displays in the job log:
 
                  Additional Message Information                         
                                                                         
Message ID . . . . . . :   CPF9898       Severity . . . . . . . :    40         
Message type . . . . . :   Escape                                              
Date sent  . . . . . . :   06/25/02      Time sent  . . . . . . :    16:18:05   
                                                                         
FTP Command Error: 500 MS Word OLE error: 5151 The document name or path   is not valid..                                                           
 
Cause . . . . . :   This message is used by application programs as a general escape message.                                                              
                                                                         
 
The Word "File/Save As" dialog is also displayed in Word after this error occurs. 

Solution

Make sure the correct template file name and mail merge data file names are being passed to the FTPRUNPC command. These parameters must contain a valid PC file name for the template and the mail merge data file.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016