The present application is based on, and claims priority from JP Application Serial Number 2020-076437, filed Apr. 23, 2020, the disclosure of which is hereby incorporated by reference herein in its entirety.

BACKGROUND

1. Technical Field

The present disclosure relates to a print control device, a print control method, and a non-transitory computer-readable storage medium storing a print control program.

2. Related Art

In the related art, there is known a technique for setting a setting value of various setting items for a printing device such as a printer without installing a printer driver.

For example, JP-A-2019-175313 discloses a program that is executable by an information processing apparatus in which an operating system having a print function is installed, the program including a management program and a print server program, where the management program registers a print server configured by the print server program as a virtual printer in the operating system.

In the configuration disclosed in JP-A-2019-175313, the management program and the print server program make it possible for the operating system to recognize a printer that does not support the print function of the operating system and to allow the printer to print. However, in the configuration disclosed in JP-A-2019-175313, since a print setting is limited to items on a print setting screen displayed by the print function of the operating system, when the printer has a specific function that cannot be set on the print setting screen displayed by the print function of the operating system, the printer's specific function cannot be supported.

SUMMARY

According to an aspect of the present disclosure, there is provided a print control device which is communicatively coupled to a printing device supporting print data in a predetermined format, the print control device including: an operating system that has a display function of displaying a first print setting screen including a plurality of setting items, and a print function; a data conversion section that causes the printing device to be recognized by the print function of the operating system, acquires first print data output by the print function of the operating system, converts the first print data into second print data which is the print data in the predetermined format different from the first print data, and transmits the second print data to the printing device; and a custom setting section that, when the first print data is output from the operating system to the data conversion section, displays a second print setting screen including a custom setting item different from the setting items included in the first print setting screen, and that, when a custom setting value of the custom setting item is set, transmits the set custom setting value to the data conversion section, in which the data conversion section converts the first print data into the second print data based on the custom setting value.

According to another aspect of the present disclosure, there is provided a print control method for a print control device which is communicatively coupled to a printing device supporting print data in a predetermined format and in which an operating system having a display function of displaying a first print setting screen and a print function is installed, the print control method including: recognizing the printing device as a printing device supporting first print data different from the print data in the predetermined format; displaying a first print setting screen including a print instruction button and a plurality of setting items; displaying a second print setting screen including a custom setting item different from the setting items included in the first print setting screen when a print instruction is given by the print instruction button; generating second print data which is the print data in the predetermined format based on a set custom setting value of the custom setting item when the custom setting value is set; and transmitting the second print data to the printing device.

According to still another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing a print control program for a print control device which is coupled to a printing device supporting print data in a predetermined format and in which an operating system having a display function of displaying a first print setting screen including a print instruction button and a plurality of setting items and a print function is installed, the print control program causing a processor of the print control device to execute: a function of displaying a second print setting screen including a custom setting item different from the setting items included in the first print setting screen when a print instruction is given to the printing device by the print instruction button; and a function of transmitting, to the printing device, a custom setting value of the custom setting item related to conversion from first print data different the print data in the predetermined format into second print data which is the print data in the predetermined format when the custom setting value is set.

