Patent ID: 8534828

Claim:
A printer comprising: a printer unit configured to print a bar code based on bar code data; an input unit configured to input input operations; a data generator unit configured to generate an operation command string from a sequence of input operations by linking together operation commands each corresponding to an input operation through the input unit, the operation commands being used to control operations of the printer; a data recorder unit configured to record the operation command string generated by the data generator unit; and a bar-code-converter unit configured to convert the operation command string recorded by the data recorder unit into two-dimensional bar code data, wherein the printer unit is configured to print a bar code based on the two-dimensional bar code data created by the bar-code-converter unit, wherein the printer further comprises: a reader unit configured to read the operation command string from the bar code printed by the printer unit; and an executor unit configured to execute in order the operation commands of the operation command string read by the reader unit.