Information processing program

The information processing program simplifies printer system configuration by allowing exclusive use without a server, supporting local printers, and managing occupancy through virtual device registration and occupancy management processes.

JP2024143256APending Publication Date: 2024-10-11BROTHER KOGYO KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023055833
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Existing printing systems that prevent job mixing require a print server, complicating the system configuration and do not support local printers.

Method used

An information processing program that allows exclusive printer use without a server, enabling occupancy management directly with local printers by registering as a virtual printing device in OS standard printing software, and managing printer occupancy through occupancy management information acquisition and execution processes.

Benefits of technology

Enables exclusive printer use without a server, simplifying the system configuration and supporting local printers, while managing occupancy effectively.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024143256000001_ABST
    Figure 2024143256000001_ABST
Patent Text Reader

Abstract

To provide an information processing program which can realize occupation of a printer without a server and can respond to a local printer.SOLUTION: Each printer application 170 of each client PC 100 performs the steps of: acquiring a setting file for managing occupation of at least one client PC 100 of a printer system 1 to a printer 200 (Step S140); and steps S160 to S190 for executing occupation of the printer 200 by at least one client PC 100 on the basis of the setting file acquired by the step S140.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing program executed by an information processing device capable of communicating with a printing device. [Background technology]

[0002] Generally, a printer prints print jobs in the order that they are received. For this reason, in a printer shared by multiple users, it is possible that multiple consecutive print jobs may be mixed in with other print jobs being printed.

[0003] Conventionally, there are known printing systems capable of preventing such mixing of print jobs. For example, Patent Document 1 describes a printing system in which, when a job to be sent to a printer has continuity, a print server instructs the printer to start occupancy, and when the sending of the job with continuity to the printer is completed, the print server instructs the printer to end occupancy. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2007-279814 A Summary of the Invention [Problem to be solved by the invention]

[0005] The above-mentioned conventional printing system has a print server that instructs the printer to start and end its exclusive use, which makes the system configuration complicated and makes it unable to handle local printers.

[0006] An object of the present invention is to provide an information processing program that can realize the monopoly of a printer without a server and can also handle a local printer. [Means for solving the problem]

[0007] In order to achieve the above-mentioned object, the present invention provides an information processing program executable by a calculation unit of an information processing device capable of communicating with a first printing device equipped with a first paper output unit, and compatible with the first printing device, wherein the information processing device is equipped with an operating system having OS standard printing software, and the information processing program is capable of being registered as a virtual printing device in the OS standard printing software, and when the information processing program is registered in the OS standard printing software, the information processing program causes the calculation unit of the information processing device to execute a print data transmission process that acquires first print data from the OS standard printing software and transmits second print data based on the first print data to the first printing device, an occupancy management information acquisition process that acquires occupancy management information for managing occupancy of the first printing device or the first paper output unit by at least one information processing device out of a plurality of information processing devices capable of communicating with the first printing device including the information processing device, and an occupancy execution process that executes occupancy of the first printing device or the first paper output unit by the at least one information processing device based on the occupancy management information acquired in the occupancy management information acquisition process.

[0008] The information processing program of the present invention is executable by a calculation unit of an information processing device capable of communicating with a first printing device having a first paper discharge unit, and is compatible with the first printing device. An operating system having OS standard printing software is installed in the information processing device, and the information processing program can be registered as a virtual printing device in the OS standard printing software. When the information processing program is registered as a virtual printing device in the OS standard printing software, the calculation unit of the information processing device executes a print data transmission process, an occupancy management information acquisition process, and an occupancy execution process. In the print data transmission process, first print data is acquired from the OS standard printing software, and second print data based on the first print data is transmitted to the first printing device. In the occupancy management information acquisition process, occupancy management information for managing the occupancy of the first printing device or the first paper discharge unit by at least one information processing device out of a plurality of information processing devices capable of communicating with the first printing device including the information processing device is acquired. In the occupancy execution process, the occupancy of the first printing device or the first paper discharge unit by the at least one information processing device is executed based on the occupancy management information acquired in the occupancy management information acquisition process. According to the present invention, the first printing device or the first paper output unit can be occupied by at least one information processing device among a plurality of information processing devices that can communicate with the first printing device, for example, a PC used by a user. According to the present invention, the occupation of a printing device, or the occupation of a specific paper output unit when the printing device has multiple paper output units, can be realized without a server, so that the configuration of the printing system can be simplified. In addition, since it is possible to occupy a printing device or a paper output unit of a printing device directly connected to a PC, it is also possible to support local printers. Effect of the Invention

[0009] According to the present invention, it is possible to realize printer monopoly without a server, and it is also possible to handle local printers. [Brief description of the drawings]

[0010] [Figure 1]1 is a diagram illustrating an example of the overall configuration of a printing system according to a first embodiment. [Diagram 2] 4 is a diagram illustrating an example of the contents of a setting file according to the first embodiment, which is stored in a setting file storage unit of a management PC. FIG. [Diagram 3] 10 is a flowchart illustrating an example of a processing procedure related to input of a setting file by a processor of a management PC according to the first embodiment. [Figure 4] 10 is a flowchart illustrating an example of a processing procedure related to printer occupation executed by each printer application of each client PC according to the first embodiment. [Diagram 5] 13 is a diagram illustrating an example of the contents of a setting file according to the second embodiment, which is stored in a setting file storage unit of a management PC. FIG. [Figure 6] 10 is a flowchart illustrating an example of a processing procedure related to printer occupation executed by each printer application of each client PC according to the second embodiment. [Figure 7] 13 is a flowchart illustrating an example of a processing procedure executed in a resume thread. [Figure 8] 11 is a flowchart showing an example of a procedure for requesting follow-me print, which is executed by a printer other than the printer that is the target of the print request, among the printers included in the printing system. [Figure 9] 13 is a diagram illustrating an example of the contents of a setting file stored in a setting file storage unit of a management PC in a modified example in which the paper discharge tray is occupied. FIG. [Figure 10] 13 is a flowchart illustrating an example of a process procedure related to occupying a paper discharge tray executed by each printer application of each client PC in a modified example in which the paper discharge tray is occupying. [Figure 11] FIG. 13 illustrates an example of another system configuration of the printing system. [Figure 12] FIG. 2 is a block diagram illustrating an example of a hardware configuration of a client PC and a printer. [Figure 13] FIG. 2 is a block diagram illustrating an example of a hardware configuration of a management PC. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] First Embodiment DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. First, a first embodiment of the present invention will be described with reference to Fig. 1 to Fig. 4. The first embodiment is an embodiment in which an alternative printer is not set.

