A step that is based on this step template copies a Ricoh ProcessDirector print file from the spool directory for the job to a different directory location. Replace the /aiwdir directory in the external command for the step template with an existing directory before using the step template as a step in a workflow.

Job property defaults

  • External command: cp ${getAbsoluteFileName(print,unknown,read)} C:\aiwdir
  • External program language: Not set
  • External program code page: Not set
  • Valid return codes: 0

Usage notes

  • The default command assumes that the file being copied is in an unknown format. To copy a file in PDF format, use the command: copy ${getAbsoluteFileName(print, pdf, read)} C:\directory\${Job.InputFile}, where directory is the directory that you want to copy the file into.
  • The default command assumes that the operating system is AIX or Linux. On Windows, use the copy command instead of the cp command.
  • The External program language property sets the value of the LANG environment variable that the external program can use. The external program must be set up to use this value for it to take effect.
  • This step writes the first 50 lines of standard output (stdout) from your external program to the job log.
  • If stdout is a large data file, use a batch file that calls the external program as the value of the External command property. Write the batch file so that it redirects stdout from the command to a file.