Information processing device and program
An integrated expansion application enhances print data generation software by providing extended functions like layout and preview, addressing the limitations of standard specifications to customize printing devices effectively.
Patent Information
- Application Number
- JP2024115544
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2038-07-05
AI Technical Summary
Print data generation software conforming to standard specifications lacks the ability to optimally customize printing devices, limiting the use of advanced functions provided by printer vendors.
Implementing an integrated expansion application that acquires and activates at different timings to provide extended functions, including a print setting screen, layout processing, and print preview, while ensuring consistency checks do not edit setting information for extended functions.
Enables the use of advanced printing functions such as layout and preview, enhancing the capabilities of print data generation software without altering the standard functionality, allowing seamless integration with various printing devices.
Smart Images

Figure 2024147746000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device and a program. [Background technology]
[0002] Print data generation software conforming to standard specifications has the advantage that users can achieve printing without installing device-specific print data generation software. On the other hand, it is not possible to customize the software to suit the device. Therefore, there is a mechanism for extending the functions of print data generation software using a vendor-specific extension application. In Windows (registered trademark), there is an extension application called Windows Store Device App (WSDA) as an extension application for extending functions that are lacking in a printer driver. Patent Document 1 discloses that a vendor that provides a printing device provides WSDA to customize a print setting screen when printing is performed from a drawing application. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-16480 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the functionality provided by WSDA is still limited. In view of this problem, the present invention has an object to provide better functionality as an extension application of print data generation software. [Means for solving the problem]
[0005] An information processing device of one embodiment of the present invention is an information processing device comprising print data generation software acquired at a first timing and an extension application different from the print data generation software acquired at a second timing different from the first timing, and comprising a generation means for generating setting information based on information inputted into a setting screen provided by the extension application, and an execution means for executing an extension function provided by the extension application based on the generated setting information, wherein information regarding the extension function is processed so as not to be edited by the OS, and print data is generated by the print data generation software based on the setting information. Effect of the Invention
[0006] The present invention makes it possible to provide better functionality as an extended application of print data generation software. [Brief description of the drawings]
[0007] [Figure 1] FIG. 1 is a block diagram showing a hardware configuration of a printing system. [Diagram 2] FIG. 4 is a block diagram for explaining a data flow in printing. [Diagram 3] FIG. 4 is a schematic diagram for explaining a screen for performing print settings. [Figure 4] FIG. 4 is a schematic diagram for explaining layout printing. [Diagram 5] Schematic diagram of a user interface of a print preview function. [Figure 6] 11A and 11B are diagrams showing an example of capability information and print setting information that do not include extended functions. [Figure 7] 6A and 6B are diagrams showing an example of capability information including an extended function and print setting information. [Figure 8] FIG. 11 is a diagram showing print setting information after a consistency check of the print settings is performed. [Figure 9] FIG. 4 is a diagram showing an example of print setting information according to the first embodiment. [Figure 10] 6 is a flowchart showing the process of the print data generating software. [Figure 11] 6 is a flowchart showing the process of the print data generating software. [Figure 12] 6 is a flowchart showing the process of the print data generating software. [Figure 13] FIG. 11 is a diagram showing an example of description of capability information in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the present invention, and not all of the combinations of features described in the embodiments are essential to the solution of the present invention. Note that the same components are given the same reference numbers and descriptions are omitted.
[0009] <<Embodiment 1>> <Printing system hardware configuration> 1 is a block diagram showing the hardware configuration of a printing system. In this diagram, a host computer 101 is an example of an information processing device, and has an input interface 110, a CPU 111, a ROM 112, a RAM 113, an external storage device 114, an output interface 115, and an input / output interface 116. In addition, input devices such as a keyboard 118 and a pointing device 117 are connected to the input interface 110, and a display device such as a display unit 119 is connected to the output interface 115.
[0010] An initialization program is stored in the ROM 112, and a group of application programs such as a drawing application, an operating system (OS), print data generation software, and various other data are stored in the external storage device 114. The RAM 113 is used as a work memory or the like when the various programs stored in the external storage device 114 are executed.
[0011] In this embodiment, the CPU 111 executes processes according to the procedures of the program stored in the ROM 112, thereby executing functions of the host computer 101 described below and processes related to the flowcharts described below. The printing device 102, which is a device, is connected to the host computer 101 via an input / output interface 116. Here, the host computer 101 and the printing device 102 are configured separately, but they may be configured as one information processing device. Also, the printing device will be described taking an inkjet printer that prints by ejecting ink onto a paper surface as an example, but printing may be performed by other methods (for example, electrophotography). The host computer 101 may be a desktop personal computer, a smartphone, or a notebook computer.
[0012] <Need for extended applications> Here, we will explain the necessity of the extended application. Conventionally, printer vendors created printer drivers for each device (printing device), and users had to install a printer driver suitable for the device. In contrast, there are generic drivers that can run on multiple devices. In recent years, OS vendors have provided generic drivers that conform to standard specifications, and printer vendors that provide printing devices have created devices (printing devices) that conform to standard specifications, making it possible to print without installing the printer vendor's own printer driver. In addition, as printing environments become more diverse, there are also environments where printer drivers cannot be installed (such as smartphones) where printing is performed using a print data generation application that generates print data in accordance with standard specifications. Hereafter, generic printer drivers and print data generation applications will be described as "print data generation software."
[0013] Since such print data generation software conforms to standard specifications, it has the advantage that printing can be realized without the user having to install device-specific print data generation software. On the other hand, it is not possible to customize the device to its optimum. In particular, the print data generation software provided with the OS is equipped with only the minimum functions, so it is not possible to use sufficient functions to utilize the printing device provided by the printer vendor. Therefore, in this embodiment, an extended function is provided using an extended application. The extended application of this embodiment is started before a print instruction by a user to display a print setting screen, and is further started after the print instruction to provide functions involving editing of print setting information and intermediate data, and display of a UI (User Interface). In this way, it has multiple functions such as customizing the print setting screen and editing of intermediate data, and is started multiple times at different times such as before and after a print instruction. Therefore, in the following description, the extended application of this embodiment is also called an integrated extended application. The processing flow of this embodiment will be described below.
[0014] <Printing data flow> Fig. 2 is a diagram for explaining the data flow in printing. Fig. 2(a) is a diagram showing the data flow when the integrated extension application 203 is not associated with any of the drawing application 201, the print data generation software 202, and the printing device 102. The drawing application 201 is software that creates content data to be printed (drawing data such as images and text information that are the source of printing on paper), and is also called a content generation application. The drawing application 201 corresponds to, for example, a word processing application, a spreadsheet application, a presentation application, etc.
[0015] When issuing a print instruction, the user inputs desired print settings using a print setting screen provided by the OS (not shown) or print data generation software 202, which is displayed via a screen provided by the drawing application 201. The user then returns to the screen provided by the drawing application 201 and issues a print instruction using the screen provided by the drawing application 201. At this time, when the print setting screen is closed by the user or when a print instruction is issued, the drawing application 201 uses the OS function to check the consistency of the print settings.
[0016] Thereafter, the OS generates intermediate data (also called input data) based on the drawing data generated by the drawing application 201 in response to a print instruction from the user, and passes the intermediate data to the print data generation software 202. Note that the format of the intermediate data is assumed to be data in XML Paper Specification format (data in XPS format). However, the format of the intermediate data in this embodiment may be data in Graphic Device Interface format (data in GDI format). Furthermore, the format of the intermediate data may be data in a format other than the XPS format or the GDI format. Furthermore, depending on the type of the drawing application 201, the drawing application 201 itself may generate intermediate data. That is, the drawing application 201 may generate intermediate data based on the drawing data, and the intermediate data may be sent to the print data generation software 202 via the OS. Furthermore, the OS may modify the intermediate data in XPS format generated by the drawing application 201 to generate new intermediate data in XPS format.
[0017] The print data generation software 202 generates print data (also called print commands) that can be interpreted by a printing device based on the intermediate data, and sends it to the printing device 102. The print data software 202 generates print data that can be used for printing devices of multiple printer vendors. In other words, whether the printing device is from vendor A or vendor B, printing can be performed using print data generated by the same print data software 202. The printing device 102 prints on paper based on the print data sent from the print data generation software 202.
[0018] Next, FIG. 2B is a diagram showing a data flow when the integrated extension application 203 is associated with the print data generation software 202. The print data generation software 202 of this embodiment is software that is included in the OS in advance. That is, the print data generation software is also available at the stage when the OS is installed in the host computer 101. On the other hand, the integrated extension application 203 is software that is not included in the OS in advance. That is, the integrated extension application 203 is not installed at the stage when the OS is installed in the host computer 101. Therefore, the user needs to operate the host computer 101 to download the integrated extension application 203 from a predetermined server via a network such as the Internet and install it. Also, when the printing device 102 is connected to the host computer 101, the CPU 111 may obtain device identification information of the printing device 102 from the printing device 102 and obtain the integrated extension application 203 using the obtained device identification information. That is, the integrated extension application 203 corresponding to the device identification information obtained from the printing device 102 may be downloaded from a predetermined server via a network such as the Internet and installed.
[0019] In this way, the print data generation software 202 and the integrated extension application 203 are acquired at different times and stored as separate files in the host computer 101. The print data software 202 and the integrated extension application 203 may be updated and upgraded. However, this update process is also performed at different times. When the integrated extension application 203 is installed, the OS associates (links) the print data generation software 202 and the integrated extension application 203. The integrated extension application 203 may be linked to the printing device 102. In particular, when the integrated extension application 203 is downloaded using device identification information, it can be said that the integrated extension application 203 and the printing device 102 are linked by the device identification information.
[0020] The integrated extension application 203 described in this embodiment includes a print setting screen extension unit 204, a layout extension unit 205, and a preview unit 206. The print setting screen extension unit 204 provides a print setting screen for allowing a user to input print settings. The layout extension unit 205 performs layout processing on intermediate data before the print data generation software 202 processes it. Specifically, the layout extension unit 205 provides a layout printing function (also called an Nin1 function or an Nup function) for arranging and printing a plurality of pages generated by the drawing application 201 on the surface of one sheet of paper. For example, the layout extension unit 205 arranges two pages of data and performs layout processing on one page. The preview unit 206 can perform at least one of display and editing based on the print data generated by the print data generation software 202.
[0021] The operation of the integrated extension application 203 may be terminated each time the processing of each unit is completed. In that case, the OS will launch the integrated extension application 203 each time a request to use each unit is received. Other configurations are also possible. For example, when the processing of the print setting screen extension unit 204 is completed, the OS will terminate the operation of the extension application 203, but the OS may leave the extension application 203 running even after the processing of the layout extension unit 205 is completed.
[0022] Further, each unit of the integrated extension application 203 can display a UI, but may not display a UI. For example, the layout extension unit 205 may only edit intermediate data without displaying a UI, and output the edited intermediate data to the print data generation software 202. If the layout extension unit 205 can display a UI, for example, a preview screen including a preview image and a control item for changing print settings based on the intermediate data may be displayed. It goes without saying that the configuration of the integrated extension application 203 for realizing the present invention is not limited to one having all of the above-mentioned functions, and may have only a part of the functions or other functions. As described above, it can be said that the extension application 203 has at least one of the functions of displaying a setting screen, the function of editing intermediate data input to the print data generation software, and the function of displaying print data.
[0023] When instructing printing, the user first issues an instruction to input print settings on a screen provided by the drawing application 201. In response to this instruction, the integrated extension application 203 starts up and a print setting screen provided by the print setting screen extension unit 204 is displayed. The user inputs desired print settings using this print setting screen.
[0024] FIG. 3 is an example of a print setting screen provided by the print setting extension unit 204 of the integrated extension application 203. As shown in FIG. 2(a), when the integrated extension application 203 is not associated with the print data generation software 202, a standard print setting screen provided by the OS or the print data generation software 202 is generally used. In this standard print setting screen, only the functions provided by the print data generation software 202 can be set. In contrast, the print setting screen provided by the integrated extension application 203 also allows the setting of the extended functions provided by the integrated extension application 203. The extended functions are functions that the print data generation software 202 does not have, and indicate functions that the integrated extension application 203 can provide. In the example of FIG. 3, it is possible to set the layout printing provided by the layout extension unit 205 and the print preview function provided by the preview unit 206. That is, the print setting screen provided by the integrated extension application 203 of this embodiment includes, as display items for setting the extended functions, a control item that can set the layout printing and a control item that can set the display of the print preview screen. However, the integrated extension application 203 of the present embodiment may be capable of setting a stamp function, etc., in addition to these two extended functions. In other words, a control item capable of setting a stamp function, etc., may be displayed on the print setting screen. The extended functions that the integrated extension application 203 can provide may be determined when the integrated extension application 203 is installed. In that case, the extended functions that can be provided are determined according to the type of the host computer 101 or the connected printing device 102. It is also possible that the extended functions that can be provided are determined after the integrated extension application 203 is installed. In that case, the integrated extension application 203 communicates with the connected printing device 102, and the extended functions that can be provided are determined according to the type of the printing device 102 and the functions provided therein. Specifically, information on at least one of the type of the printing device 102 and the functions provided therein is obtained, and the extended functions that can be provided are determined.
[0025] The drawing application 201 acquires default print setting information (information indicating print settings) generated by the OS, and passes this print setting information to the print setting expansion unit 204 when the print setting expansion unit 204 is started. The print setting expansion unit 204 edits the acquired print setting information when the print setting screen is closed by a user instruction or when a change in print settings is instructed in the print setting screen. Specifically, based on input information input by the user on the print setting screen, the acquired print setting information is edited to generate new print setting information (information indicating print settings). Details of the process related to the generation of print setting information will be described later with reference to FIG. 10. This print setting information is included in data called PrintTicket, which is described in XML format based on a format defined by the OS. However, the print setting information of this embodiment is not limited to PrintTicket (hereinafter, may be written as "PT"), and may be in another format. In addition, the print setting expansion unit 204 may acquire default print setting information generated by the OS, reflect input information by the user on the default print setting information, and generate (edit) new print setting information. The print setting extension unit 204 returns the generated PT to the drawing application 201 .
[0026] Thereafter, the drawing application 201 uses the functions of the OS to request the OS to check the consistency of the PT. That is, the OS checks the consistency of the PT based on an instruction from the drawing application 201. This consistency check will be described later with reference to FIGS. 6 to 9.
[0027] After the consistency check, the OS returns the PT to the drawing application 201. When a print instruction is given by the user on the screen provided by the drawing application 201, the OS generates intermediate data based on the print instruction. The OS also starts up the layout extension unit 205 of the integrated extension application 203. Note that the intermediate data in this embodiment includes drawing data generated by the drawing application 201 and a PT, which is print setting information. The intermediate data is in the XML Paper Specification format (XPS format data). However, the intermediate data in this embodiment may be in the Graphic Device Interface format (GDI format data). Furthermore, the intermediate data may be in a format other than the XPS format or the GDI format. Depending on the type of the drawing application 201, the drawing application 201 itself may generate intermediate data. That is, the drawing application 201 may generate intermediate data based on drawing data, and the intermediate data may be sent to the print data generation software 202 via the OS. Furthermore, the OS may modify the XPS format intermediate data generated by the drawing application 201 to generate new XPS format intermediate data.
[0028] The layout extension unit 205 acquires the generated intermediate data and edits the intermediate data based on the PT in the intermediate data. FIG. 4 is a diagram showing an outline of the layout printing function provided by the layout extension unit 205 of the integrated extension application 203. In the layout printing, the layout is performed so that multiple pages in the print data are arranged on one sheet of paper. In the example of FIG. 4, two-page printing is set, and the layout extension unit 205 generates data 403 in which two consecutive pages 401 and 402 are arranged on one page. For simplification, in this embodiment, the layout extension unit 205 is described below as having only layout functions for two-page printing and four-page printing as the layout printing function. However, in reality, it is also possible to set more pages to be arranged on one sheet of paper. Details of the editing process of the intermediate data in the layout extension unit 205 will be described later with reference to FIG. 11. The layout extension unit 205 outputs the edited intermediate data to the print data generation software 202.
[0029] The print data generation software 202 executes processing for functions other than the extended functions (functions that the print data generation software 202 can provide) based on the PT in the acquired intermediate data. The print data generation software 202 then generates print data (also called print commands) in a format that can be interpreted by the printing device. The print data software 202 generates print data that can be used for printing devices of multiple printer vendors. In other words, whether the printing device is from vendor A or vendor B, printing can be performed using print data generated by the same print data software 202.
[0030] The print data generation software 202 outputs the generated print data and the PT in the intermediate data acquired from the layout extension unit 205. Next, the OS starts up the preview unit 206 of the integrated extension application 203.
[0031] The preview unit 206 acquires the print data and the PT generated by the print data generation software 202, and displays a print preview. After the user confirms that the print result is the desired result through the print preview, the user instructs the start of printing through the UI screen of the print preview. FIG. 5 is an example of a print preview screen provided by the preview unit 206 of the integrated extension application 203. The display item 501 is a control item for changing the page displayed on the print preview. The user can change the displayed page by using this control item. In addition, the total number of pages to be printed with the current print data and print settings can also be confirmed. The display item 502 is a print preview screen that shows an image of the print result of the specified page. The display item 503 is a button for starting printing. The display item 504 is a cancel button, and when the user presses this button, the subsequent print processing is canceled. In addition, in the screen of FIG. 5, a control item for changing the print settings may be displayed together with the print section review screen. For example, control items that enable changing the settings shown in Fig. 3 (print orientation, borderless printing settings, double-sided printing settings, layout printing settings, etc.) may be displayed. Detailed processing of the preview unit 206 will be described later with reference to Fig. 12. The preview unit 206 receives a print start instruction from the user and outputs print data.
[0032] The print data output from the preview unit 206 is sent to the printing device 102. The printing device 102 prints on paper based on the print data sent from the print data generation software 202. With the above configuration, the user can use the layout function and print preview function that the print data generation software 202 does not have, by using the integrated extension application 203. The above is an outline of the print processing flow configuration of this embodiment. Details of each process will be explained below.
[0033] <Processing of the print setting screen extension unit 204> The details of the print setting information generation process in the print setting screen expansion unit 204 will be described with reference to FIG. 10. FIG. 10 is a flowchart showing the process performed by the print setting screen expansion unit 204. Hereinafter, the print setting screen expansion unit 204 may be described as the subject of each process, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program (integrated extension application 203). Note that not all processes are necessarily executed sequentially on one process, and there may be cases where the process is transferred to the OS side once and is called again from the OS. This is merely a flow showing the main processes of the editing application 205 in an easy-to-understand manner for the sake of convenience.
[0034] First, the print setting screen extension unit 204 displays a print setting screen as shown in Fig. 3 in response to a user instruction via a screen provided by the drawing application 201. The print setting screen provided by the print setting screen extension unit 204 also enables setting of extended functions provided by the integrated extension application 203.
[0035] Then, in S1001, the print setting screen extension unit 204 acquires input information input by the user on the print setting screen. Then, in S1002, the print setting screen extension unit 204 determines whether the integrated extension application 203 provides functions (i.e., extended functions) other than the standard functions provided by the print data generation software 202. Extended functions include not only extension of setting items, but also cases where the options selectable for a standard setting item are expanded from the standard. If the integrated extension application 203 provides extended functions, the process proceeds to S1004, and if the integrated extension application 203 does not provide extended functions, the process proceeds to S1003.
[0036] In order to explain the extended functions, the functions (standard setting functions) provided by the print data generation software 202 will be described with reference to FIG. 6. Capability information 601 in FIG. 6 is an example of capability information indicating the functions provided by the print data generation software 202. This capability information 601 describes the functions that can be set by the print data generation software 202 in an XML format based on a format defined by the OS, and is called PrintCapabilities (hereinafter, sometimes written as "PC"). The print setting screen extension unit 204 provides a print setting screen based on the information described in this PC. Note that, in this example, the print data generation software 202 is assumed to have functions of paper type and print orientation as setting items of the standard setting functions. In other words, the PC includes a paper type setting (corresponding to the item with "MediaType" written in "Feature") and a print orientation setting (corresponding to the item with "Orientation" written in "Feature"). The print data generation software 202 also includes options for the paper type setting item, including plain paper ("Option" with "Plain" written on it) and photo paper ("Option" with "PhotoPaper" written on it). Options for the print orientation setting item, including portrait ("Option" with "Portrait" written on it) and landscape ("Option" with "Landscape" written on it). Note that the standard setting functions of the print data generation software 202 actually include other standard setting functions (such as paper size setting) than the above two, but to simplify the explanation, standard setting functions other than the above two are omitted here.
[0037] If NO is determined in S1002, the integrated extension application 203 does not provide extended functions. This means that there are no settings (i.e., extended function settings) other than those described in the capability information 601 in FIG. 6. In this case, in S1003, the print setting screen extension unit 204 creates a normal PT as shown in the print setting information 602 in FIG. 6. In other words, the items set for the paper type and print orientation, which are standard setting functions, are input into the PT. The print setting information 602 in FIG. 6 shows a PT when "PhotoPaper" is set as the paper type and "Portrait" is set as the print orientation.
[0038] On the other hand, if the result of S1002 is YES, the integrated extension application 203 provides an extension function. That is, it means that there is a setting (that is, an extension function setting) other than the function described in the capability information 601 in FIG. 6. In this case, in S1004, the print setting screen extension unit 204 generates a PT shown in FIG. 9. That is, a parameter called "Extension" is provided, and the extension function is described in this parameter called "Extension". Specifically, as shown in FIG. 9, the item of the layout print function (Feature of JobNUpAllDocumentsContiguously) which is an extension function and its option, the 4in1 setting (Option of PagesPerSheet_4), are described in "Extension". Furthermore, the setting item of the print preview function (Feature of JobPreview) which is also an extension function and its option, the ON setting, are described in "Extension". Setting functions other than the extension function (standard setting functions) are described normally, as in FIG. 6.
[0039] In S1005, the print setting screen expansion unit 204 outputs the PT generated in S1003 or S1004 to the drawing application 201.
[0040] In the above example, in S1002, the print setting screen extension unit 204 determines whether the integrated extension application 203 provides an extension function, but this embodiment is not limited to this. For example, the print setting screen extension unit 204 may determine whether the input information acquired in S1001 includes information about the extension function. In this case, if the input information includes information about any of the extension functions, the process proceeds to S1004. Also, if the input information acquired in S1002 does not include information about any of the extension functions, the process proceeds to S1003.
[0041] <Print settings consistency check> Next, the print setting consistency check performed after S1005 will be described. The drawing application 201 that has acquired the PT uses the functions of the OS to check the consistency of the print settings from the capability information of the print data generation software 202 and the print setting information. Specifically, the OS that has received an instruction from the drawing application 201 refers to the information described in the PT and checks whether the PT contains information about a setting function that does not exist in the PC. If information about a setting function that does not exist in the PC is described in the PT, the OS deletes the information about the setting function from the PT or changes it to an appropriate setting value that exists in the PC. This is because setting values other than those for functions that can be processed by the print data generation software 202 are considered to be invalid values.
[0042] For example, a case will be described in which the print data generation software 202 has a PC shown in the capability information 601 in Fig. 6, and a PT shown in the print setting information 602 in Fig. 6 is generated in S1003. In this case, all setting values present in the PT of the print setting information 602 are present in the PC of the capability information 601. Therefore, in this case, the OS does not change the print setting information 601.
[0043] On the other hand, as a comparative example, a case will be described where the print data generation software 202 has a PC shown in the capability information 701 in FIG. 7 and a PT shown in the print setting information 702 in FIG. 7 is generated. In this case, the PT shown in the print setting information 702 has a 4in1 setting for laying out data for four pages on one page as a layout printing function, and the print preview function is set to be enabled (ON). However, the PC shown in the capability information 701 does not have a setting item for the print preview function (Feature of JobPreview). Also, the PC shown in the capability information 701 has a setting item for the layout printing function (Feature of JobNUpAllDocumentsContiguously), but does not have a 4in1 setting (Option of PagesPerSheet_4) as an option. In such a case, the OS changes the Option in the layout printing function (Feature of JobNUpAllDocumentsContiguously) in the PT to None. Furthermore, the OS deletes the setting item for the print preview function in the PT (Feature of JobPreview). As a result, the print setting information 702 is changed to print setting information (PT) as shown in Fig. 8 by the consistency check. Note that in Fig. 8, the OS changes the Option in the layout printing function (Feature of JobNUpAllDocumentsContiguously) in the PT to None, but this embodiment is not limited to this. For example, it may be changed to another setting value (e.g., "PagesPerSheet_2") present in the PC.
[0044] In this way, if the OS edits (changes or deletes) the setting values in the PT during the consistency check, the print setting information is not correctly retained by the consistency check even if an extended function is added by the integrated extension application 203. As a result, there is a possibility that the print setting information is not correctly transmitted to the layout extension unit 205 or the preview unit 206.
[0045] Therefore, in this embodiment, as explained in S1004 of Fig. 10, a Parameter whose setting value is not changed even in a print setting consistency check is provided in the PT, which is the print setting information. Then, as shown in Fig. 9, the print setting screen expansion unit 204 writes the extended functions in a Parameter called Extension, and writes other settings as usual, and creates the PT, which is the print setting information. As a result, even if a print setting consistency check is performed, the OS operates so as not to change the setting value written in this Extension Parameter.
[0046] The parameter name "Extension" is an example of a parameter name for which the OS does not change the print settings, and other parameter names may be used as long as the setting value is not changed even in a consistency check of the print settings.
[0047] After checking the consistency, the OS returns the PT to the drawing application 201. Then, when a print instruction is given by the user on the screen provided by the drawing application 201, the OS generates intermediate data based on the print instruction. The OS also starts the layout extension unit 205 of the integrated extension application 203.
[0048] <Processing in the layout extension unit 205> Next, the processing of the layout extension unit 205 will be described with reference to FIG. 11. FIG. 11 is a flowchart showing the processing of the layout extension unit 205. Hereinafter, the layout extension unit 205 may be described as the subject of each processing, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program (integrated extension application 203). Note that not all processing is necessarily executed sequentially on one process, and there may be cases where processing is transferred to the OS side once and then called again by the OS. This is merely a flow diagram showing the main processing of the integrated extension application 203 in an easy-to-understand manner for the sake of convenience.
[0049] First, in S1101, the layout extension unit 205 acquires intermediate data. Next, in S1102, the layout extension unit 205 determines whether an "Extension" parameter exists in the PT in the intermediate data. If "Extension" does not exist in S1102, the process proceeds to S1105. If "Extension" exists in S1102, the process proceeds to S1103.
[0050] In S1103, the layout extension unit 205 determines whether the extension function described in the Extension is a function of the layout extension unit 205 itself. In the case of the PT shown in Fig. 9, the layout print setting, which is a function of the layout extension unit 205, is described in the Extension. Therefore, the process proceeds to S1104. If the function of the layout extension unit 205 is not described in the Extension, the process proceeds to S1105.
[0051] In S1104, the layout extension unit 205 executes the described extension function. That is, in the case of the PT shown in FIG. 9, processing is executed to lay out four pages of data on one page of paper. This corresponds to the layout extension unit 205 editing the drawing data in the intermediate data. Then, in S1105, the layout extension unit 205 outputs the edited intermediate data (including the edited drawing data and the PT) to the print data generation software 202.
[0052] 11, the print data generation software 202 executes processing for functions other than the extended functions (functions that the print data generation software 202 can provide) based on the PT in the acquired intermediate data. The print data generation software 202 then generates print data (also called print commands) in a format that can be interpreted by the printing device. The print data generation software 202 then outputs the generated print data and the PT in the intermediate data acquired from the layout extension unit 205. The OS also starts up the preview unit 206 of the integrated extension application 203.
[0053] <Preview unit 206 processing> Next, the processing of the preview unit 206 will be described with reference to Fig. 12. Fig. 12 is a flowchart showing the processing of the preview unit 206. Hereinafter, the preview unit 206 may be described as the subject of each processing, but in reality, the corresponding function is realized by the CPU 111 executing the corresponding program (integrated extension application 203). Note that not all processing is necessarily executed sequentially on one process, and there may be cases where processing is transferred to the OS side once and then called again by the OS. This is merely a flow chart showing the main processing of the integrated extension application 203 for the sake of convenience and easy understanding.
[0054] First, in S1201, the preview unit 206 acquires the print data generated by the print data generation software 202 and the PT.
[0055] In S1202, it is determined whether or not an "Extension" parameter exists in the acquired PT. If "Extension" does not exist in S1202, the process proceeds to S1205. If "Extension" exists in S1202, the process proceeds to S1203.
[0056] In S1203, the preview unit 206 determines whether the extended function described in the Extension is a function of the preview unit 206 itself. In the case of the PT shown in Fig. 9, the print preview, which is a function of the preview unit 206, is described in the Extension. Therefore, the process proceeds to S1204. If the function of the preview unit 206 is not described in the Extension, the process proceeds to S1205.
[0057] In S1204, the preview unit 206 executes the described extended function. That is, in the case of the PT shown in Fig. 9, a print preview process is executed. The print preview process is to display a print preview screen including a preview image based on the acquired print data, and for example, a print preview screen as shown in Fig. 5 is displayed. Note that the print preview screen may display control items that can change print settings together with the preview image.
[0058] When a print instruction is given by pressing a Print button or the like on the print preview screen, the preview unit 206 outputs print data in S1205. The output print data is sent to the printing device 102.
[0059] When the print settings are changed by a user operation using a control item that is displayed together with the preview image and that can change the print settings, the preview unit 206 may edit the print data based on the changes, and may perform print preview processing again based on the edited print data.
[0060] As described above, the integrated extension application 201 of this embodiment can provide a print setting screen, and generates print setting information based on input on this print setting screen. When generating this print setting information, the setting information related to the extended function is described so that it is not edited (changed or deleted) by a consistency check by the OS. By such processing, the integrated extension application 203, which is started multiple times at different timings, can properly obtain the setting information related to the extended function set for each print job even at the subsequent start timing.
[0061] In the above example, the setting information related to the extended function is described by adding a parameter that is not edited to the print setting information, but the present embodiment is not limited to this. There are other possible methods for saving the setting information related to the extended function. For example, the print setting screen extension unit 204 writes only a unique identifier for identifying a print job in the print setting information. Then, the print setting screen extension unit 204 saves information indicating the actual print setting together with the above-mentioned identifier in an external file other than the print setting information. Then, the layout extension unit 205 and the preview unit 206, which are started after that, may refer to an external file with a matching identifier and read information related to the print setting when an identifier is found in the print setting information. The external file is a file that each unit of the integrated extension application 201 can access, and may be a file called UserPropertyBag or a file called QueuePropertyBag. It may also be written in a text file or the like and saved in a storage location that is not accessed by normal users.
[0062] Furthermore, the print setting screen extension unit 204 can also store print settings in a registry (a database of setting information provided by the OS) rather than in an external file, and realize processing similar to that when an external file is used. In this way, even when an external file or registry is used, the information on print settings stored in such a storage location is not edited by the OS even if a consistency check of the print setting information is performed. Therefore, the integrated extension application 203 can properly obtain setting information related to the extended function even at the subsequent startup timing.
[0063] <<Embodiment 2>> In the first embodiment, the print setting screen extension unit 204 appropriately extends the print setting information, thereby making it possible to transmit the settings to an extension application that is started later. However, in the configuration of the first embodiment, the capability information of the print data generation software 202 does not include functions that can be realized by the integrated extension application 203. Therefore, functions that can actually be realized by the print data generation software 202 appear to be impossible to be realized by the drawing application 201.
[0064] Some applications display part of the print settings on their own UI to allow the user to select them, and the configuration of the first embodiment is not preferable for such applications. This is because such applications generally control the UI to display only the functions described as the capability information of the print data generation software. This can result in functions that are actually operable not being provided to the user. Therefore, the present embodiment aims to solve the problem proposed here while returning correct capability information of the print data generation software 202 to the drawing application 201.
[0065] In this embodiment, when the integrated extension application 203 is installed, the capability information (PC) of the print data generation software 202 is extended. Specifically, when the integrated extension application 203 described in the first embodiment is installed in association with the print data generation software 202 having capability information such as 701 in FIG. 7, the capability information is extended as shown in FIG. 13. The capability information is extended by the OS. Specifically, when there is a capability information acquisition request from the drawing application 201, etc., the OS adds capability information indicating the functions of the integrated extension application 203 to the capability information indicating the functions of the print data generation software 202, and transmits the added information. For example, when the drawing application 201, etc. displays a UI for print settings, it is necessary to grasp the capability information. Therefore, in such a case, the drawing application 201, etc., requests to acquire the capability information, and the OS transmits the capability information to the request source.
[0066] In the capability information shown in FIG. 13, the OS adds capability information of the integrated extension application 203's four-page layout printing function and print preview function to the capability information of the print data generation software 202. Because the capability information is extended, print settings related to the extended function are not deleted even if the application 201 performs a consistency check of the print settings. Therefore, if the integrated extension application 203 is installed, the OS performs a capability information addition process, and if the integrated extension application 203 is not installed, the OS operates not to perform the capability information addition process. Possible means for the integrated extension application 203 to communicate the capability information to the OS include providing a dedicated API, or writing it in a registry or an external file.
[0067] Through the above processing, correct capability information of the print data generation software 202 is returned to the application 201, while setting information related to the extended function set for each print job can also be obtained by an extension application started at a later time.
[0068] In this embodiment, the print setting screen extension unit 204 of the integrated extension application 203 operates as if the extension function does not exist. That is, in the judgment process of S1002 in FIG. 10, it always judges NO. Then, in S1003, it is preferable to generate a PT as usual. In addition, in this embodiment, the layout extension unit 205 and the preview unit 206 of the integrated extension application 203 do not need to check whether "Extension" is described in the PT. That is, it is not necessary to execute the steps of S1102 in FIG. 11 and S1202 in FIG. 12. The layout extension unit 205 skips S1102 and proceeds to S1103 to judge whether its own function is described in the PT. In addition, the preview unit 206 skips the step of S1202 and proceeds to the step of S1203 to judge whether its own function is described in the PT. The subsequent processes are the same as those in the first embodiment.
[0069] <<Embodiment 3>> The above-described embodiment can also be implemented by executing the following process. That is, a recording medium on which program code of software that realizes the functions of the above-described embodiment is recorded is supplied to a system or device. Then, a computer (or a CPU or MPU) of the system or device reads and executes the program code stored in the recording medium. This makes it possible to achieve the above-described object. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiment, and the storage medium on which the program code is stored constitutes the present invention.
[0070] Examples of storage media for supplying the program code include flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, ROMs, and DVDs.
[0071] In addition, the functions of the above-mentioned embodiments are not only realized by a computer reading and executing the program code, but also include cases where an OS running on a computer performs part or all of the actual processing based on the instructions of the program code, and the functions of the above-mentioned embodiments are realized by the processing.
[0072] Furthermore, the program code read from the storage medium may be written to a memory provided on a function expansion board inserted into a computer or a function expansion unit connected to the computer. Then, based on the instructions of the program code, a CPU or the like provided on the function expansion board or function expansion unit may perform part or all of the actual processing. The functions of the above-mentioned embodiments are realized by this processing. [Explanation of symbols]
[0073] 102 Printing device 202 Printing data generation software 203 Integrated Extension Application 204 Print Setting Expansion Unit 205 Layout Expansion Unit 206 Preview Unit
Claims
[Claim 1] An information processing apparatus including print data generation software acquired at a first timing and an extension application different from the print data generation software acquired at a second timing different from the first timing, a generating means for generating setting information based on information input on a setting screen provided by the extension application; an execution means for executing an extended function provided by the extension application based on the generated setting information; Equipped with The information about the extensions is processed so that it cannot be edited by the OS, The information processing apparatus is characterized in that the print data generation software generates print data based on the setting information.
Citation Information
Patent Citations
Printing system, control method of printing system and program
JP2016146167A
Information processing device and program
JP2017068304A
Information processing apparatus, information processing system, information processing method, and program
JP2018049581A
Printer driver, information processing device, and image processing system
JP2018092583A
Communication control device, communication control driver, and communication control method
JP2017016480A
