PROGRAM, PRINT CONTROL METHOD, AND PRINT CONTROL DEVICE

A program and method using an information acquisition module integrate with printer drivers to calculate print information across diverse printing devices, enabling efficient billing and print amount calculation without modifying the driver.

JP7540261B2Active Publication Date: 2024-08-27SEIKO EPSON CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2020158365
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-23
Publication Date
2024-08-27
Estimated Expiration
2040-09-23

AI Technical Summary

Technical Problem

Existing printer driver programs require additional functionality for calculating print amounts, making it difficult to apply to various printing devices without modifying the driver.

Method used

A program and method that utilize an information acquisition module to acquire print requests, transmit them to the printer driver, and receive responses to generate print information, allowing integration with different printing devices without modifying the driver.

Benefits of technology

Enables calculation of printing amounts and billing across various printing devices by installing a virtual printer driver, facilitating efficient print information acquisition and billing without device-specific modifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540261000005
    Figure 0007540261000005
  • Figure 0007540261000001
    Figure 0007540261000001
  • Figure 0007540261000003
    Figure 0007540261000003
Patent Text Reader

Abstract

To realize a function, such as calculating printing quantity, for various printers.SOLUTION: A program is executed by a computer of a print control apparatus which is connected to a printer and on which a printer driver is installed for causing the printer to execute printing. The program is associated with the printer driver and causes the computer to acquire a print request, transmit the acquired print request to the printer driver, receive a response based on the print request from the printer driver, and acquire print information based on the print request.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a program, a print control method, and a print control device. [Background technology]

[0002] Conventionally, methods have been proposed for managing printing information such as the print volume of a printing device for the purpose of billing according to the number of pages printed by the printing device, etc. For example, Patent Document 1 discloses a configuration for setting print information and calculating the print volume by a printer driver program. [Prior art documents] [Patent documents]

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

[0004] The configuration described in Patent Document 1 requires that the printer driver program has a function for calculating the print volume, etc. To realize this configuration, it is necessary to add a function related to the calculation of the print volume to each printer driver. Therefore, a driver program with the function related to the calculation of the print volume must be provided for the printing device for which the calculation of the print volume, etc. is to be performed, which makes it difficult to apply the configuration to a variety of printing devices. [Means for solving the problem]

[0005] One aspect for solving the above problem is a program executed by a computer of a print control device in which a printer driver that connects to a printing device and operates the printing device is installed, the program causing the computer to be associated with the printer driver, to acquire a print request, to send the acquired print request to the printer driver, to receive a response based on the print request sent by the printer driver, and to acquire printing information based on the print request.

[0006] Another aspect for solving the above problem is a print control method executed by a print control device in which a printer driver that causes a printing device to print runs on an operating system, in which an information acquisition module that is interposed between the operating system and the printer driver is pre-installed, the information acquisition module is pre-associated with the printer driver, the information acquisition module acquires a print request, sends the acquired print request to the printer driver associated with the information acquisition module, receives a response corresponding to the print request from the printer driver, and acquires print information based on the print request.

[0007] Yet another aspect that solves the above problem is a print control device comprising a communication unit that connects to a printing device, an execution unit on which an operating system runs, a control unit that controls a printer driver and an information acquisition module, and a memory unit that stores association information that associates the printer driver and the information acquisition module, wherein the control unit acquires a print request from the operating system using the information acquisition module, sends the acquired print request to the printer driver associated with the information acquisition module, acquires print information based on the print request, receives a response corresponding to the print request from the printer driver, and sends the response corresponding to the print request to the operating system. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 illustrates a configuration of a printing system. [Diagram 2] FIG. 4 is a diagram illustrating the functions of a terminal control unit. [Diagram 3] 6 is a flowchart showing the procedure and operation regarding the installation of a printer driver and an information acquisition module. [Figure 4] 4 is a flowchart showing the operation of the terminal device. [Diagram 5] 4 is a flowchart showing the operation of the terminal device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] FIG. 1 is a diagram showing the configuration of a printing system 1000. 1, the printing system 1000 includes a terminal device 1, a printing device 2, and a server 3. The terminal device 1 corresponds to an example of a printing control device.

[0010] The terminal device 1 is a PC (Personal Computer). The terminal device 1 may be a desktop type, a laptop type, or a tablet type. The terminal device 1 is communicatively connected to a printing device 2 via a local network LN, and communicatively connected to a server 3 via a global network GN. The global network GN is composed of leased lines, public lines, the Internet, etc.

[0011] The printing device 2 is a device that prints an image on a printing medium. There is no limit to the type of printing medium, and examples include cut paper of a predetermined size, roll paper, and synthetic resin sheets. There is no limit to the printing method of the printing device 2, and printing methods such as dot impact, thermal dye sublimation, and thermal can be used. The printing method of the printing device 2 is an inkjet method.

