KR100577434B1 - Printing apparatus - Google Patents

Printing apparatus Download PDF

Info

Publication number
KR100577434B1
KR100577434B1 KR1020040107963A KR20040107963A KR100577434B1 KR 100577434 B1 KR100577434 B1 KR 100577434B1 KR 1020040107963 A KR1020040107963 A KR 1020040107963A KR 20040107963 A KR20040107963 A KR 20040107963A KR 100577434 B1 KR100577434 B1 KR 100577434B1
Authority
KR
South Korea
Prior art keywords
color
printing data
decoding
data
plane
Prior art date
Application number
KR1020040107963A
Other languages
Korean (ko)
Inventor
장시중
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020040107963A priority Critical patent/KR100577434B1/en
Application granted granted Critical
Publication of KR100577434B1 publication Critical patent/KR100577434B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/122Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to computing resources, e.g. memory, CPU
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/005Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
    • B41J2/01Ink jet
    • B41J2/135Nozzles
    • B41J2/145Arrangement thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Record Information Processing For Printing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

본 발명은 프린팅 장치에 관한 것으로서, 상기 프린팅 장치는, 복수의 컬러에 각각 대응하는 프린팅 데이터가 저장되는 복수의 라인 버퍼; 및 상기 복수의 컬러에 각각 대응하여 기록매체의 진행방향으로 순차 배열되어 상기 프린팅 데이터에 기초하여 잉크를 분사하는 복수의 노즐 어레이를 가지는 프린트 헤드를 구비하는 프린팅 장치에 있어서, 압축된 형식의 상기 프린팅 데이터를 복원하여 상기 라인 버퍼에 출력하는 디코딩 유닛; 상기 디코딩 유닛에 의해 복원된 프린팅 데이터의 양을 산출하는 데이터량 산출부; 및 상기 산출된 프린팅 데이터의 양에 기초하여, 상기 디코딩 유닛이 수행하는 프린팅 데이터의 각 컬러에 대한 복원 동작의 순서를 제어하는 디코딩 제어부를 포함한다. 상기 구성에 의하여, 압축된 프린팅 데이터를 디코딩하는 순서를 제어함으로써 라인 버퍼의 메모리 용량을 최소화할 수 있다.The present invention relates to a printing apparatus, the printing apparatus comprising: a plurality of line buffers in which printing data corresponding to a plurality of colors are stored; And a print head having a plurality of nozzle arrays sequentially arranged in a traveling direction of a recording medium corresponding to the plurality of colors, respectively, for ejecting ink based on the printing data, wherein the printing apparatus is a compressed type. A decoding unit for restoring data and outputting the data to the line buffer; A data amount calculating section for calculating an amount of printing data restored by the decoding unit; And a decoding control unit that controls the order of a reconstruction operation for each color of printing data performed by the decoding unit based on the calculated amount of printing data. By the above configuration, it is possible to minimize the memory capacity of the line buffer by controlling the order of decoding the compressed printing data.

프린팅 장치, 디코딩, 라인 버퍼, 메모리 용량, 노즐 어레이, Printing device, decoding, line buffer, memory capacity, nozzle array,

Description

프린팅 장치{PRINTING APPARATUS}Printing device {PRINTING APPARATUS}

도 1은 프린트 헤드에 배열된 복수의 노즐 어레이를 도시한 도면이며,1 is a view showing a plurality of nozzle arrays arranged in the print head,

도 2는 도 1의 노즐 어레이로부터 분사되어 기록매체에 형성된 잉크층을 도시한 도면이며,FIG. 2 is a view showing an ink layer formed on a recording medium ejected from the nozzle array of FIG.

도 3은 종래 기술에 의한 라인 버퍼의 메모리 용량을 도시한 도면이며,3 is a diagram illustrating a memory capacity of a line buffer according to the prior art;

도 4는 본 발명의 제1실시예에 의한 프린팅 장치의 프린터 콘트롤러의 내부 구성을 도시한 블록도이며,4 is a block diagram showing an internal configuration of a printer controller of the printing apparatus according to the first embodiment of the present invention.

도 5는 본 발명의 일실시예에 의한 라인 버퍼의 구조를 도시한 도면이며,5 is a diagram illustrating a structure of a line buffer according to an embodiment of the present invention.

도 6은 본 발명의 제1실시예에 의한 프린팅 데이터의 디코딩 과정을 도시한 흐름도이며,6 is a flowchart illustrating a decoding process of printing data according to a first embodiment of the present invention.

도 7은 본 발명의 제2실시예에 의한 프린팅 장치의 프린터 콘트롤러의 내부 구성을 도시한 블록도이며,7 is a block diagram showing an internal configuration of a printer controller of the printing apparatus according to the second embodiment of the present invention.

도 8은 본 발명의 제2실시예에 의한 프린팅 데이터의 디코딩 과정을 도시한 흐름도이다.8 is a flowchart illustrating a decoding process of printing data according to a second embodiment of the present invention.

*도면의 주요 부분에 대한 부호의 설명* Explanation of symbols for the main parts of the drawings

10: 프린터 콘트롤러 12a~12d: 입력 버퍼10: Printer Controller 12a ~ 12d: Input Buffer

14: 디코딩 유닛 142a~142d: 디코더14: decoding units 142a to 142d: decoder

142: 디코더 144: 멀티플렉서142: decoder 144: multiplexer

146: 디멀티플렉서 16a~16d: 라인 버퍼146: demultiplexer 16a-16d: line buffer

18: 디코딩 제어부 20: 데이터량 산출부18: decoding control unit 20: data amount calculating unit

본 발명은 프린팅 장치에 관한 것으로서, 더욱 상세하게는, 프린트 헤드의 구조를 고려하여 압축된 프린팅 데이터를 디코딩하는 순서를 제어함으로써 라인 버퍼의 메모리 용량을 최소화한 프린팅 장치에 관한 것이다.The present invention relates to a printing apparatus, and more particularly, to a printing apparatus that minimizes the memory capacity of the line buffer by controlling the order of decoding the compressed printing data in consideration of the structure of the print head.

잉크젯 타입의 프린팅 장치에는, 도 1에 도시한 바와 같은 노즐 어레이(104)의 구조를 가지는 프린트 헤드(100)를 구비한 것이 있다. 노즐 어레이(104)는 도 1(a)과 같이 하나의 칩(chip) 당 하나의 컬러로 구현된 것을 타일 형태로 접합된 형태일 수 있으며, 도 1(b)과 같이 하나의 칩 당 네 가지의 컬러로 구현된 것을 링킹(linking)시킨 형태일 수도 있다.Some inkjet printing apparatuses include a print head 100 having a structure of a nozzle array 104 as shown in FIG. 1. The nozzle array 104 may be in the form of a tile that is implemented in one color per chip as shown in FIG. 1 (a), and four types per chip as shown in FIG. 1 (b). It may be in the form of linking (linking) implemented in the color of.

그런데, 프린트 헤드(100)에는, 도 2에 도시된 바와 같이, 네 가지의 컬러(Black, Magenta, Cyan 및 Yellow)에 각각 대응하는 복수의 노즐 어레이(104a~104d)가 기록매체(106)의 진행방향으로 서로 소정 간격 이격되어 형성되어 있다. 또한, 노즐 어레이(104a~104d)는 하나의 컬러에 대하여 각 2열의 노즐 어레이가 서로 소정 간격 이격되어 형성되어 있다.However, as shown in FIG. 2, the print head 100 includes a plurality of nozzle arrays 104a to 104d corresponding to four colors (Black, Magenta, Cyan, and Yellow) of the recording medium 106, respectively. It is formed to be spaced apart from each other in the advancing direction. Further, in the nozzle arrays 104a to 104d, two rows of nozzle arrays are formed to be spaced apart from each other by a predetermined interval.

