SUPPORT PROGRAM, PROGRAM SET, INFORMATION PROCESSING APPARATUS, AND PRINTING METHOD

A support program on an information processing device outputs preceding operation commands to ensure printers use their unique functions when printing via an OS standard print program, addressing the limitation of OS standard print programs in utilizing all printer capabilities.

JP7559351B2Active Publication Date: 2024-10-02BROTHER KOGYO KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020086101
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-05-15
Publication Date
2024-10-02
Estimated Expiration
2040-05-15

AI Technical Summary

Technical Problem

When printing using an OS standard print program, it is not possible to utilize all the unique functions of a printer, limiting its capabilities.

Method used

A support program that executes on an information processing device and is compatible with a connected printer, which outputs a preceding operation command before printing, allowing the printer to perform operations unique to its capabilities.

Benefits of technology

Enables the printer to utilize its unique capabilities even when printing via an OS standard print program, ensuring efficient and complete utilization of printer functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559351000001
    Figure 0007559351000001
  • Figure 0007559351000002
    Figure 0007559351000002
  • Figure 0007559351000003
    Figure 0007559351000003
Patent Text Reader

Abstract

To provide a technique which allows an information processing device incorporating an OS standard printing program to make use of unique capability of a printer even when printing using the printing program.SOLUTION: An auxiliary program 42 that can be run by a CPU 11 of a PC 1 and is compatible with a printer 2 connected to the PC1 is provided. When the PC 1 receives a print instruction for making the printer 2 print by means of a general-purpose printing program 41 pre-incorporated in an OS 21 of the PC 1, the auxiliary program 42 designates the printer 2 as the output destination and makes a command transmission application 44 output a preceding operation command. The printer 2 then performs a preceding operation corresponding to the preceding operation command.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technical field disclosed in this specification relates to a support program for supporting control of a printer, a program set, an information processing device, and a printing method. [Background technology]

[0002] A well-known technique for controlling a printer from an information processing device such as a personal computer (PC) is to install a printer driver in the information processing device, generate print data using the printer driver, and send the print data to the printer (see, for example, Patent Document 1). The printer driver is provided by the printer manufacturer and corresponds to various functions of the printer, allowing the printer to be used to its full potential. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2017-134718 A Summary of the Invention [Problem to be solved by the invention]

[0004] In recent years, a technology has been put into practical use that controls printers using a print program built into the operating system (OS) as standard, without using the printer driver mentioned above. With this technology, when the OS detects a printer, it associates it with the OS's standard print program, and thereafter, when a print instruction is received for that printer, printing can be performed using the OS's standard print program without using a printer driver.

[0005] However, when printing using the OS's standard printing program, it is not always possible to use all of the printer's functions. For example, printer-specific functions may not be supported, and the printer's inherent capabilities may not be fully utilized.

[0006] This specification discloses a technique for enabling a printer to utilize its own capabilities even when printing is performed using an OS-standard print program installed in an information processing device. [Means for solving the problem]

[0007] A support program developed for the purpose of solving the above-mentioned problems is executable by a computer of an information processing device, and is a support program corresponding to a printer connected to the information processing device, and when the computer receives a print instruction to cause the printer to print via a print program pre-installed in the operating system of the information processing device, executes an output instruction process in which the command sending program outputs a precedent operation command that executes a precedent operation before starting printing, specifying the printer as an output destination, and the command sending program has a function of outputting the precedent operation command to the printer specified as the output destination, and the printer has a function of performing the precedent operation corresponding to the precedent operation command.

[0008] The support program disclosed in this specification, when a print instruction is given to cause a printer to print via a print program built into the operating system, causes a command sending program having a function for outputting a precedent operation command to output a precedent operation command that specifies the printer that is the target of the print instruction as the output destination and causes the printer to execute a precedent operation unique to the printer. This allows the printer to execute a precedent operation unique to the printer, even when an information processing device receives a print instruction via a print program, and allows the printer to demonstrate its unique capabilities.

[0009] A control method for implementing the functions of the above-mentioned device, a computer program, and a computer-readable storage medium storing the computer program are also novel and useful. Effect of the Invention

[0010] The technology disclosed in this specification realizes a technology that allows a printer to utilize its own capabilities even when printing using an OS-standard print program installed in an information processing device. [Brief description of the drawings]

[0011] [Figure 1] FIG. 2 is a block diagram showing the electrical configuration of the printing system. [Diagram 2] FIG. 2 is an explanatory diagram showing the order of processing by each program. [Diagram 3] FIG. 4 is a sequence diagram showing an example of the operation of each program in the first embodiment. [Figure 4] 5 is a flowchart showing a procedure of a printing process in the first embodiment. [Diagram 5] 5 is a flowchart showing a procedure of post-processing in the first embodiment. [Figure 6] FIG. 11 is a sequence diagram showing an example of the operation of each program in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] A printing system using a program according to an embodiment will be described in detail below with reference to the accompanying drawings. This embodiment discloses an embodiment that embodies a printing system including a personal computer (hereinafter, referred to as "PC") and a printer.

[0013] An example of the configuration of a printing system in which the program of this embodiment is executed is shown in Fig. 1. The system shown in Fig. 1 includes a PC 1 and a printer 2. The PC 1 is an example of an information processing device. The printer 2 is a device that has a printing function and can communicate with the PC 1 via local communication or network communication.

[0014] 1, 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.

[0015] The UI 20 includes hardware that performs various displays and accepts user input instructions. The UI 20 may be a touch panel having both a display function and an input reception function, or may be a combination of a display having a display function and a keyboard, a mouse, or the like having an input reception function.

