Samsung SRP-275 Operator's Manual page 94

Pos impact dot matrix printer
Hide thumbs Also See for SRP-275:
Table of Contents

Advertisement

CHAPTER 5
CONTROL COMMANDS LIST
ESC RS a n
[Name]
Sets auto status transmission conditions
[Format]
ASCII
ESC
Hex
1B
Decimal
27
0 ≤ n ≤ 3
[Range]
48 ≤ n ≤ 51 ("0" ≤ n ≤ "3")
[Default]
DIP Switch or Memory Switch setting
[Description]
This command is effective only when using an interface capable of
bi-directional data communications.
Specification 1:
This command sets the auto status transmission conditions in the table below.
The auto status transmission is sent once with this command.
Specification 2:
The function of this command is set by the memory switch.
Memory Switch Condition 1:
Sets the auto status transmission in the table below.
Memory Switch Condition 2:
Sends the auto status transmission once.
Auto status transmission conditions
N
0, 48
1, 49
5-116
RS
a
n
1E
61
n
30
97
n
Status transmission conditions
Auto status invalid
Auto status valid
ETB
[Name]
Update ETB status (check after printing)
[Format]
ASCII
ETB
Hex
17
Decimal
23
[Description]
This command is effective only when using an interface capable of
bi-directional data communications.
Specification 1
This command waits until all printing is completed (the print motor is stopped),
and after printing is completed, the auto status printer status 1-1
(ETB command) is set to "1" (ETB execution completed).
When print data remains in the line buffer when executing this command,
this command is executed after that residual data is printed. The host checks
that this bit has become 1 to recognize that the printing of the transmitted
data has been completed. The ETB status bit is cleared to 0 when returned to host.
The following shows the details of the processing with this command.
1) Read out from the ETB command and reception buffer
2) Wait for the printing of data to be completed before the ETB command
3) After checking the end of printing, the auto status ETB status is set
4) Auto status transmission (only when auto status is valid)
Specification 2
This command waits until all printing is completed (the print motor is stopped).
After printing, auto status 1 - 1 (ETB command) is set to 1 (ETB execution
completed) and the ETB counter is updated. When print data remains in the line
buffer when executing this command, this command is executed after that residual
data is printed. The host checks that this bit has become 1 to recognize that the
printing of the transmitted data has been completed. The ETB status bit is cleared
to 0 when returned to host. Also, ETB is applied to the end of one data block and
batch transmits a multiple of blocks. By getting the next ETB counter, the end of the
printing of the multiple of blocks is recognized to be completed. Note that zero
clearing of the ETB counter is done by the ESC RS E command.
The following shows the details of the processing with this command.
1) Read out from the ETB command and reception buffer
2) Wait for the printing of data to be completed before the ETB command
3) After checking the end of printing, the auto status ETB status is set and the
ETB counter is positively incremented.
4) Auto status transmission (only when auto status is valid)
5-117

Advertisement

Table of Contents
loading

Table of Contents