Patent ID: 8508783

Claim:
A printer comprising: a connection port that connects an external storage device to the printer; a command input unit that inputs coded information or text-form information; a processor that executes a command corresponding to coded information or text-form information inputted in the command input unit by using data stored in the external storage device connected to the connection port; a printing unit that prints coded information on a printing medium under control of the processor; and an internal storage device; wherein the command input unit includes a reader that reads coded information, wherein the processor executes, by using data stored in the external storage device connected to the connection port and/or data stored in the internal storage device, a command corresponding to coded information read by the reader, wherein, when the external storage device is connected to the connection port, the processor executes steps of: [1] analyzing data stored in the external storage device connected to the connection port and/or data stored in the internal storage device; [2] creating coded information and text-form information that are corresponding to a command based on the analyzing result; and [3] printing in an associated manner both the coded information and the text-form information on a printing medium by the printing unit; and wherein the processor determines an effective command by comparing both data stored in the external storage device connected to the connection port and data stored in the internal storage device and deals with the effective command as a command based on the analyzing result.