[0012] The terminal device 1 may be connected to one or more other printing devices (not shown) made by different manufacturers or of different models.

[0013] The terminal device 1 outputs a print command CO to the printer 2 via the local network LN to execute printing. The terminal device 1 transmits print information DA related to the printing to be executed by the printer 2 to the server 3 via the global network GN.

[0014] The printing device 2 includes a printing device control unit 20, a printing device communication unit 21, and a printing unit 22. The printing device control unit 20 is a processor that executes programs such as a CPU or MPU. The printing device control unit 20 reads and executes the programs using the processor, and executes various processes using hardware and software. The printing device control unit 20 may also include a storage device (not shown) that stores the programs executed by the processor and the data processed by the processor.

[0015] The printing device communication unit 21 is a communication interface that communicates according to a predetermined communication standard. The printing device communication unit 21 communicates with the terminal device 1 via the local network LN under the control of the printing device control unit 20. The printing device communication unit 21 may be connected to the terminal device 1 via a Universal Serial Bus (USB) cable and communicate with the terminal device 1.

[0016] The printing unit 22 is a printing mechanism that prints an image on a print medium. The printing mechanism of the printing unit 22 includes a print head that ejects ink, and a transport mechanism that transports the print medium. The printing unit 22 may also include various sensors that detect the position and size of the print medium, a head scanning mechanism that scans the print head, and the like.

[0017] The printing device control unit 20 controls the printing device communication unit 21 to receive the print command CO sent by the terminal device 1. The printing device control unit 20 controls the printing unit 22 in accordance with the print command CO to execute printing on the print medium.

[0018] The server 3 receives the print information DA from the terminal device 1. The server 3 stores the print information DA received from the terminal device 1 in association with the terminal device 1 or the printing device 2. The server 3 may perform calculations of billing information related to printing performed by the printing device 2 based on the print information DA.

[0019] The printing information DA includes at least one of the number of pages, drawing type, and page settings that the terminal device 1 causes the printing device 2 to print. The number of pages is the number of sheets of printing medium that the printing device 2 prints. The drawing type refers to the type of printing process executed by the printing device 2. The printing process is color printing, monochrome printing, photo printing, general document printing, a printing mode that saves ink consumption, print resolution, print density, etc. The page settings are the size of the printing medium, double-sided printing, single-sided printing, etc. In addition to the above, the printing information DA can include various information that affects the printing costs of the printing device 2.

[0020] The terminal device 1 includes a terminal control unit 10, a first terminal communication unit 11, a second terminal communication unit 12, a display unit 13, and an input unit 14.

[0021] The first terminal communication unit 11 is a communication interface that communicates according to a predetermined communication standard, and communicates with the server 3 connected via the global network GN in accordance with the control of the terminal control unit 10. The first terminal communication unit 11 corresponds to an example of a transmission unit.

[0022] The second terminal communication unit 12 is a communication interface that communicates according to a predetermined communication standard, and communicates with the printing device 2 connected via the local network LN in accordance with the control of the terminal control unit 10. The second terminal communication unit 12 corresponds to an example of a communication unit.

[0023] The display unit 13 is a display configured with an LED (Light Emitting Diode) or an OLED (Organic Light Emitting Diode), and displays information in a predetermined manner according to the control of the terminal control unit 10. The display unit 13 may be an external device connected to the terminal device 1.

[0024] The input unit 14 is an input interface that is connected to input means such as an operation switch, a touch panel, a mouse, or a keyboard provided on the terminal device 1, detects an input operation by a user, and outputs the detection result to the terminal control unit 10. The terminal control unit 10 executes a process corresponding to the input operation based on the input from the input unit 14.

[0025] The terminal control unit 10 includes a terminal processor 100 and a terminal storage unit 110. The terminal processor 100 is a processor that executes programs such as a CPU or MPU, and corresponds to an example of a computer that controls the terminal device 1. The terminal control unit 10 corresponds to an example of a control unit. The terminal storage unit 110 corresponds to an example of a storage unit. The terminal processor 100 reads out a program stored in the terminal storage unit 110, and executes various processes using hardware and software.

[0026] The terminal storage unit 110 stores in a non-volatile manner the programs executed by the terminal processor 100 and the data processed by the terminal processor 100. The terminal storage unit 110 stores an operating system 111, a generation application 112, and a printer driver 113. In the following description, the operating system is abbreviated to OS. The terminal storage unit 110 has a volatile storage area and may constitute a work area for the terminal processor 100.

[0027] The terminal processor 100 functions as an OS execution unit 101, a generation application execution unit 102, a driver execution unit 103, and an information acquisition unit 104. The OS execution unit 101 executes an operating system 111. The generation application execution unit 102 executes a generation application 112. The driver execution unit 103 executes a printer driver 113. The information acquisition unit 104 executes an information acquisition module 114.

