A host device configured to be connected to a terminal device which transmits a document to the host device through a network, the document including a destination and a command written therein with a predetermined indicator, the host device comprising: