Information processing device having a function of designating a printing-start position

Abstract: An information processing device having a function of designating a printing-start position comprises a keyboard for inputting various data and applying various designation, a printer for printing various data on a sheet, a memory for storing data inputted from the keyboard, a control unit for controlling the printer so that printing is started from a printing-start position when the designation of the printing-start position on the sheet is applied from the keyboard and for reading data from the memory and making the printer print.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an information processing device such as a word processor, having a printing device capable of printing various data on a sheet. In EP-A-0 234 933 a data output control system is described for controlling relative and absolute line and column feeds before and after printing blocks of data whereat the control along a line is based on incrementing the values of the corresponding counters automatically. US-A-4,718,784 describes a printing apparatus and method for printing label designs on blank labels, where the blank labels are organized in rows of one or more labels per row. The printing is controlled by a computer which stores the label designs and graphic images in its memory. The computer generates a list of the label designs to be printed on the current row of blank labels as well as a list of text strings and graphic images to be printed along with information on where each item is to be printed. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an information processing device having a function of designating a printing-start position in which the printing-start position can be designated using a keyboard so that work efficiency is improved in printing. This object is achieved by a device as defined in claim 1 which concerns an information processing device having a function of designating a printing-start position comprises input means for inputting various data and applying various designation, printing means for printing various data on a sheet, storage means for storing data inputted from the input means, printing-start position control means for controlling the printing means so that printing is started from a printing-start position when the designation of the printing-start position on the sheet is applied from the input means, reading means for reading data from the storage means and making the printing means print after the printing-start position control means controls the printing-start position. In this device, data inputted from the input means are stored in the storage means. When the designation of the printing-start position is applied from the input means, the printing-start position control means controls the printing means so that printing is started on a sheet from the designated printing-start position. After the printing-start position control means controls the printing-start position, the reading means reads data from the storage means and makes the printing means print them. In this way, printing can be started on the sheet from any printing-start position designated by the input means. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing an architecture of the present invention; Fig. 2 is a block diagram showing an architecture of an application of the present invention to a word processor; Fig. 3 is a flow chart illustrating an operation of the embodiment; Fig. 4 is a diagram illustrating an example of a sheet to which labels are affixed; and Fig. 5 is a diagram illustrating an example of information displayed on a screen in printing on a label. DESCRIPTION OF THE PREFERRED EMBODIMENT The information processing device having a function of designating a printing-start position according to the present invention has a basic architecture mainly including input means, printing means, storage means, printing-start position control means and reading means, as shown in Fig. 1. The input means may be used to input various data and apply various designation. For this purpose, a keyboard, a pointing device or the like is used. The printing means may be capable of printing various data on a sheet; an impact type or thermal type serial dot printer is mainly used. The storage means may store various data inputted from the input means; an internal memory such as a RAM or an external storage medium such as a floppy disc device and a magnetic disc device is used. The printing-start position control means may control the printing means to print letters from the printing-start position when the designation of the printing-start position on a sheet is applied from the input means. The reading means may read data from the storage means and make the printing means print letters after the printing-start position control means controls the printing-start position. Usually, as the printing-start position control means and the reading means, a microprocessor is conveniently used. The preferred embodiment of the present invention will be explained with reference to the accompanying drawings. Fig. 2 is a block diagram showing an architecture of an application of the invention to a word processor. Referring to Fig. 2, this application includes a keyboard 1 for inputting various data and applying various designation, a display 2 such as a CRT display and an LCD (liquid crystal display), a printer 3 capable of printing various data on a sheet explained below, to which a label is affixed, a RAM 4 for storing various data inputted from the keyboard 1, a printing control unit 5 and a main control unit 6 for controlling all of the word processor system operation and controlling the input/output operation. The printing control unit 5 and the main control unit 6 compose a CPU. The printing control unit 5 receives a designation of a printing-start position on a sheet from the keyboard 1 and controls the printer 3 to print letters on the sheet from the printing-start position. The main control unit 6 reads data from the RAM 4 and make the printer 3 print the data through the printing control unit 5 after the printing control unit 5 controls the printer 3 with regard to the printing-start position. Reference numeral 7 denotes a ROM which stores a program for operating the main control unit 6 and a screen display pattern for designating the printing-start position on a screen of the display 2. Address printing on a sheet to which a label is affixed will now be described. Fig. 4 is a diagram illustrating an example of a sheet to which labels are affixed. As shown in Fig. 4, a sheet 9 has a printing face 10 whose lateral width is within a printing width of the printer 3. Twelve pieces of label are affixed to the printing face 10; six pieces in the left column 11, the first row 13, the second row 14, the third row 15, the fourth row 16, the fifth row 17 and the sixth row 18, and another six pieces in the right column 12. The sheet 9 is set in a predetermined position in the printer 3, that is, in a position where printing is carried out on a label in the first row 13, the left column 11. The sheet 9 is in A4 size (210 x 298 mm). The twelve labels of 84 x 42 mm are affixed to the sheet 9 with left and right margins of 20 mm width and center margins of 2 mm width. There are 23 mm top and bottom spaces. The ROM 7 stores various control data for printing an address on the prescribed sheet 9 in advance. After the sheet 9 is set on a predetermined position in the printer 3, the setting of a printing-start position on the labels are performed in 42 mm of a line feed. Usually, the left margin is set at a position where the label in the left column 11 is printed first. However, when a designation that the label in the right column 12 should be printed first is applied, the left margin is temporarily shifted to the right by 86 mm. A line feed pitch in printing is constant and seven lines of address data can be printed on a piece of the label. The printer 3 can print various address data on each label affixed to the sheet 9. The address data are inputted from the keyboard 1. Inputted address data are stored in the RAM 4 by the control of the main control unit 6. Further, a designation of the printing-start position on the sheet 9 is applied from the keyboard 1. The designation of the printing-start position is carried out by reading and displaying an input screen display pattern as shown in Fig. 5. Specifically, a label position, that is, which row and which column of label on the sheet 9 should be printed first, is designated based upon the displayed screen using the keyboard 1. The main control unit 6, when which row and column in the sheet 9 should be printed first is designated, transfers information about the designated position to the printing control unit 5. The printing control unit 5 receives the information, transfers it into a control code of the printer 3 based upon the above mentioned various control data for printing an address on the sheet 9 and controls the printer 3 to print from the designated label on the sheet 9. In the input screen display pattern shown in Fig. 5, for example, when a label printing is designated so that the printing is carried out from the fourth row on the left label for all cases, the sheet 9 is fed so that the label in the fourth row 16, the left column 11 may be printed first. At this time, the main control unit 6 classifies the address data stored in the RAM 6 into address data to be printed on the labels in the left column 11 and address data to be printed on the labels in the right column 12. As a result, classification is carried out so that address data to be printed first may be printed on a left label, and address data to be printed next may be printed on a right label. The main control unit 6 reads the first line of the first and second address data from the RAM 4 and transmits the data to the printing control unit 5. Thus, the first line of those address data is printed. When the first line includes a postal code, for example, two postal codes for the respective address data are read and printed. Then, the second line of the first and second address data is read from the RAM 4 and transferred to the printing control unit 5. Thus, the second line of those address data is printed. For example, when the second line includes a postal district, two postal districts for the respective address data are read and printed. Printing is repeated until seven lines in maximum are printed. In the input screen display shown in Fig. 5, for example, when a label printing is designated so that the printing is carried out from the third row on the right label for all cases, the sheet 9 is fed so that the label in the third row 15, the right column 12 may be printed first. The printing control unit 5 shifts the left margin of the printer 5 to the right so that printing is carried out from the label in the right column 12. After that, the first line of the first address data is read, transferred to the printing control unit 5, and then printed. Printing is repeated until seven lines in maximum are printed. After the completion of printing, the left margin is shifted back to the original position, and the sheet 9 is fed to start printing from the label in the fourth row 16, the left column 11. Then, printing similar to the above is repeated; the first line of the first and second address data is read from the RAM 4 and printed. The operation of the embodiment will be explained with reference to a flow chart of Fig. 3. It is assumed herein that a plurality of address data are stored in the RAM 4, and the address data are printed on a sheet to which a label is affixed. When a printing command is applied from the keyboard 1, the main control unit 6 performs the following process as shown in Fig. 3. First, a input screen display pattern as shown in Fig. 5 is read and displayed on the screen of the display 2. A designation of the printing position is made based upon the displayed screen using the keyboard 1. First which row of label should be printed is designated (Step 201), and then which column of label should be printed is designated (Step 202). When a label 19 marked with oblique lines should be printed first, the designation is "the third row, the right label." After the designation, the printing control unit 5 controls the printer 3. Consequently, the sheet 9 is fed and the printer 3 is controlled so that the designated label may be printed. Address data included in a piece of the label are read from the RAM 4 (Step 203) and printed on a designated label (Step 204). Since a printing-start position can be designated using the keyboard 1, even when a sheet to which a plurality of labels are affixed is used and the labels must be individually printed, printing is performed by individually designating the labels. Consequently, work efficiency is improved in printing. Although address data are printed on an A4 size sheet to which twelve labels are affixed in the above embodiment, it also is possible that the size of the sheet and label is not limited to the above and that the number of the label to be affixed to the sheet 9 is not limited to the above. In such a case, control data about the size of the sheet 9 and label and the layout of the labels may be stored in the ROM 7 in advance so that printing can be controlled based upon the control data. The size of the sheet 9 and label, the layout of the labels and the like may be inputted as a parameter from the keyboard.

