Computer program for terminal device, method for controlling terminal device, and terminal device

The computer program for a terminal device ensures accurate character recognition by controlling banding processing relative to character recognition, addressing incomplete recognition issues in divided images.

JP2024125867AInactive Publication Date: 2024-09-19BROTHER KOGYO KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023033983
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-06
Publication Date
2024-09-19
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing character recognition processing in printing systems may fail to properly recognize characters when banding processing divides images into multiple band images, leading to incomplete recognition.

Method used

A computer program for a terminal device that allows setting values to control whether to perform banding processing before or after character recognition, ensuring appropriate execution of character recognition by either censoring or transmitting image data without banding when the setting indicates so.

Benefits of technology

Prevents incomplete character recognition by ensuring character recognition processing is executed without banding when necessary, thereby improving the accuracy of character recognition and censorship functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024125867000001
    Figure 2024125867000001
Patent Text Reader

Abstract

To provide a technology with which character recognition processing can be properly executed.SOLUTION: A terminal device may include: a receiving unit which receives a designation of a setting value related to execution of specific processing including character recognition processing, the setting value being one of a first value indicating that the specific processing is not to be executed and a second value indicating that the specific processing is to be executed; a predetermined processing execution unit which executes, when a printing instruction is received in the case where the first value is set, first predetermined processing for executing first banding processing on image data without executing the specific processing on the image data; and a specific processing execution unit which executes, when a printing instruction is received in the case where the second value is set, the specific processing on the image data without executing the first predetermined processing.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This specification discloses a technique related to character recognition processing. [Background technology]

[0002] Patent Document 1 discloses a printing system that includes a terminal device and a keyword management device. The terminal device receives a keyword from the keyword management device and searches for print data based on the keyword. If the terminal device finds a character string that matches the keyword, it prohibits printing according to the print data or converts the print data so that the character string becomes unreadable. [Prior art documents] [Patent documents]

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

[0004] This specification provides a technique that can appropriately execute character recognition processing. [Means for solving the problem]

[0005] This specification discloses a computer program for a terminal device. The computer program may cause a computer of the terminal device to function as each of the following units, that is, a reception unit that receives a designation of a setting value related to the execution of a specific process including a character recognition process, the setting value being either a first value indicating that the specific process is not to be executed or a second value indicating that the specific process is to be executed, a predetermined process execution unit that executes a first predetermined process for executing a first banding process on image data representing an image to be printed without executing the specific process on the image data when a print instruction is received in a situation where the setting value is the first value, a first generation unit that generates first print data using first data obtained by executing the first banding process on the image data, a first transmission unit that transmits the first print data to a printing device, and a specific process execution unit that executes the specific process on the image data without executing the first predetermined process when a print instruction is received in a situation where the setting value is the second value.

[0006] When the banding process is performed on the image data, the image to be printed may be divided into a plurality of band images. As a result, an event may occur in which characters included in the image to be printed are not properly recognized by the character recognition process. According to the above computer program, when the terminal device receives a print instruction in a situation where the setting value is a second value indicating that a specific process is to be performed, the terminal device performs a specific process including a character recognition process without performing a first predetermined process for performing a first banding process. Therefore, an event in which characters included in the image to be printed are not properly recognized by the character recognition process is suppressed. As a result, the terminal device may properly perform the character recognition process.

[0007] A computer-readable recording medium storing the above-mentioned terminal device, the terminal device itself realized by the above-mentioned computer program, and a method for controlling the terminal device are also novel and useful. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a configuration diagram of a communication system. [Diagram 2] 13 is a flowchart of a printing process. [Diagram 3] FIG. 13 is a sequence diagram of case A. [Figure 4] FIG. 13 is a sequence diagram of case B. [Diagram 5] FIG. 13 is a sequence diagram of case C. [Figure 6] 13 is a flowchart of a printing process. [Figure 7] FIG. 13 is a sequence diagram of case D. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (First embodiment) (Configuration of communication system 2; Figure 1) 1, the communication system 2 includes a notebook PC 10 and a plurality of printers 100A and 100B. The notebook PC 10 and the printers 100A and 100B can communicate with each other via a Local Area Network (LAN) 4. The LAN 4 may be a wired LAN or a wireless LAN.

[0010] (Notebook PC 10 configuration) The notebook PC 10 includes an operation unit 12, a display unit 14, a communication interface 20, and a control unit 30. The units 12 to 30 are connected to a bus line. In the following, the interface is referred to as "I / F".