[0016] The communication IF 30 includes hardware for communicating with the printer 2 and hardware for accessing the Internet. The communication IF 30 may include multiple interfaces with different communication methods. Examples of communication methods include network communication and USB communication. The communication IF 30 may also include hardware for wireless communication such as Wi-Fi (registered trademark) and Bluetooth (registered trademark).

[0017] 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 "apps") and various data. 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 user's instructions. The controller 10 in FIG. 1 is a collective term for hardware and software used to control the PC 1, and does not necessarily represent a single piece of hardware actually present in the PC 1.

[0018] An example of the memory 12 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, non-transitory media also include recording media such as CD-ROMs and DVD-ROMs. A non-transitory medium is also a tangible medium. On the other hand, an electrical signal carrying a program downloaded from a server on the Internet is a computer-readable signal medium, which is a type of computer-readable medium, but is not included in non-transitory computer-readable storage media.

[0019] 1, the memory 12 stores an operating system (hereinafter, referred to as "OS") 21 including a general-purpose print program 41, an auxiliary program 42, an editing application 43, and a command transmission application 44. 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) whose specifications have been made public by Microsoft. The OS 21 is, for example, Microsoft Windows (registered trademark), macOS (registered trademark), or Linux (registered trademark). In addition to the items shown in the figure, the memory 12 also stores various data including information on connected devices and various programs such as a browser.

[0020] In addition, the following processes and each processing step of the flowchart basically indicate the processing of the CPU 11 according to the instructions written in the program such as the auxiliary program 42. That is, in the following description, processes such as "judgment," "extraction," "selection," "calculation," "decision," "identification," "acquisition," "reception," and "control" represent the processing of the CPU 11. The processing by the CPU 11 also includes hardware control using the API of the OS 21. In this specification, the operation of each program is described without detailed description of the OS 21. That is, in the following description, a description to the effect that "program B controls hardware C" may also mean that "program B controls hardware C using the API of the OS 21." In addition, the processing of the CPU 11 according to the instructions written in the program may be described in abbreviated terms. For example, the program may be described in abbreviated terms such as "performed by the CPU 11." In addition, the processing of the CPU 11 according to the instructions written in the program may be described in abbreviated terms such as "performed by program A."

[0021] Note that "obtaining" is used as a concept that does not require a request. In other words, the process of CPU 11 receiving data without a request is also included in the concept of "CPU 11 obtaining data." In addition, "data" in this specification is represented as a bit string that can be read by a computer. Data with the same substantial meaning but different formats are treated as the same data. The same applies to "information" in this specification. In addition, "requesting" and "instructing" are concepts that indicate outputting information indicating a request or information indicating an instruction to the other party. In addition, information indicating a request or information indicating an instruction is also simply referred to as "request" and "instruction."

[0022] Furthermore, the process by CPU 11 to determine whether information A indicates event B may be conceptually described as "determining whether event B is determined from information A." The process by CPU 11 to determine whether information A indicates event B or event C may be conceptually described as "determining whether event B or event C is determined from information A."

[0023] The general-purpose printing program 41 is an application for executing printing from the PC 1 to various printers such as the printer 2, and is an OS standard printing program pre-installed in the OS 21. The general-purpose printing program 41 in this embodiment is a program for generating print data that the printer can handle based on image data to be printed. The general-purpose printing program 41 is an example of a printing program.

[0024] The generic printing program 41 is a generic application that can be applied to multiple models of printers provided by each device vendor, and is a program that causes each printer to perform operations common to each model. Alternatively, the generic printing program 41 may be a program provided by each device vendor to the OS21 vendor to be pre-installed in the OS21, for example, a type of printer driver provided to be pre-installed in the OS21.

[0025] On the other hand, after providing the OS21 vendor with the generic print program 41 to be incorporated into the OS21, the programs developed by the vendors of each device can be added to the PC1 by installing them. In the following, a printer driver that can be added by installation, rather than a program that is pre-integrated into the OS21, will be simply referred to as a "printer driver" or a "vendor driver." In other words, a printer driver is not a program that is pre-integrated into the OS21, but a program that must be installed into the OS21 in accordance with a predetermined procedure in order to be used. For example, an installer instructed via the UI20 or the OS21 installs the printer driver into the OS21. A printer driver is a program prepared by a printer vendor to correspond individually to each printer model, and may also be a program that can accept instructions for functions specific to the corresponding model.

[0026] The printer driver, i.e., the vendor driver, may have higher performance than the general-purpose print program 41 pre-installed in the OS 21. High performance may mean, for example, that the print data generated by the printer driver can be processed more efficiently in the printer than the print data generated by the general-purpose print program 41, resulting in a faster print speed. The printer may also be able to process the print data with less memory. The print data generated by the printer driver may enable the printer to print a printout with better color reproduction. The print data generated by the printer driver may enable the printer to print a printout with higher resolution. The printer driver may also be able to instruct the printer on functions specific to the printer driver that the general-purpose print program 41 cannot instruct the printer on. Examples of specific functions include a mirror printing function and a negative-positive inversion printing function.

[0027] The auxiliary program 42 is a program that executes processing based on instructions from the OS 21 in response to the operation of the general-purpose printing program 41, and is an application that supports the control of the target hardware. The auxiliary program 42 is started, for example, from the OS 21. The auxiliary program 42 is an application corresponding to each model of the printer 2, etc. The auxiliary program 42 is prepared by a vendor of a device such as the printer 2. The device vendor registers the auxiliary program 42 in a platform provided by the vendor of the OS 21 according to a procedure specified by the vendor of the OS 21. When a new printer 2 is connected to the PC 1 and an auxiliary program 42 corresponding to the printer 2 is registered in the platform, the OS 21 downloads the auxiliary program 42 from the server where the auxiliary program 42 is stored and incorporates it into the PC 1.