[0028] The operating system 111 is a program having basic control functions for the terminal control unit 10 . The OS execution unit 101 runs an operating system 111 to provide a communication function using the first terminal communication unit 11 and the second terminal communication unit 12, a display function using the display unit 13, and an input detection function for accepting input via the input unit 14. The OS execution unit 101 forms a platform for executing application programs.

[0029] The generation application 112 is an application program that generates document and image data. The printer driver 113 is a program that generates print commands CO to be executed by the printing device 2 and transmits the print commands CO. The printer driver 113 causes the printing device 2 to execute printing by transmitting the print commands CO. The driver execution unit 103 executes the printer driver 113 to generate print commands CO that correspond to the specifications of the printing device 2. The print commands CO include commands that can be executed by the printing device 2, and data of characters and images that the printing device 2 prints on a print medium. The print commands CO include data that specifies the number of pages, the type of drawing, print settings, etc.

[0030] When the terminal device 1 controls another printing device, another printer driver corresponding to the other printing device is installed in the terminal device 1.

[0031] The information acquisition module 114 is a program that acquires information sent by the OS execution unit 101 to the driver execution unit 103 when the terminal device 1 causes the printing device 2 to execute printing, and generates print information DA based on the information. The information acquisition unit 104 executes the information acquisition module 114 to generate the print information DA, and transmits the print information DA to the server 3.

[0032] 2 is an explanatory diagram of the functions of the terminal control unit 10. The driver execution unit 103 has a driver file 152 and a function file 153. The driver file 152 and the function file 153 are files included in a printer driver 113 provided by the vendor of the printing device 2 or the like.

[0033] A print queue 116 is formed in the storage area of ​​the terminal storage unit 110. The print queue 116 stores print jobs to be executed by the printing device 2. The print queue 116 is associated with the printing device 2 and the printer driver 113. Although one print queue 116 is shown in FIG. 2, the terminal storage unit 110 can store other print queues having different types of printing device 2, printing ports to which the printing device 2 is connected, and print settings from the print queue 116. The user selects the print queue 116 when issuing a print instruction using the generation application 112 executed by the generation application execution unit 102.

[0034] The generation application execution unit 102 runs the generation application 112 on the operating system 111 executed by the OS execution unit 101, and generates document data and image data in accordance with a user operation. The generation application execution unit 102 generates print data AP when a user instructs printing of a document or image. The print data AP corresponds to a print command. As described above, the print data AP includes information specifying the print queue 116 selected by the user.

[0035] When the generation application execution unit 102 outputs the print data AP, the OS execution unit 101 acquires the print data AP by a spooler included in the OS execution unit 101. The spooler is an API (Application Programming Interface) provided by the OS execution unit 101. Based on the print data AP, the spooler of the OS execution unit 101 outputs a print request PQ to the driver execution unit 103 associated with the print queue 116 specified by the print data AP.

[0036] The print request PQ includes a print command that instructs the printer 2 to print, data of characters and images to be printed by the printer 2, and data specifying print settings. Data specifying print settings includes data specifying the size of the print medium, data specifying the font, data specifying the print resolution, data specifying the image quality, data specifying the position and size of characters and images, data specifying the position and size of margins, etc.

[0037] The one or more driver files 152 are responsible for generating print commands CO corresponding to the printing device 2 . The driver execution unit 103 uses the driver file 152 to obtain character and image data and data specifying print settings from the print request PQ. The driver execution unit 103 executes data processing such as rendering according to the data obtained from the print request PQ using the driver file 152, and generates a print command CO that can be executed by the printing device 2. When executing the driver file 152, the driver execution unit 103 calls the function file 153 as necessary to perform data processing. The function file 153 provides a data processing function related to character data and image data. The function file 153 complements a data processing function that the driver file 152 does not have. A plurality of function files 153 can be used from one driver file 152. There is no limit to the number of function files 153 that can be called from the driver file 152. The driver execution unit 103 transmits the generated print command CO to the printing device 2. After the driver execution unit 103 transmits the print command CO to the printing device 2, the driver execution unit 103 receives a print result RS based on the print command CO from the printing device 2 as a response.

[0038] The response received by the driver execution unit 103 is sent to the OS execution unit 101. The OS execution unit 101 uses the spooler function to store the response in the print queue 116. The print request PQ corresponds to the above-mentioned print job. The spooler of the OS execution unit 101 causes the printing device 2 to execute the print jobs stored in the print queue 116 in order.

[0039] When generating a print request PQ, the OS execution unit 101 can perform processing corresponding to the types of processing that the driver execution unit 103 can execute and the types of processing that the driver execution unit 103 cannot execute.

