Program and printing system

The program in information processing devices automatically switches between multiple printing paths to ensure successful printing by retrying with a different route if the initial path fails, minimizing user burden.

JP7548406B2Active Publication Date: 2024-09-10BROTHER KOGYO KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023211880
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2024-09-10
Estimated Expiration
2037-08-31

AI Technical Summary

Technical Problem

In information processing devices with multiple communication paths for printing, the burden on users increases due to the need to manually select an appropriate route when one path fails, leading to potential printing failures.

Method used

A program that automatically switches between two processing paths for printing, using a first path for detailed settings and a second path for general settings, retrying the second path if the first fails, without user intervention.

Benefits of technology

This approach increases the likelihood of successful printing by automatically switching routes, reducing user effort and ensuring printing completion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000014_0000
    Figure 00000014_0000
  • Figure 00000014_0001
    Figure 00000014_0001
  • Figure 00000015_0000
    Figure 00000015_0000
Patent Text Reader

Abstract

To provide a program and printing system including a plurality of processing paths between a printer and an information processing device, allowing for enhancing the possibility of obtaining a printed matter while suppressing the burden on a user.SOLUTION: An application program (image generating application) 41 for image generation allows an information processing device 2 having first and second paths as processing paths for causing a printing device 1 to perform printing to execute first path-print processing for causing the printing device 1 to perform printing based on image data of an object of printing using the first path, in response to an acceptance of a print instruction. The image generating application, when determining that printing by the first path-print processing has failed, allows the information processing device 2 to execute second path-print processing for causing the printing device 1 to perform printing based on the image data of the object of printing using the second path.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a program and a printing system that are installed in an information processing device capable of communicating with a printer, and more particularly to a technique for switching a path for processing image data between a printer and an information processing device. [Background technology]

[0002] In an information processing device capable of communicating with a device such as a printer, there are a plurality of communication paths for data to be processed by image processing, and a technique for switching the communication path when transmitting data to the device is known. For example, Patent Document 1 discloses a configuration of a PON (Passive Optical Network) system having a plurality of ONUs (Optical Network Units) and an OLT (Optical Line Terminal) connected to each ONU, in which the ONUs have a plurality of PON interfaces connected to the OLT by different communication paths, and the OLT switches the communication path based on a parameter indicating the communication quality of the communication path. [Prior art documents] [Patent documents]

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

[0004] In recent years, information processing devices have been provided that have a so-called driverless printing function, such as AirPrint (registered trademark), which prints according to a specific printing standard without using a printer driver. The information processing device uses a general-purpose print control function provided by an OS (Operating System) to send image data to be printed to a printer according to the specific printing standard. The printer then prints according to the specific printing standard using a program installed in the printer.

[0005] When using a general-purpose print control function, there is a tendency that the number of available print setting items is small, and it may not be possible to provide print quality desired by the user. As an example of solving this problem, a specific print control function corresponding to a specific printer may be separately provided to enable more detailed print settings. An information processing device having a specific print control function processes image data to be printed using a program dedicated to that printer. In this case, the printer prints using dedicated data processed by that program. If an information processing device has both of these two types of print control functions, it will have multiple processing paths for printing even when printing is performed by the same printer using the same communication interface.

[0006] In the above-mentioned information processing device, since a program that processes image data is different for each path, for example, even if a processing error occurs in one program, the processing error may not occur in another program. Therefore, although it may be possible to print by selecting an appropriate path, the operation of selecting the appropriate path by the user imposes a burden on the user.

[0007] The present invention has been made to solve the problems of the conventional technology described above. That is, the object of the present invention is to provide a technology that increases the possibility of obtaining a printed product while reducing the burden on the user in a printing system having multiple processing paths between a printer and an information processing device. [Means for solving the problem]

[0008] A program developed to solve this problem is characterized in that an information processing device has a communication interface, is connected to a printer via the communication interface, and has a first path and a second path as processing paths for causing the printer to print based on image data to be printed, and, in response to receiving a print instruction, executes a print process that performs a first print control to cause the printer to print based on the image data using the first path, a failure judgment process that judges whether printing using the first print control has failed, and a retry process that performs a second print control to cause the printer to print based on the image data using the second path if it is determined in the failure judgment process that printing using the first print control has failed.

[0009] An information processing device incorporating the program disclosed herein has a first path and a second path as processing paths for causing the same printer to perform printing via the same communication interface. The program disclosed herein causes the information processing device to perform a first print control using the first path in response to receiving a print instruction. Furthermore, if the first print control fails, the program causes the information processing device to perform a second print control using the second path.

[0010] By executing the program disclosed in this specification, the information processing device automatically attempts to control printing via a second path when printing fails using print control via a first path. In other words, a retry is performed by switching to another path without the user having to select a path. Since the path switching and retry are performed automatically, it does not require the user to take any effort, and since a retry is performed via a different path, there is a possibility that printing will be successful. Therefore, the possibility of obtaining a printed product is increased while minimizing the burden on the user. Effect of the Invention

[0011] According to the present invention, in a printing system having a plurality of processing paths between a printer and an information processing device, a technique is realized that increases the likelihood of obtaining a printed product while reducing the burden on the user. [Brief description of the drawings]

[0012] [Figure 1] 1 is a schematic configuration diagram of a printing system according to an embodiment. [Diagram 2] FIG. 4 is an explanatory diagram showing a printing program of the information processing device. [Diagram 3] FIG. 2 is an explanatory diagram showing two types of printing paths. [Figure 4] FIG. 11 is a sequence diagram showing a route switching procedure. [Diagram 5] 10 is a flowchart showing a procedure of a printing process. [Figure 6] 11 is a flowchart showing a procedure of a first path printing process. [Figure 7] FIG. 4 is an explanatory diagram showing the correspondence relationship of print settings. [Figure 8] 10 is a flowchart showing a procedure for a second path printing process. [Figure 9] 10 is a flowchart showing a procedure for a print execution process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, a detailed description will be given of an embodiment of a printing system according to the present invention with reference to the accompanying drawings. In this embodiment, the present invention is applied to a printing system including a printing device and an information processing device that are capable of communicating with each other.

[0014] 1, the printing system 100 of this embodiment includes a printing device 1 and an information processing device 2, which are communicatively connected to each other. The printing device 1 is a device capable of printing on a medium to be printed, such as a label printer, a page printer, a copier, or a multifunction device. The information processing device 2 is a device that generates and edits image data to be printed by the printing device 1, and transmits print execution instructions and image data to the printing device 1, and is, for example, a smartphone, a personal computer, or a tablet computer. Note that the printing device 1 and the information processing device 2 that constitute the printing system 100 are not limited to being one each, and there may be multiple units.

[0015] 1, the printing device 1 has a controller 11, an image forming unit 12, an operation panel 13, and a network interface 14. The controller 11 includes a CPU, memory, etc., and controls each component of the printing device 1. Note that the controller 11 in FIG. 1 is a general term for hardware used to control the printing device 1, and does not necessarily represent a single piece of hardware actually present in the printing device 1.

[0016] The image forming unit 12 is configured to print an image on a medium to be printed. The image forming method of the image forming unit 12 may be an electrophotographic method or an inkjet method. The printing device 1 may be a device capable of forming color images, or may be a device that performs only monochrome printing. The operation panel 13 is, for example, a touch panel, and receives input from a user and displays information. The operation panel 13 may include various display lamps, buttons, etc. The network interface 14 is hardware for communicating with the information processing device 2.

[0017] 1, the information processing device 2 has a CPU 21, a ROM 22, a RAM 23, a non-volatile memory 24, an operation display unit 26, and a network interface 27. The ROM 22 stores a startup program for starting up the information processing device 2. The RAM 23 is used as a working area when various processes are executed, or as a storage area for temporarily storing data. The non-volatile memory 24 is, for example, a HDD or a flash memory, and stores various programs and data.

[0018] The CPU 21 executes various processes according to programs read from the ROM 22 or the non-volatile memory 24. The operation display unit 26 is, for example, a touch panel, and receives input from a user and displays information. The operation display unit 26 may also include a keyboard, a mouse, a display, etc. The network interface 27 is hardware for communicating with the printing device 1. The network interface 27 is an example of a communication interface.

[0019] In the printing system 100 of this embodiment, the information processing device 2 and the printing device 1 perform wireless communication conforming to the Wi-Fi (registered trademark) standard via a common access point 3. That is, both of the network interfaces 14 and 27 are interfaces that enable wireless communication according to the Wi-Fi (registered trademark) standard. More specifically, they are interfaces that enable wireless communication based on the IEEE802.11 standard and standards equivalent thereto. Note that the communication mode of this embodiment is an example and is not limited to the above-mentioned mode. For example, the information processing device 2 and the printing device 1 may communicate wirelessly by direct connection without going through the access point 3.

[0020] As shown in Fig. 2, the non-volatile memory 24 of the information processing device 2 stores an application program for image generation (image generation application) 41, a file generation program 42, a dedicated print control program 43, and an operating system (OS) 44. Furthermore, a general-purpose print control program 45 and a communication program 46 are incorporated in the OS 44 of the information processing device 2. Hereinafter, the application program will be referred to as an "app." Note that in Fig. 2, the direction in which various types of data flow is indicated by solid arrows.

[0021] The image generation application 41 is a program having, for example, a function to receive user instructions, a function to display images, and a function to edit and save images. Examples of user instructions received by the image generation application 41 include an instruction to start printing and various print settings. The image generation application 41 in this embodiment is, for example, a program used to generate and edit label image files for a label printer. The label image file is a data file for printing on a tape-shaped label medium.