[0028] Then, the OS 21 associates the identification information of the incorporated auxiliary program 42 with the printer information of the newly connected printer 2 and stores the information in the memory 12. In the PC 1 to which a plurality of models of printers are connected, an auxiliary program corresponding to each model is incorporated, and information associating each printer with each auxiliary program is stored in the memory 12. In other words, the memory 12 stores, as printer information for each printer connected to the PC 1, information on the corresponding auxiliary program 42 together with model information and access information for the printer.

[0029] The editing application 43 is, for example, an application for creating and editing image data and document data. The editing application 43 is, for example, Microsoft Word (registered trademark) or PowerPoint (registered trademark). The editing application 43 accepts user operations including instructions to cause the printer 2 to perform a predetermined operation. Specifically, the editing application 43 accepts, for example, a print instruction via the UI 20 to cause the printer 2 to execute printing.

[0030] The command sending application 44 is a program that sends various commands to a specified device. The command sending application 44 is launched, for example, from the auxiliary program 42. The command sending application 44 is prepared by a vendor of a device such as the printer 2, and is installed, for example, in combination with the auxiliary program 42. In a PC 1 to which multiple models of printers are connected, a command sending program corresponding to each model may be installed, or a command sending program common to the multiple models may be installed. The command sending application 44 is an example of a command sending program.

[0031] Next, the order of processes for printing by each program will be described with reference to Fig. 2. In the following, a case will be described in which the PC 1 accepts, via the UI 20, an instruction to execute printing on the printer 2 via the general-purpose printing program 41 in the editing application 43.

[0032] The editing application 43 that has received the print instruction passes a print execution notification based on the received print instruction to the OS 21. The print execution notification includes, for example, information indicating the printer specified in the print instruction, print parameters, and information indicating image data to be printed.

[0033] Next, if an auxiliary program 42 corresponding to the printer specified in the print instruction is stored in memory 12, OS21 instructs auxiliary program 42 to execute processing by auxiliary program 42 before starting generation of print data by general-purpose print program 41.

[0034] The auxiliary program 42 includes pre-processing that is executed before the processing by the general-purpose printing program 41 starts, and post-processing that is executed after the processing by the general-purpose printing program 41 ends and before the print image data is sent to the printer 2. In the following, of the processing of the auxiliary program 42, the processing that is executed before the processing by the general-purpose printing program 41 starts will be described as processing by a "pre-processing auxiliary program" 421, and the processing that is executed after the processing by the general-purpose printing program 41 ends will be described as processing by a "post-processing auxiliary program" 422.

[0035] In the PC 1 of this embodiment, in response to receiving a print instruction, the preprocessing assistant program 421 executes preprocessing before the general-purpose print program 41 starts generating print data. The preprocessing assistant program 421 can acquire from the OS 21 various information included in the print instruction, such as print parameters and printer information, as well as intermediate image data based on the image data to be printed. The preprocessing assistant program 421 executes preprocessing based on the acquired information and its own program, and returns a completion notification to the OS 21 after the preprocessing is completed. Details of the preprocessing by the preprocessing assistant program 421 will be described later.

[0036] When the OS 21 receives the end notification from the pre-processing auxiliary program 421, it executes the process by the general-purpose printing program 41. The general-purpose printing program 41 generates print data based on the print instruction.

[0037] When the generation of the print data is complete, the OS 21 executes post-processing using the post-processing assistant program 422 before transmitting print image data based on the generated print data to the printer 2. The post-processing assistant program 422 can obtain print data that has already been generated from the OS 21, in addition to print parameters and printer information. The post-processing assistant program 422 executes post-processing based on the obtained information and its own program, and returns a completion notification to the OS 21 after the post-processing is completed. Details of the post-processing using the post-processing assistant program 422 will be described later.

[0038] When the OS 21 receives a completion notification from the post-processing auxiliary program 422, it transmits the print parameters and the print image data to the printer 2 via the communication IF 30 in association with each other. The print image data may be the print data itself, or may represent an image obtained by processing the image represented by the print data. For example, when a watermark is synthesized in the post-processing, the print image data becomes data representing the synthesized image. Also, the print parameters may have been changed by the pre-processing auxiliary program 421 or the post-processing auxiliary program 422 from the settings in the editing application 43. The printer 2 executes printing based on the received print parameters and print image data.

[0039] Next, a first embodiment of a printing procedure by the printing system including the operation of the auxiliary program 42 will be described with reference to the sequence diagram of Fig. 3. In the following description, it is assumed that the printer 2 is selected as the printer that performs printing.

[0040] First, the editing application 43 receives a print execution instruction (arrow A) via the UI 20. Then, when the editing application 43 receives the print execution instruction, it passes a print execution notification to the OS 21 (arrow B).

[0041] Note that the editing application 43 accepts the designation of image data to be printed and the setting of print parameters before accepting an instruction to execute printing, and the print execution notification includes information indicating the set print parameters and the image data to be printed. The print parameters may include general settings such as the number of copies, as well as settings specific to the printer 2 or the auxiliary program 42 corresponding to the printer 2. Examples of print parameters specific to the auxiliary program 42 include a setting of whether to enable a preview function that displays an image to be printed on the UI 20 before sending print data, and a designation of secure printing that sets the input of a password as a printing execution condition. When a designation of secure printing is accepted, the password is also included in the print parameters. Furthermore, the print parameters specific to the auxiliary program 42 may include a setting of a function equivalent to that of a printer driver.