[0011] The operation unit 12 is an I / F for inputting various information to the notebook PC 10, and includes, for example, a mouse and a keyboard. The display unit 14 is a display for displaying various information. The communication I / F 20 is an interface for executing communication with other devices. The communication I / F 20 is connected to the LAN 4.

[0012] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes in accordance with a program 40 and the like stored in the memory 34. The memory 34 is composed of a ROM, a RAM, and the like. The memory 34 stores an OS program 40 and a printer driver 42. Hereinafter, the OS program will be referred to simply as "OS."

[0013] The OS 40 is a program for controlling the basic operation of the notebook PC 10. The printer driver 42 is a program for generating print data having a data format that can be interpreted by the printer 100A or the printer 100B, and transmitting the print data to the printer 100A or the printer 100B. The printer driver 42 is downloaded and installed in the notebook PC 10 after the notebook PC 10 is shipped. The printer driver 42 may be downloaded to the notebook PC 10 from a medium shipped together with the printers 100A, 100B, etc., or may be downloaded to the notebook PC 10 from a server (not shown) installed by the vendors of the printers 100A, 100B, etc. In a modified example, a printer application for generating print data may be used instead of the printer driver 42.

[0014] The memory 34 further stores a setting value 44 and a keyword list 46. The setting value 44 is either "disabled" indicating that the censorship function is not executed, or "enabled" indicating that the censorship function is executed. The censorship function is a function that restricts printing of a character string in the keyword list 46 when the image to be printed contains the character string. In the first embodiment, the character string is replaced with black text to make the character string illegible. This can also be said to restrict printing of the character string. That is, the keyword list 46 is a list of character strings whose printing should be restricted. The user can edit the keyword list 46 to specify various character strings. Character strings in the keyword list 46 are assumed to be character strings that are inappropriate to print (such as personal information).

[0015] The user can specify either "disabled" or "enabled" as the setting value 44 as follows. First, the user executes an operation to change the settings related to the printer driver 42 via the OS 40. In this case, the notebook PC 10 displays a property screen SC10. The property screen SC10 includes a device information button for checking information (e.g., remaining amount of color material) of the printers 100A, 100B corresponding to the printer driver 42, a censorship function button for changing the setting value 44 related to the censorship function, and the like.

[0016] When the notebook PC 10 accepts selection of the censorship function button in the property screen SC10 at T1, the notebook PC 10 displays a change screen SC12 for changing the setting value 44 related to the censorship function. The change screen SC12 includes a check box for specifying "enabled" as the setting value 44, a check box for specifying "disabled" as the setting value 44, and an OK button. Although not shown in the figure, the notebook PC 10 may be configured to be able to move from the change screen SC12 to an edit screen for editing the keyword list 46.

[0017] When the notebook PC 10 receives a check in the "enabled" checkbox and then receives the selection of the OK button at T2, the notebook PC 10 stores "enabled" as the setting value 44. Similarly, when the notebook PC 10 receives a check in the "disabled" checkbox and then receives the selection of the OK button at T3, the notebook PC 10 stores "disabled" as the setting value 44.

[0018] (Printer 100A Configuration) The printer 100A is a peripheral device capable of executing a printing function, for example, a peripheral device of a notebook PC 10. In a modified example, the printer 100 may be a multi-function device capable of executing a scanning function, a facsimile function, etc. in addition to a printing function. The printer 100A has a model name "AAA". The printer 100A includes an operation unit 112, a display unit 114, a print execution unit 116, a communication I / F 120, and a control unit 130. Each unit 112 to 130 is connected to a bus line.

[0019] The operation unit 112 is an I / F that enables a user to input various information to the printer 100A, and includes, for example, a touch screen and buttons. The user can input various information to the printer 100A via the operation unit 112. The display unit 114 is a display for displaying various information. The communication I / F 120 is connected to the LAN 4.

[0020] The print execution unit 116 includes an inkjet printing mechanism. That is, the printer 100A is an inkjet printer. The printer 100A prints an image to be printed on the print medium by repeatedly scanning the inkjet head in a direction perpendicular to the transport direction of the print medium. When the notebook PC 10 causes the printer 100A, which is an inkjet printer, to execute printing, the notebook PC 10 usually divides one page of image to be printed into a plurality of rectangular band images. Here, the size of one band image is set to a size that can be printed by one scan of the inkjet head. The notebook PC 10 sequentially generates a plurality of pieces of print data representing a plurality of rectangular band images, and sequentially transmits each of the plurality of pieces of print data to the printer 100A. In this specification, the division of one page of image into a plurality of rectangular band images to generate print data is referred to as a "banding process". When the notebook PC 10 generates one piece of print data representing one band image obtained by the banding process, the notebook PC 10 transmits the one piece of print data to the printer 100A. Therefore, compared to a configuration in which the notebook PC 10 generates print data representing an entire page of image and then transmits the print data to the printer 100A, the notebook PC 10 can cause the printer 100A to start printing more quickly. Also, the printer 100A only needs to store at least one piece of print data representing at least one band image in the memory 134, and does not need to simultaneously store print data representing an entire page of image in the memory 134. This makes it possible to reduce the capacity of the memory 134 of the printer 100A.