[0022] The file generation program 42 is a program having a function of generating an image file for printing. In the information processing device 2 of this embodiment, the file generation program 42 generates a label image file based on, for example, an editing instruction received by the image generation application 41. The procedure of the process of generating the label image file by the image generation application 41 includes, in detail, a procedure in which a generation instruction is output from the image generation application 41 to the file generation program 42, and the image generation application 41 acquires the label image file generated by the file generation program 42.

[0023] The dedicated print control program 43 is a program having, for example, a function of rasterizing image data included in a label image file to generate rasterized data, and a function of controlling the communication program 46 to transmit the generated rasterized data to the printing device 1. The dedicated print control program 43 is a dedicated program compatible with a specific model of printing device, and is not compatible with printing devices other than the specific model, such as models from other manufacturers. The dedicated print control program 43 of this embodiment is a dedicated program for controlling the printing device 1, is compatible with all detailed print settings that can be executed by the printing device 1, and generates rasterized data in a format compatible with the printing device 1.

[0024] The general-purpose print control program 45 is a program that has a function of generating standard data for printing based on a predetermined print standard, and a function of controlling the communication program 46 to send the generated standard data to the printer 1. The general-purpose print control program 45 is a standard program provided by the OS 44 to realize the print control function. The standard data sent by the general-purpose print control program 45 is data that conforms to a standard suitable for the general-purpose rasterization process provided in the printer 1, and is not rasterized data.

[0025] Furthermore, the generic print control program 45 is a generic program that is compatible with various printing devices that support a specific print standard. Therefore, any printing device that has a function compatible with the generic print control program 45 can execute printing based on the standard data, regardless of the manufacturer of the printing device. Since the generic print control program 45 is a generic program that is compatible with multiple models, the print settings that can be accepted are limited to general ones. Therefore, the generic print control program 45 does not necessarily accept all print settings that can be executed by the printing device 1. Examples of printing systems that use the generic print control program 45 include AirPrint and Mopria (both are registered trademarks).

[0026] The label image file described above is a file suitable for processing in the dedicated print control program 43. When the image generation application 41 passes image data to be printed to the dedicated print control program 43, it uses the label image file and adds all the specified print settings. On the other hand, when the image generation application 41 passes image data to be printed to the general-purpose print control program 45, it uses a data file in a format suitable for general use of the label image file. In this case, the image generation application 41 adds only the general print settings.

[0027] The communication program 46 is a program that has a function of controlling the network interface 27 to communicate with a communication partner device. For example, the dedicated print control program 43 registers the generated rasterized data in a spooler of the OS 44. The communication program 46 of the information processing device 2 transmits the data registered in the spooler to the network interface 27. The communication program 46 is also a standard program provided by the OS 44. A part of the communication program 46 may be stored in the ROM 22.

[0028] 2, the information processing device 2 also includes a monitoring program 47 that monitors the status of the printer 1 connected via the network interface 27. The monitoring program 47 is, for example, a program that periodically acquires status information of the printer 1 and stores the latest status information. The status information includes, for example, ready, printing, and error states. The status information in an error state also includes information on the cause of the error. Examples of the causes of the error include a jam, out of paper, and out of ink.

[0029] The image generation application 41 can obtain status information of the printing device 1 by inquiring of the monitoring program 47 as necessary. Note that the image generation application 41 also has a function of obtaining a print completion notification from the printing device 1 via the dedicated print control program 43 or the general-purpose print control program 45, as indicated by the dashed line in FIG.

[0030] 3, the printing system 100 of this embodiment has two types of paths as processing paths for causing the printer 1 to perform printing. The two types of paths are a first path in which the information processing device 2 performs rasterization processing, and a second path in which the printer 1 performs rasterization processing. The first path is an example of the first path, and the second path is an example of the second path.

[0031] When causing the printer 1 to print using the first path, as shown in Fig. 3, the information processing device 2 executes a rasterization process to rasterize the image data included in the label image file and transmits the rasterized data to the printer 1. The printer 1 receives the rasterized data and prints based on the received rasterized data. In the first path, the information processing device 2 rasterizes the image data to be printed using the dedicated print control program 43 shown in Fig. 2. Controlling the printer 1 to print using the first path is an example of first print control.

[0032] The first path uses the dedicated print control program 43 and is therefore compatible with various print settings that can be handled by the printing device 1. Since the dedicated print control program 43 is not included in the OS 44, when printing via the first path, the information processing device 2 does not use a print control function (for example, the general-purpose print control program 45) included in the OS 44.

[0033] When causing the printer 1 to print using the second path, as shown in Fig. 3, the information processing device 2 standardizes the image data included in the label image file in a standardization process and transmits the standardized data to the printer 1. The printer 1 performs a general-purpose rasterization process to rasterize the standardized data, and prints based on the data rasterized by the general-purpose rasterization process. In the second path, the information processing device 2 standardizes the image data to be printed using the general-purpose print control program 45 shown in Fig. 2. Controlling the printer 1 to print using the second path is an example of second print control.