[0042] When the OS 21 detects a print execution notification output from the editing application 43, it identifies the printer designated as the device that will execute printing based on the information included in the print execution notification. For example, when it is designated to print on the printer 2 using the general-purpose print program 41, if the auxiliary program 42 corresponding to the printer 2 is installed, the OS 21 outputs an execution command for the processing of the auxiliary program 42 (arrow C).

[0043] When an execution command corresponding to itself is output, the auxiliary program 42 executes the processing of the pre-processing auxiliary program 421 or the post-processing auxiliary program 422. Here, before starting generation of print data, the OS 21 outputs an execution command for pre-processing to the auxiliary program 42, and causes the pre-processing auxiliary program 421 to start pre-processing.

[0044] The pre-processing assistant program 421 executes pre-processing using the information on the printer 2, the printing parameters, and the image data passed from the OS 21 (arrow D). The image data acquired from the OS 21 is intermediate image data obtained by converting the format of the image data passed from the editing application 43 into an intermediate data format by the OS 21. The pre-processing corresponds to, for example, image processing based on the setting of printing parameters, such as enlarging / reducing or consolidating an image. As another example of the pre-processing, a setting screen for printing parameters may be displayed on the UI 20 to accept changes in the setting of printing parameters. After the execution of the pre-processing is completed, the pre-processing assistant program 421 passes a completion notification to the OS 21 (arrow E).

[0045] In response to receiving the end notification from the pre-processing auxiliary program 421, the OS 21 generates print data using the general-purpose print program 41 (arrow F). The print data generated by the general-purpose print program 41 is general-purpose print data that can be used for printing by various printers 2.

[0046] After the general-purpose printing program 41 finishes generating the print data, the OS 21 again outputs an execution command for the auxiliary program 42 (arrow G). Specifically, after completing the generation of the print data, the OS 21 outputs an execution command for post-processing to the auxiliary program 42, causing the post-processing auxiliary program 422 to start post-processing.

[0047] The post-processing assistant program 422 executes post-processing by using the information on the printer 2, print parameters, and print data passed from the OS 21. In this embodiment, the post-processing assistant program 422 generates print image data based on the print data acquired from the OS 21 as post-processing, and also determines whether or not a restriction condition that is a condition for restricting the output of a preceding operation command is satisfied (arrow H).

[0048] The restriction condition of this embodiment corresponds to the specification of secure printing. When secure printing is specified, the printer 2 accepts the input of a password after receiving the print image data, and if a password that matches the password included in the print parameters is entered, the printer 2 will perform printing based on the print image data. In other words, when secure printing is specified, printing will not start immediately even if the printer 2 receives the print image data. Therefore, there is no need to perform a precedence operation, and it can be determined that the transmission of a precedence operation command is restricted.

[0049] In other words, a restriction condition corresponds to the printer 2 not starting printing even if it receives print image data unless other conditions are met. For example, a restriction condition may be that, in addition to secure printing, there is a designation of reserved printing, which causes printing to be performed at a specified time. Or, a restriction condition may include printing that starts printing after waiting for an execution instruction input operation from the user, even if a password is not entered. Or a restriction condition may be that the printer 2 is already executing printing. This is because preceding operations are not necessary while printing is in progress. Another restriction condition may be that printing is not possible due to an error such as no paper or a paper jam. This is because printing cannot start immediately even if a preceding operation is performed.

[0050] If the restriction conditions are not satisfied, the post-processing auxiliary program 422 starts the command sending application 44 (arrow I). The start-up command for the command sending application 44 has a start-up option, and the start-up option includes transmission information regarding the sending method, such as address information of the printer 2 that is the output destination of the command and model information of the printer 2. Before starting the command sending application 44, the post-processing auxiliary program 422 obtains the transmission information from the OS 21.

[0051] When the command sending application 44 is started, it creates a precedent operation command that instructs the printer 2 to execute a precedent operation, using model information of the printer 2 included in the start-up option, and outputs the created precedent operation command to the printer 2 via the communication IF 30, using address information included in the start-up option (arrow J). The precedent operation is an operation that causes the printer 2 to prepare for printing before sending the print image data. After outputting the precedent operation command, the command sending application 44 automatically ends.

[0052] The printer 2 starts the prior operation (arrow K) by receiving the prior operation command from the PC 1. By having the printer 2 perform the prior operation, it is possible to shorten the waiting time from when the user inputs a print command until the printing of the first page is completed.

[0053] There are several types of preceding operations, for example, for each model of the printer 2. When the printer 2 is an inkjet printer, there is, for example, a preceding operation of removing a cap for preventing the print head from drying and moving the print head to a print start position. When the printer 2 is an electrophotographic printer, there is, for example, a preceding operation of starting preheating of the fixing device. That is, since executable preceding operations differ for each printer model, there are several types of preceding operation commands. The command sending application 44 stores the preceding operation commands in association with the model name. Furthermore, regardless of the printing method of the printer 2, there is, for example, a preceding operation of identifying a paper feed tray based on printing parameters, drawing paper from the identified paper feed tray, and transporting it to a predetermined standby position.

[0054] When there are multiple types of precedent operation commands that the printer 2 can handle, the command sending application 44 may output the multiple types of precedent operation commands, or may accept in advance on a setting screen or the like the specification of the precedent operation command to be output to the printer 2. When causing the printer 2 to perform multiple precedent operations, the command sending application 44 may send the multiple precedent operation commands sequentially, or may combine the multiple precedent operation commands into one precedent operation command and send it. The printer 2 has a function to perform at least one precedent operation, and upon receiving a precedent operation command, it performs the precedent operation corresponding to that precedent operation command.

