摘要 |
PURPOSE:To obviate a printing operation at a part where a printing paper is absent, by a system wherein printing data in excess of a printable range in one line are printed in the next line, based on the result of comparison of printing paper width information with the number of pieces of the printing data. CONSTITUTION:A microprocessor stores printing data for, for example, 136 characters into a printing buffer 4. The number (a) of the characters of the stored printing data is compared with the content of a paper width position counter in which a number (b) of characters corresponding to the right end position of a printing paper 18 based on the detection of the paper width is set. The microprocessor functions to print, in line A, up to the d-th character, wherein d is a number obtained by subtracting the number (n) of characters corresponding to a part where printing can not be performed due to the presence of paper-feeding holes 19 from (b), and carries out a line-feeding and carriage- returning operation. Then, c characters (wherein c=a-b-n) from the (d+1)th character to the 136th character are printed in line B. Accordingly, printing at a part where the printing paper is absent can be avoided. |