Xerox 220e 参考指南

下载
页码 178
Modifying Printer Operation
8
Printing Reference
8-11
Adding Control-D characters to PC Þles
These Þles are included for users who want to write their own 
PostScript Þles. 
Note
If your computer is connected to the printer through a parallel or 
serial port, you need to have Control-D characters in your utility 
Þles or in the Þles you create.  However, if your computer is 
connected to a network such as NetWare or TCP/IP, you should 
not add Control-D characters to a utility Þle.  
The non-text Control-D character is required at the end of PostScript Þles 
sent to the printerÕs serial or parallel port; it signals Òend-of-job.Ó  A 
Control-D should precede and follow most PostScript data Þles.  
ADDCTRLD.BAT and CTRLD.PS help you add two Control-D characters 
to your Þles.    
The ADDCTRLD.BAT and CTRLD.PS Þles are located in the PHSR220 
directory on the Printer Utilities diskette.
ADDCTRLD.BAT
ADDCTRLD.BAT is a batch Þle that adds a Control-D to the beginning and 
the end of a Þle.  Use this Þle if you are creating your own PostScript Þles.   
To use ADDCTRLD.BAT, copy ADDCTRL.BAT and CTRLD.PS to your 
directory. Type the following command:
ADDCTRLD
 Þlename
where Þlename is the name of the Þle to which you want to add Control-Ds.  
CTRLD.PS
CTRLD.PS contains some PostScript comments plus the Control-D character.  
Copy CTRLD.PS to the beginning and/or end of your PostScript Þles before 
you send them to the printer.  (PostScript utility Þles on the Printer Utilities 
diskette already have Control-D characters at the beginning and end.)  You 
can send CTRLD.PS to the printer by itself to make sure that the printer is in 
the Òend of jobÓ condition.