[0021] The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with a program 140 stored in the memory 134.

[0022] (Configuration of Printer 100B) Printer 100B has the same configuration as printer 100A, except that it has a model name "BBB" and that the print execution unit has a laser printing mechanism. That is, printer 100B is a laser printer. When the notebook PC 10 causes printer 100B, which is a laser printer, to execute printing, it usually generates print data representing the entire image of one page to be printed and then transmits the print data to printer 100B. This is because printer 100B usually needs to continuously form the entire image of one page on a photosensitive drum. For this reason, notebook PC 10 does not execute banding processing.

[0023] (Printing process; Figure 2) Next, a printing process that is realized by the CPU 32 of the notebook PC 10 executing the printer driver 42 will be described with reference to Fig. 2. When the printer driver 42 receives a printing instruction from a user, the process of Fig. 2 starts. The printing instruction includes a designation of an image to be printed and a designation of a printer that should execute the printing (hereinafter referred to as a "target printer").

[0024] In S10, the CPU 32 determines whether the setting value 44 in the memory 34 indicates "valid" or "invalid." If the setting value 44 indicates "valid" (YES in S10), the CPU 32 proceeds to S12, and if the setting value 44 indicates "invalid" (NO in S10), the CPU 32 proceeds to S40.

[0025] In S12, the CPU 32 acquires, via the OS 40, image data for one page from image data representing an image to be printed (hereinafter referred to as "target image data").

[0026] In S14, the CPU 32 executes an Optical Character Recognition (OCR) process on the one page of image data acquired in S12. As a result, if the image represented by the one page of image data contains characters, the CPU 32 identifies the characters.

[0027] In S20, the CPU 32 judges whether or not one or more characters have been specified in the OCR process. If one or more characters have been specified, the CPU 32 judges YES in S20 and proceeds to S22. On the other hand, if no characters have been specified, the CPU 32 judges NO in S20 and proceeds to S30.

[0028] In S22, the CPU 32 determines whether or not the one or more specified characters include any character string in the keyword list 46. If the one or more specified characters include any character string in the keyword list 46, the CPU 32 determines YES in S22 and proceeds to S24. On the other hand, if the one or more specified characters do not include any character string in the keyword list 46, the CPU 32 determines NO in S22 and proceeds to S30.

[0029] In S24, the CPU 32 blacks out any character strings that match any character string included in the keyword list 46 in the image represented by one page of image data. Specifically, the CPU 32 overlays a blacked-out image on the character strings in the image data for one page to generate processed image data for one page. In this way, the CPU 32 makes the character strings unreadable. As a result, printing of character strings such as personal information is restricted.

[0030] In S30, the CPU 32 converts one page of image data to generate print data. In particular, in S30 after passing through S24, the CPU 32 converts one page of processed image data to generate print data. On the other hand, in S30 without passing through S24, the CPU 32 converts one page of image data acquired in S12 to generate print data. The print data has a data format that can be interpreted by the target printer.

[0031] In S32, CPU 32 transmits the generated print data to the target printer. As a result, one page of print medium is formed on which the original image to be printed or an image including blackened portions is printed. Thereafter, if the target image data includes image data of the second page or later, CPU 32 executes the same processes as S12 to S32 for each image data of the second page or later. When the processes of S12 to S32 are completed for the image data of all pages, the process of FIG. 2 ends.

[0032] In S40, the CPU 32 judges whether the target printer is a laser printer or an inkjet printer. Specifically, the CPU 32 acquires the model name of the target printer. The memory 34 of the notebook PC 10 stores information associated with each model name of the printer, indicating whether the printer having the model name is a laser printer or an inkjet printer. If information indicating a laser printer is stored in association with the model name of the target printer, the CPU 32 judges YES in S40 and proceeds to S42. On the other hand, if information indicating an inkjet printer is stored in association with the model name of the target printer, the CPU 32 judges NO in S40 and proceeds to S60. The processes of S42, S50, and S52 are the same as the processes of S12, S30, and S32, respectively.