[0055] After starting the command transmission application 44, or when the restriction conditions are met, the post-processing auxiliary program 422 passes a completion notification to the OS 21 (arrow L). In response to receiving the completion notification from the post-processing auxiliary program 422, the OS 21 transmits the print image data to the printer 2 (arrow M) and ends the processing based on the print execution notification. Having received the print image data, the printer 2 performs printing based on the received print image data (arrow N).

[0056] In addition, in the post-processing by the post-processing auxiliary program 422, a preview display that displays an image based on the print image data may be performed. When the preview display is performed, a selection by a user operation of whether to execute printing or cancel is accepted, and if execution of printing is selected, the command sending application 44 is started, and if cancel is selected, the command sending application 44 is not started, and a cancellation notification is passed to the OS 21 instead of a termination notification.

[0057] In the above procedure, the command sending application 44 creates the precedent operation command based on the model information of the printer 2, but the post-processing auxiliary program 422 may create the precedent operation command and include information indicating the type of the precedent operation command in the startup options. In this case, the auxiliary program 42 stores the precedent operation command in association with the model name, and the command sending application 44 does not generate the precedent operation command, but outputs the precedent operation command based on the information indicating the type of the precedent operation command included in the startup options.

[0058] In addition, in the above-described procedure, as post-processing after generating the print data, the post-processing auxiliary program 422 launches the command sending application 44 to output a precedent operation command, but as pre-processing before generating the print data, the pre-processing auxiliary program 421 may launch the command sending application 44 to output a precedent operation command.

[0059] In the above-described procedure, the auxiliary program 42 starts the command transmission application 44, which then automatically outputs the preceding operation command according to the start-up options, i.e., the start-up of the command transmission application 44 also serves as an instruction to output the preceding operation command, but this may be different. In this case, for example, the start-up of the command transmission application 44 and the instruction to output the preceding operation command are executed successively, and the transmission information included in the start-up options of the command transmission application 44 is included in the instruction to output the preceding operation command.

[0060] The command transmission application 44 is started by the auxiliary program 42, and when started, it automatically starts processing for outputting the preceding operation command, and automatically ends after output, but it may be a resident application that is already started. In this case, the auxiliary program 42 outputs an execution command for outputting the preceding operation command to the command transmission application 44, and the command transmission application 44 outputs the preceding operation command based on the transmission information included in the execution command, and does not end even after output.

[0061] Next, among the procedures for implementing the printing system of the first embodiment described above, the procedure of the print process by the OS 21 will be described with reference to the flowchart in Fig. 4. The print process is executed by the CPU 11 of the PC 1 according to the OS 21 when the OS 21 receives a print execution notification from the editing application 43 (arrow B in Fig. 3).

[0062] In the printing process, the OS 21 first determines whether or not the auxiliary program 42 is present in the memory 12 (S101). As described above, the auxiliary program 42 is prepared by the device vendor for each printer, and is installed in the PC 1 by the OS 21 when the OS 21 detects the printer.

[0063] If it is determined that the auxiliary program 42 is not present in the memory 12 (S101: NO), such as when the auxiliary program 42 corresponding to the printer 2 is not prepared, the OS 21 generates print data using the general-purpose print program 41 (S102). Then, the OS 21 transmits the generated print data or print image data based on the print data to the printer 2 (S103), and ends the print process. If transmission of the print image data fails, the OS 21 may execute a predetermined error process.

[0064] If the auxiliary program 42 is not installed in the PC 1, print data is generated by the general-purpose print program 41, so the user can use various printers 2 with the same ease without having to worry about setting up the printer 2. However, when printing using the general-purpose print program 41, there is a possibility that printing will take longer than when printing using a high-performance printer driver, and that the quality of the printed matter will be lower.

[0065] On the other hand, when it is determined that the auxiliary program 42 is present (S101: YES), the OS21 outputs an execution command to the auxiliary program 42 corresponding to the printer 2, and starts preprocessing by the preprocessing auxiliary program 421 (S111, arrow D in FIG. 3). As a result, the CPU 11 executes the preprocessing in accordance with the preprocessing auxiliary program 421. When the processing of the preprocessing auxiliary program 421 is executed from the OS21, for example, the OS21 may input information indicating the preprocessing auxiliary program 421 to the auxiliary program 42. Alternatively, the OS21 may store information indicating the preprocessing auxiliary program 421 in the memory 12, and then output an execution command to the preprocessing auxiliary program 421, and the preprocessing auxiliary program 421 may read the information. Alternatively, the OS21 may output an execution command specifying the preprocessing of the preprocessing auxiliary program 421.

[0066] After the pre-processing auxiliary program 421 starts executing the pre-processing, if the OS21 receives an end notification from the pre-processing auxiliary program 421, it generates print data using the general-purpose print program 41 included in the OS21 (S112, arrow F in FIG. 3). S108 is the same process as S102. Note that if a cancellation notification is received from the pre-processing auxiliary program 421, the OS21 ends the print process without generating print data.

[0067] After generating the print data, before transmitting print image data based on the generated print data to the printer 2, the OS 21 outputs an execution command to the auxiliary program 42 corresponding to the printer 2 to start post-processing by the post-processing auxiliary program 422 (S113, arrow G in FIG. 3). As a result, the CPU 11 executes post-processing in accordance with the post-processing auxiliary program 422.

[0068] After the post-processing assistant program 422 starts executing the post-processing, the OS21 judges whether the notification received from the post-processing assistant program 422 is an end notification or a cancellation notification (S114). If it is judged that an end notification has been received (S114: YES), the OS21 transmits the print data or print image data based on the print data to the printer 2 (S103, arrow M in FIG. 3) and terminates the print processing. If it is judged that a cancellation notification has been received (S114: NO), the OS21 terminates the print processing without transmitting the print image data.

