- Hewlett-Packard Printer User Manual
USER GUIDE FOR HP 6 COLOR PLUGIN
AG50324 Rev. 7 23
Running post-job command "C:\test\logfile.bat out00002.hpf 112442" in directory
C:\SWNT\SW\Output
The above example refers to a batch file (logfile.bat) which uses a program to send an e-mail confirming
that a job has been processed. The e-mail contains the job name (
out00002.hpf) and the time it was pro-
cessed (approximately 11:24). These details were provided by using the substitution codes
%f and %t in the post
processing text box. The working directory is the output file folder specified in the File Output: Change... text
box. If no output file folder is specified then the working directory is the ‘
..\SW\’ directory, which is one level
below the directory containing the RIP executable.
For a more thorough test of how commands behave when used at the command prompt of the operating system,
try creating a batch (
.BAT) file with these contents and using the name of the batch file as the application in your
command string.
echo %1 %2 %3 %4 %5 %6 %7 %9
pause
Note: If you have problems with a command, test it outside the RIP by opening a command window and running
the command manually. If you think that you have used any substitution code from which the RIP might gener-
ate an element containing characters with a special meaning to your operating system, try surrounding that code
with double quotes. For example, use
"%f" in the post processing text box rather than just %f.
If there are no special characters involved, look at the number of substitution codes that you are using and the
length of the command string both before and after expansion of the substitution codes. The limit on the length
of the expanded command string varies with the Microsoft Windows environment but you should have no prob-
lems with up to 125 characters in the string after expansion.
10.3 Command line monitoring
The RIP uses the monitor window to report the post processing commands that have been run. Typical output
takes the form:
Running post-job command "C:\test\logfile.bat out00002.hpf 112442" in directory
C:\SWNT\SW\Output
where:
C:\test\logfile.bat is a batch file
out00002.hpf is data used by the batch file. See %f in Table 6
112442 is the time (11:24) the job was processed. See %t in Table 6.
C:\SWNT\SW\Output is the working folder specified in Device Configuration, see “Configuring
Harlequin RIP devices” on page 9 for more information. Also see
%o in Table 6.