[0040] The OS execution unit 101 transmits a request RQ requesting a DDI (Device Driver Interface) function support information IF to the driver execution unit 103. The DDI function support information IF is information indicating the types and contents of DDI drawing functions that the driver file 152 can execute. In response to the request RQ, the driver execution unit 103 transmits the DDI function support information IF to the OS execution unit 101 using the function of the driver file 152. The OS execution unit 101 identifies the processes that the driver file 152 can execute by referring to the DDI function support information IF.

[0041] The DDI function support information IF indicates whether the driver file 152 can enlarge and reduce image data in a predetermined format. If the driver file 152 cannot enlarge and reduce image data in a predetermined format, the OS execution unit 101 executes the enlargement and reduction of the image data using the functions of the OS execution unit 101.

[0042] The OS execution unit 101 holds the DDI function support information IF in association with the driver file 152. When the driver execution unit 103 has multiple driver files 152, the OS execution unit 101 holds the DDI function support information IF transmitted by each driver file 152. The OS execution unit 101 can execute processing in accordance with the function of each driver file 152.

[0043] The OS execution unit 101 can determine the presence or absence of processing that cannot be executed by the driver file 152 based on the DDI function support information IF. When outputting a print request PQ, if the processing for generating a print command CO includes processing that cannot be executed by the driver file 152, the OS execution unit 101 generates a print request PQ that has been subjected to the corresponding processing.

[0044] 2, the terminal control unit 10 has an information acquisition unit 104, which transmits and receives information between the OS execution unit 101 and the driver file 152. The information acquisition unit 104 receives a request RQ and a print request PQ output by the OS execution unit 101.

[0045] The information acquisition unit 104 outputs the request RQ output by the OS execution unit 101 to the driver execution unit 103. The driver execution unit 103 outputs DDI function support information IF to the information acquisition unit 104. When the information acquisition unit 104 outputs a print request PQ to the driver execution unit 103, the driver execution unit 103 generates a print command CO and outputs a response result to the information acquisition unit 104. The information acquisition unit 104 is treated as the sender of the request RQ and the print request PQ.

[0046] The information acquisition unit 104 outputs DDI function support information IF, which the driver execution unit 103 outputs in response to the request RQ, to the OS execution unit 101. The information acquisition unit 104 outputs the print result RS, which the driver execution unit 103 generates based on the print request PQ, to the OS execution unit 101.

[0047] For the OS execution unit 101, the information acquisition unit 104 is the destination of the request RQ and the print request PQ, and is the source of the DDI function support information IF and the print result RS. For the OS execution unit 101, the information acquisition unit 104 functions as a printer driver similar to the driver execution unit 103. The information acquisition unit 104 is a virtual printer driver, and does not have a function such as generating a print command CO, but functions as a printer driver for the OS execution unit 101.

[0048] The information acquisition unit 104 acquires a request RQ and a print request PQ from the OS execution unit 101. The print request PQ includes information for generating print information DA. The information acquisition unit 104 acquires the print request PQ without modifying the functions of the OS execution unit 101 or the driver execution unit 103, and can efficiently generate the print information DA.

[0049] FIG. 3 is a flowchart showing the procedure and operation related to the installation of the printer driver 113 and the information acquisition module 114. 3, the printer driver 113 is installed in the terminal device 1 (step ST11). When the printer driver 113 is installed, or after the printer driver 113 has been installed, a print queue 116 that specifies the printing device 2 and the printing port of the printing device 2, etc., is generated according to user settings (step ST12). The printer driver 113 is associated with the print queue 116 generated in step ST12 (step ST13).

[0050] After the printer driver 113 is installed, the information acquisition module 114 is installed in the terminal device 1 (step ST14). When installing the information acquisition module 114, an existing print queue 116 to be associated with the information acquisition module 114 is specified by a user operation or according to a previous setting. The terminal control unit 10 accepts the specification of the print queue 116 (step ST15) and associates the information acquisition module 114 with the specified print queue 116 (step ST16).

[0051] The terminal control unit 10 identifies the printer driver 113 associated with the print queue 116 specified in step ST15 (step ST17). The terminal control unit 10 generates association information 117 that reflects the association in steps ST16 and ST17, and stores it in the terminal storage unit 110 (step ST18).

[0052] The association information 117 is information that associates the information acquisition module 114 with the print queue 116 and the printer driver 113. When the print queue 116 is specified by the generation application execution unit 102 in a printing process described below, the OS execution unit 101 determines, in accordance with the association information 117, whether the print queue 116 and the information acquisition module 114 are associated with each other.

