IMAGE PROCESSING APPARATUS CAPABLE OF MERGING CHARACTER STRINGS WITH ORIGINAL IMAGE, CONTROL METHOD THEREFOR, AND STORAGE MEDIUM
20190266224 ยท 2019-08-29
Inventors
Cpc classification
G06F40/58
PHYSICS
G06F40/129
PHYSICS
H04N1/32128
ELECTRICITY
International classification
H04N1/32
ELECTRICITY
Abstract
An image processing apparatus which is capable of merging character strings with an original image without causing garbling. A first storage unit stores first character codes corresponding to a first language in accordance with administrator's input. A second storage unit stores a second character codes corresponding to a second character in accordance with login user's input. A reading unit reads an original image in accordance with login user's input. A generation unit generates a first character image corresponding to the first language on the basis of the first character codes and generates a second character image corresponding to the second language on the basis of the second character codes. A printing unit carries out a printing process based on the first character image, the second character image and the original image.
Claims
1-10. (canceled)
11. An image forming apparatus comprising: one or more processors connected to a memory, the one or more processors being configured to: forcefully print a first character string by a font corresponding to a first language, on a recording medium together with an image based on image data; and print a second character string, which is set by a login user, by a font corresponding to a second language, on a recording medium together with the image based on the image data.
12. The image processing apparatus as claimed in claim 11, wherein the first character string is set by an administrator.
13. The image forming apparatus according to claim 11, wherein the second language is a language corresponding to the login user.
14. The image forming apparatus according to claim 11, wherein the one or more processors is further configured to set the second character string by the login user using an operation screen of the image forming apparatus.
15. The image forming apparatus according to claim 14, wherein a language displayed in the operation screen is a language corresponding to the login user.
16. The image forming apparatus according to claim 14, wherein the one or more processors is further configured to set a position of the second character string on the recording medium.
17. The image forming apparatus according to claim 14, wherein the one or more processors is further configured to set size or color of the second character string.
18. A method of controlling an image forming apparatus, the method comprising: forcefully printing a first character string by a font corresponding to a first language, on a recording medium together with an image based on image data; and printing a second character string, which is set by a login user, by a font corresponding to a second language, on a recording medium together with the image based on the image data.
19. The method as claimed in claim 18, wherein the first character string is set by an administrator.
20. The method according to claim 18, wherein the second language is a language corresponding to the login user.
21. The method according to claim 18, further comprising setting the second character string by the login user using an operation screen of the image forming apparatus.
22. The method according to claim 21, wherein a language displayed in the operation screen is a language corresponding to the login user.
23. The method according to claim 21, further comprising setting a position of the second character string on the recording medium.
24. The method according to claim 21, further comprising setting size or color of the second character string.
25. A non-transitory computer-readable storage medium storing a program that, when executed by a computer, causes the computer to perform a method of controlling an image forming apparatus, the method comprising: forcefully printing a first character string by a font corresponding to a first language, on a recording medium together with an image based on image data; and printing a second character string, which is set by a login user, by a font corresponding to a second language, on a recording medium together with the image based on the image data.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
DESCRIPTION OF THE EMBODIMENTS
[0034] The present invention will now be described in detail with reference to the drawings showing an embodiment thereof.
[0035]
[0036] Referring to
[0037]
[0038] Referring to
[0039] On the liquid crystal display unit 401 to which a touch panel sheet is attached, various operation screens and software keys are displayed. The start key 402 is used in, for example, starting an original reading operation. The LED 403, which is provided in the center of the start key 402, is displayed in two colors, i.e. green and red to indicate whether or not the start key 402 is ready for use. The stop key 404 stops an operation underway.
[0040] The ten-digit keypad 405, which is comprised of numerals and character buttons, is used to set the number of copies and switch screens on the liquid crystal display unit 401. The user mode key 406 is for configuring device settings.
[0041]
[0042] Referring to
[0043] The controller 101 is connected to the scanner unit 102, the printer engine 103, the operation unit 106, and the network interface 105 and controls the overall operation of the image processing apparatus 100. The printer engine 103 and the finisher 104 constitute the printer unit 302 in
[0044] The operation unit 106 displays images on the liquid crystal display unit 401 in accordance with instructions from the controller 101 and also outputs what is input by a user with various keys to the controller 101. The network interface 105 is an interface to a network such as NIC, and in the present embodiment, connected to a user authentication apparatus 107 via a network.
[0045] The user authentication apparatus 107 has a user authentication function of authenticating a user based on a user authentication protocol such as the LDAP (Lightweight Directory Access Protocol). Specifically, when a user performs a login operation by inputting authentication information such as a login name and a password, the input authentication information is transmitted to the user authentication apparatus 107 by the controller 101.
[0046] The user authentication apparatus 107 searches for user information, which is stored in an internal database, not shown, using the received authentication information. When a user that matches the authentication information is stored (authentication is successful), the user authentication apparatus 107 sends user information including, for example, display language information, which is to be displayed on the display unit 106, to the controller 101. Based on the received user information, the controller 101 switches display languages and displays a control screen for execution of jobs such as copying on the liquid crystal display unit 401. It should be noted that the image processing apparatus 100 may be equipped with the user authentication function of the user authentication apparatus 107.
[0047]
[0048] Referring to
[0049] The CPU 201 controls the controller 101. The memory 202, which is a volatile storage device, stores various data such as programs, which are to be executed by the CPU 201, and image data, and is also used as a work area for the CPU 201.
[0050] The ROM 210, which is a nonvolatile storage device, stores various data such as a boot program and programs which are to be expanded on the memory 202. The DISK 211, which is a nonvolatile storage device such as a hard disk, stores various data such as programs and image data.
[0051]
[0052] In the following description, a screen that is displayed in the image processing apparatus 100, which displays screens in Japanese under normal conditions, when a language appropriate to a user is English is taken as an example. It should be noted that languages used in the image processing apparatus 100 should not be limited to Japanese and English.
[0053]
[0054] The input division ID and password are stored in the memory 202. After entering the ID and password information, the user depresses a login button 503. When the login button 503 is depressed, the division ID and password stored in the memory 202 are transmitted to the user authentication apparatus 107 by way of a network interface 205.
[0055] The user authentication apparatus 107 performs user authentication based on the received authentication information, and when the user authentication is successful, the user authentication apparatus 107 transmits user information stored in advance in an internal database to the image processing apparatus 100.
[0056] The controller 101 receives the user information transmitted from the user authentication apparatus 107 and stores the received user information in the memory 202. As a result, the image processing apparatus 100 can identify the user who has logged in to the image processing apparatus 100. It should be noted that the user information also includes information about whether or not the user has an administrator right. In the following description, a user who has an administrator right will be referred to as an administrator, and a user who has no administrative right will be referred to merely as a user. Further, in accordance with display language information for the user included in the user information, the controller 101 displays a main menu screen 504 shown in
[0057]
[0058]
[0059]
[0060] When the CPU 201 determines that a user has depressed the login button 503 on the authentication screen 500 described with reference to
[0061] As a result of the determination in the step S602, when a division ID and a password have not been input (NO in the step S602), the process returns to the step S601. On the other hand, when the CPU 201 determines that a division ID and a password have been input (YES in the step S602), it creates authentication information on the user who has logged in based on the LDAP (step S603) and transmits the created authentication information to the user authentication apparatus 107 (step S604).
[0062] The CPU 201 then determines whether or not it has received user information corresponding to the transmitted authentication information from the user authentication apparatus 107 (step S605). As a result of the determination in the step S605, when the CPU 201 has not received the user information (NO in the step S605), it determines whether or not a prescribed time period has elapsed since the login button 503 was depressed (step S606). This prescribed time period is determined in advance so as to determine whether or not a user authentication time-out period has elapsed.
[0063] As a result of the determination in the step S606, when the prescribed time period has not elapsed (NO in the step S606), the process returns to the step S605. On the other hand, as a result of the determination in the step S606, when the prescribed time period has elapsed (YES in the step S606), the CPU 201 displays, on the liquid crystal display unit 401, an error message saying that the user authentication is not successful (step S607), followed by the process returning to the step S601.
[0064] The process returns to the step S605, and as a result of the determination in the step S605, when the CPU 201 has received the user information (YES in the step S605), it stores display language information included in the user information in the memory 202 (step S608). The CPU 201 then displays a main menu screen in a language specified in the display language information on the liquid crystal display unit 401 (step S609) and terminates the process.
[0065] Referring next to
[0066]
[0067] To forcefully merge an image with an original image, the administrator depresses a number-of-copies print extended function ON button 701 on the administrator setting screen 700. On the other hand, when no image is to be forcefully merged with an original image, the administrator depresses a number-of-copies print expended function OFF button 702.
[0068] After depressing the number-of-copies print extended function ON button 701, the administrator is allowed to select a type of an image to be forcefully merged with an original image such as ID/user name, Date, and Character displayed below the number-of-copies print extended function ON button 701.
[0069] For example, to merge an image of an arbitrary character string with an original image, the administrator depresses a character string adding function button 703 and then depresses a Next button 704. As a result, a character string input screen 705 shown in
[0070] Then, when the administrator depresses an input button 706 on the character string input screen 705, a keyboard screen 707 shown in
[0071] It should be noted that a character string is stored in a language-independent character code such as UTF-8, not a language-dependent character code such as SHIFT-JIS or EUC. Moreover, a character string input by the administrator and display language information on the administrator are never rewritten by any user who has no administrator right, but they are rewritten only when the administrator himself/herself switches display languages or registers a character string again.
[0072] When the administrator depresses the OK button 708 in
[0073] The character string adjustment screen 711 is for adjusting the character string selected on the character string deciding screen 709 to left-aligned, centered, or right-aligned one. On this screen, when a plurality of character strings is selected, a layout of the character strings with different lengths is set.
[0074] Referring to
[0075] Referring next to
[0076]
[0077] When the user depresses an Options button 901 on a copy screen 900 shown in
[0078] Next, when the user depresses a Watermark setting button 903 on the print setting screen 902, a merging setting screen 904 in
[0079] When the user depresses a drop down list button 906 on the merging setting button 904, a drop down list 907 is displayed. Subsequently, when the user depresses a Custom button 908 on the drop down list 907, a character string input screen 909 in
[0080] The user inputs a character string using a software keyboard on the keyboard screen 911 and depresses an OK button 912. As a result, a character string deciding screen 913 shown in
[0081] On the confirmation screen 915, the character string 1111's document entered on the keyboard screen 911 is displayed. When the user depresses an OK button 916 on the confirmation screen 915, the character string is registered and stored with display language information on the user as composite character string information in the memory 202.
[0082] Although the DISK 211 is used for registration of a character string by an administrator in
[0083]
[0084]
[0085] Referring to
[0086]
[0087] Referring to
[0088]
[0089] Referring to
[0090] The character string field shows a character string to be merged with an original image, the print position field shows a print position of a character string shown in
[0091] When a process involving printing such as a copying process is to be carried out, the merging character string table 1102 is created based on merging character string information on a character string to be merged with an original image. The merging character string table 1102 is provided with a registration character string count field that shows the number of pieces of merging character string information included in the merging character string table 1102, and an index field that identifies each piece of merging character string information.
[0092] When a process involving printing is to be carried out, a merging character string table 1104 including merging character string information 1103 on an administrator is created. Then, a merging character string table 1106 is created by adding merging character string information 1105 on a user to the merging character string table 1104. As a result, the merging character string information 1103 on the administrator and the merging character string information 1105 on the user are registered in the merging character string table 1106.
[0093]
[0094] Referring to
[0095] As a result of the determination in the step S1202, when there is no merging character string information on the administrator (NO in the step S1202), the process proceeds to step S1206.
[0096] On the other hand, as a result of the determination in the step S1202, when there is the merging character string information on the administrator (YES in the step S1202), the CPU 201 obtains the merging character string information on the administrator from the DISK 211 (step S1203). The CPU 201 then increments the merging character string information count N (N=1) (step S1204) and registers the merging character string information on the administrator in the initialized composite character string table (step S1205). At this time, the value of N (N=1) is substituted in the registered character string count field and the index field corresponding to the registered merging character string information on the administrator in the merging character string table.
[0097] The CPU 201 then refers to the memory 202 and determines whether or not there is merging character string information on a user (step S1206).
[0098] As a result of the determination in the step S1206, when there is no merging character string information on the user (NO in the step S1206), the CPU 201 terminates the process.
[0099] On the other hand, as a result of the determination in the step S1206, when there is the merging character string information on the user (YES in the step S1206), the CPU 201 obtains the merging character string information on the user (step S1207). The CPU 201 then increments the merging character string information count N (N=2) (step S1208) and additionally registers the merging character string information on the user in the merging character string table (step S1209). At this time as well, the value of N (N=2) is substituted in the registered character string count field and the index field corresponding to the registered merging character string information on the user in the merging character string table, followed by terminating the process.
[0100] It should be noted that in the process described above, when there is a plurality of pieces of merging character string information on the administrator, the process from the steps S1203 to S1205 is repeated a number of times corresponding to the number of pieces of merging character string information on the administrator.
[0101] Likewise, when there is a plurality of pieces of merging character string information on the user, the process from the steps S1207 to S1209 is repeated a number of times corresponding to the number of pieces of merging character string information on the user.
[0102] The merging character string table thus created is used for image processing that merges a character string with an original image. The process to merge a character string with an original image is controlled by a character string image creation module 1301 which is software.
[0103]
[0104] The character string image creation module 1301 uses a font expansion technique that generates a bitmap image from a character string using a font dependent on a display language and a character string using a font not dependent on a display language such as Unicode. There are various font expansion techniques for generating a character string as a bitmap image such one which uses a bitmap font and one which uses a vector font, and according to the present invention, any technique may be used.
[0105] Referring to
[0106] It should be noted that the character string image creation module 1301 recognizes a font type by referring to a font table 1302 shown in
[0107] Some fonts cannot express Japanese like courier. The present embodiment may be applied even to such fonts which support limited languages.
[0108]
[0109] First, the CPU 201 obtains a registered character string count from the registered character string count field in the merging character string table and assumes it as a variable M (step S1401). The CPU 201 then determines whether or not M=0 holds (step S1402). As a result of the determination in the step S1402, when M=0 holds (YES in the step S1402), the CPU 201 terminates the process because there is no character string to be merged with an original image.
[0110] On the other hand, as a result of the determination in the step S1402, when M=0 does not hold (NO in the step S1402), the CPU 201 initializes a counter for courting a character string count k which is the number of character strings whose fonts have already been expanded (character strings have already been merged with an original image) among character strings registered in the merging character string table (k=0) (step S1403).
[0111] The CPU 201 then determines whether or not M=k holds (step S1404). As a result of the determination in the step S1404, when M=k does not hold (NO in the step S1404), the CPU 201 increments k (k=1) (step S1405) and obtains merging character string information whose value in the index field of the merging character string table is equal to k (step S1406). Further, the CPU 201 obtains a character string and a language in the character string filed and the language filed in the merging character string table and obtains a font type by referring to the font table 1302 in
[0112] The CPU 201 then causes the character string image generation module 1301 to carry out a font expansion process. As a result, the character string image generation module 1301 creates a character string image that represents a character string in a font of the obtained type (step S1408). The CPU 201 then carries out a merging process on an original image using a bitmap image which is the character string image output from the character string image generation module 1301 (step S1409), followed by the process returning to the step S1404.
[0113] On the other hand, as a result of the determination in the step S1404, when M=k holds (YES in the step S1402), the CPU 201 determines that all character strings have been merged with the original image and terminates the process.
[0114]
[0115] Referring to
[0116] When the character string merging process in
[0117] Thus, first, processing is performed on merging character string information whose value in the index field of the merging character string table 1106 is 1. A character string Confidential, a print position Upper right, a type Forced, and a language Japanese are obtained from the merging character string information whose value in the index field is 1 (step S1406). Then, the font table 1302 in
[0118] After that, a font expansion process for the character string Confidential is carried out (step S1408), and a character string image 1502 which represents the character string Confidential in mincho is output from the character string image generation module 1301. The original image 1501 and the character string image 1502 are then merged with each other (step S1409) to generate a composite image 1503.
[0119] Then, because M=2 and k=1 hold (NO in the step S1404), k is incremented again (step S1405), so that k=2.
[0120] Therefore, from then on, processing is performed on merging character string information whose value in the index field of the merging character string table 1106 is 2. A character string 1111's document, a print position Lower left, a type User-specified, and a language English are obtained from the merging character string information whose value in the index field is 2 (step S1406). Then, the font table 1302 is referred to using the obtained language as a key, and a font type courier is obtained (step S1407).
[0121] After that, a font expansion process for the character string 1111's document is carried out (step S1408), and a character string image 1504 which represents the character string 1111's document in courier is output from the character string image generation module 1301. The composite image 1503 and a character string image 1504 are then merged with each other (step S1409) to generate a composite image 1505.
[0122] Here, because M=2 and k=2 hold (YES in the step S1404), the character string merging process is terminated. As a result, the composite image 1505 is printed as a final image on a recording medium by the printer unit 302.
[0123] In the character string merging process described above, in an environment where an administrator and a user use different languages, character string images are created by referring to a font table in which a plurality of fonts corresponding to respective ones of a plurality of languages is set. As a result, merging character strings designated by the administrator and the user can be superimposed on an original image and printed without garbling.
[0124] Referring now to
[0125]
[0126] In the font table 1601, the alternative font type means an alternative font used as an alternative to font types. It should be noted that the alternative font can express all languages used in the image processing apparatus 100. For example, mincho in the figure is a font that is able to express not only Japanese but also English.
[0127] A character string merging process in a case where an alternative font is used can be realized by modifying a part of the flowchart in
[0128]
[0129]
[0130] Namely, the process from obtainment of the determination result NO in the step S1404 in
[0131] As a result of the determination in the step S1404, when the variable M corresponding to the number of registered character strings in the merging character string table is not equal to the font-expanded character string count k (NO in the step S1404), the CPU 201 increments k (step S1701) and obtains merging character string information whose value in the index field of the merging character string table is equal to k (step S1702).
[0132] The CPU 201 then determines whether or not M2 holds (step S1703). As a result of the determination in the step S1703, when M2 holds (YES in the step S1703), a plurality of fonts may be used because there is a plurality of registered character strings in the merging character string table. Therefore, to unify fonts for use into one type, the CPU 201 obtains an alternative font type in the font table 1601 (step S1705), followed by the process proceeding to step S1706.
[0133] On the other hand, as a result of the determination in the step S1703, when M2 does not hold (NO in the step S1703), it is unnecessary to use an alternative font because the number of registered character strings in the merging character string table is one, and only a font of one type is used. Therefore, as in the case of the character string merging process in
[0134] The CPU 201 then causes the character string image generation module 1301 to carry out a font expansion process. As a result, the character string image generation module 1301 creates a character string image that represents a character string in a font of the obtained type (step S1706). The CPU 201 then carries out a merging process on an original image using a bitmap image which is the character string image output from the character string image generation module 1301 (step S1707), followed by the process returning to the step S1404.
[0135] Thus, in the character string merging process in
[0136]
[0137] Referring to
[0138] When the character string merging process in
[0139] Therefore, first, processing is performed on merging character string information whose value in the index field of the merging character string table 1106 is 1. A character string Confidential, a print position Upper right, a type Forced, and a language Japanese are obtained from the merging character string information whose value in the index field is 1 (step S1702).
[0140] Then, because M=2 holds (YES in the step S1703), a font type mincho is obtained by referring to the font table 1601 (step S1705).
[0141] After that, a font expansion process for the character string Confidential is carried out using mincho (step S1706), and a character string image 1801 which represents the character string Confidential in mincho is output from the character string image generation module 1301. The original image 1501 and the character string image 1801 are then merged with each other (step S1707) to generate a composite image 1802.
[0142] Here, because M=2 and k=1 hold (NO in the step S1404), k is incremented again (step S1701), so that k=2.
[0143] Therefore, from then on, processing is performed on merging character string information whose value in the index field of the merging character string table 1106 is 2. A character string 1111's document, a print position Lower left, a type User-specified, and a language English are obtained from the merging character string information whose value in the index field is 2 (step S1702).
[0144] Then, because M=2 holds (YES in the step S1703), a font type mincho is obtained by referring to the font table 1601 (step S1705).
[0145] After that, a font expansion process for the character string 1111's document is carried out using mincho (step S1706), and a character string image 1803 which represents the character string 1111's document in mincho is output from the character string image generation module 1301. The composite image 1802 and the character string image 1803 are then merged with each other (step S1707) to generate a composite image 1804.
[0146] Here, because M=2 and k=2 hold (YES in the step S1404), the character string merging process is terminated. As a result, the composite image 1804 is printed as a final image on a recording medium by the printer unit 302.
[0147] As described above, even in a case where a plurality of character string images registered in a plurality of display languages is to be merged with an original image, the character strings can be merged with the original image using an alternative font without causing garbling or the like.
[0148] It should be noted that even when the number of character strings to be merged is one, an alternative font may be used whenever display languages are configured to be changeable.
[0149] It should be noted that although the image processing apparatus 100 according to the present embodiment has the printer unit 302 and the scanner unit 102 as described above, the printer unit 302 and the scanner unit 102 may be dispensed with, and a character string may be merged with an original image obtained from another apparatus or an original image stored in advance in the image processing asparagus 100 to create a composite image, which in turn is printed by another apparatus.
Other Embodiments
[0150] Embodiments of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions recorded on a storage medium (e.g., non-transitory computer-readable storage medium) to perform the functions of one or more of the above-described embodiment(s) of the present invention, and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more of a central processing unit (CPU), micro processing unit (MPU), or other circuitry, and may include a network of separate computers or separate computer processors. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)), a flash memory device, a memory card, and the like.
[0151] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
[0152] This application claims the benefit of Japanese Patent Application No. 2013-193187 field Sep. 18, 2013, which is hereby incorporated by reference herein in its entirety.