Patent ID: 8879076

Claim:
A receipt printer that has a paper cutting position disposed a specific distance downstream from the printing position, prints in a top margin equal to this specific distance in the next receipt after completing printing the print data for one receipt, and then cuts the paper, the receipt printer comprising: a preprint data storage unit that stores preprint data for printing in the top margin of the next receipt; a print data acquisition unit that acquires the print data from a host device; a header evaluation unit that determines if header data, which is the data in the top margin portion of the acquired print data, and the preprint data, are identical; a print control unit that controls a print unit and a paper cutter unit according to the result from the header evaluation unit, wherein when the result from the header evaluation unit is identical, the print control unit controls the print unit to print the preprint data after printing the remaining data, which is the acquired print data minus the header data, and then controls the paper cutter unit to cut the paper, and when the result from the header evaluation unit is not-identical, causes the print unit to print the preprint data after printing the acquired print data, and then causes the paper cutter unit to cut the paper; and a counter unit that counts the number of consecutive times the result from the header evaluation unit is not identical, wherein the data overwriting unit overwrites the preprint data when the count of the counter unit is greater than or equal to a specific number.