상기와 같은 구조의 노즐 어레이(104a~104d)에 의해 기록매체(106)에 분사되 어 형성되는 잉크층(108a~108d)을 살펴보면, 도 2에 도시된 바와 같이, 기록매체(106)가 진입하는 쪽에 가깝게 위치하는 노즐 어레이(104a)에서 기록매체(106)가 진입하는 쪽으로부터 순차적으로 멀리 위치하는 각 노즐 어레이(104b 내지 104d)까지 이격된 거리로 인하여, 기록매체(106)에 잉크층(108a~108d)이 형성되는 시간적 차이가 발생한다.Looking at the ink layers 108a to 108d formed by being sprayed onto the recording medium 106 by the nozzle arrays 104a to 104d having the above structure, the recording medium 106 enters as shown in FIG. In the nozzle array 104a located close to the side of the recording medium 106, the ink layer (1) on the recording medium 106 due to the distance from the nozzle array 104b to 104d sequentially located away from the side where the recording medium 106 enters. 108a ~ 108d) is formed time difference occurs.

기록매체(106)의 소정 부분에 완전한 화상을 형성하기 위해서는 필요한 잉크층(108a~108d)이 모두 형성되어야 하므로, 기록매체(106)의 진행속도에 대응하여 각 노즐 어레이(104a~104d)로부터 소정 시간 간격으로 순차적으로 잉크가 분사되어야 한다.In order to form a complete image on a predetermined portion of the recording medium 106, all necessary ink layers 108a to 108d must be formed, and thus, predetermined from each nozzle array 104a to 104d corresponding to the moving speed of the recording medium 106. Ink must be ejected sequentially at time intervals.

한편, 프린팅 장치의 호스트 PC(도시 안됨)에서는, GDI(Graphical Device Interface) 형식의 프린팅 데이터가 각 컬러 별로 비트맵 형식의 프린팅 데이터로 변환되며, 각 컬러 플레인의 프린팅 데이터는 JBIG(Joint Bi-level Image Experts Group)과 같은 무손실의 압축 방식에 따라 압축된다.On the other hand, in a host PC (not shown) of a printing device, printing data in a GDI (Graphical Device Interface) format is converted into printing data in bitmap format for each color, and the printing data of each color plane is JBIG (Joint Bi-level). Compression based on lossless compression such as Image Experts Group.

상기 압축된 프린팅 데이터는 프린터 콘트롤러(도시 안됨)의 입력 버퍼(도시 안됨)에 임시 저장되며, 저장된 프린팅 데이터는 프린터 콘트롤러에 구비된 디코더 블록(110, 도 3 참조)에서 각 컬러 플레인별로 디코딩이 수행되어 라인 버퍼(120, 도 3참조)에 저장된다. 라인 버퍼(120)에 저장된 프린팅 데이터는 프린트 헤드(100)의 구조에 대응하는 적절한 시간에 프린트 헤드(100)로 제공된다.The compressed printing data is temporarily stored in an input buffer (not shown) of a printer controller (not shown), and the stored printing data is decoded for each color plane by a decoder block 110 (see FIG. 3) provided in the printer controller. And stored in the line buffer 120 (see FIG. 3). Printing data stored in the line buffer 120 is provided to the print head 100 at an appropriate time corresponding to the structure of the print head 100.

따라서 도2의 프린트 헤드(100)의 구조에서는, 도 3에 도시된 바와 같이, 각 라인 버퍼(120)의 메모리 용량은 저장되는 프린팅 데이터가 지연되어 공급되어야 할 시간에 비례한다. 예컨대, 각 컬러 플레인별로 압축된 프린팅 데이터의 디코딩이 동시에 수행되고 모든 컬러 플레인에서 같은 라인의 데이터가 처리된 후 라인 버퍼(120)에 저장되는 경우, color 0의 라인 버퍼(120)는 그 메모리 용량이 가장 작으며, color 3의 라인 버퍼(120)의 메모리 용량이 가장 크다. 이 경우, color 0은 기록매체(106)의 진입측에 가장 가까운 노즐 어레이(104a)에 대응하며, color 1, color 2 및 color 3은 기록매체(106)의 진입측으로부터 순차적으로 멀리 위치하는 노즐 어레이(104b 내지 104d)에 각각 대응한다.Therefore, in the structure of the print head 100 of FIG. 2, as shown in FIG. 3, the memory capacity of each line buffer 120 is proportional to the time when the printing data to be stored is delayed and supplied. For example, when decoding of compressed printing data for each color plane is performed simultaneously and data of the same line is processed in all color planes and then stored in the line buffer 120, the color buffer line 0 of color 0 has its memory capacity. Is the smallest, and the memory capacity of the line buffer 120 of color 3 is the largest. In this case, color 0 corresponds to the nozzle array 104a closest to the entry side of the recording medium 106, and color 1, color 2 and color 3 are nozzles sequentially located far from the entry side of the recording medium 106. Corresponding to the arrays 104b to 104d, respectively.

또한, 동일한 컬러에 대응하는 2개의 라인 버퍼(120) 간의 메모리 용량의 차이는 D1에 대응하며, 서로 다른 컬러의 인접하는 라인 버퍼(120) 간의 메모리 용량의 차이는 D2에 대응한다. 여기에서, D1은 동일한 컬러에 대응하는 2개의 노즐 어레이 간의 간격을 나타내며, D2는 서로 다른 컬러에 대응하는 인접한 노즐 어레이 간의 간격을 나타낸다. In addition, the difference in memory capacity between two line buffers 120 corresponding to the same color corresponds to D1, and the difference in memory capacity between adjacent line buffers 120 of different colors corresponds to D2. Here, D1 represents a gap between two nozzle arrays corresponding to the same color, and D2 represents a gap between adjacent nozzle arrays corresponding to different colors.

이 때, 라인 버퍼(120)의 총 메모리 용량 M은 하기 수학식1에 의하여 계산될 수 있다.In this case, the total memory capacity M of the line buffer 120 may be calculated by Equation 1 below.

M = [C*R*N + C*D1*(1 + … + (R-1)) + R*D2*(1 + … + (C-1))]*L M = [C * R * N + C * D1 * (1 +… + (R-1)) + R * D2 * (1 +… + (C-1))] * L

여기에서, C는 컬러 수, L은 컬러 당 배열된 노즐 어레이의 수, L은 라인 당 노즐의 수, N은 라인 버퍼의 최소 크기, D1은 동일한 컬러의 노즐 어레이 간의 간격, 및 D2는 다른 컬러의 노즐 어레이 간의 간격을 나타낸다.Where C is the number of colors, L is the number of nozzle arrays arranged per color, L is the number of nozzles per line, N is the minimum size of the line buffer, D1 is the spacing between nozzle arrays of the same color, and D2 is another color. Represents the gap between the nozzle arrays.

예를 들어 C = 4 컬러, R = 4 열, N = 4 바이트, D1 = 10 라인, D2 = 40 라 인, L = 2500개인 경우, 라인 버퍼의 총 메모리 용량 M은 = [4*4*4 + 4*10*(1+2+3) + 4*40*(1+2+3)]*2550 = 393.46 Kbytes가 되며, 라인 버퍼의 총 메모리 용량은 프린트 헤드의 구조에 따라 결정됨을 알 수 있다. 특히, 다른 컬러의 노즐 어레이 간의 간격인 D2 값이 상대적으로 크다는 것을 알 수 있다.For example, if C = 4 colors, R = 4 columns, N = 4 bytes, D1 = 10 lines, D2 = 40 lines, and L = 2500, then the total memory capacity M of the line buffer = [4 * 4 * 4 + 4 * 10 * (1 + 2 + 3) + 4 * 40 * (1 + 2 + 3)] * 2550 = 393.46 Kbytes, and the total memory capacity of the line buffer is determined by the printhead structure. have. In particular, it can be seen that the D2 value, which is the distance between the nozzle arrays of different colors, is relatively large.

그런데, 우수한 성능의 발휘를 위해서는 라인 버퍼가 프린터 콘트롤러 내에 임베디드되는 것이 바람직한데, 라인 버퍼의 사이즈가 커지는 경우, 이에 대응하여 큰 용량의 메모리(예컨대, DRAM 또는 SRAM)가 필요하게 되며, 상기 메모리를 프린터 콘트롤러 내에 임베디드하는 것은 제조비용의 측면에서 바람직하지 않다.However, in order to exhibit excellent performance, it is preferable that the line buffer is embedded in the printer controller. When the size of the line buffer is increased, a large capacity memory (for example, DRAM or SRAM) is correspondingly required. Embedded in a printer controller is undesirable in terms of manufacturing cost.

