Xerox Document Workstation with PlotWorks Support & Software User Guide

Page of 700
PlotWorks User Guide • PFS Files • D-41
[CR][LF]
 translates to the “Carriage Return” ASCII character.
[ESC]
 translates to the “Escape” ASCII character.
The following fields can only be used in the [FILE] section (Mode 3 only):
[PFSFILE]
 translates to the path and filename of the directory-level PFS file.
[FILENAME]
 translates to the last image filename processed by PFS on a 
 
Filename= statement.
[FILESIZE]
 translates to the size, in bytes, of the 
[FILENAME]
 file. 
Open and Write to a File
The WriteFile option lets you create up to four text files for each print job. The 
files can contain any text you wish to include, as well as any of the special fields 
described on page D- 40. The WriteFile appears as soon as a job has been 
submitted from Network Polling to the Job Queue. Therefore, it could be used to 
signal a networked CAD user that the job has been submitted for printing. The 
WriteFile option uses three keywords:
OpenFile=I.D.
 
number, filename, mode
Where...
I.D. number is the number of the file being opened. It can be 
1
2
3
, or 
4
You can open up to four files at once.
Filename represents the name of the text file. If this file does not exist, 
PlotWorks creates it.
Mode is used when the specified text file already exists. The mode can be 
New (to overwrite the existing file) or Append (to append the text to the end 
of the existing file). 
All OpenFile commands must be entered in the [JOB] section of your PFS file.
WriteFile=I.D. 
number
 (same as in OpenFile), 
text
 (the text that you want to 
log.)
You can enter this field in the JOB section, or in one or more of the [FILE] 
sections. You can also include special fields within the text. (See “Special Fields” 
on page D-26.)
CloseFile=I.D. 
number
 (same as in OpenFile).