Xerox Xerox Printer Access Facility (XPAF) Support & Software 用户指南

下载
页码 97
 
XPAF Forms Generator 
19 
User Guide and Reference 
 
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
  
   
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
 
 
     
 
 
 
     
 
     
 
     
 
     
 
     
 
     
 
     
 
 
FORM command 
You must first specify the FORM command when you describe your form.   
You must also completely contain it in the first record of the form description. 
 
Enter a form name between one and six characters. This is the only required 
parameter in the FORM command. FORM must be the first command of the 
form file and must precede any comments. Once the form is compiled, this 
name identifies the form stored on the printer. 
 
Figure 4–1 shows the FORM command syntax flow. 
 
Figure 4–1. FORM command syntax 
 
 
 
FORM 
name 
; 
300 
RESOLUTION 
IS 
600 
SPI 
 
 
Parameters: Name identifies the name you want to use for the 
form. The form name must be from one to six characters. Name 
is a required parameter, but you can omit the remainder of the 
FORM command. 
 
RESOLUTION: You can specify the resolution (300 or 600 SPI) 
or leave the resolution blank.  IS and SPI are optional.  The 600 
SPI resolution is only valid on the Xerox 4650 LPS. 
 
Default: 300 SPI if you do not specify SPI. There are no defaults 
for the form name. 
 
Examples   
Long form: 
FORM NEWFOR, RESOLUTION IS 300 SPI; Short form: 
FORM NEWFOR; 
PAPER command 
Use the PAPER command to specify the paper size for your form. 
 
If you specified a predefined form using the GRID command, the paper 
size is determined automatically and you do not need to use the PAPER 
command. 
 
If you use the PAPER command to specify a paper size at run time, 
make sure the paper size matches the size specified in the JDE or 
JDL for the variable data. 
 
Before printing your form, verify that the printer contains the correct 
paper size.  Use the printer status key on the printer console.  An error 
message displays  if a paper size mismatch occurs at run time.  The 
job aborts and your form does not print. 
 
Refer to the output statement PAPER SIZE command in the Xerox LPS 
PDL/DJDE Reference manual. 
 
Figure 4–2 shows the command syntax flow.