본 발명은 상기 문제점을 해결하기 위한 것으로서, 프린트 헤드의 구조를 고려하여 압축된 프린팅 데이터를 디코딩하는 순서를 제어함으로써 라인 버퍼의 메모리 용량을 최소화한 프린팅 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a printing apparatus which minimizes the memory capacity of a line buffer by controlling the order of decoding the compressed printing data in consideration of the structure of a print head.

상기 목적을 달성하기 위하여, 본 발명은, 복수의 컬러에 각각 대응하는 프린팅 데이터가 저장되는 복수의 라인 버퍼; 및 상기 복수의 컬러에 각각 대응하여 기록매체의 진행방향으로 순차 배열되어 상기 프린팅 데이터에 기초하여 잉크를 분사하는 복수의 노즐 어레이를 가지는 프린트 헤드를 구비하는 프린팅 장치에 있어서, 압축된 형식의 상기 프린팅 데이터를 복원하여 상기 라인 버퍼에 출력하는 디코딩 유닛; 상기 디코딩 유닛에 의해 복원된 프린팅 데이터의 양을 산출하는 데이터량 산출부; 및 상기 산출된 프린팅 데이터의 양에 기초하여, 상기 디코딩 유닛이 수행하는 프린팅 데이터의 각 컬러에 대한 복원 동작의 순서를 제어하는 디코딩 제어부를 포함하는 프린팅 장치를 제공한다.In order to achieve the above object, the present invention, a plurality of line buffers for storing the printing data corresponding to each of the plurality of colors; And a print head having a plurality of nozzle arrays sequentially arranged in a traveling direction of a recording medium corresponding to the plurality of colors, respectively, for ejecting ink based on the printing data, wherein the printing apparatus is a compressed type. A decoding unit for restoring data and outputting the data to the line buffer; A data amount calculating section for calculating an amount of printing data restored by the decoding unit; And a decoding controller configured to control an order of a reconstruction operation for each color of the printing data performed by the decoding unit based on the calculated amount of the printing data.

상기 디코딩 유닛은, 상기 복수의 컬러 각각에 대응하여 마련되어 압축된 형식의 상기 프린팅 데이터를 복원하는 복수의 디코더를 포함하는 구성일 수 있다. 이 경우, 상기 디코딩 제어부는 소정 컬러에 대응하는 디코더에 의해 복원된 프린팅 데이터의 양이 서로 다른 컬러에 대응하는 인접한 두 노즐 어레이 간의 간격에 대응하는 데이터량과 같거나 큰 경우, 상기 복수의 디코더 중 인접하는 다른 컬러의 노즐 어레이에 대응하는 프린팅 데이터를 복원할 디코더의 동작이 개시되도록 제어하는 것이 바람직하다.The decoding unit may be configured to include a plurality of decoders provided in correspondence with each of the plurality of colors to restore the printing data in a compressed form. In this case, if the amount of printing data reconstructed by the decoder corresponding to a predetermined color is equal to or larger than the data amount corresponding to the interval between two adjacent nozzle arrays corresponding to different colors, the decoding control unit may be configured to perform a decoding operation. It is desirable to control such that the operation of the decoder to restore printing data corresponding to nozzle arrays of adjacent different colors is started.

한편, 상기 디코딩 유닛은, 상기 복수의 컬러 각각에 대응한 복수의 입력 포트를 포함하며, 상기 디코딩 제어부의 제어신호에 기초하여 상기 복수의 입력 포트 중 어느 하나를 통하여 압축된 형식의 상기 프린팅 데이터를 입력하여 출력하는 멀티플렉서; 상기 멀티플렉서가 출력한 압축된 형식의 상기 프린팅 데이터를 입력하여 복원하는 디코더; 및 상기 복수의 라인 버퍼에 각각 연결된 복수의 출력 포트를 포함하며, 상기 디코더가 복원한 상기 프린팅 데이터를 입력하여, 상기 디코딩 제어부의 제어신호에 기초하여 상기 복수의 출력포트 중 어느 하나를 통하여 출력하는 디멀티플렉서를 포함하는 구성일 수 있으며, 이 경우, 상기 디코딩 제어부는 상기 멀티플렉서의 입력 포트 및 상기 디멀티플렉서의 출력 포트가 동일한 컬러에 대하여 동기하여 소정 시간 간격으로 순차 스위칭되도록 제어하는 것이 바람직하다.The decoding unit may include a plurality of input ports corresponding to each of the plurality of colors, and output the printing data in a compressed form through any one of the plurality of input ports based on a control signal of the decoding controller. A multiplexer for inputting and outputting; A decoder for inputting and restoring the printing data in a compressed format output by the multiplexer; And a plurality of output ports respectively connected to the plurality of line buffers, and inputting the printing data restored by the decoder and outputting the printed data through any one of the plurality of output ports based on a control signal of the decoding controller. In this case, the decoding control unit may control the input port of the multiplexer and the output port of the demultiplexer to be sequentially switched at predetermined time intervals in synchronization with the same color.

또한, 상기 디코딩 제어부는 소정 컬러에 대응하는 복원된 프린팅 데이터의 양이 서로 다른 컬러에 대응하는 인접한 두 노즐 어레이 간의 간격에 대응하는 데이터량과 같거나 큰 경우, 인접한 다른 컬러의 노즐 어레이에 대응하는 상기 멀티플렉서의 입력 포트 및 상기 디멀티플렉서의 출력 포트가 추가적으로 순차 스위칭되도록 제어하는 것이 바람직하다.In addition, the decoding control unit may correspond to nozzle arrays of other adjacent colors when the amount of restored printing data corresponding to a predetermined color is equal to or larger than the data amount corresponding to the distance between two adjacent nozzle arrays corresponding to different colors. Preferably, the input port of the multiplexer and the output port of the demultiplexer are additionally controlled to be sequentially switched.

이하, 첨부된 도면을 참조하여 바람직한 실시예를 통하여 본 발명에 대하여 상세히 설명한다. 도 4는 본 발명의 제1실시예에 의한 프린팅 장치의 프린터 콘트롤러(10)의 내부 구성을 도시한 블록도이다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. 4 is a block diagram showing an internal configuration of the printer controller 10 of the printing apparatus according to the first embodiment of the present invention.

본 발명의 프린팅 장치는, 예를 들면 잉크젯 타입의 프린터로서, 프린팅 데이터에 기초하여 소정의 기록매체(도시 안됨)에 잉크를 분사하여 화상을 형성하며, 프린터 콘트롤러(10) 및 프린트 헤드(30)를 포함한다.The printing apparatus of the present invention is, for example, an inkjet type printer, in which ink is sprayed onto a predetermined recording medium (not shown) based on the printing data to form an image, and the printer controller 10 and the print head 30 are formed. It includes.

본 실시예의 프린트 헤드(30)에는, 4개의 컬러(Black, Magenta, Cyan 및 Yellow)에 각각 대응하는 복수의 노즐 어레이(도시 안됨)가 기록매체의 진행방향으로 상호 소정 간격 이격되어 형성되어 있다. 본 실시예에서, 상기 이격된 간격은 각각 동일하다.In the print head 30 of this embodiment, a plurality of nozzle arrays (not shown) corresponding to four colors (Black, Magenta, Cyan, and Yellow), respectively, are formed spaced apart from each other by a predetermined interval in the advancing direction of the recording medium. In this embodiment, the spaced intervals are the same each.

본 실시예의 프린터 콘트롤러(10)는 호스트 PC(도시 안됨)로부터 제공된 압축된 형식의 프린팅 데이터를 입력하여 각 컬러 플레인별로 디코딩을 수행하여, 디코딩된 프린팅 데이터를 적절한 타이밍으로 프린트 헤드(30)에 제공한다.The printer controller 10 of the present embodiment inputs printing data in a compressed format provided from a host PC (not shown), decodes each color plane, and provides the decoded printing data to the print head 30 at an appropriate timing. do.

본 실시예의 프린터 콘트롤러(10)는 4개의 입력 버퍼(12a~12d), 디코딩 유닛(14), 4개의 라인 버퍼(16a~16d), 디코딩 제어부(18) 및 데이터량 산출부(20)를 포함한다.The printer controller 10 of the present embodiment includes four input buffers 12a to 12d, a decoding unit 14, four line buffers 16a to 16d, a decoding control unit 18 and a data amount calculating unit 20. do.

