Samsung 275C User Manual - Page 38

Exception processing

Page 38 highlights

▌4.3 Exception processing • Undefined codes This term refers to the codes ranging from 00H to 1FH in the character code table. If a code in this range that is not defined as a command is input, that code (one byte) is read in and discarded, and subsequent data is processed as normal data. Example : 30H, 31H, 03H, 32H, 0AH, 33H If the above data string is input, the printer reads in and discards "03H" as an undefined code. Note that 0AH is defined as a command (LF). As a result, the data string that is actually processed is: 30H, 31H, 32H, 0AH, 33H • Undefined commands If the data following ESC (1BH) or GS (1DH) is not defined as a command, then the two bytes (ESC/GS and the code that follows) are read in and discarded. Example : 30H, 1BH, 22H, 31H, 32H If the above data string is input, the printer discards the data 1BH and 22H as undefined commands. As a result, the data string that is actually processed is: 30H, 31H, 32H • Settings outside the defined range If a value outside of the defined range is input for a command that takes parameters, that command is ignored and the previous value for that setting remains unchanged. In the case of a command that takes multiple parameters, command processing is halted the moment that a value outside of the defined range is input and subsequent values are processed as normal data. Example : 1BH, 52H, 15H If the above data string is input, 1BH and 52H are defined as a command (ESC R), but the parameter 15H is outside of the defined range. As a result, the printer reads in and discards the data string 1BH, 52H, 15H. Accordingly, the previously set international character set is not changed. 4-2

  • 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

4-2
4.3
Exception processing
• Undefined codes
This term refers to the codes ranging from 00H to 1FH in the character code table. If a code in this range
that is not defined as a command is input, that code (one byte) is read in and discarded, and subsequent
data is processed as normal data.
Example : 30H, 31H, 03H, 32H, 0AH, 33H
If the above data string is input, the printer reads in and discards "03H" as an undefined code.
Note that 0AH is defined as a command (
LF
). As a result, the data string that is actually processed is: 30H,
31H, 32H, 0AH, 33H
• Undefined commands
If the data following
ESC
(1BH) or
GS
(1DH) is not defined as a command, then the two bytes (
ESC
/
GS
and
the code that follows) are read in and discarded.
Example : 30H, 1BH, 22H, 31H, 32H
If the above data string is input, the printer discards the data 1BH and 22H as undefined commands.
As a result, the data string that is actually processed is: 30H, 31H, 32H
• Settings outside the defined range
If a value outside of the defined range is input for a command that takes parameters, that command is
ignored and the previous value for that setting remains unchanged. In the case of a command that takes
multiple parameters, command processing is halted the moment that a value outside of the defined range is
input and subsequent values are processed as normal data.
Example : 1BH, 52H, 15H
If the above data string is input, 1BH and 52H are defined as a command (
ESC R
), but the parameter 15H is
outside of the defined range. As a result, the printer reads in and discards the data string 1BH, 52H, 15H.
Accordingly, the previously set international character set is not changed.