[0012] <Overall Configuration of Printing System> FIG. 1 shows an example of the overall configuration of a printing system 1 according to the first embodiment. As shown in FIG. 1, the printing system 1 includes a plurality of client PCs 100A and 100B, a printer 200, and an administration PC 300. The first client PC 100A is a terminal device used by, for example, a user A, and is communicatively connected to the printer 200 via, for example, a USB (Universal Serial Bus) cable. The second client PC 100B is a terminal device used by, for example, a user B, and is communicatively connected to the printer 200 via, for example, a USB cable. The users A and B share the printer 200. The administration PC 300 is a terminal device used by, for example, an administrator C of the printing system 1, and is communicatively connected to the first client PC 100A and the second client PC 100B via, for example, a network such as the Internet, a wired LAN, or a wireless LAN. The first client PC 100A and the second client PC 100B are examples of an information processing device, the printer 200 is an example of a first printing device, and the management PC 300 is an example of an external device.

[0013] The first client PC 100A transmits print data to the printer 200 to execute printing. The first client PC 100A 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 first client PC 100A has a processor 110 and a storage device 115 that stores various information processing programs (see FIG. 12 described later). The processor 110 executes the various information processing programs, so that the first client PC 100A has the functional configuration shown in FIG. 1. The processor 110 is an example of a calculation unit.

[0014] The first client PC 100A is equipped with an OS (operating system) having a CUPS (Common Unix Printing System) 160A. The first client PC 100A has an editing application 102A, a CUPS 160A, and a printer application 170A. The editing application 102A outputs a print job to the CUPS 160A. The CUPS 160A is a modularized printing system for the OS that is installed as standard in the OS and is capable of performing driverless printing without using a driver provided by a printer vendor. The CUPS 160A is an example of OS standard printing software, and the printer application 170A is an example of an information processing program.

[0015] The printer application 170A can be registered in the CUPS 160A as a virtual printer corresponding to the printer 200. The CUPS 160A handles the printer application 170A as a 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. In the capability information acquisition process, the printer application 170A acquires attributes that indicate the capabilities of the printer 200, converts the acquired attributes according to whether the CUPS 160A can handle them, whether there are functional limitations, and the like, and outputs the converted attributes to the CUPS 160A. In response to the print data transmission process of the CUPS 160A, the printer application 170A acquires print data from the CUPS 160A. The print data corresponds to the attributes output in the capability information acquisition process of the CUPS 160A. Printer application 170A converts the acquired print data in accordance with the attributes and functional restrictions of printer 200, and transmits the converted print data to printer 200. Note that the attributes before conversion are an example of first capability information, the attributes after conversion are an example of second capability information, the print data before conversion is an example of first print data, and the print data after conversion is an example of second print data.

[0016] The printer application 170A also performs processing such as acquiring a setting file for managing the exclusive use of the printer 200 from the management PC 300 and executing the exclusive use of the printer 200 based on the acquired setting file. The details of this processing will be described later.

[0017] The second client PC 100B transmits print data to the printer 200 to execute printing. The second client PC 100B 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. Like the first client PC 100A, the second client PC 100B has a processor 110 and a storage device 115 that stores various information processing programs (see FIG. 12 described below). The processor 110 executes the various information processing programs, so that the second client PC 100B has the functional configuration shown in FIG. 1.

[0018] The second client PC 100B is equipped with an OS having a CUPS 160B. The second client PC 100B has an editing application 102B, a CUPS 160B, and a printer application 170B. The CUPS 160B is also an example of OS standard printing software, and the printer application 170B is also an example of an information processing program. These functions are similar to those of the first client PC 100A, so a description thereof will be omitted.

[0019] The management PC 300 is, for example, a desktop PC, a notebook PC, a tablet computer, or the like. Although details will be described later, the management PC 300 has a processor 310 and a storage device 315 that stores various information processing programs (see FIG. 13 described later). The processor 310 executes the various information processing programs. The management PC 300 executes a process of inputting a setting file by, for example, an administrator C. The input setting file is stored in a setting file storage unit 301. The setting file storage unit 301 is, for example, a data storage area 332 of a non-volatile storage device 330 of the storage device 315 (see FIG. 13 described later). Details of this process will be described later.

[0020] In this embodiment, when there is no distinction between the first client PC 100A and the second client PC 100B, they are simply referred to as "client PC 100". When there is no distinction between CUPS 160A and CUPS 160B, they are simply referred to as "CUPS 160". When there is no distinction between the printer application 170A and the printer application 170B, they are simply referred to as "printer application 170".

[0021] The system configuration of the printing system 1 described above is an example, and may be other than the above. For example, the number of client PCs 100 is not limited to the above two, but may be three or more. The number of management PCs 300 is not limited to the above one, but may be multiple. The number of printers 200 possessed by the printing system 1 is not limited to the above one, but may be multiple. When multiple printers 200 are possessed, each printer 200 may be connected to each client PC 100. In other words, it is sufficient to include a configuration in which multiple client PCs 100 are connected to one printer 200. The connection between the client PCs 100 and the printers 200 is not limited to the above USB, but may be a network connection via the Internet, a wired LAN, a wireless LAN, or the like, for example.