각 입력 버퍼(12a~12d)는 4개의 컬러 플레인 (color 0 plane 내지 color 3 plane)에 각각 대응하며, 각 컬러 플레인의 압축된 프린팅 데이터를 입력하여 임시 저장한다. 상기 4개의 컬러 플레인은 4개의 컬러(Black, Magenta, Cyan 및 Yellow) 중 어느 하나에 각각 대응한다. 본 실시예에서, color 0 plane은 기록매체가 진입하는 측에서 가장 가까운 노즐 어레이에 대응하며, color 1 plane, color 2 plane 및 color 3 plane은 각각 기록매체가 진입하는 측으로부터 멀어지는 방향으로 순차적으로 위치하는 각기 다른 컬러의 노즐 어레이에 대응한다.Each input buffer 12a-12d corresponds to four color planes (color 0 plane to color 3 plane), respectively, and inputs and stores compressed printing data of each color plane. The four color planes correspond to any one of four colors (Black, Magenta, Cyan and Yellow). In this embodiment, the color 0 plane corresponds to the nozzle array closest to the side on which the recording medium enters, and the color 1 plane, color 2 plane, and color 3 plane are sequentially positioned in a direction away from the side on which the recording medium enters, respectively. Corresponding to nozzle arrays of different colors.

디코딩 유닛(14)은 입력 버퍼(12a~12d)에 저장된 압축된 형식의 프린팅 데이터를 디코딩하여 디코딩된 프린팅 데이터를 라인 버퍼(16a~16d)에 제공한다. 본 실시예의 디코딩 유닛(14)은 각 컬러 플레인에 대응하는 4개의 디코더(142a~142d)를 포함한다.The decoding unit 14 decodes the compressed data printing data stored in the input buffers 12a-12d and provides the decoded printing data to the line buffers 16a-16d. The decoding unit 14 of this embodiment includes four decoders 142a to 142d corresponding to each color plane.

4개의 디코더(142a~142d)는 디코딩 제어부(18)의 제어 신호에 기초하여 디코딩된 컬러 플레인의 프린팅 데이터의 양이 소정치에 도달하면 다른 컬러의 프린팅 데이터에 대한 디코딩을 추가적으로 수행한다. 본 실시예의 디코더(142a~142d)는 color 0 plane에서 color 3 plane의 순으로 각 컬러에 대하여 추가적으로 디코딩을 수행한다. 즉, 최초 color 0 plane의 디코더(142a)가 디코딩을 수행하고, 다음으로, color 0 plane 및 color 1 plane의 디코더(142a 및 142b)가 디코딩을 수행하며, 다음으로, color 0 plane, color 1 plane 및 color 2 plane의 디코더(142a, 142b 및 142c)가 디코딩을 수행하며, 마지막으로, color 0 plane, color 1 plane, color 2 plane 및 color 3 plane의 디코더(142a 내지 142d) 모두가 디코딩을 수행 한다.The four decoders 142a to 142d additionally perform decoding on printing data of another color when the amount of printing data of the decoded color plane reaches a predetermined value based on the control signal of the decoding control unit 18. The decoders 142a to 142d of the present embodiment further decode each color in the order of color 0 plane to color 3 plane. That is, the decoder 142a of the first color 0 plane performs decoding, and the decoders 142a and 142b of the color 0 plane and color 1 plane perform decoding, and then, the color 0 plane and the color 1 plane. And decoders 142a, 142b, and 142c of color 2 plane perform decoding, and finally, all of decoders 142a through 142d of color 0 plane, color 1 plane, color 2 plane, and color 3 plane perform decoding. .

각 라인 버퍼(16a~16d)는 FIFO(First In First Out) 구조의 메모리로서, 각 컬러 플레인에 대응하여 디코딩된 프린팅 데이터를 임시 저장한 후 프린트 헤드(30)에 공급한다. 각 라인 버퍼(16a~16d)는 프린트 헤드(30)의 각 컬러 당 노즐 어레이의 수에 대응하는 수의 버퍼(도시 안됨)로 구성될 수 있다. 예를 들면, 프린트 헤드(30)가 각 컬러 당 2열의 노즐 어레이를 구비하는 경우, 각 라인 버퍼(16a~16d)는 두 개의 버퍼로 구성되는 것이 바람직하다. 도 5는 프린트 헤드(30)가 각 컬러 당 2열의 노즐 어레이를 구비하는 경우의 라인 버퍼(16a~16d)의 구조를 도시한 도면이다.Each of the line buffers 16a to 16d is a memory having a first in first out (FIFO) structure, and temporarily stores the decoded printing data corresponding to each color plane and supplies them to the print head 30. Each line buffer 16a-16d may be configured with a number of buffers (not shown) corresponding to the number of nozzle arrays for each color of the print head 30. For example, when the print head 30 has two rows of nozzle arrays for each color, each line buffer 16a to 16d is preferably composed of two buffers. FIG. 5 is a diagram showing the structure of the line buffers 16a to 16d when the print head 30 includes two arrays of nozzles for each color.

도 5에 도시된 바와 같이, 각 컬러 플레인에 대응하는 각 라인 버퍼(16a~16d)의 메모리 용량은 동일하다. 다만, 각 라인 버퍼(16a~16d)가 복수개의 버퍼로 구성되는 경우, 그 복수개의 버퍼 각각의 크기는 디코딩 유닛(14)의 동작에 따라 동일할 수도 다를 수도 있다.As shown in Fig. 5, the memory capacity of each line buffer 16a to 16d corresponding to each color plane is the same. However, when each of the line buffers 16a to 16d includes a plurality of buffers, the size of each of the plurality of buffers may be the same or different according to the operation of the decoding unit 14.

데이터량 산출부(20)는 디코딩 유닛(14)에서 디코딩되어 출력되는 프린팅 데이터를 입력하여, 각 컬러 플레인별로 디코딩된 프린팅 데이터의 양을 산출하여 산출된 데이터량 정보를 디코딩 제어부(18)에 제공한다.The data amount calculating unit 20 inputs the printing data decoded and output by the decoding unit 14, calculates the amount of printing data decoded for each color plane, and provides the calculated data amount information to the decoding control unit 18. do.