[0034] The second path uses the general-purpose print control program 45, which is a print control function included in the OS 44, and therefore may not be compatible with all print settings that are compatible with the printing device 1. For example, the general-purpose print control program 45 does not support high-resolution print settings that are compatible only with certain models. Therefore, when printing using the second path, a resolution that is compatible with many models, i.e., a print setting other than high resolution, is used.

[0035] In this way, the first route and the second route have different processing subjects that perform rasterization of the image data to be printed. That is, the first route is a route that causes the information processing device 2 to perform rasterization, and the second route is a route that causes the printing device 1 to perform rasterization. In addition, the first route and the second route have different rasterization algorithms, and the processing results may differ. That is, the first route is a route that performs rasterization that can also handle detailed print settings, and the second route is a route that performs rasterization with some print settings limited. In addition, the type, data format, and data amount of data transmitted from the information processing device 2 to the printing device 1 are different between the first route and the second route. As a result, for example, depending on the label image file specified as the printing target, it may be difficult to process in one of the first route and the second route, but easy in the other.

[0036] The printing device 1 used in the printing system 100 of this embodiment is capable of both printing based on rasterized data transmitted via the first path and printing based on standard data transmitted via the second path. The information processing device 2 transmits data using wireless communication via the network interface 27, either via the first path or the second path. In other words, the printing system 100 of this embodiment is capable of executing processing via both the first path and the second path.

[0037] In the image generation application 41, a path to be executed preferentially at that time is set, and either the first path or the second path is stored in the non-volatile memory 24 as the preferred path. When the information processing device 2 of the printing system 100 of this embodiment receives an instruction to cause the printing device 1 to execute printing in the image generation application 41, the information processing device 2 first executes print control using the path set as the preferred path. Then, when it is determined that the print control using the preferred path has failed, it attempts print control using the other path. For example, when the preferred path is the first path and it is determined that the print control using the first path has failed, the information processing device 2 attempts to print the same image data using the second path. The initial value of the preferred path is, for example, the first path, and may be set by the user. In addition, when multiple printing devices 1 are connected to the information processing device 2, a preferred path may be set for each printing device 1.

[0038] For example, if the first path is the priority path, the information processing device 2 first executes print control using the first path. Then, if the information processing device 2 is unable to cause the printer 1 to complete printing due to an error during image processing of image data in print control using the first path, a communication timeout during transmission of rasterized data, or the like, the information processing device 2 determines that print control using the first path has failed. Image processing of image data includes, for example, rasterization processing using the dedicated print control program 43 and image processing.

[0039] Furthermore, if the status information of the printing device 1 acquired by the monitoring program 47 indicates an error state, the information processing device 2 determines that printing control using the selected path has failed. For example, in printing control on the second path, a general-purpose rasterization process is executed in the printing device 1. If an error occurs during the rasterization process in the printing device 1, the status of the printing device 1 becomes an error state. Furthermore, if printing is not possible due to a shortage of consumables such as paper or ink, the status information of the printing device 1 becomes an error state. If the status information of the printing device 1 indicates an error state, or if information indicating an error is received from the printing device 1, the information processing device 2 determines that printing has failed.

[0040] An outline of the procedure for switching paths and executing printing in the printing system 100 of this embodiment will be described with reference to the sequence diagram in FIG. 4. First, the user executes the image generation application 41 on the information processing device 2 and inputs an instruction to execute printing (1001). In response to receiving a print instruction in the running image generation application 41, the information processing device 2 acquires a preferred path (1002). Note that all of the sequences of the information processing device 2 in FIG. 4 are realized as functions of the image generation application 41. If the preferred path is the first path, the information processing device The information processing device 2 then executes rasterization (1003).Then, the information processing device 2 transmits the print data to the printing device 1 (1004).

[0041] The printing device 1 executes printing based on the data received in 1004 (1005). If the selected route is the second route, the printing device 1 executes rasterization based on the received data, and executes printing based on the rasterized data. The information processing device 2 then receives response information from the printing device 1 indicating whether printing was successful or not (1006). If the response information indicates that printing is complete, the printing system 100 ends the printing procedure.

[0042] If the response information indicates an error, the information processing device 2 acquires print settings (1007). Then, the information processing device 2 determines whether the acquired print settings need to be changed when the route is changed. Some print settings are valid on either the first route or the second route, but invalid on the other route. If such settings are included, it is necessary to change the print settings.

[0043] If it is necessary to change the print settings, the information processing device 2 displays a message to the user to confirm whether or not to permit the change (1008). If the user responds that the change is permitted (1009), the information processing device 2 changes the print settings (1010). If the user responds that the change is not permitted, the information processing device 2 does not change the print settings and does not retry printing.

