Patent Publication Number: US-RE35274-E

Title: Variable magnification copying machine

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a variable magnification copying machine which senses a size of an original to set a magnification of a copying image. 
     2. Description of the Prior Art 
     In a prior art copying machine of this type, a magnification of a copying image is set independently of a size of an original by manipulating a reduction key or an enlargement key. Thus, the size of the original is not directly related to a magnification function. In addition, the prior art copying machine is constructed to enlarge or reduce only originals of standard sizes. Thus, since the orientations and the sizes of the originals are restricted, the copying machine has only several magnification factors. 
     A copying machine which can sense the size of the original has been known. In such a machine, however, indexes such as A 4 , A 3 , B 4  and B 5  are marked to indicate the sizes of the original and an operator reads one of the indexes and depresses one of buttons A 4 , A 3  . . . . In another type of copying machine, instead of the manipulation buttons, a plurality of microswitches are arranged around an original table to sense the size of the original stepwise (Japanese Patent Application No. 54-141682). This copying machine, however, cannot continuously sense the size of the original. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a variable magnification copying machine which can copy an original with a variable magnification as required by a user. 
     It is another object of the present invention to provide a variable magnification copying machine which can copy either a standard size original or a non-standard size original at a magnification determined by longitudinal lengths or lateral lengths of the original and a copy paper. 
     It is another object of the present invention to provide a variable magnification copying machine having first input means for selecting either a longitudinal length or a lateral length of a reference copy paper and second input means for selecting to calculate a ratio of lengths of corresponding sides of an original and a copy paper to automatically determine a magnification or to determine the magnification in accordance with the first input means. 
     It is another object of the present invention to provide a variable magnification copying machine which can copy either a standard size original or a non-standard size original at variable magnifications in different directions of a copy paper. 
     It is another object of the present invention to provide a variable magnification copying machine which allows copying of an image of an original on an entire area of a copy paper. 
     It is a further object of the present invention to provide a variable magnification copying machine which can copy a non-regular size original to produce a regular size copy and enter a size data of the original to a control circuit of the copying machine with a simple construction. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 shows a schematic view of a copying machine to which the present invention is applied; 
     FIG. 2 shows an arrangement for sensing a size of an original; 
     FIG. 3 shows a main electrical block diagram of the present invention; 
     FIG. 4 composed of FIGS. 4A and 4B .[.show.]. .Iadd.shows .Iaddend.an electrical circuit diagram of the present invention; 
     FIG. 5 composed of FIGS. 5A and 5B .[.show.]. .Iadd.shows .Iaddend.a flow chart for an embodiment of the present invention; 
     FIGS. 6-11 show sub-routine flow charts; 
     FIG. 12 shows a RAM map; 
     FIG. 13 shows a display timing chart; 
     FIG. 14 shows a time chart for indicating a size of an original and a magnification to the copying machine; 
     FIG. 15 shows a code list for a given paper size; 
     FIG. 16 shows a sub-routine flow chart for explaining a second embodiment of the present invention; 
     FIG. 17 composed of FIGS. 17A and 17B .[.show.]. .Iadd.shows .Iaddend.a flow chart for explaining a third embodiment of the present invention; 
     FIG. 18 shows a RAM map in the third embodiment; and 
     FIGS. 19-21B show sub-routine flow charts. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Referring to FIG. 1, numeral 1 denotes a photosensitive drum which is rotated in a direction of an arrow by a motor not shown. Arranged on a periphery of the photosensitive drum 1 is a photosensitive member 3 which comprises a conductive base layer, a photoconductive layer and a transparent insulative surface layer. 
     The photosensitive drum 1 is rotated at a constant rotational speed in a non-magnification copy mode and a magnification copy mode. The photosensitive drum 1 is first evenly charged by a D.C. corona charger 4, and then an image of an original 0 is slit-exposed to the photosensitive drum 1 through an optical system to be described later and the photosensitive drum 1 is subjected to a corona discharge by an A.C. corona charger or a D.C. corona charger 5 of opposite polarity to the corona charger 4. 
     The corona charger 5 has a slit through which a light flux passes. Then, the photosensitive drum 1 is flat-illuminated by a lamp 6 so that an electrostatic latent image of high contrast corresponding to an image of the original is formed thereon. 
     The electrostatic latent image is developed to a toner image by a developer 7 to .[.visuarize.]. .Iadd.visualize .Iaddend.the image, and the toner image transferred to a paper P fed to the periphery of the photosensitive drum 1, by a transfer charger 40 of the same polarity as the D.C. corona charger 4. After the transfer, the paper P is separated from the periphery of the photosensitive drum 1 by a separation pawl 9 and fed to a fixer 10 where the toner image is fixed to the paper P. On the other hand, after the transfer, residual toner image on the periphery of the photosensitive drum 1 is removed by a .[.clearner.]. .Iadd.cleaner .Iaddend.11 to prepare the photosensitive for the next copy operation. The paper P of a size determined by the copying magnification and an area of the original to be copied is conveyed from a paper cassette of the corresponding size, not shown, one at a time, by convey means 12 through a paper guide 13 to a transfer station. 
     The original 0 is mounted on a transparent original table 32 and an underside of the original is scanned in a direction of an arrow by an optical system which comprises a first mirror 33, a second mirror 34 which is moved at one half the velocity of the velocity of the first mirror 33 and an illumination lamp 35. The illumination lamp 35 is preferably supported on the same support as the first mirror 33. The first mirror 33 is moved at a velocity equal to a product of a circumferential velocity of the photosensitive drum 1 times a reciprocal of the copying magnification or a focusing magnification of a focusing lens 36. In order to vary the magnification, an optical path length between the lens and the original or between the lens and the photosensitive drum must be changed. When the magnification is unity (m=1), the lens 36, the second mirror 34 and third and fourth mirrors 37 and 38 are positioned as shown by solid lines, and when m&lt;1 (reduction copy mode), the second mirror 34 is moved to a position 34&#39; to change the relative position of the first and second mirrors 33 and 34 of the optical system and the focusing lens 36 is moved to a position 36&#34;. On the other hand, when m&gt;1 (enlargement copy mode), the focusing lens 36 is moved to a position 36&#39; and the third and fourth mirrors 37 and 38 are moved to positions 37&#39; and 38&#39;, respectively. By changing the optical path lengths in this manner, the enlargement and the reduction of the original are attained. 
     During the scanning movement of the first and second mirrors 33 and 34, the lens 36 and the third and fourth mirrors 37 and 38 are fixed and not moved. Numeral 8 denotes a pulse motor which is used to move the lens 36 and the mirrors 34, 37 and 38 in accordance with the selected magnification. 
     FIG. 2 shows an arrangement for measuring a size of an image of the original mounted on an original mount glass. Indication levers 15X and 15Y are arranged along guides in a longitudinal direction (Y direction) and a lateral direction (X direction) of an effective original area, with a point (X 0 , Y 0 ) being an origin point. A wire 16 is fixed to the indication levers 15X and 15Y and it is supported by pulleys 14a and 14b in the X direction and pulleys 14c and 14d in the Y direction. A potentiometer 17X is coupled to the pulley 14a and a potentiometer 17Y is coupled to the pulley 14d. The potentiometer 17X is mechanically coupled to the pulley 14a such that the potentiometer 17X is rotated by ten revolutions when the lever 15X is moved from X 0  to X M . The potentiometer 17Y is coupled to the pulley 14d in a similar manner. 
     FIG. 3 shows a schematic block diagram of the present embodiment and shows an electrical connection of the indication levers 15X and 15Y and the potentiometers 17X and 17Y. As the indication lever .[.15.]. .Iadd.15X .Iaddend.is moved in the X direction, the wire 16 is moved therewith to rotate the pulleys 14a and 14b to rotate the potentiometer 17X. A voltage V(v) is applied across the potentiometer 17X so that it produces an output voltage proportional to the movement of the indication lever 15X. This voltage is converted to a digital signal by an A/D converter 18X and the digital signal is supplied to a microcomputer (μCOM) 19 which calculates the position of the indication lever. The same operation is carried out for the Y direction. In FIG. 3, the pulleys 14c and 14d and the indication lever 15Y are omitted, The calculation results are supplied to a main control circuit (μCOM) 22 of the copying machine to enlarge or reduce the original at a desired magnification. 
     FIG. 4 shows a detailed circuit diagram of FIG. 3, particularly, an internal configuration of the μCOM 19 which is a principal element of the present embodiment. The μCOM 19 may be a well-known one-chip microcomputer such as NEC μCOM 43N. It is 4-bit organized in input ports A-G. It can read data bit by bit and 4 bits in parallel. Each bit is binary weighted, that is, A 1 , A 2 , A 3  and A 4  are weighed by 1, 2, 4, and 8, respectively. Output ports H-N are also 4-bit organized and they can be set to &#34;1&#34; or reset to &#34;0&#34; bit by bit and 4-bits in parallel. They are of latch type structure. Loads are applied to those input/output ports to process the data under program control. The 9-bit A/D converter 18X is coupled to the ports A, B and C 1 , and it converts an analog voltage generated by the potentiometer 17X to a digital signal. The 9-bit digital signal can represent 512 (in decimal notation) states. Thus, when one bit is allocated to one millimeter, the original size up to 512 mm can be read with a resolution of 1 mm. Similarly, a 9-bit A/D converter 18Y is coupled to the ports D, E and C 4  and it reads the original size in the Y direction by an output from a potentiometer 17Y. Again, one bit is allocated to one millimeter. 
     A photo-interrupter (PI) 23 for generating a position pulse for sensing the position of the magnifying optical system is coupled to the port C 2  to determine the position of the optical system. The PI 23 produces a signal by a disc which produces a pulse in response to the movement of the optical system. For example, if a magnification in the X direction or the Y direction is 0.5, the disc rotates counter clockwise to produce pulses at a rate of 50 PCS. If the magnification is 1.5 in the X direction or the Y direction, the disc rotates dockwise to produce pulses at a rate of 50 PCS. 
     A size of the selected paper is supplied in a coded form to the port G. The code is selected as shown in FIG. 15. Numeral 26 denotes a hexadecimal to quadry encoder. 
     Control switches (SW) 27 are coupled to the port F. The switch X is a switch for instructing to read the original size in the X direction. When it is depressed, a high level signal &#34;H&#34; is applied to the port F 4  to instruct the data from the potentiometer 17X and the A/D converter 18X. The switch Y similarly instructs to read original size in the Y direction. The switch M instructs to calculate the magnification and set the magnifying, system in accordance with the calculated magnification. The switch COMPLETE instructs to supply the original size and the calculated magnification to the μCOM 22 of the copying machine. Those data to be processed by the μCOM 19 which can be shared by the μCOM 22 are supplied to the μCOM 22. The μCOM 22 may be NECμPD8085AC(CPU), μPD8212C(I/0 port), μPD8155P(CAM) and μPD2364(ROM). The SW 27 is operated in the sequence of X or Y, M and COMPLETE. 
     The ports I and J 3  and J 4  produce signals as shown in FIG. 13 which are timing signals for dynamically activating a display 20. 
     The port K produces a data for the display 20 as shown in FIG. 13. 
     The ports J 1  and J 2  produce signals for moving the optical system to a selected position by the pulse motor 8. The port J 1  produces the signal for clockwise rotation R and the port J 2  produces the signal for counter clockwise rotation L. Those signals are supplied to a pulse motor drive circuit 30. OSC is connected to the pulse motor drive circuit 30 to determine a drive frequency of the pulse motor 8. (While the pulse motor is shown in the illustrated embodiment, any reversible motor can be used. A unidirectional drive motor (pulse motor) may be used depending on a particular drive system.). The port N sends the magnffication signal M in three-digit number in the sequence of the most significant digit to the least significant digit as shown in FIG. 14. The ports M and L parallelly send the original size signals X and Y in the same format as the magnification signal M. A photo-interrupter (PI) 24 detects a unity-magnification position (1:1 position). Numeral 27 denotes a driver and numerals 28, 29 and 31 denote transistor arrays. 
     Flow charts shown in FIG. 5 et seq are now explained. In a step 4, a power switch is turned on, the content of the RAM is cleared and the signals at the I/O ports are reset. Then, the pulse motor 8 is driven to detect the unity-magnification position by the PI sensor 24. The signal at the port C 3  is read to set the optical system to the unity-magnification position. Then the pulse motor 8 is turned off. 
     In a step 2, the data are written in the RAM of 4-bit: configuration. As shown in FIG. 12, a 3-digit decimal number representing the X direction original size is written in addresses 1 to 3 in 12 bits. It is designated by X. In the step 1, the content of X is 0. 0. 0 (initial value) because the data has not been written. Similarly, the Y direction original size are written in addresses 4-6 as three-digit data Y. Addresses 25-27 are reserved for storing a digital signal representing the lens position. It is designated by PLS. The content of PLS is 1.0.0 for the unity-magnification position. When the magnification is 0.70, the content of PLS is 0.7.0 after 30 pulses have been applied, and when the magnification is 1.41, the content of PLS is 1.4.1 and the original is magnified to the double after 41 pulses have been applied. Addresses 28-30 of the RAM stores the desired magnification in three digits. It is designated by M. In the step 2, M is 1.0.0. 
     Addresses 33-35 and 36-38 (display RAM) store 3-digit display data, respectively. In the step 2, data F.F.F and 1.0.0 are initially set. Each segment decoder driver in display does not light on by the input data F. In a step 3, the data of the display RAM is processed in a sub-routine &#34;sub DPY&#34; to display b.b.b, 1.0.0 on the display 20 (b denotes a blank) to indicate the setting of the optical system at the unity-magnification position. Normally, the display 20 displays at a timing shown in FIG. 13. When either the switch X or the switch Y of the SW 27 is depressed, an interrupt signal is applied to an interrupt terminal INT of the μCOM 19 and the process goes to a step 4. 
     In the step 4, it is checked if the port F 1  .[.if.]. .Iadd.is .Iaddend.&#34;1&#34;, that is, if the switch COMPLETE has been depressed. If the decision is YES, the process goes to a step 5 where a sub-routine &#34;sub SET&#34; for supplying the data to the μCOM 22 is executed, and the process then goes back to the step 3. The &#34;sub SET&#34; for subroutine will be described later. 
     If the decision in the step 4 is NO, the process goes to a step 6 where it is checked if the port F 2  is &#34;1&#34;, that is, if the switch M has been depressed. If the decision is YES, the process goes to a step 7 where the size of the paper loaded to the copying machine is sensed and the paper size data in the X direction is stored at the addresses 9-11 of the RAM in three digit decimal number and the paper size data in the Y direction is stored at the addresses 12-14 in three-digit decimal number. In a step 8, the magnification is calculated and x/X is stored at the addresses 17-19 of the RAM in three-digit number and y/Y is stored at the addresses 20-22 in three-digit number, and the values x/X and y/Y are compared and the smaller one is stored as M at the addresses 28-30 in the three-digit number. Then, the process goes to a step 9. 
     In the step 9, the number of drive pulses is determined in accordance with the calculated magnification and the optical system is moved to the desired position. At the end of the movement, the display RAM is set to display the selected magnification. As a result, b.b.b and N.N.N (selected magnifigation) are displayed in the step 3. 
     If the port F 2  is not &#34;1&#34; in the step 6, the process goes to a step 10 where it is checked if the switch Y has been depressed.[.. If the decision is YES, it is checked.]..Iadd., that is, .Iaddend.if the port F 3  is &#34;1&#34;. If the decision is YES, a sub-routine &#34;sub R. Y&#34; is executed to read the Y coordinate and store it at the addresses 4-6 (Y) of the RAM in three-digit number. 
     If the port F 3  is not &#34;1&#34;, the process goes to a step 11 where it is checked if the port F 4  is &#34;1&#34;, that is, if the switch X-has been depressed. If the decision is YES, the X coordinate is read and it is stored at the addresses 1-3 (X) of the RAM in three-digit number. 
     If the port F 4  is not &#34;1&#34;, it-means that an interrupt request has been issued without valid reason. This is not to occur and indicates that some error has occurred. Since it may be caused by some malfunction, the process is retried from the initialization step. 
     FIG. 6 shows a display sub-routine &#34;sub DPY&#34;. N is counted from 0 to 4 at the address 39 of the RAM to control the output of the ports I and J. At N=0, a signal T 0  is produced at the port I 4  and the data at the address 33 at T 0  is supplied to the port K. A most significant digit is displayed by the outputs of the ports I 4  and K. At N=1, a digit is displayed by the port I 3  and K, and at N=4, the least significant digit is displayed by the ports J 3  and K, and the process goes back to N=0. This process is repeated to produce the timing signal shown in FIG. 13. 
     FIG. 7 shows a sub-routine &#34;sub PAPER SIZE&#34; for writing the paper size. A coded signal (paper size code table shown in FIG. 15) at the port G is read and it is written in the address 8 of the RAM. If the content is code 0, it indicates that size A 3  .[.papers are.]. .Iadd.paper is .Iaddend.loaded longitudinally. 
     Thus, &#34;297&#34; is written in the addresses 9-11 (x) of a paper size memory area, and &#34;420&#34; is written in the addresses 12-14 (y) . The RAM shown in FIG. 12 is illustrated for code 6 which indicates size A4 .[.papers.]..Iadd.paper .Iaddend.loaded laterally. 
     FIG. 8 shows a sub-routine &#34;sub MAGNIFICATION&#34;. In this sub-routine, ratios of the respective sides, that is, x/X and y/Y are calculated to allow the inclusion of the entire image of the original in the copy paper, based on the original size X,Y and the paper size x, y stored in the RAM. In the example shown in FIG. 12, X=420 mm, Y=297 mm, x=297 mm and y=210 mm, and hence x/X and y/Y are 0.70. Thus, data 0.7.0 is stored. More precisely, x/X&gt;y/Y. Thus, the ratio y/Y is stored at M of the RAM. 
     FIG. 9 shows a sub-routine &#34;sub LENS SYSTEM MOVEMENT&#34; for moving the lens system and displaying the magnification. In a step 1, a difference of the content of M subtracted by the content of PLS is written at the addresses 41-43 (CNT) of the RAM 41. In the example shown in FIG. 12, M-PLS=70-100=-30 and hence CNT=-30. In a step 2, it is determined whether the pulse motor 8 is rotated counterclockwise or clockwise depending on whether CNT is positive or negative. If it is positive, the pulse motor 8 is driven clockwise (enlarging direction) and if it is negative, the pulse motor 8 is driven counterclockwise (reducing direction). If CNT is negative, the pulse motor 8 is driven counterclockwise and an absolute value of CNT is decremented by each pulse supplied from the port C 2  at a step 3 until CNT reaches zero, when the pulse motor 8 is stopped at a step 4, and the content of M is transferred to PLS in a step 5 in preparation for the next cycle. Thus, M=0.7.0 and PLS=0.7.0. The process then goes to a step 6. 
     In the step 6, the magnification data M is transferred to the addresses 36-38, and F.F.F is written at the addresses 33-35 to display b.b.b and N.N.N (magnification). 
     FIG. 10 shows sub-routines &#34;sub R.X&#34; and &#34;sub R.Y&#34;. In the sub R.X, a 9-bit A/D convened data is read from the ports A, B and C 1 , and it is converted to a decimal number, which is then written at X of the RAM in three-digit number. The content of X of the RAM is transferred to the addresses 33-35 for display. In the sub R.Y, a 9-bit A/D converted data is read from the ports D, E and C 4  and it is converted to a decimal number, which is then written at Y of the RAM in three-digit number. The content of Y of the RAM is transferred to the addresses 36-38 for display. 
     FIG. 11 shows a sub-routine &#34;sub SET&#34;. In this subroutine, the original size data X and Y and the magnification data M are supplied to the μCOM 22 in serial and the most significant digit first, as shown in FIG. 14 from the ports M, L and N with three-digit pulses of 50 milliseconds width. The magnification data M is supplied from the port N to the control μCOM 22 of the copying machine to determine a scan speed. 
     In a step 1, the most significant digits of the original size data X and Y and the magnification data M are read. That is, the content of the address 1 of the RAM is read to the port M, the content of the address 4 of the RAM is read to the port L and the content of the address 28 of the RAM is read to the port N. 
     In a step 2, after a timer has counted 50 milliseconds, the outputs at the ports M, L and N are reset. The subroutine &#34;sub DPY&#34; is then executed and then the timer again counts 50 milliseconds. In a step 3, the middle digits of the original size data X and Y and the magnification data M are read. That is, the content of the address 2 of the RAM is read to the port M, the content of the address 5 of the RAM is read to the port L and the content of the address 29 of the RAM is read to the port N. In a step 4, after the timer has counted 50 milliseconds, the outputs at the ports M, L and N are reset and the sub-routine &#34;sub DPY&#34; is executed, and then the timer again counts 50 milliseconds. In a step 5, the least significant digits of the original size data X and Y and the magnification data M are read. In a step 6, after the timer has counted 50 milliseconds, the outputs at the ports M, N and L are reset. 
     In the present embodiment, the magnification factor is automatically determined by determining the original size X and Y and the paper size x and y. When a subroutine shown by a flow chart of FIG. 16 is used in place of the sub-routine &#34;sub MAGNIFICATION&#34; shown in FIG. 8, the magnification factor can be determined based on a longitudinal width or a lateral width of the copy paper. 
     The flow chart of FIG. 16 is now explained in detail. When a select key 1 (not shown) is depressed, a sub-routine &#34;AUTO-SELECT&#34; (corresponding to &#34;sub MAGNIFICATION&#34; in FIG. 8) for automatically selecting a reference width of the paper or a select key 2 (not shown) is selected. 
     When the AUTO-SELECT is selected, the reference width of the paper is selected based on the original size and the paper size to determine the magnification factor. When the select key 2 is selected, the select key 2 is depressed and the magnification factor is determined based on the longitudinal width or the lateral width of the paper. 
     When the lateral width is selected as a reference, the ratio y/Y is used as the magnification factor and it is transferred to the addresses 28-30 of the RAM. When the lateral width is selected as a reference, ratio x/X is used as the magnification factor and it is transferred to the addresses 28-30 of the RAM. 
     Thus, by providing the select key 2, the magnification factor can be selectively determined based on the longitudinal width or the lateral width of the paper. 
     In the above description, the magnification factor is determined by the original size and the paper size. By providing a switch for selecting a desired magnification factor, a copy of a desired magnification can be produced. 
     In the second embodiment described above, the longitudinal width and the lateral width are magnified at the same magnification factor. In a third embodiment, ratios of longitudinal sides and lateral sides of the original and the paper are determined and the respective ratios are used as the X direction magnification factor and the Y direction magnification factor so that a non-regular size original can be copied to a regular size paper. 
     The third embodiment is now explained in detail. The circuit configuration therefor is identical to that shown in FIG. 4 and hence it is omitted here. In a flow chart shown in FIG. 17, a step 1 which is identical to the flow chart of FIG. 5 is executed, and in a step 2 the RAM is set. As shown in a RAM map of FIG. 18, a desired magnification factor in the Y direction is stored in the addresses 28-30 of the RAM in three-digit number. It is designated by P. In the step 2, P=1.0.0. 
     Three-digit display data are stored in the addresses 33-35 and the addresses 36-38 (display RAM), respectively. In the step 2, the initial data 1.0.0 and 1.0.0 are set. 
     In a step 3, the data in the display RAM is processed in the sub-routine &#34;sub DPY&#34; shown in FIG. 6 to display 1.0.0 and 1.0.0 on the display 20 to indicate the setting of the optical system as the unity magnification position. Normally, they are displayed at the timing shown in FIG. 13. When one of the switches X and Y of the SW 27 is depressed, an interrupt signal is supplied to the interrupt terminal INT of the μCOM 19 and the process goes to a step 4. 
     In the step 4, it is checked if the port F 1  is &#34;1&#34;, that is, if the switch COMPLETE has been depressed. If the decision is YES, .[.tne.]. .Iadd.the .Iaddend.the processing to a step 5 where a sub-routine &#34;sub&#39; SET&#34; for transferring the data to the μCOM 22 is executed and then the process goes back to the step 3. 
     FIG. 19 shows the sub-routine &#34;sub&#39; SET&#34;. In this sub-routine, the three-digit data of the original size X and Y and the X direction (scan direction) magnification factor x/X are serially transferred by 50 .[.milliseconds.]. .Iadd.millisecond .Iaddend.pulses, the most significant digit first, as shown in FIG. 14, from the ports M, L and N, respectively. The X direction magnification factor is read as the data for the control μCOM 22 of the copying machine to determine the scan speed. 
     If the switch COMPLETE is not depressed, the process goes to a step 6 where it is checked if the port F 2  is &#34;1&#34;, that is, if the switch M has been depressed. If the decision is YES, the sub-routine &#34;sub PAPER SIZE&#34; shown in FIG. 7 is executed in a step 7 and the process goes to a step 8. In the step 8, a sub-routine &#34;sub&#39; MAGNIFICATION&#34; shown in FIG. 20. is executed. In this sub-routine the ratios of the sides to allow the copying of the original image on the entire area of the copy paper are determined based on the original size data X and Y and the paper size data x and y. That is, the ratios x/X and y/Y are calculated to determine the respective magnification factors, which are then stored in the RAM. In the example of FIG. 18, X=420 mm, Y=297 mm, x=297 mm and y=210 mm and hence the ratios x/X and y/Y are 0.70. Thus, 0.7.0 is stored in the RAM. The ratio y/Y is transferred to P of the RAM. The ratio x/X in three-digit number is written in the addresses 17-19 and the addresses 33-35 of the RAM, and ratio y/Y in three-digit number is written in the addresses 20-22 and the addresses 36-38 of the RAM. The Y direction magnification factor y/Y in three-digit number is further written in the addresses 28-30 (P). 
     After the sub-routine &#34;sub&#39; MAGNIFICATION&#34; has been executed in the step 8, the process goes to a step 9. 
     In the step 9, the number of drive pulses is determined based on the calculated magnification factors to move the optical system to the desired position. After the movement, the display RAM is set to display the selected magnification factors. Thus, Nx.Nx.Nx and Ny.Ny.Ny (where Nx is the X direction magnification factor and Ny is the Y direction magnification factor) are displayed on the display 20. 
     FIG. 21 shows a sub-routine &#34;sub&#39; LENS SYSTEM MOVEMENT&#34;.[...]. for moving the lens system and displaying the magnification factors, which is executed in the step 9, is shown. In a step 1, a difference of the content of P subtracted by the content of PLS is written in the addresses 41-43 (CNT) of the RAM. In the example of FIG. 18, PLS=70-100=-30 and hence CNT=-30. In a step 2, it is determined whether the pulse motor 8 is rotated counterclockwise or clockwise depending on whether CNT is positive or negative. If CNT is positive, the pulse motor 8 is rotated clockwise (enlarging direction), and if CNT is negative, the pulse motor 8 is rotated counterclockwise (reducing direction). If the CNT is negative, the pulse motor 8 is rotated counterclockwise and an absolute value of the CNT is decremented by each pulse supplied from the port C 2  in a step 3 until the CNT reaches zero, when the pulse motor 8 is stopped in a step 4 and the content of P is transferred to PLS in preparation for the next cycle. Thus, P=0.7.0, and PLS=0.7.0. In a step 6, the value M is written in the addresses 36-38 for displaying the Y direction magnification factor, and the ratio x/X, that is, the content of the addresses 17-19 is written in the addresses 33-35 for displaying the X direction magnification factor. Thus, the magnification factors Nx.Nx.Nx and Ny.Ny.Ny are displayed. 
     The other steps are identical to the flow chart shown in FIG. 5 and hence they are not explained here. 
     In the present embodiment, the magnification factors in the lateral direction and the longitudinal direction are separately calculated. By providing switches for selecting desired longitudinal and lateral magnification factors, a copy of a desired magnification can be formed. 
     In any of the above .[.embodiment.]. .Iadd.embodiments.Iaddend., the rotational speed of the photosensitive drum may be varied in accordance with the magnification factor in the scan direction with the scan speed being fixed. 
     In any of the above embodiments, when the pulse motor is used, the clock pulse generator 23 may be omitted. In this case, .Iadd.the .Iaddend.the necessary number of pulse motor drive pulses may be supplied from the output ports J 1  and J 2  of the control μCOM 19. 
     In the present embodiment, the magnification factors in the X direction and the Y direction, that is, x/X and y/Y are displayed. Alternatively, an area magnification factor (x x y)/(X x Y) may be displayed. The magnification data and other data supplied to the μCOM 22 are used to remove the contamination by the toner of an excess area of the drum not used for the magnification copying operation. 
     In the present embodiment, the original size data is inputted to the μCOM 19 through the potentiometers 18X and 18Y. Alternatively, it may be manually entered by a ten key, or automatically entered by sensors. 
     As described hereinabove, according to the present invention, the magnification of the copy can be determined based on the longitudinal width or the lateral width of the copy paper. Since the magnification factor need not be calculated for each operation, a non-regular size original can be readily copied to a regular size paper. 
     In accordance with the present invention, either the. regular size original or the non-regular size original can be copied to the regular size paper. Thus, copies need not be patched and a non-regular size copy is avoided. Since the image is reproduced on the entire area of the copy paper, a non-regular size copy can be reproduced from a non-regular size original. In accordance with the present invention, the original size and the density of the copy can be processed with a small number of input device. 
     It should be understood that the present invention is not limited to the illustrated embodiments but various modifications thereof can be made within a scope of the appended claims.