Xerox 4517 用户指南

下载
页码 288
P C L   M a c r o   C o m m a n d s
A p p e n d i x G :   D o c u P r i n t   4 5 1 7   U n i q u e   P r i n t e r   C o m m a n d s   ❖   G-9
Tables G.4 to G.6 provide the macro commands for 
downloading and deleting macros.
Table G.4
4517 Download Macro Command Format
< E S C > < S O H > < S T X > M A C R O L < l o c > , < m a c r o _ i d > , < l e n > , < m a c r o _ d a t a > < E T X >
where
<ESC> is the ascii ESC character, 1B hexadecimal
<SOH> is the ascii SOH character, 01 hexadecimal
<STX> is the ascii STX character, 02 hexadecimal
<loc> is DC for disk, or
C0 for Upper Card, or
C1 for Lower Card
<macro_id> is an ID number between 0 and 32767 (=2**15-1), inclusive. This is the ID by which the
application references the macro.
<len> is the length of the macro data in bytes. Value allowed between 1 and 4294967294 (=2**32-2)
inclusive. The length does not include the <ETX> following the macro data.
<macro_data> is the macro text. This text does not include the start macro definition command
(<ESC>&f0X) or the stop macro definition command (<ESC>&f1X)
<ETX> is the ascii ETX character, 03 hexadecimal
Table G.5
4517 Delete Macro Command Format
< E S C > < S O H > < S T X > M A C R O D < l o c > , < m a c r o _ i d > , < E T X >
where
<ESC> is the ascii ESC character, 1B hexadecimal
<SOH> is the ascii SOH character, 01 hexadecimal
<STX> is the ascii STX character, 02 hexadecimal
<loc> is DC for disk, or
C0 for Upper Card, or
C1 for Lower Card
<macro_id> is an ID number between 0 and 32767 (=2**15-1), inclusive. This is the ID by which the
application references the macro.
<ETX> is the ascii ETX character, 03 hexadecimal
chapterg.frm  Page 9  Friday, July 11, 1997  9:05 PM