Claims: An information processing device, to be used for printing labels which are affixed to a sheet, comprising: input means (1) for inputting data to be printed, a printing command and a starting position, printing means (3) for printing data on a sheet, storage means (4, 7) for storing data inputted through said input means (1), print-start position control means (5) for controlling said printing means (3), so that printing is started from a printing-start position which is determined by the input of said input means (1), wherein upon input of said printing command an input screen display pattern is displayed on a display means (2) and a desired printing-start position is determined by operating said input means (1) for yielding the printing-start position, reading means (6) for reading data from said storage means (4) and controlling said printing means (3) after said printing-start control means (5) has issued the printing-start position, so that printing is started from the inputted starting position. A device according to claim 1 wherein said input means (1) includes a keyboard for inputting address data and for designating a position of labels which are affixed in rows and columns on a sheet. A device according to claim 1 wherein said printing means (3) includes a printer for printing address data on labels which are affixed in rows and columns on a sheet. A device according to claim 1, 2 or 3 wherein said printing-start position control means (5) controls said printing means (3) so that printing is started from the label position designated by said keyboard. A device according to claim 1, 2, 3 or 4 further comprising position information storage means for storing position information of the labels which are affixed in rows and columns on the sheet, wherein said printing-start position control means calculates a printing-start position depending upon the label position designated by said keyboard based upon the position information stored in said position information storage means and controls said printing means so that printing is started from the printing-start position. A device according to claim 1 or 2 wherein said reading means (6) is provided for reading from- said storage means (4, 7) address data corresponding to one address and making said printing means (3) print. A device according to claim 1, 2, 3, 4, 5 or 6 further comprising display means (2) for displaying on a screen an input data used for designating a position of labels which are affixed in rows and columns on a sheet, wherein said input means (1) includes a keyboard for designating the label position based upon the input data displayed on a screen by said display means (2).

Inventors: HIRAMI AKIRA, INOUE FUMIHIRO - HEIJOU-DAI- -, HIRAMI, AKIRA, INOUE, FUMIHIRO 26-501, HEIJOU-DAI-2-DANCHI
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1989
Main classification: G06F19
IPC codes: G06F17, G06K15, B41J11, G06F3