Application program and control method

JP2023041245A5Active Publication Date: 2024-09-27CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2021148493
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-09-13
Publication Date
2024-09-27
Estimated Expiration
2041-09-13

AI Technical Summary

Technical Problem

Existing standard drivers and expansion applications for printing devices lack the capability to provide enhanced functionalities and often result in misprints due to unsupported or invalid print functions.

Method used

An expansion application program that interacts with print data generation software to edit and expand print function information based on the capabilities of the printing device, adding supported functions and removing invalid ones, while also providing additional features like layout printing and error notifications.

Benefits of technology

Enhances the functionality of printing applications by adding supported functions and preventing misprints by ensuring only valid print options are available, thereby improving user experience and print quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To provide a function having a better extended application.SOLUTION: A program of an extended application that extends a function in association with printing data generation software operable on an information processing apparatus, causes a computer of the information processing apparatus to function as first acquisition means that acquires printing function information generated by the printing data generation software, second acquisition means that acquires capability information of a printing device from the printing device, and edition means that edits the printing function information acquired by the first acquisition means based on the capability information acquired by the second acquisition means and support information indicating a printing function supported by the extended application.SELECTED DRAWING: Figure 11
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a technology for expanding the function of printing.

Background Art

[0002] In recent years, in Windows (registered trademark) and the like, a standard class driver (hereinafter also referred to as "standard driver") that can be commonly used for printing devices provided by a plurality of vendors has been provided. Such a standard driver is included in a package of an operating system (hereinafter referred to as "OS"). The standard driver is configured to be able to specify a printing function according to PrintCapabilities generated based on information acquired from the connected printing device. Thereby, a user using the standard driver can specify a printing function according to the capabilities of the connected printing device.

[0003] An application for function expansion (hereinafter also referred to as "expansion application") can be associated with the standard driver. The expansion application is provided by the vendor that provides the printing device. By providing the expansion application, the vendor can provide functions (expansion functions) that cannot be realized only by the standard driver. Patent Document 1 discloses a technology for expanding functions such as a stamp function by an expansion application.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0005] Further improvements are required for the expansion application to provide better functions.

Means for Solving the Problems

[0006] A program according to one aspect of the present disclosure is a program for an extension application that extends the functionality of print data generation software that can be operated on an information processing device, and is a program for causing the computer of the information processing device to function as a first acquisition means for acquiring print function information generated by the print data generation software, a second acquisition means for acquiring capability information of the printing device from the printing device, and an editing means for editing the print function information acquired by the first acquisition means based on the capability information acquired by the second acquisition means and support information indicating the print functions supported by the extension application. [Effects of the Invention]

[0007] According to this disclosure, the extended application can provide better functionality. [Brief explanation of the drawing]

[0008] [Figure 1] This is a block diagram showing the hardware configuration of the printing system. [Figure 2] This is a diagram illustrating the configuration of the printing system. [Figure 3] This is a block diagram of the PDC extension. [Figure 4] This diagram shows the editing process flow of PDC. [Figure 5] This figure shows an example of PDC. [Figure 6] This figure shows an example of various information related to PDC expansion. [Figure 7] This figure shows an example of PDC after functional enhancements. [Figure 8] This figure shows an example of a print settings screen. [Figure 9] This figure shows an example of the print settings screen after the print functionality has been enhanced. [Figure 10] This figure shows an example of a media-col-database. [Figure 11]This diagram shows the flow for removing invalid printing functions. [Figure 12] This figure shows an example of a PDC after the removal of invalid printing functions. [Figure 13] This figure shows an example of a PDC after the removal of invalid printing functions. [Figure 14] This figure shows an example of the print settings screen after removing invalid printing functions. [Figure 15] This figure shows an example of a reason for a PDC editing request from the OS. [Figure 16] This diagram shows the flow for removing invalid printing functions. [Figure 17] This figure shows the data structure of cache information used to determine whether or not PDC editing is necessary. [Figure 18] This diagram shows the flow of deleting invalid print settings in Embodiment 3. [Modes for carrying out the invention]

[0009] Preferred embodiments of this disclosure will be described in detail below with reference to the attached drawings. Note that the following embodiments are not limiting to the scope of this disclosure, and not all combinations of features described in these embodiments are necessarily essential to the solutions of this disclosure. The same reference numerals are used for identical components, and their descriptions are omitted.

[0010] <<Embodiment 1>> <Hardware configuration of the printing system> FIG. 1 is a block diagram showing the hardware configuration of the printing system in the present embodiment. The printing system includes a host computer 101, and in FIG. 1, mainly shows the block configuration of the host computer. The host computer 101 is an example of an information processing device. The host computer 101 has an input interface 110, a CPU 111, a ROM 112, a RAM 113, an external storage device 114, an output interface 115, an input / output interface 116, and a network interface (NETIF) 120. Input devices such as a keyboard 118 and a pointing device 117 are connected to the input interface 110, and display devices such as a display unit 119 are connected to the output interface 115. The NETIF 120 controls data transfer with external devices via a network. In the example of FIG. 1, the display unit 119, the pointing device 117, and the keyboard 118 are described as examples of devices separate from the host computer 101, but they may be included in the host computer 101. Also, the display unit 119 may be a touch panel display having the function of an input / output device.

[0011] An initialization program is stored in the ROM 112. Application program groups, an operating system (OS), printing data generation software, and various other data are stored in the external storage device 114. In the following description, the OS is assumed to be the OS of the host computer 101 stored in the ROM 112 unless otherwise specified. Also, hereinafter, the application program is abbreviated as an application. The RAM 113 is used as a work memory and the like when executing various programs stored in the external storage device 114, thereby enabling various programs to operate within the host computer 101.

[0012] In the present embodiment, the CPU 111 executes the functions and processes described below in the host computer 101 by performing processing according to the procedures of the programs stored in the ROM 112.

[0013] The printing device 102, which is an output device, is connected to the host computer 101 via the input / output interface 116. In the example of FIG. 1, an example where the host computer 101 and the printing device 102 are separate is shown, but they may be configured as one information processing device. Note that the printing device will be described by taking an inkjet printer that prints by ejecting ink onto the paper surface as an example, but printing may be executed by other methods (for example, an electrophotographic method). Also, the host computer 101 may be a desktop personal computer, a smartphone, a tablet terminal, or a notebook personal computer. The input / output interface 116 may be wired or wireless. Also, the host computer 101 and the printing device 102 may be connected via a WAN such as a LAN or the Internet.

