Support program
The support program addresses the lack of detailed error notifications in OS-standard printing programs by generating user-friendly error notification screens, enhancing user understanding and error resolution in printer communication.
Patent Information
- Application Number
- JP2023025152
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-09-02
AI Technical Summary
Existing technologies fail to provide detailed error notifications for processing performed by OS-standard general-purpose printing programs, limiting user understanding and resolution of printer communication errors.
A support program that acquires error information from the general-purpose printing program and generates user-friendly notification screens to inform users about the type and nature of errors encountered during printer communication, allowing for effective error handling.
Enables users to understand and address printer communication errors effectively by providing detailed error notifications, ensuring smoother printing operations.
Smart Images

Figure 2024118718000001
Abstract
Description
[Technical field]
[0001] The technical field disclosed in this specification relates to a support program that supports control of a printer. [Background technology]
[0002] Conventionally, there is known a technique in which a printer and an information processing device communicate with each other via a network and notify the user when an error occurs. For example, Patent Document 1 discloses a configuration in which a printer notifies a communication device, which is an information processing device, of an error when a request is made by a user without administrative authority, and a configuration in which a printer notifies a communication device of an authentication error during a process of registering a print preset. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-119089 A Summary of the Invention [Problem to be solved by the invention]
[0004] In recent years, a technology has been put into practical use that controls a printer using a general-purpose print program that is part of the operating system (OS) and does not use a printer driver provided by the printer vendor. With this technology, when the OS detects a printer, it associates it with the OS's standard general-purpose print program, and thereafter, when a print instruction is received for that printer, the OS's standard general-purpose print program generates print data without using a printer driver provided by the printer vendor, making it possible to print using the OS's standard general-purpose print program.
[0005] However, there is no disclosure of a technology for notifying the details of an error in an information processing device when an error occurs in a process in which the information processing device communicates with a printer via the OS-standard general-purpose print program. Since it is desirable for the information processing device to notify detailed information about errors in processes performed by the OS-standard general-purpose print program, there is room for improvement. [Means for solving the problem]
[0006] The support program developed for the purpose of solving the above-mentioned problems is executable by a computer of an information processing device, and is a support program corresponding to a printer connected to the information processing device, wherein the information processing device is equipped with an operating system having a general-purpose printing program, and is configured to cause the computer to execute a communication process for communicating with the printer via the general-purpose printing program, an error information acquisition process for acquiring error information including the type of error from the general-purpose printing program when an error notification is output from the general-purpose printing program due to an error occurring in the communication process, a screen information acquisition process for acquiring screen information based on the error information acquired in the error information acquisition process, and an notification process for displaying an notification screen based on the screen information acquired in the screen information acquisition process on a user interface of the information processing device.
[0007] When an error notification is output from the general-purpose printing program during communication with the printer, the support program disclosed in this specification obtains error information including the type of error from the general-purpose printing program and displays a notification screen based on the error information. This allows the user to understand the details of the error. As a result, the user can be expected to deal with the error.
[0008] An information processing device incorporating the above-mentioned support program, a computer-readable storage medium storing the support program, a control method for realizing the functions of the support program, and a printing system including the support program and a printer are also novel and useful. Effect of the Invention
[0009] The technology disclosed in this specification realizes a technology that can notify details of an error in processing performed by an OS-standard general-purpose print program in an information processing device in which the OS-standard general-purpose print program is installed. [Brief description of the drawings]
[0010] [Figure 1] FIG. 2 is a block diagram showing an outline of the electrical configuration of a PC. [Diagram 2] FIG. 11 is a sequence diagram illustrating an example of a printing procedure. [Diagram 3] FIG. 11 is a sequence diagram illustrating an example of a capability information acquisition procedure. [Figure 4] FIG. 13 is an explanatory diagram showing an example of a notification screen. [Diagram 5] FIG. 13 is an explanatory diagram showing an example of a notification screen. [Figure 6] FIG. 11 is a sequence diagram illustrating an example of a print setting procedure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, a personal computer (hereinafter, referred to as a "PC") using the support program of the present embodiment will be described in detail with reference to the accompanying drawings. This specification discloses a support program executed on a PC.
[0012] As shown in Fig. 1, the PC1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12. The PC1 is an example of an information processing device. The CPU 11 is an example of a computer. The PC1 also includes a user interface (hereinafter referred to as "user IF") 13 and a communication interface (hereinafter referred to as "communication IF") 14, which are electrically connected to the controller 10. Note that the controller 10 in Fig. 1 is a collective term for hardware and software used to control the PC1, and does not necessarily represent a single piece of hardware actually present in the PC1.
[0013] The CPU 11 of the PC 1 executes various processes according to the programs read from the memory 12 and based on the user's operation. The memory 12 stores various programs and various data. The memory 12 is also used as a work area when various processes are executed. The buffer provided in the CPU 11 is also an example of a memory. Note that an example of the memory 12 is not limited to a ROM, RAM, HDD, etc. built into the PC 1, but may be a storage medium that can be read and written by the CPU 11, such as a recording medium such as a CD-ROM or DVD-ROM.
[0014] The user IF 13 includes a display 13a, which is hardware that displays a screen for notifying the user of information, and hardware that accepts operations by the user. The user IF 13 may be a combination of the display 13a capable of displaying information and a mouse, keyboard, or the like having an input acceptance function, or may be a touch panel having the function of the display 13a and the input acceptance function.
[0015] The communication IF 14 includes hardware for communicating with an external device such as the printer 2. The communication standards of the communication IF 14 include Ethernet (registered trademark), Wi-Fi (registered trademark), USB, etc. The PC 1 may be connectable to the Internet via the communication IF 14. The PC 1 may include multiple communication IFs 14 compatible with multiple communication standards.
[0016] 1, the memory 12 of the PC 1 stores various programs and data including an operating system (hereinafter referred to as "OS") 21 including a general-purpose print program 41, an auxiliary program 42, and an editing application 43. The auxiliary program 42 is an example of a support program. The editing application 43 is an example of an application program.
[0017] The OS 21 is a multitasking OS that can process multiple tasks in parallel by managing and switching between multiple tasks. Examples of the OS 21 include Windows (registered trademark), macOS (registered trademark), Linux (registered trademark), iOS (registered trademark), and Android (registered trademark).
[0018] The OS 21 includes a generic printing program 41. The generic printing program 41 is a standard OS program prepared by the OS 21 vendor and provided as part of the OS 21. In other words, the PC 1 is equipped with the OS 21 having the generic printing program 41. The generic printing program 41 is not configured to use a printer driver specific to each printer.
[0019] The generic printing program 41 is a program that has the function of printing on multiple models of printers provided by multiple vendors based on user instructions. The generic printing program 41 supports generic functions that allow printing on many printers. Unlike printer drivers specific to each printer, the generic printing program 41 does not support functions specific to each printer or printer driver, particularly functions that require complex processing.
[0020] The general-purpose printing program 41 is a program including a function of receiving image data designated as a print target in a print instruction output from various applications based on a user instruction, and generating intermediate image data based on the image data. The intermediate image data is, for example, XPS data. The general-purpose printing program 41 further has a function of generating print data in a format that can be used for printing by various printers based on the intermediate image data. The print data is, for example, PWGRaster data or PDF data. The general-purpose printing program 41 also has a function of transmitting the generated print data to a printer designated as a device to execute printing via a communication function of the OS 21.
[0021] The auxiliary program 42 is a program or a group of programs that executes processing based on instructions from the OS 21 in association with the processing of the general-purpose printing program 41, and is a program that supports the control of the target hardware. The auxiliary program 42 of this embodiment corresponds to the model of the printer 2 connected to the PC 1, and is provided, for example, by the vendor of the printer 2. The general-purpose printing program 41 starts the auxiliary program 42 corresponding to the printer 2 when the printer 2 is selected as the device that will execute printing, when an instruction for detailed print settings is received while the printer 2 is selected, when an instruction to execute printing on the printer 2 is received, etc. The auxiliary program 42 is, for example, called a print support app (abbreviated as PSA) or a hardware support app (abbreviated as HSA).
[0022] The auxiliary program 42 may be a combination of multiple programs that each accept an execution command, or a single program that can execute different processes according to commands. The auxiliary program may also be a program prepared by a printer vendor for each printer type. For example, an auxiliary program for inkjet printers and an auxiliary program for laser printers may be prepared. There may be an auxiliary program prepared not only for each printer type, but also for each printer model or series of printer models.
[0023] For example, when a new printer is connected to the PC 1, the OS 21 of the PC 1 can download an appropriate auxiliary program according to the type and model of the connected printer from a server of the printer vendor or the like and install it in the PC 1. The OS 21 stores in the memory 12 the identification information of the installed auxiliary program in association with the printer information of the newly connected printer.
[0024] The editing application 43 is, for example, a program for creating and editing image data and document data. The editing application 43 may be, for example, Microsoft's Word (registered trademark) or PowerPoint (registered trademark), or may be a program provided by the vendor of the printer 2. The editing application 43 can receive, for example, a print execution instruction for causing the printer 2 to execute printing via the user IF 13. Note that the editing application 43 is not limited to a program for creating and editing data, and may be a program having a function of receiving a display instruction or a print instruction for various information such as map information and web pages in response to a user request.
[0025] In this embodiment, the PC1 is connected to the printer 2 via the communication IF 14 as shown in FIG. 1. The printer 2 is a device having at least a printing function and a communication function. For example, when the printer 2 receives print data from the PC1 or the like, it can execute printing based on the received print data. The printer 2 may be a device capable of color printing, or may be a device capable of only monochrome printing.
[0026] The printer 2 may be a device having an authentication function. A printer 2 having the authentication function, for example, accepts authentication information to be used for authentication in advance and stores it in the printer 2. When the printer 2 is set to use the authentication function, the printer 2 executes authentication processing, for example, when it accepts an instruction to send information or an instruction to execute printing. Note that instead of the printer 2 itself executing the authentication processing, an external device such as an authentication server may execute the processing. Then, when the printer 2 does not accept authentication information or when authentication based on the accepted authentication information is not successful, the printer 2 does not transmit or print information.
[0027] The printer 2 may also be capable of accepting settings related to usage restrictions, for example. Usage restrictions include, for example, restrictions on the number of pages that can be printed during a specified period such as one month, restrictions on color printing, usage restrictions for each user, or combinations of these. Settings related to authentication and usage restrictions may be accepted by the printer 2 via its own operation panel or the like, or may be accepted by a setting instruction from an administrator's PC or the like.
[0028] Next, a procedure for causing the printer 2 to perform a printing operation in the PC 1 of this embodiment will be described. Note that each process in this embodiment basically indicates processing by the CPU 11 according to commands written in a program such as the auxiliary program 42. Processing by the CPU 11 also includes control of hardware using the API of the OS 21. In this specification, the operation of each program will be described without a detailed description of the OS 21. Also, "obtain" is used as a concept that does not require a request.
[0029] The printing procedure will be described with reference to the sequence diagram in Fig. 2. The editing application 43 accepts creation and editing of text and images based on user instructions. When the user wishes to print the text or image being displayed, the editing application 43 inputs an instruction to execute printing (A01). If the OS 21 includes the general-purpose printing program 41, the editing application 43 determines that it has accepted an execution instruction to cause the general-purpose printing program 41 to print the selected image on the printer 2.
[0030] The editing application 43 passes the received print instruction information to the general-purpose printing program 41 (A02). The general-purpose printing program 41 acquires, from the editing application 43, image data indicating an image to be printed and information indicating print settings as the print instruction information.
[0031] The general-purpose printing program 41 generates intermediate image data by converting the format of the image data of the image to be printed into the format of intermediate image data based on the information acquired from the editing application 43 (A03). The image data included in the editing application 43 is of various types, and the general-purpose printing program 41 converts the image data to be printed into intermediate image data suitable for generating print data. Note that if the image data to be printed is suitable for generating print data, the generation of the intermediate image data may be omitted and the intermediate image data may be used as is.
[0032] Note that, before generating the intermediate image data, the general-purpose printing program 41 may start an auxiliary program 42 corresponding to the designated device, the printer 2, to notify the start of print job processing. When the auxiliary program 42 is started from the general-purpose printing program 41, it can pass information indicating various instructions used when generating the intermediate image data to the general-purpose printing program 41 as necessary.
[0033] After generating the intermediate image data, the general-purpose printing program 41 starts the auxiliary program 42 (A05). When the auxiliary program 42 is started in response to the instruction of A05, it starts a capability information acquisition procedure for attempting to acquire capability information of the printer 2 (A11).
[0034] Next, the capability information acquisition procedure will be described with reference to the sequence diagram in Fig. 3. The auxiliary program 42 requests the general-purpose printing program 41 to acquire the capability information of the printer 2 by passing a capability information acquisition request to the general-purpose printing program 41 (B01). The general-purpose printing program 41 attempts to send a command to the printer 2 instructing it to send the capability information (B02). B01 and B02 are an example of communication processing.
[0035] When communicating with the printer 2, the general-purpose printing program 41 communicates via the OS 21 in accordance with, for example, IPP (short for Internet Printing Protocol). The printer 2 may be capable of setting authentication information for an IPP connection. When it is specified to communicate with the printer 2 in IPP via the general-purpose printing program 41 and the use of authentication information is set, the auxiliary program 42 passes a capability information acquisition request incorporating the authentication information to the general-purpose printing program 41. Examples of authentication information include user ID information and password information.
[0036] The auxiliary program 42 may be configured in advance with authentication information used to connect to the printer 2 by, for example, an administrator who manages the printer 2. Alternatively, the auxiliary program 42 may obtain authentication information by inquiring of the user before passing a capability information obtainment request to the general-purpose printing program 41.
[0037] If an error occurs when attempting to communicate with the printer 2 in B02, the general-purpose printing program 41 outputs an error notification indicating the occurrence of a communication error to the auxiliary program 42 (B10). The general-purpose printing program 41 determines that an error has occurred, for example, if it fails to connect to the printer 2 or receives communication refusal information from the printer 2.
[0038] Based on the error notification received from the general-purpose printing program 41, the auxiliary program 42 acquires error information from the general-purpose printing program 41, the error information including information on the communication port used for communication with the printer 2 and information indicating the type of error that occurred. B10 is an example of an error information acquisition process and an example of an interface information acquisition process. The communication port information is an example of interface information including the type of communication interface.
[0039] The PC 1 is equipped with multiple communication IFs 14 such as USB, Ethernet (registered trademark), and Wi-Fi (registered trademark), and the user can select the communication IF 14 to be used depending on the functions of the printer 2. The error information may be included in an error notification that the auxiliary program 42 receives from the general-purpose printing program 41, or may be information that can be obtained by the auxiliary program 42 making a request to the general-purpose printing program 41 after receiving the error notification.
[0040] The general-purpose printing program 41 may be configured to notify the user IF 13 when an error occurs. In this case, it is preferable to register in advance in the general-purpose printing program 41 a setting for notifying the user IF 13 when an error notification is output to the auxiliary program 42.
[0041] When the auxiliary program 42 receives an error notification, it acquires screen information showing a screen for notifying the user of the error based on the error information (B11). B11 is an example of a screen information acquisition process. For example, the auxiliary program 42 is provided with information of a notification screen for each type of error in advance, and acquires the screen information by selecting the screen to be notified according to the error information. The auxiliary program 42 may acquire the screen information from a server or the like.
[0042] Then, the auxiliary program 42 causes the user IF 13 to display a notification screen for notifying the user of the error based on the acquired screen information (B12). B12 is an example of a notification process.
[0043] For example, when error information indicating that the USB connection has failed is acquired, the auxiliary program 42 displays a notification screen 60 notifying the user of the USB connection error, as shown in Fig. 4. For example, when communication with the printer 2 via the USB interface is specified and the printer 2 is not connected to the USB interface or the printer 2 is offline, the auxiliary program 42 can acquire information indicating a USB connection error. The USB connection error is one example of a type of error.
[0044] Furthermore, for example, when error information indicating a failure in network connection is acquired, the auxiliary program 42 displays a connection error notification screen in which "USB" shown in Fig. 4 has been changed to "Network". For example, when a connection to a specified network device cannot be made, or when a timeout occurs without a response to a search signal via the network, the auxiliary program 42 can acquire information indicating a network connection error. A timeout is an example of a type of error.
[0045] Furthermore, for example, when error information indicating that authentication on the printer 2 has failed is acquired, the auxiliary program 42 displays a notification screen 70 including an authentication information input field 73, as shown in Fig. 5. For example, when authentication information is required but the authentication information is not added, when the received authentication information is not registered in the printer 2, or when the validity period of the authentication information has expired, the auxiliary program 42 can acquire information indicating an authentication error. An authentication error is one example of a type of error.
[0046] By displaying a notification screen including the type of error and interface information, the user can easily identify what type of error has occurred and deal with the error. The notification screen may further include information showing the procedure for connection, a help button for receiving an instruction to provide information for solving the error, a link button to a support site, etc.
[0047] The notification screen 60 includes, for example, a retry button 61 for receiving a user instruction to retry, and a cancel button 62 for receiving an instruction to cancel printing. The notification screen 70 includes, for example, a retry button 71 and a cancel button 72, similar to the notification screen 60. The auxiliary program 42 accepts user operations on the notification screens 60 and 70 being displayed.
[0048] The auxiliary program 42 can accept an operation on the retry button 61, 71 as a user operation on the displayed notification screen 60, 70. By operating the retry button 61, 71 (alt: [retry]), the auxiliary program 42 accepts a retry instruction (B13). The operation on the retry button 61, 71 is an example of a connection command. B13 is an example of a reconnection acceptance process.
[0049] If a retry instruction is received, the auxiliary program 42 again passes a capability information acquisition request to the general-purpose printing program 41 (B14). B14 is the same procedure as B01. The general-purpose printing program 41 then sends a command requesting capability information to the printer 2, and instructs the printer 2 to send the capability information (B15). B15 is the same procedure as B02, and the auxiliary program 42 causes the general-purpose printing program 41 to re-execute the capability information acquisition request. This causes the general-purpose printing program 41 to attempt communication with the printer 2 again. B15 is an example of a communication process.
[0050] The auxiliary program 42 not only notifies the user of the error details on the notification screens 60 and 70, but also accepts an instruction to reconnect to the printer 2, so that the printer 2 can be expected to continue processing to print.
[0051] When the notification screen 70 is displayed, the auxiliary program 42 accepts new authentication information in the input field 73. B13, in which new authentication information and an operation on the retry button 71 are accepted, is an example of a re-authentication acceptance process. In this case, in B14, the auxiliary program 42 adds the new authentication information to a capability information acquisition request and passes it to the general-purpose printing program 41.
[0052] The auxiliary program 42 accepts re-entry of authentication information and also accepts a retry instruction to reconnect to the printer, which is expected to resolve the authentication error. Note that the auxiliary program 42 may not accept operation of the retry button 71 when it is not accepting input into the input field 73.
[0053] The auxiliary program 42 can also accept an operation on the cancel button 62, 72 as a user operation on the displayed notification screen 60, 70. When the cancel button 62, 72 is operated (alt: [cancel]), the auxiliary program 42 accepts a cancel instruction (B16). The operation on the cancel button 62, 72 is an example of a cancel command. B16 is an example of a cancel acceptance process.
[0054] When a cancellation instruction is received, the auxiliary program 42 stops the printing procedure based on the print instruction (A02 in FIG. 2) output from the editing application 43 in response to the print execution instruction received at A01 in FIG. 2. Specifically, the auxiliary program 42 passes a notification to cancel printing to the general-purpose printing program 41 (B17). B17 is an example of a cancellation process. Because the auxiliary program 42 can receive a cancellation of printing based on a print instruction, it is possible to avoid unnecessary processing due to a communication error.
[0055] When the general-purpose printing program 41 receives a notification to cancel printing, it passes information indicating that printing has been canceled to the editing application 43 (B18). Then, the capability information acquisition procedure shown in Fig. 3 and the printing procedure shown in Fig. 2 are stopped (break). As a result, the execution of printing based on the print execution instruction accepted in A01 of Fig. 2 is canceled, and the editing application 43 becomes able to accept user operations.
[0056] On the other hand, if a proper response is received from the printer 2 in response to the requests B02 and B15, in other words, if no communication error occurs, the general-purpose printing program 41 does not output an error notification. In this case, the general-purpose printing program 41 can obtain capability information from the printer 2 (B21). The general-purpose printing program 41 passes the capability information obtained from the printer 2 to the auxiliary program 42 (B22). This allows the auxiliary program 42 to obtain the capability information of the printer 2.
[0057] The capability information acquired from the printer 2 includes information on parameters that can be set as print settings. The capability information may further include, for example, information on remaining amounts of consumables, information on selectable trays, paper information on paper set in each tray, and information on available print resolutions. The printer 2 may also have a function of performing image processing based on a received print job and printing based on the data after image processing, such as a function of performing aggregate printing such as Nin1, composite printing such as watermarks, and economical printing that saves on coloring materials. If the printer 2 has an image processing function that can be executed by the printer 2, the printer 2 may pass capability information including information on the function. The printer 2 may also pass capability information including information indicating its own status.
[0058] If a communication error occurs again during the retry, the general-purpose printing program 41 outputs an error notification to the auxiliary program 42 again, as in B10. The auxiliary program 42 may count the number of retries for the connection attempted by the current print job. Then, if the number of retries exceeds a predetermined number, the auxiliary program 42 may display a message indicating how to deal with the error, for example, a message prompting the user to restart the printer 2.
[0059] Returning to the description of the printing procedure in Fig. 2, after acquiring the capability information of the printer 2 in step A11, the auxiliary program 42 processes the intermediate image data as necessary based on the acquired capability information and print settings (A21). Furthermore, the auxiliary program 42 passes the processed intermediate image data to the general-purpose printing program 41 and requests the general-purpose printing program 41 to rasterize it (A22).
[0060] The general-purpose printing program 41 rasterizes the intermediate image data to generate raster data, which is bitmap data (A23). Furthermore, the general-purpose printing program 41 passes the generated raster data to the auxiliary program 42 (A24). As a result, the auxiliary program 42 obtains the raster data.
[0061] Note that the auxiliary program 42 may perform rasterization instead of the general-purpose printing program 41. In this case, the auxiliary program 42 executes rasterization based on the intermediate image data to generate raster data. Rasterization by the auxiliary program 42 allows greater freedom compared to rasterization by the general-purpose printing program 41, and is more likely to generate raster data suitable for printing by the printer 2. On the other hand, if rasterization is performed by the general-purpose printing program 41, the processing by the auxiliary program 42 is less, and the program size of the auxiliary program 42 can be reduced.
[0062] The auxiliary program 42 then encodes the raster data acquired in A24 into PDL data to generate print data (A25). The print data generated in A25 may be data in a format that can be printed by the printer 2. Note that the PDL data generated by the auxiliary program 42 may also be data in a format that can be used for printing on printers other than the model of the printer 2. The auxiliary program 42 passes the generated print data to the general-purpose printing program 41 and instructs it to send the data to the printer 2 (A27).
[0063] The general-purpose printing program 41 transmits the print data to be sent to the printer 2 in response to an instruction from the auxiliary program 42, and instructs the printer 2 to print (A28). The printer 2 executes printing based on the received print data (A29). As a result, a printed matter is generated based on the print instruction output from the editing application 43. A21 to A27 are an example of a process for causing the printer 2 to print.
[0064] When a print instruction is received, the auxiliary program 42 causes the general-purpose printing program 41 to attempt communication with the printer 2 before sending print data to the printer 2. When an error notification is output from the general-purpose printing program 41, the auxiliary program 42 obtains error information from the general-purpose printing program 41 and issues a notification based on the error information. This increases the likelihood that the user will be able to resolve the error and complete printing.
[0065] Next, the procedure for accepting print settings will be described with reference to the sequence diagram of Fig. 6. The general-purpose print program 41 can accept an instruction for print settings, for example, before accepting an instruction for printing. Then, when an instruction for detailed print settings related to printing on the printer 2 is accepted, the general-purpose print program 41 starts the auxiliary program 42.
[0066] The user selects printing in the editing application 43 (C01). The user can also select the printer 2 as the device to execute printing and instruct detailed print settings (C02). When an instruction for detailed print settings is received, the general-purpose printing program 41 passes an instruction to the auxiliary program 42 to start receiving the detailed print settings (C03).
[0067] Even when the auxiliary program 42 is started in response to an instruction from C03, it executes the same capability information acquisition procedure (see FIG. 3) as A11 in FIG. 2 and attempts to acquire capability information of the printer 2. In this procedure, too, when an error notification is output from the general-purpose printing program 41, the auxiliary program 42 acquires error information and displays the notification screen 60 (see FIG. 4) or the notification screen 70 (see FIG. 5) based on the error information.
[0068] If there is no communication error and the capability information of the printer 2 can be acquired, the auxiliary program 42 causes the user IF 13 to display a setting screen for accepting detailed print settings based on the acquired capability information (C11). The auxiliary program 42 accepts print settings by operating the displayed setting screen (C12). C12 is an example of a setting acceptance process.
[0069] The auxiliary program 42 causes the general-purpose printing program 41 to communicate with the printer 2 when displaying the print setting screen, so that it is possible to check the connection with the printer 2 before sending print data to the printer 2. Furthermore, the auxiliary program 42 displays a notification screen if an error notification is output from the general-purpose printing program 41, so that it is highly likely that printing can be completed after the print settings are made.
[0070] When the auxiliary program 42 receives an input of an instruction to end the print settings from the user (C21), it stores the received information of the print settings (C22). Then, the auxiliary program 42 notifies the general-purpose printing program 41 of the end of acceptance of the detailed print settings (C25). Based on the notification from the auxiliary program 42, the general-purpose printing program 41 notifies the editing application 43 of the end of the print settings (C26). The auxiliary program 42 may also notify the editing application 43 of the end of acceptance of the print settings. The editing application 43 becomes available to receive user instructions such as an instruction to execute printing or an instruction to cancel printing.
[0071] 2, if the capability information of the printer 2 has already been acquired by the print setting procedure or the like, the auxiliary program 42 does not need to acquire the capability information in A11 in the print procedure. Alternatively, even if the capability information has already been acquired, the auxiliary program 42 may check the communication status with the printer 2 again via the general-purpose print program 41 after receiving an instruction to execute printing.
[0072] As described above in detail, when an error occurs in communication with the printer 2 by the general-purpose printing program 41, the auxiliary program 42 of this embodiment obtains error information including the type of error from the general-purpose printing program 41 and notifies the user on the notification screens 60, 70. This allows the user to understand the details of the error. As a result, the user can be expected to deal with the error.
[0073] It should be noted that the embodiments disclosed in this specification are merely examples and do not limit the present invention in any way. Therefore, the technology disclosed in this specification can be naturally improved and modified in various ways without departing from the gist of the technology. For example, the device connected to PC1 is not limited to a printer, but may be any device having a printing function, such as a multifunction device, a copier, or a fax machine. Furthermore, the number of printers connected to PC1 is not limited to the illustrated example, and may be two or more.
[0074] Also, for example, the examples of the screens displayed on the user IF 13 are all merely examples and are not limited to the examples shown in the drawings. Furthermore, any wording, object shape, background, etc. displayed on each of the illustrated screens may be used. For example, the auxiliary program 42 may display a notification screen that does not include a retry button or a cancel button. The auxiliary program 42 may accept the retry button, the cancel button, an input field for authentication information, etc. on a screen other than the notification screen.
[0075] In the embodiment, the general-purpose printing program 41 outputs an error notification to the auxiliary program 42 as a response to the capability information acquisition request, but an error event may be issued separately from the response to the capability information acquisition request. Furthermore, the general-purpose printing program 41 may be able to accept a registration indicating that an error event is issued when an error occurs. In that case, if registered by the auxiliary program 42, the general-purpose printing program 41 issues an error event to the auxiliary program 42 when an error occurs. In this configuration, the auxiliary program 42 may perform the same processing as B11 to B12 in FIG. 3 in response to the error event issued from the general-purpose printing program 41. Even in this case, the auxiliary program 42 acquires error information based on the error event and displays a notification screen based on the acquired error information on the user IF 13. The issuance of an error event is an example of an error notification.
[0076] Furthermore, the auxiliary program 42 may obtain capability information directly from the printer 2 using, for example, an MIB (short for Management Information Base) instead of making a request to the general-purpose printing program 41. For example, when a communication error is notified from the general-purpose printing program 41, the auxiliary program 42 may attempt communication using the MIB.
[0077] Also, instead of passing the print data to the general-purpose printing program 41 and having the general-purpose printing program 41 send it to the printer 2, the auxiliary program 42 may send a print command instructing printing to be executed and the print data to the printer 2 via the MIB. For example, when the print settings include settings related to image processing executable by the printer 2, the auxiliary program 42 may generate a print command that also includes information on that processing. In this case, the auxiliary program 42 may notify the general-purpose printing program 41 of end information after completing the transmission of the print data.
[0078] Furthermore, the printer 2 may also respond with an error to the capability information acquisition request received from the general-purpose printing program 41, for example, when printing is impossible based on the set printing restrictions. When an error is responded from the printer 2, the general-purpose printing program 41 outputs an error notification to the auxiliary program 42. The printer 2 may also respond with capability information including information on the set printing restrictions. The auxiliary program 42 may also notify of an error when it is determined that printing is impossible due to the usage restrictions of the printer 2 based on the acquired capability information of the printer 2. The auxiliary program 42 may also indicate an error, for example, when the remaining number of pages that can be printed by this user is less than the number of pages to be printed received in the print instruction.
[0079] Furthermore, if the user changes the normally used printer from another printer to printer 2 via the OS 21 after the general-purpose printing program 41 has displayed a screen for accepting print settings, the general-purpose printing program 41 may also start the auxiliary program 42. In this case, too, the auxiliary program 42 may request the general-purpose printing program 41 to obtain the capability information of printer 2.
[0080] The auxiliary program 42 may be started not only when printing is selected, but also when, for example, the printer 2 is selected as a device setting. Even in this case, the auxiliary program 42 may request the general-purpose printing program 41 to obtain the capability information of the printer 2.
[0081] In the embodiment, only the printing operation is described in detail as the operation of the auxiliary program 42, but the auxiliary program 42 may have other roles. The program that executes the process of the present embodiment is not limited to the auxiliary program 42, but may be any program that receives instructions from the OS 21 or the general-purpose printing program 41 when printing is performed using the general-purpose printing program 41. For example, it may be a print workflow application (Print workflow) whose specifications have been published by Microsoft.
[0082] Furthermore, the execution timing of the auxiliary program 42 is not limited to that of the embodiment. For example, the auxiliary program 42 may be executed in response to a direct execution instruction from the OS 21, or the auxiliary program 42 may be resident. If the auxiliary program 42 is resident, it is sufficient that the auxiliary program 42 performs the above-mentioned operation upon receiving an execution command.
[0083] In addition, in any of the flowcharts disclosed in the embodiments, the order of execution of multiple processes in any of the steps can be arbitrarily changed or the processes can be executed in parallel as long as no contradiction occurs in the process content.
[0084] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]
[0085] 1 PC 2. Printer 11 CPU 13 User Interface 14 Communication Interface
Claims
1. A support program executable by a computer of an information processing device and corresponding to a printer connected to the information processing device, the information processing device being equipped with an operating system having a general-purpose printing program; The computer includes: A communication process for communicating with the printer via the general-purpose printing program; an error information acquisition process for acquiring error information including a type of error from the general-purpose printing program when an error notification is output from the general-purpose printing program due to an error occurring in the communication process; a screen information acquisition process for acquiring screen information based on the error information acquired in the error information acquisition process; a notification process for displaying a notification screen based on the screen information acquired in the screen information acquisition process on a user interface of the information processing device; Execute the A support program configured to:
2. 2. A support program as claimed in claim 1, The computer includes: Executing an interface information acquisition process for acquiring interface information including a type of communication interface; In the screen information acquisition process, acquiring the screen information based on the type of the error included in the error information acquired in the error information acquisition process and the type of the communication interface included in the interface information acquisition process; A support program configured to:
3. 2. A support program as claimed in claim 1, The computer includes: executes a reconnection reception process for receiving a connection command for instructing a connection to the printer when the error notification is output from the general-purpose printing program due to an occurrence of an error in the communication process; When the connection command is accepted in the reconnection acceptance process, the communication process is re-executed. A support program configured to:
4. 2. A support program as claimed in claim 1, The computer includes: when a print instruction is output from an application program installed in the information processing device and the print instruction is for causing the general-purpose print program to print an image on the printer, executes the communication process before transmitting print data to the printer; The computer further comprises: executes a process for causing the printer to print based on print data indicating the image to be printed in response to the print instruction when the communication process is executed and the error notification is not output from the general-purpose print program; when the error notification is output from the general-purpose printing program due to an error occurring in the communication process, the error information acquisition process, the screen information acquisition process, and the notification process are executed. A support program configured to:
5. A support program according to claim 4, The computer includes: execute a cancel receiving process for receiving a cancel command for canceling printing based on the print instruction when the error notification is output from the general-purpose print program due to an error occurring in the communication process based on the print instruction; When the cancel command is accepted in the cancel accepting process, a cancel process is executed to cancel printing based on the print instruction. A support program configured to:
6. 2. A support program as claimed in claim 1, The computer includes: A setting screen is displayed on the user interface, and a setting reception process is executed to receive print settings via the setting screen; The computer further comprises: When the setting screen is displayed in the setting reception process, the communication process is executed. A support program configured to:
7. 2. A support program as claimed in claim 1, The computer includes: executes a re-authentication reception process for receiving authentication information and a connection command instructing a connection to the printer when the type of the error included in the error information acquired in the error information acquisition process is an authentication error; The computer further comprises: When the connection command is accepted in the re-authentication acceptance process, the communication process is re-executed using the authentication information accepted in the re-authentication acceptance process. A support program configured to:
Citation Information
Patent Citations
Image formation apparatus, communication device, control method, and program
JP2019119089A
