Field of the Invention
The present invention relates to an image forming apparatus capable of combining an additional print image such as a page number, a date, a text string, or the like to an original image and printing a resultant composite image on paper, and a method and a program of controlling an image forming apparatus.
Description of the Related Art
When a copy of an original is generated using an image forming apparatus, it is known to use a composite print function to combine a print image to be added, such as a page number, a date, a stamp, a woven pattern, or the like, to an original image and print a resultant composite image on paper (Japanese Patent Publication No. 2859208). It is also known to configure an image forming apparatus to have a function of performing user authentication using a user authentication technique when the image forming apparatus is started by a user, and provide customization in terms of, for example, a display language depending on the user.
The composite print function is a function of combining an additional print image such as a page number, a date, the number of copies, an arbitrary text string, or the like with an original image. Combining of an additional print image is performed when printing is performed such that a resultant composite image is generated by combining the additional print image with an original image and the resultant composite image is printed.
When a user wants to add a print image, the user may select desired one of composite print functions respectively corresponding to a page number, a date, and the like and may perform printing using the selected composite print function.
For example, to add a page number, a page print function is selected and then a desired template is selected from available page print templates such as only a page number, a page number put between hyphens, a page number with a chapter number, a page number with a total page number, and the like.
To add an arbitrary text string, a character print function is selected and the arbitrary text string to be added is input. Note that a plurality of composite print functions may be selected and enabled at the same time. For example, the page print function and the date print function may be selected and both may be enabled.
After the composite print function is set, if a print job such as a copy job, a print job, or the like is executed, a specified additional print image is combined with an original according to the selected composite print template. In this process, characters to be added are formed using the same character font as that used in a display language selected by a job execution user thereby generating a text string image to be added. The process of generating a text string image using a font is referred to as a font extension.
For example, in a case where when a job is executed in a situation in which “English” is specified as the display language, the font extension is performed using, for example, a Courier font used in “English”. Similarly, in a case where the display language is “Japanese”, the font extension is performed using, for example, a Mincho font used in “Japanese”.
However, when “English” is used as the display language when a job is executed, it is not capable of forming “Japanese” characters using the Courier font used in the “English” display language, and thus the font extension is impossible for the given Japanese characters. That is, when the font extension using a font used in the display language is tried on an arbitrary text string, there is a possibility that a text string image is not generated correctly.
In an aspect of the invention, an image forming apparatus includes a registration unit configured to register an arbitrary text string to be used in composite printing on a print medium, a determination unit configured to determine whether font extension using a font of a display language is possible for the arbitrary text string, and a generation unit configured to generate a text string image to be added such that in a case where the font extension is possible, the text string image to be added is generated using a font of the display language, but in a case where the font extension is not possible, a font allowing the font extension is detected, and the text string image to be added is generated using the detected font.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
Embodiments are described below with reference to accompanying drawings. Note that details of these embodiments are described only by way of example but not limitation.
Reference numeral 106 denotes an operation unit including an LCD display and a keyboard. The operation unit 106 displays information received from the controller 101 and transmits an instruction given by a user to the controller 101. Reference numeral 107 denotes a user authentication apparatus. In the present embodiment, the user authentication apparatus 107 is located outside the image forming apparatus. However, the image forming apparatus may have a function of the user authentication. The user authentication apparatus 107 performs user authentication according to a user authentication protocol such as LDAP or the like. If a user performs a login operation by inputting user authentication information such as a login name a password on the operation unit 106, then the user authentication information is transmitted by the controller 101 to a user authentication apparatus via a network interface (105). Upon receiving the user authentication information, the user authentication apparatus 107 searches for the login name, the password, or the like from user information stored in a database in the user authentication apparatus 107. If a result of the search indicates that the user is a registered user, user information such as a display language to be displayed on the operation unit 106 is transmitted to the controller 101. When the controller 101 receives the user information, the controller 101 switches the display language and displays a job (such as a copy job) control screen on the operation unit 106.
The liquid crystal display 203 and the keyboard 204 are components of the operation unit 106 shown in
The bus 209 is also connected to a printer interface 206, a finisher interface 207, and a scanner interface 208. These are connection interfaces to the printer 103, the finisher 104, the scanner 102, respectively. By reading or writing data from or to various engines via these interfaces, the CPU 201 performs engine operations such as printing, scanning, and the like and acquires various kinds of status information. Image data may be acquired from the scanner 102 or the network interface 105 and may be stored in the disk 211 or the memory 202 in the controller 101. In a case where the memory 202 is of a removable type, image data may be stored in advance in the memory 202 and the memory 202 may be attached to the controller 101 thereby acquiring the image data. The image data stored in the disk 211 is allowed to be moved or copied to the memory 202. Various images may be combined onto the image data on the memory in accordance with the content of the instruction given via the operation unit 106. Note that the printer 103, the finisher 104, and the scanner 102 respectively connected to the printer interface 206, the finisher interface 207, and the scanner interface 208 do not necessarily need to be disposed in the MFP but they may be separately located on a network and the controller 101 of the MFP may control them.
In this process, data is transmitted according to an authentication protocol such as LDAP. A further description of the authentication protocol is omitted herein. When the user authentication apparatus 107 receives the information in terms of the ID and the password, the user authentication apparatus 107 searches the user information stored in an internal database using the ID as a search key and verifies the received user authentication information based on the password. In a case where the password and the ID are valid, the stored user information is transmitted to the controller 101. The application program running on the CPU 201 receives the user information returned from the user authentication apparatus 107 and stores it in the memory 202. When a login operation is performed successfully, the application program switches the screen to a next screen 404 such as that illustrated in
(S501, S502, S503) First, it is determined whether an ID and a password are input by a user by performing an operation on the screen 400 displayed on the liquid crystal display unit 301 and an operation via the ten-key pad 305.
In a case where it is determined that the login button is pressed and the ID and the password are input, the processing flow proceeds to S504. Note that when it is detected that the login button is pressed, a timer is started to measure an elapsed time since the login button is pressed. In a case where any one of the above conditions is not satisfied, the time is reset and the processing flow returns to S501 in which the process waits until all information has been input.
(S504) Based on the input ID and the password, authentication information is generated on the memory 202. The authentication information is based on LDAP, Active Directory, or the like and is capable of being processed by the user authentication apparatus 107. A data structure of the authentication information is not essential to the present disclosure, and thus a description thereof is omitted herein. The processing flow then proceeds to S505.
(S505) The authentication information generated in the memory 202 is transmitted to the user authentication apparatus 107 via the network interface 205. The processing flow then proceeds to S506.
(S506) If the time elapsed since the login button was pressed is within a predetermined allowable range, then the process still waits in S506. In S506, the process waits until the time elapsed since the login button was pressed reaches a timeout value, or information is received from the user authentication apparatus 107 as to whether the user authentication is passed or not. In a case where the time elapsed since the login button was pressed reaches the timeout value, or in a case where the user authentication is not passed, the processing flow proceeds to S511.
In a case where the user authentication is passed, the processing flow proceeds to S507.
The timeout value may be determined to a fixed value by the system, or may be determined by a user.
(S511) An error message indicating that the login was refused is displayed on the liquid crystal display unit 301, and the process waits in S501 until a login operation is performed again.
(S507) User information is received from the user authentication apparatus 107, and the processing flow proceeds to S508.
(S508) User display language information included in the received user information is stored in the memory 202. The user display language information may be stored in the memory only during a period from the login operation to the logout operation by the user, or may be kept in the memory until the next login operation if the memory space allows it.
The processing flow then proceeds to S509.
(S509) The display language is switched, and the processing flow proceeds to S510.
(S510) The language switching process is completed, and a menu screen is displayed in the switched language.
The user information acquired from the user authentication apparatus 107 includes information as to whether the user has an administrative right. The user information as to whether the user has an administrative right is also used to control whether or not to display a screen for setting in terms of additional information to be printed in composite printing.
Procedure by System Administrator to Make Setting in Terms of Composite Printing
After login is made by a user having the administrative right to perform settings associated with defining print image to be added, the screen 600 is displayed. Note that this screen 600 is allowed to be displayed only when login is performed by a user having the administrative right. If an extension print enable button 601 on the screen 600 is pressed, a composite print function is enabled and thus it becomes possible to print an additional print image on a print medium. If an extension print disable button 602 is pressed, this function is disabled. If the extension print enable button has been pressed, it is allowed to select additional information to be printed on the print medium in the composite print mode. More specifically, an administrator is allowed to select information to be added to the print medium from the following: a user name addition function 603; a date addition function 604; and a character addition function 605. Herein, it is assumed that the character addition function 605 is selected and a next button 606 is pressed.
If the next button 606 is pressed, a screen 607 shown in
Herein it is assumed by way of example but not limitation that only characters are specified as a print image to be added. Furthermore, herein it is assumed by way of example but not limitation that the text string given as the print image to be added is printed in an upper right corner of a document. The printing position of the added print image may not be fixed to a particular position, but may be arbitrarily selected by an administrator user.
A back button 618 is used to get back to a previous screen, that is, the setting screen 611 to perform resetting. A cancel button 617 is used to discard all input information.
After the inputting of the text string is completed, the display language may be switched from “Japanese” to “English”. If an OK button on the screen 616 in
If “English” denoted by reference numeral 621 in
Printing in Composite Print Mode (Font Extension)
The printing process starts from “start printing process” in the flow chart in
(S801) An image to be printed is input. After S801, the processing flow proceeds to S802.
(S802) It is determined whether or not an arbitrary text string is set as an image to be added. In a case it is determined in S802 that an arbitrary text string to be added is set, the processing flow proceeds to S804 but otherwise the processing flow proceeds to S803.
(S804) A font used in the display language is acquired. After S804, the processing flow proceeds to S805.
(S805) The input arbitrary text string is acquired. After S805, the processing flow proceeds to S806.
(S806) It is determined whether font extension is possible for the input text string using the acquired font of the display language. In a case where it is determined that the font extension is possible, the processing flow proceeds to S807. In a case where it is determined that the font extension is impossible, the processing flow proceeds to S810.
(S807) A font type used in the display language is acquired. After S807, the processing flow proceeds to S808.
(S808) The font extension is performed using the acquired font type and a print image to be added is generated. After S808, the processing flow proceeds to S809.
(S809) An image is generated by combining the to-be-added print image generated in S808 with an original image. After S809, the processing flow proceeds to S803.
(S803) The resultant composite image generated in S809 is printed. After the printing is completed, the present process in the flow chart is ended.
On the other hand, in a case where it is determined in S806 that the font extension is impossible, the processing is performed as follows.
(S810) A first character in the input arbitrary text string is extracted. After S810, the processing flow proceeds to S811.
(S811) A font is detected that allows it to perform the font extension for the extracted first character. More specifically, in this step S811, as illustrated in
(S812) The font type detected in S811 is acquired. After S812, the processing flow proceeds to S808. Thereafter, steps S808, S809, and S803 are performed sequentially. After these steps, the present process of the flow chart is ended.
On the other hand, in a case where it is determined in S802 that there is no arbitrary text string being set, printing in S803 is performed, and then the present process of the flow chart is ended.
A further detailed description is not given as to the process, in S807, of combining the additional print image with the document. The process of combining the composite print image with the document may be a software process performed by application software or may be a process performed by hardware dedicated to the composite printing process. To add an print image to an original image, it may be allowed to use a font extension technique in which a bitmap image is generated using a font depending on a specific display language and information of a text string using a unicode or the like that does not depend on the display language. As for the font extension technique to generate a text string in the form of a bitmap image, various techniques such as that using a bitmap font, that using a vector font, and the like are known. In the present embodiment, proper one of such font extension techniques may be employed although a further detailed description thereof is omitted herein.
Text String Image Generation Module
The additional print image generation module in S808 may be realized, as illustrated in
As described above, according to the present embodiment, it is possible to perform font extension for an arbitrary text string to be added, for example, as illustrated in
Application to UI Screen
The processing steps from S804 to S812 shown in
Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), 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) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. 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.
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.
This application claims the benefit of Japanese Patent Application No. 2014-242131, filed Nov. 28, 2014 which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2014-242131 | Nov 2014 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
8749844 | Shibano | Jun 2014 | B2 |
20040187061 | Matsuda | Sep 2004 | A1 |
20060075341 | Lin | Apr 2006 | A1 |
20070086031 | Li | Apr 2007 | A1 |
20070088732 | Chen | Apr 2007 | A1 |
20070258661 | Koshi | Nov 2007 | A1 |
20110007351 | Kurumasa | Jan 2011 | A1 |
20110157634 | Shibata | Jun 2011 | A1 |
20110310432 | Waki | Dec 2011 | A1 |
20140153012 | Seguin | Jun 2014 | A1 |
20160034753 | Harada | Feb 2016 | A1 |
Number | Date | Country |
---|---|---|
2852141 | Mar 2015 | EP |
2859208 | Feb 1999 | JP |
2006-007572 | Jan 2006 | JP |
2009-049877 | Mar 2009 | JP |
Number | Date | Country | |
---|---|---|---|
20160156804 A1 | Jun 2016 | US |