[0033] In S60, CPU 32 requests OS 40 to execute banding processing. The request includes supplying target image data to OS 40. As a result, OS 40 executes banding processing on the target image data. In banding processing, one page of image represented by one page of image data of the target image data is divided into multiple band images. As a result, OS 40 generates multiple pieces of image data representing the multiple band images from one page of image data. Hereinafter, image data representing band images will be referred to as "band image data."

[0034] In S62, the CPU 32 obtains one band image data from the OS 40.

[0035] In S70, CPU 32 converts the band image data acquired in S62 to generate print data (hereinafter, "band print data.") The band print data has a data format that can be interpreted by the target printer, which is an inkjet printer.

[0036] In S72, the CPU 32 transmits the generated band print data to the target printer, which then prints the band image on the print medium.

[0037] In S74, CPU 32 determines whether or not all band image data has been acquired from OS 40. If CPU 32 has not acquired all band image data (NO in S74), CPU 32 acquires the next band image data in S62 and executes the processes of S70 and S72. If CPU 32 has acquired all band image data from OS 40 (YES in S74), CPU 32 ends the process of FIG.

[0038] (Case A; Figure 3) Next, a specific case realized by the print process of Fig. 2 will be described. First, case A will be described with reference to Fig. 3. Case A is a case in which the setting value 44 stored in the notebook PC 10 indicates "enabled" and the censorship function is executed.

[0039] In the following, for ease of understanding, the processes executed by the CPU (e.g., 32, 132) of each device (e.g., notebook PC 10, printer 100A) will be described as the subject of each process, rather than the CPU itself. In particular, when describing the processes executed by CPU 32 of notebook PC 10, which are realized by CPU 32 executing printer driver 42, notebook PC 10 will not be described as the subject of the process, but the printer driver 42 will be described as the subject. Similarly, when describing the processes realized by CPU 32 executing OS 40, OS 40 will not be described as the subject of the process, but the notebook PC 10 will be described as the subject. Furthermore, communication between each device is executed via a communication I / F (e.g., 20, 120). Therefore, in the following description, when describing communication, the expression "via a communication I / F" will be omitted.

[0040] At T10, the notebook PC 10 receives a print instruction from a user (trigger in FIG. 2). The print instruction includes a designation of the image Im1 to be printed and a designation of the model name of the printer to execute the printing, "AAA" or "BBB". In this case, the image Im1 to be printed is an image of only one page.

[0041] Since the setting value 44 indicates "enabled" (YES in S10 of FIG. 2), the printer driver 42 acquires image data ImD1 representing the image Im1 from the OS 40 in T20. Then, the printer driver 42 executes OCR processing on the image Im1 represented by the acquired image data ImD1 in T22 (S14). In this case, the printer driver 42 identifies the six characters "A" to "F" contained in the image Im1 (YES in S20).

[0042] Next, the printer driver 42 determines that the character string "ABC" of the six characters "A" to "F" is included in the keyword list 46 (YES in S22). In this case, the printer driver 42 blacks out the character string "ABC" at T26 (S24). As a result, processed image data ImD2 is generated that represents the processed image Im2 in which the character string "ABC" has been blacked out.

[0043] Next, the printer driver 42 converts the processed image data ImD2 to generate print data (S30), and transmits the print data to the printer (100A or 100B) specified in T10.

[0044] When the printer receives the print data from the notebook PC 10 in T30, it executes printing according to the print data in T32. As a result, a print medium on which the processed image Im2 is printed is formed.

[0045] (Case B; Figure 4) Next, case B will be described with reference to Fig. 4. Case B is a case in which a print instruction is accepted for printer 100A, an inkjet printer, in a situation in which setting value 44 indicates "invalid." The process of T110 is the same as the process of T10 in Fig. 3, except that a print instruction including a specification of the model name "AAA" is accepted.

[0046] Since the setting value 44 indicates "invalid" (NO in S10 of FIG. 2) and a print instruction to the inkjet printer has been accepted (NO in S40), the printer driver 42 requests the OS 40 to perform banding processing in T112.

[0047] When OS 40 acquires a banding processing request from printer driver 42 in T112, it executes banding processing in T114. In this case, OS 40 divides one page of image Im1 into four band images Im1A-Im1D and generates four band image data ImD1A-ImD1D. After executing banding processing, OS 40 sequentially supplies each of the band image data ImD1A-ImD1D to printer driver 42 in T116.

[0048] First, in T120, printer driver 42 acquires first band image data ImD1A representing the first band image Im1A from OS 40 (S62). In this case, in T122, printer driver 42 converts the first band image data ImD1A to generate first band print data (S70), and in T124, transmits the band print data to printer 100A (S72).

