Patent ID: 9373232
Filing Date: 2016-06-21
CPC Classification: G07G

Claim Text:
1. A printing device comprising: a processor; a plurality of operation keys for receiving an operation from a user; a printer configured to print texts on a print medium; and a memory configured to store two or more databases having two or more adjoining records in which texts are respectively set for fields and associating each set which is grouped records into a predetermined number with the operation keys, template data linked to the database in which at least arrangement positions of the texts to be printed on the print medium are set, link information associating the arrangement positions in the template data with the fields of the database, a set of records of the database being respectively associated with the plurality of operation keys using the template data and computer-readable instructions that instruct the processor to execute steps comprising: setting, when it is determined that the database group number is the same as the number of the operated operation key, a record number corresponding to the record to be used for printing in accordance with a number of times of operation of the operation key, the record number being a variable to select texts to be arranged in the arrangement positions of the template data; setting, when it is determined that the database group number is not the same as the number of the operated operation key, the database group number to the number of the operated operation key, and setting a record number corresponding to the record to be used for printing in accordance with a state in which a selection key is operated, the selection key being included among the operation keys and being used to select the record to be used for printing from among the plurality of records of the database; causing the printer to print the generated print data on the print medium.