Image forming apparatus provided with post-processing device

Abstract: An image forming apparatus (10) provided with a post-processing device in a sorter (14) for performing a post-processing on an image-formed sheet includes a unit (11) for reading an image of an original, a unit (12) for forming an image data read by the reading unit (11) on a sheet of paper by performing a predetermined processing on the read image data, and a unit for controlling a direction of the image data to be formed on the sheet of paper for performing the post-processing done by the post-processing device at a specified place of the image-formed sheet of paper. First a mark on a leading sheet is scanned to find out where a staple is to be placed. After the original scanning by a CCD element, the image processing controller decides if it is necessary to rotate the digital image to accomplish that the stapler will be able to put a staple at the defined position. Optionally the post-processing consists in punching.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image forming apparatus, e. g. a copying apparatus, provided with a post-processing device which performs e. g. sorting, stapling, punching, and/or starching and binding. 2. Background of the Related Art An apparatus according to the preamble of claim 1 is known from Patent Abstract of Japan, Vol. 12, No. 303 (P-746), 18. August 1988, referring to JP-A-63074075. This device comprises an input means to input data which determine an angle for rotating the image read by the reading means. Due to this feature, an operator has the possibility to rotate an image after it was read, so that the image will be reproduced in the correct relation against a stapling means, so that stapling can e. g. be performed in the upper left corner of the image, even though the original was introduced into the apparatus with a direction according to which stapling would have been performed in the lower right corner, if the image would not be turned by the apparatus. EP-A-0 324 245 discloses a copier which is arranged to read a bar-code marked on a job sheet which job sheet is placed on the uppermost sheet of a stack of documents to be copied. The job sheet instructs the apparatus on the mode of processing the documents. As explained above, it may be necessary to turn an image as read by the image means, to provide for stapling at the correct location. The operator has to decide whether it will be necessary to turn an image or whether this will not be necessary. In case that he decides that turning is necessary, however this decision is not correct, stapling will be done at a wrong position. This problem always arises when the operator decides erroneously, independent whether he directly inputs the result of his decision via a manual input means or whether this result is at first transmitted into a bar-code which is printed onto a job sheet, and then the apparatus is indirectly informed on said wrong decision when reading said job sheet. SUMMARY OF THE INVENTION It is the object of the present invention to provide an image forming apparatus with which binding can reliably be performed at a desired position. This object is solved by the image forming apparatus according to appended claim 1. When using this apparatus, an operator merely has to draw a mark on the first sheet of paper to be copied, which mark indicates, where binding should be done. When the apparatus then reads the image and reads the mark, it decides by itself whether it is necessary or not to turn the image to perform the binding really at the position as indicated by said mark. Further objects and advantages of the present invention will be apparent from the following description of the preferred embodiments of the invention as illustrated in the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a sectional view showing an overall construction of a copying machine provided with a post-processing device according to an embodiment of the present invention; Fig. 2 is an exemplary plan view showing the copying machine shown in Fig. 1; Fig. 3 is a sectional view showing an auto document feeder (ADF) provided in the copying machine shown in Fig. 1; Fig. 4 is a view showing an outer appearance of an operation panel provided in the copying machine shown in Fig. 1; Fig. 5 is an expanded view showing a fundamental screen appearing on the display section of the operation panel shown in Fig. 4; Fig. 6 is an explanatory view showing a magnification screen appearing on the display section of the operation panel shown in Fig. 4; Fig. 7 is an explanatory view showing a paper-size screen appearing on the display section of the operation panel shown in Fig. 4; Fig. 8 is an explanatory view showing a copy-density screen appearing on the display section of the operation panel shown in Fig. 4; Fig. 9 is an explanatory view showing a copy-number screen appearing on the display section of the operation panel shown in Fig. 4; Fig. 10 is a plan view showing an original-size sensor to be provided in the scanner of the copying machine shown in Fig. 1; Fig. 11 is a sectional view cut on the line XI - XI of Fig. 10 showing the original-size sensor; Fig. 12 is a block diagram showing a control unit included in the copying machine shown in Fig. 1; Figs. 13a to 13d are explanatory views showing how the stapling device shown in Fig. 2 specifies a post-processing location; Figs. 14a and 14b are explanatory views showing a control procedure for rotating image data; Fig. 15 is a flowchart showing the operation of the copying machine shown in Fig. 1; Fig. 16 is an explanatory view showing a copy sheet in which a staple is given at a right place by the stapling device; and Fig. 17 is an explanatory view showing a copy sheet in which a staple is given at a wrong place by the stapling device. DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the description will be directed to an embodiment of the invention as referring to the drawings. Fig. 1 is a sectional view showing an overall construction of a copying machine provided with a post-processing device according to an embodiment of the present invention. Fig. 2 is an exemplary plan view showing the copying machine shown in Fig. 1. The copying machine provided with a post-processing device is a digital copying machine having a stapling device as a post-processing device. As shown in Fig. 1, a reference numeral 10 denotes the overall copying machine, which includes a scanner unit 11, a laser printer unit 12, a multi-stage paper feeder 13 and a sorter 14. As shown in Fig. 3, the copying machine 10 provides an operation panel 15 and an original cover 16 on the top. The operational panel 15 contains various input keys. Herein, the term "original" means a sheet to be copied containing pictures, writing, printing and so forth. A reference numeral 14 denotes a sorter which includes a stapling device 17 functioned as a post-processing device. The stapling device 17 is located on a viewer's side of the sorter 14 as viewed in Fig.2. The stapling treatment is carried out on the right lower portion of the image-copied sheet (shown by an alternate long and short dash line of Fig.2) ejected from the laser printer unit 12. Again, referring to Fig.1, the scanner unit 11 is arranged to have an original platform 18 made of a transparent glass, an automatic document feeder (referred to as an ADF) 19 and a scanner 20. The ADF 19 is arranged to be capable of feeding both surfaces of the original to the scanner 20. After loading a plurality of originals to the copying machine at a time, the ADF 19 operates to automatically feed the originals one by one to the scanner 20 so that one side or both sides of each original is allowed to be read by the scanner 20 in accordance with the operator's selection. Then, the arrangement and the function of the ADF 19 will be described later. Fig.3 is a sectional view showing the ADF 19 included in the copying machine 10 provided with the post-processing device shown in Fig.1. As shown in Fig.3, the ADF 19 is arranged to have an original pick-up roller 23 to be driven through an electromagnetic clutch (not shown), a pair of feeding rollers 24, a solenoid-driven change lever 25 capable of switching a traveling way of an original 22, an original supporting drum (platen roller) 26 to be rotated in two directions (arrow directions shown in Fig.3), a right and a left feeding rollers 27L and 27R for feeding the original 22 to an original reading spot (an exposing spot) 29, the rollers 27L and 27R being operated in concert with the platen roller 26, a right and a left original guides 30L and 30R, a transparent original supporting glass 28, a right and a left original ejecting rollers 31L and 31R, a right and a left solenoid-driven movable guides 32L and 32R to be operated in concert with the original ejecting rollers 31L and 31R, a solenoid-driven original ejecting movable guide 33, an original ejecting path 34, a pair of paper ejecting rollers 35, an ejected-paper tray 36, a reversing travel path 37, one side of which is formed by a solenoid-driven original reversing rotatable guide 39, a pair of reversing rollers 38 driven through an electromagnetic clutch, and a shaft or rotation 40. It is preferable to make the space between the platen roller 26 and the original supporting glass 28 larger than the thickness of the original 22. There are located on the travel path of the original 22 sensors S1 to S5 for sensing an original. When the original 22 is sensed, the sensors S1 to S5 supply the signals to a controller (not shown). This controller serves to operate various electromagnetic clutches and the solenoids at a predetermined timing to be described later so that the original 22 may be fed through the exposing spot 29 to be described later. Next, the description will be directed to the function of the ADF 19. When copying just one side of the original 22, an operator is required to load a plurality of originals 22 on an original tray 21 and specify a copying mode (one-side scanning, number of copies, copy density and the like) with the input keys provided on the operation panel 15. When the operator handles a print switch provided on the operation switch 15, the main motor (not shown) of the ADF 19 starts to be operated. Next, the clutch of the original pick-up roller 23 is switched on so that the original pick-up roller 23 may pick up and feed just one original located at the top of the piled originals 22 set on the original tray 21. At that time, the clutch of the pair of feeding rollers 24 are switched on so that the feeding rollers 24 may be rotated. When the tip of the original 22 being fed reaches the first sensor S1, the solenoid of the change lever 25 is excited so that the change lever 25 may be changed from the location shown by an alternate long and short dash line of Fig.3 to the location shown by a real line. As continuing the feed of the original 22, the tip of the original 22 is guided to the side of the change lever 25 and further to the fourth sensor S4. After the tip of the original 22 is sensed by the fourth sensor S4, the feed of the original 22 is stopped on a timing supported by the platen roller 26 and the right-side roller 27R. Next, the original 22 is started to be fed to the exposing spot 29 of the original supporting glass 28 on a timing taken with the scanner 20. The original 22 is pressed on the surface of the platen roller 26 by the right original guide 30R and the platen roller 26 rotates clockwise. Then, the original 22 passes between the platen roller 26 and the original supporting glass 28 from a right hand side to a left hand side of Fig.3. At the exposing spot 29, the image data of the original 22 is read by the scanner 20. The original 22 passing through the exposing spot 29 is passed under the left original guide 30L and is conveyed toward the left ejecting roller 31L. On a timing when the tip of the original 22 reaches the original ejecting roller 31L, the solenoid of the left movable guide 32L is excited so that the movable guide 32L is pressed against the original ejecting roller 31L as keeping the original 22 laid between the guide 32L and the roller 31L. This results in providing the force of conveyance resulting from the friction of the roller 31L to the original 22. The original 22 is guided along the top of the original ejecting movable guide 33, passes through the original ejecting path 34, and is ejected to the ejected-paper tray 36 by means of a pair of paper ejecting rollers 35. The fifth sensor S5 located on the way of the original ejecting path 34 serves to sense the rear end of the original 22 for determining whether or not the original 22 is ejected on to the tray 36. If a plurality of originals 22 are set on the original tray 21, the next original is fed on a timing when the rear end of the previous original passes through the exposing spot 29. The original tray 21 provides an original sensor (not shown) for sensing whether or not the originals 22 are set. The foregoing operation is repeated until the last original 22 is fed out of the original tray 21. To copy both surfaces of the originals 22, the print switch located on the operational panel 15 is pressed so that the original pick-up roller 23 serves to feed only the top sheet of the originals 22 set on the original tray 21. When the tip of the fed original 22 reaches the first sensor S1, the clutch of a pair of the feeding rollers 24 is switched on so that a pair of the feeding rollers 24 may be rotated. At this time, the solenoid of the change lever 25 remains non-excited in the state that the change lever 25 is located as shown by an alternate long and short dash line shown in Fig.3. Hence, the tip end of the original 22 is guided to the second sensor S2. Then, the feeding of the original 22 is temporarily stopped in the state that the tip end of the original 22 passed through the second sensor S2 is laid between the platen roller 26 and the left feeding roller 27L. Next, the original 22 is fed to the exposing spot 29 of the original supporting glass 28 on a timing taken with the scanner 20. The original 22 is pressed on the surface of the platen roller 26 by the left original guide 30L and the platen roller 26 rotates counterclockwise. Then, the original 22 passes between the platen roller 26 and the original supporting glass 28 from a left hand side to a right hand side of Fig.3. At the exposing spot 29, one side of the original 22 is exposed and the image data is read by the scanner 20. After passing through the exposing spot 29, the original 22 travels under the right guide 30R and is sent to the right original ejecting roller 31R. On the timing when the tip end of the original 22 reaches the original ejecting roller 31R, the solenoid of the right movable guide 32R is made excited so that the movable guide 32R may be pressed against the original ejecting roller 31R as keeping the original 22 laid between the movable guide 32R and the original ejecting roller 31R. The original 22 is conveyed in that state and guided to the reversing travel path 37. Then, the original 22 is conveyed to the third sensor S3 with the reversing roller pair 38. When the tip end of the original 22 reaches the third sensor S3, the solenoid of the original reversing guide 39 is made excited so that the original reversing guide 39 may be rotated on the shaft 40 from the location shown by a real line to the location shown by an alternate long and dash line along an arrow shown in Fig.3, resulting in releasing the reversing path 37. At that time, the solenoid of the change lever 25 is made excited so that the change lever 25 is switched from the location shown by an alternate long and dash line to the location shown by a real line. The tip end of the original 22 is guided to a pair of the feeding rollers 24 by a pair of the reversing rollers 38. The original 22 is guided toward the fourth sensor S4 along the side of the change lever 25 switched to the location shown by a real line. Then, when the tip end of the original 22 is laid between the platen roller 26 and the right feeding roller 27R, the feeding of the original 22 is temporarily stopped. After the rear end of the original 22 is passed through the exposing spot 29, the feeding of the original 22 is started to the exposing spot 29 of the original supporting glass 28 in synchronous with the scanner 20. The original 22 is pressed on the surface of the platen roller 26 by the right original guide 30R and the platen roller 26 rotates clockwise. Then, the original 22 passes between the platen roller 26 and the original supporting glass 28 from a right hand side to a left hand side of Fig.3. At the exposing spot 29, the other side of the original 22 is exposed and the image data of the original 22 is read by the scanner 20. After passing through the exposing spot 29, the original 22 travels under the left guide 30L and is sent to the left original ejecting roller 31L. On the timing when the tip end of the original 22 reaches the original ejecting roller 31L, the solenoid of the right movable guide 32L is made excited so that the movable guide 32L may be pressed against the original ejecting roller 31L as keeping the original 22 laid between the movable guide 32L and the original ejecting roller 31L. This pressing state allows the original 22 to be conveyed. On completion of reading the image data on the second side of the original 22, the solenoid of the original reversing guide 39 is made non-excited so that the original reversing guide 39 may be returned to the location shown by a real line. At the location, the original reversing guide 39 waits for the next original for guiding the tip end of it to a pair of the reversing rollers 38. The original 22 is conveyed as keeping it laid between the movable guide 32L and the original ejecting roller 31L and is guided along the top surface of the original movable guide 33. Then, the original 22 is passed through the original ejecting path 34 and ejected onto the ejected-paper tray 36 by means of a pair of the ejecting rollers 35. In the case that a plurality of originals are set onto the original tray 21, the next original is fed on a right timing when the rear end of the previous original is passed through the exposing spot 29 when exposing the image on the second side of the previous original. The foregoing operation is repeated until the last original 22 is fed out. In turn, the description will be directed to the operation panel 15. Fig. 4 shows an outer appearance of the operation panel 15 provided in the copying machine 10 provided with post-processing device. Fig.5 is an expanded view showing a fundamental screen of a display section located on the operation panel 15 shown in Fig.4. Fig.6 is an explanatory view showing a magnification screen located on the display section of the operation panel 15 shown in Fig.4. Fig.7 is an explanatory view showing a paper-size screen located on the display section of the operation panel 15 shown in Fig.4. Fig.8 is an explanatory view showing a copy-density screen located on the display section of the operation panel 15 shown in Fig.4. Fig.9 is an explanatory view showing a copy-number screen located on the display section of the operation panel 15 shown in Fig.4. As shown in Fig.4, the operation panel 15 provides a display section 41, a print switch 42 and a clear key 43. The display section 41 is located on the substantially center of the operation panel 15 and has an input area containing a transparent touch panel on the surface of a dot-matrix liquid crystal display. The print switch 42 and the clear key 43 are located on the right end of the operation panel 15. Fig.5 shows an expanded fundamental screen appearing when a power switch is turned on. The display section 41 provides a magnification area 91 for selecting a copying magnification, a paper size area 92 for selecting a paper size, a copying density area 93 for selecting a copying density, and a copy number area 94 for selecting a copy number on an upper region and a sort area 95 for selecting a kind of sorting on a lower region. When an operator touches the magnification area 91, the operation panel 15 is switched to the magnification screen shown in Fig.6. When he or she touches the paper size area 92, the operation panel 15 is switched to the paper-size screen shown in Fig.7. When he or she touches the copying density area 93, the operation panel 15 is switched to the copy-density screen shown in Fig.8. When he or she touches the copy number area 94, the operation panel 15 is switched to the copy-number screen shown in Fig.9. Each time he or she touches the sort area 95, the operation panel 15 is switched to the "non-sort", "sort", "group", "stapling sort", and "set of a saddle stitch" screen in sequence. On the expanded fundamental screen shown in Fig.5, an additional function (referred as ADD. FUN. in Fig.5) area 96 for selecting various additional functions is arranged at lower right portion. On the magnification screen shown in Fig.6, there appear a reduction (referred as REDC. in Fig.6) area 91a and an expansion (referred as EXPAN. in Fig.6) area 91b. When the operator touches the reduction area 91a or the expansion area 91b, a fixed magnification is selected. The selected magnification (141% shown in Fig.6) appears on a magnification area 91c located at the upper left portion of the display section 41. On the screen, a reference numeral 91d denotes a zoom-in area and a reference numeral 91e denotes a zoom-out area. The operator can change the copying magnification one percent by one percent by touching these zoom-in and zoom-out areas 91d and 91e. A 100% area 91f means an area for reverting the copying magnification to an equal magnification. A reference numeral 91g denotes an automatic magnification selection (referred as A.M.S. in Fig.6) area for selecting an operation mode in which the apparatus itself operates to automatically set the copying magnification in light of an original size and an image formed paper size. On the screen, an additional function (referred as ADD. FUN. in Fig.6) area 91h for selecting various additional functions is arranged. On the paper-size screen shown in Fig.7, there appear selection areas 92a, 92b, 92c, 92d and 92e. Those selection areas indicate the sizes of the papers stored in a first cassette 57, a second cassette 58, a third cassette 59, a fourth cassette 60 and a fifth cassette 61, respectively. The fifth cassette 61 is an additional large capacity cassette (referred as L.C.C. in Fig.7) according to an operator's desire. Those cassettes are all included in the multi-stage paper feeder 13 of the copying machine 10 shown in Fig.1. When the operator touches any one of the selection areas 92a, 92b, 92c, 92d and 92e, the corresponding cassette is selected so that the number of the selected cassette (for example, the number 2 shown in Fig.7) and the paper size (for example, 8¹/₂× 11 shown in Fig.7) are displayed on a display area 92f. On a display area 92g, the size of the original (for example, 11× 17 shown in Fig. 7) is displayed at the same time. On the paper-size screen shown in Fig. 7, the display section 41 provides an automatic paper selection (referred as A.P.S. in Fig.7) area 92h, an automatic magnification selection (referred as A.M.S. in Fig.7) area 92i, an independent automatic variable magnification selection (referred as I.A.V.M.S. in Fig.7) area 92j, and an additional function (referred as ADD. FUN. in Fig.7) area 92k for selecting various additional functions is arranged. On the copy-density screen shown in Fig.8, there also appear selection areas 93a, 93b, 93c, 93d and 93e. The selection areas 93a and 93b indicate "thin" and "thick" selection areas, respectively, each copying density of which is adjustable at an operator's desire. The selection area 93c indicates an "automatic density" (referred as AUTO. DEN. in Fig.8) selection area for selecting an operation mode in which the apparatus itself operates to automatically set a proper copying density on the basis of a judgment of a density of the original. The selection area 93d indicates a "halftone emphasis" (referred as HALF. EMPHA. in Fig.8) selection area for selecting an operation mode in which a halftone image such as a photograph is emphasized. The selection area 93e indicates an additional function (referred as ADD. FUN. in Fig.8) selection area for selecting various additional functions. On the copy-number screen shown in Fig.9, there also appear a selection area 94a and a selection area 94c for clearance. The selection area 94a is divided into sub areas corresponding to several figures of 0 to 9. With the sub areas, an operator can select his or her desired copy number. When the desired number is selected, the number (for example, 999 shown in Fig.9) is displayed on a display area 94b. Fig.10 is a plan view showing an original-size sensor which is allowed to be provided in the scanner unit 11 of the copying machine 10 shown in Fig.1. Fig.11 is a sectional view cut on the line XI - XI of the original-size sensor shown in Fig.10. In Fig.10, the original cover 16 is abbreviated. The scanner unit 11 may provide the original-size sensor for sensing a size of an original as shown in Figs.10 and 11. The original-size sensor provides two or more pairs of a light emitting element 45 and a photo detector 46. The two or more pairs of the light emitting element 45 and the photo detector 46 are located on the original platform 18 so that one line connected between one pair of the light emitting element 45 and the photo detector 46 is in parallel to another line connected between another pair. That is, the original size may be detected on the basis of determining whether or not a ray of light emitted from each light emitting element 45 reaches the corresponding photo detector 46. The sensed original size is displayed on the display area 92g of the display section 41 (see Fig.7) together with the paper size. For more information about the original-size sensor, see the Japanese Patent Laying Open (KOKAI) No.2-140603 filed by the applicant of the present invention. The same original-size sensor is provided in the original tray 21 of the ADF 19 (see Fig.3) as well. Again, referring to Fig.1, the scanner 20 includes a lamp reflector assembly 50 for exposing an original, a plurality of reflective mirrors 52 for guiding a reflective ray of image from the original to a CCD (Charge Coupled Device) 51, and a lens 53 through which the reflective ray of image from the original is formed on the CCD 51. The scanner unit 11 is arranged to read the image of the original as the scanner 20 is moving along the lower surface of the original platform 18 when scanning the original placed on the platform 18. In the case of using the ADF 19, the scanner unit 11 is arranged to read the image of the original as the original is being conveyed in keeping the scanner 20 stopped at a lower predetermined location of the ADF 19. After various treatments are carried out on the image data read by the scanner 20, the resulting image data is temporarily stored in a memory (not shown). Then, the image data is supplied from the memory to the laser printer unit 12 by which the image is formed on paper. The laser printer unit 12 provides a manual original tray 54, a laser writing unit 55 and an electronic photograph processing unit 56. The electronic photograph processing unit 56 includes a photosensitive drum 62, a charge unit, a develop unit, a transfer unit, a strip unit, a clean unit and a discharge unit located around the photosensitive drum 62. Based on the image data read from the memory, the laser writing unit 55 serves to apply a laser beam to the photosensitive drum 62 for scanning the surface of the photosensitive drum 62. It results in being able to form an electrostatic latent image on the surface of the photosensitive drum 62. The electrostatic latent image is visualized with toner. The visualized toner image is electrostatically transferred from the photosensitive drum 62 onto the surface of the paper fed from the multi-stage feeder 13 and then is fixed on the paper. The paper on which the original image is formed is sent to the sorter 14 and then is processed in the stapling device 17 shown in Fig.2 if necessary. As mentioned above, the multi-stage paper feeder 13 includes the first cassette 57, the second cassette 58, the third cassette 59, the fourth cassette 60 and the fifth cassette 61 to be added according to the operator's desire. In the multi-stage paper feeder 13, the sheets of paper accommodated in the cassette of each stage are fed out to the laser printer unit 12 one by one. In turn, the description will be directed to an arrangement and a function of a control unit included in the copying machine 10 provided with the post-processing device according to this embodiment. Fig.12 is a block diagram showing the control unit included in the copying machine 10 shown in Fig.1. As shown in Fig.12, the control unit is arranged to have an image data input unit 70, an image processing unit 71, an image data output unit 72, a memory 73 composed of a random-access memory, and a central processing unit (CPU) 74. The image data input unit 70 includes a CCD section (referred as CCD SEC. in Fig.12) 70a, a histogram processing section (referred as HIST. PRO. SEC. in Fig.12) 70b and an error diffusing processing section (referred as ER. DIF. PRO. SEC. in Fig.12) 70c. The image data input unit 70 serves to convert the image data read by the CCD 51 (see Fig.1) into the binary data. Then, the image data input unit 70 operates to process the image data with an error diffusion method as forming a histogram with the binary digital data. The processed image data is temporarily stored in the memory 73. That is, the CCD section 70a serves to convert an analog signal corresponding to each pixel density of the image data into a digital signal. Then, an MTF correction, a monochrome correction or a gamma correction is carried out on the digital signal so that the digital signal contains 256 tones (8 bits). The resulting digital signal is output to the histogram processing section 70b. In the histogram processing section 70b, the digital signal output from the CCD section 70a is added for each of 256-tone pixel densities, resulting in obtaining the density data (histogram data). The histogram data is sent to the CPU 74 if necessary or sent as the pixel data to the error diffusing processing section 70c. The error diffusing processing section 70c serves to convert the digital signal of 8 bits/pixel output from the CCD section 70a into one-bit (binary) signal and perform the redistribution operation for accurately representing the local area density of the original image based on the converted signal. This error diffusing processing section 70c employs the error diffusion method which is one kind of pseudo halftone processing, that is, the method for reflecting the binary error on a binary judgment of the adjacent pixels. The image processing unit 71 includes multiple-value processing sections (referred as MUL.-VAL. PRO. SEC., respectively, in Fig.12) 71a and 71b, a synthesizing section (referred as SYN. SEC. in Fig.12) 71c, a density converting processing section (referred as DEN. CONV. PRO. SEC. in Fig.12) 71d, a multiplication changing processing section (referred as MULTI. CHG. PRO. SEC. in Fig.12) 71e, an image processing section (referred as IMAGE PRO. SEC. in Fig.12) 71f, an error diffusing processing section (referred as ER. DIF. PRO. SEC. in Fig.12) 71g and a data compressing processing section (referred as COMPRS. PRO. SEC. in Fig.12) 71h. The image processing section 71 serves to finally convert the input image data into the image data desired by an operator and to output the finally converted image data to the memory 73. All the sections 71a to 71h included in the image processing unit 71 always do not necessarily function. Each of the sections functions if necessary in accordance with a processing of the image data. The multiple-value processing sections 71a and 71b serve to convert the binary data output from the error diffusing processing section 70c into 256-tone data again. The synthesizing section 71c serves to selectively perform a logical operation such as a logical OR, a logical AND or an exclusive OR with respect to each pixel. The data processed by the synthesizing section 71c is the pixel data stored in the memory 73 or the bit data output from a pattern generator (PG). The density converting processing section 71d functions as establishing a proper relation between an input density and an output density of the 256-tone digital signal by referring to a predetermined tone converting table. The magnification changing processing section 71e serves to perform the interpolation of the input data according to a predetermined magnification data and derive a density value corresponding to the interpolated pixel. The magnification changing processing section 71e changes the magnification of the sub scan and then the main scan. The image processing section 71f serves to perform various image treatments of the input pixel data and collect the information about the data row such as an abstraction of the feature. The error diffusing processing section 71g performs the similar processing to the error diffusing processing section 70c included in the image data input unit 70. The data compressing processing section 71h serves to compress the binary data with a run length coding method. When the final image data is completed, the compression of the image data is executed at the final processing loop. The image data output unit 72 is arranged to have a restoring section (referred as RES. SEC. in Fig.12) 72a, a multiple-value processing section (referred as MUL.-VAL. PRO. SEC. in Fig.12) 72b, an error diffusing processing section (referred as ER. DIF. PRO. SEC. in Fig.12) 72c and a laser output section (referred as LASER OUT. SEC. in Fig.12) 72d. The image data output unit 72 operates to restore the compressed image data stored in the memory 73, convert the restored data into an original 256-tone image data, perform the error diffusion of quadruple data, and transfer the resulting data to the laser output section 72d. The quadruple data represents a smoother halftone than the binary data. The restoring section 72a serves to restore the image data compressed by the compressing processing section 71h. Then, the multiple-value processing section 72b performs the similar operation to the multiple-value processing sections 71a and 71b of the image processing unit 71. The error diffusing processing section 72c performs the similar operation to the error diffusing processing section 70c included in the image data input unit 70. In accordance with control signal sent from a sequence controller (not shown), the laser output section 72d serves to convert the digital pixel data into an ON/Off signal of the laser, on which the laser is switched on and off. The data to be processed in the image data input unit 70 and the image data output unit 72 is stored as binary data in the memory 73 because of reducing the volume of the memory 73. For avoiding making the image data inferior, the quadruple data may be processed in the image data input unit 70 and the image data output unit 72. In turn, the description will be directed to the method for specifying where to be post-processed by the stapling device 17 shown in Fig.2. Figs.13a to 13d are explanatory views showing how to specify the post-processing (stapling) location by the stapling device 17 shown in Fig.2. In particular, Figs.13a and 13b are explanatory views showing the state where one mark sheet is placed on a bundle of originals to be copied. Fig.13c is an explanatory view showing the state where a particular mark is given on the mark sheet. Fig.13d is an explanatory view showing the state where the particular mark is read from the mark sheet. As shown in Figs.13a and 13b, at first, one mark sheet 75 is placed on a bundle of originals 22 to be copied. Then, as shown in Fig.13c, an operator writes a particular mark 76 on the mark sheet 75 with a pencil or something. The location of the mark 76 indicates the stapling location specified by the operator. The mark sheet 75 may be an exclusive sheet or a normal copy sheet. The bundle of originals 22 and the mark sheet 75 placed on the bundle of originals 22 are set on the ADF 19 shown in Figs.1 and 2. By operating the print switch of the operation panel 15, the ADF 19 supplies the mark sheet 75 to the scanner unit 11 and the scanner 20 reads the image in a memory area 77 and the location of the mark 76 as shown in Fig.13d. The image data of the original and the data about the location of the mark 76 are temporarily stored in the memory 73 shown in Fig.12. The area corresponding to the data about an original size is checked in the memory by using the data about an original size sensed by the original-size sensor shown in Fig.10. At that time, it is also checked where the mark 76 is located in the memory area 77 for determining where to be post-processed. Fig.13 shows an embodiment wherein the mark sheet 75 is placed on the bundle of originals 22 for specifying where to be post-processed. As another method, the mark 76 may be directly written on the first sheet of originals 22 and the mark 76 may be automatically erased from the image data when the image of the original 22 is read and the read original image is output. Next, the description will be directed to a control procedure for rotating the image data read by the scanner unit. Figs.14a and 14b are explanatory views showing a control procedure for rotating the image data. In particular, Fig.14a shows the image data read from an original, the state where the original image is rotated clockwise 90°, the state where the original image is rotated 180°, that is, reversed, and the state where the original image is rotated counterclockwise 90°. Fig.14b shows how the image data is stored in the memory. As shown in Fig.14a, a reference numeral 81 denotes image data of an original read by the scanner. The image data 81 stored in the memory has the format shown in Fig.14b. Consider that the original image is required to be reoriented according to the location of the stapling device 17 (see Fig.2) and the stapling location specified by an operator (the location of the mark 76 shown in Figs.13c and 13d). If it is necessary to turn the image data 81 clockwise 90°, the image data is read from the memory in the sequence of "U, P, K, F, A, V, Q, L, G, B, ....., Y, T, O, J, E" so as to form the image data 82 and the sequentially read image data is output to the laser printer unit 12 of Fig.1. If it is necessary to reverse the image data 81, the image data is read from the memory in the sequence which allows the image data 83 to be formed. If it is necessary to turn the image data 81 counterclockwise 90°, the image data is read from the memory in the sequence which allows the image data 84 to be formed. As another procedure, it is possible to re-sort the image data temporarily stored in the memory and form the rotated image data in the memory, and then read the rotated image data in sequence. If two or more copy numbers are specified in the apparatus, the reading operation is repeated two or more times. Next, the description will be directed to the operation of the digital copying machine provided with the post-processing device. Fig.15 is a flowchart showing the operation of the copying machine provided with the post-processing device according to the foregoing embodiment. The control of the operation shown in this flowchart is executed by the control unit shown in Fig.12 if the stapling mode is selected on the operation panel 15 shown in Fig.2. As shown in Fig.15, at first, the operator sets the bundle of originals 22 and the mark sheet 75 placed thereon on the ADF 19 shown in Fig.1. Then, the original-size sensor (see Fig.10) starts to be operative for sensing an original size (step ST1). Next, the operator selects some modes such as a copying magnification, a paper size, a copy density, a copy number and a kind of sorter by means of the operation panel 15 (step ST2). When the print switch is pressed on the operation panel 15 (step ST3), the ADF 19 operates to feed the originals one by one to a travel way. The scanner 20 serves to read the image of the original and send the image data to the image data input unit 70 (see Fig.12) in which the image data is converted into a binary data. The binary data is temporarily stored in the memory 73 (step ST4). Then, the process goes to a step ST5. If the print switch is not pressed at the step ST3, the process returns to the step ST1. At the step ST5, it is determined whether or not the fed original is the first one. If it is the first original, the original is recognized as a mark sheet and the mark is read from the first original. The location data indicated in the read mark is processed for sensing the exact location of the mark from the data and determining where to be post-processed (step ST6). If it is not the first original, the image on the original is read. If the storage of the image data to the memory 73 is completed, the image data of the original stored in the memory 73 is processed in the image processing unit 71 on the basis of the mode specified by the operator at the step ST2 (step ST7). At that time, from the location of the stapling device 17 in the sorter 14, it is determined where the image to be formed is directed relative to the sheet of paper. If the rotation of the image data is necessary, the CPU 74 gives an order of rotating the image data so that the image data may be rotated in the memory 73 as shown in Fig.14. The original reading (scanning) and the image processing operations are continued until all the originals on the original tray 21 are fed out (step ST8). The image data is repetitively read out of the memory 73 according to the copy number (N) specified by the operator (step ST9) for forming the specified number of copies in the laser printer unit 12 (step ST10). If it is determined that the rotation of the image data is required at the step ST7, it is possible to read the data from the memory 73 in the sequence of rotating the image. Fig.16 is an explanatory view showing an example in which a staple is given at a right place by the stapling device. Fig.17 is an explanatory view showing an example in which a staple is given at a wrong place by the stapling device. The control unit included in the copying machine provided with the post-processing device serves to rotate the image data so that the staple may be given at a right place of the sheet of paper as shown in Fig.16. That is, the control unit makes contribution to avoiding incorrect placement of the staple as shown in Fig.17. According to the foregoing embodiment, therefore, the post-processing operation is allowed to be automatically performed at a desired spot of an image-formed sheet. Since the stapling device (corresponding to the post-processing device) is located at a predetermined location inside of the sorter 14, the copying machine keeps the overall size unchanged. It means that the copying machine provided with a post-processing device can endure a more strict requirement of the specification than the known apparatus. Many widely different embodiments of the present invention may be constructed without departing from the scope of the present invention as claimed. It should be understood that the present invention is not limited to the specific embodiments described in the specification, except as defined in the appended claims.