[0014] <Configuration of a Printing System Centered on Software> FIG. 2 is a diagram schematically showing the configuration of the printing system. Here, a description will be given on the premise of a printing system using the host computer 101 equipped with Microsoft (registered trademark)'s Windows (registered trademark) 10 as the OS. FIG. 2(a) is a diagram showing a general configuration when the extended application 204 is not associated with the print data generation software 202 and the printing device 102. That is, it is a diagram showing the configuration of a printing system in which the extended application 204 is not used. On the other hand, FIG. 2(b) is a diagram showing the configuration of the printing system of the present embodiment in which the extended application 204 is associated with the print data generation software 202 and the printing device 102.

[0015] First, an example of a typical printing system configuration will be explained using Figure 2(a). A typical printing system configuration includes a drawing application 201 and print data generation software 202. In addition, print function information 203 is stored in RAM 113 or external storage device 114. The drawing application 201 and print data generation software 202 are programs that can run on the host computer 101 and are stored in RAM 113 or external storage device 114.

[0016] The drawing application 201 is software that creates content (drawing data) to be printed. Examples of drawing applications 201 include various user-operated applications such as word processing applications, spreadsheet applications, and presentation data creation applications. When the drawing application 201 receives a print request in response to user input, it issues a print command to the OS. The print command includes print setting information to instruct the operation of the print data generation software 202 and the printing device 102. The print setting information is also called a PrintTicket (hereinafter abbreviated as "PT").

[0017] The drawing application 201 can display a print settings screen to accept print setting operations from the user and set print setting information (PT). The print settings screen is provided by either the print data generation software 202, the OS, or the drawing application 201. The print settings screen includes setting items (hereinafter also called "control items") that indicate the configurable print functions and control items that indicate the setting values. The print settings screen displays control items according to capability information (information that can be set as print settings) obtained from the print data generation software 202. Capability information is also called PrintCapabilities (hereinafter abbreviated as "PC"). The print data generation software 202 determines the PC based on the print function information 203.

[0018] The print function information 203 is data indicating the print function, which includes all configurable print functions, their settings, and the mutual exclusion relationships between the settings. The print function information 203 is also called PDC (Print Device Capabilities). The print function information 203 is included in the configuration file of the print data generation software 202 and is placed on the external storage device 114 as an immutable file. Alternatively, the print function information 203 can be dynamically generated by the print data generation software 202. Specifically, the print data generation software 202 or the OS can be configured to obtain attribute data of the printing device from the printing device 102 and generate the print function information 203 according to the attribute information in the obtained attribute data. When the print function information 203 is dynamically generated, the generated print function information 203 is editable. The attribute data of the printing device obtained from the printing device 102 is the response data obtained by issuing the IPP Get-Printer-Attributes operation to the printing device. IPP stands for Internet Print Protocol. The response includes attribute information indicating the functions (capabilities of the printing device) that can be specified by the printing device 102, and setting values ​​related to that attribute information. This response data is stored in RAM 113.

[0019] By configuring it in this way, the print data generation software 202 can be configured so that the user can specify the printing functions available on each connected printing device 102, according to the connected printing device 102. In other words, even when printing devices with different functions or printing devices developed by different vendors are connected, the print data generation software 202 can be configured so that the user can specify the printing functions available on each connected printing device. Here, we will describe a configuration using the IPP Class Driver included in Windows® 10 as the print data generation software 202. The IPP Class Driver is a printer driver that performs printing processing according to the specifications of a standard printing protocol called IPP, and is software that is bundled with the OS and pre-installed on the host computer 101. Furthermore, the IPP Class Driver is not a unique printer driver provided by the vendor of the printing device 102, depending on the model of the printing device 102. The IPP Class Driver can be used commonly for multiple printing devices and is a standard class driver provided by the OS vendor. Furthermore, the IPP Class Driver acquires attribute information of the connected printer 102 so that the user can specify the printing functions supported by the connected printer 102, and generates printing function information 203 based on that information. In this way, the IPP Class Driver, which is the print data generation software 202, can dynamically generate printing function information 203 (PDC).

[0020] The print settings information (PT) specified through the print settings screen displayed on the PC based on the print function information 203 (PDC) is included in the print instruction output from the drawing application 201. In addition to the print settings information (PT), the print instruction output from the drawing application 201 also includes the data to be drawn.

[0021] The OS generates intermediate data (also called input data) based on the print instructions output from the drawing application 201 and passes it to the print data generation software 202. The data output by the drawing application 201 for printing is either Graphic Device Interface format data (GDI format data) or XML Paper Specification format data (XPS format data). When using the IPP Class Driver as the print data generation software 202, if the data output by the drawing application 201 is in GDI format, the OS performs a data format conversion. That is, the OS converts the GDI format data output from the drawing application 201 to XPS format data. Then, it passes the converted XPS format data to the print data generation software 202 as intermediate data. On the other hand, if the data output by the drawing application 201 is in XPS format, the OS passes the XPS format data to the print data generation software 202 as intermediate data. The intermediate data includes drawing data, which is information about the image to be formed on the paper, and print setting information (PT) set by the user.

[0022] The print data generation software 202 converts the acquired intermediate data into print data that can be interpreted by the printing device 102 and transmits it to the printing device 102. The print data includes drawing data, which is information about the image to be formed on the paper, and print setting attribute information (attribute information that specifies the print settings) generated based on the print setting information set by the user. The print setting attribute information includes attribute information that indicates the functions that can be specified by the printing device 102 (capabilities of the printing device) and the setting values ​​associated with that attribute information.

[0023] The printing device 102 prints on the paper based on the print data sent from the print data generation software 202. At this time, the printing device 102 forms the drawing data contained in the print data on the paper in accordance with the print setting attribute information contained in the print data. The print setting attribute information includes attribute information and setting values ​​for specifying print quality (e.g., image quality priority or speed priority), and double-sided printing. For example, if the print setting attribute information includes attribute information for specifying double-sided printing, the printing device 102 performs double-sided printing.

[0024] Figure 2(b) shows the configuration of this embodiment when the extended application 204 is associated with the print data generation software 202 and the printing device 102. Configurations and processes not specifically mentioned below are equivalent to those in Figure 2(a). Furthermore, in the following description, processes described as being executed by each software on the host computer 101 are actually implemented as follows: Specifically, the CPU 111 loads each software stored in ROM 112, etc., into RAM 113 and executes it.