[0053] Since the information acquisition module 114 does not have a function for generating a print command CO, when the OS execution unit 101 determines that the print queue 116 is associated with the information acquisition module 114, it sends a print request PQ to the information acquisition module 114, which then sends it to the driver execution unit 103. In the driver execution unit 103, the process of generating the print command CO is executed by the printer driver 113. The printer driver 113 corresponding to the print queue 116 associated with the information acquisition module 114 by the association information 117 generates the print command CO. When the information acquisition module 114 is regarded as a virtual printer driver and print settings are made to the information acquisition module 114, the contents of the print settings must be reflected in the printer driver 113. The terminal control unit 10 enables print settings to be made to the printer driver 113 using the information acquisition module 114 by the operation shown in FIG.

[0054] FIG. 4 is a flow chart showing the operation of the terminal device 1, and shows the operation related to print settings. Print setting is started by a user's operation on the generation application execution unit 102 or the OS execution unit 101 (step ST21). The terminal control unit 10 accepts an operation to designate the print queue 116 to be set (step ST22). The print setting is performed for the print queue 116.

[0055] The terminal control section 10 calls the information acquisition module 114 associated with the print queue 116 specified in step ST22, and in response to the call, the information acquisition section 104 starts a setting operation (step ST23).

[0056] The information acquisition unit 104 requests a setting screen from the printer driver 113 executed by the driver execution unit 103 (step ST24). The setting screen is a print setting screen that displays items that can be set for the operation of the driver execution unit 103 and allows input to each item. The contents of the setting screen depend on the function of the printer driver 113. The information acquisition unit 104 requests a setting screen from the printer driver 113 corresponding to the print queue 106 associated with the information acquisition module 114 by the related information 117 in step ST24. The information acquisition unit 104 acquires the setting screen from the printer driver 113 (step ST25), and displays the acquired setting screen on the display unit 13 by the function of the operating system 111 (step ST26). The operating system 111 displays a setting screen corresponding to the printer driver 113 that generates the print command CO, and allows the user to perform settings.

[0057] The information acquiring unit 104 accepts input for the setting screen displayed in step ST26 (step ST27), and acquires and saves the setting contents (step ST28). The information acquiring unit 104 transmits the acquired setting contents to the printer driver 113 that requested the setting screen in step ST24 (step ST29). The setting contents input by the user on the setting screen are reflected in the printer driver 113 that generates the print command CO.

[0058] FIG. 5 is a flow chart showing the operation of the terminal device 1, and shows the operation related to the printing process. In accordance with a user's operation on the generation application execution unit 102, the generation application execution unit 102 generates and outputs print data AP (step ST41). The print data AP includes information specifying the print queue 116 specified by the user when instructing printing, or the print queue 116 set as the default by the OS execution unit 101.

[0059] The OS execution unit 101 detects that the generation application execution unit 102 has output the print data AP, and starts the print process (step ST42).

[0060] The OS execution unit 101 transmits a request RQ for requesting DDI function support information IF to the printer driver 113 associated with the print queue 116 (step ST43). The destination of step ST43 is the information acquisition module 114 associated with the print queue 116. The request RQ corresponds to an example of a support information request.

[0061] The information acquisition module 114 executed by the information acquisition unit 104 receives the request RQ (step ST44), transmits the request RQ to the driver file 152, and requests DDI function support information IF (step ST45). The request RQ transmitted by the information acquisition unit 104 to the driver file 152 preferably has the same format as the request RQ transmitted by the OS execution unit 101 to the information acquisition module 114. The information acquisition module 114 outputs the request RQ received from the OS execution unit 101 to the driver file 152 in the same format without conversion. The driver file 152 may operate in the same manner as when it receives the request RQ directly from the OS execution unit 101. It may operate in the same manner as when the information acquisition module 114 is not installed.

[0062] The driver file 152 receives the request RQ from the information acquisition module 114, and transmits a DDI function support information IF as a response to the request RQ (step ST46). The DDI function support information IF corresponds to an example of support information.

[0063] The information acquisition module 114 acquires and holds the DDI function support information IF transmitted by the driver file 152 (step ST47), and transmits the DDI function support information IF to the OS execution unit 101 (step ST48). The DDI function support information IF transmitted by the information acquisition module 114 to the OS execution unit 101 is preferably the same as the DDI function support information IF output by the driver file 152. The information acquisition module 114 transmits the DDI function support information IF received from the driver file 152 to the OS execution unit 101. The OS execution unit 101 may operate in the same manner as when it receives the DDI function support information IF directly from the driver file 152. It may operate in the same manner as when the information acquisition module 114 is not installed.

[0064] The OS execution unit 101 references the DDI function support information IF, and generates and outputs a print request PQ based on the print data AP (step ST49). If the information acquisition module 114 is associated with the print queue 116, the destination of the print request PQ is the information acquisition module 114. If the print queue 116 is not associated with the information acquisition module 114, the destination of the print request PQ is the printer driver 113 corresponding to the print queue 116.