[0069] Next, the procedure of post-processing by the auxiliary program 42 that realizes the above-mentioned printing system will be described with reference to the flowchart in Fig. 5. The post-processing is executed by the CPU 11 of the PC 1 according to a post-processing auxiliary program 422, which is a part of the auxiliary program 42, when the auxiliary program 42 receives an execution command from the OS 21 (arrow G in Fig. 3).

[0070] In the post-processing, the post-processing assistant program 422 first generates print image data based on the print data generated using the general-purpose print program 41 in accordance with the print parameters (S201). In S201, for example, processing is performed to synthesize a watermark, header, or footer onto the image represented by the print data. Note that if no processing is performed on the image represented by the print data, S201 may be omitted and the print data may be used as print image data as is, or a copy of the print data may be generated.

[0071] Next, the post-processing auxiliary program 422 judges whether the restriction condition is satisfied (S202, arrow H in FIG. 3). If the restriction condition is not satisfied (S202: NO), the post-processing auxiliary program 422 judges whether there are multiple communication modes available for the printer 2 designated as the device to execute printing (S204). The difference in communication mode in S204 means the difference in communication medium or communication method, and specific examples of the communication mode include USB and LAN port in wired communication, and WiFi and Bluetooth in wireless communication. S204 is a process for judging whether there is a communication mode available for communication with the printer 2 other than the communication mode selected by the print instruction. For example, when wireless communication via WiFi is selected by the print instruction, if communication with the printer 2 is possible even in a communication mode other than WiFi, it is judged that there are multiple communication modes available for the printer 2.

[0072] If the printer 2 has multiple communication modes available for communication (S204: YES), the post-processing auxiliary program 422 selects one of the communication modes other than the communication mode currently selected by the print instruction as the communication mode for outputting the preceding operation command (S205). On the other hand, if the printer 2 does not have multiple communication modes available for communication (S204: NO), the post-processing auxiliary program 422 selects the communication mode currently selected by the print instruction as the communication mode for outputting the preceding operation command (S206).

[0073] After selecting the communication mode, the post-processing auxiliary program 422 starts the command transmission application 44 (S207, arrow I in FIG. 3). S207 is an example of an output instruction process. Specifically, the post-processing auxiliary program 422 queries the OS 21 or refers to a storage location where the OS 21 stores information to acquire model information of the printer 2 and access information such as an IP address. Then, the command transmission application 44 starts by including the model information of the printer 2, access information, and information indicating the selected communication mode in the startup option. The command transmission application 44 outputs a precedent operation command to the printer 2 according to the communication mode included in the startup option. When there are multiple communication modes available for communication with the printer 2, the precedent operation command is output to the printer 2 in a communication mode different from the communication mode when transmitting the print image data, so that the output of the precedent operation command does not affect the transmission of the print image data, and a problem such as a delay in one causing a delay in the other can be avoided.

[0074] After the command transmission application 44 is started, or if the restriction condition is satisfied (S202: YES), the post-processing auxiliary program 422 passes an end notification to the OS 21 (S203, arrow L in FIG. 3) and ends the post-processing.

[0075] In the above procedure, the post-processing assistant program 422 selects the communication mode for transmitting the precedent operation command, but the command sending application 44 may select it. In this case, information indicating the communication mode for transmitting the print image data is passed from the post-processing assistant program 422 to the command sending application 44. In the above procedure, the post-processing assistant program 422 acquires model information and access information of the printer 2 for transmitting the precedent operation command from the OS 21 and passes it to the command sending application 44, but the post-processing assistant program 422 may pass only information identifying the printer 2 to the command sending application 44, and the command sending application 44 may acquire the model information and access information of the printer 2 from the OS 21.

[0076] As described above in detail, according to the auxiliary program 42 of the first embodiment, when a print instruction is given via the general-purpose print program 41 to cause the printer 2 to print, the auxiliary program 42 designates the printer 2 that is the target of the print instruction as the output destination, and causes the command sending application 44, which has a function for outputting the precedent operation command, to output a precedent operation command for executing the printer's own precedent operation. This allows the printer 2 to execute the printer's own precedent operation even when the PC 1 accepts a print instruction via the general-purpose print program 41, thereby allowing the printer 2 to demonstrate its own capabilities.

[0077] Furthermore, the auxiliary program 42 of the first embodiment starts the command transmission application 44 when it is necessary to output a precedent operation command, and the command transmission application 44 automatically outputs the precedent operation command when started and then ends. Since the output of the precedent operation command is automatically completed by starting the command transmission application 44, the processing in the auxiliary program 42 is simpler than when starting the command transmission application 44 and outputting the precedent operation command are executed by separate commands.

[0078] Next, a second embodiment of the printing procedure by the printing system including the operation of the auxiliary program 42 will be described with reference to the sequence diagram of FIG. 6. The second embodiment differs from the first embodiment in that the command transmission application 44 may be started in pre-processing. Also, the second embodiment differs from the first embodiment in that the command transmission application 44 does not output a command immediately after starting. Note that, among the processes shown in FIG. 6, the same processes as those in the first embodiment shown in FIG. 3 are denoted by the same reference numerals. Also, in the second embodiment, arrows A to C are the same as those in the first embodiment shown in FIG. 3, and their description will be omitted.

[0079] When a command to execute preprocessing is output from the OS 21 (arrow C in FIG. 3), the preprocessing auxiliary program 421 of the auxiliary program 42 judges whether or not a restrictive condition is satisfied as part of the preprocessing (arrow O). The restrictive condition here may be, for example, the same condition as the arrow H in the first embodiment.

[0080] If the restriction conditions are not satisfied, the pre-processing auxiliary program 421 starts the command transmission application 44 (arrow P). The process of arrow P is an example of a start-up process. In this embodiment, the command transmission application 44 is simply started, and the start-up option of the start-up command does not include transmission information about the transmission method.

