A printing apparatus comprises a real-time command interpreter that
functions even when the printing apparatus is off-line, and interprets
control commands simultaneously with receiving data. The printing
apparatus can therefore output pulses to the external devices even when
printing is in progress or the printer is off-line. Such printing
apparatus comprises a command detector for directly detecting
predetermined command data from the received command data. An external
controller controls an external device in accordance with predetermined
command data detected by the command detection.