[0025] The extension application 204 is software that extends the functionality of the print data generation software 202, and is not software that is bundled with the OS and pre-installed on the host computer 101. Therefore, the user operates the host computer 101 to download the extension application 204 from a server via the internet and install it on the host computer 101. Alternatively, the extension application 204 may be automatically installed on the host computer 101 based on the connection of the printer 102 to the host computer 101. Specifically, when the printer 102 is connected to the host computer 101, the OS obtains device identification information from the printer 102. The OS may download the extension application 204 corresponding to the obtained device identification information from a server via the internet and install it on the host computer 101. In this way, the print data generation software 202 and the extension application 204 are kept as separate files on the host computer 101.

[0026] Note that the print data generation software 202 and the extended application 204 may be updated and upgraded, but these update processes are performed at different times. Also, the timing at which the host computer 101 acquires the print data generation software 202 is different from the timing at which the extended application 204 is acquired. Furthermore, the triggers for the host computer 101 to acquire the print data generation software 202 and the triggers for the host computer 101 to acquire the extended application 204 are also different. When the extended application 204 is installed, the OS associates the extended application 204 with the print data generation software 202 and the corresponding printing device 102.

[0027] The extended application 204 described in this embodiment comprises a print settings screen extension unit 205, a skip control unit 206, a print function extension unit 207, a print data editing unit 208, and a notification unit 209. The extended application 204 also includes shared information 210 that can be accessed from all units in common. Furthermore, the extended application 204 is provided by the vendor that provides the printing device 102. The shared information 210 is actually a file stored in the external storage device 114 or information stored on the RAM 113. The extended application 204 writes to and reads information from the shared information 210 by utilizing the API (Application Program Interface) provided by the OS.

[0028] Furthermore, the extended application 204 may terminate its operation after each unit has finished processing. In that case, the OS will start the extended application 204 each time a request to use each unit is received. Another configuration is also possible. For example, the OS may terminate the operation of the extended application 204 after the processing of the print settings screen extended unit 205 is completed, but the OS may keep the extended application 204 running even after the processing of the skip control unit 206 is completed.

[0029] Furthermore, the extended application 204 may cancel processing within the processing of each unit. If the extended application 204 cancels processing, the OS deletes the jobs currently being processed on the print queue. The print queue is a spooler provided by the OS that stores generated jobs. Jobs are generated based on the output of a print command from the extended application 204 and stored in the print queue. The intermediate data generated based on the output of a print command from the extended application 204 becomes the data associated with the job stored at that time. If the intermediate data associated with a job is being processed, the job status will also be in processing. A job is deleted from the print queue by the OS when the print data (in other words, the print data associated with the job) converted from the intermediate data associated with that job is sent to the printer 102. A print queue is generated by the OS for each printer 102 with which the extended application 204 communicates. That is, for example, if the extended application 204 communicates with multiple printers 102, the OS creates multiple print queues. Each generated print queue is associated with a corresponding printer 102. Multiple print queues may be created that are associated with a single printing device 102.

[0030] When the drawing application 201 receives a print request from the user, it issues a print command to the OS. The print command includes print setting information (PT), similar to the configuration in Figure 2(a). In the configuration of Figure 2(b), the drawing application 201 can also display a print settings screen for specifying the print setting information (PT), similar to the configuration in Figure 2(a). In the configuration of Figure 2(b), the print settings screen provided by the extension application 204 is displayed. Specifically, the print settings screen provided by the print settings screen extension unit 205 of the extension application 204 is displayed. In other words, the display of the print settings screen is controlled by the print settings screen extension unit 205. Whether or not the print settings screen provided by the print settings screen extension unit 205 is displayed depends on the user's operation.

[0031] When the drawing application 201 receives a print request from the user and a print command is issued to the OS, the OS activates the skip control unit 206. The skip control unit 206 performs control processing to determine whether or not to perform a skip process that skips the processing of the print data generation software 202. After the skip control processing by the skip control unit 206, the OS generates intermediate data based on the print command output from the drawing application 201 and passes the intermediate data to the print data generation software 202. If the skip control unit 206 does not perform a skip process, the intermediate data is processed by the print data generation software 202 into print data that can be interpreted by the printing device 102 and passed to the print data editing unit 208. On the other hand, if the print data generation software 202 performs a skip process, the intermediate data is not processed by the print data generation software 202 and is passed to the print data editing unit 208. This makes it possible for the print data editing unit 208 to process the intermediate data.

[0032] The print data editing unit 208 edits intermediate data received from the print data generation software 202 or print data processed by the print data generation software 202. For example, in the case of layout printing, the print data editing unit 208 modifies the layout of the intermediate data or print data based on the layout printing settings information received from the OS. Layout printing, for example, involves allocating data for N pages onto one page for printing, and is called Nin1 or N-up (where N represents the number of pages). The print data editing unit 208 can also display a UI screen on the display unit 119, and can display the layout result of the intermediate data or print data as a preview screen. After the print data editing unit 208 edits the print data, the print data is passed to the printing device 102 via the OS. The printing device 102 prints on the paper based on the received print data. If the print data generation software 202 is skipped by the skip control unit 206, the print data editing unit 208 may convert the received intermediate data into print data that the printing device 102 can interpret. Alternatively, you can use the functions provided by the operating system to convert intermediate data into print data.

[0033] Furthermore, the extended application 204 includes a print function extension unit 207. The print function extension unit 207 can edit the print function information 203 (PDC) generated by the print data generation software 202 or the OS. In other words, the print function extension unit 207 can modify the print function information 203 even if it is stored in the external storage device 114 as an immutable file. Thus, the extended application 204 has the function to edit the print function information 203 (PDC). The print function extension unit 207 can add functions provided by the extended application 204. In addition, the print function extension unit 207 can also add functions that are supported by the printing device 102 but not by the print data generation software 202, and add mutual exclusion relationships between print function settings, etc.

[0034] The OS starts the print function extension unit 207 when the extension application 204 is first associated with the printer 102 and the print data generation software 202. Furthermore, the OS may start the print function extension unit 207 at any other time, such as when the OS starts up. This allows the print function extension unit 207 to detect the extension and add it to the print function information 203 in cases where optional equipment (e.g., a finisher) is later added to the printer 102, thereby extending the functions related to printing.