[0049] Printer 100A starts printing at T132 when it receives the first band print data from notebook PC 10. That is, when printer 100A receives the first band print data, it prints the first band image Im1A according to the first band print data before receiving the second band print data.

[0050] When printer driver 42 sends the first print data to printer 100A, it obtains, at T140, second band image data ImD1B representing second band image Im1B from OS 40 (S62). The processes of T140 to T150 are similar to those of T120 to T130, except that second band image data ImD1B is used. Next, a similar process is performed for third band image Im1C. Furthermore, at T160 to T172, a similar process is performed for fourth (i.e., last) band image Im1D.

[0051] Printer 100A receives print data representing fourth band image Im1D in T170, executes printing according to that print data, and then ends printing in T172.

[0052] (Case C; Figure 5) Next, case C will be described with reference to Fig. 5. Case C is a case in which a print instruction is received for printer 100B, which is a laser printer, in a situation in which setting value 44 indicates "invalid." The process of T210 is the same as the process of T10 in Fig. 3, except that a print instruction including a specification of the model name "BBB" is received.

[0053] Because setting value 44 indicates "invalid" (NO in S10 of FIG. 2) and a print instruction to the laser printer has been accepted (YES in S40), printer driver 42 does not execute banding processing, and in T220 acquires image data ImD1 representing one page of image Im1 from OS 40. Then, in T228, printer driver 42 converts the acquired image data ImD1 to generate print data (S50), and in T230 transmits the print data to printer 100B.

[0054] When the printer 100B receives the print data from the notebook PC 10 in T230, the printer 100B executes printing according to the print data in T32. As a result, a print medium on which the image Im1 is printed is formed.

[0055] (Effects of the first embodiment) When the banding process is performed on the image data, the image to be printed is divided into a plurality of band images. As a result, when the characters included in the image to be printed are divided by the banding process, an event may occur in which the characters are not properly recognized by the OCR process. On the other hand, according to the configuration of this embodiment, when the notebook PC 10 receives a print instruction in a situation where the setting value 44 indicates "valid", the notebook PC 10 executes the OCR process without requesting the OS 40 to execute the banding process (YES in S10, S12, S14 in FIG. 2). Therefore, an event in which the characters included in the image to be printed are not properly recognized by the OCR process is suppressed. As a result, the notebook PC 10 can properly execute the character recognition process, and as a result, can properly execute the censorship function.

[0056] (Correspondence) The notebook PC 10 is an example of a "terminal device". The printer driver 42 is an example of a "computer program". The printers 100A and 100B are examples of a "printing device". "Invalid" and "Valid" are examples of a "first value" and a "second value", respectively. The image Im1 and the image data ImD1 are examples of an "image to be printed" and an "image data representing an image to be printed", respectively. The band image data ImD1A to ImD1D are examples of "first data". The processed image data ImD2 is an example of "second data". The print data transmitted in S72 of FIG. 2 is an example of "first print data". The print data transmitted in S32 of FIG. 2 is an example of "second print data". The print data transmitted in S52 of FIG. 2 is an example of "third print data". The character string "ABC" is an example of a "predetermined character string". The process of executing the censorship function is an example of a "specific process". The OCR process in S14 of FIG. 2 is an example of a "character recognition process". The processes of S20 and S22 in Fig. 2 are an example of a "determination process." The process of S24 in Fig. 2 is an example of a "process of making a specified character string illegible." The process of S60 in Fig. 2 is an example of a "first specified process." The process of T114 in Fig. 4 is an example of a "first banding process."

[0057] The processes of T2 and T3 in FIG. 1 are an example of a process executed by a "reception unit". The processes of S14 to S24 in FIG. 2 are an example of a process executed by a "specific process execution unit". The processes of S30 and S32 in FIG. 2 are an example of a process executed by a "second generation unit" and a "second transmission unit", respectively. The process of S40 in FIG. 2 is an example of a process executed by a "determination unit". The processes of S50 and S52 in FIG. 2 are an example of a process executed by a "third generation unit" and a "third transmission unit", respectively. The process of S60 in FIG. 2 is an example of a process executed by a "predetermined process execution unit". The processes of S70 and S72 in FIG. 2 are an example of a process executed by a "first generation unit" and a "first transmission unit", respectively.

[0058] (Second Example) Next, a second embodiment will be described. In the second embodiment, the censorship function differs from that in the first embodiment. In the second embodiment, if the image to be printed contains a character string in the keyword list 46, the printer is not allowed to print the image. Specifically, as shown in FIG. 2, if the CPU 32 determines NO in S22, it ends the process in FIG. 2 without executing the processes after S24. The configuration of the second embodiment also makes it possible to restrict the printing of personal information, etc.