[0044] When retrying printing, the information processing device 2 changes the route (1011). Furthermore, if the changed route is the first route, the information processing device 2 executes rasterization (1012). Then, the information processing device 2 transmits data for printing to the printing device 1 (1013). The printing device 1 executes printing based on the received data (1014). Then, the image generation application 41 receives response information indicating whether printing was successful or not from the printing device 1 (1015).

[0045] If the response information indicates that printing is complete, the printing system 100 ends the printing procedure. If the response information indicates an error even in the printing control after changing the path, the image generation application 41 notifies the user of the error (1016).

[0046] Next, the procedure of the printing process executed by the information processing device 2 to realize the above-mentioned printing operation in the printing system 100 of this embodiment will be described with reference to the flowchart in Fig. 5. This printing process is executed by the CPU 21 of the information processing device 2 when a printing instruction is accepted by the running image generation application 41. In this printing process, the first route is set as the initial value of the priority route.

[0047] In the printing process, the CPU 21 first acquires the priority route stored in the non-volatile memory 24 (S101). Then, the CPU 21 judges whether the priority route is the first route or not (S102). If it is judged that the priority route is the first route (S102: YES), the CPU 21 executes the first route printing process (S103). The first route printing process is a process for executing printing on the first route. The first route printing process is an example of a printing process.

[0048] The procedure of the first path printing process will be described with reference to the flowchart of FIG. 6. In the first path printing process, the CPU 21 first generates dedicated rasterized data based on image data designated as a print target (S201). Specifically, rasterization is performed by the dedicated print control program 43. S201 is an example of a first rasterization process, and the rasterization process by the dedicated print control program 43 is an example of image processing for image data. Note that, if image processing such as resizing, color change, and resolution change is required before rasterization, the CPU 21 performs image processing and rasterization in S201. In this case, both the image processing and rasterization are examples of image processing for image data.

[0049] Then, CPU 21 judges whether generation of the rasterized data has been completed normally (S202). If it is judged that generation of the rasterized data has been completed normally (S202: YES), CPU 21 controls network interface 27 to start transmission of the generated rasterized data to printing device 1 (S203). The rasterized data transmitted in S203 is an example of first data. Then, CPU 21 judges whether transmission of the rasterized data has been completed (S204).

[0050] If it is determined that the transmission is not complete (S204: NO), the CPU 21 determines whether a timeout has occurred in communication with the printing device 1 (S205). If it is determined that a timeout has not occurred (S205: NO), the CPU 21 returns to S204 and waits until the transmission is complete or a timeout occurs.

[0051] When it is determined that the transmission of the rasterized data is complete (S204: YES), the CPU 21 determines whether or not response information indicating printing completion has been received from the printing device 1 (S206). The printing device 1 executes printing based on the received rasterized data. Then, when printing is complete, the printing device 1 transmits response information indicating completion to the information processing device 2. Furthermore, when an error occurs and printing cannot be completed, the printing device 1 transmits response information indicating the error to the information processing device 2.

[0052] If it is determined that the response information indicating the completion of printing has been received (S206: YES), the CPU 21 ends the first path printing process and returns to the printing process. If it is determined that the response information indicating the completion of printing has not been received (S206: NO), the CPU 21 determines whether or not the response information indicating an error has been received from the printing device 1 (S207). If it is determined that the response information indicating an error has not been received (S207: NO), the CPU 21 returns to S206 and waits until the response information indicating the completion of printing or the response information indicating an error is received.

[0053] On the other hand, if it is determined that the generation of the rasterized data was not completed normally (S202: NO), the CPU 21 stores a rasterization error as error cause information in the non-volatile memory 24 (S211), and ends the first path printing process.

[0054] Also, if it is determined that the transmission of the rasterized data was not completed normally and a timeout occurred (S205: YES), the CPU 21 stores a communication error as error cause information in the non-volatile memory 24 (S212) and ends the first path printing process.

[0055] Moreover, if it is determined that response information indicating an error has been received from the printing device 1 (S207: YES), the CPU 21 stores the printer error as error cause information in the non-volatile memory 24 (S213) and ends the first path printing process.

[0056] Returning to the printing process, after the first path printing process (S103), the CPU 21 judges whether or not an error occurred in the first path printing process based on the error cause information (S104). S104 is an example of a failure judgment process. If it is judged that no error occurred (S104: NO), the CPU 21 ends the printing process.

[0057] On the other hand, if it is determined that an error has occurred in the first-path printing process (S104: YES), the CPU 21 determines whether or not it is necessary to change the print settings (S106). As described above, the print settings that can be supported in the first path and the second path are different, and the print settings that can be supported in the first path are different from those in the second path. Even if the print settings are possible, there may be some print settings that cannot be handled via the second route. Therefore, in S106, the CPU 21 determines whether or not the print settings set in the current print instruction include print settings that cannot be handled via the second route.