[0035] Furthermore, the extended application 204 has a notification unit 209. The notification unit 209 can display a notification to the user in response to an error occurring in the printer 102. For example, if a no-paper error occurs in the printer 102, the print data generation software 202 detects the error. The OS then uses a notification function called a toast notification, which is a function of the OS, to display a message on the display unit 119. When the user presses this toast notification, the notification unit 209 of the extended application 204 is called by the OS, and the UI screen of the notification unit 209 is displayed. The UI screen of the notification unit 209 can display, for example, a detailed message about the no-paper error or instructions on how to load paper. Note that "pressing" includes not only a click operation with a mouse, but also a touch or tap operation on a touch panel display.

[0036] The configuration of the extended application 204 for realizing this embodiment is not limited to having all of the functions (units) described above, but may have only some of the functions, or have other functions. Also, the extended application 204 is sometimes simply called the printing software. As described above, the extended application 204 has at least one of the following functions. These functions are: a function to display the print settings screen (print settings screen extension unit 205), a function to control whether or not to skip the processing of the print data generation software 202 (skip control unit 206), a function to edit the print data input to the printing device (print data editing unit 208), a function to extend the functions that can be specified in the print data generation software 202 (print function extension unit 207), and a function to display a screen in response to an error occurring in the printing device 102 (notification unit 209).

[0037] <Editing process for PDC using the print function expansion unit> This embodiment describes a method for adding printing functions to the PDC during PDC editing of the print data generation software by the print function expansion unit 207, based on the printing functions supported by the expansion application 204 and the capability information of the printing device 102.

[0038] Figure 3 is a block diagram illustrating the PDC editing process performed by the print function extension unit 207 in this printing system. First, the print data generation software 202 acquires capability information 302 from the printing device 102 connected to the host computer 101, and generates a PDC 203 based on that information. The capability information 302 acquired from the printing device 102 includes information that the user can set as print settings when printing to the printing device 102. When the OS 301 associates the extension application 204 with the print queue for the printing device 102, it requests the print function extension unit 207 of the extension application 204 to edit the PDC 203. When the print function extension unit 207 receives the PDC editing request from the OS 301, it acquires the PDC 203 generated by the print data generation software and starts editing the PDC. Details of the print function extension by PDC editing are described below.

[0039] Figure 4 shows the main processing flow of the PDC editing process performed by the printing function extension unit 207 in this printing system.Hereafter, the printing function extension unit 207 may be described as the main entity for each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program.The symbol "S" in the description of each process indicates a step in that flowchart, and the same applies to the flowcharts from Figure 4 onward.

[0040] The flow shown in Figure 4 begins when the OS301 is activated by starting the print function extension unit 207, for example, when it is first associated with the extended application 204.

[0041] In S401, the printing function expansion unit 207 obtains the PDC203 to be edited from OS301. PDC203 is a PDC created by the printing data generation software 202 based on the capability information 302 of the printing device 102.

[0042] Here, a specific example of a PDC203 created by the print data generation software 202 based on capability information 302 acquired from the printing device 102 will be explained using Figure 5. PDC501 contains information on features supported by the printing device 102, or information on setting values ​​(Options) for certain features, which are supported by the print data generation software 202. For example, information 502 indicates that ISOA4 and NorthAmericaLetter can be specified as PageMediaSize (paper size). Also, information 503 indicates that the Main tray, Rear tray, and Disc tray can be specified as JobInputBin (paper feed slot).

[0043] In describing the embodiments, the printing function is limited to paper size and paper feed slot, but in reality, other features or options such as paper type are also described. Note that the feature names or option names in PDC used in the following description are merely examples, and other names (information indicating the function) or configurable values ​​may also be used.

[0044] Figure 6(a) shows PDC601 as a simplified list of items corresponding to the Features or Options of PDC501 shown in Figure 5, and PDC501 and PDC601 represent the same PDC.

[0045] In S402, the printing function expansion unit 207 acquires capability information 302 from the printing device 102. As explained above, capability information 302 is attribute information indicating the functions that can be specified by the printing device 102 (the capabilities of the printing device) and setting values ​​related to that attribute information. Here, a simplified representation of the capability information 302 acquired by the printing function expansion unit 207 from the printing device 102 is shown in the capability information 602 in Figure 6(b). That is, the capability information 602 acquired from the printing device 102 contains the printing functions or configurable values ​​that the printing device 102 supports. Note that for the sake of simplicity, capability information 602 is illustrated with the same configuration as PDC601, but the actual data configuration is different. Also, as explained above, PDC601 is created by the printing data generation software 202 based on the capability information 602 of the printing device 102, but as shown in Figure 6, the contents of PDC601 and capability information 602 are different. Specifically, the PDC601 does not specify the paper size "square," but the capability information 602 does. This is because the PDC601 is created by taking into account the settings that can be set on the printing device and the settings that can be set on the print data generation software 202 itself.

[0046] In S403, the print function expansion unit 207 obtains a list of print function information (support information) supported by the expansion application 204 from the shared information 210. The list of print function information supported by the expansion application 204 is stored in the shared information 210 and contains all print functions that the expansion application 204 can process, along with their settings. The print function expansion unit 207 refers to the list of print function information supported by the expansion application 204 obtained from the shared information 210. As a result, the print function expansion unit 207 proceeds to add to the PDC 601 any information from the capability information 602 of the printing device 102 that is not listed in the PDC 601. If the print function expansion unit 207 adds a print function or setting that the expansion application 204 does not support to the PDC 601, unexpected behavior may occur if the user selects that print function or setting and prints. To prevent this unexpected behavior, the expansion application 204 needs to maintain a list of supported print function information. The list of printing functions supported by Extension Application 204 may be updated due to updates to Extension Application 204, etc.

[0047] A simplified example of the list of print function information supported by the extended application 204 is shown in Figure 6(c), which is the list of print function information supported by the extended application 603. Although the list of print function information supported by the extended application 603 has the same structure as the simplified example of PDC, such as PDC601, it may be written with the same data structure as PDC, or with a different data structure.