[0059] (Third Example) Next, a third embodiment will be described. In the third embodiment, when the setting value 44 indicates "enabled", after the inspection function is executed, different processes are executed depending on whether the target printer is an inkjet printer or a laser printer.

[0060] 6, the CPU 32 executes the process of S40 after executing the process of S24. Then, if the target printer is a laser printer (YES in S40), the CPU 32 determines in S141 whether image data has been acquired from the OS 40. If the image data has been acquired from the OS 40 (i.e., YES in S10), the CPU 32 determines YES in S141, skips the process of S42, and executes the processes of S50 and S52. On the other hand, if the image data has not been acquired from the OS 40 (i.e., NO in S10), the CPU 32 determines NO in S141 and executes the processes of S42 to S52.

[0061] On the other hand, if the target printer is an inkjet printer (NO in S40), CPU 32 executes the processes of S60 to S74. That is, if the target printer is an inkjet printer, CPU 32 executes the inspection function (S14 to S24) and then requests banding processing from OS 40. In this way, since banding processing is executed even when the inspection function is executed, notebook PC 10 can cause the target printer, which is an inkjet printer, to quickly start printing. Also, the memory capacity of the target printer can be reduced.

[0062] (Case D; Figure 7) Next, referring to Fig. 7, a case D realized in this embodiment will be described. The setting value 44 stored in the notebook PC 10 indicates "enabled." The process of T310 is the same as the process of T110 in Fig. 4. Moreover, the processes of T320 to T326 are the same as the processes of T20 to T26 in Fig. 3. Since a print instruction for the printer 100A, which is an inkjet printer, is accepted (NO in S40 in Fig. 6), the printer driver 42 requests the OS 40 to perform banding processing in S328 (S60 in Fig. 6).

[0063] When the OS 40 acquires a banding processing request from the printer driver 42 in T328, it executes the banding processing in T330. In this case, the OS 40 divides one page of processed image Im2 into four band images Im2A-Im2D and generates four band image data ImD2A-ImD2D. After executing the banding processing, the OS 40 sequentially supplies each of the band image data ImD2A-ImD2D to the printer driver 42 in T332.

[0064] The processes of T340 to T352 are similar to those of T120 to T132 in FIG. 4, except that the first band image data ImD2A is used. Thereafter, the same processes as those of T140 to T172 in FIG. 4 are executed, except that each band image data ImD2B to ImD2D is used. As a result, a print medium on which the processed image Im2 is printed is formed in printer 100A. The process of S60 after YES at S10 in FIG. 6 is an example of a "second predetermined process". The process of T330 in FIG. 7 is an example of a "second banding process". The band image data ImD2A to ImD2D are an example of a "third data".

[0065] Although specific examples of the technology disclosed in this specification have been described in detail above, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and variations of the specific examples exemplified above. Modifications of the above embodiments are listed below.

[0066] (Variation 1) When the CPU 32 judges YES in S22 of Fig. 2, the CPU 32 may skip the process of S24 and execute the processes from S30 onwards. In this case, the CPU 32 may transmit information indicating that the image to be printed contains a character string in the keyword list 46 to a server (not shown). In this variation, S14 to S22 and the transmission of the above information to the server are an example of a "specific process".

[0067] (Variation 2) In S60 of FIG. 2, the CPU 32 may execute the banding processing by executing the printer driver 42, instead of requesting the banding processing from the OS 40. That is, the printer driver 42 may execute the banding processing. In this variation, the banding processing executed by the printer driver 42 is an example of the "first banding processing" and the "first predetermined processing."

[0068] (Variation 3) CPU 32 can omit the process of S22 in Fig. 2. In this case, when CPU 32 determines that the image to be printed contains characters (YES in S20), it may execute a process of blacking out the characters (S24). Generally speaking, the "specification process" does not have to include the "determination process".

[0069] (Variation 4) The CPU 32 may execute the blacking out process by replacing the character string data representing the specific character string with image data representing a blacked-out image in S24 of FIG. 2. In another variation, the CPU 32 may make the specific character string illegible by replacing the character string data representing the specific character string with symbol data representing a meaningless symbol such as "#" in S24 of FIG. 2. In this variation, the process of replacing the specific character string with a symbol is an example of "processing of making a specific character string illegible." In another variation, the CPU 32 may erase the character string data representing the specific character string in S24 of FIG. 2. In this case, the target printer prints an image from which the specific character string has been erased. In this variation, the process of erasing the specific character string is an example of "processing of making a specific character string illegible."

