Patent ID: 9152358
Filing Date: 2015-10-06
Classification: G06F

Abstract:
1. A printer comprising: a USB port; memory having a regular storage area which a host connected to said USB port is able to recognize as a removable drive; a printing device configured to perform printing based on print data produced by an application program; and a processor configured to control said printing device and said memory, wherein said regular storage area includes: a first memory area in which an executable file of said application program is stored; and a plurality of second memory areas in which a plurality of instruction files including said print data are able to be written respectively, and wherein said memory further includes a print buffer area capable of temporarily storing said print data extracted from said instruction file, when the executable file of said application program is read and executed by said host, said processor executes a plurality of processing, said plurality of processing including: a first step for executing first file write processing for updating a content of one of the original instruction file stored in any one of the plurality of second memory areas by writing one preceded instruction file received from said host in one said second memory area; a second step for executing first print data extraction processing for analyzing the one preceded instruction file written in the one second memory area by said first file write processing and extracting said print data corresponding to the preceded instruction file; a third step for executing first data development processing for developing the print data corresponding to the one preceded instruction file extracted by said first print data extraction processing in said print buffer area and for executing first update preparation processing for enabling to be updated later said one preceded instruction file which is stored and held in said one second memory area while concurrently performing the first data development processing after the data development; a fourth step for executing first print processing for making said printing device execute printing of said print data corresponding to the one preceded instruction file developed in said print buffer area by said first data development processing and for executing second file write processing for updating a content of the one preceded instruction file into a content of one subsequent instruction file by writing the one subsequent instruction file received from said host in any one of the plurality of said second memory areas while concurrently performing the first print processing, said one preceded instruction file being stored in the one of second memory areas and being capable of updating by said first update preparation processing; a fifth step for executing second print data extraction processing for analyzing the one subsequent instruction file written in the one second memory area by said second file write processing and extracting said print data corresponding to the subsequent instruction file; a sixth step for executing second data development processing for developing the print data corresponding to the one subsequent instruction file extracted by said second print data extraction processing in said print buffer area and for executing second update preparation processing for enabling to be updated later said one subsequently instruction file which is stored and held in said one second memory area while concurrently performing the second data development processing after the data development; and, a seventh step for executing second print processing for making said printing device execute printing of said print data corresponding to the one subsequent instruction file developed in said print buffer area by said second data development processing and for executing third file write processing for updating the content of the one subsequent instruction file into a content of a further-subsequent instruction file by writing the one further-subsequent instruction file received from said host in any one of the plurality of said second memory areas while concurrently performing the second print processing, said one subsequent instruction file being stored in the one of second memory areas and being capable of updating by said second update preparation processing.