[0048] In S404, the print function expansion unit 207 compares the capability information 602 of the printing device 102 acquired in S402 with the list of print function information 603 supported by the extended application acquired in S403. It then adds the print functions listed in both to the PDC 601 of the print data generation software 202 acquired in S401. Print functions already listed in the PDC 601 are not added. Here, the paper size "square," which is listed in both the capability information 602 of the printing device 102 and the list of print function information 603 supported by the extended application, but is not listed in the PDC 601 created by the print data generation software 202, is added to the PDC 601. A simplified example of the PDC after the print function expansion unit 207 has added the paper size "square" as a result of the processing in S404 is shown in Figure 6(d) PDC 604. When the processing in S404 is completed, the print function expansion unit 207 terminates this flow.

[0049] As described above, through the processing in S401 to S404, the printing function expansion unit 207 edits the PDC601 generated by the printing data generation software and expands the printing functions. Through the printing function expansion processing by the printing function expansion unit 207, the printing functions included in the capability information 302 of the printing device 102 and supported by the expansion application 204 are added to the PDC601 generated by the printing data generation software 202.

[0050] Figure 7 shows the PDC after the printing function has been extended using this flowchart. That is, PDC604 is actually written as PDC701. In PDC701, the paper size "Photo5x5" 702 has been added to the Feature column representing the paper size, compared to PDC 501 generated by the print data generation software 202. The paper size "Photo5x5" written in PDC701 is actually the paper size "Square".

[0051] <Example of a screen displayed by the print settings screen extension unit> Next, the print settings screen displayed by the print settings screen extension unit 205 will be explained using Figure 8. Based on the PDC701 edited by the process in Figure 4, a PC is generated. The print settings screen 801 in Figure 8(a) is an example of a screen displayed by the print settings screen extension unit 205 based on the generated PC. Note that in Figure 8, an example of a print settings screen based on PDC501 will be explained first. An example of a print settings screen based on PDC701 will be described later in Figure 9. The print settings screen extension unit 205 is called from OS301 when the user instructs the display of the print settings screen on the drawing application 201. The print settings screen extension unit 205 displays the print settings screen 801 based on the PC obtained from OS301. By operating the print settings screen 801, the user can specify the print functions that can be set in the print data generation software 202.

[0052] Control 802 is a control item that allows the user to set the type of paper to be used for printing, for example, plain paper or photo paper. Control 803 is a control item that allows the user to set the paper size to be used for printing, for example, A4 or letter. List 810 shown in Figure 8(b) shows the display state when control 803 is expanded, and the user can select the paper size from the expanded list.

[0053] Control 804 is a control that allows setting the paper feed slot for the printer 102, and can be set to items such as the main tray or the rear tray. The list 811 shown in Figure 8(c) shows the display state when control 804 is expanded, and the user can select the paper feed slot from the expanded list.

[0054] Control 805 is a control item that allows you to set the print orientation, and you can set it to portrait or landscape. Control 806 is a control item that allows you to toggle duplex printing on or off. Control 807 is a control item that allows you to set the binding direction when printing duplex, and you can set options such as long edge binding or short edge binding. Control 808 is a cancel button, which closes the screen without saving the settings. Control 809 is an OK button, which saves the settings and closes the screen.

[0055] The print settings screen 901 in Figure 9 shows an example of the print settings screen after the printing functions have been expanded by the editing process in Figure 4. In List 902, which shows the expanded state of the paper size control 803, the paper size "Square," which was added by the editing process in Figure 4, becomes selectable.

[0056] <Editing process of PDC by the printing function extension unit in Embodiment 1> Here, from PDC601 of the print data generation software 202 or the edited PDC604, it can be seen that the print data generation software 202 does not support the paper size "disk," but it does support the paper feed slot "disk." In such cases, the PDC501 generated by the print data generation software 202, or the edited PDC701, will not list the paper size "disk," but will list the paper feed slot "disk." If the paper feed slot "disk" is only printable in combination with the paper size "disk," it is a print function that the user can specify, but even if specified, printing from the paper feed slot "disk" will not be possible, and the paper feed slot "disk" will become an invalid print function. It is desirable to configure the system so that users cannot specify such invalid print functions. If a user selects an invalid print function (for example, the paper feed slot "disk" in 812) on the print settings screen 801 and attempts to print, they will encounter a misprint or a printing error. The following explains how to remove invalid printing functions if invalid printing settings like those described above are listed in PDC601 or PD604.

[0057] First, the PDC501 created by the print data generation software 202 based on the capability information 302 acquired from the printing device 102 consists only of printing functions supported by the print data generation software 202. On the other hand, the printing device 102 has information called media-col-database (print setting combination information), which lists the combinations of print settings that it can print. The capability information 302 includes the print functions that can be set when printing with the printing device 102 or their setting values, while the media-col-database contains information on the combinations of print functions and their setting values ​​that can be printed with the printing device 102.

[0058] A concrete example of media-col-database is shown in Figure 10. media-col-database1001 is a conceptual representation of the information contained in media-col-database, and in reality, it is described in a different structure.

[0059] The media-col-database1001 indicates that printing is possible when the media type, size, margins, and paper feed meet specific combinations. For example, the first line of media-col-database1001 indicates that printing is possible with the combination of paper size "A4", margins "Standard", paper feed "Automatic", and media "Plain Paper".

[0060] Here, media-col-database605 in Figure 6(e) is a simplified representation of media-col-database1001 in Figure 10. For example, (1) indicates that printing is possible when the paper size is "A4" and the paper feed is set to "Automatic". Note that only the paper size and paper feed combination is listed here, but in reality, printing is possible when the margins and media are also set to be compatible. From (7) in media-col-database605, it can be seen that the paper feed "Disk" is only printable when combined with the paper size "Disk". As mentioned above, even in such cases, the paper feed "Disk" is listed in PDC601 or PDC604, and the user can select the paper feed "Disk" on the print settings screen 801. This may cause misprints or printing errors, leading to a decrease in usability.

[0061] This issue is resolved by referencing the media-col-database1001 obtained from the printer 102 when editing the PDC in the print function extension unit 207 of the extended application 204. Specifically, the media-col-database1001 is referenced to detect invalid printing functions, and the PDC is edited to exclude them. The specific processing steps are described below.

[0062] Figure 11 shows the main flow of the printing function extension process and the invalid printing function removal process of the printing function extension unit 207. Hereafter, each step will be explained using examples from Figures 6 and 12.