[0070] (Variation 5) CPU 32 can omit the process of S40 in Fig. 2. In this case, for example, CPU 32 can execute the processes of S42 to S52 regardless of whether the target printer is an inkjet printer or a laser printer. Generally speaking, the "determination unit" can be omitted.

[0071] (Variation 6) In the above embodiment, the processing of each step in Figures 2 to 7 is realized by software (e.g., OS 40, printer driver 42, program 140), but at least one of these processes may be realized by hardware such as a logic circuit.

[0072] The technical elements described in this specification or drawings have technical utility either alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies illustrated in this specification or drawings can achieve multiple objectives simultaneously, and achieving one of these objectives is itself technically useful.

[0073] In the scope of the claims at the time of filing of this patent application, even if each claim is dependent on only some of the claims, it is not limited to the fact that each claim can be dependent on only those some of the claims. Each claim can also be dependent on other claims that are not dependent on it at the time of filing to the extent that there is no technical contradiction. In other words, the technology of each claim can be combined in various ways as follows: (Item 1) A computer program for a terminal device, comprising: The terminal device computer is composed of the following parts: a reception unit that receives a setting value for execution of a specific process including a character recognition process, the setting value being either a first value indicating that the specific process is not to be executed or a second value indicating that the specific process is to be executed; a predetermined processing execution unit that, when a print instruction is received in a state in which the setting value is the first value, executes a first predetermined processing for executing a first banding processing on the image data without executing the specific processing on the image data representing an image to be printed; a first generation unit that generates first print data by using first data obtained by executing the first banding process on the image data; a first transmission unit that transmits the first print data to a printing device; a specific processing execution unit that executes the specific processing on the image data without executing the first predetermined processing when the print instruction is received in a state in which the setting value is the second value; A computer program that functions as a (Item 2) The computer program further causes the computer to a second generation unit that generates second print data by using second data obtained by executing the specific process on the image data; a second transmission unit that transmits the second print data to the printing device; 2. The computer program according to item 1, (Item 3) The computer program product described in item 2, wherein the second generation unit generates the second print data using the second data without performing a second specified process for executing a second banding process on the second data. (Item 4) The computer program described in item 2, wherein the second generation unit executes a second specified process for performing a second banding process on the second data, and generates the second print data using third data obtained by performing the second banding process on the second data. (Item 5) 5. The computer program according to any one of items 1 to 4, wherein the identification process further includes a determination process for determining whether a predetermined character string is present in the image to be printed. (Item 6) 6. The computer program product according to item 5, wherein the identifying process further includes a process of making the specified character string unreadable when the determining process determines that the specified character string exists. (Item 7) The computer program further causes the computer to when it is determined by the determination process that the predetermined character string does not exist, functioning as a second generation unit that generates second print data by using second data obtained by executing the specific process on the image data; 6. The computer program product according to item 5, wherein when the determination process determines that the predetermined character string exists, the second print data is not generated. (Item 8) The computer program further causes the computer to When the setting value is the first value and the print instruction is received, the printer is caused to function as a determination unit that determines whether the printing device supports banding processing; The predetermined process execution unit is executing the first predetermined process when it is determined that the printing device is compatible with the banding process; If it is determined that the printing device does not support the banding processing, the first predetermined processing is not executed; The computer program further causes the computer to a third generation unit that generates third print data using the image data that is not subjected to the first banding process when it is determined that the printing device is not compatible with the banding process; a third transmission unit that transmits the third print data to the printing device; 8. The computer program according to any one of items 1 to 7, (Item 9) 1. A method for controlling a terminal device, comprising: a receiving step of receiving a setting value for execution of a specific process including a character recognition process, the setting value being either a first value indicating that the specific process is not to be executed or a second value indicating that the specific process is to be executed; a predetermined processing execution step of executing a first predetermined processing for executing a first banding processing on image data representing an image to be printed, without executing the specific processing on the image data when a print instruction is received in a situation where the setting value is the first value; a first generation step of generating first print data by using first data obtained by executing the first banding process on the image data; a first transmission step of transmitting the first print data to a printing device; a specific processing execution step of executing the specific processing on the image data without executing the first predetermined processing when the print instruction is received in a state in which the setting value is the second value; A method comprising: (Item 10) A terminal device, a reception unit that receives a setting value for execution of a specific process including a character recognition process, the setting value being either a first value indicating that the specific process is not to be executed or a second value indicating that the specific process is to be executed; a predetermined processing execution unit that, when a print instruction is received in a state in which the setting value is the first value, executes a first predetermined processing for executing a first banding processing on image data representing an image to be printed, without executing the specific processing on the image data; a first generation unit that generates first print data by using first data obtained by executing the first banding process on the image data; a first transmission unit that transmits the first print data to a printing device; a specific processing execution unit that executes the specific processing on the image data without executing the first predetermined processing when the print instruction is received in a state in which the setting value is the second value; A terminal device comprising: [Explanation of symbols]