[0058] For the determination in S106, the information processing device 2 stores a correspondence relationship table 241 between print settings and paths in the non-volatile memory 24, as shown in FIG. 7, for example. For example, print settings of high resolution or super-high resolution can be handled in the first path using the dedicated print control program 43, but cannot be handled in the second path using the general-purpose print control program 45. Therefore, if the specified print settings include a high resolution or super-high resolution setting, the CPU 21 determines in S106 that the print settings need to be changed. Note that, although FIG. 7 shows only the correspondence relationship for resolution, the information processing device 2 also stores other print settings.

[0059] When it is determined that the print settings need to be changed (S106: YES), the CPU 21 controls the operation display unit 26 (see FIG. 1) to display a message inquiring whether the settings can be changed and accepts the user's response (S107). For example, in the above example, the CPU 21 displays a message inquiring whether to change the high resolution setting to a medium resolution and print.

[0060] If the CPU 21 receives a response indicating that the settings may be changed (S107: YES), the CPU 21 changes the print settings so that they are compatible with the second path (S108). After S108, or if the CPU 21 determines that the print settings do not need to be changed (S106: NO), the CPU 21 executes a second path printing process (S110). The second path printing process is an example of a retry process.

[0061] Print control using the first path allows detailed print settings to be made according to the performance of the printing device 1. On the other hand, print control using the second path uses general-purpose technology and therefore only supports general print settings. For example, even if the printing device 1 is a model capable of high-resolution printing, when using the second path, it only supports printing at medium or low resolution, not high or super high resolution, and therefore the resolution setting needs to be changed. Note that the setting change may be made automatically instead of inquiring of the user. Also, the user's selection may be accepted for each setting change item.

[0062] Next, the procedure of the second path printing process will be described with reference to the flowchart in Fig. 8. In the second path printing process, the CPU 21 transmits standardized data obtained by standardizing image data to be printed to the printing device 1 (S301). Then, the CPU 21 determines whether or not the transmission of the standardized data has been completed (S302).

[0063] If it is determined that the transmission is not complete (S302: NO), the CPU 21 determines whether a timeout has occurred (S303). If it is determined that a timeout has not occurred (S303: NO), the CPU 21 returns to S302 and waits until the transmission is complete or a timeout occurs.

[0064] If it is determined that the transmission is complete (S302: YES), the CPU 21 determines whether or not response information indicating printing completion has been received from the printer 1 (S304). If it is determined that response information indicating printing completion has not been received (S304: NO), the CPU 21 queries the monitoring program 47 to acquire status information of the printer 1 (S305). S305 is an example of an acquisition process.

[0065] In the second path, the printer 1 rasterizes the received standard data and executes printing based on the rasterized data. If an error occurs when rasterizing the standard data or if an error occurs during printing, the status information of the printer 1 indicates an error state.

[0066] Then, the CPU 21 judges whether or not the status information of the printing device 1 is in an error state (S306). If it is judged that the status information of the printing device 1 is not in an error state (S306: NO), the CPU 21 returns to S304 and waits until it receives response information indicating completion of printing or the status information is in an error state.

[0067] When it is determined that response information indicating printing completion has been received (S304: YES), the CPU 21 ends the second path printing process. In the second path printing process, printing control is performed using a path different from that of the first path printing process, so even if an error occurs in the first path printing process, printing may be completed in the second path printing process. For example, if a rasterization error occurs in rasterization in the dedicated print control program 43 due to a program malfunction or the like, printing may be completed by performing a general-purpose rasterization process by the printing device 1. Also, if the data size of the rasterized data generated by the dedicated print control program 43 is large and a communication error occurs, printing may be completed by sending standard data by the general-purpose print control program 45.

[0068] On the other hand, if it is determined that a timeout occurred during transmission of the standard data (S303: YES), or if it is determined that the status information of the printing device 1 is in an error state (S306: YES), the CPU 21 stores error occurrence information indicating that an error occurred during printing on the second path in the non-volatile memory 24 (S307), and terminates the second path printing process.

[0069] Returning to the printing process, after the second path printing process (S110), the CPU 21 judges whether or not an error occurred in the second path printing process based on the error occurrence information (S111). If it is judged that an error occurred in the second path printing process (S111: YES), or if the setting change is not permitted (S107: NO), the CPU 21 controls the operation display unit 26 to display a message that printing could not be completed (S112), and ends the printing process.

[0070] On the other hand, if it is determined that no error occurred in the second path printing process and printing was completed normally (S111: NO), the CPU 21 changes the priority path to the second path (S113) and ends the printing process. S113 is an example of a first change process.