[0063] This flow begins when the print function extension unit 207 receives a PDC editing request from the OS 301. Furthermore, steps S1101 to S1103 are the same as steps S401 to S403 of the PDC editing processing flow shown in Figure 4, so their explanation is omitted. Examples of the information acquired in steps S1101 to S1103 are the PDC 601 of the print data generation software 202, the PDC 203 of the printing device 102, the capability information 602 of the printing device 102, and the list of print function information 603 supported by the extension application 204, respectively.

[0064] In S1104, the printing function expansion unit 207 obtains the media-col-database from the printing device 102. In this flow, it is assumed that the printing function expansion unit 207 obtains the media-col-database 1001 shown in Figure 10 from the printing device 102. The media-col-database 1001 contains information on the printing functions that can be printed by the printing device 102 and combinations of their setting values. In the following description, we will use the media-col-database 605, which is a simplified list of the media-col-database 1001. In this embodiment, the printing function expansion unit 207 obtains the capability information 302 from the printing device 102 in S1102 and obtains the media-col-database in S1104 in separate steps, but they may be performed in the same step.

[0065] Subsequently, in S1105, the print function expansion unit 207 performs an extension of the print function similar to S404, that is, editing PDC203. Here, the print function expansion unit 207 adds the paper size "square," which matches the capability information 602 of the printing device 102 and the list of print function information 603 supported by the expansion application, to PDC601 of the print data generation software 202. Therefore, the edited PDC601 will look like PDC604.

[0066] After extending the printing functionality, the steps from S1106 to S1108 are repeated until all combinations of the combination information list described in media-col-database605 obtained in S1104 are verified. In the repeated processing from S1106 to S1108, it is verified whether a printing function that satisfies each combination of information described in media-col-database605 is described in PDC604, and invalid printing functions are detected. The specific processing flow is shown below.

[0067] First, in S1106, the print function extension unit 207 obtains a set of combination information from media-col-database605 and determines whether some of the print functions included in the combination information are listed in the PDC604 extended in S1105. For example, (1) in media-col-database605 is a combination of paper size "A4" and paper feed slot "automatic," and since both are listed in PDC604, the determination is No. On the other hand, (7) in media-col-database605 is a combination of paper size "disk" and paper feed slot "disk," but in PDC604, "disk" is only listed for the paper feed slot. In this case, the determination is Yes.

[0068] If the result of the determination is Yes, in S1107, the print function extension unit 207 stores the relevant print function as an invalid print function candidate in the invalid print function candidate list. The invalid print function candidate list is temporarily stored in RAM 113 and is retained during steps S1106 to S1109.

[0069] On the other hand, if the answer is No, the process proceeds to S1108, and if a printing function included in the combination information is stored in the list of invalid printing function candidates as an invalid printing function candidate, that printing function is removed from the list of invalid printing function candidates.

[0070] Steps S1106 to S110 are repeated until all combination information has been verified. In the media-col-database605 example, for combinations (1) to (6), all printing functions that satisfy the combination exist in PDC604, so the process moves to S1108. On the other hand, for combination (7), as mentioned above, the paper size "disk" is not listed in PDC604, so the process moves to S1107, and the paper feed slot "disk" is retained as an invalid printing function candidate. After verifying the combinations up to (7), the paper feed slot "disk" is finally determined to be an invalid printing function. After verifying all combinations, the process moves to S1109, and the printing function expansion unit 207 removes the printing functions that were retained as invalid printing function candidates at this point from the PDC.

[0071] Figure 12 shows a specific example of a PDC after the printing function expansion unit 207 has removed the invalid printing function from PDC701. The word "disk" has been removed from information 1202, which indicates the InputBin, the paper feed slot.

[0072] Figure 13 also shows a simplified representation of the PDC1201 as an example of a PDC. Comparing the PDC1301 and PDC604 in Figure 13, it can be seen that the PDC1301 lacks the paper feed slot "disk" compared to the PDC604.

[0073] Furthermore, Figure 14 shows an example where the invalid printing function "Disk" has been removed from the paper feed list 811 of the print settings screen 801 displayed by the print settings screen extension unit 205 of the extended application 204.

[0074] In the previous section, we used paper size and paper feed slot as examples of combinations that can result in invalid printing functions, but these are not the only combinations that can cause invalid printing functions. For example, invalid printing functions can occur in combinations of "paper type" and "print quality," or in combinations of "paper type" and "paper size." The following section will explain the combination of "paper type" and "print quality."

[0075] The printer's capability information 602 is assumed to list the paper types "plain paper," "photo paper," "glossy gold," and "platinum grade," as well as the print quality "highest," "good," "standard," and "draft." Furthermore, media-col-database 605 is assumed to state that printing is only possible with the paper type "platinum grade" and the print quality "highest." Additionally, the print function information list 603 supported by the print data generation software PDC 601 and its extension applications does not list the paper type "platinum grade," but does list the printing functions for other paper types. Specifically, it is assumed that the paper types "plain paper," "photo paper," and "glossy gold," as well as the print quality "highest," "good," "standard," and "draft," are listed.

[0076] In this case, the "Platinum Grade" paper type is not added to PDC604, which is an enhanced version of the print data generation software PDC601 created by the extended application 204. This is because "Platinum Grade" is listed in the capability information 602, but not in the list of print function information 603 supported by the extended application. On the other hand, if the "Highest Quality" paper quality is not originally listed in PDC601, it will be added in PDC604. Since the "Platinum Grade" paper type and "Highest Quality" print quality are settings for print functions that can only be printed with this combination, the "Highest Quality" print quality listed in the enhanced PDC604 becomes an invalid print function. Even if a user sets the print quality to "Highest Quality" and prints, the actual printed material will not be of "Highest Quality," or a print error will occur. By applying this embodiment, this invalid print function, "Highest Quality," is removed, making it possible to prevent users from encountering misprints or print errors.

[0077] This embodiment can be applied to other examples as appropriate. For example, the combination of paper type "Fine Art" and paper size "For Fine Art" is a printing function that can only be printed with this combination, and it is a combination that may result in invalid printing functions. As described above, by applying this embodiment, it is possible to eliminate the existence of invalid printing functions that occur even with the combination of paper type "Fine Art" and paper size "For Fine Art".

[0078] As described above, this embodiment makes it possible to provide better functionality as an extended application. Specifically, when editing a PDC using the extended application, it becomes possible to add printing functions to the PDC generated by the print data generation software based on the printing functions supported by the extended application 204 and the capability information of the printer 102. Furthermore, it becomes possible to delete invalid printing functions that arise from PDC generation by the print data generation software 202 and PDC editing by the extended application. By deleting invalid printing functions, for example, it becomes possible to prevent users from setting invalid printing functions and encountering misprints or printing errors.