[0074] 2: communication system, 10: notebook PC, 12, 112: operation unit, 14, 114: display unit, 20, 120: communication I / F, 30, 130: control unit, 32, 132: CPU, 34, 134: memory, 40: OS program, 42: printer driver, 44: setting value, 46: keyword list, 100A, 100B: printer, 116: print execution unit, 140: program

Claims

1. A computer program for a terminal device, comprising: The terminal device computer is composed of the following parts: a reception unit that receives a setting value for execution of a specific process including a character recognition process, the setting value being either a first value indicating that the specific process is not to be executed or a second value indicating that the specific process is to be executed; a predetermined processing execution unit that, when a print instruction is received in a state in which the setting value is the first value, executes a first predetermined processing for executing a first banding processing on image data representing an image to be printed, without executing the specific processing on the image data; a first generating unit that generates first print data by using first data obtained by executing the first banding process on the image data; a first transmission unit that transmits the first print data to a printing device; a specific processing execution unit that executes the specific processing on the image data without executing the first predetermined processing when the print instruction is received in a state in which the setting value is the second value; A computer program that functions as a

2. The computer program further causes the computer to a second generation unit that generates second print data by using second data obtained by executing the specific process on the image data; a second transmission unit that transmits the second print data to the printing device; The computer program product of claim 1 .

3. 3. The computer program product according to claim 2, wherein the second generation unit generates the second print data by using the second data without performing a second predetermined process for performing a second banding process on the second data.

4. 3. The computer program product according to claim 2, wherein the second generation unit executes a second specified process for performing a second banding process on the second data, and generates the second print data using third data obtained by performing the second banding process on the second data.

5. The computer program product according to claim 1 , wherein the specifying process further includes a determining process for determining whether a predetermined character string is present in the image to be printed.

6. The computer program product according to claim 5 , wherein the identifying process further includes a process of making the specific character string unreadable when the determining process determines that the specific character string is present.

7. The computer program further causes the computer to when it is determined by the determination process that the predetermined character string does not exist, the second generation unit functions to generate second print data by using second data obtained by executing the specific process on the image data; The computer program product according to claim 5 , wherein when the determination process determines that the predetermined character string is present, the second print data is not generated.

8. The computer program further causes the computer to When the setting value is the first value and the print instruction is received, the setting value functions as a determination unit that determines whether the printing device supports banding processing; The predetermined process execution unit is executes the first predetermined process when it is determined that the printing device is compatible with the banding process; If it is determined that the printing device does not support the banding process, the first predetermined process is not executed; The computer program further causes the computer to a third generation unit that generates third print data by using the image data that is not subjected to the first banding process when it is determined that the printing device is not compatible with the banding process; a third transmission unit that transmits the third print data to the printing device; The computer program product of claim 1 .

9. 1. A method for controlling a terminal device, comprising: a receiving step of receiving a setting value for execution of a specific process including a character recognition process, the setting value being either a first value indicating that the specific process is not to be executed or a second value indicating that the specific process is to be executed; a predetermined processing execution step of executing a first predetermined processing for executing a first banding processing on image data representing an image to be printed, without executing the specific processing on the image data when a print instruction is received in a state in which the setting value is the first value; a first generation step of generating first print data by using first data obtained by executing the first banding process on the image data; a first transmission step of transmitting the first print data to a printing device; a specific processing execution step of executing the specific processing on the image data without executing the first predetermined processing when the print instruction is received in a state in which the setting value is the second value; A method comprising:

10. A terminal device, a reception unit that receives a setting value for execution of a specific process including a character recognition process, the setting value being either a first value indicating that the specific process is not to be executed or a second value indicating that the specific process is to be executed; a predetermined processing execution unit that, when a print instruction is received in a state in which the setting value is the first value, executes a first predetermined processing for executing a first banding processing on image data representing an image to be printed, without executing the specific processing on the image data; a first generating unit that generates first print data by using first data obtained by executing the first banding process on the image data; a first transmission unit that transmits the first print data to a printing device; a specific processing execution unit that executes the specific processing on the image data without executing the first predetermined processing when the print instruction is received in a state in which the setting value is the second value; A terminal device comprising:

Citation Information

Patent Citations

  • Print system

    JP2010141854A