APPENDIX E.

CUSTOM PROTOCOL COMMAND CODES

DESCRIPTION

This section contains information on creating custom Protocol Command Codes for operating the M-8400RV. The Protocol Command codes are used to tell the printer that a specific type of information is being transmitted to the printer. As an example, the Standard Protocol Command Code specifies the use of an <ESC>character to tell the printer that the following character(s) will represent a specific command. Sometimes the host computer is unable to generate the character or it uses the <ESC> character to control another function. In this case, an Alternate Protocol Command Code set can be selected for use by placing DIP switch 2-7 in the ON position. When the Alternate set is selected, the <ESC> character is not used and is instead replaced with a “carrot” (^) character. A command stream would then start with an “^A” instead of an “<ESC>A”. These two sets of Protocol Command Codes are adequate for the majority of all applications, but occasionally situations occur where conflicts exist when using the Alternate set. In these cases, the user can define

Command Code s t w en DIP switch DS2-7 is in the ON position. When DIP switch DS2-7 is in the OFF position, the Standard Protocol Command Codes are used.

DOWNLOAD COMMAND STRUCTURE

and<ESC>LD,a,b,c,d,e,f,g,h,idownlo a custom set of Protocol Command Codes that are stored in EEPROM memory in the printer. After these are downloaded, they replace the Alternate

The command for downloading a new set of Protocol Command Codes takes the form of.The parameters specified for “a” through “i” can be transmitted in either ASCII characters or hex notation, allowing a complete 128 character (except for the “,”) set to be used for selecting the custom code.

PARAMETER

STANDARD SETTING

ALTERNATE SETTING

 

 

(DEFAULT)

 

 

 

 

 

 

a

STX

{

 

 

 

b

ETX

}

 

 

 

c

ESC

^

 

 

 

d

ENQ

@

 

 

 

e

CAN

!

 

 

 

f

~

~

 

 

 

g

OFFLINE

]

 

 

 

h (Auto ONLINE)

No

0 = YES

 

 

1 = NO

 

 

 

i (Zero Slash)

No

0 = YES

 

 

1 = NO

 

 

 

 

 

 

SATO M-8400RV

9001041 Rev. D

Page E-1

Page 239
Image 239
SATO M-8400RV manual Description, Download Command Structure, Parameter Standard Setting Alternate Setting