[0022] <Contents of configuration file> 2 shows an example of the contents of a setting file according to the first embodiment stored in the setting file storage unit 301 of the management PC 300. The setting file is data for managing the exclusive use of the printer 200 by at least one of the multiple client PCs 100 in the printing system 1. "Exclusive" means that only the client PC 100 set as the exclusive owner can use the printer 200, and client PCs 100 that are not the exclusive owner cannot use the printer 200. In this embodiment, setting the exclusive status is also called "reservation." The setting file is an example of exclusive use management information.

[0023] In the example shown in FIG. 2, the printing system 1 has a plurality of printers 200, for example, a first printer 200A and a second printer 200B. In addition to the first client PC 100A used by user A and the second client PC 100B used by user B, the printing system 1 also has one or more third client PCs 100C used by group C, for example. As shown in FIG. 2, the setting file includes a reservation time period for occupancy. For example, the first client PC 100A used by user A is set to occupy the first printer 200A in a reservation time period from 12:00 to 17:00 on March 3, 2023. In addition, for example, the second client PC 100B used by user B is set to occupy the second printer 200B in a reservation time period from 12:00 to 17:00 on March 4, 2023. Also, for example, it is set that the third client PC 100C used by group C will occupy the first printer 200A during the reserved time period from 13:00 to 14:00 on March 5, 2023. The reserved time period is an example of time period information. Group C may be set according to, for example, the company, department, or group to which the user who uses the client PC 100 belongs. Alternatively, it may be set according to the group to which the user belongs in domain group management, OS group management, or the like. The first printer 200A and second printer 200B are examples of a first printing device.

[0024] <Processing procedure for inputting configuration files using the management PC> FIG. 3 shows an example of a processing procedure related to input of a setting file by the processor 310 of the administration PC 300 according to the first embodiment.

[0025] In step S10, the processor 310 of the administration PC 300 waits until the administrator C inputs the contents of the configuration file using, for example, the operation unit 350 (see FIG. 13 described later).

[0026] In step S20, the processor 310 of the administration PC 300 reflects (adds, modifies, or deletes) the contents input in step S10 in the setting file stored in the setting file storage unit 301. This ends this flow chart.

[0027] <Processing procedure for printer occupation by printer application> Fig. 4 shows an example of a processing procedure related to the occupation of the printer 200 executed by each printer application 170 of each client PC 100 according to the first embodiment. The flowchart in Fig. 4 is executed by, for example, the printer application 170A of the first client PC 100A and the printer application 170B of the second client PC 100B. Note that the printer application 170 executes the following flowchart when it is registered as a virtual printer in the CUPS 160.

[0028] In step S110, the printer application 170 waits for an event to occur. An event may include, for example, a request for an attribute of the printer 200 or a request to execute printing.

[0029] In step S120, printer application 170 determines whether a request for an attribute indicating whether printer 200 is offline or online has been received. If printer application 170 has not received a request for the attribute (step S120: No), printer application 170 proceeds to the next step S125.

[0030] In step S125, the printer application 170 executes other processing in response to requests other than the attribute request received in step S120. For example, if a request to execute printing is received, the printer application 170 executes printing. Then, the process returns to step S110.

[0031] On the other hand, in step S120, if the printer application 170 receives the request for the attribute (step S120: Yes), the process proceeds to the next step S130.

[0032] In step S130, printer application 170 acquires requestor information of the attribute request accepted in step S120. The requestor information is information for identifying, for example, the user, client PC 100, group, etc. that has issued the attribute request.

[0033] In step S140, the printer application 170 acquires a setting file from the setting file storage unit 301 of the management PC 300. Step S140 is an example of an exclusive use management information acquisition process.

[0034] In step S150, printer application 170 acquires the current time. Step S150 is an example of a time information acquisition process.

[0035] In step S160, printer application 170 determines whether the current time is within the reserved time of printer 200 based on the setting file acquired in step S140 and the current time acquired in step S150. That is, printer application 170 determines whether the current time falls within the reserved time period in the setting file. Step S160 is an example of a time determination process. If the current time is not within the reserved time of printer 200 (step S160: No), printer application 170 proceeds to the next step S170.

[0036] In step S170, the printer application 170 sends an attribute indicating that the printer 200 is online to the requesting client PC 100. The attribute is an example of a connection status. This allows the requesting client PC 100 to execute printing using the printer 200. Then, the process returns to step S110.

[0037] On the other hand, in step S160, if the current time is within the reserved time of the printer 200 (step S160: Yes), the printer application 170 proceeds to the next step S180.

[0038] In step S180, printer application 170 determines whether the requester of the attribute is a reserving user, client PC, or group set in the setting file based on the requester information acquired in step S130 and the setting file acquired in step S140. That is, printer application 170 determines whether client PC 100 that has requested the attribute is the entity that occupies printer 200 in the time zone of the current time. Step S180 is an example of an occupancy entity determination process.

[0039] If the user is a reserving user or the like (step S180: Yes), printer application 170 proceeds to step S170 above and sends an attribute indicating that printer 200 is online to requesting client PC 100. This allows requesting client PC 100 to execute printing using printer 200. Thereafter, the process returns to step S110 above. On the other hand, if the user is not a reserving user or the like (step S180: No), printer application 170 proceeds to the next step S190.

[0040] In step S190, the printer application 170 sends an attribute indicating that the printer 200 is offline to the requesting client PC 100. The attribute is an example of a connection status. As a result, the requesting client PC 100 cannot use the printer 200. Then, the process returns to step S110.

