Abstract:
A print zone setting system has a key input device for inputting print format and the width and height of the area available for printing on a print sheet, and a processor for calculating the lateral and vertical dimensions of the print zone in the area available for printing with reference to the information received from the input means. Since it is not necessary for the operator to calculate the print zone, efficiency in printing operation is remarkably enhanced.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a print zone setting system in a word processing apparatus such as a Japanese word processor. 
     2. Description of the Prior Art 
     In the printing out of document data by the printer of a word processing apparatus, the operator may use print paper of a nonstandard size not conforming to the Japanese Industrial Standard (JIS) such as A4 or B4. With the conventional Japanese word processor, in printing out characters laterally on the nonstandard size paper, the operator sets the number of characters to be printed out on a line with reference to the character size and the print paper width, and the maximum number of lines on the print paper with reference to the character size and the printing pitch. 
     In setting a print format for the conventional Japanese word processor, as mentioned above, the operator must calculate the number of characters on a line and the maximum number of lines on the print paper by himself. It is understood that operation is extremely complicated particularly when the print paper size is not standard. In addition, since calculation of the number of characters on a line and the number of lines on each paper requires the operator to have accurate knowledge of character size, a printing operation is quite difficult. 
     OBJECT AND SUMMARY OF THE INVENTION 
     Objects of the Invention 
     Accordingly, an object of the present invention is to provide a novel print zone setting system in a word processing apparatus. 
     Another object of the present invention is to provide a print margin setting system which automatically calculates a desired print margin with reference to the size of a print paper sheet. 
     Other objects and further scope of applicability of the present invention will become apparent from the detailed description given hereinafter. It should be understood, however, that the detailed description and specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only, since various changes and modifications within the spirit and scope of the invention will become apparent to those skilled in the art from this detailed description. 
     Summary of the Invention 
     According to the print zone setting system of the present invention, in printing document data on a print-receiving sheet of a given size, the print zone can be easily set by measuring and inputting the height and width of the printable area on a desired print-receiving object, so that printing operation efficiency is remarkably increased. 
     The print zone setting system of the present invention includes means for inputting the height and width of the printable area on a print-receiving object as well as the print format, and a processor for receiving the information from the input means, whereby the lateral and vertical length of the print zone on the print-receiving sheet are calculated according to the information on the print format and the height and width of the printable area on the print-receiving sheet input from the input means. 
     According to the present invention, as described above, the print format and the height and width of the printable area on a print-receiving sheet are input via the input means. The processor calculates the lateral and vertical lengths of the print zone on the print-receiving sheet with reference to the data given via the input means. Since it is not necessary for the operator to calculate the size of the printing zone, printing operation efficiency is markedly enhanced. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The present invention will be better understood from the detailed description given hereinbelow and the accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention and wherein: 
     FIG. 1 is a block diagram showing the construction of a Japanese word processor in one embodiment of the present invention; 
     FIG. 2 is a flow chart for explaining the operation of the word processor of FIG. 1; 
     FIG. 3 shows a print sheet on which document data is printed out by a printer included in the word processor of FIG. 1; and 
     FIG. 4 shows an example of the picture on a display included in the word processor of FIG. 1. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 is a block diagram showing the construction of a Japanese word processor of an embodiment of the present invention. The word contains a processor 2 realized, for example, by a CPU (central processing unit) which is connected with a key input device 6. The key input device 6 includes a group of numeral keys 3, a call key 4 and a print key 5. The processor 2 is further connected through a display control 7 to a display 8 realized, for example, by a CRT (cathode ray tube), through a print buffern 9 to a printer 10, and through a controller 11 to a floppy disc device 12 as an external memory. 
     In addition, a program memory 13 realized by ROM (read-only-memory), a document memory 14 realized by RAM (random-access-memory) and a control member 15 realized by a RAM are connected in parallel to the processor 2. The program memory stores programs for operating the processor 2, the document memory 14 stores document data input from the key input device 6, and the control memory 15 stores print format and the height and width of a print-receiving sheet in the respective memory regions for reference in the printing operation of the word processor. 
     FIG. 2 is a flow chart for explaining the operation of the word processor of the present invention. Operation of the word processor of the present invention is described now with reference to FIGS. 1 and 2. Document data stored in the floppy disc device 12 is read and printed out by the word processor. The floppy disc of the floppy disc device 12 includes a control data area 16 and a document data area 17. The control data area 16 stores indexes composed of, for example, numerals of three digits, and the document data area 17 is divided into a plurality of blocks corresponding to the indexes and stores document data in each block. 
     When a desired index of the floppy disc is designated by operating numeral keys 3 and the call key 4 on the key input device 6, the document data corresponding to the index is called out of the floppy disc. The controller 11 controls the floppy disc device 12 for the calling operation. The document data called out of the floppy disc is stored in the document memory 14. The system of the present invention may be designed so that the called document data is presented on the display 3 simultaneously as it is stored in the document memory 14. 
     FIG. 3 shows a print paper 18 on which data is printed out by the printer 10. It is assumed that the width &#34;X&#34; and height &#34;Y&#34; of the print paper 18 do not conform to those specified in JIS (Japanese Industrial Standard) such as A4 or B4. The operator is supposed to measure the lateral dimension &#34;X&#34; and vertical dimension &#34;Y&#34; of the area available for printing (in this embodiment, the entire area) of the print paper. 
     The operational process is described now with reference to FIGS. 2 and 3. In the step &#34;n1&#34; of FIG. 2, the word processor is made to enter the format setting mode by key operation on the key input device 6. In the step &#34;n2&#34;, the lateral dimension &#34;X&#34; of the print paper is input by using numeral keys 3 on the key input means 6. In the step &#34;n3&#34;, the &#34;X&#34; key 20 is depressed to allow the processor 2 to process the input value as the width of the print paper 18. 
     The width &#34;X&#34; thus input is stored in the X memory area 24 of the control memory 15 in the step &#34;n4&#34;. Then in the step &#34;n5&#34;, the processor calculates the value &#34;Nx&#34;, the number of character to be printed out on each lateral line for the width &#34;X&#34; of the print paper, referring to the format data such as character size stored in the format memory area 22 of the control memory 15. The &#34;Nx&#34; characters should fit in the printing zone 28 of the print paper 18. The value &#34;Nx&#34; is stored in the x memory area 26 of the control memory 15 in the step &#34;n6&#34;. 
     In the step &#34;n7&#34;, the vertical dimension &#34;Y&#34; of the print paper 18 is input from the key input means 6. In the step &#34;n8&#34;, the &#34;Y&#34; key 29 is depressed to allow the processor 2 to process the input value as the height of the print paper 18. The value &#34;Y&#34; is stored in the Y memory area 25 of the control memory 15 in the step &#34;n9&#34;. The processor 2 calculates the number of character lines to be printed out on each print paper with reference to the value &#34;Y&#34; stored in Y memory area 25 and the line pitch &#34;P&#34; (see FIG. 4) stored in the format memory area 22 in the step &#34;n10&#34;, and stores it in the y memory area 27 of the control memory 15 in the step &#34;n11&#34;. 
     According to the present invention, as understood from the above, it is extremely easy to set the printing zone 28 of the print paper 18 even when the print paper size does not conform to the provision in JIS. 
     Document data registered in the floppy disc device 12 is read out by the registration name which is stored in the key word memory 21 of the control memory 15. When document data is read from the floppy disc device 12, with the print zone set as described above, it is printed out with reference to the format data (such as character size, line pitch, number of characters on a line, and number of character lines on a page) stored in the control memory 15. The control memory 15 is provided with a line counter 23 which counts the number of lines of the document data, for reference in printing as well as in the vertical movement of the cursor of the display 8. 
     The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications are intended to be included within the scope of the following claims.