Patent ID: 7068386

Claim:
A printer comprising: a first determination unit adapted to determine whether received information is information for a print function; a second determination unit adapted to, when said first determination unit determines that the received information is the information for the print function, determine whether the printer is in a sleep state; a third determination unit adapted to, when said second determination unit determines that the printer is not in the sleep state, determine whether the printer can print singly without starting an initial operation, and when said second determination unit determines that the printer is in the sleep state, start the initial operation and determine whether the printer can print singly; and a processing unit adapted to, when said third determination unit determines that the printer can print singly, execute printing in accordance with the received information, when said third determination unit determines that the printer cannot print singly, transmit the received information to a host device, and when said first determination unit determines that the received information is not the information for the print function, transmit the received information to the host device.