[0041] In the above steps S160 to S190, the printer application 170 executes the occupation of the printer 200 by at least one client PC 100. Specifically, when the printer application 170 determines in step S160 that the current time falls within the reserved time slot and determines in step S180 that the client PC 100 requesting the attribute is the subject that occupies the printer 200, it sets the connection status of the printer 200 to online in step S170. Also, when the printer application 170 determines that the client PC 100 is not the subject that occupies the printer 200, it sets the connection status of the printer 200 to offline in step S190. Therefore, when the printer application 170 is viewed from the CUPS 160 as a virtual printer, if a reservation has been made, only the reserving user is treated as online and a print job is sent to the user. The print job is printed in step S125. At that time, users other than the reserved user are seen as offline, so no print job is sent to the user. In this way, when the current time falls within the reserved time slot, the printer application 170 executes the occupation of the printer 200 by setting the connection status of the printer 200 to online only when it is determined that the printer is the occupant. The above steps S160 to S190 are an example of the occupation execution process.

[0042] After step S190, a step may be provided for transmitting notification information to the client PC 100 that requested the attribute that the printer 200 is unavailable. The notification information may include, for example, information indicating that the printer is currently reserved by another user, the reservation time, and identification information of the user who has made the reservation. The step of transmitting the notification information is an example of a notification information transmission process.

[0043] <Advantages of the First Embodiment> In the first embodiment, each printer application 170 of each client PC 100 executes step S140 and steps S160 to S190. In step S140, a setting file for managing the occupation of the printer 200 by at least one client PC 100 included in the printing system 1 is acquired. In steps S160 to S190, the occupation of the printer 200 by at least one client PC 100 is executed based on the setting file acquired in step S140.

[0044] According to this embodiment, the printer 200 can be exclusively used by the client PC 100 used by the user. According to this embodiment, the printer 200 can be exclusively used without a server, which simplifies the configuration of the printing system 1. In addition, the printer 200 directly connected to the client PC 100 via a USB cable or the like can be exclusively used, which makes it possible to support a local printer.

[0045] Particularly in this embodiment, the client PC 100 is configured to be able to communicate with the management PC 300, and in step S140, the setting file is acquired from the management PC 300. According to this embodiment, the occupancy of the printer 200 can be managed based on the setting file input in the management PC 300.

[0046] In particular, in this embodiment, the setting file includes a reservation time period for occupancy of the printer 200 by at least one client PC 100. According to this embodiment, occupancy of the printer 200 can be managed by time.

[0047] In particular, in this embodiment, printer application 170 executes steps S150 and S160. In step S150, the current time is acquired. In step S160, it is determined whether or not the current time acquired in step S150 falls within the reserved time period in the setting file. If it is determined in step S160 that the current time falls within the reserved time period, occupation of printer 200 is executed in steps S180, S170, and S190. According to this embodiment, the occupation of printer 200 can be managed by setting the time period of occupation using the setting file.

[0048] Particularly in this embodiment, printer application 170 executes step S180. In step S180, if it is determined in step S160 that the current time falls within the reserved time period, it is determined based on the settings file whether or not client PC 100 requesting printing is the entity that will occupy printer 200 during the reserved time period. If it is determined in step S180 that client PC 100 requesting printing is the entity that will occupy printer 200, occupancy of printer 200 is executed in step S170. According to this embodiment, occupancy of printer 200 can be managed by setting the time period of occupancy and the entity that will occupy it using the settings file.

[0049] Particularly in this embodiment, if it is determined in step S180 that the client PC 100 requesting printing is the entity that occupies the printer 200, the connection status of the printer 200 is set to online in step S170. If it is determined in step S180 that the client PC 100 requesting printing is not the entity that occupies the printer 200, the connection status of the printer 200 is set to offline in step S190. According to this embodiment, the printer 200 can be made available as online only if the client PC 100 requesting printing is the entity that occupies the printer 200 as set by the settings file, and can be made unavailable as offline if the client PC 100 is not the entity that occupies the printer. According to this embodiment, it is possible to reliably execute the occupancy of the printer 200 based on the settings file.

[0050] <Second embodiment> Next, a second embodiment of the present invention will be described with reference to Figs. 5 to 8. The second embodiment is an embodiment in which an alternative printer is set. Note that the overall configuration of the printing system 1 according to the second embodiment is similar to the configuration of the printing system 1 according to the first embodiment shown in Fig. 1, and therefore a description thereof will be omitted.

[0051] <Contents of configuration file> FIG. 5 shows an example of the contents of the setting file according to the second embodiment stored in the setting file storage unit 301 of the management PC 300. The setting file shown in FIG. 5 differs from the setting file according to the first embodiment shown in FIG. 2 in that an alternative printer is set. The alternative printer is another printer designated as a printer that performs printing instead when another user requests printing on the printer 200 during a reserved time period of the printer 200 by a specific user. In the example shown in FIG. 5, for example, the first client PC 100A used by user A is set to occupy the first printer 200A during the reserved time period of 12:00 to 17:00 on March 3, 2023, and the alternative printer X is set. In addition, for example, the third client PC 100C used by group C is set to occupy the first printer 200A during the reserved time period of 13:00 to 14:00 on March 5, 2023, and the alternative printer Y is set. The first printer 200A and the second printer 200B are examples of a first printing device, and the alternative printers X and Y are examples of a second printing device.

[0052] The processing procedure for inputting the setting file by the processor 310 of the management PC 300 according to the second embodiment is similar to that shown in FIG. 3 and will not be described further.

[0053] <Processing procedure for printer occupation by printer application> Fig. 6 shows an example of a processing procedure related to the occupation of the printer 200 executed by each printer application 170 of each client PC 100 according to the second embodiment. The flowchart in Fig. 6 is executed by, for example, the printer application 170A of the first client PC 100A and the printer application 170B of the second client PC 100B. Note that the printer application 170 executes the following flowchart when it is registered as a virtual printer in the CUPS 160.

[0054] In step S205, the printer application 170 waits for a print request, which is a print job that designates a particular printer 200.

