Information processing program
The information processing program integrates scanner and printer functions within a single device, eliminating the need for external servers to create a virtual multifunction device, enhancing convenience and efficiency.
Patent Information
- Application Number
- JP2023055835
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-10-11
AI Technical Summary
Existing technologies require an external server device to connect a scanner and printer function as a virtual multifunction device, which is inconvenient and inefficient.
An information processing program that enables a computing unit to communicate with a printing device and a reading device, acquiring and transmitting capability information and print data to link their functions without an external device, forming a virtual multifunction device.
Enables the creation of a virtual multifunction device by linking a scanner and printer without external devices, allowing seamless integration and functionality without the need for additional hardware.
Smart Images

Figure 2024143258000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing program executed on an information processing device connected to a printing device. [Background technology]
[0002] 2. Description of the Related Art Conventionally, as described in Patent Document 1, for example, a configuration is known in which a scanner and a printer are combined to function as a virtual multifunction device (hereinafter, appropriately referred to as a "virtual multifunction device"). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2001-344162 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the technology described in Patent Document 1, an external device that acts as a server for connecting a scanner function and a printer function to function as a virtual multifunction device is required in addition to the user's PC terminal.
[0005] An object of the present invention is to provide an information processing program that can realize a virtual multifunction machine by connecting a scanner and a printer without requiring an external device. [Means for solving the problem]
[0006] In order to achieve the above object, the present invention causes an information processing device capable of communicating with a printing device and a reading device to execute the following operations on an arithmetic unit of an information processing device capable of communicating with the printing device: a capability information acquisition process for acquiring first capability information representing the capability of the printing device from the printing device; a capability information output process for outputting second capability information based on the first capability information acquired in the capability information acquisition process to the OS standard printing software; a print data acquisition process for acquiring print data from the OS standard printing software in response to the output of the second capability information in the capability information output process; a first print data transmission process for transmitting first print data based on the print data acquired in the print data acquisition process to the printing device; a registration process for registering the information processing device in the reading device as a destination of image data read by the reading device; an image data acquisition process for acquiring the read image data transmitted by the reading device; and a second print data transmission process for transmitting second print data based on the read image data acquired in the image data acquisition process to the printing device.
[0007] In the present invention, a printing device is connected to an information processing device. When the information processing program of the present invention is executed by the calculation unit of the information processing device, first capability information indicating the capability of the printing device is acquired in a capability information acquisition process. In a capability information output process, second capability information based on the acquired first capability information of the printing device is output to the OS standard printing software. The OS standard printing software outputs print data corresponding to the second capability information, and the output print data is acquired in a print data acquisition process executed by the calculation unit. First print data based on the acquired print data is sent to the printing device, and printing based on the first print data is executed in the printing device. By executing the above-mentioned processes of the information processing program of the present invention, a virtual printing device for the OS standard printing software is formed, and printing is performed using the general-purpose printing function of the OS as described above.
[0008] Furthermore, a reading device is connected to the information processing device of the present invention, and by executing the information processing program, the functions of the reading device and the printing device can be linked to realize a virtual multifunction machine. In cooperation with the printing device, in a registration process executed by the calculation unit, the information processing device is registered in the reading device as a transmission destination of image data read by the reading device. Reading is executed in the reading device that has registered the information processing device, and the corresponding read image data is acquired in an image data acquisition process. Second print data based on the acquired read image data is sent to the printing device, and printing based on the second print data is executed in the printing device.
[0009] In the present invention, reading is performed by a reading device that has been registered in advance with the information processing device, and a printing device prints using the read image data acquired by the information processing device, thereby making it possible to create a copy of the read target. According to the present invention, by linking the reading device and the printing device through execution of an information processing program, it is possible to realize a virtual multifunction machine equipped with a copying function without requiring any external device other than the information processing device. Effect of the Invention
[0010] According to the present invention, a virtual multifunction device can be realized by connecting a reading device and a printing device without requiring an external device. [Brief description of the drawings]
[0011] [Figure 1] 1 is a block diagram illustrating an example of a system configuration of a printing system and a functional configuration of a terminal device according to an embodiment of the present invention. [Diagram 2] 11 is a flowchart showing an example of a control procedure executed cooperatively by a scanner, a printer application, and a printer. [Diagram 3] 13 is a block diagram showing an example of a system configuration of a printing system and a functional configuration of a terminal device in a modified example in which a general-purpose printing function is also used during copy printing. [Figure 4] 11 is a flowchart showing an example of a control procedure executed cooperatively by a scanner, a printer application, and a printer. [Diagram 5]13 is a block diagram illustrating an example of a system configuration of a printing system and a functional configuration of a terminal device in a modified example in which a corresponding display is performed when an error occurs. [Figure 6] 13 is a flowchart illustrating an example of a control procedure executed cooperatively by a scanner, a printer application, and a printer in a modified example that handles a conflict between copy printing and printing based on a print job from an application. [Figure 7] FIG. 2 is a block diagram illustrating an example of a hardware configuration of a terminal device and a printer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] <Embodiment> An embodiment of the present invention will be described with reference to the drawings.
[0013] <Printing system overview> Fig. 1 shows an example of the system configuration of a printing system 1 according to this embodiment. In Fig. 1, the printing system 1 has a terminal device 100, a printer 200, and a scanner 400. The terminal device 100, the printer 200, and the scanner 400 are communicatively connected via, for example, the Internet, a wired LAN, or a wireless LAN. Note that the terminal device 100 is an example of an information processing device, the printer 200 is an example of a printing device, and the scanner 400 is an example of a reading device.
[0014] <Functional configuration of terminal device> The terminal device 100 transmits print data to the printer 200 to execute printing. The terminal device 100 is, for example, a desktop PC, a notebook PC, a tablet computer, or the like, but may also be a mobile terminal such as a smartphone. Although details will be described later, the terminal device 100 has a processor 110 and a storage device 115 that stores various print processing programs (see FIG. 7 described later). The processor 110 executes the various print processing programs, so that the terminal device 100 has the functional configuration shown in FIG. 1. The print processing program is an example of an information processing program.
[0015] 1, the terminal device 100 includes an OS (Operating System) 101, an editing application 102, a printer application 170, and a browser 104. The OS 101 has a so-called driverless printing function that performs printing according to a predetermined printing standard without using a printer driver provided by a printer vendor.
[0016] The OS 101 includes, for example, a Common Unix Printing System (CUPS) 160, which is a modularized printing system for the OS. The CUPS 160 is an example of standard printing software for the OS.
[0017] <cups> The CUPS 160 includes an HTTP server 161, a CUPS PnP manager 162, an IPP client 163, and a print data scheduler and spooler 164.
[0018] The HTTP server 161 is server software that runs on the CUPS 160. The HTTP server 161 obtains information or functions from the external terminal 300 or the like via the browser 104 or by using the Hypertext Transfer Protocol (HTTP), or provides information or functions thereto. The CUPS PnP management unit 162 has a PnP (Plag and Play) function of registering a printer (including a virtual printing device) detected using a protocol such as mDNS / SD in the CUPS 160 and creating a print queue.
[0019] The settings of the CUPS PnP management unit 162 are changed by a script executed when the printer application 170 is installed so that the search address for PnP is limited to the internal network of the terminal device 100 (usually IP address 127.0.0.1). For this reason, CUPS 160 cannot directly recognize the printer 200, and recognizes the printer application 170 as the printer. The printer application 170 is not an actual printer, but a so-called virtual printer that behaves as a printer to CUPS 160. The printer application 170 mediates between CUPS 160 and printer 200, thereby enabling printing using CUPS 160 and printer 200.
[0020] The IPP client 163 transmits and receives print data or attributes to and from an IPP / mDNS server 173 (described later) using the IPP protocol. The print data scheduler & spooler 164 manages print jobs sent from the editing application 102 etc., and also temporarily blocks multiple print jobs generated simultaneously, and manages them so that they are processed sequentially and handed over to the IPP client 163 .
[0021] <Printer application> The printer application 170 can be registered in the CUPS 160 as a virtual printer corresponding to the connected printer 200. The CUPS 160 handles the printer application 170 as a virtual printer and executes various processes related to printing. The various processes include, for example, a capability information acquisition process and a print data transmission process. The printer application 170 has a printer communication unit 171, an attribute / mDNS conversion unit 172, an IPP / mDNS server 173, a print data conversion unit 174, a scanner communication unit 178, and a printer capability / setting value storage unit 179.
[0022] The printer communication unit 171 communicates with the printer 200 using the IPP protocol. The printer communication unit 171 receives attributes from the printer 200 and transmits print data to the printer 200. The scanner communication unit 178 uses the UDP protocol to communicate with the scanner 400. The scanner communication unit 178 receives scan data that is the result of scanning by the scanner 400, and transmits to the scanner 400 read setting values at the time of scanning execution. The printer capability / setting value storage unit 179 stores capability / setting value information corresponding to the above attributes acquired from the printer 200. The printer capability / setting value storage unit 179 is configured to be accessible from both the printer communication unit 171 and the scanner communication unit 178.
[0023] The attribute / mDNS conversion unit 172 acquires an attribute that indicates the capability of the printer 200 via the printer communication unit 171 (an example of capability information acquisition processing). The attribute / mDNS conversion unit 172 converts the attribute acquired from the printer 200 (an example of first capability information) into an attribute corresponding to the printing function that the CUPS 160 can handle, or into an attribute that limits some of the printing functions of the printer 200, according to a predetermined rule. The attribute converted by the attribute / mDNS conversion unit 172 is an example of second capability information. The converted attribute may be a pseudo-apparent attribute, or may be an attribute that is simply converted from the pre-conversion attribute so as to conform to the IPP protocol. The predetermined rule may be set, for example, in the external terminal 300 outside the printing system 1 and acquired by the printer application 170. Alternatively, the predetermined rule may be set in the terminal device 100, or the preset content may be installed in the printer application 170.
[0024] The attribute / mDNS conversion unit 172 has a function of mDNS (multicast Domain Name System). mDNS simultaneously distributes DNS queries within a local network by IP (Internet Protocol) multicast, and queries all devices on the same network at the same time. Devices that receive a query respond by transmitting their own IP address.
[0025] The IPP / mDNS server 173 outputs the attribute converted by the attribute / mDNS conversion unit 172 to the CUPS 160 in response to the capability information acquisition process of the CUPS 160. Furthermore, the attribute / mDNS conversion unit 172 controls the IPP / mDNS server 173 according to the above-mentioned predetermined rule, and changes the attribute to restrict the function according to the predetermined rule. Also, by restricting the information related to the mDNS / SD output from the IPP / mDNS server 173 according to the predetermined rule, it is possible to prevent the CUPS 160 from recognizing a printer with a specific function, and to disable the printer. The CUPS PnP management unit 162 does not register a print queue by PnP for a printer with restricted mDNS / SD information. The CUPS 160 outputs print data corresponding to the attribute converted by the IPP client 163. The IPP / mDNS server 173 acquires print data corresponding to the converted attribute output from the CUPS 160 in response to the print data transmission process of the CUPS 160, and outputs the print data to the print data conversion unit 174. Note that the IPP / mDNS server 173 has an mDNS function similar to the attribute / mDNS conversion unit 172.
[0026] The print data conversion unit 174 acquires print data from the CUPS 160 via the IPP / mDNS server 173. The print data conversion unit 174 also acquires scan data, which is the result of scanning by the scanner 400, via the scanner communication unit 178. The print data conversion unit 174 converts the print data acquired from the CUPS 160 or the scan data acquired from the scanner 400 into print data corresponding to the printing function of the printer 200. This conversion by the print data conversion unit 174 is performed according to the above-mentioned predetermined rule. In this embodiment, the above-mentioned conversion of the print data is appropriately referred to as "conversion of data content" to distinguish it from "conversion of data format" described later. In addition, the print data conversion unit 174 performs "data format conversion" to convert the data format (e.g., PWGRaster) of the print data acquired from the CUPS 160 into a predetermined data format (e.g., PCL) that can be processed by the printer 200. Specifically, the print data conversion unit 174 judges whether the print data acquired from the CUPS 160 or the scan data acquired from the scanner 400 conforms to the above-mentioned predetermined rule. When the print data conversion unit 174 judges that the print data or the scan data conforms to the above-mentioned predetermined rule, it executes only the above-mentioned "conversion of data format" without executing the above-mentioned "conversion of data content". In this case, the print data conversion unit 174 outputs the print data whose data format has been converted to the printer communication unit 171. On the other hand, when the print data conversion unit 174 judges that the print data acquired from the CUPS 160 or the scan data acquired from the scanner 400 does not conform to the above-mentioned predetermined rule, it executes both the above-mentioned "conversion of data content" and the above-mentioned "conversion of data format". In this case, the print data conversion unit 174 outputs the print data whose both data content and data format have been converted to the printer communication unit 171. Note that the print data whose "conversion of data format" has been performed based on the print data acquired from the CUPS 160 is an example of first print data.
[0027] The printer communication unit 171 transmits the print data output from the print data conversion unit 174 to the printer 200 .
[0028] <Printing based on a print job from an app> When print data converted by the print data conversion unit 174 after being acquired from the CUPS 160 is transmitted, the printer 200 executes printing based on a print job transmitted from, for example, the editing application 102, in the flow described above. That is, an attribute is acquired in the flow of the printer 200 → printer communication unit 171 → attribute / mDNS conversion unit 172 → attribute / mDNS conversion unit 172. The converted attribute is output in the flow of the attribute / mDNS conversion unit 172 → IPP / mDNS server 173 → CUPS 160. The process of outputting this converted attribute by the printer application 170 is an example of a capability information output process. Print data corresponding to the converted attribute is acquired in the flow of the CUPS 160 → IPP / mDNS server 173 → print data conversion unit 174. The process of acquiring this print data by the printer application 170 is an example of a print data acquisition process. The print data converted by print data conversion unit 174 is transmitted from printer communication unit 171 to printer 200. The process of transmitting this print data by printer application 170 is an example of a first print data transmission process.
[0029] <Copying and printing using a virtual multifunction device> On the other hand, when the scan data acquired from the scanner 400 is converted by the print data conversion unit 174 and sent as print data, printing based on the results of the reading by the scanner 400, that is, so-called copy printing, can be executed by the printer 200. In this case, the copy printing is executed in the order of scanner 400 → scanner communication unit 178 → print data conversion unit 174 → printer communication unit 171 → printer 200, and these components function as a so-called virtual multifunction device.
[0030] <Control procedure> A control procedure executed by the scanner 400, printer application 170, and printer 200 in cooperation to realize the functions of the virtual multifunction machine, which is a main part of this embodiment, will be described with reference to the flowchart in Fig. 2. In Fig. 2, a scanner management thread and a print management thread are created by the printer application 170. The scanner management thread is a thread that transmits and receives information to and from the scanner 400 in order to manage the scanner 400. The print management thread is a thread that transmits and receives information to and from the printer 200 in order to manage the printer 200.
[0031] 2, first, in step B10, a request or notification by UDP (User Datagram Protocol) is received in the scanner management thread of printer application 170. When scanner 400 broadcasts a connection request in step A10, this connection request is received in step B10, and the result of the determination in step B20 is Yes, and the process proceeds to step B40.
[0032] In step B40, a registration process (an example of a registration process) is performed in which a registration execution command is transmitted to the scanner 400. The registration execution command is a command for registering the printer application 170 of the terminal device 100 as a transmission destination of the scanned image data read by the scanner 400. The registration execution command is received by the scanner 400 in step A20, and a process of registering the printer application 170 of the terminal device 100 is performed in the scanner 400.
[0033] In step A30, scanner 400 enters a standby state, waiting for a push scan operation to be performed on the panel. When a push scan operation is performed by the user, a corresponding push scan notification is transmitted in step A40. In the scanner management thread, when the transmitted push scan notification is received in step B10, a No determination is made in step B20, and then a Yes determination is made in step B30, and the process proceeds to step B50, which will be described later.
[0034] In the print management thread of the printer application 170, in step C10, an acquisition request for the capability and setting value information of the printer 200 is transmitted to the printer 200. In step D10, the printer 200 transmits an attribute including the capability and setting value information as a response to the reception of the acquisition request. The capability and setting value information includes, for example, at least one of color correspondence information indicating monochrome or color correspondence and resolution information indicating printable resolution. In step C10, the print management thread acquires the capability and setting value information of the printer 200 based on the attribute received via the printer communication unit 171, and writes it to the printer capability and setting value storage unit 179. The acquired capability and setting value information of the printer 200 is an example of first capability information, and the process executed by the print management thread in step C10 is an example of capability information acquisition process.
[0035] In step B50, the scanner management thread of printer application 170 accesses the capability and setting value information of printer 200 written in printer capability and setting value storage unit 179 via scanner communication unit 178, and acquires the size of print paper that matches the resolution for the print settings. In step B60, the scanner management thread determines the optimal read setting values for scanner 400 by estimation, based on the acquisition result in step B50. The read setting values include, for example, at least one of the color setting based on the above-mentioned color correspondence information and the resolution setting based on the above-mentioned resolution information.
[0036] In step B70, the scanner management thread transmits to the scanner 400 a scan command for causing the scanner 400 to perform a read using the read setting values determined in step B60. This transmission process executed by the scanner management thread in step B70 is an example of a read setting value transmission process. The scanner 400 receives the scan command in step A50, performs a scan using the corresponding read setting values, and transmits the scanned image data that is the scan result. The transmitted scanned image data is acquired by the scanner management thread in step B70. This acquisition process executed by the scanner management thread in step B70 is an example of an image data acquisition process.
[0037] In step B80, the scanner management thread makes a print submit including the read image data to the print management thread, and the print management thread accepts the submit in step C20. In step C30, the print management thread converts the print data based on the read image data into a format that can be processed by the printer 200 by the print data conversion unit 174 as necessary, and spools the converted print data. The spooled print data is transmitted to the printer 200 via the printer communication unit 171. The print data transmitted at this time may be data for printing with print settings corresponding to the read image data. For example, if the read image data is a postcard image, the print settings are set so that printing is performed by feeding paper from a paper feed tray that stores A5 size or postcard size paper. This transmission process performed by the print management thread in step C30 is an example of a second print data transmission process, and the transmitted print data is an example of second print data. In the printer 200, printing is performed in step D20 using the received print data.
[0038] At least the processes from steps B70 and B80 in the scanner management thread to steps C20 and C30 in the print management thread of the terminal device 100 are automatically executed without any user operation on the terminal device 100. Furthermore, it is preferable that the process D20 of the printer 200 is also automatically executed without any user operation on the printer 200.
[0039] <Effects of the embodiment> In this embodiment, a printer 200 is connected to a terminal device 100. When the print processing program of this embodiment is executed by the terminal device 100, capability and setting value information indicating the capability of the printer 200 is acquired in step C10. Attributes converted based on the acquired capability and setting value information of the printer 200 are output to the OS standard print software. The OS standard print software outputs print data corresponding to the converted attributes, and print data based on the output print data is sent to the printer 200, and the corresponding printing is performed in the printer 200. By executing the above-mentioned processes of the print processing program of this embodiment, a virtual printer 200 for the OS standard print software is formed, and printing is performed using the general-purpose print function of the OS as described above.
[0040] A scanner 400 is connected to the terminal device 100 of this embodiment, and by executing the print processing program, the functions of the scanner 400 and the printer 200 are linked to realize a virtual multifunction machine.
[0041] When coordinating with the printer 200, in step B40, the terminal device 100 is registered in the scanner 400 as a destination of image data read by the scanner 400. Reading is performed by the scanner 400 that has registered the terminal device 100, and the corresponding read image data is acquired in step B70. Print data based on the acquired read image data is sent to the printer 200, and printing is executed.
[0042] In this embodiment, reading is performed by the scanner 400 with which the terminal device 100 has been registered in advance, and the scanned image data acquired by the terminal device 100 is used to print by the printer 200, thereby making it possible to create a copy of the scanned object. According to this embodiment, by linking the scanner 400 and the printer 200 by executing a print processing program, a virtual multifunction machine with a copying function is realized, and so-called copy printing can be performed, without the need for any external device other than the terminal device 100.
[0043] Also, particularly in this embodiment, in step B70, reading setting values based on the capability and setting value information of the printer 200 acquired by the printer 200 in step C10 are transmitted to the scanner 400. Scanning is performed in the scanner 400 according to the transmitted reading setting values. In this embodiment, reading is performed by the scanner 400 with reading settings that match the capabilities of the printer 200, and printing is performed by the printer 200 using the acquired read image data, thereby enabling the smooth creation of a high-quality copy of the object to be read. Alternatively, instead of the above method, the image data read by the scanner 400 using predetermined reading setting values may be converted by the printer application 170 of the terminal device 100 to be suitable for the printer 200.
[0044] Furthermore, in particular in this embodiment, since the capability / settings information of the printer 200 includes color correspondence information, if the printer 200 is a monochrome printer, for example, reading can be performed in black and white mode by the scanner 400. Since the capability / settings information of the printer 200 includes resolution information, reading can be performed at a reading resolution that matches the printable resolution of the printer 200. For example, if the printable resolution of the printer 200 is 1200 dpi, the scanner 400 can read at 2400 dpi, which is an integer multiple of 1200.
[0045] In particular, in this embodiment, the print data sent to the printer 200 is data for printing with settings corresponding to the read image data acquired in step B70. Therefore, reading and printing can be performed with settings convenient for both the scanner 400 and the printer 200. In an example of resolution setting, for example, if the printable resolution of the printer 200 is 300 dpi or 600 dpi and the read resolution of the scanner 400 is 200 dpi or 400 dpi, reading can be performed at 200 dpi, which is an integer multiple of each other, and printing can be performed at 600 dpi. In an example of paper feed tray, when A4 size paper is loaded in one tray of the printer 200 and A5 size paper is loaded in the other tray, if a postcard is read by the scanner 400, printing can be performed on the A5 size paper in the other tray, which is close in size.
[0046] Furthermore, particularly in this embodiment, the processes from steps B70 and B80 in the scanner management thread of the terminal device 100 to steps C20 and C30 in the print management thread are automatically executed without a user operation on the terminal device 100. That is, the user only needs to set the object to be read on the scanner 400 and perform a push scan operation, and the scanned image corresponding to the object to be read is printed as a copy on the printer 200. This allows the user to use the printer 200 with the feeling that he or she is using the copy function of a multifunction device.
[0047] <Modification> The present invention is not limited to the above embodiment, and various modifications are possible without departing from the spirit and technical concept of the present invention. Below, such modifications will be described in order. The same reference numerals will be used to designate parts equivalent to those in the above embodiment, and the description will be omitted or simplified as appropriate.
[0048] (1) When using the general-purpose printing function for copy printing FIG. 3 is a diagram showing an example of a system configuration of a printing system 1 in this modified example, and corresponds to FIG. 3, in this modification, the scanned image data output from the scanner 400 is input to the print data scheduler & spooler 164 of the CUPS 160, and printing is performed using the general-purpose printing function of the CUPS 160. Specifically, the print data corresponding to the input scanned image data is acquired by the printer 200 through the flow of CUPS 160 → IPP / mDNS server 173 → print data conversion unit 174 → printer communication unit 171 → printer 200, and is printed.
[0049] FIG. 4 is a flowchart corresponding to FIG. 2, showing a control procedure executed by the scanner 400, the printer application 170, and the printer 200 in cooperation with each other in this modified example. As shown in FIG. 4, in this modified example, in step B80' instead of step B80, the scanner management thread performs print submit including the read image data to the print data scheduler & spooler 164 of CUPS 160. Note that the scanner management thread may output not the read image data itself to CUPS 160, but image data based on the read image data. The process of step B80' by the printer application 170 is an example of image data output process. In step C20' instead of step C20, the print management thread acquires print data based on the read image data from the print data scheduler & spooler 164 of CUPS 160 via the IPP / mDNS server 173. In step C30, the print management thread converts the print data into a format that can be processed by printer 200 using print data conversion unit 174 as necessary, spools the print data once, and sends it to printer 200. Printer 200 then prints the print data in step D20. In step C30, if there is no need to perform "data content conversion" or "data format conversion" on the scanned image data or image data based thereon, the image data is spooled as print data as is. If there is a need to perform "data content conversion" or "data format conversion" on the scanned image data or image data based thereon, the print data after the conversion is performed on the image data by print data conversion unit 174 is spooled.
[0050] In this modified example, the same effects as those of the above embodiment are obtained. In particular, in this modification, scanned image data acquired from the scanner 400 or image data based on the scanned image data is output to the CUPS 160, and based on the print data generated by the CUPS 160, the corresponding print data is sent to the printer 200 and printing is performed. According to this modification, it is possible to realize a virtual multifunction machine equipped with a copy function while using a general-purpose print function based on the OS standard print software.
[0051] (2) When an error occurs, a corresponding display is to be displayed. Fig. 5 is a diagram showing an example of a system configuration of a printing system 1 in this modified example, and corresponds to Fig. 1 in the above embodiment. As shown in Fig. 5, in this modified example, a status management unit 177 is provided in a printer application 170. The terminal device 100 further includes a UI display application 109.
[0052] Under the control of the print processing program described above, when printer communication unit 171 detects a specific printer error during printing execution by printer 200 described above, status management unit 177 acquires error detection information output from printer communication unit 171. Status management unit 177 also acquires error detection information output from scanner communication unit 178 when scanner communication unit 178 detects a specific scanner error during reading execution by scanner 400. Such error detection information is an example of an error detection signal, and the process of acquiring such error detection information is an example of an error detection signal acquisition process.
[0053] Then, the status management unit 177 outputs a corresponding error notification signal to the UI display application 109 based on the acquired error detection information. The process of outputting this error notification signal is an example of an error notification signal output process. The UI display application 109 that has acquired the error notification signal performs a corresponding error notification, i.e., notification by display, sound, vibration, or the like. The US display application 109 may be an application independent of the printer application 170, or may be included as a part of the printer application 170. The US display application 109 may be, for example, a general-purpose browser, and may be displayed by activating the browser.
[0054] In this modified example, in addition to the same effects as the above embodiment, the following effects are obtained. When some kind of failure or malfunction occurs in the printer 200 or the scanner 400 and an error is detected, an error is notified in the UI display application 109 based on an error notification signal from the status management unit 177. According to this modified example, it is possible to notify the user that a failure or malfunction has occurred in the printer 200 or the scanner 400.
[0055] (3) To deal with a conflict between copy printing and printing based on a print job from an app Fig. 6 is a flowchart corresponding to Fig. 2 of the above embodiment, showing a control procedure executed in cooperation with the scanner 400, the printer application 170, and the printer 200 in this modified example. As shown in Fig. 6, in this modified example, new steps C25 and C27 are provided between steps C20 and C30 executed by the print management thread of the printer application 170.
[0056] In the print management thread, in step C25 executed after step C20, it is determined whether or not a print queue based on a print job accepted from the editing application 102 exists in the print data scheduler & spooler 164 of CUPS 160. In other words, it is determined whether printing based on a print job from the editing application 102 that conflicts with the copy printing to be executed next (hereinafter appropriately abbreviated as "editing application printing") is already being executed. If the print queue does not exist, step C25 is determined as No, it is considered that there is no competing printing, and the process proceeds to the above-mentioned step C30, where the same printing as described above is executed in step D20.
[0057] If the print queue exists, step C25 is judged as Yes, it is considered that there is a conflicting print, and the process proceeds to step C27. In step C27, the print queue is piled up in the print data scheduler & spooler 164 according to a predetermined priority. That is, in this embodiment, when copy printing and editing application printing conflict as described above, a priority is set in advance as to which one is to be executed first. Then, after the higher priority printing is completed, the lower priority printing is executed.
[0058] For example, if copy printing has a high priority, in step C27, print data scheduler & spooler 164 sets the print data based on the read image data accepted in the flow of steps A10 to C20 to be transmitted first from printer communication unit 171. The print data for the conflicting editing application printing is set to be transmitted from printer communication unit 171 to printer 200 after the above transmission. In this case, if a conflict with copy printing occurs during the transmission of print data by multiple print jobs from the editing application 102 that satisfy the predetermined continuous operation condition, the transmission of the print data of the multiple print jobs may be prioritized as an exception. In this case, the transmission of print data based on the read image data is set to be executed after the transmission of the print data of the multiple print jobs for editing application printing to the printer 200 is completed.
[0059] On the other hand, if the priority of the editing application printing is high, for example, in step C27, the print data scheduler & spooler 164 sets the print data for the editing application printing to be sent first from the printer communication unit 171. The print data based on the conflicting scanned image data accepted in the flow of steps A10 to C20 is set to be sent from the printer communication unit 171 to the printer 200 after the above transmission.
[0060] When step C27 in the print management thread is completed as described above, the process proceeds to step C30, and printing by the printer 200 is performed in step D20.
[0061] According to this modification, in addition to the same effects as those of the above embodiment, the following effects are obtained. In particular, in this modified example, as described above, when a conflict occurs between the transmission of print data to the printer 200 for editing application printing and the transmission of print data to the printer 200 for copy printing, the transmission with a lower priority is executed after the transmission with a higher priority is completed. In other words, when a conflict occurs between the printing function of the virtual printer and the copying function of the virtual multifunction device, one of them is executed in preference to the other based on a predetermined priority setting. According to this modified example, even when a conflict occurs between the above two functions, the two functions can be smoothly executed in a predetermined order.
[0062] In addition, if the setting is such that the copy function of the virtual multifunction device is executed with priority over the print function of the virtual printer, if a conflict occurs between the above two functions, the copy function can be smoothly executed first, followed by the print function. In addition, when the above conflict occurs, the print function is executed with priority over the copy function, provided that print data is being sent by multiple print jobs from the editing application 102 that satisfy predetermined continuous operation conditions. As a result, even if a conflict occurs with the copy function of the virtual multifunction device when a series of editing application prints spanning multiple consecutive pages is being performed, the functions are smoothly executed in the order of print function → copy function, making it possible to prevent copies from being mixed in during the printing of multiple pages.
[0063] (4)Other In the above embodiment, the attribute and print data are converted according to the rule, but the present invention is not limited to this. For example, only the print data may be converted according to the rule without converting the attribute. In the above embodiment, the printer application 170 is configured to be registered in the CUPS 160 as a virtual printer corresponding to the connected printer 200, but may be configured to be registered in the CUPS 160 as a virtual multifunction device corresponding to the combination of the printer 200 and the scanner 400.
[0064] In addition, the flowcharts shown in Figures 2, 4, and 6 do not limit the present invention to the procedures shown in the above flows, and steps may be added or deleted, or the order of steps may be changed, etc., within the scope that does not deviate from the spirit and technical concept of the invention.
[0065] In addition to the above, the methods according to the above embodiments and their modifications may be used in appropriate combination.
[0066] Although not specifically illustrated, the present invention can be implemented with various modifications without departing from the spirit and scope of the present invention.
[0067] <Terminal and printer hardware configuration> An example of the hardware configuration of the terminal device 100 and the printer 200 will be described with reference to FIG.
[0068] <Terminal device> 7, the terminal device 100 has a processor 110, a storage device 115, a display unit 140, an operation unit 150, and a communication interface 190. The processor 110, the storage device 115, the display unit 140, the operation unit 150, and the communication interface 190 are connected to each other via a bus 105 so as to be able to transmit and receive data to and from each other.
[0069] The storage device 115 includes a volatile storage device 120 and a non-volatile storage device 130. The volatile storage device 120 is, for example, a DRAM, and stores various programs and data to be processed. The non-volatile storage device 130 is, for example, a hard disk drive or a solid state drive, and includes a program storage area 131 and a data storage area 132.
[0070] Various programs are stored in the program storage area 131. The various programs include the print processing programs and the like based on the flowcharts of Figures 2, 4, and 6. The data storage area 132 stores data and the like necessary for executing the various programs.
[0071] The processor 110 is a device for performing data processing, such as a CPU, and executes various programs stored in a program storage area 131. The processor 110 performs various processes including data communication with the printer 200 connected to the network NT. The processor 110 and the programs stored in the program storage area 131 are an example of a calculation unit.
[0072] The display unit 140 is, for example, a liquid crystal display, and is capable of displaying various types of information. The operation unit 150 is, for example, a mouse, a keyboard, and is configured to receive operations by a user. The user can input various instructions to the terminal device 100 by operating the operation unit 150.
[0073] The communication interface 190 is an interface for communicating with other devices, and is connected to the network NT.
[0074] In addition, the storage device 115 is not limited to being configured with the above-mentioned device elements, but may be configured with, for example, a RAM, a ROM, an EEPROM, a HDD, a portable recording medium such as a USB memory that is detachably attached to the terminal device 100, a buffer provided in the processor 110, or a combination of these. The storage device 115 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. The same applies to the storage device 215 of the printer 200 described later.
[0075] <Printer> 7, the printer 200 has a processor 210, a storage device 215, a display unit 240, an operation unit 250, a communication interface 270, and a printing unit 290. The processor 210, the storage device 215, the display unit 240, the operation unit 250, the communication interface 270, and the printing unit 290 are connected to each other via a bus 205 so as to be able to transmit and receive data to and from each other.
[0076] The storage device 215 includes a volatile storage device 220 and a non-volatile storage device 230. The volatile storage device 220 is, for example, a DRAM, and includes an image data storage area 222 that stores image data to be printed. The non-volatile storage device 230 is, for example, an NVRAM, a flash memory, or the like, and includes a program storage area 231 and a data storage area 232. Various programs are stored in the program storage area 231. The various programs include firmware such as a print processing program. The data storage area 232 stores various data for executing the various programs.
[0077] The processor 210 is a device that performs data processing, and is, for example, a CPU. The processor 210 executes various programs stored in the program storage area 231.
[0078] The display unit 240 is, for example, a liquid crystal display, and is capable of displaying various types of information. The operation unit 250 is a device that accepts operations by a user. The user can input various instructions to the printer 200 by operating the operation unit 250. The communication interface 270 is a wired or wireless network interface for communicating with other devices, and is connected to the network NT. Although not shown, the scanner 400 is also connected to the network NT.
[0079] The printing unit 290 prints an image on a printing paper conveyed by a conveying mechanism (not shown). The printing unit 290 prints an image on the printing paper based on print data transmitted from the printer communication unit 171 of the printer application 170 of the terminal device 100 or a print job generated by the printing unit 290 itself based on an operation on the operation unit 250. [Explanation of symbols]
[0080] 1 Printing System 100 Terminal device (an example of an information processing device) 110 Processor 200 Printer (an example of a printing device)< / cups>
Claims
1. A calculation unit of an information processing device capable of communicating with a printing device and a reading device, a capability information acquisition process for acquiring first capability information representing a capability of the printing device from the printing device; a capability information output process for outputting second capability information based on the first capability information acquired in the capability information acquisition process to OS standard printing software; a print data acquisition process for acquiring print data from the OS standard printing software in response to the output of the second capability information in the capability information output process; a first print data transmission process for transmitting, to the printing device, first print data based on the print data acquired in the print data acquisition process; a registration process for registering the information processing device in the reading device as a transmission destination of image data read by the reading device; an image data acquisition process for acquiring the read image data transmitted by the reading device; a second print data transmission process for transmitting, to the printing device, second print data based on the read image data acquired in the image data acquisition process; An information processing program for executing the above.
2. The calculation unit of the information processing device further a read setting value transmission process for transmitting, to the reading device, read setting values based on the first capability information acquired in the capability information acquisition process; 2. The information processing program according to claim 1, which causes a program to execute the following:
3. The first capability information is The information includes at least one of color correspondence information indicating monochrome or color correspondence and resolution information indicating printable resolution, The read setting value is 3. The information processing program according to claim 2, further comprising at least one of a color setting based on the color correspondence information and a resolution setting based on the resolution information.
4. The second print data is 4. The information processing program according to claim 3, wherein the data is for performing printing with settings corresponding to the read image data acquired in the image data acquisition process.
5. The calculation unit further includes: executing an image data output process for outputting the read image data acquired in the image data acquisition process or image data based on the read image data to the OS standard printing software; In the second print data transmission process, 2 . The information processing program according to claim 1 , further comprising the step of transmitting the second print data to the printing device based on print data generated by the OS standard printing software based on the scanned image data output in the image data output process.
6. The calculation unit is 2. An information processing program as described in claim 1, wherein when a conflict occurs between the transmission of the first print data to the printing device by the first print data transmission process and the transmission of the second print data to the printing device by the second print data transmission process, a low priority transmission is executed after a high priority transmission is completed based on a predetermined priority setting.
7. The calculation unit is An information processing program as described in claim 6, wherein when the conflict occurs, transmission of the first print data, which has a lower priority, to the printing device is executed after transmission of the second print data, which has a higher priority, to the printing device is completed.
8. The calculation unit is An information processing program as described in claim 6, wherein when a conflict with the transmission of the second print data occurs during the transmission of a plurality of the first print data that satisfy predetermined consecutive operation conditions, the transmission of the second print data, which has a lower priority, to the printing device is executed after the transmission of the plurality of the first print data, which has a higher priority, to the printing device is completed.
9. 9. The information processing program according to claim 1, further comprising: causing a calculation unit of the information processing device to automatically execute the processes from the image data acquisition process to the second print data transmission process without a user's operation on the information processing device.
10. The calculation unit further an error detection signal acquisition process for acquiring an error detection signal when the printing device executes printing based on the first print data or the second print data, or when the reading device executes reading; an error notification signal output process for outputting a corresponding error notification signal based on the error detection signal acquired in the error detection signal acquisition process; 9. The information processing program according to claim 1, further comprising:
Citation Information
Patent Citations
Network virtual multifunction machine controller, network virtual multifunction machine controlling method, and storage medium
JP2001344162A