디코딩 제어부(18)는 데이터량 산출부(20)로부터 각 컬러 플레인별로 디코딩된 프린팅 데이터에 대응하는 데이터량 정보를 입력하여, 상기 데이터량 정보에 기초하여 각 디코더(142a~142d)의 동작을 제어한다. 즉, 디코딩 제어부(18)는 디코딩된 소정의 컬러 플레인의 데이터량과 서로 다른 컬러의 인접한 노즐 어레이 간의 간격(D2)에 대응하는 데이터의 양을 비교하여, 그 비교 결과 값에 기초하여 각 디코더(142a~142d)의 동작을 제어한다. 본 실시예에서, 서로 다른 컬러의 인접한 노즐 어레이 간의 간격(D2, 이하, "기준 라인수"라고도 함)에 대응하는 데이터의 양은 상기 D2내에 형성될 수 있는 라인의 수에 대응하는 데이터의 양이다.The decoding control unit 18 inputs data amount information corresponding to the printing data decoded for each color plane from the data amount calculating unit 20 and controls the operations of the decoders 142a to 142d based on the data amount information. do. That is, the decoding control unit 18 compares the data amount of the decoded predetermined color plane with the amount of data corresponding to the interval D2 between adjacent nozzle arrays of different colors, and based on the comparison result value, each decoder ( The operation of 142a to 142d is controlled. In this embodiment, the amount of data corresponding to the spacing between adjacent arrays of nozzles of different colors (hereinafter referred to as " number of reference lines ") is the amount of data corresponding to the number of lines that can be formed in D2. .

이하, 도 6을 참조하여 본 실시예의 디코딩 과정에 관하여 더욱 상세히 설명한다. 도 6은 본 발명의 제1실시예에 의한 디코딩 과정을 도시한 흐름도이다.Hereinafter, the decoding process of this embodiment will be described in more detail with reference to FIG. 6. 6 is a flowchart illustrating a decoding process according to the first embodiment of the present invention.

먼저, 디코딩 제어부(18)는 color 0 plane의 디코더(142a)에 동작 개시 신호를 전송하여 color 0 plane의 압축된 프린팅 데이터가 디코딩되도록 제어한다(S10).First, the decoding controller 18 transmits an operation start signal to the decoder 142a of the color 0 plane and controls the compressed printing data of the color 0 plane to be decoded (S10).

다음으로, 디코딩 제어부(18)는 데이터량 산출부(20)로부터 color 0 plane의 디코딩된 프린팅 데이터의 데이터량 정보를 입력하여, 디코딩된 데이터량과 기준 라인 수(D2)에 대응하는 데이터량과 비교한다(S12).Next, the decoding control unit 18 inputs the data amount information of the decoded printing data of the color 0 plane from the data amount calculating unit 20, and the data amount corresponding to the decoded data amount and the reference line number D2. Comparison is made (S12).

비교 결과, 디코딩된 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량보다 작은 경우, color 0 plane의 압축된 프린팅 데이터의 디코딩을 계속한다(S10).As a result of the comparison, when the amount of decoded data is smaller than the amount of data corresponding to the reference line number D2, decoding of the compressed printing data of the color 0 plane is continued (S10).

비교 결과, 디코딩된 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량과 같거나 큰 경우, 디코딩 제어부(18)는 color 1 plane의 디코더(142b)에 동작 개시 신호를 전송하여, color 0 plane 뿐만 아니라 color 1 plane의 압축된 프린팅 데이터도 추가적으로 디코딩되도록 제어한다(S14).As a result of the comparison, when the amount of decoded data is equal to or greater than the data amount corresponding to the reference line number D2, the decoding controller 18 transmits an operation start signal to the decoder 142b of the color 1 plane, and thus, the color 0 plane. In addition, it controls to further decode the compressed printing data of the color 1 plane (S14).

다음으로, 디코딩 제어부(18)는 데이터량 산출부(20)로부터 color 1 plane의 디코딩된 프린팅 데이터의 데이터량 정보를 입력하여, 디코딩된 데이터량과 기준 라인 수(D2)에 대응하는 데이터량을 비교한다(S16).Next, the decoding control unit 18 inputs data amount information of the decoded printing data of the color 1 plane from the data amount calculating unit 20, and calculates a data amount corresponding to the decoded data amount and the reference line number D2. Comparison is made (S16).

비교 결과, 디코딩된 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량보다 작은 경우, color 0 plane 및 color 1 plane의 압축된 프린팅 데이터의 디코딩을 계속한다(S14).As a result of the comparison, when the amount of decoded data is smaller than the amount of data corresponding to the reference line number D2, decoding of compressed printing data of color 0 plane and color 1 plane is continued (S14).

비교 결과, 디코딩된 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량과 같거나 큰 경우, 디코딩 제어부(18)는 color 2 plane의 디코더(142c)에 동작 개시 신호를 전송하여, color 0 plane 및 color 1 plane 뿐만 아니라 color 2 plane의 압축된 프린팅 데이터도 추가적으로 디코딩되도록 제어한다(S18).As a result of the comparison, when the amount of decoded data is equal to or larger than the data amount corresponding to the reference line number D2, the decoding control unit 18 transmits an operation start signal to the decoder 142c of the color 2 plane, and thus the color 0 plane. And control to decode the compressed printing data of the color 2 plane as well as the color 1 plane (S18).

다음으로, 디코딩 제어부(18)는 데이터량 산출부(20)로부터 color 2 plane의 디코딩된 프린팅 데이터의 데이터량 정보를 입력하여, 디코딩된 데이터량과 기준 라인 수(D2)에 대응하는 데이터량을 비교한다(S20).Next, the decoding control unit 18 inputs data amount information of the decoded printing data of the color 2 plane from the data amount calculating unit 20, and calculates a data amount corresponding to the decoded data amount and the reference line number D2. Compare (S20).

비교 결과, 디코딩된 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량보다 작은 경우, color 0 plane, color 1 plane 및 color 2 plane의 압축된 프린팅 데이터의 디코딩을 계속한다(S18).As a result of the comparison, when the amount of decoded data is smaller than the amount of data corresponding to the reference line number D2, decoding of compressed printing data of color 0 plane, color 1 plane, and color 2 plane is continued (S18).

비교 결과, 디코딩된 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량과 같거나 큰 경우, 디코딩 제어부(18)는 color 3 plane의 디코더(142d)에 동작 개시 신호를 전송하여, color 0 plane, color 1 plane 및 color 2 plane 뿐만 아니라 color 3 plane의 압축된 프린팅 데이터도 추가적으로 디코딩되도록 제어한다(S18).As a result of the comparison, when the amount of decoded data is equal to or larger than the data amount corresponding to the reference line number D2, the decoding controller 18 transmits an operation start signal to the decoder 142d of the color 3 plane, and thus the color 0 plane. In addition to the color 1 plane and the color 2 plane, the control also controls to further decode the compressed printing data of the color 3 plane (S18).

다음으로, 본 발명의 제2실시예에 관하여 상세히 설명한다. 본 실시예에 있어서 상기 제1실시예와 동일한 사항에 관하여는 설명을 생략한다. 도 7은 본 발명의 제2실시예에 의한 프린팅 장치의 프린터 콘트롤러(10)의 내부 구성을 도시한 블록도이다.Next, a second embodiment of the present invention will be described in detail. In the present embodiment, descriptions of the same matters as those of the first embodiment will be omitted. 7 is a block diagram showing an internal configuration of the printer controller 10 of the printing apparatus according to the second embodiment of the present invention.

본 실시예의 디코딩 유닛(14)은 디코더(142), 멀티플렉서(144) 및 디멀티플렉서(146)를 포함한다. 멀티플렉서(144, MUX라고도 함)는 각 컬러 플레인에 대응하여 4개의 입력 포트를 가지며, 디코딩 제어부(18)의 제어 신호에 기초하여 상기 4개의 입력 포트의 어느 하나를 통하여 소정의 컬러 플레인의 압축된 프린팅 데이터를 입력하여 디코더(142)에 제공한다.The decoding unit 14 of the present embodiment includes a decoder 142, a multiplexer 144, and a demultiplexer 146. The multiplexer 144 (also referred to as MUX) has four input ports corresponding to each color plane, and compresses a predetermined color plane through any one of the four input ports based on a control signal of the decoding control unit 18. Printing data is input to the decoder 142.

디코더(142)는 멀티플렉서(144)로부터 소정의 컬러 플레인의 압축된 프린팅 데이터를 입력하여 디코딩을 수행한다.The decoder 142 inputs compressed printing data of a predetermined color plane from the multiplexer 144 to perform decoding.

디멀티플렉서(146, DEMUX라고도 함)는 각 컬러 플레인에 대응하여 4개의 출력 포트를 가지며, 디코더(142)로부터 디코딩된 프린팅 데이터를 입력하여, 디코딩 제어부(18)의 제어 신호에 기초하여 상기 4개의 출력 포트의 어느 하나를 통하여 소정의 컬러 플레인의 디코딩된 프린팅 데이터를 대응하는 라인 버퍼(16a 또는 16d)에 제공한다.The demultiplexer 146 (also referred to as DEMUX) has four output ports corresponding to each color plane, and inputs decoded printing data from the decoder 142 to output the four outputs based on a control signal of the decoding control unit 18. The decoded printing data of a given color plane is provided to the corresponding line buffer 16a or 16d through either port.

본 실시예의 디코딩 제어부(18)는 멀티플렉서(144) 및 디멀티플렉서(146)의 입력 포트 및 출력 포트를 각 컬러에 대하여 동기하도록 스위칭하여, 디코더(142)가 시분할된 디코딩 동작을 수행하도록 제어한다.The decoding control unit 18 of the present embodiment switches the input port and the output port of the multiplexer 144 and the demultiplexer 146 to synchronize with each color, thereby controlling the decoder 142 to perform a time division decoding operation.

도 8을 참조하여 본 실시예의 디코딩 과정에 관하여 더욱 상세하게 설명한 다. 도 8은 본 발명의 제2실시예에 의한 디코딩 과정을 도시한 흐름도이다.The decoding process of this embodiment will be described in more detail with reference to FIG. 8. 8 is a flowchart illustrating a decoding process according to a second embodiment of the present invention.

먼저, 디코딩 제어부(18)는 color 0 plane에 대응하는 멀티플렉서(144)의 입력 포트 및 디멀티플렉서(146)의 출력 포트가 연결되도록 멀티플렉서(144) 및 디멀티플렉서(146)에 제어 신호를 전송한다(S20).First, the decoding controller 18 transmits a control signal to the multiplexer 144 and the demultiplexer 146 so that the input port of the multiplexer 144 corresponding to the color 0 plane and the output port of the demultiplexer 146 are connected (S20). .

다음으로, 디코더(142)는 color 0 plane에 대응하는 압축된 프린팅 데이터를 멀티플렉서(144)를 통하여 입력하여 디코딩을 수행하며, 디코딩된 프린팅 데이터는 디멀티플렉서(146)를 통하여 color 0 plane에 대응하는 라인 버퍼(16a)에 전송된다(S22).Next, the decoder 142 inputs the compressed printing data corresponding to the color 0 plane through the multiplexer 144 to perform decoding, and the decoded printing data is a line corresponding to the color 0 plane through the demultiplexer 146. The data is transferred to the buffer 16a (S22).

다음으로, 디코딩 제어부(18)는 데이터량 산출부(20)로부터 color 0 plane의 디코딩된 프린팅 데이터의 데이터량 정보를 입력하여 기준 라인 수(D2)에 대응하는 데이터량과 비교한다(S24).Next, the decoding control unit 18 inputs the data amount information of the decoded printing data of the color 0 plane from the data amount calculating unit 20 and compares it with the data amount corresponding to the reference line number D2 (S24).

비교 결과, 디코딩된 프린팅 데이터의 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량보다 작은 경우, color 0 plane의 디코딩 동작을 계속한다(S22).As a result of the comparison, when the data amount of the decoded printing data is smaller than the data amount corresponding to the reference line number D2, the decoding operation of the color 0 plane is continued (S22).

비교 결과, 디코딩된 프린팅 데이터의 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량과 같거나 큰 경우, 디코딩 제어부(18)는 color 1 plane에 대응하는 멀티플렉서(144)의 입력 포트 및 디멀티플렉서(146)의 출력 포트로 스위칭되도록 멀티플렉서(144) 및 디멀티플렉서(146)에 제어 신호를 전송하며, 디코더(142)는 color 1 plane에 대응하는 압축된 프린팅 데이터를 멀티플렉서(144)를 통하여 입력하여 디코딩을 수행하며, 디코딩된 프린팅 데이터는 디멀티플렉서(146)를 통하여 color 1 plane에 대응하는 라인 버퍼(16b)에 전송된다(S26).As a result of the comparison, when the data amount of the decoded printing data is equal to or larger than the data amount corresponding to the reference line number D2, the decoding controller 18 may determine an input port and a demultiplexer of the multiplexer 144 corresponding to the color 1 plane. The control signal is transmitted to the multiplexer 144 and the demultiplexer 146 to be switched to the output port of the 146, and the decoder 142 inputs the compressed printing data corresponding to the color 1 plane through the multiplexer 144 to decode. The decoded printing data is transmitted to the line buffer 16b corresponding to the color 1 plane through the demultiplexer 146 (S26).

다음으로, 디코딩 제어부(18)는 color 1 plane의 프린팅 데이터에 대한 디코딩 동작이 개시된 후 소정의 시간이 경과하였는지 확인한다(S28). 확인 결과, 소정 시간이 경과하지 않은 경우, color 1 plane의 프린팅 데이터에 대한 디코딩 동작을 계속한다(S26).Next, the decoding control unit 18 checks whether a predetermined time has elapsed since the decoding operation for the printing data of the color 1 plane has started (S28). As a result of the check, if the predetermined time has not elapsed, the decoding operation on the printing data of the color 1 plane is continued (S26).

확인 결과, 소정 시간이 경과한 경우, 디코딩 제어부(18)는 color 0 plane에 대응하는 멀티플렉서(144)의 입력 포트 및 디멀티플렉서(146)의 출력 포트로 스위칭되도록 멀티플렉서(144) 및 디멀티플렉서(146)에 제어 신호를 전송하며, 디코더(142)는 color 0 plane에 대응하는 압축된 프린팅 데이터를 멀티플렉서(144)를 통하여 입력하여 디코딩을 수행하며, 디코딩된 프린팅 데이터는 디멀티플렉서(146)를 통하여 color 0 plane에 대응하는 라인 버퍼(16a)에 전송된다(S30).As a result of the check, when a predetermined time has elapsed, the decoding control unit 18 switches the multiplexer 144 and the demultiplexer 146 to switch to the input port of the multiplexer 144 and the output port of the demultiplexer 146 corresponding to the color 0 plane. The control unit transmits a control signal, and the decoder 142 inputs the compressed printing data corresponding to the color 0 plane through the multiplexer 144 to perform decoding, and the decoded printing data is decoded in the color 0 plane through the demultiplexer 146. It is transmitted to the corresponding line buffer 16a (S30).

다음으로, 디코딩 제어부(18)는 데이터량 산출부(20)로부터 color 1 plane의 디코딩된 프린팅 데이터의 데이터량 정보를 입력하여 기준 라인 수(D2)에 대응하는 데이터량과 비교한다(S32).Next, the decoding control unit 18 inputs data amount information of the decoded printing data of the color 1 plane from the data amount calculating unit 20 and compares it with the data amount corresponding to the reference line number D2 (S32).

비교 결과, 디코딩된 프린팅 데이터의 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량보다 작은 경우, color 0 plane 또는 color 1 plane 의 디코딩 동작을 계속한다(S26).As a result of the comparison, when the data amount of the decoded printing data is smaller than the data amount corresponding to the reference line number D2, the decoding operation of the color 0 plane or the color 1 plane is continued (S26).

비교 결과, 디코딩된 프린팅 데이터의 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량과 같거나 큰 경우, 디코딩 제어부(18)는 color 2 plane에 대응하는 멀티플렉서(144)의 입력 포트 및 디멀티플렉서(146)의 출력 포트로 스위칭되도록 멀티플렉서(144) 및 디멀티플렉서(146)에 제어 신호를 전송하며, 디코더(142) 는 color 2 plane에 대응하는 압축된 프린팅 데이터를 멀티플렉서(144)를 통하여 입력하여 디코딩을 수행하며, 디코딩된 프린팅 데이터는 디멀티플렉서(146)를 통하여 color 2 plane에 대응하는 라인 버퍼(16c)에 전송된다(S34).As a result of the comparison, when the data amount of the decoded printing data is equal to or larger than the data amount corresponding to the reference line number D2, the decoding controller 18 may determine an input port and a demultiplexer of the multiplexer 144 corresponding to the color 2 plane. The control signal is transmitted to the multiplexer 144 and the demultiplexer 146 to be switched to the output port of the 146, and the decoder 142 inputs the compressed printing data corresponding to the color 2 plane through the multiplexer 144 to decode. The decoded printing data is transmitted to the line buffer 16c corresponding to the color 2 plane through the demultiplexer 146 (S34).

다음으로, 디코딩 제어부(18)는 color 2 plane의 프린팅 데이터에 대한 디코딩 동작이 개시된 후 소정의 시간이 경과하였는지 확인한다(S36). 확인 결과, 소정 시간이 경과하지 않은 경우, color 2 plane의 프린팅 데이터에 대한 디코딩 동작을 계속한다(S34).Next, the decoding controller 18 checks whether a predetermined time has elapsed since the decoding operation of the printing data of the color 2 plane has started (S36). As a result of the check, if the predetermined time has not elapsed, the decoding operation on the printing data of the color 2 plane is continued (S34).

확인 결과, 소정 시간이 경과한 경우, 디코딩 제어부(18)는 color 0 plane에 대응하는 멀티플렉서(144)의 입력 포트 및 디멀티플렉서(146)의 출력 포트로 스위칭되도록 멀티플렉서(144) 및 디멀티플렉서(146)에 제어 신호를 전송하며, 디코더(142)는 color 0 plane에 대응하는 압축된 프린팅 데이터를 멀티플렉서(144)를 통하여 입력하여 디코딩을 수행하며, 디코딩된 프린팅 데이터는 디멀티플렉서(146)를 통하여 color 0 plane에 대응하는 라인 버퍼(16a)에 전송된다(S38).As a result of the check, when a predetermined time has elapsed, the decoding control unit 18 switches the multiplexer 144 and the demultiplexer 146 to switch to the input port of the multiplexer 144 and the output port of the demultiplexer 146 corresponding to the color 0 plane. The control unit transmits a control signal, and the decoder 142 inputs the compressed printing data corresponding to the color 0 plane through the multiplexer 144 to perform decoding, and the decoded printing data is decoded in the color 0 plane through the demultiplexer 146. The corresponding line buffer 16a is transferred (S38).

다음으로, 디코딩 제어부(18)는 데이터량 산출부(20)로부터 color 2 plane의 디코딩된 프린팅 데이터의 데이터량 정보를 입력하여 기준 라인 수(D2)에 대응하는 데이터량과 비교한다(S40).Next, the decoding controller 18 inputs the data amount information of the decoded printing data of the color 2 plane from the data amount calculator 20 and compares it with the data amount corresponding to the reference line number D2 (S40).

비교 결과, 디코딩된 프린팅 데이터의 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량보다 작은 경우, color 0 plane, color 1 plane 또는 color 2 plane의 디코딩 동작을 계속한다(S34).As a result of the comparison, when the data amount of the decoded printing data is smaller than the data amount corresponding to the reference line number D2, the decoding operation of the color 0 plane, the color 1 plane, or the color 2 plane is continued (S34).

비교 결과, 디코딩된 프린팅 데이터의 데이터량이 상기 기준 라인 수(D2)에 대응하는 데이터량과 같거나 큰 경우, 디코딩 제어부(18)는 color 3 plane에 대응하는 멀티플렉서(144)의 입력 포트 및 디멀티플렉서(146)의 출력 포트로 스위칭되도록 멀티플렉서(144) 및 디멀티플렉서(146)에 제어 신호를 전송하며, 디코더(142)는 color 3 plane에 대응하는 압축된 프린팅 데이터를 멀티플렉서(144)를 통하여 입력하여 디코딩을 수행하며, 디코딩된 프린팅 데이터는 디멀티플렉서(146)를 통하여 color 3 plane에 대응하는 라인 버퍼(16d)에 전송된다(S42).As a result of the comparison, when the data amount of decoded printing data is equal to or larger than the data amount corresponding to the reference line number D2, the decoding controller 18 may determine an input port and a demultiplexer of the multiplexer 144 corresponding to the color 3 plane. The control signal is transmitted to the multiplexer 144 and the demultiplexer 146 so as to be switched to the output port of the 146, and the decoder 142 inputs the compressed printing data corresponding to the color 3 plane through the multiplexer 144 to perform decoding. The decoded printing data is transmitted to the line buffer 16d corresponding to the color 3 plane through the demultiplexer 146 (S42).

다음으로, 디코딩 제어부(18)는 color 3 plane의 프린팅 데이터에 대한 디코딩 동작이 개시된 후 소정의 시간이 경과하였는지 확인한다(S44). 확인 결과, 소정 시간이 경과하지 않은 경우, color 3 plane의 프린팅 데이터에 대한 디코딩 동작을 계속한다(S42).Next, the decoding controller 18 checks whether a predetermined time has elapsed since the decoding operation for the printing data of the color 3 plane is started (S44). As a result of the check, if the predetermined time has not elapsed, the decoding operation on the printing data of the color 3 plane is continued (S42).

확인 결과, 소정 시간이 경과한 경우, 디코딩 제어부(18)는 color 0 plane에 대응하는 멀티플렉서(144)의 입력 포트 및 디멀티플렉서(146)의 출력 포트로 스위칭되도록 멀티플렉서(144) 및 디멀티플렉서(146)에 제어 신호를 전송하며, 디코더(142)는 color 0 plane에 대응하는 압축된 프린팅 데이터를 멀티플렉서(144)를 통하여 입력하여 디코딩을 수행하며, 디코딩된 프린팅 데이터는 디멀티플렉서(146)를 통하여 color 0 plane에 대응하는 라인 버퍼(16a)에 전송된다(S46).As a result of the check, when a predetermined time has elapsed, the decoding control unit 18 switches the multiplexer 144 and the demultiplexer 146 to switch to the input port of the multiplexer 144 and the output port of the demultiplexer 146 corresponding to the color 0 plane. The control unit transmits a control signal, and the decoder 142 inputs the compressed printing data corresponding to the color 0 plane through the multiplexer 144 to perform decoding, and the decoded printing data is decoded in the color 0 plane through the demultiplexer 146. The corresponding line buffer 16a is transmitted (S46).

다음으로, 디코딩 제어부(18)는 모든 컬러 플레인에 대한 압축된 프린팅 데이터의 디코딩이 완료되었는지 확인한다(S48). 확인 결과, 모든 컬러 플레인에 대한 압축된 프린팅 데이터의 디코딩이 완료되지 않은 경우, color 0 plane, color 1 plane, color 2 plane 또는 color 3 plane의 압축된 프린팅 데이터에 대한 디코딩 동작을 계속한다(S42).Next, the decoding control unit 18 confirms whether decoding of the compressed printing data for all color planes is completed (S48). If the decoding of the compressed printing data for all color planes is not completed, the decoding operation for the compressed printing data of color 0 plane, color 1 plane, color 2 plane, or color 3 plane is continued (S42). .

확인 결과, 모든 컬러 플레인에 대한 압축된 프린팅 데이터의 디코딩이 완료된 경우, 디코딩 과정을 종료한다.As a result of the check, when the decoding of the compressed printing data for all the color planes is completed, the decoding process is terminated.

한편, 본 발명에 의한 라인 버퍼(16a~16d)의 총 메모리 용량 M은 하기 수학식2에 의하여 계산될 수 있다.Meanwhile, the total memory capacity M of the line buffers 16a to 16d according to the present invention can be calculated by Equation 2 below.

M = [C*R*N + C*D1*(1 + … + (R-1)) ]*L M = [C * R * N + C * D1 * (1 +… + (R-1))] * L

여기에서, C는 컬러 수, R은 컬러 당 노즐 어레이의 수, L은 라인 당 노즐의 수, N은 라인 버퍼의 최소 메모리 용량, 및 D1은 동일한 컬러의 노즐 어레이 간의 간격을 나타낸다.Where C is the number of colors, R is the number of nozzle arrays per color, L is the number of nozzles per line, N is the minimum memory capacity of the line buffer, and D1 is the spacing between nozzle arrays of the same color.

만일 C = 4 컬러, R = 4 개, N = 4 바이트, D1 = 10 라인, L = 2500 개인 경우, 라인 버퍼(16a~16d)의 총 메모리 용량 M은 [4*4*4 + 4*10*(1+2+3)]*2550 = 94.63 Kbytes가 된다. 이는 각 컬러 별로 동시에 디코딩을 수행하는 경우 필요한 라인 버퍼의 크기에 비해 약 200Kbytes가 줄어든 것이다. 따라서 본 발명에 의하면, 각 컬러 플레인의 프린팅 데이터의 디코딩 동작을 순차 제어함으로써, 필요한 라인 버퍼의 메모리 크기를 줄일 수 있다.If C = 4 colors, R = 4, N = 4 bytes, D1 = 10 lines, L = 2500, the total memory capacity M of the line buffers 16a-16d is [4 * 4 * 4 + 4 * 10 * (1 + 2 + 3)] * 2550 = 94.63 Kbytes This is about 200 Kbytes reduced compared to the size of the line buffer required when decoding simultaneously for each color. Therefore, according to the present invention, by sequentially controlling the decoding operation of the printing data of each color plane, the memory size of the required line buffer can be reduced.

상기한 바와 같이, 본 발명에 의하면, 프린터 콘트롤러의 라인 버퍼의 메모리 용량이 최소화된 프린팅 장치를 제공할 수 있다.As described above, the present invention can provide a printing apparatus in which the memory capacity of the line buffer of the printer controller is minimized.

Claims (5)

복수의 컬러에 각각 대응하는 프린팅 데이터가 저장되는 복수의 라인 버퍼; 및 상기 복수의 컬러에 각각 대응하여 기록매체의 진행방향으로 순차 배열되어 상기 프린팅 데이터에 기초하여 잉크를 분사하는 복수의 노즐 어레이를 가지는 프린트 헤드를 구비하는 프린팅 장치에 있어서,A plurality of line buffers in which printing data corresponding to a plurality of colors is stored; And a print head having a plurality of nozzle arrays sequentially arranged in a traveling direction of a recording medium corresponding to the plurality of colors, respectively, to eject ink based on the printing data. 압축된 형식의 상기 프린팅 데이터를 복원하여 상기 라인 버퍼에 출력하는 디코딩 유닛;A decoding unit for restoring the printing data in a compressed form and outputting the printed data to the line buffer; 상기 디코딩 유닛에 의해 복원된 프린팅 데이터의 양을 산출하는 데이터량 산출부; 및A data amount calculating section for calculating an amount of printing data restored by the decoding unit; And 상기 산출된 프린팅 데이터의 양에 기초하여, 상기 디코딩 유닛이 수행하는 프린팅 데이터의 각 컬러에 대한 복원 동작의 순서를 제어하는 디코딩 제어부를 포함하는 것을 특징으로 하는 프린팅 장치.And a decoding controller configured to control an order of a reconstruction operation for each color of the printing data performed by the decoding unit, based on the calculated amount of printing data. 제1항에 있어서,The method of claim 1, 상기 디코딩 유닛은, 상기 복수의 컬러 각각에 대응하여 마련되어 압축된 형식의 상기 프린팅 데이터를 복원하는 복수의 디코더를 포함하는 것을 특징으로 하는 프린팅 장치.And the decoding unit includes a plurality of decoders provided corresponding to each of the plurality of colors to restore the printing data in a compressed format. 제2항에 있어서,The method of claim 2, 상기 디코딩 제어부는 소정 컬러에 대응하는 디코더에 의해 복원된 프린팅 데이터의 양이 서로 다른 컬러에 대응하는 인접한 두 노즐 어레이 간의 간격에 대응하는 데이터량과 같거나 큰 경우, 상기 복수의 디코더 중 인접하는 다른 컬러의 노즐 어레이에 대응하는 프린팅 데이터를 복원할 디코더의 동작이 개시되도록 제어하는 것을 특징으로 하는 프린팅 장치.If the amount of printing data reconstructed by the decoder corresponding to a predetermined color is equal to or larger than the data amount corresponding to the distance between two adjacent nozzle arrays corresponding to different colors, the decoding control unit may be configured to determine the adjacent other among the plurality of decoders. And control to start an operation of a decoder to restore printing data corresponding to a nozzle array of colors. 제1항에 있어서,The method of claim 1, 상기 디코딩 유닛은,The decoding unit, 상기 복수의 컬러 각각에 대응한 복수의 입력 포트를 포함하며, 상기 디코딩 제어부의 제어신호에 기초하여 상기 복수의 입력 포트 중 어느 하나를 통하여 압축된 형식의 상기 프린팅 데이터를 입력하여 출력하는 멀티플렉서;A multiplexer including a plurality of input ports corresponding to each of the plurality of colors, and inputting and outputting the printing data in a compressed format through any one of the plurality of input ports based on a control signal of the decoding controller; 상기 멀티플렉서가 출력한 압축된 형식의 상기 프린팅 데이터를 입력하여 복원하는 디코더; 및A decoder for inputting and restoring the printing data in a compressed format output by the multiplexer; And 상기 복수의 라인 버퍼에 각각 연결된 복수의 출력 포트를 포함하며, 상기 디코더가 복원한 상기 프린팅 데이터를 입력하여, 상기 디코딩 제어부의 제어신호에 기초하여 상기 복수의 출력포트 중 어느 하나를 통하여 출력하는 디멀티플렉서를 포함하며,A demultiplexer including a plurality of output ports respectively connected to the plurality of line buffers, inputting the printing data restored by the decoder, and outputting the printed data through any one of the plurality of output ports based on a control signal of the decoding controller; Including; 상기 디코딩 제어부는 상기 멀티플렉서의 입력 포트 및 상기 디멀티플렉서의 출력 포트가 동일한 컬러에 대하여 동기하여 소정 시간 간격으로 순차 스위칭되도록 제어하는 것을 특징으로 하는 프린팅 장치.And the decoding controller controls the input port of the multiplexer and the output port of the demultiplexer to be sequentially switched at predetermined time intervals in synchronization with the same color. 제4항에 있어서,The method of claim 4, wherein 상기 디코딩 제어부는 소정 컬러에 대응하는 복원된 프린팅 데이터의 양이 서로 다른 컬러에 대응하는 인접한 두 노즐 어레이 간의 간격에 대응하는 데이터량과 같거나 큰 경우, 인접한 다른 컬러의 노즐 어레이에 대응하는 상기 멀티플렉서의 입력 포트 및 상기 디멀티플렉서의 출력 포트가 추가적으로 순차 스위칭되도록 제어하는 것을 특징으로 하는 프린팅 장치.The decoding control unit may determine that the multiplexer corresponding to the nozzle array of another adjacent color when the amount of restored printing data corresponding to a predetermined color is equal to or larger than the data amount corresponding to the distance between two adjacent nozzle arrays corresponding to different colors. And an input port of the demultiplexer and an output port of the demultiplexer are additionally sequentially switched.
KR1020040107963A 2004-12-17 2004-12-17 Printing apparatus KR100577434B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040107963A KR100577434B1 (en) 2004-12-17 2004-12-17 Printing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040107963A KR100577434B1 (en) 2004-12-17 2004-12-17 Printing apparatus

Publications (1)

Publication Number Publication Date
KR100577434B1 true KR100577434B1 (en) 2006-05-08

Family

ID=37181207

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040107963A KR100577434B1 (en) 2004-12-17 2004-12-17 Printing apparatus

Country Status (1)

Country Link
KR (1) KR100577434B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000079722A (en) 1998-09-04 2000-03-21 Seiko Epson Corp Printer and printer control apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000079722A (en) 1998-09-04 2000-03-21 Seiko Epson Corp Printer and printer control apparatus

Similar Documents

Publication Publication Date Title
KR100654765B1 (en) Head driving device, inkjet printer comprising the same and data processing method thereof
EP1203665B1 (en) Color ink-jet head
US7244008B2 (en) Driving apparatus for driving ink jet recording device, and ink jet printer
US20050083360A1 (en) Printing apparatus and printing method
WO2003068507A3 (en) Improved subcovered printing mode for a printhead with multiple sized ejectors
EP0730249B1 (en) Method for compression and decompression of data used by a serial printer
JP2008023759A (en) Inkjet recording apparatus, method for recovering processing its recording head, and computer program
KR100577434B1 (en) Printing apparatus
CN101204891A (en) Imaging apparatus and control method thereof
JP2005324453A (en) Inkjet recording apparatus
JP2000025207A (en) Ink jet recorder and recording method
JP2006334979A (en) Liquid droplet ejection apparatus, data creation apparatus, liquid droplet ejection method, and data creation method
JP2003220731A (en) Ink jet recorder and its controlling method
JPH1195945A (en) Method for transferring raster information from host computer to ink jet printer, and correspondent printing method
JP7380198B2 (en) Head unit control device, head unit and liquid ejection device
US8007066B2 (en) Printing apparatus, printing method and method of manufacturing printing apparatus
US6206503B1 (en) Inkjet recording head
JP2012020560A (en) Printing apparatus and serial data transfer method
JP2005306048A (en) Print head with staggered arrangement and printing device using it
JP2009279767A (en) Head unit and liquid ejector
US6361153B1 (en) Preload of data prior to fire pulse by using a dual buffer system in ink jet printing
JPH0958019A (en) Image forming equipment
US8363264B2 (en) Data transmission apparatus having data generation unit that outputs image data block including dot data lines made up of dot data elements
JP4631509B2 (en) Liquid ejector
CN112088095B (en) Ink jet head and image forming apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee