Samsung SRP-350PG Service Manual - Page 64

Control Commands

Page 64 highlights

Command 8. Control Commands HT [Name] [Format] [Description] Horizontal tab. ASCII HT Hex 09 Decimal 9 Moves the print position to the next horizontal tab position. LF [Name] [Format] [Description] Print and line feed. ASCII LF Hex 0A Decimal 10 Prints the data in the print buffer and feeds one line based on the current line spacing. FF [Name] [Format] [Description] Print and return to standard mode in page mode. ASCII FF Hex 0C Decimal 12 Prints the data in the print buffer collectively and returns to standard mode. CR [Name] [Format] [Description] Print and carriage return. ASCII CR Hex 0D Decimal 13 When automatic line feed is enabled, this command functions the same as LF : when automatic line feed is disabled, this command is ignored. CAN [Name] [Format] [Description] Cancel print data in page mode. ASCII CAN Hex 18 Decimal 24 In page mode, deletes all the print data in the current printable area. DLE EOT n [Name] Real-time status transmission. [Format] ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n [Range] 1 ≤n ≤4 [Description] Transmits the selected printer status specified by n in real-time, according to the following parameters : n = 1 : Transmit printer status. n = 2 : Transmit off-line status. n = 3 : Transmit error status. n = 4 : Transmit paper roll sensor status. Samsung Electro-Mechanics 8-1

  • 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

Samsung Electro-Mechanics
8-1
8. Control Commands
HT
[Name]
[Format]
[Description]
Horizontal tab.
ASCII
HT
Hex
09
Decimal
9
Moves the print position to the next horizontal tab position.
LF
[Name]
[Format]
[Description]
Print and line feed.
ASCII
LF
Hex
0A
Decimal
10
Prints the data in the print buffer and feeds one line based on the current line spacing.
FF
[Name]
[Format]
[Description]
Print and return to standard mode in page mode.
ASCII
FF
Hex
0C
Decimal
12
Prints the data in the print buffer collectively and returns to standard mode.
CR
[Name]
[Format]
[Description]
Print and carriage return.
ASCII
CR
Hex
0D
Decimal
13
When automatic line feed is enabled, this command functions the same as
LF
: when automatic line feed is disabled, this command is ignored.
CAN
[Name]
[Format]
[Description]
Cancel print data in page mode.
ASCII
CAN
Hex
18
Decimal
24
In page mode, deletes all the print data in the current printable area.
DLE EOT n
[Name]
[Format]
[Range]
[Description]
Real-time status transmission.
ASCII
DLE
EOT
n
Hex
10
04
n
Decimal
16
4
n
1
n
4
Transmits the selected printer status specified by n in real-time, according to the following parameters :
n = 1 : Transmit printer status.
n = 2 : Transmit off-line status.
n = 3 : Transmit error status.
n = 4 : Transmit paper roll sensor status.