
3-56STARCommandSpecications
Rev. 0.70
ETB
[Name] Update ETB status (check after printing)
[Code] ASCII ETB
Hexadecimal 17
Decimal 23
[DenedArea] ---
[Initial Value] Spec. 1 ---
Spec. 2 ETB countr = 0
[Function] Thiscommandiseffectiveonlywhenusinganinterfacecapableofbi-directionaldatacommunications.
Spec. 1
This command waits until all printing is completed (the print motor is stopped), and after printing is completed,
theautostatusprinterstatus1-1(ETBcommand)becomes1(ETBexecutioncompleted).
Notethatwhenexecutingthiscommand,andprintdataremainsthelinebuffer,thiscommandisexecuted
after printing the remaining data.
Thehosechecksthatthisbithaschangedto“1”therebymakingitpossibletoascertainthattheprintingof
the sent data is completed.
ThisETBstatusbitisclearedto“0”whenreturnedtohost.
The following shows the details of the processing in the printer with this command.
(1) ReadsouttheETBcommandfromthereceptionbuffer..
(2) WaitsfortheprintingofdatatobecompletedbeforetheETBcommand
(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,
theautostatusprinterstatus1-1(ETBcommand)becomes1(ETBexecutioncompleted),andtheETB
counter is updated (incremented).
Notethatwhenexecutingthiscommand,andprintdataremainsthelinebuffer,thiscommandisexecuted
after printing the remaining data.
Thehosechecksthatthisbithaschangedto“1”therebymakingitpossibletoascertainthattheprintingof
the sent data is completed.
ThisETBstatusbitisclearedto“0”whenreturnedtohost.
Also,ETBisappendedtotheendof1datablockandseveralblocksaresentatonce.BygettingtheETB
countersequentially,itispossibletoconrmtheendofprintingtheseveralblocks.
NotethattheETBcounterisclearedtozerobytheESCRSEcommand.
The following shows the details of the processing in the printer with this command.
(1) ReadsouttheETBcommandfromthereceptionbuffer..
(2) WaitsfortheprintingofdatatobecompletedbeforetheETBcommand
(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.