[0065] The information acquisition module 114 receives the print request PQ (step ST50). The information acquisition module 114 acquires print information DA from the print request PQ (step ST51), and transmits the print information DA to the server 3 (step ST52).

[0066] In step ST51, the information acquisition module 114 may extract information from the print request PQ and use it as the print information DA. Alternatively, the information acquisition module 114 may analyze instructions and commands included in the print request PQ to obtain the number of pages, drawing type, page settings, and the like, and generate the print information DA. The information acquisition module 114 may detect a command to call a DDI drawing function from the print request PQ, and execute a process of identifying the drawing type from color information in Public Devmode, a process of calculating the number of pages from the number of times the StartPage function is called, a process of calculating the number of pages from the number of drawing commands such as TextOut, and the like.

[0067] The OS execution unit 101 or the information acquisition module 114 has in advance designation information that designates the server 3 as the destination to which the print information DA is to be transmitted in step ST52. The designation information is set when the information acquisition module 114 is installed in the terminal device 1.

[0068] After the information acquisition module 114 receives the print request PQ, the information acquisition module 114 sends the print request PQ to the driver file 152 of the printer driver 113 corresponding to the print queue 116 (step ST53). The driver file 152 generates a print command CO corresponding to the printing device 2 based on the print request PQ, and sends it to the printing device 2 (step ST54).

[0069] The OS execution unit 101 stores the print result RS in the print queue 116 (step ST55).

[0070] The print command CO stored in the print queue 116 is sent to the printer 2 (step ST56). When the printer 2 receives the print command CO and executes printing, the printer 2 sends a print result RS based on the print command CO. The driver execution unit 103 or the driver file 152 receives the print result RS.

[0071] The information acquisition module 114 transmits a print request PQ from the OS execution unit 101 to the information acquisition module 114. The information acquisition module 114 can perform the same processing as when the print request PQ is received directly from the OS execution unit 101. The driver file 152 is a data processing unit that generates a print command CO, and calls a function file 153 as necessary. The function file 153 provides the driver file 152 with a data processing function related to character data and image data.

[0072] The driver file 152 sends the print result RS as a response to the information acquisition module 114, which is the sender of the print request PQ, and the information acquisition module 114 receives the print result RS (step ST57). The print command CO corresponds to an example of a response to the print request PQ. The information acquisition module 114 sends the print result RS received from the driver file 152 to the OS execution unit 101 (step ST58).

[0073] When certain conditions are met, the terminal device 1 can omit some of the processes shown in Fig. 5. As an example, the OS execution unit 101 executes steps ST21-ST37 when executing a print process for the first time after the terminal device 1 is turned on, and executes steps ST21, ST22, and steps ST29-ST37 in the second and subsequent print processes.

[0074] As described above, the terminal device 1 is a device in which the printer driver 113 that connects to the printing device 2 and transmits a print command CO to the printing device 2 is installed. The information acquisition module 114 is a program executed by the terminal processor 100 of the terminal device 1. The information acquisition module 114 associates the information acquisition module 114 with the printer driver 113. The information acquisition module 114 causes the printer driver 113 to acquire a print request PQ and transmit the acquired print request PQ to the printer driver 113. The information acquisition module 114 causes the printer driver 113 to receive a print command CO, which is a response transmitted by the printer driver 113 based on the print request PQ, and causes the printer driver 113 to acquire print information DA based on the print request PQ.

[0075] By installing a virtual printer driver from the print request PQ, print information DA related to the printing performed by the printing device 2 can be obtained without modifying the printer driver 113. It is possible to calculate the print volume and calculate and charge the print cost for the print process performed by the printing device 2. The printer driver 113 created for the printing device 2 can be used. A function for obtaining the print information DA can be implemented by adding the information acquisition module 114 as a virtual printer driver to the terminal device 1 that uses the driver file 152 created by the vendor of the printing device 2 or the like. Functions such as calculation of the print volume can be realized for various types of printing devices 2 without being limited by the model or specifications of the printer driver 113 or the printing device 2.

[0076] The terminal device 1 is connected to the server 3. The information acquisition module 114 causes the first terminal communication unit 11 provided in the terminal device 1 to transmit the print information DA acquired based on the print request PQ to a preset server 3. The print information DA, which is useful for calculating the print volume and printing costs of the printer 2, can be collected by the server 3. Therefore, the server 3 can be used to perform billing for the use of the printer 2.

[0077] When an information acquisition module 114 receives a request for print settings, it requests a setting screen from the printer driver 113. The information acquisition module 114 acquires information related to displaying the setting screen from the printer driver 113. This allows the function of the information acquisition module 114 to cause the printer driver 113 to display the corresponding setting screen.