[0071] When a print instruction is received after the priority path is changed in this way, the CPU 21 determines in S102 that the priority path is not the first path. If the CPU 21 determines that the priority path is not the first path (S102: NO), the CPU 21 acquires error cause information stored in the non-volatile memory 24 (S121). When an error occurs in the first path printing process, the error cause information is stored in the non-volatile memory 24 as described above.

[0072] Then, the CPU 21 determines whether or not the error may have been resolved based on the error cause information (S122). S122 is an example of a resolution determination process. For example, if the error cause information is a rasterization error and the dedicated print control program 43 that performs the rasterization process has been updated, the error may have been resolved. The CPU 21 can determine whether or not the dedicated print control program 43 has been updated by, for example, inquiring of a server that distributes the dedicated print control program 43 to the information processing device 2.

[0073] Also, the error cause information indicates a communication error, and the controller 11 of the printer 1 is updated. If the error is resolved, the error may have been resolved. For example, if there is a problem with the control of the network interface 14 by the controller 11, a communication problem may occur. Also, if the error cause information is a printer error and the firmware of the printing device 1 has been updated or consumables such as the ink or main body circuit board of the printing device 1 have been replaced, the error may have been resolved. By inquiring of the printing device 1, the CPU 21 can determine whether the controller 11 of the printing device 1 has been updated, whether the firmware of the printing device 1 has been updated, and whether consumables such as the ink or main body circuit board of the printing device 1 have been replaced.

[0074] Therefore, when it is determined that the error may have been resolved (S122: YES), the CPU 21 changes the priority route to the first route (S123). S123 is an example of a second change process. Furthermore, the CPU 21 erases the stored error cause information (S124) and proceeds to the first route printing process of S103. By returning to the original route when the malfunction has been resolved, the user can operate in a familiar environment.

[0075] On the other hand, if it is determined that the error has not been resolved (S122: NO), the CPU 21 proceeds to S106 and determines whether or not the settings need to be changed. It may also be determined whether or not the error has been resolved when starting an application program that accepts a print instruction. If it is determined that the error may have been resolved, the priority path may be changed to the first path.

[0076] Next, the procedure of the print execution process executed by the printer 1 to realize the above-mentioned print operation in the printing system 100 of this embodiment will be described with reference to the flowchart in Fig. 9. This print execution process is executed by the controller 11 of the printer 1 when print data is received from the information processing device 2.

[0077] In the print execution process, the controller 11 first judges whether the received data is rasterized data (S401). If it is judged that the received data is not rasterized data (S401: NO), the controller 11 executes a general-purpose rasterization process (S402). In other words, if the received data is standard data, the printing device 1 generates rasterized data using a general-purpose rasterization function provided in the printing device itself. S402 is an example of a second rasterization process, and the rasterized data generated in S402 is an example of the second data.

[0078] If the controller 11 determines that the received data is rasterized data (S404: YES), it controls the image forming unit 12 to execute printing (S403) based on the received rasterized data or the rasterized data generated in S402. Furthermore, the controller 11 determines whether printing is complete (S404). If it determines that printing is not complete (S404: NO), the controller 11 determines whether a timeout has occurred (S405). If it determines that a timeout has not occurred (S405: NO), the controller 11 returns to S403 and continues executing the printing.

[0079] If it is determined that printing is complete (S404: YES), the controller 11 controls the network interface 14 to send information indicating printing completion to the information processing device 2 (S406), and ends the print execution process. On the other hand, if it is determined that a timeout has occurred (S405: YES), the controller 11 controls the network interface 14 to send information indicating an error to the information processing device 2 (S407), and ends the print execution process. The controller 11 may also send information indicating an error if it fails to receive data or if an error occurs during the general-purpose rasterization process.

[0080] As described above in detail, according to the printing system 100 of this embodiment, the printing device 1 and the information processing device 2 are connected by wireless communication, and the printing device 1 can perform printing based on a label image file acquired by the information processing device 2. Furthermore, the printing system 100 has a first route and a second route as routes for the printing device 1 to perform printing, and first performs printing using the route selected as the preferred route. If an error occurs during printing using the preferred route, printing is attempted by switching to the other route. Since the route switching and printing retry are performed automatically, the user is not required to take any effort, and since a retry is performed using a route other than the route where the error occurred, there is a possibility that printing will be successful. Therefore, the possibility of obtaining a printed matter while reducing the burden on the user is increased.

[0081] It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Naturally, therefore, the present invention can be improved and modified in various ways without departing from the spirit and scope of the present invention. For example, the printing device 1 does not need to include the operation panel 13. The information processing device 2 is not limited to the non-volatile memory 24 and may include any type of large-capacity storage device.

[0082] Furthermore, the communication method between the printing device 1 and the information processing device 2 is not limited to wireless communication conforming to the Wi-Fi (registered trademark) standard. For example, it may be wired communication using a USB cable, or wireless communication based on other standards such as Bluetooth (registered trademark). It may also have a communication function.