[0081] After starting the command transmission application 44, or when the restriction conditions are met, the pre-processing auxiliary program 421 passes a termination notification to the OS 21 (arrow E). In response to receiving the termination notification from the pre-processing auxiliary program 421, the OS 21 generates print data using the general-purpose printing program 41 (arrow F) and outputs an execution command for post-processing of the auxiliary program 42 (arrow G).

[0082] When an execution command for post-processing is output, the post-processing auxiliary program 422 of the auxiliary program 42 determines whether or not the restrictive conditions are met as one of the post-processing processes (arrow H). If the restrictive conditions are not met, the post-processing auxiliary program 422 outputs an execution command for the processing of the command sending application 44 (arrow Q). The processing of arrow Q is an example of an instruction input process. The execution command includes model information and address information of the printer 2 to which the command is to be output, as well as information indicating the communication mode, similar to the start-up options when the command sending application 44 is started in the first form.

[0083] When the command transmission application 44 receives an execution command from the post-processing auxiliary program 422, it uses the information included in the execution command to output a precedent operation command to the printer 2 (arrow J). The printer 2 starts the precedent operation by receiving the precedent operation command from the PC 1 (arrow K). The arrows L to N are the same as those in the first embodiment, and the description will be omitted.

[0084] As described above in detail, even in the case of the auxiliary program 42 of the second embodiment, when the PC 1 receives a print instruction via the general-purpose print program 41, a precedent operation command is output by the command transmission application 44. This allows the printer 2 to execute a precedent operation unique to the printer, thereby enabling the printer to demonstrate its unique capabilities.

[0085] Furthermore, the auxiliary program 42 of this embodiment can start the command sending application 44 in advance by separating the start-up of the command sending application 44 from the input of an execution command to the command sending application 44, and can send the precedent operation command to the printer 2 promptly after the auxiliary program 42 inputs an output instruction for the precedent operation command, allowing the printer 2 to start executing the precedent operation early. For example, when previewing an image shown by print image data, the precedent operation command is sent after the user selects print execution, but by starting the command sending application 44 in advance, the precedent operation command can be sent more quickly than when the command sending application 44 is started after the user selects print execution.

[0086] It should be noted that the embodiments disclosed in this specification are merely examples and do not limit the present invention in any way. Therefore, the technology disclosed in this specification can be naturally improved and modified in various ways without departing from the gist of the technology. For example, the device connected to PC1 is not limited to a printer, but can be any device having a printing function, such as a multifunction device, a copier, or a fax machine. Also, the number of printers connected to PC1 is not limited to one, and may be multiple.

[0087] Also, for example, in the embodiment, the auxiliary program 42 has both pre-processing and post-processing, but the auxiliary program 42 may be configured only as a post-processing auxiliary program 422 that is started after the print data is generated. Also, the pre-processing auxiliary program 421 and the post-processing auxiliary program 422 may be one module or separate modules.

[0088] The command sending application 44 may be a dedicated application for outputting a precedent operation command, or may be an application capable of sending other commands. For example, if the printer 2 has a unique function such as a colorant saving mode, a command for enabling the unique function may be sent to the printer 2. The command sending application 44 may also have functions other than the command sending function.

[0089] The command transmission application 44 may be incorporated in the same device as the device in which the auxiliary program 42 is incorporated as in the embodiment, or in a different device. For example, the command transmission application 44 may be incorporated in a server connected to the PC 1.

[0090] Printing parameters may also be sent as a precedent operation command. In this case, the printer 2 that has received the printing parameters executes preparatory operations for color printing if the printing parameters include a color printing setting, and executes preparatory operations for black-and-white printing only if the printing parameters include a monochrome printing setting.

[0091] Furthermore, if the printer 2 is a laser printer, a calibration process for suppressing color misregistration may be performed as a preparatory operation for color printing. Furthermore, if the printer 2 is a model equipped with a finisher and the printing parameters include processing by the finisher, the printer 2 may perform a preparatory operation for the finisher when it receives the printing parameters.

[0092] Furthermore, the module that executes the pre-processing and post-processing is not limited to the auxiliary program 42, but may be any program that receives instructions from the OS 21 when printing is performed by the general-purpose print program 41 of the OS 21. For example, it may be a print workflow application (Print workflow) whose specifications have been published by Microsoft.

[0093] In the embodiment, the auxiliary program 42 is started by the OS 21 outputting an execution command for the auxiliary program 42, but the timing of starting the auxiliary program 42 is not limited to this. For example, the auxiliary program 42 may be constantly running, in which case the auxiliary program 42 may receive an execution command and perform the above-mentioned operation.

[0094] In addition, in any of the flowcharts disclosed in the embodiments, the execution order of multiple processes in any of the steps can be changed as desired or the processes can be executed in parallel, as long as no contradiction occurs in the process content.

[0095] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]

[0096] 1 PC 2. Printer 11 CPU 12. Memory 21 OS 30 Communication Interface 41 General purpose printing program 42 Support Programs 43 Editing Apps 44 Command sending app

Claims

1. A support program executable by a computer of an information processing device and corresponding to a printer connected to the information processing device, The computer includes: When a print instruction is given to cause the printer to print via a print program that is pre-installed in the operating system of the information processing device and does not use a printer driver provided by a printer manufacturer, an output instruction process for causing a command transmission program to output a precedent operation command for executing a precedent operation before starting printing, specifying the printer as an output destination; A generation process for generating print image data based on the print data passed from the operating system; the command transmission program has a function of outputting the preceding operation command to a printer designated as an output destination, the printer has a function of performing the preceding operation corresponding to the preceding operation command, The computer further comprises: a function of notifying the printing program of an end of the process after the execution of the output instruction process, and the printing program having a function of transmitting the print image data generated by the support program to the printer in response to the end notification from the support program; A support program characterized by:

2. 2. The support program according to claim 1, In the output instruction process, the printer is designated in a startup option of the command transmission program, and the command transmission program is started to cause the command transmission program to output the preceding operation command, and the command transmission program outputs the preceding operation command to the printer designated in the startup option. A support program characterized by:

3. 2. The support program according to claim 1, In the output instruction process, the computer a startup process for starting the command transmission program and an instruction input process for inputting an output instruction specifying the printer as an output destination to the command transmission program, and when the output instruction is input after the command transmission program is started, the command transmission program outputs the preceding operation command to the printer specified in the output instruction. A support program characterized by:

4. The support program according to claim 3, The computer includes: executing the startup process before the operating system starts generating the print data by the printing program; executing the instruction input process after the operating system completes generation of the print data by the printing program; A support program characterized by:

5. A support program according to any one of claims 1 to 4, In the output instruction process, causing the command transmission program to output the preceding operation command in a communication mode different from a communication mode for the printing program to transmit the print image data generated by the support program to the printer, with the printer designated as an output destination; A support program characterized by:

6. The support program according to claim 5, In the output instruction process, causing the command transmission program to output the anticipatory operation command by specifying a communication mode to be used for outputting the anticipatory operation command; A support program characterized by:

7. A program set including a support program and a command transmission program that are executable by a computer of an information processing device, The support program is a program corresponding to a printer connected to the information processing device, the program being installed on the computer. When a print instruction is given to cause the printer to print via a print program that is pre-installed in the operating system of the information processing device and does not use a printer driver provided by a printer manufacturer, an output instruction process for instructing the command transmission program to output a precedent operation command for specifying the printer as an output destination and executing a precedent operation before starting printing; A generation process for generating print image data based on the print data passed from the operating system; Run the command, The command transmission program causes the computer to when an instruction to output the anticipatory operation command is given from the support program, a command output process is executed to output the anticipatory operation command to the printer designated as an output destination, the printer having a function of performing the anticipatory operation corresponding to the anticipatory operation command; The support program further includes: a function of notifying the printing program of an end of the process after the execution of the output instruction process, and the printing program having a function of transmitting the print image data generated by the support program to the printer in response to the end notification from the support program; A program set characterized by:

8. A program set according to claim 7, In the output instruction process by the support program, specifying the printer in a startup option of the command transmission program and starting the command transmission program, thereby instructing the command transmission program to output the precedent operation command; In the command output process by the command transmission program, outputting the preceding operation command to the printer specified by the start-up option; A program set characterized by:

9. A program set according to claim 7, In the output instruction process by the support program, execute a start-up process for starting the command transmission program, and an instruction input process for inputting an output instruction specifying the printer as an output destination to the command transmission program; In the command output process by the command transmission program, after being started, when the output instruction is input, outputting the preceding operation command to the printer designated by the output instruction; A program set characterized by:

10. A program set according to any one of claims 7 to 9, In the command output process by the command transmission program, outputting the preceding operation command to the printer designated as an output destination using a communication protocol different from a communication protocol for the printing program to transmit the print image data generated by the support program to the printer; A program set characterized by:

11. A communication interface; A computer, An information processing device comprising: a support program and a command transmission program corresponding to a printer connected to the information processing device are installed; the operating system of the information processing device has a printing program that is a pre-installed program and does not use a printer driver provided by a printer manufacturer; The computer includes: When a print instruction is given via the print program to cause the printer to print, the support program an output instruction process for instructing the command transmission program to output a precedent operation command for specifying the printer as an output destination and executing a precedent operation before starting printing; A generation process for generating print image data based on the print data passed from the operating system; Run The computer further comprises: when an instruction to output the prior operation command is given from the support program, a command output process is executed by the command transmission program to output the prior operation command to the printer designated as an output destination via the communication interface, the printer having a function of performing the prior operation corresponding to the prior operation command; The computer further comprises: after the support program has executed the output instruction process, notifying the print program of the completion, and further executing a transmission process by the print program in response to the completion notification, for transmitting the print image data generated by the support program to the printer.

23. An information processing apparatus comprising:

12. A printer is connected to the information processing device, a support program corresponding to the printer is installed in the information processing device; the operating system of the information processing device has a printing program that is a pre-installed program and does not use a printer driver provided by a printer manufacturer; A printing method for causing the printer to execute printing using print image data based on print data generated by the information processing device, comprising: an output instruction step of instructing a command transmission program to output a precedent operation command for specifying the printer as an output destination and executing a precedent operation before starting printing, when a print instruction to cause the printer to print is given via the print program; a generating step of generating print image data based on print data passed from the operating system by the support program when the print instruction is received via the print program; a command output step of outputting the anticipatory operation command to the printer designated as an output destination by the command transmission program when the support program instructs the output of the anticipatory operation command, the printer having a function for performing the anticipatory operation corresponding to the anticipatory operation command; a transmission step of notifying the printing program of an end from the support program after the support program has instructed the command transmission program to output the preceding operation command, and further transmitting the print image data generated by the support program to the printer by the printing program in response to the end notification; Including, A printing method comprising:

Citation Information

Patent Citations

  • Information processor, printing controller, printing system, their controlling method, and printer and storage medium

    JP2000163225A

  • Processing method and image processing system

    JP2006215752A

  • Driver program, and set comprising driver program and printer

    JP2017134718A

  • Communication device, control method, and program

    JP2018190285A

  • Print processing system and control method

    JP2019175330A