[0078] The information acquisition module 114 controls the display unit 13 of the terminal device 1 to display a setting screen based on the information acquired from the printer driver 113. The function of the information acquisition module 114 allows the setting screen corresponding to the printer driver 113 to be displayed.

[0079] The information acquisition module 114 receives a request for print settings when a request for display of a print setting screen is made by the generation application 112 executed by the terminal device 1. The information acquisition module 114 displays the print setting screen of the generation application 112 on the display unit 13 based on information acquired from the printer driver 113. The function of the information acquisition module 114 makes it possible to display a print setting screen corresponding to the printer driver 113 in response to the request for print settings, and to allow the printer driver 113 to perform print settings.

[0080] The information acquisition module 114 acquires setting information set on the print setting screen, and transmits the acquired setting information to the printer driver 113. This allows the print settings to be reflected in the printer driver 113 when the print settings are made using the functions of the information acquisition module 114. This allows the printer driver 113 to function according to the settings, and creates a print command CO corresponding to the print settings.

[0081] The information acquisition module 114 accepts the designation of the print queue 116 that stores the print command output by the generation application 112. The information acquisition module 114 identifies the printer driver 113 that corresponds to the designated print queue 116, and associates the print queue 116 with the identified printer driver 113. When the print queue 116 is designated and printing is requested, the information acquisition module 114 is operated to acquire print information DA.

[0082] When the OS execution unit 101 of the terminal device 1 transmits a request RQ requesting a DDI function support information IF, the information acquisition module 114 receives the request RQ and transmits the request RQ received from the OS execution unit 101 to the printer driver 113. The DDI function support information IF can be acquired by operating the printer driver 113. The printer driver 113 created by the vendor or the like of the printing device 2 can be operated in the same way as when the information acquisition module 114 does not exist, to cause the printing device 2 to execute printing.

[0083] In the above embodiment, the print control method executed by the printer driver 113 that sends print commands to the printing device 2 and the terminal device 1 in which the information acquisition module 114 is installed includes the following operations. According to the print control method, the information acquisition module 114 is associated with the printer driver 113 in advance. The information acquisition module 114 acquires a print request PQ and sends the acquired print request PQ to the printer driver 113 associated with the information acquisition module 114. The information acquisition module 114 receives a response corresponding to the print request PQ from the printer driver 113, and acquires print information DA based on the print request PQ.

[0084] In the above embodiment, the terminal device 1 includes a second terminal communication unit 12 that connects to the printing device 2, a printer driver 113, and a terminal control unit 10 that has an information acquisition module 114. The terminal device 1 includes a terminal storage unit 110 that stores association information 117 that associates the printer driver 113 with the information acquisition module 114. The terminal control unit 10 acquires a print request PQ by the information acquisition module 114, and sends the acquired print request PQ to the printer driver 113 associated with the information acquisition module 114. The terminal control unit 10 receives a response corresponding to the print request PQ from the printer driver 113, and acquires print information DA based on the print request PQ.

[0085] According to the terminal device 1 and the print control method executed by the terminal device 1, print information DA related to the printing executed by the printing device 2 can be obtained from the print request PQ. As a result, it is possible to calculate the print volume and calculate and charge the print cost for the print process executed by the printing device 2. In this configuration, a printer driver 113 created for the printing device 2 can be used. For example, by adding an information acquisition module 114 to the terminal device 1 that uses a driver file 152 created by the vendor of the printing device 2 or the like, a function for acquiring the print information DA can be implemented. Therefore, functions such as calculation of the print volume can be realized for various types of printing devices 2 without being limited by the model or specifications of the printing device 2.

[0086] The above-described embodiment shows one aspect, and any modification and application are possible. For example, in the above embodiment, one information acquisition module 114 and one printer driver 113 are installed in the terminal device 1, but the present invention is not limited to this. In a configuration in which another printer driver corresponding to a printing device other than the printing device 2 is installed in the terminal device 1, the terminal control unit 10 may have a second information acquisition module corresponding to the other printer driver. The second information acquisition module has the same function as the information acquisition module. Alternatively, the information acquisition module 114 may be configured to correspond to the printer driver 113 and the other printer driver. The information acquisition module 114 may be associated with the print queue 116 by the association information 117, and the printer driver 113 and the other printer driver may be associated with the combination of the information acquisition module 114 and the print queue 116.

[0087] The associated information 117 is information that associates the print queue 116, the information acquisition module 114, and the printer driver 113, and the form thereof is not limited. The print queue 106 designates the information acquisition module 114 as a virtual printer driver, and associates the information acquisition module with the associated printer driver 113. When a print request PQ is sent to the print queue 116, the print queue 116 sends it to the information acquisition module 114, which is the designated virtual printer driver. The information acquisition module 114 may be configured to send the print request PQ to the driver execution unit 103 that executes the printer driver 113 associated by the associated information 117, and acquire print information DA.