[0055] In step S210, printer application 170 acquires requestor information of the print request accepted in step S205. The requestor information is information for identifying, for example, the user, client PC 100, or group that has output the print request.

[0056] In step S215, the printer application 170 obtains the setting file from the setting file storage unit 301 of the management PC 300. Step S215 is also an example of the exclusive use management information obtaining process.

[0057] In step S220, printer application 170 acquires the current time. Step S220 is also an example of the time information acquisition process.

[0058] In step S225, printer application 170 determines whether the current time is within the reserved time of printer 200 based on the setting file acquired in step S215 and the current time acquired in step S220. That is, printer application 170 determines whether the current time falls within the reserved time period in the setting file. Step S225 is also an example of a time determination process. If the current time is not within the reserved time of printer 200 (step S225: No), printer application 170 proceeds to the next step S230.

[0059] In step S230, the printer application 170 transmits the print data to the printer 200 to cause printing to be performed, and then the process returns to step S205.

[0060] On the other hand, in step S225, if the current time is within the reserved time of the printer 200 (step S225: Yes), the printer application 170 proceeds to the next step S235.

[0061] In step S235, printer application 170 determines whether the print requester is a reserving user, client PC, or group set in the setting file based on the requester information acquired in step S210 and the setting file acquired in step S215. That is, printer application 170 determines whether client PC 100, which is the print requester, is the entity that occupies printer 200 in the current time zone. Step S235 is also an example of an occupancy entity determination process.

[0062] If the user is a reserved user or the like (step S235: Yes), the printer application 170 proceeds to step S230 and transmits print data to the printer 200 to execute printing. Then, the process returns to step S205. On the other hand, if the user is not a reserved user or the like (step S235: No), the printer application 170 proceeds to the next step S240.

[0063] In step S240, the printer application 170 determines whether or not an alternative printer is specified for the current reservation time slot based on the setting file acquired in step S215. If an alternative printer is not specified (step S240: No), the process proceeds to the next step S245. Step S240 is an example of an alternative determination process.

[0064] In step S245, the printer application 170 transmits notification information to the user who requested the print job that the printer 200 that requested the print job is unavailable. The notification information may also include information that an alternative printer has not been specified. Step S245 is an example of a notification information transmission process.

[0065] In step S250, printer application 170 spools the print job accepted in step S205 above in a predetermined storage location.

[0066] In step S255, the printer application 170 creates a restart thread for restarting the print job spooled in step S250. The process executed in the restart thread will be described later. Then, the process returns to step S205.

[0067] On the other hand, in step S240, if an alternative printer has been designated (step S240: Yes), printer application 170 proceeds to the next step S260.

[0068] In step S260, printer application 170 determines whether the status of the alternative printer is ready for printing. "Ready for printing" here means that the printer is ready and not occupied by another user (not written as such in the setting file). If the status of the alternative printer is not ready (step S260: No), printer application 170 proceeds to step S245. On the other hand, if the status of the alternative printer is ready (step S260: Yes), printer application 170 proceeds to the next step S265.

[0069] In step S265, printer application 170 transfers the print job accepted in step S205 to the alternative printer, and proceeds to step S270. Step S265 is an example of a print data transmission process.

[0070] In step S270, the printer application 170 transmits to the user who requested the print job a notification that the printer 200 that requested the print job is unavailable and that the print job will be executed by an alternative printer. This step S270 is also an example of the notification information transmission process. Then, the process returns to step S205.

[0071] FIG. 7 shows an example of a processing procedure executed by the resume thread created in step S255.

[0072] In step S310, printer application 170 waits until the time when the occupancy of printer 200 that is the target of the print request is released. That is, printer application 170 waits until it is determined in step S255 that the current time does not fall within the reserved time period. Step S310 is an example of a waiting process.

[0073] In step S320, the printer application 170 transmits the print job spooled in step S250 to the printer 200, causing it to execute printing.

[0074] In step S330, printer application 170 deletes the spooled print job and terminates the resume thread.

[0075] 8 shows an example of a procedure for requesting a follow-me print executed by another printer 200, different from the printer 200 that is the target of the print request, among the printers 200 included in the printing system 1. This flowchart is executed by the printer application 170 of the other printer 200, for example, when the print job is spooled in step S250.

[0076] In step S410, the printer application 170 of the other printers 200 waits until a follow-me print (pull print) request is received from any of the printers 200. If a follow-me print request is received, the process proceeds to step S420.

[0077] In step S420, the printer application 170 accesses the storage location of the print job spooled in step S250, acquires the print job, and executes printing. Follow-me print is a so-called pull print. After that, the spooled print data is deleted, and this flow chart ends.

[0078] It should be noted that if printing is performed in step S320 during the standby period in step S410, step S410 ends at that point without proceeding to step S420 (not shown in the flow).

[0079] <Effects of the second embodiment> According to the second embodiment described above, in addition to the same effects as those of the first embodiment, the following effects can be obtained. That is, in the second embodiment, the printer application 170 executes step S240. In step S240, if it is determined in step S235 that the client PC 100 requesting printing is not the entity that occupies the printer 200, it is determined whether or not another printer is set to substitute for the printer 200. If it is determined in step S240 that an alternative printer is set, the print job is transferred to the alternative printer in step S265. According to this embodiment, by setting an alternative printer in advance, even if the printer 200 cannot be used due to occupancy by another user, etc., printing can be performed using the alternative printer. According to this embodiment, printing can be performed without waiting until occupancy by another user, etc. ends, which is effective in cases where a user wants to print in a hurry, for example.

