Star Micronics Dot Impact Printer User Manual

Page 64

Advertising
background image

3-56

STAR Command Specifications

Rev. 0.70

ETB

[Name]

Update ETB status (check after printing)

[Code]

ASCII

ETB

Hexadecimal

17

Decimal

23

[Defined Area]

---

[Initial Value]

Spec. 1 ---

Spec. 2 ETB countr = 0

[Function]

This command is effective only when using an interface capable of bi-directional data communications.

Spec. 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) becomes 1 (ETB execution completed).

Note that when executing this command, and print data remains the line buffer, this command is executed

after printing the remaining data.

The hose checks that this bit has changed to “1” thereby making it possible to ascertain that the printing of

the sent data is completed.

This ETB status bit is cleared to “0” when returned to host.

The following shows the details of the processing in the printer with this command.

(1) Reads out the ETB command from the reception buffer.

.

(2) Waits 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)

See Appendix for details regarding the auto status.

Spec. 2

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) becomes 1 (ETB execution completed), and the ETB

counter is updated (incremented).

Note that when executing this command, and print data remains the line buffer, this command is executed

after printing the remaining data.

The hose checks that this bit has changed to “1” thereby making it possible to ascertain that the printing of

the sent data is completed.

This ETB status bit is cleared to “0” when returned to host.

Also, ETB is appended to the end of 1 data block and several blocks are sent at once. By getting the ETB

counter sequentially, it is possible to confirm the end of printing the several blocks.

Note that the ETB counter is cleared to zero by the ESC RS E command.

The following shows the details of the processing in the printer with this command.

(1) Reads out the ETB command from the reception buffer.

.

(2) Waits 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

incremented.

(4) Auto status transmission (only when auto status is valid)

See Appendix for details regarding the auto status.

Advertising