[0079] <<Embodiment 2>> Next, Embodiment 2 will be described. There are various triggers that the OS can use to request PDC editing from extended applications, but depending on the trigger, there may be cases where PDC editing is unnecessary. When an extended application edits a PDC, it incurs a certain processing load, such as acquiring the PDC from the printing device, so it is desirable to avoid unnecessary PDC editing.

[0080] In this embodiment, when the extended application 204 receives a PDC editing request from the OS 301, it obtains the reason for the PDC editing request from the OS 301. This allows the application to determine whether PDC editing is necessary and reduces the processing load by skipping unnecessary PDC editing.

[0081] Figure 15 is a table showing the triggers for OS301 to request PDC editing and whether PDC editing is necessary in those situations. As shown in Table 1501, there are four examples of cases in which PDC editing is necessary. The first case is when the host computer 101 and the printer 102 are newly connected and the print data generation software 202 creates a new PDC 203. The second case is when the PDC 601 of the print data generation software 202 is updated due to an OS301 version upgrade, etc. The third case is when the capabilities information 602 and media-col-database 605 of the printer 102 are updated due to an update of the printer 102, etc. The fourth case is when the list of print function information 603 supported by the extended application 204 is updated due to an update of the extended application 204, etc.

[0082] In the first case, the PDC203 newly created by the print data generation software 202 is not in an extended state, so PDC editing is necessary. Similarly, in the second to fourth cases, PDC editing is necessary for each respective reason. Furthermore, even in cases other than the second to fourth, if OS301 receives a PDC editing request based on a trigger that may allow for the addition of new printing functions to an existing PDC, or may result in the creation of new invalid printing functions, PDC editing will be necessary.

[0083] Furthermore, if OS301 receives a PDC editing request based on a trigger that does not create the possibility of adding new printing functions to an existing PDC or creating new invalid printing functions, then PDC editing is unnecessary. An example of such a case is when OS301 issues a PDC editing request when the user displays the print settings screen or starts printing.

[0084] <Editing process of PDC by the printing function extension unit in Embodiment 2> Figure 16 shows the main processing flow of the PDC editing process performed by the printing function extension unit 207 in this embodiment. From S1602 onward, the flow is the same as S1101 to S1109 in the main processing flow diagram of the PDC editing process performed by the printing function extension unit 207 in Embodiment 1. Therefore, the explanation from S1602 onward is omitted.

[0085] In S1601, the print function extension unit 207 obtains a PDC editing request reason from OS301 and determines whether PDC editing is necessary. The PDC editing request reason obtained from OS301 is assumed to include trigger information that caused OS301 to request PDC editing. The print function extension unit 207 determines that PDC editing is necessary if the PDC editing request reason obtained from OS301 falls under the category of "Cases where PDC editing is necessary" in Table 1501. The print function extension unit 207 determines that PDC editing is unnecessary if the PDC editing request reason obtained from OS301 falls under the category of "Cases where PDC editing is not necessary" in Table 1501. If the print function extension unit 207 determines in S1601 that PDC editing is necessary, it proceeds to S1602 and continues the subsequent processing. If it determines that PDC editing is not necessary, it skips the subsequent processing and terminates this flow.

[0086] As described above, the printing function extension unit 207 obtains the reason for the PDC editing request from OS301 and determines whether PDC editing is necessary. This allows unnecessary PDC editing to be skipped, thereby reducing the processing load during PDC editing.

[0087] <<Embodiment 3>> Next, Embodiment 3 will be described. Similar to Embodiment 2, this embodiment also has a configuration in which the extended application 204 determines whether or not PDC editing is necessary and skips unnecessary PDC editing to reduce the load on the PDC editing process. Embodiment 3 differs from Embodiment 2 in that the extended application 204 determines whether or not PDC editing is necessary. Below, a specific example of how the extended application 204 determines whether or not PDC editing is necessary in Embodiment 3 will be described.

[0088] The cases in which PDC editing is necessary include, for example, the four cases described in Embodiment 2. In this embodiment, these new connections or updates to various information are detected by taking the difference between them and the cache information stored in the shared information 210 of the extended application 204, and a determination is made as to whether PDC editing is necessary.

[0089] Figure 17 shows the data structure 1701, which illustrates the data structure of cache information. For simplicity, the PDC 601 of the print data generation software 202, the print device capability information 602, the list of print function information supported by the extended application 603, and the media-col-database 605 are referred to here as "information used for caching."

[0090] In order for the printing function extension unit 207 to store "information used for caching" as cache information in the shared information 210, it is necessary to check the print queue identification information. Print queue identification information is information that identifies which print queue the "information used for caching" is associated with. In this embodiment, since the printing device 102 is associated with the print queue, the print queue identification information is, in other words, information that identifies which printing device 102 the "information used for caching" is associated with. In this embodiment, the printing function extension unit 207 is capable of obtaining the print queue identification information from the OS 301. By obtaining the "print queue identification information" from the OS 301, the printing function extension unit 207 combines the "print queue identification information" and the "information used for caching" related to it to create "cache information" in a data structure such as data structure 1701. That is, "cache information" is information that includes "print queue identification information" and "information used for caching".

[0091] In this embodiment, when the print function extension unit 207 performs PDC editing, the aforementioned cache information is stored in the shared information 210 of the extension application 204. Subsequently, when a PDC editing request is received from the OS 301, the difference between the newly acquired "information used for caching" and the cache information stored in the shared information 210 is used to determine whether PDC editing is necessary.

[0092] <Editing process of PDC by the printing function extension unit in Embodiment 3> Figure 18 shows the main processing flow of the PDC editing process performed by the printing function extension unit 207 in Embodiment 3. Steps S1801 to S1804 are the same as steps S1101 to S1104 in Figure 11. Also, steps S1810 to S1814 are the same as steps S1105 to S1109. Therefore, explanations of processes other than S1805 to S1809 are omitted.

[0093] In S1805, the print function extension unit 207 obtains information from OS301 to identify which print queue the PDC to be edited is associated with. In other words, the print function extension unit 207 obtains print queue identification information from OS301. Furthermore, by obtaining print queue identification information here, the print function extension unit 207 can create the cache information mentioned above. Using this cache information, the print function extension unit 207 can determine whether or not PDC editing is necessary.

