A printing apparatus includes a connection interface which connects the printing
apparatus to a peripheral device such as a host computer. A connection object of
the connection interface is detected, and a print mode is set to a normal print
mode or a demonstration print mode. In the normal print mode, printing is performed
based on print data received from the host computer, depending on the detected
connection object. In the demonstration print mode, printing is performed based
on demonstration print data which is stored in advance. The print mode is set to
the normal print mode when the connection object is the host computer and to the
demonstration print mode when the connection object is not the host computer or
when there is no connection object.