Memory, information processing apparatus, and printing method
By executing the support program in the information processing device, obtaining printer capability information and providing it to a general printing program, the inconvenience of users when selecting printing parameters is solved, the full utilization of printer capabilities is achieved, and the convenience of selecting printing parameters is improved.
Patent Information
- Application Number
- CN202410905645.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2019-02-01
- Filing Date
- 2020-01-28
- Publication Date
- 2024-11-01
AI Technical Summary
In a universal printing program based on OS standards, users encounter inconvenience when selecting printing parameters and cannot fully utilize the printer's unique capabilities.
By executing a support program in the information processing device, the capability information of the printer is obtained and capability determination information is provided to the general printing program, so that the application program can select printing parameters based on the specific capabilities of the printer.
It improves the convenience of users when selecting printing parameters, can make full use of the inherent capabilities of the printer, and enhances the freedom to select printing parameters.
Smart Images

Figure CN118885138A_ABST
Abstract
Description
[0001] This application is a divisional application of the following patent application:
[0002] Application number: 202080012057.7
[0003] Application date: January 28, 2020
[0004] Invention Title: Memory, information processing device, and printing method Technical Field
[0005] The technical field disclosed in this specification relates to a support program, an information processing device, and a printing method that support control of a printer. Background Art
[0006] As a technology for controlling a printer from an information processing device such as a personal computer, the following structure is widely known, in which a printer driver is installed in the information processing device, print data is generated by the printer driver, and the print data is sent to the printer (for example, Japanese Patent Publication No. 2017-134718). The printer driver is provided by the manufacturer of the printer, corresponds to various functions of the printer, and can fully utilize the printer.
[0007] Technical problem to be solved by the invention
[0008] In recent years, a technology for controlling a printer by a universal printing program that is standardly installed in an operating system (OS) without using the above-mentioned printer driver has become practical. In this technology, when the OS detects a printer, it is associated with the universal printing program that is standard for the OS, and thereafter, when a print instruction for the printer is received, printing based on the universal printing program that is standard for the OS can be performed without using a printer driver.
[0009] However, in general, in printing based on the OS standard universal printing program, when selecting printing parameters, selectable setting items are registered in the OS standard universal printing program. This is inconvenient for users and there is room for improvement. Summary of the invention
[0010] This specification discloses a technique for improving the convenience of selecting printing parameters in an information processing device in which a universal printing program conforming to an OS is installed.
[0011] Technical means for solving technical problems
[0012] A support program completed for the purpose of solving the above-mentioned technical problem can be executed by a computer of an information processing device and corresponds to a printer connected to the information processing device. The support program is characterized in that it causes the computer to perform the following processing: a capability information acquisition processing for acquiring capability information related to the capability of the printer; and a capability providing processing for providing capability determination information for determining the capability of the printer to a universal printing program pre-installed in the operating system of the information processing device based on the capability information acquired by the capability information acquisition processing, wherein the universal printing program provides information based on the capability determination information to an application loaded in the information processing device, and the capability determination information is provided from the support program through the execution of the capability providing processing.
[0013] The support program disclosed in this specification provides the universal printing program with capability determination information related to the capabilities of the printer, and the universal printing program provides the application with information based on the capability determination information. Thus, when the application selects printing parameters based on the capabilities of the printer, not only the general capabilities of the printing program but also the information of the support program can be reflected. Therefore, for example, the inherent capabilities according to the model of the printer can be selected, thereby improving the convenience of the user when selecting printing parameters.
[0014] An information processing device in which the above-mentioned program is installed, a storage medium readable by a computer storing the program, and a control method for realizing the function of the program are also novel and useful.
[0015] Effects of the Invention
[0016] According to the technology disclosed in this specification, a technology is realized for improving the convenience in selecting printing parameters in an information processing device in which an OS-compliant universal printing program is installed. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a block diagram showing the electrical structure of the printing system.
[0018] Figure 2 This is a sequence diagram showing an example of the setting procedure of printing parameters.
[0019] Figure 3 This is a flowchart showing the sequence of capability determination processing.
[0020] Figure 4 This is an explanatory diagram showing an example of ability value.
[0021] Figure 5 This is an explanatory diagram showing an example of a print setting screen.
[0022] Figure 6This is a sequence diagram showing an example of the sequence of operations performed by each program.
[0023] Figure 7 This is a flowchart showing the procedure of the intermediate image data editing process.
[0024] Figure 8 This is a flowchart showing the procedure of print data editing processing. DETAILED DESCRIPTION
[0025] Below, while referring to the attached Figure 1 The present invention discloses an embodiment of a printing system including a personal computer (hereinafter referred to as a "PC") and a printer.
[0026] exist Figure 1 An example of the structure of a printing system that executes the program of this method is shown in FIG. Figure 1 The system shown includes a PC 1, a printer 2, and a printer 3. The PC 1 is an example of an information processing device. The printers 2 and 3 are devices having a printing function and can communicate with the PC 1 via local communication or network communication.
[0027] For example Figure 1 As shown, the PC 1 includes a controller 10 , a user interface (hereinafter referred to as “UI”) 20 , and a communication interface (hereinafter referred to as “communication IF”) 30 . The UI 20 and the communication IF 30 are electrically connected to the controller 10 .
[0028] The UI 20 includes hardware for displaying various displays and accepting user instruction inputs. The UI 20 may be a touch panel having both display functions and input acceptance functions, or a combination of a display having a display function and a keyboard and a mouse having an input acceptance function.
[0029] The communication IF 30 includes hardware for communicating with the printer 2 and the printer 3 and hardware for accessing the network. The communication IF 30 may also include a plurality of interfaces with different communication methods. The communication methods include network communication and USB communication. In addition, wired communication or wireless communication may be used.
[0030] The controller 10 includes a CPU 11 and a memory 12. The CPU 11 is an example of a computer. The memory 12 includes a ROM, a RAM, and a non-volatile memory, and stores programs such as various application programs (hereinafter referred to as "applications"), various data, etc. In addition, in this specification, the details of the memory are not distinguished. The CPU 11 executes various processes according to the programs read from the memory 12 and based on the instructions of the user. In addition, Figure 1The controller 10 in the description is a general term for hardware and software for controlling the PC 1 , and is not limited to representing a single piece of hardware actually existing in the PC 1 .
[0031] An example of the memory 12 may also be a computer-readable storage medium. A computer-readable storage medium refers to a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. In addition, non-transitory media are also tangible media. On the other hand, an electrical signal that transmits a program downloaded from a server on the Internet is a type of computer-readable medium, i.e., a computer-readable signal medium, but is not included in a non-transitory computer-readable storage medium.
[0032] For example Figure 1 As shown, the memory 12 stores an operating system (hereinafter referred to as "OS") 21 including a universal printing program 41, an auxiliary program 42, and an editing application 43. The auxiliary program 42 is an example of a support program. The auxiliary program 42 is, for example, a hardware support application (abbreviated as HSA) created by a printer manufacturer based on specifications disclosed by Microsoft Corporation. OS21 is, for example, Microsoft Windows (registered trademark), MacOS (registered trademark), and Linux (registered trademark). In addition, in addition to the illustrated contents, the memory 12 also stores various data including information about the connected printer, various programs such as a browser, etc.
[0033] The universal printing program 41 is an application for executing printing by the PC 1 using various printers such as the printer 2, and is an OS standard printing program pre-installed in the OS 21. The universal printing program 41 of this embodiment is a program for generating printing data that can be supported by the printer based on the image data of the printing object. The universal printing program 41 is an example of a printing program.
[0034] The universal printing program 41 is a universal application that can be applied to a plurality of models of printers provided by the manufacturers of each printer, and is a program that enables each printer to perform common operations in each model. Alternatively, the universal printing program 41 may be a program provided by the manufacturers of each printer to the manufacturer of OS21 in order to be pre-installed in OS21, such as a type of printer driver provided in order to be pre-installed in OS21.
[0035] The auxiliary program 42 is a program that executes processing based on instructions from the OS 21 when the universal printing program 41 is started, and is an application that supports the control of the target hardware. The auxiliary program 42 is started by the universal printing program 41, for example. The auxiliary program 42 is a program prepared by the manufacturer of the printer 2, etc. according to the type of printer. For example, an auxiliary program 42 for an inkjet printer and an auxiliary program 42 for a laser printer are prepared. The auxiliary program 42 is not limited to the type of printer, and there may be an auxiliary program 42 prepared according to the model of the printer or according to the series of the model of the printer.
[0036] The printer manufacturer registers the auxiliary program 42 in the platform provided by the manufacturer of the OS 21 in the order specified by the manufacturer of the OS 21. When the PC 1 is newly connected to the printer 2 and the auxiliary program 42 corresponding to the printer 2 is registered in the platform, the OS 21 downloads the auxiliary program 42 from the server storing the auxiliary program 42 and installs it in the PC 1.
[0037] Then, OS21 stores the identification information of the installed auxiliary program 42 in correspondence with the printer information of the newly connected printer in the memory 12. In the PC 1 to which multiple models of printers are connected, auxiliary programs corresponding to the types of the models are installed, and information that corresponds to each printer and each auxiliary program is stored in the memory 12. That is, in the memory 12, as the printer information of each printer connected to the PC 1, the information of the corresponding auxiliary program 42 is stored together with the model information and access information of the printer.
[0038] The editing application 43 is, for example, an application for creating and editing image data or document data. The editing application 43 is, for example, Microsoft Word (registered trademark) or PowerPoint (registered trademark). Alternatively, the editing application 43 may be an application provided by the manufacturer of the printer 2 or the printer 3. The editing application 43 receives a user operation including an instruction to cause the printer 2 to perform a predetermined action. Specifically, the editing application 43 receives, for example, a printing instruction to cause the printer 2 to execute printing, via the UI 20.
[0039] In addition, the processing of the embodiment and each processing step of the flowchart basically represent the processing of the CPU 11 according to the command described in the auxiliary program 42 or the like. That is, the processing such as "judgment", "extraction", "selection", "calculation", "determination", "determination", "obtaining", "acceptance", "control" in the following description represent the processing of the CPU 11. The processing of the CPU 11 also includes the hardware control using the API of the OS 21. In this specification, the detailed description of the OS 21 is omitted and the actions of each program are described. That is, in the following description, the description of the content such as "Program B controls hardware C" can also mean "Program B uses the API of the OS 21 to control hardware C". In addition, sometimes the processing of the CPU 11 according to the command described in the program is recorded with an omitted statement. For example, sometimes the program is omitted and recorded as "performed by the CPU 11". In addition, sometimes the processing of the CPU 11 according to the command described in the program is recorded with a statement omitting the CPU as "performed by the program A".
[0040] In addition, "obtain" is used in the concept of not necessarily requesting. That is, the process of CPU11 receiving data without requesting is also included in the concept of "CPU11 obtaining data". In addition, the "data" in this specification is represented by a bit column that can be read by a computer. Moreover, data with the same essential meaning and different formats are treated as the same data. The same also applies to "information" in this specification. In addition, "request" and "instruction" are concepts that indicate the output of information indicating a request and information indicating an instruction to an object. In addition, information indicating a request and information indicating an instruction are also simply recorded as "request" and "instruction".
[0041] In addition, the process of CPU 11 determining whether information A represents event B is sometimes conceptually described as "based on information A, determine whether it is event B". The process of CPU 11 determining whether information A represents event B or event C is sometimes conceptually described as "based on information A, determine whether it is event B or event C".
[0042] In the printing system of this method, the universal printing program 41 obtains information indicating the capabilities of the printer from the auxiliary program 42 corresponding to the printer. The capabilities of the printer are the printing settings that can be used in the printer, specifically, the various items that can be selected as printing parameters, and the information about the various options that can be set for each item. Hereinafter, the information including all the capabilities of the printer will be referred to as the "capability value" of the printer. Specifically, the capability value is a list including all the items that can be selected as printing parameters, and the information about all the options that can be set for each item. For example, in the paper size item, the information includes all the options for the selectable paper sizes, such as "A4", "A5", etc.
[0043] When the printing instruction is issued by the general printing program 41, the application receiving the printing instruction such as the editing application 43 receives the selection of the printer and the setting of the printing parameters. Figure 2 The sequence of actions of each program when the editing application 43 or the like receives instructions from a user who makes print settings will be described with reference to a timing diagram of FIG. Figure 2 This figure shows the operation when the editing application 43 uses the universal print program 41 to print with the printer 2 and the auxiliary program 42 corresponding to the printer 2 is installed in the PC 1 .
[0044] The editing application 43 receives an instruction from the user to open a menu related to printing (arrow a). In the menu related to printing, the editing application 43 receives, for example, selection of a printer, selection of print settings, selection of image data to be printed, and instructions for printing execution. When the editing application 43 receives, for example, an instruction to display a list of printers for selecting a printer (arrow b), it obtains a list of selectable printers from the universal printing program 41 (arrow c). Based on the obtained information, the editing application 43 displays a list of printers (arrow d) and receives an instruction to select a printer (arrow e).
[0045] When a printer is selected, if the editing application 43 receives a selection instruction for print settings (arrow f), it requests the universal printing program 41 for information on the capability value of the selected printer (arrow g). If the printer for which the capability value is requested is a printer corresponding to the auxiliary program 42, the universal printing program 41 outputs a provision request to the auxiliary program 42 in accordance with the request from the editing application 43 (arrow h). The provision request is information requesting the capability value of the designated printer, and information indicating the designated printer is attached to the provision request. In addition, if the auxiliary program 42 corresponding to the selected printer is not installed, the universal printing program 41 passes the general capability value possessed by the universal printing program 41 to the editing application 43.
[0046] The auxiliary program 42 has a function of determining the capability value of the printer according to a request for providing and providing it to the universal printing program 41. The auxiliary program 42 first inquires the universal printing program 41 to obtain the environmental information of the printer (arrow i). Environmental information is, for example, information indicating the location where the printer is installed and information indicating the user who instructed printing. As described later, the capability value of the printer is different depending on the location where the printer is installed and the user who instructed printing. The processing of arrow i is an example of environmental acquisition processing. In addition, the auxiliary program 42 can also obtain environmental information from the specified printer or OS21.
[0047] The auxiliary program 42 also communicates with the designated printer based on the information attached to the request for providing, and obtains all the capabilities that can be supported in the printer, namely, the main body capability value (arrow j). The main body capability value includes, for example, the type of printing that can be performed by the printer, the installed processing unit, and the information of the paper feed tray. The main body capability value is an example of capability information, and the process of arrow j is an example of the process of obtaining capability information.
[0048] In addition, the main capability value of the printer includes first capability information that can be obtained by the universal printing program 41 without going through the auxiliary program 42, and second capability information that cannot be obtained by the universal printing program 41 without going through the auxiliary program 42. In the example of paper size, the paper sizes of A4 and A5 of the ISO standard are generally compatible with any printer as long as it is a page printer, and therefore are included in the first capability information. Whether it is possible to print on large-size paper such as A3, whether there is an additional paper feed tray, and whether there is an external double-sided printing unit are capabilities that differ depending on the model of the printer, but are included in the first capability information.
[0049] Furthermore, the main capability value of the printer includes capabilities common to all models and capabilities specific to each printer. For example, whether or not to print on large-sized paper is a capability common to all models, but the custom-sized paper size set by the printer, the binding function, and the like are capabilities specific to each printer. In the process of arrow j, the auxiliary program 42 communicates with the designated printer, thereby being able to obtain capabilities specific to each printer. The capabilities specific to each printer include the second capability information. In the process of arrow j, the auxiliary program 42 at least obtains the capabilities included in the second capability information.
[0050] In addition, the auxiliary program 42 may receive information including all the main body capability values from the printer, may receive all the capabilities included in the second capability information, or may receive information indicating a difference from capabilities common to the model of the printer. In the case of receiving information indicating a difference, the auxiliary program 42 pre-stores the common capabilities according to the model of the printer, and uses the information obtained from the printer to obtain the main body capability value of the printer. The capabilities common to the model of the printer may be obtained by the auxiliary program 42 by inquiring the printer or the server of the printer manufacturer, or may be pre-stored in the auxiliary program 42.
[0051] In addition, the auxiliary program 42 may also request only update information for the printer that obtains the subject capability value. In this case, the auxiliary program 42 may also store the subject capability value obtained from the printer with the information of the time of acquisition in the memory 12, and update it based on the update information. Moreover, in the case where the time elapsed since the last update is short, the auxiliary program 42 may not obtain the subject capability value. In addition, as long as the printer has a function to measure the size of the paper stored in itself, the auxiliary program 42 may also operate the function through the printer to obtain the size of the stored paper.
[0052] In addition, among all the capability values that can be set in the printer, capabilities that are added to the main capability values are sometimes included. For example, in the case where the editing application 43 corresponds to a function that the universal printing program 41 does not correspond to, the function can also be added as a selectable capability. Alternatively, in the case where the auxiliary program 42 corresponds to a function that the universal printing program 41 does not correspond to, the function can also be added as a selectable capability. For example, in the case where the universal printing program 41 does not correspond to the binding process and the editing application 43 corresponds to the auxiliary program 42, the binding process capability can also be added to all the capability values. The added capability is also included in the selectable printing parameters.
[0053] The auxiliary program 42 determines the capability value of the printer based on the main capability value obtained from the printer, the environment information obtained from the universal print program 41, and the information for each model stored in the auxiliary program 42 (arrow k). The details of the process of determining the capability value of the printer will be described later.
[0054] The assist program 42 provides information based on the determined capability value to the universal print program 41 (arrow 1). The process of arrow 1 is an example of capability providing process, and the information provided to the universal print program 41 by arrow 1 is an example of capability specifying information.
[0055] The auxiliary program 42 may provide information including all determined capability values to the universal printing program 41, or may extract and provide the differences from the general capabilities possessed by the universal printing program 41. That is, the capabilities including the second capability information described above may be provided. The extracted differences may include, for example, capabilities inherent to the model of the printer, capabilities possessed by the printer, and capabilities excluded based on environmental information. In this case, the information indicating the differences is also an example of capability determination information.
[0056] The universal printing program 41 transmits the provided capability value to the editing application 43 that requested the capability value (arrow m). The editing application 43 uses the received capability value information to determine the information to be displayed as each item in the print setting screen and the information to be displayed as the selection item in each item, and displays it on the UI 20 (arrow n). Furthermore, the editing application 43 receives the user's selection of the print setting in the displayed print setting screen (arrow o).
[0057] Next, refer to Figure 3 The flowchart of the printing system of this embodiment is used to explain the sequence of the capability determination processing of realizing the action of determining the capability value based on the request from the universal printing program 41 when the capability value of the printer is requested by an application such as the editing application 43. The capability determination processing is performed by Figure 2 The process executed by arrow k is executed by the CPU 11 of the PC 1 according to the auxiliary program 42 in response to receipt of a capability provision request from the universal print program 41 .
[0058] In the capability determination process, the CPU 11 determines the Figure 2 The CPU 11 obtains the total capability values that can be executed in the printer by using the information obtained by arrow j (S101). The total capability values include the capabilities inherent to the printer. For example, the functions that the printer does not have are not included in the total capability values. Figure 2 The environmental information obtained by arrow i is used to determine whether there is an ability excluded from the subject's ability value (S102).
[0059] The auxiliary program 42 excludes paper sizes that are less likely to be used from the subject capability values based on, for example, environmental information. Figure 4 An example of changing the capability value of the paper size in . Figure 4 As shown in (A), the total capacity value 51 of the paper size for page printers includes a plurality of sizes used in various regions, including the paper size of column A of the ISO standard, the paper size of column B of the JIS standard, and the letter size. Figure 4 (A) shows a very small part of the entire capability value 51, and the entire capability value 51 may also include a unique size used only in a specific area.
[0060] Furthermore, for example, the possibility of selecting letter size as the paper size in Japan is extremely low, so the auxiliary program 42 excludes letter size from the capabilities of the printer installed in Japan, for example, using Figure 4 (B) shows the capability value 511. On the other hand, in a printer installed in the United States, for example Figure 4As shown in (C), the auxiliary program 42 uses the capability value 511 obtained by excluding the paper size of column B of the JIS standard, the Japanese-specific size such as the long No. 3 envelope, and the sizes used only in a specific area from the total capability value 51 of the paper size.
[0061] In addition, in the case of a printer installed in Japan and custom-sized paper is set in the printer, for example Figure 4 As shown in (D), the auxiliary program 42 adopts the capability value 511 including the set custom size.
[0062] In addition, for example, the auxiliary program 42 may also accept the setting of usage restrictions for each user. In this case, the auxiliary program 42 is based on, for example, Figure 2 The environment information obtained by arrow i and the attribute information of the user obtained from OS21 are obtained by Figure 2 The arrow j of 42 sends the information of the user to the printer, and obtains the restriction information of the user from the printer. The auxiliary program 42 may also store the restriction information of the user in the memory 12. Furthermore, when the ability of the user whose use is restricted is included in the main body ability value, the auxiliary program 42 excludes the ability. In this way, for example, it is possible to set restrictions on the use of high-quality paper for a specified user, restrictions on the execution of color printing, etc.
[0063] When it is determined that there are excluded capabilities (S102: Yes), the CPU 11 extracts the information of the excluded capabilities (S103). S103 is an example of extraction processing. When it is determined that there are no excluded capabilities (S102: No), or after S103, the CPU 11 determines the capability value of the printer only for the capabilities that are not excluded (S104). Then, the CPU 11 stores the determined capability value in the memory 12 (S105), and ends the capability determination processing.
[0064] Alternatively, instead of determining the capability value of the printer upon receiving a capability value request, the auxiliary program 42 may determine the capability value of each printer in advance and store it in the memory 12 , and read the capability value of the printer designated by the request from the universal print program 41 from the memory 12 .
[0065] For example, when a new printer is connected and the auxiliary program 42 corresponding to the printer is not installed on the PC 1, the OS 21 executes various processes for installation. The installed auxiliary program 42 may determine the capability value of the printer corresponding to the first execution and store it in the memory 12.
[0066] Furthermore, when a new printer corresponding to the installed auxiliary program 42 is added to the printing system, the auxiliary program 42 may obtain information of the added printer from the OS 21 and determine its capability value. For example, when a new printer is connected, the auxiliary program 42 may determine the capability value and store it in the memory 12 when receiving an execution instruction from the user at a predetermined time such as when the PC 1 is started.
[0067] As described above, the auxiliary program 42 provides the determined capability value ( Figure 2 The universal printing program 41 provides the capability value ( Figure 2 The print setting screen corresponding to the capability value is displayed ( Figure 2 In the print setting screen, the capabilities determined by the capability determination process are displayed as selectable print parameters.
[0068] For example, in the case where the auxiliary program 42 determines that Figure 4 In the case of the ability value 511 shown in (D), Figure 5 As shown, the editing application 43 displays the custom-sized paper size as an option on the paper size setting screen 61. The editing application 43 displays the custom-sized paper size as an option, so that the user can select the custom-sized paper size. In addition, if the printer is equipped with an additional paper feed tray, for example, a capability value including information of the paper feed tray is provided, so that the editing application 43 can display the additional paper feed tray as an option for the paper tray on the setting screen 61, and accept the selection of the additional paper feed tray.
[0069] Based on the capability value determined by the auxiliary program 42, the editing application 43 displays the capability included in the capability value as a selectable item. On the other hand, since the capability not included in the capability value cannot be selected, the editing application 43 does not display the capability as an item, and may determine a part of the printing parameters based on the capability value. For example, when color printing is included in the capability value, the editing application 43 displays a color / monochrome selection item and accepts the user's selection. On the other hand, when color printing is not included in the capability value, the editing application 43 does not display the color / monochrome selection item and sets the printing parameter setting to monochrome. Alternatively, the editing application 43 may display monochrome printing instead of displaying the color / monochrome selection item.
[0070] Next, refer to Figure 6The structure of the auxiliary program 42 of this embodiment and an example of a printing sequence including the actions of the auxiliary program 42 are described with reference to the timing diagram. The auxiliary program 42 is a program that is executed by the universal printing program 41 when a printing instruction to print using the universal printing program 41 is received via the editing application 43 or the like in a state where the printer corresponding to the auxiliary program 42 is specified. The following describes a case where the PC 1 receives an instruction to print in the printer 2 via the universal printing program 41 using the editing application 43 via the UI 20, for example, in a state where image data to be printed is specified, and the auxiliary program 42 corresponding to the model type of the printer 2 is installed in the PC 1.
[0071] First, the editing application 43 receives the designation of the image to be printed and the input of the instruction to execute printing (arrow A) via the UI 20. The image displayed by the editing application 43 is an example of the image to be printed. The editing application 43 displays, for example, a document edited by the editing application 43 or a photo read by the editing application 43 as an image. Then, the editing application 43 that receives the printing instruction transmits a printing execution notification indicating the contents of the received printing instruction to the OS 21. Figure 2 In FIG. 1 , the operation of OS 21 is omitted.
[0072] When receiving the print execution notification using the universal print program 41, the OS 21 executes the universal print program 41 and transmits the print execution notification to the universal print program 41 (arrow B). The universal print program 41 can use the print execution notification to obtain various information included in the print instruction, such as information indicating the printer to be printed, information indicating the print parameters set by the application, information indicating the image data to be printed, and information identifying the user who instructed the printing. In addition, this information is also used in the processing of the auxiliary program 42.
[0073] The universal printing program 41 generates intermediate image data by converting the format of the image data included in the print execution notification into the format of intermediate image data, and generates a print job including the intermediate image data (arrow C). The image data included in the editing application 43 is of various types, and the universal printing program 41 converts the received image data into intermediate image data suitable for generating print data. In addition, if the image data included in the print execution notification is data suitable for generating print data, the generation of the intermediate image data may be omitted and the intermediate image data may be directly used. The intermediate image data is, for example, XPS data.
[0074] Furthermore, the universal printing program 41 determines the printer designated as the device for executing printing based on the information included in the print execution notification. For example, when the printer 2 is designated, the universal printing program 41 determines the model of the printer 2 based on the printer model information included in the printer information stored in the memory 12. Furthermore, the auxiliary program 42 corresponding to the printer 2 designated by the print instruction is stored in the memory 12, so before the generation of print data by the universal printing program 41 is started, the universal printing program 41 outputs an execution command for the processing of the auxiliary program 42 to cause the auxiliary program 42 to operate. That is, when the universal printing program 41 detects the print execution notification, the execution command for the auxiliary program 42 is output from the universal printing program 41.
[0075] After generating the intermediate image data and before starting to generate the print data, the universal print program 41 outputs an execution command (arrow D) for executing the auxiliary program 42. The execution command includes the print parameters and the intermediate image data. The auxiliary program 42 can interpret the intermediate image data and the print parameters.
[0076] The auxiliary program 42 receives the execution command from the universal printing program 41 and starts the processing corresponding to the execution command (arrow H). In the arrow H, the auxiliary program 42 edits the intermediate image data corresponding to the printing parameters. The auxiliary program 42 can obtain various information included in the printing instruction from the universal printing program 41 according to the execution command of the processing of arrow H.
[0077] The printing parameters include common parameters used in generating printing data based on the common printing program 41 and unique parameters not used in generating printing data based on the common printing program 41. Examples of the common parameters are paper size, printing resolution, and color / monochrome, and examples of the unique parameters are binding processing, combined printing, and addition of watermarks.
[0078] The auxiliary program 42 uses the processing indicated by arrow H to edit the intermediate image data, for example. The auxiliary program 42 performs processing on the intermediate image data corresponding to the setting of the unique parameters in the printing parameters, for example. The image processing includes, for example, image merging, image segmentation, image enlargement, image reduction, image synthesis such as watermarking, etc. In addition, if the edited printing parameters are only general parameters, the auxiliary program 42 may not edit the intermediate image data.
[0079] Then, the auxiliary program 42 reflects the processed printing parameters and intermediate image data on the print job, and returns a termination notification indicating the termination of the processing to the universal print program 41, thereby terminating the processing (arrow I). In addition, the auxiliary program 42 may also reflect the processed data on the print job via the universal print program 41 by providing the processed intermediate image data to the universal print program 41.
[0080] The universal printing program 41 generates printing data based on the intermediate image data (arrow J) in response to receiving the end notification from the auxiliary program 42. Here, the intermediate image data used to generate the printing data can also be edited by the process of arrow H. The universal printing program 41 generates the printing data using the universal parameters among the printing parameters. The printing data generated by the universal printing program 41 is printing data in a format that can be used for printing in various printers. The printing data is, for example, PWG Raster data or PDF data.
[0081] After the generation of the print data is completed, the universal print program 41 outputs an execution command (arrow K) for executing the processing of the auxiliary program 42. The execution command of arrow K is added with the print parameters and the print data.
[0082] The auxiliary program 42 receives the execution command from the universal print program 41 and starts the print data editing process (arrow L). The auxiliary program 42 uses the execution command of the process indicated by arrow L to obtain the generated print data from the universal print program 41 in addition to the print parameters and printer information.
[0083] In the process of arrow L, the auxiliary program 42 adds, for example, a command for causing the printer 2 to execute a unique function to the print data. The unique functions of the printer 2 include, for example, a toner saving setting and a finishing setting (for example, a binding process setting). If the printer 2 has a function of being able to add a watermark, a header or a footer to an image by itself, the auxiliary program 42 may also add a command for executing these functions to the print data.
[0084] Then, the auxiliary program 42 reflects the processed print data on the print job, and returns a completion notification indicating the completion of the process to the universal print program 41 to complete the process (arrow M). The auxiliary program 42 may provide the universal print program 41 with the processed print data, so that the universal print program 41 can reflect the processed print data on the print job.
[0085] The universal printing program 41 sends a print command (arrow N) to the printer 2 in response to receiving the end notification from the auxiliary program 42. Thus, the printer 2 that has received the print command executes printing of an image of the print data in accordance with the print data attached to the print command. When the printer 2 receives the print data to which the instruction is attached, it performs the action indicated by the instruction when printing is executed. In addition, the auxiliary program 42 may send the print command to the printer 2 via the communication IF 30 instead of the universal printing program 41. In this case, the auxiliary program 42 may convert the print data into a data format different from the above-mentioned data format and send it.
[0086] Next, refer to Figure 7 The flowchart of Figure 6 The sequence of the intermediate image data editing process is the action of editing the intermediate image data executed by the arrow H. The intermediate image data editing process is executed by the CPU 11 of the PC 1 according to the auxiliary program 42 upon receiving the execution command from the universal printing program 41. The intermediate image data editing process is executed before the printing data is generated by the universal printing program 41.
[0087] In the intermediate image data editing process, the CPU 11 obtains printing parameters (S201). The printing parameters include common parameters and unique parameters. The printing parameters obtained in S201 are printing parameters selected by the user from the capability values determined by the capability determination process. Furthermore, the CPU 11 determines whether the printing parameters obtained in S201 include parameters that can be supported by editing the intermediate image data (S203).
[0088] When it is determined that the intermediate image data contains a parameter that can be processed by editing the intermediate image data (S203: Yes), the CPU 11 processes the intermediate image data (S204). After S204, or when it is determined that the intermediate image data does not contain a parameter that can be processed by editing the intermediate image data (S203: No), the CPU 11 notifies the universal print program 41 of the completion of the intermediate image data editing process, and the intermediate image data editing process is completed.
[0089] In addition, when printing parameters that can be supported by editing the printing data are included, the auxiliary program 42 Figure 6 The print data is edited by executing the print data editing process indicated by the arrow L. In this case, the auxiliary program 42 executes the print data editing process based on the execution command from the universal print program 41. Figure 8 The sequence of the print data editing process is described with reference to the flowchart of FIG. 1 . The CPU 11 of the PC 1 executes the print data editing process according to the auxiliary program 42 upon receipt of an execution command from the universal print program 41 . The print data editing process is executed after the print data is generated by the universal print program 41 .
[0090] In the print data editing process, the CPU 11 obtains the print parameters (S301). The print parameters include common parameters and unique parameters. The print parameters obtained in S301 are the print parameters selected by the user from the capability values determined by the capability determination process. Furthermore, the CPU 11 determines whether the print parameters obtained in S301 include parameters that can be supported by editing the print data (S303).
[0091] When it is determined that the print data contains a parameter that can be supported by editing the print data (S303: Yes), the CPU 11 processes the print data (S304). After S304, or when it is determined that the print data does not contain a parameter that can be supported by editing the print data (S303: No), the CPU 11 notifies the universal printing program 41 of the end of the print data editing process, and ends the print data editing process.
[0092] For example, when the printing parameters include a custom paper size, the auxiliary program 42 processes the intermediate image data or the print data to obtain an image with a resolution corresponding to the custom size in the intermediate image data editing process or the print data editing process. That is, when a printing parameter that cannot be supported by the general printing program 41 is set but can be supported by editing the intermediate image data or the print data, the auxiliary program 42 performs editing corresponding to the set printing parameter in the intermediate image data editing process or the print data editing process.
[0093] As described above in detail, the auxiliary program 42 of this embodiment provides information indicating the capability value of the printer in response to a request from the universal printing program 41. Thus, when the printing parameters are selected by the editing application 43, for example, not only the general printer capability of the universal printing program 41 but also the information of the auxiliary program 42 can be reflected. Therefore, for example, customized capability according to the model of the printer can be selected, the degree of freedom in selecting the printing parameters can be increased, and the capability of the printer can be fully utilized.
[0094] Furthermore, in this embodiment, when a capability value is requested from an application such as the editing application 43, the universal printing program 41 requests capability information from the auxiliary program 42, and the auxiliary program 42 provides the capability information. The application receives a selection of printing parameters from the options based on the provided capability value, and can select a capability suitable for printing in the printer.
[0095] In addition, the auxiliary program 42 of this method directly inquires the printer about the capability, so it can provide the capability information currently set in each printer. The time of inquiring the printer about the capability may be each time the capability value is requested, when the auxiliary program 42 or the printer is installed, or at any time desired by the user.
[0096] Furthermore, since the auxiliary program 42 of this embodiment provides information other than the general capability information of the universal printing program 41 , the capabilities unique to each printer can be utilized in the editing application 43 and the like.
[0097] The auxiliary program 42 of this embodiment excludes capabilities that are very unlikely to be selected depending on the usage environment from capability values, and therefore excludes the excluded capabilities from options selectable by the editing application 43, etc. Therefore, only options that are likely to be selected are provided, and the user can easily set printing parameters.
[0098] In addition, the embodiments disclosed in this specification are merely illustrative and do not limit the present invention in any way. Therefore, the technology disclosed in this specification can certainly be improved and deformed in various ways without departing from its main purpose. For example, the device connected to PC1 is not limited to a printer, as long as it is a device with a printing function such as a multifunction machine, a copier, a fax (FAX) device, etc. In addition, the printer connected to PC1 is not limited to the example shown in the figure, and can be one or more than three.
[0099] In addition, for example, in this method, the determined capability value is stored in the memory 12, but it may not be stored. For example, the capability value may be determined each time a request is received. However, if it is stored in advance, the time required until the provision is short is likely to be high.
[0100] Furthermore, for example, in the present embodiment, both addition and deletion of capability values are performed, but only one of them may be performed. For example, only functions unique to the printer may be added to general capability values.
[0101] In addition, for example, Figure 3 In the capability determination process shown, in S108 , it is determined whether the request from the universal print program 41 is for all capabilities. However, if the universal print program 41 supports only one of the capabilities, no determination is required, and only one of the capabilities may be processed.
[0102] In addition, for example, in the embodiment, the auxiliary program 42 includes various processes, but it may not include all the processes. For example, the auxiliary program 42 may include only the structure of the capability determination process. In addition, the program of the capability determination process, the program of the intermediate image data editing process, and the program of the print data editing process may also be independent programs.
[0103] The module that executes the printing parameter determination process is not limited to the auxiliary program 42, and any program may be used as long as it receives instructions from the OS 21 when printing is performed by the general printing program 41 of the OS 21. For example, it may be a print workflow application (Print workflow) whose specifications have been published by Microsoft Corporation.
[0104] In the embodiment, only the operations related to the determination of the capability value and the setting of the printing parameters are described as the operations of the auxiliary program 42 , but the auxiliary program 42 may further have other functions.
[0105] In the embodiment, the auxiliary program 42 is executed by outputting an execution command of the auxiliary program 42 from the universal printing program 41, but the execution time of the auxiliary program 42 is not limited to this. For example, the auxiliary program 42 may be executed by directly issuing an execution instruction from the OS 21, or the auxiliary program 42 may be a resident auxiliary program. In the case of being resident, the auxiliary program 42 only needs to receive the execution command and perform the above-mentioned operation.
[0106] Furthermore, in any flowchart disclosed in the embodiment, the execution order of a plurality of processes in any plurality of steps can be arbitrarily changed or they can be executed in parallel within a range where no contradiction occurs in the processing contents.
[0107] In addition, the processing disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as an ASIC, or a combination thereof. In addition, the processing disclosed in the embodiments may be implemented in various forms such as a recording medium recording a program for executing the processing, or a method.
[0108] Explanation of symbols
[0109] 1PC
[0110] 2 Printer
[0111] 11CPU
[0112] 12 Memory
[0113] 21OS
[0114] 41 General Printing Programs
[0115] 42 Auxiliary program 43 Editing application.
Claims
1. A memory storing a support program, the support program being executable by a computer of an information processing device, the support program being an application corresponding to a printer connected to the information processing device, the memory being characterized in that: The operating system of the information processing device has a universal printing program pre-installed therein, and the universal printing program can control the printer to print without using a printer driver provided by the manufacturer of the printer. The support program causes the computer to execute the following processing: Capability information acquisition processing to acquire capability information related to the capability of the printer; and a capability providing process for providing capability determination information for determining the capability of the printer to the universal printing program based on the capability information acquired by the capability information acquiring process; The universal print program provides information based on the capability determination information provided from the support program by executing the capability providing process to an application program installed in the information processing device.
2. The memory according to claim 1, It is characterized in that The support program causes the computer to execute the capability providing process when there is a request for providing capabilities of the printer from the universal print program, and the universal print program inputs the provision request to the support program in response to an inquiry regarding the capabilities of the printer from the application.
3. The memory according to claim 2, It is characterized in that In the universal printing program, the application program obtains information based on the capability identification information provided from the support program by executing the capability providing process, obtains printing parameters selected by the application program based on the obtained information, and generates printing data based on the printing parameters.
4. The memory according to any one of claims 1 to 3, It is characterized in that In the capability information acquisition process, a command for querying capabilities is sent to the printer via the communication interface of the information processing device, and capability information outputted in accordance with the command is received from the printer, thereby acquiring the capability information.
5. The memory according to any one of claims 1 to 4, It is characterized in that the operating system can obtain first capability information without using the support program, the first capability information being information related to the capability of the printer; In the capability information acquisition process, at least second capability information not included in the first capability information among the information related to the capability of the printer is acquired as the capability information.
6. The memory according to claim 5, It is characterized in that The first capability information is information about capabilities common to multiple printer models. The second capability information is information about capabilities inherent to a printer model.
7. The memory according to any one of claims 1 to 6, It is characterized in that The support program causes the computer to execute the following processing: an environment acquisition process of acquiring environment information representing the environment of the information processing device from the operating system; and extracting processing to extract, from among the capabilities of the printer, capabilities that are not suitable for the environment indicated by the environment information acquired by the environment acquisition processing, In the capability providing process, information indicating that the capability extracted by the extraction process is excluded from the capabilities provided to the application program is provided to the universal print program.
8. The memory according to any one of claims 1 to 7, It is characterized in that The capability identification information includes information on paper sizes that the printer can support.
9. The memory according to any one of claims 1 to 8, It is characterized in that The capability identification information includes information on paper feed trays that the printer can support.
10. The memory according to any one of claims 1 to 9, It is characterized in that When there is a printing instruction for the printer to print an image for the universal printing program, the support program causes the computer to perform processing corresponding to the printing parameters in the printing instruction on the printing data output by the universal printing program or the intermediate image data used to generate the printing data.
11. An information processing device comprising a computer and a memory, wherein: The operating system of the information processing device has a universal printing program as a pre-installed program, and the universal printing program can control the printer to print without using a printer driver provided by the manufacturer of the printer. The information processing device is installed with a support program and an application program. The support program is an application corresponding to a printer connected to the information processing device. The application program can input a printing instruction for causing the printer to print an image via the universal printing program. The computer executes a capability information acquisition process and a capability provision process through the support program, wherein capability information related to the capability of the printer is acquired in the capability information acquisition process, and capability determination information for determining the capability of the printer is provided to the universal printing program based on the capability information acquired by the capability information acquisition process in the capability provision process. Information based on the capability specifying information provided from the supporting program through execution of the capability providing process is provided to the application program through the universal print program.
12. The information processing device according to claim 11, It is characterized in that When there is a request for providing capabilities of the printer from the universal print program, the computer executes the capability providing process to input the provision request to the support program in response to an inquiry regarding the capabilities of the printer from the application program through the universal print program.
13. The information processing device according to claim 12, It is characterized in that In the computer, the application obtains information based on the capability determination information, obtains printing parameters selected by the application based on the obtained information, and generates printing data based on the printing parameters. The capability determination information is provided from the support program through the execution of the capability provision processing caused by the universal printing program.
14. A printing method, It is characterized in that A printer is connected to the information processing device. The operating system of the information processing device has a universal printing program as a pre-installed program, and the universal printing program can control the printer to print without using a printer driver provided by the manufacturer of the printer. The information processing device is installed with a support program and an application program. The support program is an application corresponding to a printer connected to the information processing device. The application program can input a printing instruction for causing the printer to print an image via the universal printing program. causing the printer to execute printing based on the print data generated by the information processing device, The printing method comprises: a capability information acquisition step of acquiring capability information related to the capability of the printer through the support program; and a capability providing step, based on the capability information obtained by the capability information obtaining step, providing capability determination information for determining the capability of the printer to the universal printing program, and providing information based on the capability determination information provided from the support program through the capability providing step to the application through the universal printing program.
