摘要 |
A data processing method and apparatus and printer capable of performing an HV conversion by using a single buffer. The data buffer has a length of NxM (=H) words and a width of N lines. First image data for H words/line is written into the data buffer for N lines. Then, the image data is read from the buffer by N pixels in a buffer widthwise direction for M words in a buffer lengthwise direction, and data for NxM words, is written in the area of the buffer, which has become available by the reading. These writing and reading operations are performed with respect to the entire area of the data buffer (mode A). Next, the image data is read by one pixel at M-word intervals in the buffer lengthwise direction. When data for one line has been read out, data for one line is written into the area which has become available by the reading in the buffer-lengthwise direction (mode B). Hereinafter, data input/output operation is performed by changing the mode A and the mode B.
|