[0088] The printing device 2 may be a multifunction device having functions other than the printing function, such as a scanning function and a facsimile function.

[0089] The terminal control unit 10 may be configured with multiple processors, or may be configured with a chip integrated with ROM, RAM, and other peripheral circuits.

[0090] 1 and 2 are merely examples, and the specific implementation form of the terminal device 1 is not particularly limited. It is not necessary to implement hardware corresponding to each unit in FIG. 1, and some of the functions realized by software may be implemented by hardware, or some of the functions realized by hardware may be realized by software. In addition, the detailed configurations of each of the other units of the terminal device 1, the printer 2, and the server 3 may be changed as desired.

[0091] The processing units shown in Figures 3, 4, and 5 are divided according to the main processing contents in order to facilitate understanding of the operation of the terminal device 1, and are not limited by the manner in which the processing units are divided or the names thereof. The processing units may be further divided into more step units according to the processing contents. One step unit may be further divided so as to include more processing. The order of the steps may also be changed as appropriate within the scope of the spirit of the invention. [Explanation of symbols]

[0092] 1... terminal device (print control device), 2... printing device, 3... server, 10... terminal control unit (control unit), 11... first terminal communication unit (transmission device), 12... second terminal communication unit (communication unit), 13... display unit, 14... input unit, 20... printing device control unit, 21... printing device communication unit, 22... printing unit, 100... terminal processor, 101... OS execution unit, 102... generation application execution unit, 103... driver execution unit, 104... information acquisition unit, 110... terminal memory unit (memory unit), 111... operating system, 1 12...generation application, 113...printer driver, 114...information acquisition module, 116...print queue, 117...related information, 152...driver file, 153...function file, 1000...printing system, AP...print data, CO...print command, DA...print information, GN...global network, IF...DDI function support information (support information), LN...local network, PQ...print request, RQ...request (support information request), RS...print result (response).

Claims

1. A program executed by a computer of a print control device in which a printer driver that connects to a printing device and causes the printing device to execute printing is installed, It is associated with the printer driver. The computer includes: Get the print request, Sending the acquired print request to the printer driver; receiving a response based on the print request transmitted by the printer driver; acquiring print information based on the print request; receiving a support information request requesting support information for the printing device; A program that causes the support information request to be sent to the printer driver.

2. The print control device is connected to a server, The program according to claim 1 , further comprising: transmitting the print information acquired based on the print request to the server.

3. When a request for print settings is received, a setting screen is requested from the printer driver; The program according to claim 1 , further comprising acquiring the setting screen from the printer driver.

4. Acquire setting information inputted on the setting screen; The program according to claim 3 , further comprising causing the acquired setting information to be transmitted to the printer driver.

5. The print control device executes an application program that outputs the print request, 5. The program according to claim 3, wherein the request regarding the print settings is sent by the application program.

6. the print control device stores a print queue that designates the printing device; The print queue is previously associated with the printer driver; When the application program outputs the print request specifying the print queue, the print request is acquired; The program product of claim 5 , further comprising: transmitting the print request to the printer driver associated with the print queue.

7. A print control method executed by a print control device in which a printer driver that causes a printing device to execute printing runs on an operating system, comprising: An information acquisition module interposed between the operating system and the printer driver is installed in advance; the information acquisition module is associated with the printer driver in advance, The information acquisition module includes: Get the print request, Sending the acquired print request to the printer driver associated with the information acquisition module; receiving a response from the printer driver corresponding to the print request; Obtaining print information based on the print request; receiving a support information request requesting support information for the printing device; The support information request is sent to the printer driver.

8. A communication unit that connects to a printing device; an execution unit on which an operating system runs; A control unit that controls a printer driver and an information acquisition module; a storage unit that stores association information that associates the printer driver with the information acquisition module; Equipped with The control unit, by the information acquisition module, Obtaining a print request from the operating system; Sending the acquired print request to the printer driver associated with the information acquisition module; Obtaining print information based on the print request; receiving a response from the printer driver corresponding to the print request; sending the response corresponding to the print request to the operating system; receiving a support information request requesting support information for the printing device; A print control device that transmits the support information request to the printer driver.

Citation Information

Patent Citations

  • Print management system, print management method and program for print management

    JP2005182486A

  • Printer driver program and storage medium storing printer driver program

    JP2007141100A

  • Print control apparatus, control program, and recording medium

    JP2013041329A

  • Job history management system and control method of the same, and program

    JP2014033401A

  • Driver program, printing system and data processing method

    JP2016095607A