Xerox Document Workstation with PlotWorks Support & Software User Guide

Page of 700
D-40 • PlotWorks User Guide
Advanced Features
PFS files can include a variety of special keywords and values for customizing 
your jobs and performing advanced functions. The following sections explain how 
to insert dynamic data into PFS files, automatically open and write to text files, 
and add comments that can be parsed out for later use.
Special Fields
You can insert special fields within your values to signal that data should be 
substituted before output. These fields are particularly useful in 
WriteLog=
 or 
WriteFile=
 statements.
For example, a line containing the following... 
WriteLog=ACME Repro: [DATE] at [TIME]
... might show up in the log file as... 
ACME Repro: 10/30/97 at 10:53
The following are acceptable as special fields:
[DATE]
 translates to the current date as it is formatted in Windows Control 
Panel: Regional Settings on the PlotWorks server. In the U.S., MM/DD/YY is the 
default form. However, in Europe the format is DD/MM/YY. The date format can 
be changed by adding an optional string after the word DATE, separated by a 
colon (:). The following substitutions are valid:
YY=
 Year (e.g., 
97
)
YYYY=
 Year (e.g., 
1997
)
If you want to ensure that your PFS files are “year 2000 compliant,” use the four-
digit year format: YYYY.
MM
= Numeric Month (e.g., 
02
)
MMM =
 Month, 3-letter abbreviation (e.g., 
Feb
)
DD=
 Day (e.g., 
24
)
WWW=
 Weekday, 3-letter abbreviation (e.g., 
Sat
)
For example, [
DATE: WWW: DD-MMM-YYYY
] would become: 
Sat: 30-Oct-1997
[TIME]
 translates to the current time in hours:minutes form. All time settings 
are based on local time as specified in the Windows Control Panel: Regional 
Settings on the PlotWorks server.
[FF]
 translates to the “Form Feed” ASCII character (WriteLog and WriteFile 
fields only).