[0083] Furthermore, the image file to be printed is not limited to a label image file to be printed on a label. For example, it may be a PDF file, a compressed file such as JPEG, or a bitmap file. When targeting an image file other than a label image file, it is sufficient to use an image generation application 41 or a dedicated print control program 43 that is suitable for the target image file.

[0084] In addition, in this embodiment, the second path is rasterized by the printing device 1, but it may be a path different from the first path, and may be a path in which rasterization is performed by the information processing device 2. For example, if the general-purpose print control program 45 has a rasterization function, rasterization may be performed by the rasterization function. Even in this case, the rasterization process algorithm differs between the first path and the second path. Even in this case, the first path is a path that does not use the print control function of the OS 44, and the second path is a path that uses the print control function of the OS 44.

[0085] In addition, in this embodiment, the printing system 100 is described as having two types of paths, the first path and the second path, but other paths may also be used. Examples of other paths include a path for printing using a device-specific driver, and a path for printing using CUPS, which is a print driver for Unix, MacOS, and Linux (registered trademark). The device-specific driver and CUPS are programs that are incorporated in the OS 44 (see FIG. 2) of the information processing device 2 and rasterize image data. If the printing system is compatible with other paths, when an error occurs in both the first path and the second path, a retry may be performed using another path.

[0086] In addition, in this embodiment, if printing fails on the first route and printing succeeds on the second route, the preferred route is changed to the second route. However, if printing fails on one route, the preferred route may be changed regardless of whether printing on the other route is successful or not.

[0087] The initial value of the priority path may be the second path. That is, print control may be performed on the second path first, and if printing fails, print control may be performed on the first path. For example, if a rasterization error occurs in the printing device 1, the print control may be switched to the first path. This increases the chances of getting a print.

[0088] Also, for example, if an error that occurs in print control on the priority path is an error that is not related to the path, then retry may not be performed. For example, if the printer 1 is in a state where it cannot print due to a shortage of consumables such as sheets or ink, even if the print control path is switched, there is a low possibility that printing will be successful. Therefore, if it is determined that an error has occurred in S104 of the print process, a step may be provided to determine whether the cause of the error is a printer error, and if the cause of the error is a printer error, the process may proceed to S112.

[0089] 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]

[0090] 1 Printing device 2. Information processing equipment 27 Network Interface 41 Image generation app 43 Dedicated Printing Control Program 45 General purpose printing control program 100 Printing System

Claims

1. An information processing device having a communication interface, connected to a printer via said communication interface, and having as processing paths for causing said printer to print based on image data to be printed, a first path using a dedicated print control function not included in an operating system, and a second path using a general-purpose print control function of said operating system without using said dedicated print control function, a print process that performs a first print control in response to receiving a print instruction, in which the printer performs printing based on the image data via the first path using the dedicated print control function; a failure determination process for determining whether a printing failure has occurred based on execution of the first print control using the image data; a retry process for performing a second print control in which the printer performs printing based on the image data via the second path using the general-purpose print control function of the operating system, rather than the first path using the dedicated print control function, when it is determined in the failure determination process that a printing failure has occurred based on the execution of the first print control using the image data; A program characterized by executing the above.

2. In the program according to claim 1, In the retry process, When the setting for printing by the first print control includes a setting that cannot be handled by the second path that uses the general-purpose print control function of the operating system without using the dedicated print control function, the setting is changed to a setting that can be handled by the second path. A program characterized by:

3. In the program according to claim 1 or claim 2, In the failure determination process, When image processing of the image data in the first print control fails, it is determined that a printing failure has occurred due to execution of the first print control using the image data. A program characterized by:

4. In the program according to claim 1 or claim 2, In the failure determination process, When a communication timeout occurs in the first print control, it is determined that a printing failure has occurred based on the execution of the first print control using the image data. A program characterized by:

5. A program according to any one of claims 1 to 4, the first path is a path through which the dedicated print control function executes a first rasterization process on the image data to be printed; A program characterized by:

6. A program according to any one of claims 1 to 5, a first change process for changing the priority route to the second route when the first route is selected as the priority route and when it is determined in the failure determination process that a printing failure has occurred due to the execution of the first print control using the image data; and a resolution determination process for determining whether or not a cause of a printing failure based on execution of the first print control using the image data has been resolved; a second change process for changing a priority route to the first route when it is determined in the resolution determination process that the cause of the printing failure resulting from the execution of the first print control using the image data has been resolved; A program for causing the information processing device to execute the above.

Citation Information

Patent Citations

  • Printer control system, printer, host computer, printing method and storage medium

    JP1999203067A

  • Information processor, and control method and control program for the same

    JP2005138583A

  • PON system, ONU and olt

    JP2013197690A

  • Terminal device, image forming system, and program

    JP2015022634A

  • Processing device, information device, system, and program

    JP2015022724A