[0080] In particular, in this embodiment, the printer application 170 executes step S310. In step S310, if it is determined in step S240 that an alternative printer is not set, the printer application 170 waits until it is determined in step S225 that the current time does not fall within the reserved time period. If it is determined in step S225 that the current time does not fall within the reserved time period by executing step S310, the print data is sent to the printer 200 in step S230. According to this embodiment, if an alternative printer is not set, the printer application 170 waits until the occupancy by another user or the like ends, and can automatically execute printing when the occupancy ends. Since there is no need to monitor the end of the occupancy of the printer 200 by another user or the like, the convenience of the user can be improved.

[0081] In particular, in this embodiment, printer application 170 executes step S245 or step S270. In steps S245 and S270, if printer 200, which is the subject of a print request, is occupied by another user, etc., notification information that printer 200 is unavailable is sent to the user who made the print request. According to this embodiment, if printer 200 is occupied by another user, etc. when a user makes a print request, the user is notified of this fact, so that the user can recognize that printer 200 cannot be used due to occupation by the other user, etc.

[0082] <Modification> The present invention is not limited to the above-described embodiment, and various modifications are possible without departing from the spirit and technical concept of the present invention. Such modifications will be described below in order.

[0083] (1) When the output tray is occupied In the above embodiment, the printer 200 is the object to be occupied, but for example, if the printer 200 has a plurality of paper discharge trays, it may be possible to occupy a specific paper discharge tray in the printer 200. Details of this modification will be described below.

[0084] <Contents of configuration file> FIG. 9 shows an example of the contents of the setting file according to this modified example stored in the setting file storage unit 301 of the management PC 300. In the example shown in FIG. 9, for example, the first client PC 100A used by user A is set to occupy the first paper output tray of the first printer 200A in the reservation time period from 12:00 to 17:00 on March 3, 2023, and an alternative tray Q is set. The alternative tray Q may be the same printer as the first paper output tray or a different printer. Also, for example, the second client PC 100B used by user B is set to occupy the second paper output tray of the second printer 200B in the reservation time period from 12:00 to 17:00 on March 4, 2023. Also, for example, the third client PC 100C used by group C is set to occupy the second paper output tray of the first printer 200A in the reservation time period from 13:00 to 14:00 on March 5, 2023, and an alternative tray R is set. The alternative tray R may be in the same printer as the second discharge tray or in a different printer. The first and second discharge trays are an example of a first discharge section, and the alternative tray is an example of a second discharge section.

[0085] <Processing procedure for occupying the output tray by the printer application> 10 shows an example of a process procedure related to occupancy of a paper output tray executed by each printer application 170 of each client PC 100 in this modified example. Note that the printer application 170 executes the following flowchart when registered as a virtual printer in the CUPS 160.

[0086] In step S505, printer application 170 waits for a print request, which is a print job that specifies a specific output tray in printer 200 that has multiple output trays.

[0087] In step S510, printer application 170 acquires request source information of the print request accepted in step S505 above. The request source information is information for identifying, for example, the user, client PC 100, group, etc. that has output the print request.

[0088] In step S515, the printer application 170 obtains a setting file from the setting file storage unit 301 of the administration PC 300. The setting file is the setting file shown in FIG.

[0089] In step S520, printer application 170 acquires the current time. Step S520 is also an example of the time information acquisition process.

[0090] In step S525, printer application 170 determines whether the current time is within the reserved time of printer 200 based on the setting file acquired in step S515 and the current time acquired in step S520. The reserved time of printer 200 includes the case where any one of the multiple paper output trays equipped in printer 200 is within the reserved time. Step S525 is also an example of a time determination process. If the current time is not within the reserved time of printer 200 (step S525: No), printer application 170 proceeds to the next step S530.

[0091] In step S530, the printer application 170 transmits the print data to the printer 200 to execute printing, and ejects the printed matter from the requested paper ejection tray. Then, the process returns to step S505.

[0092] On the other hand, in step S525, if the current time is within the reserved time of the printer 200 (step S525: Yes), the printer application 170 proceeds to the next step S535.

[0093] In step S535, printer application 170 determines whether the requested paper output tray is a reserved paper output tray based on the setting file acquired in step S515. If the requested paper output tray is not a reserved paper output tray, for example because the paper output tray is not reserved (step S535: No), printer application 170 proceeds to step S530, transmits print data to printer 200 to execute printing, and outputs the paper from the requested paper output tray. Then, printer application 170 returns to step S505. On the other hand, if the requested paper output tray is a reserved paper output tray (step S535: Yes), printer application 170 proceeds to the next step S537.

[0094] In step S537, printer application 170 determines whether the print requester is a reserved user, client PC, or group, and tray designation set in the setting file based on the requester information acquired in step S510 and the setting file acquired in step S515, and determines whether the print requester has the authority to use the tray. In other words, printer application 170 determines whether client PC 100, which is the print requester, is the entity that occupies the requested output tray in the current time zone. Step S537 is also an example of an occupancy entity determination process.

[0095] If the user is a reserved user or the like (step S537: Yes), the printer application 170 proceeds to step S530, transmits print data to the printer 200 to execute printing, and ejects the printed matter from the requested paper ejection tray. Then, the process returns to step S505. On the other hand, if the user is not a reserved user or the like (step S537: No), the printer application 170 proceeds to the next step S540.

[0096] In step S540, the printer application 170 determines whether or not an alternative tray is specified for the current reservation time slot based on the setting file acquired in step S515. If an alternative tray is not specified (step S540: No), the process proceeds to the next step S545. Step S540 is an example of an alternative determination process.

[0097] In step S545, printer application 170 transmits notification information to the user who has requested printing that the requested output tray is unavailable. The notification information may also include information that an alternative tray has not been specified. Step S545 is an example of a notification information transmission process.

[0098] In step S550, printer application 170 spools the print job accepted in step S505 above in a predetermined storage location.

[0099] In step S555, printer application 170 creates a resume thread for resuming the print job spooled in step S550. The process executed in the resume thread is the same as that in Fig. 7. Then, the process returns to step S505.