[0094] Next, in S1806, the print function extension unit 207 determines whether the cache information associated with the print queue obtained from OS301 in S1805 is stored in the shared information 210 of the extension application 204. If the result of the determination is Yes, the process proceeds to S1807; otherwise, it proceeds to S1808.

[0095] In S1807, the print function extension unit 207 determines whether there is a difference between the created cache information and the cache information associated with the print queue. If there is a difference in any of the information, the print function extension unit determines it as Yes and proceeds to S1809. On the other hand, if there is no difference, it determines it as No and terminates this flow.

[0096] In S1808, the print function extension unit 207 saves a new cache. Specifically, it stores the print queue identification information obtained from OS301 in S1805 and the "information used for caching" obtained in S1801 to S1804 as cache information in the shared information 210. After that, the print function extension unit 207 continues the PDC editing process from S1810 onwards.

[0097] In S1809, the print function extension unit 207 updates the cache information for any information that has been determined to have a difference among the "information used for caching". After that, the PDC editing process continues.

[0098] The above describes the method for PDC editing processing in this embodiment. Here, in addition to this embodiment, an example of further speeding up the PDC editing process by utilizing the PDC editing request reason obtained from OS301 as described in Embodiment 2 will be described. As explained in Embodiment 2, when the extended application 204 receives a PDC editing request from OS301, the print function extension unit 207 can determine whether or not PDC editing is necessary by obtaining the PDC editing request reason from OS301.

[0099] Here, we assume that the reason for the PDC editing request obtained from OS301 is an update of any of the "information used for caching" described in Embodiment 3. In this case, the print function extension unit 207 can skip the process of obtaining information for information that has not been updated by using the cached information stored in the shared information 210. A specific example will be explained below.

[0100] Consider the case where the extended application 204 receives a PDC editing request from the OS 301, and the reason is "the PDC 601 of the print data generation software 202 has been updated." Here, the print function extension unit 207 obtains print queue identification information associated with the PDC to be edited from the OS 301, similar to the process in S1805. Then, the print function extension unit 207 determines whether cache information using the print queue identification information obtained from the OS 301 as a key is stored in the shared information 210. If such cache information exists, the print function extension unit 207 can obtain only the PDC 601 of the print data generation software 202 and refer to the cache information for other information. In other words, it becomes possible to skip the processes in S1802, S1803, and S1804.

[0101] As described above, according to this embodiment, the print function extension unit 207 can create a cache of various information used for PDC editing by obtaining print queue identification information associated with the PDC to be edited from the OS 301. The print function extension unit 207 can determine whether or not PDC editing is necessary by taking the difference between the created cache information and the newly acquired information used for PDC editing, and can reduce the processing load by skipping unnecessary PDC editing. Furthermore, by utilizing the PDC editing request reason obtained from the OS 301 as described in Embodiment 2, it is possible to further reduce the processing load.

[0102] <<Other Embodiments>> The present invention can also be realized by supplying a program that implements one or more of the functions of the above-described embodiments to a system or device via a network or storage medium, and by having one or more processors in the computer of that system or device read and execute the program. It can also be realized by a circuit (e.g., an ASIC) that implements one or more functions. [Explanation of symbols]

[0103] 102 Printing device 202 Print Data Generation Software 203 PDC 204 Extended Applications 207 Printing Function Expansion Unit

Claims

1. An application program for expanding the functionality of print data generation software for generating print data, the application program being installed in a computer of an information processing device, An acquisition process for acquiring information on a plurality of functions of the printing device; a display process for displaying a print setting screen based on at least a part of the information acquired in the acquisition process; a control process for controlling so that a second function that can be used only in combination with a first function that is not supported by the application program is not displayed on the print setting screen among the plurality of functions; An application program for executing the following:

2. The application program according to claim 1, characterized in that the control process controls so that the second function is not displayed on the print setting screen by editing specified information generated from the information acquired in the acquisition process.

3. The application program described in Claim 2, characterized in that the specified information is edited by the application program.

4. 4. The application program according to claim 1, wherein the print data generating software is software for performing communication according to the Internet Print Protocol.

5. 5. The application program according to claim 4, wherein the print data generating software is an Internet Print Protocol Class Driver.

6. the print data generation software is software provided by a vendor of an operating system of the information processing device; 6. The application program according to claim 1, wherein the application program is provided by a vendor that provides the printing device.

7. An application program as described in any one of claims 1 to 6, characterized in that information on the multiple functions is obtained from the printing device.

8. An application program for expanding the functionality of print data generation software for generating print data, the application program being installed in a computer of an information processing device, An acquisition process for acquiring information on a plurality of functions of the printing device; a display process for displaying a print setting screen based on at least a part of the information acquired in the acquisition process; a control process for controlling so that a second setting value that can be used only in combination with a first setting value that is not supported by the application program among the plurality of functions is not displayed on the print setting screen; An application program for executing the following:

9. The application program described in Claim 8, characterized in that the control process controls so that the second setting value is not displayed on the print setting screen by editing specified information generated by the information acquired in the acquisition process.

10. The application program according to claim 9, wherein the specified information is edited by the application program.

11. The application program according to claim 8, wherein the print data generation software is software for performing communication according to the Internet Print Protocol.

12. The application program according to claim 11, wherein the print data generation software is an Internet Print Protocol Class Driver.

13. The print data generation software is software provided by a vendor of an operating system of the information processing device, 13. The application program according to claim 8, wherein the application program is provided by a vendor that provides the printing device.

14. The first setting value is a setting value for setting a square as a sheet size, 14. The application program according to claim 8, wherein the second setting value is a setting value for setting a disk as a sheet feed source.

15. The first setting value is a setting value for setting a platinum grade as a type of sheet, 14. The application program according to claim 8, wherein the second setting value is a setting value for setting the highest print quality.

16. An application program as described in any one of claims 8 to 14, characterized in that information on the multiple functions is obtained from the printing device.

17. A control method by an application program that extends the functionality of print data generation software that generates print data, comprising: An acquisition process for acquiring information on a plurality of functions of the printing device; a display process for displaying a print setting screen based on at least a part of the information acquired in the acquisition process; a control process for controlling so that a second function that can be used only in combination with a first function that is not supported by the application program is not displayed on the print setting screen among the plurality of functions; The control method includes: