US 11,055,586 B2
Printing device that receives print data and performs printing, control method of printing device, and program
Haruki Sato, Abiko (JP)
Assigned to CANON KABUSHIKI KAISHA, Tokyo (JP)
Filed by CANON KABUSHIKI KAISHA, Tokyo (JP)
Filed on Sep. 11, 2019, as Appl. No. 16/567,217.
Claims priority of application No. JP2018-182743 (JP), filed on Sep. 27, 2018.
Prior Publication US 2020/0104657 A1, Apr. 2, 2020
Int. Cl. G06F 3/12 (2006.01); G06K 15/02 (2006.01); H04N 1/00 (2006.01)
CPC G06K 15/1806 (2013.01) [G06F 3/1237 (2013.01); H04N 1/00233 (2013.01)] 4 Claims
OG exemplary drawing
 
1. A printing device comprising:
a memory storing instructions; and
a processor executing the instructions causing the printing device to:
register a virtual printer name in association with print settings used during print processing by the virtual printer based on a user's operation;
receive print data including an optional command for printing and file data to be printed from an external device via a network;
determine whether or not one or more of the virtual printer names have been registered;
determine whether or not a character string indicating argument corresponding to a first command has been registered as the registered virtual printer name, by checking whether or not the registered virtual printer names include a name that matches the character string indicating argument corresponding to the first command, in a situation that the optional command of the received print data includes the first command indicating a predetermined type of optional command and the character string indicating argument corresponding to the first command and it is determined that one or more of the virtual printer names have been registered;
generate a print job that prints the file data by using the print settings associated with the registered virtual printer in a situation that it is determined that the character string indicating argument corresponding to the first command has been registered as the virtual printer name;
generate a print job that analyzes the character string indicating argument corresponding to the first command and prints the file data by using the print settings specified based on the analyzed result in a situation that it is determined that the one or more virtual printer names have not been registered;
generate a print job that prints the file data by using predetermined print settings in a situation that it is determined that one or more of the virtual printer names has been registered, and the character string indicating argument corresponding to the first command does not match any one of the registered virtual printer names; and
print an image on a sheet based on the generated print job.