[0100] On the other hand, in step S540, if an alternative tray has been specified (step S540: Yes), the printer application 170 proceeds to the next step S560.

[0101] In step S560, printer application 170 determines whether the alternative tray is in a reserved state based on the setting file. If the status of the alternative tray is in a reserved state (step S560: Yes), printer application 170 proceeds to step S545. On the other hand, if the status of the alternative tray is not in a reserved state (step S560: No), printer application 170 proceeds to the next step S565.

[0102] In step S565, the printer application 170 transfers the print job accepted in step S505 to the printer 200 that is equipped with the alternative tray. Step S565 is an example of a print data transmission process.

[0103] In step S570, the printer application 170 transmits notification information to the user who has requested the print job that the requested paper output tray is unavailable and that an alternative tray will be used. Step S570 is also an example of the notification information transmission process. Then, the process returns to step S505.

[0104] In this modified example, the print job spooled in step S550 can be follow-me-printed by the same process as in FIG. 8 of the previous embodiment.

[0105] According to the modified example described above, occupation can be performed not on a printer-by-printer basis, but on a printer-by-printer basis.

[0106] (2) Other system configurations of the printing system Although the above describes a case where both the first client PC 100A and the second client PC 100B are connected to the printer 200, the configuration of the printing system 1 is not limited to the above. For example, a configuration may be adopted in which only one of the client PCs 100 is connected to the printer 200, and the print data of the other client PC 100 is transmitted to the printer 200 via the one of the client PCs 100.

[0107] For example, in the example shown in Fig. 11, the second client PC 100B is connected to the printer 200, and the first client PC 100A is not connected to the printer 200. The second client PC 100B has a printer application 170B, and the printer application 170B executes the processes in Figs. 4, 6 to 8, and 10 described above. The CUPS 160A of the first client PC 100A transmits print data to the printer 200 via the CUPS 160B and the printer application 170B of the second client PC 100B. The first client PC 100A may or may not have the printer application 170A.

[0108] In addition, the configuration file is stored in the management PC 300 and is retrieved by the client PCs 100 when necessary, but when a change is made, the management PC 300 may broadcast a notification, and each client PC 100 may respond to the notification by retrieving the configuration file and storing it internally.

[0109] The system configuration of this modified example can also provide the same effects as those of the first and second embodiments described above.

[0110] (3)Other In the above, the occupancy of the printer 200 or the paper output tray is managed by time using a setting file, but the management of the occupancy is not limited to time. For example, the occupancy may be executed based on an instruction to start occupancy and an instruction to end occupancy input by a user. In this case, the printer application 170 acquires at least one of instruction information to start occupancy of the printer 200 or the paper output tray and instruction information to end occupancy instead of the above-mentioned setting file. According to this modification, the occupancy of the printer 200 or the paper output tray can be managed by an instruction to start occupancy and an instruction to end occupancy. According to this modification, it is possible to start occupancy immediately from the time when, for example, multiple consecutive print jobs are executed, or to end occupancy immediately from the time when, for example, multiple consecutive print jobs are finished. In this way, the occupancy of the printer 200 or the paper output tray can be executed in real time.

[0111] In the above, the setting file specifies the start and end timings of the occupation of the printer 200 or the paper output tray as times, but this is not limited to this. For example, the setting file may include information on the end timing of the occupation indicating that a non-printing state continues for a predetermined period of time when the occupation is being executed as the information on the end timing of the occupation. In this case, the occupation can be automatically ended if a non-printing state continues for a predetermined period of time when the occupation is being executed, so that the occupation can be ended at an appropriate timing according to the printing situation.

[0112] In the above, the configuration file is obtained from the management PC 300, but this is not limited to the above. For example, a configuration file storage unit may be provided in the client PC 100, and the configuration file may be obtained from inside the client PC 100. In this case, the contents of the configuration file may be input in the client PC 100.

[0113] Furthermore, the flowcharts shown in Figures 3 to 4, 6 to 8, and 10 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.

[0114] In addition to the above, the methods according to the above embodiments and their modifications may be used in appropriate combination.

[0115] Although not specifically illustrated, the present invention can be implemented with various modifications without departing from the spirit and scope of the present invention.

[0116] <Hardware configuration of client PC, printer, and management PC> An example of the hardware configuration of the client PC 100 and the printer 200 will be described with reference to Fig. 12. Note that the first client PC 100A and the second client PC 100B may have a common hardware configuration.

[0117] <Client PC> 12, the client PC 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.

[0118] 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.

[0119] Various programs are stored in the program storage area 131. The various programs include information processing programs based on the flowcharts of Figures 4, 6 to 8, and 10, etc. The data storage area 132 stores data necessary for executing the various programs, etc.

[0120] 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 and an administration PC 300 connected to the network NT.

[0121] 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 client PC 100 by operating the operation unit 150.

[0122] The communication interface 190 is a wired or wireless network interface for communicating with other devices, and is connected to a USB cable or a network NT.

[0123] 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 client PC 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 a storage device 215 of the printer 200 and a storage device 315 of the management PC 300, which will be described later.

[0124] <Printer> 12, 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.

[0125] 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.

[0126] 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.

[0127] The display unit 240 is, for example, a liquid crystal display, and is capable of displaying various 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 a USB cable or a network NT.

[0128] The printing unit 290 prints an image on a sheet conveyed by a conveying mechanism (not shown). The printing unit 290 prints an image on a sheet based on print data sent from the client PC 100 or a print job that the printing unit 290 itself generates based on an operation on the operation unit 250.

[0129] <Management PC> 13, the management PC 300 has a processor 310, a storage device 315, a display unit 340, an operation unit 350, and a communication interface 390. The processor 310, the storage device 315, the display unit 340, the operation unit 350, and the communication interface 390 are connected via a bus 305 so as to be able to transmit and receive data to and from each other.

