This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2016-028770 filed Feb. 18, 2016.
The present invention relates to an information processing apparatus and a non-transitory computer readable medium.
According to an aspect of the invention, there is provided an information processing apparatus including a setting value input unit, a first memory, and a second memory. The setting value input unit displays a setting item selection screen for selecting a setting item for which a setting value is to be input, displays, in response to selection of a setting item on the setting item selection screen, a setting value input screen for inputting a setting value of the setting item, and receives a setting value. The first memory stores an additional program for implementing a newly added additional function. The second memory stores a plug-in program which is configured to be able to dynamically cooperate with a system program that controls the entire information processing apparatus and which contains information for inputting a setting value necessary to implement the additional function. The setting value input unit forms the setting item selection screen and the setting value input screen by obtaining, from the plug-in program, name information about a setting item of the setting value necessary to implement the additional function on the setting item selection screen and information about the setting value to be input for the setting item.
Exemplary embodiments of the present invention will be described in detail based on the following figures, wherein:
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the attached drawings.
First, an image forming apparatus 10 according to a first exemplary embodiment of the present invention will be described.
The image forming system according to the exemplary embodiment includes, as illustrated in
Next, with reference to
As illustrated in
The setting item selection screen 82 is a display screen for selecting a setting item for which a setting value is to be input, and includes selection buttons for selecting various setting items, such as “time setting”, “authentication setting”, and “scan setting”.
Here, the setting functions of time setting and authentication setting are necessary regardless of the functions of the apparatus, whereas the setting functions of scan setting, copy setting, and print setting are necessary because the apparatus has a scan function, a copy function, and a print function.
The example of screen transition illustrated in
Specifically,
In
Various setting values input through the setting value input screens 83 and 84 are stored in a predetermined region, such as a hard disk drive (HDD), by the setting function. Accordingly, a scan application program (hereinafter simply referred to as a scan application) that implements the scan function and a copy application program (hereinafter simply referred to as a copy application) that implements the copy function are able to obtain information that is necessary for the implementation by reading the stored setting values.
Next, a description will be given of the image forming apparatus 10 according to the first exemplary embodiment. In particular, a description will be given of the case of adding an accumulated-document print function to the image forming apparatus 10.
The accumulated-document print function is a function of accumulating print jobs transmitted from the terminal apparatus 20 or the like to the image forming apparatus 10 without immediately executing the print jobs, and executing and printing only a print job selected by a user from among the accumulated print jobs.
Now, with reference to
For example, it is assumed that a scan application developer and a copy application developer who respectively develop a scan application and a copy application for implementing a scan function and a copy function are different from a system developer who develops a system program for controlling the entire apparatus.
In this case, the system developer may create a system program by acquiring information about scan setting and copy setting from the scan application developer and the copy application developer.
However, if an accumulated-document print application developer creates an accumulated-document print application program 41 for adding an accumulated-document print function after the system program has been created and it the system developer receives information about accumulated-document print setting and tries to add a function of inputting a setting value of the accumulated-document print setting to the setting function, the system developer needs to change the system program.
Accordingly, the system developer needs to change or modify the system program every time an application program for adding a new function is created.
In the first exemplary embodiment, as illustrated in
In this way, the accumulated-document print application program 41, which is an additional program for implementing an additional function of accumulated-document printing that has newly been added, and the accumulated-document print setting plug-in program 42 are stored in, for example, a storage device 13 such as an HDD.
The accumulated-document print setting plug-in program 42 is a plug-in program that is configured to be able to dynamically link up with (cooperate with) a system program 50 that controls the entire apparatus and that contains information for inputting a setting value necessary to execute accumulated-document printing, which is an additional function.
Here, the plug-in program is a program having a plug-in function that is able to dynamically link up with another program, such as a program called “dynamic link library”.
In the first exemplary embodiment, the setting function of the system program 50 causes a plug-in program stored in a specific folder to be linked to the system program 50 and changes the setting function on the basis of information provided from the plug-in program.
If the plug-in program stored in the specific folder changes, for example, increases or decreases, the operation of the setting function also changes. However, it is not necessary to modify the code of the system program 50 that provides the setting function.
Thus, according to the first exemplary embodiment, even if no modification is added to the system program 50, the setting function changes in accordance with the added application program.
With the accumulated-document print setting plug-in program 42 being installed in the image forming apparatus 10 and stored in a predetermined folder, for example, the setting function of the system program 50 operates in cooperation with the accumulated-document print setting plug-in program 42. As a result, the setting item selection screen for selecting a setting item for which a setting value is to be input changes, and a selection button for accumulated-document print setting is displayed. If the selection button for accumulated-document print setting is operated, a setting value input screen for accumulated-document print setting is displayed.
The setting function of the system program 50 stores, in a setting value memory 51, a setting value input through the setting value input screen for accumulated-document print setting. Accordingly, the accumulated-document print application program 41 reads the setting value stored in a predetermined region of the setting value memory 51 and thereby obtains the setting value necessary to execute a process.
As illustrated in
The print engine 17 prints an image on a recording medium, such as a print sheet, through the processes of charging, exposure, development, transfer, fixing, and so forth.
The CPU 11 executes a predetermined process on the basis of a system program stored in the memory 12 or the storage device 13 and controls the operation of the image forming apparatus 10. In the first exemplary embodiment, the CPU 11 reads and executes the system program stored in the memory 12 or the storage device 13. Alternatively, the program may be stored in a storage medium such as compact disc read only memory (CD-ROM) and may be provided to the CPU 11.
As illustrated in
The setting value input unit 60 includes a setting item selection screen generator 61, a setting value input screen generator 62, and a controller 63. The setting item selection screen generator 61 generates a setting item selection screen for selecting a setting item for which a setting value is to be input. The setting value input screen generator 62 generates a setting value input screen for inputting a setting value of a setting item selected on the setting item selection screen. The controller 63 controls a setting value input operation.
The setting value input unit 60 forms the setting item selection screen and the setting value input screen by obtaining, from the accumulated-document print setting plug-in program 42, name information about a setting item of the setting value necessary to implement the additional function on the setting item selection screen and information about the setting value input for the setting item.
Specifically, the setting item selection screen generator 61 obtains, from the accumulated-document print setting plug-in program 42, name information about the setting item that needs to be displayed in accordance with addition of a function, and forms a setting item selection screen by using the obtained name information about the setting item for a setting item selection button.
On the other hand, the setting value input screen generator 62 obtains, from the accumulated-document print setting plug-in program 42, information about a setting value to be input for the setting item that needs to be input in accordance with addition of a function, and generates a setting value input screen.
Here, the information about the setting value to be input for the setting item includes the name of the setting value, information about an attribute of the setting value, and information about an identifier for identifying the setting value.
The controller 63 causes the UI unit 70 to display the setting item selection screen generated by the setting item selection screen generator 61. When a setting item is selected on the displayed screen, the controller 63 causes the UI unit 70 to display the setting value input screen corresponding to the selected setting item.
At this time, if the setting item of accumulated-document print setting for which input has become necessary due to addition of the function is selected, the controller 63 causes the UI unit 70 to display the setting value input screen generated based on the information obtained from the accumulated-document print setting plug-in program 42.
The setting value memory 51 stores the setting value input through the setting value input screen, together with information about an identifier for identifying the setting value.
The accumulated-document print application program 41 refers to the identifier stored in the setting value memory 51, and thereby specifies and obtains the setting value that is necessary to implement the additional function.
In the information example illustrated in
Regarding setting value 2, the character string “banner” is set as information about an identifier for identifying the setting value, the information “banner information” is set as the name of the setting value, the type of value “character string” is set as information about an attribute of the setting value, and the information “10 characters or less” is set as the range of the value.
Setting value 1 is related to the restriction on the number of sheets when accumulated-document printing is executed. Setting value 2 is related to the setting of the content to be printed as banner information, for example, at the upper right corner of each sheet when accumulated-document printing is executed.
First,
When the user operates the “setting” button on the menu screen 81a illustrated in
On the setting item selection screen 82a, the setting item selection button with the name “accumulated-document print setting” is added in accordance with the installation of the accumulated-document print setting plug-in program 42.
When the user operates the selection button “accumulated-document print setting” on the setting item selection screen 82a, the screen changes from the setting item selection screen 82a to a setting value input screen 83a, as illustrated in
The setting value input screen 83a is generated on the basis of the information illustrated in
As illustrated in
In response to the input of these setting values, the controller 63 of the setting value input unit 60 stores the input setting values in the setting value memory 51 together with information about their identifiers.
Here, the identifier “restriction” is set for the setting value of the restriction on the number of sheets, and the identifier “banner” is set for the setting value of the banner information. Thus, the setting value “100” is stored in association with the identifier “restriction” and the setting value “presentation material 01” is stored in association with the identifier “banner” in the setting value memory 51, as illustrated in
The accumulated-document print application program 41 specifies the setting values to be obtained by referring to the identifiers “restriction” and “banner”, and obtains the setting value “100” of the restriction on the number of sheets and the setting value “presentation material 01” of the banner information. The accumulated-document print application program 41 then executes an accumulated-document printing process by using the obtained setting values.
Next, an image forming apparatus according to a second exemplary embodiment of the present invention will be described.
The image forming apparatus according to the second exemplary embodiment has a basic configuration similar to that of the above-described image forming apparatus 10 according to the first exemplary embodiment, and thus only the difference therebetween will be described. In the second exemplary embodiment, the same elements as those of the first exemplary embodiment are denoted by the same reference numerals, and the description thereof is omitted.
In the following description of the image forming apparatus according to the second exemplary embodiment, a description will be given of the case of adding, to the image forming apparatus, an email notification function for automatically transmitting an email to a designated destination if the timing or state that is registered in advance occurs. The functional configuration of the image forming apparatus according to the second exemplary embodiment is illustrated in
As illustrated in
In the second exemplary embodiment, an email notification application program 41b for implementing an email notification function and an email notification setting plug-in program 42b containing information for email notification setting are generated and installed in the image forming apparatus.
Also in the second exemplary embodiment, the setting item selection screen generator 61 obtains, from the email notification setting plug-in program 42b, name information about the setting item of email notification setting for inputting a setting value of the email notification function as an additional function, and forms a setting item selection screen by using the obtained name information about the setting item for a setting item selection button.
If the setting item of email notification setting is selected on the setting item selection screen that is displayed, the call information generator 64 obtains screen transition information for shifting to the setting value input screen for inputting a setting value from the email notification setting plug-in program 42b and converts the screen transition information to generate call information. The details of the screen transition information and the call information will be described below. Subsequently, the controller 63b transmits the call information generated by the call information generator 64 to the email notification application program 41b, and thereby makes a call request to the email notification application program 41b to display the setting value input screen.
In this way, the setting value input unit 60b according to the second exemplary embodiment forms a setting item selection screen by obtaining, from the email notification setting plug-in program 42b, name information about the setting item of the setting value necessary to implement the additional function on the setting item selection screen. Also, the setting value input unit 60b obtains screen transition information from the email notification setting plug-in program 42b, generates call information by using the screen transition information if the setting item of the setting value necessary to implement the additional function is selected on the setting item selection screen, transmits the call information, and thereby makes a call request to the email notification application program 41b to display the setting value input screen.
The call request transmitted from the setting value input unit 60b to the email notification application program 41b may include screen configuration information, such as the font and color to be used in the setting value input screen.
In response to the call request including the font size and font type of characters used in the setting item selection screen and color information for displaying the screen, the email notification application program 41b displays the setting value input screen in accordance with the characters and colors of the setting item selection screen.
The email notification application program 41b according to the second exemplary embodiment includes an application process executing unit 91, a setting value memory 92, and a setting value input screen forming unit 93.
The setting value input screen forming unit 93 displays a setting value input screen on the UI unit 70 in response to a screen call request received from the setting value input unit 60b. After a setting value has been input through the displayed setting value input screen, the setting value input screen forming unit 93 provides a screen return notification to the setting value input unit 60b.
The setting value memory 92 stores the setting value input through the setting value input screen. The application process executing unit 91 obtains the setting value stored in the setting value memory 92 and executes the process of the email notification function.
Next, the difference between the configuration according to the second exemplary embodiment and the configuration according to the above-described first exemplary embodiment will be described with reference to
In the first exemplary embodiment, both the setting item selection screen and the setting value input screen are created and displayed by the setting function implemented by the system program. On the other hand, in the second exemplary embodiment, the setting item selection screen is created and displayed by the setting function implemented by the system program as in the first exemplary embodiment, whereas the setting value input screen, which is displayed when the setting item of the additional function on the setting item selection screen is selected, is created and displayed by the email notification application program 41b.
The screen transition information illustrated in
The call information illustrated in
If the above-described call information is transmitted from the controller 63b of the setting value input unit 60b to the email notification application program 41b, the setting value input screen forming unit 93 of the email notification application program 41b receives the argument information “show email notification setting”, forms a setting value input screen for email notification setting, and displays the setting value input screen on the UT unit 70.
After a setting value has been input through the setting value input screen for email notification setting, return destination information “setting top” is transmitted from the email notification application program 41b to the controller 63b, and thereby a notification indicating the return to the setting item selection screen is provided.
When the user operates the “setting” button on the menu screen 81b illustrated in
On the setting item selection screen 82b, a setting item selection button with the name “email notification setting” is added in accordance with the installation of the email notification setting plug-in program 42b.
When the user operates the selection button “email notification setting” on the setting item selection screen 82b, the screen changes from the setting item selection screen 82b to a setting value input screen 83b, as illustrated in
The setting value input screen 83b for email notification setting illustrated in
Specifically, the setting value input screen 83b for email notification setting illustrated in
In contrast, the setting value input screen 83a according to the first exemplary embodiment illustrated in
The above-described exemplary embodiments of the present invention are applied to an image forming apparatus. Alternatively, the exemplary embodiments may be applied to an information processing apparatus other than the image forming apparatus, if the setting function is independent of other various functions in the information processing apparatus.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2016-028770 | Feb 2016 | JP | national |