Computer program for terminal device, method for controlling terminal device, and terminal device
The computer program for a terminal device manages print log information transmission based on printer settings and user location to ensure accurate payment of printing costs, addressing inappropriate cost calculations in paused or non-executed printing scenarios.
Patent Information
- Application Number
- JP2023033982
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-19
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing systems fail to appropriately manage and pay for printing costs, particularly in scenarios where printing is paused or not executed at the user's home, leading to inappropriate cost calculations.
A computer program for a terminal device that controls the transmission of print log information to a server based on predetermined conditions related to printer settings and user location, ensuring accurate payment of printing costs by preventing log information transmission when printing is not performed.
Ensures accurate payment of printing costs by only transmitting log information when printing is executed and communication with the printer is possible, thereby preventing inappropriate cost calculations.
Smart Images

Figure 2024125866000001
Abstract
Description
[Technical field]
[0001] This specification discloses a technique related to a print management system. [Background technology]
[0002] Patent Document 1 discloses a technique for managing printing separately for personal use and printing for business use when a user uses a printing device at home. In this technique, printing costs related to printing for business use are calculated. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2022-046065 Summary of the Invention [Problem to be solved by the invention]
[0004] The present specification provides a technique that allows printing costs to be appropriately reimbursed. [Means for solving the problem]
[0005] This specification discloses a computer program for a terminal device. The computer program may cause the computer of the terminal device to function as the following units, that is, an acceptance unit that accepts a print instruction, and a log transmission unit that transmits specific print log information to a server when the print instruction is accepted and a predetermined condition related to one or more print programs installed in the terminal device is satisfied, the specific print log information is used by the server as a target for processing related to payment of printing costs, and the specific log information is not transmitted to the server when the print instruction is accepted and the predetermined condition is not satisfied.
[0006] According to the above configuration, the terminal device switches whether to send specific log information to the server depending on whether a predetermined condition related to one or more print drivers installed in the terminal device is satisfied, so that printing expenses can be appropriately paid.
[0007] A computer-readable recording medium storing the above computer program, a terminal device itself implemented by the above computer program, and a method for controlling a terminal device are also novel and useful. [Brief description of the drawings]
[0008] [Figure 1] 1 shows an overview of a print management system. [Diagram 2] The control configuration of each device is shown. [Diagram 3] 4 shows examples of each screen displayed by a document editing application. [Figure 4] 4 shows examples of each screen displayed by the OS program. [Diagram 5] 4 shows a flowchart of a process performed by a print management application and a virtual printer. [Figure 6] A sequence diagram for case A-1 is shown below. [Figure 7] The sequence diagram continues from FIG. [Figure 8] A sequence diagram for case A-2 is shown below. [Figure 9] A sequence diagram for case A-3 is shown. [Figure 10] A sequence diagram for case A-4 is shown. [Figure 11] A sequence diagram for case A-5 is shown. [Figure 12] The sequence diagram for case B is shown below. [Figure 13] 4 shows a flowchart of a process performed by a print management application and a virtual printer. [Figure 14]4 shows a flowchart of a process performed by a print management application and a virtual printer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] (First embodiment) (Outline of the configuration and processing of the print management system 2; Figure 1) 1, the print management system 2 includes a notebook PC 10, printers 100A and 100B, a mobile terminal 200, and a server 300. In this embodiment, a user belonging to a certain company uses the same notebook PC 10 whether the user is working at the user's home 4 (i.e., remote work) or working at the company's office 6 (i.e., office work).
[0010] The printer 100A is installed in a user's home 4 and an office 6. The mobile terminal 200 is a smartphone carried by the user. The notebook PC 10, the printer 100A, and the mobile terminal 200 can be connected to a Local Area Network (LAN) in the user's home 4, and can communicate with each other via the LAN. The server 300 is installed on the Internet. The notebook PC 10 and the mobile terminal 200 can communicate with the server 300.
[0011] The printer 100B is installed in the company's office 6. The notebook PC 10, the printer 100B, and the mobile terminal 200 can be connected to a LAN in the office 6, and can communicate with each other via the LAN.
[0012] The user uses the notebook PC 10 to perform work, and causes the printers 100A and 100B to print document images representing document data generated by the work. When the user performs remote work at the user's home 4, consumables (e.g., color materials, paper) owned by the user are consumed by the printer 100A, and the company must pay the user for printing costs. To realize such a mechanism, the print management system 2 of this embodiment is used.
[0013] An outline of the operation of the print management system 2 will be described. The notebook PC 10 accepts a print execution operation from a user at the user's home 4. At this time, the notebook PC 10 generates a print ID for identifying print data, and generates a QR code by encoding a URL including the print ID. QR code is a registered trademark of DENSO WAVE INCORPORATED. The URL includes location information of the server 300. The notebook PC 10 then generates print data representing a print image including the QR code, and transmits the print data to the printer 100A in S310. In this case, the printer 100A prints the print image represented by the print data on paper in S312. The notebook PC 10 further transmits the print ID and print log information to the server 300 in S314. The print log information includes the number of prints, which is the number of sheets of paper used for printing, the paper size, which is the size of the paper, and color information indicating color printing or monochrome printing.
[0014] The printed paper includes the above-mentioned QR code. In S330, the mobile terminal 200 photographs and decodes the QR code to obtain a URL including the print ID. In this case, in S332, the mobile terminal 200 accesses the URL and transmits the print ID to the server 300. The mobile terminal 200 further displays an input screen for inputting a management method for the printed paper, and in S332 transmits method information indicating the input management method to the server 300.
[0015] In S314, the server 300 receives the print ID and the print log information from the notebook PC 10, and in S332 receives the print ID and the method information from the mobile terminal 200. In this case, the server 300 stores the print log information and the method information in association with the print ID.
[0016] Furthermore, when the notebook PC 10 receives a print execution operation from a user in the office 6, it generates print data representing a print image that does not include a QR code, and transmits the print data to the printer 100B in S410. In this case, the printer 100B prints the print image represented by the print data on paper in S412. In this case, the print log information is not transmitted to the server 300.
[0017] Thereafter, in S450, the server 300 executes payment-related processing related to paying the printing fee to the user based on the printing log information. The payment-related processing includes calculating the total amount of the printing fee to be paid to the user and outputting the calculated total amount.
[0018] (Configuration of each device 10, 100, 200, 300: Figure 2) The control configuration of each of the devices 10, 100A, 100B, 200, and 300 that constitute the print management system 2 will be described with reference to FIG.
[0019] (Notebook PC 10 configuration) The notebook PC 10 includes an operation unit 12, a display unit 14, a LAN interface 20, and a control unit 30. Each of the units 12 to 30 is connected to a bus line.
[0020] The operation unit 12 is an interface for inputting various information to the notebook PC 10, and includes, for example, a mouse and a keyboard. The display unit 14 is a display for displaying various information. The LAN interface 20 can be connected to a LAN in the user's home 4 or office 6. The LAN may be a wired LAN or a wireless LAN.
[0021] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to a program 40 stored in the memory 34. The memory 34 is composed of a ROM, a RAM, a HDD, and the like. An SSD may be used instead of the HDD. The memory 34 stores an OS program 40 and a plurality of applications 52 and the like. Hereinafter, the OS program will be referred to as "OS" and the application will be referred to as "app."
[0022] The OS 40 is a program for controlling the basic operations of the notebook PC 10. The document editing application 52 is a program for editing and creating documents, such as Microsoft Word or Excel. Microsoft is a registered trademark of Microsoft Corporation. These programs 40 and 52 are usually installed in the notebook PC 10 before the notebook PC 10 is shipped.
[0023] The print management application 60 is a program for transmitting a print ID and print log information to the server 300. The virtual printer 70 is a program for generating a QR code and adding the QR code to an image. These programs 60, 70 are downloaded and installed in the notebook PC 10 after the notebook PC 10 is shipped. Each of the programs 60, 70 is provided, for example, by a service provider that owns the server 300. Hereinafter, the print management application 60 and the virtual printer 70 may be collectively referred to as a "print application."
[0024] The printer driver 80A is a program for generating print data having a data format that can be interpreted by the printer 100A and transmitting the print data to the printer 100A. The printer driver 80B is a program for generating print data having a data format that can be interpreted by the printer 100B and transmitting the print data to the printer 100B. The printer drivers 80A and 80B are downloaded and installed in the notebook PC 10 after the notebook PC 10 is shipped. The printer driver 80A may be downloaded to the notebook PC 10 from a medium shipped together with the printer 100A, or may be downloaded to the notebook PC 10 from a server (not shown) installed by the vendor of the printer 100A. The same is true for the printer driver 80B. In a modified example, instead of the printer driver, a printer application for generating print data may be used.
[0025] The memory 34 includes a plurality of printer queues 72, 82A, and 82B. Each of the printer queues 72, 82A, and 82B is generated in the memory 34 by the OS 40. The virtual printer queue 72 is a storage area allocated to the virtual printer 70. The virtual printer queue 72 temporarily stores data before it is supplied from another application to the virtual printer 70, and data generated by the virtual printer 70 (i.e., data supplied from the virtual printer 70 to another application). The printer queue 82A is a storage area allocated to the printer driver 80A. The printer queue 82A temporarily stores data before it is supplied from another application to the printer driver 80A, and print data generated by the printer driver 80A. The same is true for the printer queue 82B.
[0026] As will be described in detail later, the setting value of the printer queue may be specified as "pause", "use offline", etc. Also, the setting value of the output destination port of the printer queue may be specified as "file output". "Pause" means that the printer driver corresponding to the printer queue does not generate print data according to a processing request from another application. In this case, the printer driver stores the processing request, and generates print data according to the processing request when "pause" is released. "Use offline" means that the printer driver corresponding to the printer queue generates print data according to a processing request from another application, but does not send the print data to the printer. In this case, the printer driver sends the print data to the printer when "use offline" is released. Also, when the setting value of the output destination port is "file output", the printer driver corresponding to the printer queue generates print data according to a processing request from another application, and outputs the print data as a file having a format specified by the user. The file is stored in a specific area of the memory 34, for example. That is, when any of "pause", "use offline", and "file output" is specified in the printer queue, printing is not performed by the printer corresponding to the printer queue.
[0027] (Configuration of Printers 100A and 100B) Since the printer 100A and the printer 100B have the same configuration, the configuration of the printer 100A will be described below. The printer 100A is a peripheral device (for example, a peripheral device of the notebook PC 10) capable of executing a printing function. The printer 100A includes an operation unit 112, a display unit 114, a print execution unit 116, a LAN interface 120, and a control unit 130. Each unit 112 to 130 is connected to a bus line.
[0028] The operation unit 112 is an interface for inputting various information to the printer 100A, and includes, for example, buttons and a touch screen. The display unit 114 is a display for displaying various information. The print execution unit 116 includes a printing mechanism such as an inkjet type, a laser type, or a thermal type. The LAN interface 120 can be connected to a LAN.
[0029] The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with a program 140 stored in the memory 134. The memory 134 is composed of a ROM, a RAM, and the like.
[0030] (Configuration of mobile terminal 200) The mobile terminal 200 includes an operation unit 212, a display unit 214, a camera 216, a LAN interface 220, and a control unit 230. Each of the units 212 to 230 is connected to a bus line.
[0031] The operation unit 212 is an interface for inputting various information to the mobile terminal 200, and includes, for example, buttons and a touch screen. The display unit 214 is a display for displaying various information. The display unit 214 functions as a touch screen (i.e., it also functions as the operation unit 212). The camera 216 is a device for capturing images. In this embodiment, the camera 216 is used to capture an image of a QR code included on a printed sheet of paper. The LAN interface 220 is connectable to a LAN.
[0032] The control unit 230 includes a CPU 232 and a memory 234. The CPU 232 executes various processes in accordance with a program 240 stored in the memory 234. The memory 234 is composed of a ROM, a RAM, other storage, and the like. The OS 240 is a program for controlling basic operations of the mobile terminal 200. The browser application 250 is a program for accessing a web server and displaying a web page.
[0033] (Configuration of Server 300) The server 300 is installed on the Internet by a service provider that provides a service for realizing the print management system 2. The service provider may be the same as or different from the vendor of the printers 100A and 100B. The server 300 may be a physical server installed on the Internet, or a virtual server or virtual machine on the cloud. In a modified example, the server 300 may be, for example, a management PC installed on the above-mentioned company's network. In another modified example, the server 300 may be composed of a plurality of devices that are configured separately. For example, the server 300 may be composed of a server for performing communication with the notebook PC 10 and the mobile terminal 200, and a database that is configured separately from the server.
[0034] The server 300 includes a communication interface 320 and a control unit 330. The communication interface 320 is connected to the Internet. The control unit 330 includes a CPU 332 and a memory 334. The CPU 332 executes various processes in accordance with a program 340 stored in the memory 334. The memory 334 is composed of a ROM, a RAM, etc.
[0035] The memory 334 further stores a management table 350. The management table 350 is a table for storing information received from the notebook PC 10 and the mobile terminal 200. In the management table 350, a user ID, a print ID, the number of printed sheets, a paper size, a color, and a management method are stored in association with each other. The user ID is an ID assigned to an individual user belonging to a company. The print ID is an ID for identifying print data. The number of printed sheets is the number of sheets of paper used for printing. The paper size is the size of the paper used for printing. The color is information indicating monochrome printing or color printing. The management method is a management method for printed paper. In this embodiment, each piece of information stored in the management table 350 is used to calculate the printing fee to be paid to the user.
[0036] (Screenshots for printing: Figure 3) The contents of each screen displayed on the notebook PC 10 will be described with reference to Fig. 3. As shown in screen SC100, the user uses the document editing application 52 to generate document data representing a document image including a character string "AAAAA" and the like. When the user wishes to print the document image, the user selects the file button B1 in screen SC100. In this case, the document editing application 52 displays screen SC102.
[0037] The user selects the print button B2 in screen SC102. In this case, the document editing application 52 displays screen SC104. Screen SC104 includes a selection field SA1 for selecting a printer queue. In the initial state, selection field SA1 shows the name "pr_AAA" of the printer queue 82A (i.e., the printer queue 82A corresponding to the printer driver 80A) corresponding to the printer 100A, which is the current default printer. As shown in screen SC106, the user selects button B4 in selection field SA1 to specify the name "virtual" of the virtual printer queue 72 corresponding to the virtual printer 70, instead of the name "pr_AAA" of the printer queue 82A.
[0038] After that, the user selects the properties button B5 in the screen SC106. In this case, the document editing application 52 displays the screen SC108. The screen SC108 is a screen for selecting a printer queue of a default printer driver to which a processing request is supplied from the virtual printer 70. The screen SC108 includes a selection field SA2 for the default printer queue. The user selects the button B6 in the selection field SA2 on the screen SC108 to specify the printer queue 82A. As a result, the user specifies the printer driver 80A, in other words, the printer 100A, as the default printer. In this case, the screen SC110 is displayed in which the name "pr_AAA" of the specified printer queue 82A is written in the selection field SA2.
[0039] Thereafter, the user selects the OK button B7 in screen SC110 to display screen SC106 again.Then, the user selects the Print button B3 in screen SC106.As a result, the various processes in and after FIG. 5 are executed.
[0040] (Screen for changing printer queue settings; Fig. 4) Next, changing the setting value of the printer queue will be described with reference to Fig. 4. In this embodiment, changing to "pause", "use offline", and "file output" will be described.
[0041] When the OS40 of the notebook PC 10 receives an operation for changing a setting value related to the notebook PC 10, it displays a setting home screen SC200. The setting home screen SC200 includes buttons (e.g., system, device, network, etc.) indicating each item for which a setting value is to be changed.
[0042] When the OS 40 accepts the selection of the "Device" button included in the setting home screen SC200, it displays a device setting screen SC202. The device setting screen SC202 includes buttons indicating devices (for example, a printer, a mouse, etc.) for which setting values are to be changed.
[0043] When OS 40 accepts the selection of the "Printer" button included in device setting screen SC202, it displays printer setting screen SC204. Printer setting screen SC204 includes each queue information indicating each of the stored printer queues 72, 82A, 82B. Here, a case will be described in which the selection of printer queue 82A is accepted on printer setting screen SC204. In this case, OS 40 displays printer queue screen SC206. Printer queue screen SC206 includes a printer setting button for changing the setting value of printer queue 82A, and a list of each job stored in printer queue 82A.
[0044] When OS40 accepts the selection of a printer setting button included in the printer queue screen SC206, it displays a dialog screen SC208 over the printer queue screen SC206. The dialog screen SC208 includes a check box for specifying "pause", a check box for specifying "use offline", and a property button. When the user checks the check box corresponding to "pause" in the dialog screen SC208, the user can change the setting value of the printer queue to "pause". Similarly, when the user checks the check box corresponding to "use offline" in the dialog screen SC208, the user can change the setting value of the printer queue to "use offline".
[0045] When the OS 40 accepts the selection of a property button included in the dialog screen SC208, it displays a property screen SC210. The property screen SC210 includes a device information button for checking information on the printer corresponding to the printer queue 82A (i.e., the printer 100A), a port button for specifying the output destination port, and the like.
[0046] When the OS 40 accepts the selection of a port button on the property screen SC210, it displays a dialog screen SC212 superimposed on the property screen SC210. The dialog screen SC212 includes a list of each output destination port and each check box corresponding to each output destination port. In the initial state, the port "TCP / IP port IP1" for transmitting print data to the printer 100A corresponding to the printer queue 82A is specified. Note that in a modified example, a Web Services on Devices (WSD) port may be specified as the port for transmitting print data to the printer 100A instead of the TCP / IP port.
[0047] The OS 40 accepts the selection of a check box corresponding to "File output FILE:" included in the dialogue screen SC212 (see the dialogue screen SC212 in the lower right of FIG. 4). This allows the user to change the setting value of the output destination port of the printer queue to "File output."
[0048] As described above, when any of "pause," "offline use," and "file output" is specified in a printer queue, printing is not performed by the printer corresponding to the printer queue. In such a situation, if the configuration of the comparative example in which the notebook PC 10 sends print log information to the server 300 is adopted, printing fees may be inappropriately paid even though printing is not actually performed.
[0049] In the configuration of the comparative example, for example, when the print button B3 on the screen SC106 of FIG. 3 is selected at the user's home 4 in a situation where "pause" is specified in the printer queue 82A, the following process is executed. First, the virtual printer 70 adds a QR code to the image data. Next, when a processing request is supplied from the print management application 60 to the printer driver 80A, the printer driver 80A stores the processing request without generating print data according to the processing request. Then, the print management application 60 transmits print log information to the server 300. After that, the user releases the "pause" of the printer queue 82A in the office 6. In this case, the printer driver 80A generates print data according to the stored processing request, and can cause the printer 100A in the office 6 to execute printing. Thus, in the configuration of the comparative example, even though printing is not executed at the user's home 4, the print log information is transmitted to the server 300, and the printing fee is calculated. As a result, the printing fee may be inappropriately paid. Similarly, in a situation where the setting value "use offline" is specified in the printer queue 82A, the printing fee may be inappropriately paid.
[0050] In addition, in the configuration of the comparative example, when the print button B3 on the screen SC106 of FIG. 3 is selected at the user's home 4 in a situation where "file output" is specified as the setting value of the output destination port of the printer queue 82A, the following process is executed. First, the virtual printer 70 adds a QR code to the image data. Next, when a processing request is supplied from the print management application 60 to the printer driver 80A, the printer driver 80A generates print data according to the processing request and outputs the print data as a file having a format specified by the user. Then, the print management application 60 transmits print log information to the server 300. After that, the user stores the above file in, for example, a USB memory and mounts the USB memory in the printer 100A installed in the office 6. The printer 100A in the office 6 can execute printing using the above file in the USB memory. Thus, in the configuration of the comparative example, even though printing is not executed at the user's home 4, the print log information is transmitted to the server 300, and the printing fee is calculated. This may result in the printing fee being inappropriately paid.
[0051] The print application (that is, the print management application 60 and the virtual printer 70) of this embodiment executes the following process of FIG. 5 in order to prevent the inappropriate payment of printing fees as described above.
[0052] (Print application processing; Figure 5) Next, a process realized by the CPU 32 of the notebook PC 10 executing the print application will be described with reference to Fig. 5. The process of Fig. 5 is started when the print button B3 is selected with "virtual" indicating the virtual printer 70 specified in the selection field SA1, as shown in SC106 of Fig. 3. In particular, in the initial state of Fig. 5, a default printer queue has already been specified (see screen SC110 of Fig. 3).
[0053] In S10, the CPU 32 judges whether the notebook PC 10 is used in the user's home 4. Specifically, the CPU 32 acquires a global IP address of the network to which the notebook PC 10 belongs via the OS 40. Then, the CPU 32 transmits a signal including the user ID and the global IP address to the server 300. The server 300 stores the user ID and the global IP address of the network used in the home environment by the user identified by the user ID in association with each other. The server 300 judges whether the stored global IP address matches the global IP address received from the notebook PC 10. If the former and the latter match, the server 300 transmits a response to the notebook PC 10 including information indicating that the environment is a home environment. On the other hand, if the former and the latter do not match, the server 300 transmits a response to the notebook PC 10 including information indicating that the environment is not a home environment. If the CPU 32 receives a response including information indicating that the environment is a home environment from the server 300, the CPU 32 judges YES in S10 and proceeds to S14. On the other hand, when the CPU 32 receives from the server 300 a response including information indicating that the environment is not at home, the CPU 32 determines NO in S10 and proceeds to S12.
[0054] In S12, the CPU 32 displays a notification screen SC1 on the display unit. The notification screen SC1 includes a message indicating that the printing fee will not be reimbursed because the printing environment is not a home environment.
[0055] In S14, the CPU 32 acquires the setting value of the default printer queue. Specifically, the CPU 32 supplies the OS 40 with a setting value request including information for identifying the default printer queue. The OS 40 uses the information included in the setting value request to identify a default printer queue from one or more printer queues stored in the memory 34, and identifies the setting value of the identified default printer queue. The OS 40 then supplies the identified setting value to the CPU 32. The OS 40 stores communication information indicating whether or not the default printer driver corresponding to the default printer queue can transmit print data to the printer corresponding to the default printer driver, i.e., whether or not the notebook PC 10 and the default printer can communicate with each other. In S14, the CPU 32 also acquires the communication information from the OS 40.
[0056] In S20, the CPU 32 checks whether the setting value acquired in S14 includes "pause". If the setting value includes "pause" (YES in S20), the CPU 32 proceeds to S22, and if the setting value does not include "pause" (NO in S20), the CPU 32 proceeds to S30.
[0057] In S22, the CPU 32 displays a notification screen SC2 on the display unit. The notification screen SC2 includes a message indicating that printing costs will not be reimbursed because the default printer queue setting is "paused."
[0058] In S30, the CPU 32 determines whether the setting value acquired in S14 includes "file output." If the setting value includes "file output" (YES in S30), the CPU 32 proceeds to S32, and if the setting value does not include "file output" (NO in S30), the CPU 32 proceeds to S40.
[0059] In S32, the CPU 32 displays a notification screen SC3 on the display unit. The notification screen SC3 includes a message indicating that printing costs will not be reimbursed because the setting value of the output destination port of the default printer queue is "file output."
[0060] In S40, the CPU 32 determines whether the setting value acquired in S14 includes "offline use". If the setting value includes "offline use" (YES in S40), the CPU 32 proceeds to S42, and if the setting value does not include "offline use" (NO in S40), the CPU 32 proceeds to S50.
[0061] In S42, the CPU 32 displays a notification screen SC3 on the display unit. The notification screen SC3 includes a message indicating that printing costs will not be reimbursed because the default printer queue setting is "offline use."
[0062] In S50, the CPU 32 uses the communication information acquired in S14 to determine whether or not communication with the default printer is executable. If the CPU 32 determines that communication with the default printer is executable (YES in S50), the process proceeds to S70, and if the CPU 32 determines that communication with the default printer is not executable (NO in S50), the process proceeds to S52.
[0063] In S52, the CPU 32 displays a notification screen SC5 on the display unit. The notification screen SC5 includes a message indicating that printing costs will not be reimbursed because communication with the default printer is not possible.
[0064] In S60, CPU 32 supplies a processing request to the default printer driver. The processing request is a command requesting the printer driver to generate print data, and includes image data representing the image to be printed. As a result, the default printer driver executes processing according to the settings of the default printer queue. When the processing of S60 ends, the processing of FIG. 5 ends.
[0065] In S70, the CPU 32 adds a QR code to the image to be printed. Specifically, the CPU 32 first generates a print ID, which is a unique character string. Next, the CPU 32 generates a URL including the generated print ID and location information of the server 300. The CPU 32 then generates a QR code by encoding the URL. The CPU 32 then adds data representing the generated QR code to the image data, thereby adding the QR code to the image to be printed.
[0066] The process of S72 is similar to the process of S60, except that image data representing the image to be printed to which a QR code has been added is used.
[0067] In S74, the CPU 32 transmits the print log information to the server 300. Specifically, the CPU 32 identifies the number of prints, the paper size, and the color information. Then, the CPU 32 transmits the user ID, the generated print ID, and the print log information including these pieces of information to the server 300. When the process of S74 ends, the process of FIG. 5 ends.
[0068] (Case A-1: Figure 6) Next, specific cases realized by the process of FIG. 5 will be described. First, case A-1 will be described with reference to FIG. 6. Case A-1 is a case where a user performs remote work at the user's home 4. In the following, the contents of the process will be described mainly with respect to each device itself or an app, rather than mainly with respect to the CPU of each device. In the notebook PC 10, the app controls hardware such as the CPU and drivers via the OS 40. In the mobile terminal 200, the app controls hardware via the OS 240. In the server 300, the program 340 controls hardware via the OS. In this specification, the fact that the hardware, drivers, etc. are controlled by the app via the OS will be omitted as appropriate.
[0069] At T10, the document editing application 52 accepts the selection of the print button B3 in the screen SC106 of Fig. 3 (trigger in Fig. 5). In this case, the document editing application 52 instructs the virtual printer 70 corresponding to the virtual printer queue 72 already specified in the selection field SA1 to perform processing. Note that in the virtual printer 70, the printer queue 82A is specified as the default printer queue (see screen SC110 in Fig. 3).
[0070] At T12, the virtual printer 70 transmits the user ID "U1" and the global IP address of the network to which the notebook PC 10 belongs (that is, the LAN of the user's home 4) to the server 300 (S10).
[0071] When the server 300 receives the user ID "U1" and the global IP address from the notebook PC 10 at T12, it judges whether the notebook PC 10 is being used in a home environment. In this case, the server 300 has already stored the global IP address in association with the user ID "U1", and therefore judges that the notebook PC 10 is being used in a home environment. In this case, the server 300 transmits home environment information to the notebook PC 10 at T14, which indicates that the notebook PC 10 is being used in a home environment.
[0072] When the virtual printer 70 receives the home environment information from the server 300 in T14 (YES in S10 of FIG. 5), the virtual printer 70 acquires the setting value of the printer queue 82A from the memory 34 in T20 (S14). In case A-1, the setting value of the printer queue 82A does not indicate any of "pause", "use offline", and "file output" (NO in S20, NO in S30, NO in S40). Also, in this case, the notebook PC 10 can communicate with the printer 100A (YES in S50). Therefore, the virtual printer 70 executes the following process. First, the virtual printer 70 generates a print ID "P1" which is a unique character string, and then generates a URL including the print ID "P1" and the location information of the server 300. The virtual printer 70 generates a QR code 410 by encoding the URL. The virtual printer 70 adds the QR code 410 to the document image in T30 to generate the added image 400 (S70). Then, the virtual printer 70 instructs the print management application 60 to perform processing.
[0073] The print management application 60 identifies the print ID "P1", the number of copies, the paper size, and the color information. Then, in T32, the print management application 60 instructs the printer driver 80A corresponding to the printer queue 82A to perform processing by supplying a processing request to the printer driver 80A (S72).
[0074] When the printer driver 80A receives a processing request from the print management application 60, it converts the added image 400 to generate a print image having a data format that can be interpreted by the printer 100A. Then, in T40, the printer driver 80A transmits print data representing the print image to the printer 100A.
[0075] When printer 100A receives print data from notebook PC 10 at T40, printer 100A prints the print image represented by the print data onto paper at T42, thereby providing the printed paper to the user.
[0076] The print management application 60 further transmits the user ID "U1", the print ID "P1", and the print log information to the server 300 at T50. The print log information includes the number of prints, the paper size, and the color information (in this case, "3", "A4", and "color").
[0077] When the server 300 receives the user ID "U1" etc. from the notebook PC 10 in T50, it stores this information in the management table 350 in T52. That is, the server 300 stores the user ID "U1", the print ID "P1", the number of copies "3", the paper size "A4", and the color information "color" in association with each other. At this point, the management method is not stored in association with this information.
[0078] (Continuation of Figure 6; Figure 7) When the user acquires the printed paper in T42 of Fig. 5, the user applies for a management method using mobile terminal 200. In T60 of Fig. 7, camera 216 of mobile terminal 200 acquires a URL by photographing and decoding the QR code included in the printed paper. Camera 216 then instructs browser application 250 to perform processing by supplying a start-up instruction including the URL to browser application 250.
[0079] In T62, the browser application 250 transmits an application screen data request including a URL to the server 300, and receives the application screen data from the server 300 in T64. In T66, the browser application 250 displays the application screen SC32 represented by the application screen data on the display unit 214. The application screen SC32 includes a plurality of buttons for selecting a management method. "Home destruction" and "Home storage" mean that the printed paper is destroyed and stored at the user's home 4, respectively. "Company destruction" and "Company storage" mean that the printed paper is destroyed and stored at the office 6, respectively. "Distribution" means that the printed paper is distributed, for example, to a business partner. When the browser application 250 accepts the selection of one button in the application screen SC32 in T78, in T80, the browser application 250 transmits method information indicating the selected management method (for example, "Company storage") to the server 300.
[0080] When the server 300 receives the method information from the mobile terminal 200 in T80, the server 300 stores the method information in the management table 350 in T82 in association with the print ID "P1" already received in T62. Since the method information is stored in the management table 350, the administrator can manage the usage status of the printed paper. As will be described in detail later, the server 300 executes a payment-related process including calculating the printing cost based on the printing log information associated with the method information, on the condition that the method information is stored in the management table 350. In other words, if the method information is not stored, the server 300 does not execute a payment-related process based on the printing log information associated with the method information.
[0081] Thereafter, when a predetermined timing (e.g., the end of the month) arrives, the server 300 executes payment-related processing in T90. The server 300 first identifies one user ID (e.g., "U1") from among the multiple user IDs stored in the management table 350. The server 300 then identifies one print ID (e.g., "P1") associated with the identified user ID. The server 300 calculates printing costs based on print log information (i.e., number of prints, paper size, and color information) associated with the identified print ID, on the condition that method information indicating a management method associated with the identified print ID is stored.
[0082] Specifically, in the case of monochrome printing, server 300 calculates the printing cost as an amount obtained by multiplying the number of prints by a unit price of 10 yen, regardless of the paper size. For example, if the number of prints "3", the paper size "A4", and the color information "monochrome" are stored, server 300 calculates the printing cost as 30 yen (3 sheets x 10 yen). In addition, in the case of color printing, server 300 calculates the printing cost as an amount obtained by multiplying the number of prints by a unit price of 50 yen, regardless of the paper size. In a modified example, the unit price may be changed depending on the paper size.
[0083] If the method information is not stored in association with the specified print ID, the server 300 does not calculate the printing cost based on the print log information associated with the specified print ID. In this way, if the management method is not input to the mobile terminal 200, the printing cost is not paid to the user, so that the user can be prompted to input the management method.
[0084] The server 300 calculates the printing cost for all printing IDs associated with the identified user ID as described above. The server 300 then calculates the total amount of all printing costs associated with the identified user ID, associates the identified user ID with the calculated total amount, and stores it in a specified table. The server 300 then calculates the total amount for each of the other user IDs, associates the user ID with the total amount, and stores it in the specified table.
[0085] Server 300 further uses the above-mentioned predetermined table to execute a process for each of a plurality of users to include the printing cost in the user's salary, and further executes a process for transferring the salary including the printing cost to the user's salary receiving account, thereby paying the printing cost to each user.
[0086] As described above, the server 300 executes the following: (A) determining whether method information is stored in association with the print ID (i.e., determining whether the print corresponding to the print ID is subject to payment of the print fee); (B) calculating the print fee based on the print log information; (C) calculating the total print fee of the user for a predetermined period; (D) including the total print fee in the user's salary; and (E) transferring the total print fee to the user's account. In a modified example, the server 300 may not execute all of (A) to (E), and may execute only a part of the processes (A) to (E). For example, the server 300 may execute only (A) to (C) to generate the above-mentioned predetermined table, and transmit the above-mentioned predetermined table to the administrator terminal. In this case, the administrator can execute (D) and (E). Generally speaking, the server 300 may execute all of the processes (A) to (E), or may execute only one or more processes that are a part of (A) to (E). More generally, the payment-related process may include only (A), only (B), only (C), only (D), or only (E), or it may include two or more of (A) through (E), or it may include all of (A) through (E).
[0087] (Case A-2; Figure 8) Next, case A-2 will be described with reference to Fig. 8. Case A-2 is a case where "pause" is specified as the setting value of the printer queue 82A. The processes of T110 to T114 are the same as the processes of T10 to T14 in Fig. 6.
[0088] At T120, the virtual printer 70 acquires the setting value of the printer queue 82A from the memory 34 (S14 in FIG. 5). The setting value acquired here indicates "pause" (YES in S20). In this case, the virtual printer 70 displays a notification screen SC2 at T130 (S22). The notification screen SC2 includes a message indicating that the printing fee will not be paid because the setting value of the printer queue 82A is "pause". This allows the user to know that the setting value of the printer queue 82A is "pause" and that the printing fee will not be paid due to this. The virtual printer 70 then instructs the printing management application 60 to perform processing.
[0089] The print management application 60 identifies the print ID "P1", the number of copies, the paper size, and the color information. Then, in T132, the print management application 60 instructs the printer driver 80A to perform processing by supplying a processing request to the printer driver 80A corresponding to the printer queue 82A (S60).
[0090] When the printer driver 80A obtains a processing request from the print management application 60, the printer driver 80A stores the processing request without generating print data because the setting value is set to "pause." In this case, the print log information is not sent to the server 300. If the print log information is not sent to the server 300, the printing fee is not paid. This prevents the printing fee from being paid inappropriately.
[0091] (Case A-3; Figure 9) Next, case A-3 will be described with reference to Fig. 9. Case A-3 is a case where "file output" is specified as the setting value of the output destination port of the printer queue 82A. The processes of T210 to T214 are the same as the processes of T10 to T14 in Fig. 6.
[0092] In T220, the virtual printer 70 acquires the setting value of the printer queue 82A from the memory 34 (S14 in FIG. 5). The setting value acquired here indicates "file output" (NO in S20, YES in S30). In this case, the virtual printer 70 displays a notification screen SC3 in T230 (S32). The notification screen SC3 includes a message indicating that the printing fee will not be paid because the setting value of the output destination port of the printer queue 82A is "file output". This allows the user to know that the setting value of the output destination port of the printer queue 82A is "file output" and that the printing fee will not be paid due to this. Then, the virtual printer 70 instructs the printing management application 60 to perform processing.
[0093] The print management application 60 identifies the print ID "P1", the number of copies, the paper size, and the color information. Then, in T232, the print management application 60 instructs the printer driver 80A to perform processing by supplying a processing request to the printer driver 80A corresponding to the printer queue 82A (S60).
[0094] When the printer driver 80A acquires a processing request from the print management application 60, in T240, it converts the image to be printed and generates print data having a data format that can be interpreted by the printer 100A. Then, since the printer driver 80A has "file output" stored as a setting value, it does not transmit the generated print data to the printer 100A, but outputs it as a file having a predetermined file format (for example, Print Job Language (PJL) format) in T242. The output here means, for example, saving the file in a predetermined folder in the memory 34. In this case, the print log information is not transmitted to the server 300. This prevents the printing fee from being inappropriately paid.
[0095] (Case A-4; Figure 10) Next, case A-4 will be described with reference to Fig. 10. Case A-4 is a case where "use offline" is specified as the setting value of the printer queue 82A. The processes of T310 to T314 are the same as the processes of T10 to T14 in Fig. 6.
[0096] In T320, the virtual printer 70 acquires the setting value of the printer queue 82A from the memory 34 (S14 in FIG. 5). The setting value acquired here indicates "offline use" (NO in S20, NO in S30, YES in S40). In this case, the virtual printer 70 displays a notification screen SC4 in T130 (S42). The notification screen SC4 includes a message indicating that printing costs will not be paid because the setting value of the printer queue 82A is "offline use". This allows the user to know that the setting value of the printer queue 82A is "offline use" and that printing costs will not be paid due to this. Then, the virtual printer 70 instructs the print management application 60 to perform processing.
[0097] The print management application 60 identifies the print ID "P1", the number of copies, the paper size, and the color information. Then, in T332, the print management application 60 instructs the printer driver 80A to perform processing by supplying a processing request to the printer driver 80A corresponding to the printer queue 82A (S60).
[0098] When the printer driver 80A acquires a processing request from the print management application 60, in T340, it converts the image to be printed and generates print data having a data format that can be interpreted by the printer 100A. Since the setting value indicates "offline use", the printer driver 80A does not transmit the generated print data to the printer 100A. In this case, the print log information is not transmitted to the server 300. Therefore, inappropriate payment of printing fees is suppressed.
[0099] (Case A-5; Figure 11) Next, case A-5 will be described with reference to Fig. 11. Case A-5 is a case in which the notebook PC 10 cannot communicate with the printer 100A because the printer 100A is powered off. The processes from T410 to T414 are the same as the processes from T10 to T14 in Fig. 6.
[0100] In T420, the virtual printer 70 acquires the setting value of the printer queue 82A from the memory 34 (S14 in FIG. 5). The setting value acquired here does not indicate any of "pause", "offline use", and "file output" (NO in S20, NO in S30, NO in S40). In addition, the virtual printer 70 determines in T422 that communication with the printer 100A is not possible (NO in S50). In this case, the virtual printer 70 displays a notification screen SC5 in T430 (S52). The notification screen SC5 includes a message indicating that the printing fee will not be paid because communication with the printer 100A is not possible. This allows the user to know that communication with the printer 100A is not possible and that the printing fee will not be paid due to this. Then, the virtual printer 70 instructs the printing management application 60 to perform processing.
[0101] The print management application 60 identifies the print ID "P1", the number of copies, the paper size, and the color information. Then, in T432, the print management application 60 instructs the printer driver 80A to perform processing by supplying a processing request to the printer driver 80A corresponding to the printer queue 82A (S60).
[0102] When the printer driver 80A receives a processing request from the print management application 60, in T440, it converts the image to be printed and generates print data having a data format that can be interpreted by the printer 100A. Then, in T442, the printer driver 80A attempts to send the print data to the printer 100A. However, in this case, the notebook PC 10 cannot communicate with the printer 100A, so the print data is not sent to the printer 100A. In this case, the print log information is not sent to the server 300. Therefore, inappropriate payment of printing fees is suppressed.
[0103] (Case B; Figure 12) Next, case B will be described with reference to Fig. 12. Case B is a case in which a user performs office work in office 6. In virtual printer 70, printer queue 82B is specified as the default printer queue. The process of T510 is similar to the process of T10 in Fig. 6.
[0104] In T512, the virtual printer 70 transmits to the server 300 the user ID “U1” and the global IP address of the network to which the notebook PC 10 belongs (that is, the LAN of the office 6).
[0105] When the server 300 receives the user ID "U1" and the global IP address from the notebook PC 10 in T512, it judges whether the notebook PC 10 is being used in a home environment. In this case, the server 300 has already stored a global IP address (i.e., the global IP address of the LAN of the user's home 4) different from the above global IP address in association with the user ID "U1", and therefore judges that the notebook PC 10 is not being used in a home environment. In this case, the server 300 transmits non-home environment information to the notebook PC 10 in T514, which indicates that the notebook PC 10 is not being used in a home environment.
[0106] When the virtual printer 70 receives non-home environment information from the server 300 in T514 (NO in S10 of FIG. 5), it displays a notification screen SC1 in T530 (S12). The notification screen SC1 includes a message indicating that printing costs will not be reimbursed because the environment is not at home. This allows the user to know that printing costs will not be reimbursed because the environment is not at home. The virtual printer 70 then instructs the print management application 60 to perform processing.
[0107] The print management application 60 specifies the number of copies, the paper size, and the color information. Then, in T532, the print management application 60 instructs the printer driver 80B corresponding to the printer queue 82B to perform processing by supplying a processing request to the printer driver 80B (S60).
[0108] When the printer driver 80B receives a processing request from the print management application 60, it converts the image to be printed and generates print data having a data format that can be interpreted by the printer 100B. Then, in T540, the printer driver 80B transmits the print data to the printer 100B.
[0109] When the printer 100B receives the print data from the notebook PC 10 in T540, the printer 100B prints the print image represented by the print data on paper in T542, thereby providing the printed paper to the user.
[0110] In case B, the print log information is not sent to the server 300. That is, if the environment is not at home, the printing fee is not paid. This is because, in the case of printing in the office 6, it is not necessary to pay the printing fee to the user.
[0111] (Correspondence) The notebook PC 10 is an example of a "terminal device". The printers 100A and 100B are an example of a "printing device". The server 300 is an example of a "server". The combination of the print management application 60 and the virtual printer 70 is an example of a "computer program". The printer drivers 80A and 80B are an example of "one or more print programs". The printer driver 80A is an example of a "specific print program". The printer queues 82A and 82B are an example of "one or more print queues". The user's home 4 is an example of a "first location". The office 6 is an example of a "second location". The notification screens SC2 to SC4 are examples of "notification screens". The processing request provided in S72 of FIG. 5 and the processing request provided in S60 of FIG. 5 are examples of a "first processing request" and a "second processing request", respectively. The print log information transmitted in S74 of FIG. 5 is an example of "specific print log information". The data representing the QR code is an example of "identification information". The printer queue setting values "pause", "use offline", and "file output" are examples of "setting values related to a printing program (and setting values related to a printer queue)".
[0112] The process of T10 in FIG. 6 is an example of a process executed by a "reception unit". The process of S74 in FIG. 5 is an example of a process executed by a "log transmission unit". The process of S70 in FIG. 5 is an example of a process executed by a "generation unit". The process of S72 in FIG. 5 is an example of a process executed by a "second supply unit". The process of S60 in FIG. 5 is an example of a process executed by a "third supply unit". The processes of S22, S32, and S42 in FIG. 5 are examples of a process executed by a "display control unit".
[0113] (Second embodiment; Figure 13) Next, a second embodiment will be described. In the second embodiment, the process of Fig. 13 is executed instead of the process of Fig. 5. In Fig. 13, the same processes as those in Fig. 5 are given the same reference numerals, and detailed description thereof will be omitted.
[0114] In S112, the CPU 32 displays a notification screen SC11 on the display unit 14. The notification screen SC11 includes a message indicating that the print instruction is to be discarded because the environment is not at home. The notification screen SC12 displayed in S122 differs from the notification screen SC2 displayed in S22 of FIG. 5 in that it includes a message indicating that the print instruction is to be discarded instead of a message indicating that the print fee is not paid. The notification screen SC13 displayed in S132 differs from the notification screen SC3 displayed in S32 of FIG. 5 in that it includes a message indicating that the print instruction is to be discarded instead of a message indicating that the print fee is not paid. The notification screen SC14 displayed in S142 differs from the notification screen SC4 displayed in S42 of FIG. 5 in that it includes a message indicating that the print instruction is to be discarded instead of a message indicating that the print fee is not paid. The notification screen SC15 displayed in S152 differs from the notification screen SC5 displayed in S52 of FIG. 5 in that it includes a message indicating that the print instruction is to be discarded instead of a message indicating that the print fee is not paid.
[0115] In S160, CPU 32 discards data for the processing request (e.g., image data representing the image to be printed) without supplying the processing request to the default printer driver. As a result, processing is not executed by the default printer driver, and printing is not executed by the default printer. In this embodiment as well, printing log information is not sent to server 300 in such a situation, so that inappropriate payment of printing fees is prevented. The processing of S72 in FIG. 13 is an example of processing executed by the "first supply unit."
[0116] (Third embodiment; Figure 14) Next, a third embodiment will be described. In the third embodiment, the process of Fig. 14 is executed instead of the process of Fig. 5. In Fig. 14, the same processes as those in Fig. 5 are given the same reference numerals, and detailed description thereof will be omitted.
[0117] In S214, the CPU 32 acquires the setting values of all the stored printer queues from the memory 34. Specifically, the CPU 32 supplies a setting value request to the OS 40. The OS 40 identifies one printer queue from the one or more printer queues stored in the memory 34, and identifies the setting values of the identified printer queue. The OS 40 repeats the above process until all the printer queues are identified. Then, the OS 40 supplies each of the setting values of all the identified printer queues to the CPU 32.
[0118] In S220, the CPU 32 determines whether or not a printer queue corresponding to a setting value indicating "pause" exists among all the acquired printer queues. If the printer queue exists (YES in S220), the CPU 32 proceeds to S222, and if the printer queue does not exist (NO in S220), the CPU 32 proceeds to S230.
[0119] In S222, the CPU 32 displays a notification screen SC22 on the display unit. The notification screen SC22 includes a message indicating that the print instruction will be discarded because there is a "paused" printer queue.
[0120] In S230, the CPU 32 checks whether or not a printer queue corresponding to the setting value indicating "file output" exists among all the printer queues that have been acquired. If the printer queue exists (YES in S230), the CPU 32 proceeds to S232, and if the printer queue does not exist (NO in S230), the CPU 32 proceeds to S240.
[0121] In S232, the CPU 32 displays a notification screen SC23 on the display unit. The notification screen SC23 includes a message indicating that the print instruction will be discarded because a printer queue with the output destination port setting value set to "file output" exists.
[0122] In S240, the CPU 32 checks whether or not a printer queue corresponding to a setting value indicating "offline use" exists among all the acquired printer queues. If the printer queue exists (YES in S240), the CPU 32 proceeds to S242, and if the printer queue does not exist (NO in S240), the CPU 32 proceeds to S250.
[0123] In S242, the CPU 32 displays a notification screen SC23 on the display unit. The notification screen SC23 includes a message indicating that the print instruction will be discarded because a printer queue including "use offline" exists.
[0124] In S250, the CPU 32 accepts a selection of a printer that is to execute printing from among one or more printers corresponding to one or more printer queues.
[0125] In the configuration of the third embodiment, if a printer queue corresponding to any of the setting values indicating "pause," "use offline," and "file output" exists among all printer queues stored in memory 34, the print instruction is discarded and print log information is not sent to server 300. Therefore, the configuration of the third embodiment also prevents inappropriate payment of printing fees.
[0126] Although specific examples of the technology disclosed in this specification have been described in detail above, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and variations of the specific examples exemplified above. Modifications of the above embodiments are listed below.
[0127] (Variation 1) In the above embodiment, the "computer program" is realized by the print management application 60 and the virtual printer 70 working together. In a variation, the "computer program" may be realized by the print management application 60 alone, or by the virtual printer 70 alone. In another variation, the "computer program" may be realized by the print management application 60, the virtual printer 70, and further other programs working together. In another variation, the "computer program" may be realized by a Print Support Application (PSA). In this case, the PSA may supply a processing request to a standard printer driver provided by the OS 40.
[0128] (Modification 2) The print log information transmitted in S74 of FIG. 5 may include information indicating that the print log information is a target of processing related to the payment of printing costs. For example, the print log information may include information "1" as information indicating that the print log information is a target of processing related to the payment of printing costs. In addition, when it is determined that NO is determined in S10, NO is determined in S20, NO is determined in S30, NO is determined in S40, or NO is determined in S50 of FIG. 5, the CPU 32 may transmit the print log information to the server 300. The print log information may include information indicating that the print log information is not a target of processing related to the payment of printing costs. For example, the print log information may include information "0" as information indicating that the print log information is not a target of processing related to the payment of printing costs. As a result, the server 300 does not execute processing related to the payment of printing costs based on the print log information. In this modification, transmitting the print log information including information indicating that the print log information is not a target of processing related to the payment of printing costs to the server 300 is an example of "specific log information is not transmitted to the server".
[0129] (Variation 3) In the above embodiment, processing is performed according to whether or not the setting value of the printer queue (e.g., 82A) indicates a predetermined value (see S20, S30, S40, etc. in FIG. 5). In a variation, processing may be performed according to whether or not the setting value of the printer driver (e.g., 80A) indicates a predetermined value, rather than the setting value of the printer queue. For example, processing may be performed according to whether or not the setting value of the printer driver is a setting value that prohibits or restricts the transmission of print data to the corresponding printer. In this variation, the "predetermined condition" is met when the setting value of the printer driver is not a setting value that prohibits or restricts the transmission of print data to the corresponding printer, and the "predetermined condition" is not met when the setting value of the printer driver is a setting value that prohibits or restricts the transmission of print data.
[0130] (Variation 4) The CPU 32 may omit the process of S10 in Fig. 5. That is, the CPU 32 may execute the processes from S14 onwards whether the notebook PC 10 is used at the user's home 4 or at the office 6.
[0131] (Modification 5) The method of determining whether the notebook PC 10 is used in a home environment is not limited to the embodiment. For example, the notebook PC 10 may be equipped with a Global Positioning System (GPS), and may transmit GPS information to the server 300 instead of the global IP address at T12 in FIG. 6. In this case, the server 300 may determine whether the notebook PC 10 is used in a home environment based on the GPS information. In another modification, the notebook PC 10 may store a global IP address (or GPS information) when used at the user's home 4. The notebook PC 10 may obtain a current global IP address (or GPS information) and compare it with the stored global IP address (or GPS information) to determine whether the notebook PC 10 is used in a home environment.
[0132] (Variation 6) The CPU 32 can omit at least one of the processes S20, S30, and S40 in Fig. 5. Here, "at least one of the processes S20, S30, and S40" means any one of the processes S20, S30, S40, the two processes S20 and S30, the two processes S20 and S40, the processes S30 and S40, and the three processes S20, S30, and S40.
[0133] (Variation 7) The CPU 32 may execute the process of FIG. 14 even when one default printer queue is specified.
[0134] (Modification 8) The CPU 32 can omit the process of S50 in Fig. 5. In this case, the CPU 32 does not need to acquire the communication information in S14.
[0135] (Modification 9) The CPU 32 can omit the process of S70 in Fig. 5. Generally speaking, the "generation unit" can be omitted.
[0136] (Variation 10) In S70 of Fig. 5, instead of adding data representing a QR code to the image data, the CPU 32 may add, for example, data representing a character string representing the print ID and the location information of the server 300 to the image data. In this variation, the data representing the character string is an example of "identification information." Generally speaking, "identification information" does not have to include "code data."
[0137] (Modification 11) The CPU 32 can omit the processes of S22, S32, and S42 in Fig. 5. Generally speaking, the "display control unit" can be omitted.
[0138] (Variation 12) In the above embodiment, the processes of the steps in FIGS. 5 to 14 are implemented by software (e.g., the print management application 60), but at least one of these processes may be implemented by hardware such as a logic circuit.
[0139] The technical elements described in this specification or drawings have technical utility either alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies illustrated in this specification or drawings can achieve multiple objectives simultaneously, and achieving one of these objectives is itself technically useful.
[0140] In the scope of the claims at the time of filing of this patent application, even if each claim is dependent on only some of the claims, it is not limited to the fact that each claim can be dependent on only those some of the claims. Each claim can also be dependent on other claims that are not dependent on it at the time of filing to the extent that there is no technical contradiction. In other words, the technology of each claim can be combined in various ways as follows: (Item 1) A computer program for a terminal device, comprising: The terminal device computer is composed of the following parts: A reception unit that receives a print instruction; a log transmission unit that transmits specific print log information to a server when the print instruction is accepted and a predetermined condition related to one or more print programs installed in the terminal device is satisfied, the specific print log information being used by the server as a target for processing related to payment of printing costs, and when the print instruction is accepted and the predetermined condition is not satisfied, the specific log information is not transmitted to the server; A computer program that functions as a (Item 2) the predetermined condition is met when a setting value associated with the one or more printing programs indicates a predetermined value; 2. The computer program according to item 1, wherein the predetermined condition is not satisfied when the setting value does not indicate the predetermined value. (Item 3) the predetermined condition is met when a setting value associated with one or more printer queues corresponding to the one or more print programs exhibits a predetermined value; 3. The computer program according to item 2, wherein the predetermined condition is not satisfied when the setting value does not indicate the predetermined value. (Item 4) The log transmission unit transmitting the specific print log information to the server when the print instruction is accepted and the predetermined condition is satisfied in a situation where the terminal device is used at a first location; when the print instruction is accepted and the predetermined condition is not satisfied in a situation where the terminal device is used at the first location, the specific log information is not transmitted to the server; when the terminal device is used at a second location different from the first location and the print instruction is accepted, the specific log information is not transmitted to the server regardless of whether the predetermined condition is satisfied. 4. A computer program according to any one of items 1 to 3. (Item 5) the receiving unit receives the print instruction in a state in which a specific print program from the one or more print programs is designated, 5. The computer program according to any one of items 1 to 4, wherein the predetermined condition is a condition related to the specific printing program. (Item 6) 6. The computer program according to item 5, wherein the predetermined condition is a condition that restricts output of print data to a printing device. (Item 7) the predetermined condition is met when a setting value associated with the particular printing program does not indicate a pause; 7. The computer program product of claim 6, wherein the predetermined condition is not met if the setting value associated with the particular printing program indicates a pause. (Item 8) the predetermined condition is met if a setting value associated with the particular printing program does not indicate offline; 7. The computer program product of claim 6, wherein the predetermined condition is not met if the setting value associated with the particular printing program indicates offline. (Item 9) the predetermined condition is met if settings associated with the particular printing program indicate that the printing device is to print an image on a print medium; 7. The computer program of claim 6, wherein the predetermined condition is not met if the setting value associated with the particular printing program indicates generating a file having a particular file format without causing a printing device to print an image on a print medium. (Item 10) 5. The computer program according to any one of items 1 to 4, wherein the predetermined condition is a condition related to all of the one or more printing programs. (Item 11) Item 11. The computer program according to item 10, wherein the accepting unit accepts the print instruction in a state where none of the one or more print programs is specified. (Item 12) the log transmission unit transmits the specific log information to the server when the print instruction is accepted, the predetermined condition is satisfied, and a printing device that is to print an image on a print medium is in a communication-enabled state; When the print instruction is accepted, the predetermined condition is satisfied, and the printing device is in a communication-disabled state, the specific log information is not transmitted to the server. 12. A computer program according to any one of items 1 to 11. (Item 13) The computer program further causes the computer to functioning as a first supply unit that supplies a processing request for processing an image to be printed to a specific printing program among the one or more printing programs when the printing instruction is accepted and the predetermined condition is satisfied; 13. The computer program product of claim 1, wherein if the print instruction is accepted and the predetermined condition is not satisfied, the processing request is not provided to the specific print program. (Item 14) The computer program further causes the computer to a generating unit that generates added-image data by adding identification information for identifying the image data to image data representing an image to be printed when the print instruction is accepted and the predetermined condition is satisfied, and the generating unit does not generate the added-image data when the print instruction is accepted and the predetermined condition is not satisfied; a second supply unit that supplies a first processing request for processing the added image data to a specific printing program among the one or more printing programs; a third supply unit that supplies a second processing request for processing the image data to the specific print program when the print instruction is accepted and the predetermined condition is not satisfied; and 13. The computer program according to any one of items 1 to 12, (Item 15) Item 15. The computer program of item 14, wherein the identification information includes code data representing a code image. (Item 16) The computer program further causes the computer to 16. The computer program according to any one of items 1 to 15, which functions as a display control unit that, when the print instruction is accepted and the specified condition is not satisfied, displays a notification screen on a display unit to notify a user that the specified condition is not satisfied. (Item 17) 1. A method for controlling a terminal device, comprising: a receiving step of receiving a print instruction; a log transmission step of transmitting specific print log information to a server when the print instruction is accepted and a predetermined condition related to one or more print programs installed in the terminal device is satisfied, the specific print log information being used by the server as a target for processing related to payment of printing costs, and the specific log information not being transmitted to the server when the print instruction is accepted and the predetermined condition is not satisfied; A method comprising: (Item 18) A terminal device, A reception unit that receives a print instruction; a log transmission unit that transmits specific print log information to a server when the print instruction is accepted and a predetermined condition related to one or more print programs installed in the terminal device is satisfied, the specific print log information being used by the server as a target for processing related to payment of printing costs, and when the print instruction is accepted and the predetermined condition is not satisfied, the specific log information is not transmitted to the server; A terminal device comprising: [Explanation of symbols]
[0141] 2: Print management system, 10: Notebook PC, 12: Operation unit, 14: Display unit, 20: LAN interface, 30: Control unit, 32: CPU, 34: Memory, 100A, 100B: Printer, 112: Operation unit, 114: Display unit, 116: Print execution unit, 120: LAN interface, 130: Control unit, 132: CPU, 134: Memory, 200: Mobile terminal, 212: Operation unit, 214: Display unit, 216: Camera, 220: LAN interface, 230: Control unit, 232: CPU, 234: Memory, 300: Server, 320: Communication interface, 330: Control unit, 332: CPU, 334: Memory
Claims
1. A computer program for a terminal device, comprising: The terminal device computer is composed of the following parts: A reception unit that receives a print instruction; a log transmission unit that transmits specific print log information to a server when the print instruction is accepted and a predetermined condition related to one or more print programs installed in the terminal device is satisfied, the specific print log information being used by the server as a target for processing related to payment of printing costs, and when the print instruction is accepted and the predetermined condition is not satisfied, the specific log information is not transmitted to the server; A computer program that functions as a
2. the predetermined condition is met when a setting value associated with the one or more printing programs indicates a predetermined value; The computer program product of claim 1 , wherein the predetermined condition is not satisfied if the set value does not indicate the predetermined value.
3. the predetermined condition is met when a setting value associated with one or more printer queues corresponding to the one or more printing programs exhibits a predetermined value; The computer program product of claim 2 , wherein the predetermined condition is not satisfied if the set value does not indicate the predetermined value.
4. The log transmission unit transmitting the specific print log information to the server when the print instruction is accepted and the predetermined condition is satisfied in a situation where the terminal device is used at a first location; when the terminal device is used at the first location, if the print instruction is accepted and the predetermined condition is not satisfied, the specific log information is not transmitted to the server; when the terminal device is used at a second location different from the first location and the print instruction is accepted, the specific log information is not transmitted to the server regardless of whether the predetermined condition is satisfied.
2. The computer program product of claim 1.
5. the receiving unit receives the print instruction in a state in which a specific print program from the one or more print programs is designated, The computer program product of claim 1 , wherein the predetermined condition is a condition associated with the particular printing program.
6. The computer program product according to claim 5 , wherein the predetermined condition is a condition that restricts output of print data to a printing device.
7. the predetermined condition is met when a setting value associated with the particular printing program does not indicate a pause; The computer program product of claim 6 , wherein the predetermined condition is not met if the setting value associated with the particular printing program indicates a pause.
8. the predetermined condition is met if a setting value associated with the particular printing program does not indicate offline; The computer program product of claim 6 , wherein the predetermined condition is not met if the setting value associated with the particular printing program indicates the offline state.
9. the predetermined condition is met if settings associated with the particular printing program indicate that the printing device is to print an image on a print medium; 7. The computer program product of claim 6, wherein the predetermined condition is not met if the setting value associated with the particular printing program indicates generating a file having a particular file format without causing a printing device to print an image on a print medium.
10. The computer program product of claim 1 , wherein the predetermined condition is a condition associated with all of the one or more printing programs.
11. The computer program product according to claim 10 , wherein the accepting unit accepts the print instruction in a state in which none of the one or more print programs is specified.
12. the log transmission unit transmits the specific log information to the server when the print instruction is accepted, the predetermined condition is satisfied, and a printing device that is to print an image on a print medium is in a communication-enabled state; When the print instruction is accepted, the predetermined condition is satisfied, and the printing device is in a communication-disabled state, the specific log information is not transmitted to the server.
2. The computer program product of claim 1.
13. The computer program further causes the computer to functioning as a first supply unit that supplies a processing request for processing an image to be printed to a specific printing program among the one or more printing programs when the print instruction is accepted and the predetermined condition is satisfied; 2. The computer program product of claim 1, wherein if the print instruction is accepted and the predetermined condition is not satisfied, the processing request is not provided to the particular print program.
14. The computer program further causes the computer to a generating unit that generates added-image data by adding identification information for identifying the image data to image data representing an image to be printed when the print instruction is accepted and the predetermined condition is satisfied, and the generating unit does not generate the added-image data when the print instruction is accepted and the predetermined condition is not satisfied; a second supply unit that supplies a first processing request for processing the added image data to a specific printing program of the one or more printing programs; a third supply unit that supplies a second processing request for processing the image data to the specific print program when the print instruction is accepted and the predetermined condition is not satisfied; and The computer program product of claim 1 .
15. The computer program product according to claim 14 , wherein the identification information includes code data representing a code image.
16. The computer program further causes the computer to 2 . The computer program product according to claim 1 , further comprising a display control unit that, when the print instruction is accepted and the specified condition is not satisfied, displays a notification screen on a display unit to notify a user that the specified condition is not satisfied.
17. A method for controlling a terminal device, comprising: a receiving step of receiving a print instruction; a log transmission step of transmitting specific print log information to a server when the print instruction is accepted and a predetermined condition related to one or more print programs installed in the terminal device is satisfied, the specific print log information being used by the server as a target for processing related to payment of printing costs, and the specific log information not being transmitted to the server when the print instruction is accepted and the predetermined condition is not satisfied; A method comprising:
18. A terminal device, A reception unit that receives a print instruction; a log transmission unit that transmits specific print log information to a server when the print instruction is accepted and a predetermined condition related to one or more print programs installed in the terminal device is satisfied, the specific print log information being used by the server as a target for processing related to payment of printing costs, and when the print instruction is accepted and the predetermined condition is not satisfied, the specific log information is not transmitted to the server; A terminal device comprising:
Citation Information
Patent Citations
Printing cost calculation method, program, and printing system
JP2022046065A