Claims: An image forming apparatus provided with a post-processing device (14. 17) for performing a binding on image-formed sheets of papers, said apparatus comprising: means (11) for reading images on originals; means (100) for controlling a direction of the image data to be formed on the sheets of papers; and means for forming the image data on the sheets of papers in response to the direction of the image data as controlled by said controlling means; characterized in that said means (11) for reading images on originals is arranged to additionally read a data mark (76) on a sheet of paper, said mark indicating a specified binding location on the image-formed sheets; and said means (100) for controlling a direction of the image data to be formed on the sheets of paper controls said direction based on the location of said post-processing device (14,17) for performing a binding and the data mark read by said reading means (11) such that the binding of the image-formed sheets of paper by said post-processing device is performed at the binding location as specified by said data mark on the sheet of paper. An image forming apparatus provided with a post-processing device according to claim 1, characterized in that said reading means includes a scanner unit (11) arranged to have an original platform (18) on which an original is placed, a scanner (20) for scanning one side or both sides of each original, an automatic document feeder (19) for automatically feeding originals one by one to a position where said scanner scans the original, and an operation panel (15) through which various operation modes are specified. An image forming apparatus provided with a post-processing device according to claim 2, characterized in that said scanner includes a lamp reflector assembly (50) for exposing an original, a CCD (51) for reading an image of the original, a plurality of reflective mirrors (52) for guiding a reflective ray of image from the original to said CCD, and a lens (53) through which the reflective ray of image from the original is formed on said CCD. An image forming apparatus provided with a post-processing device according to claim 1, characterized in that said image forming means includes a laser printer unit (12) having a manual original tray (54), a laser writing unit (55) and an electronic photograph processing unit (56), said electronic photograph processing unit including a photosensitive drum (62), and a charge unit, a develop unit, a transfer unit. a strip unit, a clean unit and a discharchge unit located around said photosensitive drum. An image forming apparatus provided with a post-processing device according to claim 1, characterized in that said apparatus comprises a multi-stage paper feeder (13) in which two or more bundles of sheets of papers are loaded, for feeding the sheets of papers one by one from each stage. An image forming apparatus according to one of the preceding claims, provided with a post-processing device, characterized in that said post-processing device includes a stapling device (17) for stapling the image-formed sheets of paper. An image forming apparatus provided with a post-processing device according to claim 2, characterized in that said auto document feeder includes two or more sensors (45, 46) for sensing the original being fed at two or more locations of a travel path. An image forming apparatus provided with a post-processing device according to claim 1, characterized in that said control means is arranged to have an image data input unit (70), an image processing unit (71), an image data output unit (72), a memory (73), and a central processing unit (74), said image data input unit being adopted to convert the read image data into a binary data, said image processing unit being adopted to convert the image data into a desired image data, said image data output unit being adopted to output the desired image data, said memory being adopted to temporarily store the image data to be processed, and said CPU being adopted to control said image data input unit, said image processing unit, and said image data output unit. An image forming apparatus provided with a post-processing device according to claim 1, characterized in that said image forming apparatus includes a copying machine (10).

Inventors: NAKAI YASUHIRO, YOSHIURA SHOICHIRO, NAKAI, YASUHIRO, YOSHIURA, SHOICHIRO
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1992
Main classification: G03G15
IPC codes: B42C1, H04N1, B42B4, G03G21, B65H37, G03G15