摘要 |
PURPOSE:To enable automatic line feed when a printing head reaches the tail of a line, by printing data upon each input of the data in the range from the head of a line to a predetermined position, and when it is impossible to print data within the range from the predetermined position to the tail of the line, dividing the stored data into two portions, and printing after line feed. CONSTITUTION:When data is inputted from a keyboard 120, printing on a paper 40 by a printing head 20 is conducted upon each input of the data, up to the position immediately before a hot zone. When the printing position for the data reaches a right margin R.M, a word separation symbol position S for words in the hot zone is searched for, and characters located in the range from a position Z to the position S are printed in the hot zone, while the subsequent characters located at positions up to R.M are printed in the next line. When a separation symbol is inputted in the case where no separation symbol S is present in the hot zone, the character string between a separation symbol position O on the left side of and nearest to R.M and the next separation symbol position P is optimally split according to a dictionary stored in a ROM 210 or the like, and the split character string on the left side of the splitting position H is printed in the hot zone together with a hyphen, while the split character string extending from the splitting position H to the separation symbol position P is printed in the next line, starting from the head of the line.
|