In the accompanying drawings,
In the following, the present invention will be described in more detail in the form of some preferred embodiments by referring to the accompanying drawings. In the drawings, the same portions are designated by the same reference numerals.
On the top surface of the image reading device 1, there is provided an operation panel 4 including buttons, etc., allowing a user to provide commands to the image reading device or to select its operation or printing mode. On the operation panel 4, provided are Power button 100 for powering ON/OFF of a power source of the device 1; Start button 102 for commanding the device 1 to start the reading and printing of an image, Stop button 104 for commanding the device 1 to stop or cancel the reading and printing of an image, Digital display portion 108 which displays the printing number of sheets, an operation mode of the image reading device 1, layout mode, printing mode, etc., Selection switches 110a and 110b for changing the print number of sheets, selection of a layout, etc. and Setting change button 112 for changing a current setting in various setting items. Further, an alarm lamp for telling the abnormalities of a printer, the absence of modification parameters, etc. may be provided (not shown). As described in detail hereinbelow, various settings, those changing, and the start and stop of the operations commanded or selected by a user are all made on this operation panel.
As shown in
Further, when the transmitting and receiving of signals between the image reading device 1 and printer 2 are made by means of the cable communication or the wireless communication, the inventive image reading device 1 preferably acquires, from the printer 2, its vendor name, vendor peculiar version, model name, product's number, etc. (called “identifying information” hereinbelow). In the case of PictBridge usable as a typical communication standard, a device or an apparatus connected to a printer can obtain the above-listed identifying information of the printer therefrom if a predetermined communication algorithm is incorporated in the device or apparatus. Thus, also in the inventive image reading device, any determined communication algorithm for obtaining the above-listed information is incorporated, and the acquired information regarding the printer 2 will be used as the identifying information of the printer (If the printer 2 can not output the identifying information, or if the image reading device 1 can not obtain the identifying information, the image reading device 1 will identify the printer 2 by other means or execute a printing operation with “no identifying information” as described later.
The scanner portion 24 may be an image detecting device of a type well-known in the art, comprising an image sensor portion 24a (image detecting portion) which applies light on an original image to detect the reflected light therefrom, a motor and its control portion 24b which drive the image sensor portion to scan on an original copy. The light source and position of the image sensor portion 24a are controlled through an I/O portion 24c connected to the common bus 26 under control of CPU 10, and, analog image information signals detected in the image sensor portion are digitized in an A/D conversion portion 24d (image data generating portion), and the digitized image data is stored in the image memory 16. In this regard, the image data read in the scanner portion 24 may be modified in known ways, such as a shading compensation, a color modification, a gamma modification, and an MTF modification, in order to compensate various characteristics of the image sensor. (Information for compensating characteristics of the image sensor may be stored in a shading memory 28, which information may be used at any appropriate timing.)
The operation panels 20 is a panel, provided on the surface of an image reading device 1 as denoted with reference numeral 4 in
As described above, the inventive image reading device 1 is connected with the printer 2 supporting the predetermined communication standard, and transmits an image data directly to the printer 2, enabling the printer to print an image. For such operations, in the inventive image reading device 1, a printer control code is generated from “an image data to be transmitted” in a manner adapted for the predetermined communication standard under the control of CPU 10. The printer control code will be further converted into a USB control code in the USB control portion 22 (image data outputting portion), and subsequently transmitted to the printer 2. Further, in obtaining identifying information from the printer 2, a signal indicating the identifying information may be received from the USB control portion 22. Then, the received signal is converted into a code processible by CPU 10, and stored in the work memory 14. Also, from the USB control portion 22 may be transmitted various control codes for printer's setting about dimensions and/or kinds of printing media or print papers, etc., and, if possible, codes for image quality or resolution of a printed image, in accordance with the predetermined communication standard. For a radio or wireless telecommunication system between the device 1 and the printer 2, the device may be provided with a radio outputting portion (not shown).
In addition, according to the inventive image reading device 1, an original image data which has been read and digitized in the scanner portion 24 is modified based upon modification data so as to be printed with a size or a layout desired or requested by a user on a printing medium. Thus, connected to the above-mentioned common bus 26 is a parameter memory 18 (modification data storage portion), memorizing modification data, parameters and/or other information about the internal setting of a printer required for performing the modification of an original image data (Hereinbelow, parameters for the modification of an image is referred to as “modification parameters”). As described in detail later, an individual modification data stored in the parameter memory 18 is associated with a certain printer.
Moreover, for executing the preparing of the modification data in the image reading device 1 (i.e. realizing a modification data preparing portion), the common bus 26 may be connected with a reference image data memory 19, in which a reference image data representing a reference image may be stored as usable appropriately under the control of CPU.
Still further, in order that an image data may be transferred using a memory card, the device 1 may be provided with a memory card drive 30. In this case, a memory card may be designed to store any image data generated in the device 1. Further, as described in “Summary of Invention”, when a modification data, prepared for a certain printer at the outside of the image reading device 1, are entered into the image reading device 1 and stored into the parameter memory, the memory card drive functions as a modification data receiving portion. In this case, new modification data are stored into a memory card at the outside of the image reading device. Then, the memory card is set into the drive 30 and the modification data in the memory card is transferred into the parameter memory 18.
Actual structures for transmitting various control codes, structure for wireless communication and/or a drive for memory cards may be provided in a manner known in the art. Further, optionally, a means for transmitting an image to a PC (not shown) may be provided as in the conventional image reading device.
As described above, the printer 2, directly connected to the inventive image reading device 1 and printing an image, is able to execute “margin-less printing” where an image is printed over the whole surface of a printing medium without leaving unfilled space in a periphery of the medium. In “margin-less printing” mode, the printer 2 prints an image represented by the received image data in a manner that the periphery of the image is printed out of a printing medium.
Referring to
However, it is known that, in “margin-less printing” of a typical printer, the periphery of an image extends beyond a printing medium at a certain determined width in each of the four directions of the medium irrespective of the dimension of a received image data. The width extending from the edge of a printing medium depends upon the size of the printing medium. For a sheet of postcard size, the extending width is normally about 3-5 mm. In other words, in “margin-less printing”, when the size of a printing medium is determined in a printer, an ink applied area is so determined as to extend beyond the printing medium at a certain predetermined width, and the dimension of a received image data is adjusted such that the size of an image corresponding to the received image data will coincide with an ink applied area. Thus, irrespective of the dimension of a transmitted image data, a dimension ratio and a position of a region actually appearing on a printing medium (a print region) in the transmitted image data are determined at the respective predetermined values in accordance with the internal setting of the printer. Accordingly, if the dimension ratio of an image data to be transmitted and the print region thereof and the shift of the central point between the transmitted image data and the print region are known for a printer or its model being used, the size and position of the print region in an image data of any arbitrary size are specified. Thus, in the inventive image reading device 1, an original image data to be transmitted to the printer 2 for its printing is modified, using the modification data prepared based upon the size and position of the print region (the region of the image printed on the printing medium) in an image data received by the printer 2, such that the original image data transmitted to and printed with the printer 2 will be printed in a size or with a layout desired by a user on a printing medium set in the printer 2 while the periphery of the image is not unexpectedly cut off as shown in the bottom of
In modifying an original image data, practically, the dimension ratios Nx, Ny (referred to as “scaling factor”, hereinbelow) in X and Y directions between an image data M transmitted to the printer and its print region A and the shift between the center Cm of the image data and the center Ca of the print region A (referred to as “shifting mounts” Sx, Sy, hereinbelow) as shown in
Referring to
Nx=Xmax/Xa
Ny=Ymax/Ya.
When the widths of the peripheral portions of the image data M extending beyond the edge of the printing medium are not equal between the upper and lower sides or between the left and right sides, the center Ca of the print region A and the center Cm of the image data M do not coincide with one another, and therefore the shifting amounts Sx and Sy are given by:
Sx=Xca−Xmax/2
Sy=Yca−Ymax/2.
Thus, in order to print an original image data of size X×Y read and generated by the image reading device in conformity with the entire region of an printing medium, as shown in
In this regard, although the scaling factors are defined separately for X and Y directions in the above, a common scaling factor N may be used for both X and Y directions in the case that the aspect ratio of a received image data is not changed in the printing by the printer, because the scaling factors Nx and Ny become equal to one another. Further, if the centers of the transmitted image data and the print region coincide with one another or if the shifting of those centers may not be minded, the shifting amounts Sx, Sy need not be used. Whether the different scaling factors are used for X and Y directions or not, and whether the shifting amounts are used or not, may be arbitrarily selected by a user. Furthermore, if the size of an image data transmitted from the image reading device to a printer is fixed, coordinates specifying the range of the print region in the transmitted image data may be used as modification parameters, instead of the use of the scaling factors and/or shifting amounts described above. In this case, an original image data or an image data to be printed on a printing medium may be fit into the print region in the transmitted image data specified by the coordinates.
The image modification processing portion for executing the modification of an image as described above is realized by the operation of CPU and the related portions. It should be understood that the processing of images for the above-mentioned modification of images, i.e. enlargement or contraction of the image data or pasting of the image data, may be done by any method convenient for a user. The modification processing is executed in the “normal mode” described later.
As will be understood from the above-mentioned descriptions, modification parameters used as the modification data, such as the scaling factors and shifting amounts or the coordinates specifying the range of a print region, can be determined based upon the size and/or position of a print region in an image data received by a printer. Since a received image data in a normal printer is printed at the number of pixels per unit length which is approximately uniform on a print medium although the aspect ratio of the image may be changed in some cases, the modification parameters can be determined by detecting or analyzing in what size or at what position an image within a transmitted image data is printed without detecting the size or position of the print region. For instance, the above-mentioned scaling factors Nx, Ny and shifting amounts Sx, Sy can be obtained by providing a reference image data representing a reference image including a predetermined pattern such as exemplarily shown in
The preparation of the above-mentioned modification parameters may be executed in any arbitrary method at the outside of the image reading device 1, or may be executed by using the image reading device 1. For the preparation of the modification parameters within the image reading device 1, a modification data preparing portion is established in CPU 10 and the other portions. Upon the preparation of the modification parameters in the image reading device 1, the printer 2 is connected to the image reading device 1, i.e. the printer 2 is rendered to be capable of printing the image data transmitted from the image reading device 1, and then, the preparation of the modification parameters may be executed according to the process exemplarily shown in
Referring to
Then, when the printing of the reference image is completed, the user sets the printed image of the reference image to the image reading device 1 (C4), and provides a command of continuation of processing through the operation panel. In response to the user's command, the image reading device 1 starts reading the printed image of the reference image, and generates an “image data for modification” (C5), and then, modification parameters used for the printer are computed from the image data for modification (C6) through the comparison and analysis of the image data for modification (the printed image of the reference image) and the reference image.
In the case that the preparation of the modification parameters is executed at the outside of the image reading device 1, modification parameters can be prepared by letting the printer 2 print the reference image and by analyzing the result of the printing. However, in this case, the transmission of the reference image data to the printer and the analysis of the printed image of the reference image may be performed by devices other than the image reading device 1.
It should be understood that the image processing for the preparation of the modification parameters, i.e., the detection of a predetermined pattern image, the calculation of its size, the computation of the scaling factors, shifting amounts, etc. may be conducted in accordance with any methods known for those skilled in the art.
As briefly mentioned in the above, modification parameters used as modification data are recorded or stored in the parameter memory 18 while the respective sets of the modification parameters are associated with the corresponding printers. To do this, in the parameter memory 18, there are provided printer information storage areas and modification parameter storage areas as diagrammatically shown in
The printer identifying information associated with the modification data and stored in the memory may typically be the model name of a printer. As already noted, in most of the printers generally distributed in the market, the sizes and positions of print regions in image data transmitted to the printers are common for the same model of printers so that the same modification parameters can be used in modifying image data. Thus, in storing the identifying information of a printer in the parameter memory, the model name of the printer or a signal or sign expressing the model thereof may be stored in one of the printer information storage areas and the modification parameters may be stored for each of the models of printers. However, the modification parameters may be stored for individual printers, instead for model type of printers. In this case, the individual product number or serial number particular to each printers may be used as the identifying information. This manner may be used for the case that the modification of an image could not be satisfactorily performed by means of the modification parameters prepared for the model of a printer being used because of individual variances in the settings of the printer upon their manufacture or aged variances of the condition of the printer during its use.
Further, in addition to the printer identifying information and the modification parameters associated therewith as described above, modification parameters associated with no printer identifying information may be provided in at least one of storage areas as exemplarily shown in
Upon newly storing identifying information of a printer and modification parameters associated therewith in the parameter memory, if the amount of data stored in the parameter memory exceeds a predetermined value and the remaining capacity of the parameter memory has decreased so that no more data can be stored, it is preferable that a part of the already stored modification data is deleted in order to enable storing the identifying information of a printer and modification parameters associated therewith to be newly stored. The information and parameters of the printer to be deleted may be selected by a user, but, alternatively, may be selected automatically. In the automatic selection of the data to be deleted, first, there are taken into account the group of the modification data for printers of which the respective orders of the last time of connection to the image reading device, counted from the oldest one, is within the number being at a predetermined ratio for the total number of all the stored data set. For example, suppose that the number of “k” of sets of the modification parameters are stored, the data to be taken into account here are from “the data for the printer of which the last time of the connection is the oldest” to the “data for the printer of which the order of the last time of the connection counted from the oldest one corresponds to the number of r×k”, where “r” is the predetermined ratio, smaller than 1 such as 0.25. Then, among the data in the group, the modification data for the printer of which the number of the frequencies of connection to the image reading device is the least will be selected automatically for the data to be deleted. In this case, the parameter memory is provided with areas for recording the orders of the last time of the connection and the number of frequencies of the connection to the image reading device for the respective printers (not shown). The orders of the last time of the connection for the respective printers may be determined by measuring the date and time of their connections by means of a clock provided in the image reading device. Alternatively, it may be designed such that, every time a certain printer is connected to the image reading device, the orders of the times of the last connections for the respective printers may be updated while counting the number of the frequencies of the connection for the currently connected printer. The updating of the orders of the last time of the connection of the printers may be done, for example, by assigning the number “1” to the currently connected printer while the numbers of the orders for the rest of the printers are increased by “1” at each time the connection of one of the printers to the image reading device is formed. However, the orders of the modification parameters may be assigned in any other manner.
It should be understood that the signal processing for the storage or saving of the printer identifying information and the modification parameters into the parameter memory, and the deleting of the data from the memory can be done by any method available for those skilled in the art.
The image reading device 1 operates selectively in the “calibration mode” to prepare the modification parameters as described above and in the “normal mode” to read and print an original image. In this regard, just after putting on the electric power, the image reading device 1 may be set up in the normal mode. The operation of the calibration mode is carried out only when instructed by a user through the operation panel 20 (4 in
In the normal mode, in general, the reading of an original image and the generating of the image data thereof are executed together with the acquisition of the identifying information of printer 2 connected to the image reading device 1. Then, the original image data is modified by using the modification parameters selected in accordance with the printer identifying information, and thereby a modified original image data is generated. Thereafter, the modified original image data is transmitted from the image data output portion to the printer 2, and the printing of the image is executed. As already described, since the image data to be printed on a printing medium is pasted into the print region of the modified original image data (refer to
The modification parameters used in C15 are selected in accordance with, for example, the processes described in
After the execution of the process of acquiring the identifying information, it is judged if the identifying formation has been acquired (step 30). If the identifying information is acquired, then a retrieval process is performed to search a set of the identifying information coinciding with the identifying information obtained in this time and the modification parameters associated therewith in the parameter money (step 40). When the identifying information and the corresponding modification parameters are found in the parameter memory (step 50), the modification parameters are selected to be used for the modification of an image data (step 60). For instance, as illustrated in
On the other hand, when the identifying information is not obtained from the connected printer in step 30 and the judgment of “no identifying information” is made, the modification parameters “X” is set for the modification parameters (step 90, see
Further, in the above-mentioned step 50 or 80, if it is judged that the modification parameters associated with the printer 2 do not exist in the parameter memory, it may be so designed that the operation in the normal mode is ceased to interrupt the printing of the image in accordance with the selection by the user. In the case that the operation of the normal mode is stopped and the printing of the image is interrupted, appropriate modification parameters associated with the printer 2 may be prepared through the execution of the above-mentioned calibration mode, and then, in the restart of the normal mode operation, the printing can be done based upon the appropriately modified original image data.
Thus, according to the selection process of modification parameters as shown in
In the case that an image data is transmitted to a printer with a memory card, the printer identifying information for selecting the modification parameters may be manually input to the image reading device 1, or the identifying information already existing in the parameter memory may be selected and the modification parameters associated with the identifying information are used for the modification of an image data. In this case, it may be judged in step 10 if a memory card is set into the drive 30.
Number | Date | Country | Kind |
---|---|---|---|
2006-273072 | Oct 2006 | JP | national |