Oki X400 X400 Programming Command Manual - Page 91

Custom Protocol Command Codes, Download

Page 91 highlights

Custom Protocol Command Codes Download Command Structure LD,a,b,c,d,e,f,g,h,i a = Replacement character for STX in ASCII or hex format b = Replacement character for ETX in ASCII or hex format c = Replacement character for ESC in ASCII or hex format d = Replacement character for ENQ in ASCII or hex format e = Replacement character for CAN in ASCII or hex format f = Replacement character for NULL in ASCII or hex format g = Replacement character for OFFLINE in ASCII or hex format Example: LD 0,0 Placement: Immediately following the A Start command and in an Independent data stream. Default: Standard Protocol command Codes Command Function Allows the user to define custom Protocol Command codes. Input to Printer Printer Output A LD 0,0 Z A Protocol Command code status label will be printed as a result of the successful download of a custom set of Protocol Command codes. STX=7B ETX=7D ESC=25 NULL=2A OFFLINE=7E Special Notes 1. Commas must be used to separate the parameters. If a parameter is omitted between two commas, the default Non-Standard Protocol Command codes for that parameter will be used. 89

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137

Custom Protocol Command Codes
Download
Command Structure
<ESC>LD,a,b,c,d,e,f,g,h,i
a
=
Replacement character for STX in ASCII or hex format
b
=
Replacement character for ETX in ASCII or hex format
c
=
Replacement character for ESC in ASCII or hex format
d
=
Replacement character for ENQ in ASCII or hex format
e
=
Replacement character for CAN in ASCII or hex format
f
=
Replacement character for NULL in ASCII or hex format
g
=
Replacement character for OFFLINE in ASCII or hex format
Example:
<ESC>LD,{,},%,#,&,*,~,0,0
Placement: Immediately following the <ESC>A Start command and in an
Independent data stream.
Default:
Standard Protocol command Codes
Command Function
Allows the user to define custom Protocol Command codes.
Input to Printer
<ESC>A
<ESC>LD,{,},%,#,&,*,~,0,0
<ESC>Z
Printer Output
A Protocol Command code status label will be printed as a result of the
successful download of a custom set of Protocol Command codes.
STX=7B
ETX=7D
ESC=25
NULL=2A
OFFLINE=7E
Special Notes
1.
Commas must be used to separate the parameters. If a parameter is omitted
between two commas, the default Non-Standard Protocol Command codes for
that parameter will be used.
89