[0130] The storage device 315 includes a volatile storage device 320 and a non-volatile storage device 330. The volatile storage device 320 is, for example, a DRAM, and stores various programs and data to be processed. The non-volatile storage device 330 is, for example, a hard disk drive or a solid state drive, and includes a program storage area 331 and a data storage area 332.

[0131] Various programs are stored in the program storage area 331. The various programs include information processing programs based on the flowchart of Fig. 3 and the like described above. The data storage area 332 stores data and the like required for executing the various programs.

[0132] The processor 310 is a device for performing data processing, such as a CPU, and executes various programs stored in a program storage area 331. The processor 310 performs various processes including data communication with the client PC 100 and the like connected to the network NT.

[0133] The display unit 340 is, for example, a liquid crystal display, and is capable of displaying various information. The operation unit 350 is, for example, a mouse, a keyboard, and is configured to receive operations by a user. The user can input various instructions to the administration PC 300 by operating the operation unit 350.

[0134] The communication interface 390 is a wired or wireless network interface for communicating with other devices, and is connected to the network NT. [Explanation of symbols]

[0135] 1 Printing System 100A First client PC (an example of an information processing device) 100B Second client PC (an example of an information processing device) 110 Processor (an example of a computing unit) 160A CUPS (an example of OS standard printing software) 160B CUPS (an example of OS standard printing software) 170A Printer application (an example of an information processing program) 170B Printer application (an example of an information processing program) 200 Printer (an example of a first printing device) 300 Management PC (an example of an external device) 301 Configuration file storage section 310 Processor

Claims

1. an information processing program executable by a computing unit of an information processing device capable of communicating with a first printing device having a first paper discharge unit, the information processing device being equipped with an operating system having OS standard printing software, the information processing program being capable of being registered in the OS standard printing software as a virtual printing device; When the information processing program is registered as the virtual printing device in the OS standard printing software, the information processing program causes a calculation unit of the information processing device to a print data transmission process for acquiring first print data from the OS standard print software and transmitting second print data based on the first print data to the first printing device; an occupancy management information acquisition process for acquiring occupancy management information for managing occupancy of the first printing device or the first paper discharge unit by at least one information processing device among a plurality of information processing devices capable of communicating with the first printing device including the information processing device; an occupancy execution process for executing occupancy of the first printing device or the first paper discharge unit by the at least one information processing device based on the occupancy management information acquired in the occupancy management information acquisition process; An information processing program for executing the above.

2. The calculation unit further includes: An information processing program as described in claim 1, further comprising: a notification information sending process for sending notification information to an information processing device other than the at least one information processing device that the first printing device or the first paper output unit is unavailable when the at least one information processing device is occupying the first printing device or the first paper output unit by the at least one information processing device through the occupancy execution process and the other information processing device requests printing, the notification information being sent to the other information processing device that the first printing device or the first paper output unit is unavailable.

3. The information processing device including the calculation unit is configured to be able to communicate with an external device, In the occupancy management information acquisition process, 2. The information processing program according to claim 1, wherein the occupancy management information is obtained from the external device.

4. The occupancy management information is 4. The information processing program according to claim 1, further comprising information about a time period during which the at least one information processing device occupies the first printing device or the first paper discharge unit.

5. The calculation unit further includes: A time information acquisition process for acquiring the current time; a time determination process for determining whether or not the current time acquired in the time information acquisition process corresponds to a time zone represented by the time zone information; The exclusive execution process includes: The information processing program according to claim 4 , further comprising occupying the first printing device or the first paper discharge unit when it is determined in the time determination process that the current time falls within the time period.

6. The calculation unit further includes: executes an occupancy entity determination process for determining whether or not the information processing device requesting printing is an entity occupying the first printing device or the first paper discharge unit during the time period, when the time determination process determines that the current time falls within the time period, based on the occupancy management information; The exclusive execution process includes: An information processing program as described in claim 5, which performs occupancy of the first printing device or the first paper output unit when it is determined in the occupancy entity determination process that the information processing device requesting the printing is the entity occupying the first printing device or the first paper output unit.

7. The exclusive execution process includes: An information processing program as described in claim 6, wherein when the occupancy entity determination process determines that the information processing device requesting the printing is the entity occupying the first printing device or the first paper output unit, the connection status of the first printing device or the first paper output unit is set to online, and when the occupancy entity determination process determines that the information processing device requesting the printing is not the entity occupying the first printing device or the first paper output unit, the connection status of the first printing device or the first paper output unit is set to offline.

8. The occupancy management information is 4. The information processing program according to claim 1, further comprising at least one of instruction information for starting occupation of the first printing device or the first paper discharge unit and instruction information for ending occupation.

9. The occupancy management information is 4. The information processing program according to claim 1, wherein the end timing information of the occupation of the first printing device or the first paper discharge section includes a predetermined period of time of a non-printing state during the execution of the occupation.

10. The calculation unit further includes: executing an alternative determination process for determining whether or not a second printing device that substitutes for the first printing device or a second paper discharge unit that is provided in the first printing device that substitutes for the first paper discharge unit is set when the information processing device that requests the printing is determined to be not an entity that occupies the first printing device or the first paper discharge unit in the occupancy entity determination process; when it is determined in the alternative determination process that the second printing device or the second paper discharge unit is set, the second print data is transmitted to the second printing device or the first printing device in the print data transmission process.

7. The information processing program according to claim 6.

11. The calculation unit further includes: when it is determined in the alternative determination process that the second printing device or the second paper discharge unit is not set, a standby process is executed to wait until it is determined in the time determination process that the current time does not fall within the time zone; if it is determined in the time determination process that the current time does not fall within the time zone, the second print data is transmitted to the first printing device in the print data transmission process; The information processing program according to claim 10.

Citation Information

Patent Citations

  • Print system, printer control device, print control method, and program

    JP2007279814A