The present application claims priority to and incorporates by reference the entire contents of Japanese priority document, 2006-239933 filed in Japan on Sep. 5, 2006.
1. Field of the Invention
The present invention relates to a technology for storing logs.
2. Description of the Related Art
For a security reason, a log is kept in image forming apparatuses. However, if a log memory reaches its full capacity with no available space for a new log, an old log is overwritten with the new one, resulting in loss of necessary logs. Japanese Patent Application Laid-open No. 2006-41764 discloses a conventional technology for storing a log that may cause an overflow of the capacity of a log storage area. In this method, importance is assigned to a log when the log is stored. When the capacity of the log storage area is to be exceeded, a log having low importance is deleted to secure a log storage area, and a log is stored in the secured area.
With the conventional technology, however, because a log having low importance is deleted, a complete record of logs cannot be kept.
It is an object of the present invention to at least partially solve the problems in the conventional technology.
According to an aspect of the present invention, an image forming method includes receiving a print job; storing a first log of receipt of the print job in a storage unit; checking, after the storing, whether an available space on the storage unit is equal to or more than a predetermined size; suspending receipt of a new print job when the available space is less than the predetermined size; converting print data of the print job to image data; forming an image based on the image data; and storing a second log of formation of the image in the storage unit.
According to another aspect of the present invention, an image forming apparatus includes a communication unit that receives a print job; a converting unit that converts print data of the print job to image data; an image-forming unit that forms an image based on the image data; a storage unit that stores therein a first log of receipt of the print job and a second log of formation of the image; and a control unit that checks, after the first log is stored in the storage unit, whether an available space on the storage unit is equal to or more than a predetermined size, and suspends receipt of a new print job when the available space is less than the predetermined size.
According to still another aspect of the present invention, an image forming system includes a host that issues a first print job, and a second print job after the first print job; and an image forming apparatus. The image forming apparatus includes a communication unit that receives the first print job from the host; a converting unit that converts print data of the first print job to image data; an image-forming unit that forms an image based on the image data; a storage unit that stores therein a first log of receipt of the first print job and a second log of formation of the image; and a control unit that checks, after the first log is stored in the storage unit, whether an available space on the storage unit is equal to or more than a predetermined size, suspends receipt of the second print job when the available space is less than the predetermined size, and sends an error message to the host to notify the host of suspension of receipt of the second print job. The host displays the error message on a display unit.
The above and other objects, features, advantages and technical and industrial significance of this invention will be better understood by reading the following detailed description of presently preferred embodiments of the invention, when considered in connection with the accompanying drawings.
Exemplary embodiments of the present invention are explained in detail below with reference to the accompanying drawings.
A controller board 270 to which is connected the printer 100 is connected via a local area network (LAN) to a personal computer PC. A facsimile control unit FCU 287 is connected to an exchanger PBX via a telephone line PN (facsimile communication line). Print is discharged from the printer 100 to a paper stack.
Referring to
The scanner 210 includes a scanning unit 211, and an analog front end (AFE) 212. On a sensor board unit of the scanner 210 are provided a CPU, a read only memory (ROM), and a random access memory (RAM). The CPU controls the scanner 210 by loading a computer program from the ROM into the RAM and executing the computer program. Further, connected to the CPU 261 for a process control through a communication line, operation according to instructions or commands and data communication is performed. The CPU in the scanner 210 performs detection of an original detecting sensor, an HP sensor, a pressure plate open/close sensor, and a cooling fan, and controls ON/OFF. In the scanner 210, a scanner motor driver is driven by a pulse width modulation (PWM) output from the CPU to generate an excitation pulse sequence, and drives a pulse motor for an original scanning drive.
An original is irradiated with from a light source such as a halogen lamp that is energized by a lamp regulator. Reflection light from the original, in other words, a light signal, passes a plurality of mirrors and lenses and is imaged by a charge coupled device (CCD) 207 that includes three line sensors for red (R), green (G), and blue (B) reading. The three-line CCD 207 is provided with respective driving clocks by an image signal processing circuit (the AFE 212) on the sensor board unit SBU, and outputs an analog image signal of each pixel of each of RGB to the AFE 212. The AFE 212 converts the image signal into digital data, that is, image data.
The controller board 270 includes a CPU 272, a document accumulation controller 273, an HDD 271, a local memory (MEM-C) 276, a system memory (MEM-P) 279, a north bridge (NB) 278, a south bridge (SB) 285, a network interface card (NIC) 280, a universal serial bus (USB) 281, an IEEE1394 interface 282, a Centronics interface 283, and a ROM 286. The document accumulation controller 273 can be implemented by ASIC, and includes a rotator 274 and an editor 275. The operation unit 90 is connected to the document accumulation controller 273. The FCU 287 is also connected to the document accumulation controller 273 through a peripheral component interconnect (PCI) bus.
The CPU 272 can communicate document data with the personal computer PC or a server that is connected to the LAN through the NIC or with a personal computer or a server through the Internet. The CPU 272 can also communicate with a personal computer, a printer, a digital camera, and the like through the USB 281, the IEEE1394 interface 282, and the Centronics interface 283.
The south bridge 285, the NIC 280, the USB 281, the IEEE1394 interface 282, the Centronics interface 283, and a media link board (MLB) 284 are connected to the north bridge 278 through the PCI bus. Thus, the MLB 284 is a board that is connected to the engine 260 through the PCI bus. The MLB 284 converts input data into image data, and outputs the converted image data to the engine 260.
To the document accumulation controller 273 are connected the local memory 276, the HDD 271, and the like, and the CPU 272 and the document accumulation controller 273 are connected through the north bridge 278 in a CPU chip set. The document accumulation controller 273 and the north bridge 278 are connected through an accelerated graphics port (AGP).
The CPU 272 controls the MFP 1. The north bridge 278 is connected to the CPU 272, the system memory 279, the south bridge 285, and the document accumulation controller 273. The system memory 279 is used as a graphic memory of the MFP 1. The south bridge 285 is connected to the north bridge 278 and peripheral devices through the PCI bus. To the south bridge 285 is connected a card interface (I/F) 288 for reading data from and writing data to an external ROM and a secure digital (SD) memory card (hereinafter, “SD card”). To the card I/F 288, an SD card read/write device (card reader) is connected, and read of data in the SD card that is connected to the card reader and write of data therein are enabled.
The local memory 276 is used as an image buffer and a code buffer for copies. The HDD 271 stores therein management information such as communication log and print log, image data, text data, computer programs, font data, forms, and look up table (LUT). The operation unit 90 receives input provided by a user and displays information for the user.
A flow of image data among the scanner 210, the printer 100, and the image input/output processor 262 is explained below. The image input/output processor 262 includes a scanner image processor 263 that performs shading correction, scanning gamma correction, and modulation transfer function (MTF) correction on each of RGB image data that are generated by scanning an original image by the scanner 210, and that converts the corrected RGB image data into C, M, Y, and K print color data as necessary, and a printer image processor 264 that converts the RGB image data or cyan (C), magenta (M), yellow (Y), and black (K) print color data into CMYK print data that are suitable for writing units of different colors of C, M, Y, and K, and an image processing interface (I/F) 265 that outputs original scanning image data RGB or CMYK to the document accumulation controller 273, and provides the printer image processor 264 with the image data RGB or CMYK that are output by the document accumulation controller 273.
In the case of one-page copy in which one copy is printed for one original, the CMYK print color data is output from the scanner image processor 263 to the image processing I/F 265, the image processing I/F 265 outputs the image data to the printer image processor 264, and the printer image processor 264 performs magnification change and image processing as necessary, and performs printer gamma conversion and tone processing to output to each writing unit (laser-light emitter).
In the case of continuous copy in which a plurality of copies are printed for one original, the CMYK print color data is output from the scanner image processor 263 to the image processing I/F 265, the image processing I/F 265 outputs the image data to the document accumulation controller 273. The image data is temporarily stored in the local memory 276 or the HDD 271, and is read out for each copy to be provided to the printer image processor 264 from the document accumulation controller 273 through the image processing I/F 265. The printer image processor 264 performs magnification change and image processing as necessary, and performs printer gamma conversion and tone processing to output to each writing unit.
Upon the scanner 210 scanning and registration, or transmission to an external unit, the RGB image data output from the scanner image processor 263 is registered in the HDD 271 through the image processing I/F 265 and the document accumulation controller 273, or is once stored in the local memory 276 or the HDD 271 and then transmitted to an external unit.
When the printer 100 is performing printing of the registered RGB image data or the RGB image data externally received, the RGB image data is provided to the printer image processor 264 through the document accumulation controller 273 and the image processing I/F 265. The printer image processor 264 converts the RGB image data into the CMYK print color data, and then performs magnification change and image processing as necessary, and performs printer gamma conversion and tone processing to output to each writing unit.
Print data provided from the personal computer PC or the server is converted into bitmap data for printing by the controller board 270, and stored in the memory 276 or the HDD 271 through the document accumulation controller 273. The data is then provided to the printer 100 through the image input/output processor 262 to be printed by the printer 100. A log of print jobs (including print of output of the scanner 210, i.e., copy print) in response to input by a user through the operation unit 90 and of print jobs (access log in print commands) received from the personal computer PC or the server, and a print log (state-change log generated by print job) that indicates contents of such jobs are stored in the HDD 271.
The Test Print key 80f is used to print only one page regardless of the set number of pages to be printed to check a print result. The Default Setting key 80d is used to customize the default settings. The Reset key 80f is used to clear the current entry or reset various parameters to default settings. When the Default Setting key 80d is pressed, selection buttons to designate such functions as “default parameter setting” function to set various default parameters, “log management” function, “user rule registration” function, “server/client” setting function, “usage record output” function are displayed. In addition, an application that is selected by priority when no operation is performed for a predetermined time, setting of a time to transit to a low power mode according to International Energy Star Program, and setting of time to transit to an automatic off/sleep mode are possible.
The touch panel 79 displays various function keys, messages that indicate a state of the image forming apparatus, and the like. On the touch panel 79, function selection keys 80g to select “copy” function, “scanner” function, “print” function, “facsimile” function, “storage” function, “edit” function, “registration” function, “combine” function, and is the like are displayed. An input/output screen fixed to a function designated by the function selection key 80g is displayed. For example, when the “copy” function is designated, as shown in
When an operating voltage is applied to the operation unit 90, the operation unit 90 shifts from the power save mode to the operation mode, and displays an input screen (input blocks for a user name and a password are blank being in a state before input) shown in
When a Logout key 80i is pressed, the CPU 272 displays the login input screen 79c on the touch panel 79 the display on the touch panel 79 is returned to the input screen shown in
If a user inputs a user name and a password with administrator authority, when the Default Setting key 80d shown in
The “log management” defines transfer (write to an external memory) of a part or an entire of a log that indicates use records of the printer 100, delete thereof, and handling of a print command when there is a possibility that the accumulated log exceeds the limit.
When the “log management” item on the default setting menu is selected (designated), the operation unit 90 displays the input screen 79d of the “log management” shown in
For example, a print job (command) is issued to the MFP 1 by a user providing input through the operation unit 90 to copy or print out data stored in the MFP 1. A Print command can also be issued by providing print data to the MFP 1 from the personal computer PC as shown in
If the “log management” is set to “input stop”, it is checked whether the log storage area 271m is in the near-full state and the print job is not acceptable (steps S2 and S7). When the print job is acceptable, a space necessary for the print job is secured in the access-log storage area 271ma and the print-log storage area 271mp in the HDD 271 (step S8). In the secured space, the log of the print job (date, time, user ID, etc.) is stored (step S9). An available space in the access-log storage area 271ma and the print-log storage area 271mp is then checked whether it is equal to or more than a specified size (step S10). If the available space is less than the specified size in either of them, a print job is not to be accepted (step S11), and input stop due to the near-full state is specified and displayed on the touch panel 79 (step S12). If “timeout-error alarm” is set in the “log management”, a timer is started (step S13), and if “near-full alarm” is set, a notice of the near-full state is sent to an email address of the administrator (step S14). The print job is then performed (step S5), and the state-change log during printing is stored in the print-log storage area of this time (step S6).
When input stop has been specified, upon receiving a print job, the CPU 272 rejects the print job (step S15). If the timer has been started due to the detection of the near-full state, and then the timer times out (step S16), the personal computer PC, which has requested the print job, is informed of a printer error, and the touch panel 79 displays the printer error due to the near-full state of logs (step S17).
After the space necessary for the print job is secured, a remaining space in the print-log storage area is checked. If the remaining space is less than a specified size, a near-full alarm is issued.
The warning is issued at the point of the near-full state not a full state because, to the MFP 1, print jobs may not sequentially sent from a single unit. Even when a single unit, e.g., the personal computer PC, is connected to the MFP 1 as shown in
After detecting the near-full state, the MFP 1 stops accepting a print job, and enters in a suspended state. If a print job arrives at this time, a message “waiting” is sent to a host (personal computer or server) that has sent the print job so that the host waits until receiving a message “ready”. While the acceptance of a new print job is stopped, because a space to store the log is secured at first for the print job that has already been received, printing and storing the log of the print job are performed. A log at the time of printing is stored in the secured space. As a log during printing, the state-change log (information on reception completion of each page, print completion, etc.) is stored. A notice of the near-full state is displayed on the touch panel 79, and email is sent to the administrator.
When the administrator deletes logs from the HDD 271 to release the near-full state, and as a result, a space equal to or more than the specified size is created in the log storage area, the CPU 272 cancels suspension due to the near-full state. Accordingly, the MFP 1 becomes possible to receive a print job, and a message “ready” is sent to the host to which the message “waiting” has been sent. Upon receiving the message “ready”, the host issues again the print job.
While the log management for print jobs received from the personal computer PC is mainly explained above, the same applies to printing of a stored document in response to a print command input through the operation unit 90. For example, upon receipt of a print command through the operation unit 90, if a space equal to or more than the specified size is not available in the log storage area 271m in the HDD 271 for storing the access log (equivalent to a receipt log), a print job is not to be received thereafter, and an image forming process and storage of a log of print data of the print job that has been received are performed. Similarly, when a print job is received from the personal computer PC or the server, and a space equal to or more than the specified size is not available in the log storage area 271m for storing the receipt log in the log storage area 271m, a print job is not to be received thereafter, and an image forming process and storage of a log of print data of the print job that has been received are performed.
As set forth hereinabove, according to an embodiment of the present invention, a print job is rejected at the point of near-full state, not at the point when the log storage area is fully occupied or there is no space in the log storage area. Thus, loss of a log can be prevented.
Moreover, an administrator can easily recognize that log management is necessary. When a space is not secured because of absence of the administrator or the like, a user can be notified that printing is currently not available.
Furthermore, if the near-full state is not released even after a predetermined time has passed, the user can be notified of the timeout error.
Although the invention has been described with respect to a specific embodiment for a complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art that fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2006-239933 | Sep 2006 | JP | national |