KR0183749B1 - A printer - Google Patents

A printer Download PDF

Info

Publication number
KR0183749B1
KR0183749B1 KR1019950039044A KR19950039044A KR0183749B1 KR 0183749 B1 KR0183749 B1 KR 0183749B1 KR 1019950039044 A KR1019950039044 A KR 1019950039044A KR 19950039044 A KR19950039044 A KR 19950039044A KR 0183749 B1 KR0183749 B1 KR 0183749B1
Authority
KR
South Korea
Prior art keywords
data
buffer memory
page buffer
printer
address
Prior art date
Application number
KR1019950039044A
Other languages
Korean (ko)
Other versions
KR970020451A (en
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 KR1019950039044A priority Critical patent/KR0183749B1/en
Publication of KR970020451A publication Critical patent/KR970020451A/en
Application granted granted Critical
Publication of KR0183749B1 publication Critical patent/KR0183749B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/1817Buffers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1848Generation of the printable image
    • G06K15/1856Generation of the printable image characterized by its workflow
    • G06K15/1861Generation of the printable image characterized by its workflow taking account of a limited available memory space or rasterization time

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

본 발명은 페이지 버퍼 메모리의 이용효율을 향상시킨 프린터에 관한 것이다. 종래의 프린터는 반복되는 데이터가 페이지 버퍼 메모리에 모두 저장되었으나, 본 발명에 의한 프린터는 반복되는 데이터는 그 중 맨처음 데이터만 페이지 버퍼 메모리에 저장하여 페이지 버퍼 메모리를 효율적으로 이용할 수 있다. 본 발명의 프린터는 컴퓨터로부터 전송된 데이터를 저장하되 반복되는 데이터를 하나의 정보만 저장하는 페이지 버퍼 메모리와, 상기 페이지 버퍼 메모리의 데이터를 읽어내고 그 중의 반복되는 데이터는 저장된 하나의 정보를 통하여 다른 반복되는 데이터를 이끌어내는 DMA 제어부 및 상기 DMA 제어기로부터 데이터를 받아서 비디오 데이터를 출력하는 프린터 인터페이스(interface) 제어기로 구성되어 있다.The present invention relates to a printer that improves the utilization efficiency of the page buffer memory. In the conventional printer, all the repeated data is stored in the page buffer memory, but the printer according to the present invention can efficiently use the page buffer memory by storing only the first data among the repeated data in the page buffer memory. The printer of the present invention stores data transmitted from a computer but stores only one information of repeated data, and reads the data of the page buffer memory, and the repeated data therein is different from one stored information. And a printer interface controller for receiving data from the DMA controller and outputting video data.

Description

프린터printer

제1도는 종래의 프린터 구조를 개략적으로 도시한 블록도.1 is a block diagram schematically showing a conventional printer structure.

제2도는 상기 제1도에 도시한 프린터의 페이지 버퍼 메모리(page buffer memory) 구조를 도시한 도면.FIG. 2 is a diagram showing a page buffer memory structure of the printer shown in FIG.

제3도는 본 발명의 프린터 구조를 개략적으로 도시한 블록도.3 is a block diagram schematically showing the printer structure of the present invention.

제4도는 상기 제3도에 도시한 프린터의 DMA 제어부를 구체적으로 도시한 블록도.4 is a block diagram specifically showing a DMA control unit of the printer shown in FIG.

제5도는 상기 제3도에 도시한 프린터의 페이지 버퍼 메모리 구조를 도시한 도면.FIG. 5 is a diagram showing the page buffer memory structure of the printer shown in FIG.

본 발명은 프린터에 관한 것으로서, 특히 반복되는 데이터를 모두 페이지 버퍼 메모리에 저장하지 않고 그 일부만 저장하여 데이터 전체를 인쇄할 수 있는 프린터에 관한 것이다.The present invention relates to a printer, and more particularly, to a printer capable of printing the entire data by storing only a part thereof without storing all the repeated data in the page buffer memory.

컴퓨터에서 작성한 데이터를 출력하는 방법으로서는 모니터와 프린터가 있는데, 상기 작성된 데이터를 기록으로 보관하기 위해서는 프린터를 이용한다. 컴퓨터에서 작성된 데이터를 인쇄하기 위해서는 컴퓨터에 인쇄명령을 준다. 그러면, 데이터는 컴퓨터로부터 전송되어 프린터의 페이지 버퍼 메모리에 모두 저장된다. 그런 다음, 기억장소직접접근(DMA : Direct Memory Access, 이하 DMA라 약함) 제어기와 프린터 인터페이스 제어기(printer interface controller)에 의해서 데이터를 인쇄한다. 상기 과정을 좀 더 상세히 설명하기 위하여 제1도에 종래의 페이지 버퍼 메모리 구조를 도시하였다. 그 구조를 살펴보면, 컴퓨터로부터 전송되어진 데이터를 일시 저장하기 위한 페이지 버퍼 메모리(11)와 상기 페이지 버퍼 메모리(11)로부터 데이터를 읽어내는 DMA 제어기(13)와 상기 DMA 제어기(13)로부터 데이터를 받아서 이를 인쇄하기 위하여 비디오 데이터를 출력하는 프린터 인터페이스 제어기(15)가 있다.As a method of outputting data generated by a computer, there are a monitor and a printer. A printer is used to keep the created data as a record. To print data created on a computer, give a print command to the computer. The data is then transferred from the computer and stored in the printer's page buffer memory. Then, the data is printed by a direct memory access (DMA) controller and a printer interface controller. In order to explain the above process in more detail, a conventional page buffer memory structure is shown in FIG. Looking at the structure, it receives the data from the page buffer memory 11 for temporarily storing the data transmitted from the computer, the DMA controller 13 for reading data from the page buffer memory 11 and the DMA controller 13. There is a printer interface controller 15 that outputs video data to print it.

상기 페이지 버퍼 메모리(11)에 저장되는 데이터는 페이지(page) 단위로 저장된다. 그리고 상기 데이터를 인쇄하기 위해서 상기 DMA 제어기(13)는 상기 페이지 버퍼 메모리(11)에 접근(access)하여 저장된 데이터를 바이트(byte) 또는 워드(word) 단위로 읽어서 상기 프린터 인터페이스 제어기(15)로 전송한다. 그러면 상기 프린터 인터페이스 제어기(15)는 이것을 비디오 데이터로 전환하여 출력함으로써 상기 데이터는 인쇄 용지에 인쇄된다.Data stored in the page buffer memory 11 is stored in units of pages. In order to print the data, the DMA controller 13 accesses the page buffer memory 11 and reads the stored data in byte or word units to the printer interface controller 15. send. The printer interface controller 15 then converts this to video data and outputs the printed data on the print sheet.

제2도는 상기 제1도에 도시한 프린터의 페이지 버퍼 메모리(page buffer memory) 구조를 도시한 도면이다. 메모리 공간(23)이 있고 메모리의 각 방마다 지정된 주소(21)가 있다. 상기 메모리 공간(23)에는 1번지부터 15번지까지 데이터(A 내지 J)가 순서대로 저장되어 있다. 상기 데이터 중 6번지부터 10번지까지 저장된 데이터(F)는 반복되는 데이터를 나타낸다. 제2도에서 보듯이 반복되는 데이터가 페이지 버퍼 메모리에 모두 저장되어 있다.FIG. 2 is a diagram illustrating a page buffer memory structure of the printer shown in FIG. There is a memory space 23 and there is an address 21 assigned to each room of the memory. In the memory space 23, data A to J are stored in order from address 1 to address 15. The data F stored from 6 to 10 of the data represents repeated data. As shown in FIG. 2, all repetitive data is stored in the page buffer memory.

상술한 바와 같이, 데이터를 인쇄할 때 컴퓨터에서 작성된 데이터는 그 내용중 일부가 반복되는 여부에 관계없이 페이지 버퍼 메모리에 모두 저장된다. 그리고 상기 데이터를 인쇄용지에 인쇄할려면 DMA 제어기를 통해서 읽어내어 프린터 인터페이스 제어기로 전송해야 하는데, 상기 과정에서 데이터의 반복부분이 많을 경우에는 페이지 버퍼 메모리의 많은 공간을 차지하게 된다.As described above, data written on a computer when printing data is all stored in the page buffer memory regardless of whether some of its contents are repeated. In order to print the data on the printing paper, the data must be read through the DMA controller and transmitted to the printer interface controller. If the data has a large number of repetitive portions, the data occupies a large amount of space in the page buffer memory.

따라서 본 발명의 목적은 인쇄할 데이터 중 반복되는 데이터는 맨처음 데이터만 페이지 버퍼 메모리에 저장하여 데이터 전체를 인쇄할 수 있는 프린터를 제공하는데 있다.Accordingly, an object of the present invention is to provide a printer capable of printing the entire data by storing only the first data in the page buffer memory as repeated data among the data to be printed.

상기 목적을 달성하기 위하여 본 발명은, 데이터를 일시 저장하는 페이지 버퍼 메모리와 상기 페이지 버퍼 메모리의 데이터를 읽어내는 DMA 제어부와 상기 DMA 제어기로부터 데이터를 받아서 비디오 데이터를 출력하는 프린터 인터페이스(interface) 제어기를 갖는 프린터에 있어서, 상기 제어부는 페이지 버퍼 메모리의 주소를 관리하는 주소관리기와, 상기 주소관리부의 주소와 반복데이터의 첫주소를 비교하는 비교기와, 반복데이터의 수를 관리하는 반복데이터관리기와, 반복사이클의 수를 관리하는 반복사이클관리기와, 데이터의 전송횟수를 관리하는 전송횟수관리기 및 상기 반복데이터관리기와 반복사이클관리기를 제어하는 DMA 제어기로 구성된 프린터를 제공한다.In order to achieve the above object, the present invention provides a page buffer memory for temporarily storing data, a DMA controller for reading data of the page buffer memory, and a printer interface controller for receiving data from the DMA controller and outputting video data. In the printer having, the control unit is an address manager for managing the address of the page buffer memory, a comparator for comparing the address of the address management unit and the first address of the repetitive data, a repetitive data manager for managing the number of repetitive data, iteration It provides a printer consisting of a repeat cycle manager for managing the number of cycles, a transfer frequency manager for managing the number of transfer of data and a DMA controller for controlling the repeat data manager and the repeat cycle manager.

상기 반복데이터는 패턴 또는 라인인 것이 바람직하다. 상기 본 발명에 의하여 프린터의 페이지 버퍼 메모리의 이용효율을 높일 수가 있다.The repeating data is preferably a pattern or a line. According to the present invention, the utilization efficiency of the page buffer memory of the printer can be improved.

이하, 첨부 도면을 참조하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제3도는 본 발명의 프린터를 구조를 개략적으로 도시한 블록도이다. 구체적으로, 컴퓨터로부터 전송되어진 데이터를 일시 저장하기 위한 페이지 버퍼 메모리(31)와 상기 페이지 버퍼 메모리(31)로부터 데이터를 읽어내는 DMA 제어부(33)와 상기 DMA제어부(33)로부터 데이터를 받아서 이를 인쇄하기 위하여 비디오 데이터를 출력하는 프린터 인터페이스 제어기(35)가 있다.3 is a block diagram schematically showing the structure of the printer of the present invention. Specifically, the data is received from the page buffer memory 31 for temporarily storing data transmitted from the computer, the DMA control unit 33 for reading data from the page buffer memory 31 and the DMA control unit 33 and printed thereon. There is a printer interface controller 35 for outputting video data.

상기 페이지 버퍼 메모리(31)에 저장되는 데이터는 페이지(page) 단위로 저장되되 반복되는 데이터는 맨처음 데이터만 저장되고 나머지는 저장되지 않는다. 다음에 상기 데이터를 인쇄하기 위해서 상기 DMA 제어부(33)는 상기 페이지 버퍼 메모리(31)에 접근(access)하여 저장된 데이터를 바이트(byte) 또는 워드(word) 단위로 읽어서 프린터 인터페이스 제어기(35)로 전송한다. 그러면 프린터 인터페이스 제어기(35)는 컴퓨터에서 보낸 데이터에 따라 상기 페이지 버퍼 메모리(31)에 저장된 데이터를 DMA 제어부(33)를 통해서 읽은 다음 이를 비디오 데이터로 전환하여 출력함으로 인쇄를 하게 된다.Data stored in the page buffer memory 31 is stored in a page unit, but repeated data stores only the first data and no other data. Next, in order to print the data, the DMA controller 33 accesses the page buffer memory 31 to read the stored data in units of bytes or words to the printer interface controller 35. send. Then, the printer interface controller 35 reads the data stored in the page buffer memory 31 through the DMA controller 33 according to the data sent from the computer, and then converts the data into video data to print.

제4도는 상기 제3도의 DMA 제어부를 상세히 도시한 블록도이다. 구체적으로, 상기 DMA 제어부는 DMA 제어기(51), 주소 저장부(53), 주소비교기(55), 반복 사이클 계산부(57), 반복 데이터 저장부(59) 및 전송계산부(61)로 구성되어있다. 컴퓨터에서 보내온 데이터를 인쇄하기 위해서는 상기 데이터가 저장되어 있는 페이지 버퍼 메모리로부터 데이터를 읽어서 프린트 인터페이스 제어기로 전송해야 하는데 상기 제3도에서 설명하였듯이 반복되는 데이터인 경우에는 그 중 맨 처음 데이터만 저장되기 때문에 순서대로 읽어오면 완전한 데이터를 인쇄할 수 없다. 그래서 상기 비교기(55)에서는 주소 저장부(53)의 주소와 반복되는 데이터의 맨처음 주소를 비교하여 불일치하면 DMA제어기(51)는 전송횟수를 계산하여 컴퓨터에서 전송해온 데이터를 순서대로 인쇄한다. 그러다가 주소 저장부(53)의 주소와 반복되는 데이터의 맨처음 주소가 일치하면 DMA 제어기(51)는 반복되는 데이터를 프린터 인터페이스 제어기로 전송하기 시작한다. 이 때 반복 사이클 계산부(57)에서는 반복 사이클수를 계산하고 상기 반복 사이클수에 따라 반복 데이터 저장부(59)에서는 반복되는 데이터를 프린터 인터페이스 제어기로 전송한다. 반복사이클이 끝나면 반복되는 데이터의 전송을 끝내고 페이지 버퍼 메모리의 다음 주소의 데이터를 읽어서 전송한다. 여기서 상기 반복데이터로는 패턴 또는 라인이 해당된다.FIG. 4 is a detailed block diagram illustrating the DMA controller of FIG. 3. Specifically, the DMA controller is composed of a DMA controller 51, an address storage unit 53, an address comparator 55, a repeat cycle calculation unit 57, a repeat data storage unit 59 and a transfer calculation unit 61. It is. In order to print the data sent from the computer, it is necessary to read the data from the page buffer memory in which the data is stored and transmit the data to the print interface controller. In the case of repeated data, as described in FIG. If you read them in order, you cannot print complete data. Therefore, the comparator 55 compares the address of the address storage unit 53 with the first address of repeated data, and if there is a mismatch, the DMA controller 51 calculates the number of transfers and prints the data transmitted from the computer in order. Then, when the address of the address storage unit 53 and the first address of the repeated data coincide, the DMA controller 51 starts to transmit the repeated data to the printer interface controller. At this time, the repetition cycle calculation unit 57 calculates the number of repetition cycles, and the repetition data storage unit 59 transmits the repeated data to the printer interface controller according to the repetition cycle number. After the repetition cycle ends, the repetitive data transfer is completed and the data at the next address in the page buffer memory is read and transmitted. Here, the repetitive data corresponds to a pattern or a line.

제5도는 상기 제3도에 도시한 프린터의 페이지 버퍼 메모리(page buffer memory) 구조를 도시한 도면이다. 그 구조는 제2도와 비교할 수 있도록 15개의 메모리 주소만을 가진 페이지 버퍼 메모리를 도시하였다. 메모리 공간(93)이 있고 상기 메모리 공간의 각 방을 지정하는 주소(91)가 있다. 상기 페이지 버퍼 메모리에 저장되는 데이터 중 6번지 내지 10번지는 종래에는 반복되는 데이터가 모두 차지하는 공간이지만 본 발명에서는 데이터의 맨처음 데이터 하나만 저장되고 그 나머지 부분은 그 다음의 정보를 가진 데이터가 순차적으로 저장되어 있다. 즉 반복되는 데이터는 페이지 버퍼 메모리를 거의 차지하지 않음을 알 수 있다.FIG. 5 is a diagram illustrating a page buffer memory structure of the printer shown in FIG. The structure shows a page buffer memory having only 15 memory addresses for comparison with FIG. There is a memory space 93 and there is an address 91 designating each room of the memory space. Although 6 to 10 of the data stored in the page buffer memory are conventionally occupied by all the repeated data, in the present invention, only the first data of the data is stored and the rest of the data having the following information is sequentially It is stored. In other words, the repeated data occupies almost no page buffer memory.

상술한 바와 같이, 인쇄할 데이터 중 반복되는 데이터가 많을 경우에, 종래에는 모두 페이지 버퍼 메모리에 저장되어 불필요하게 페이지 버퍼 메모리를 많이 차지하였으나, 본 발명에서는 반복되는 데이터는 페이지 버퍼 메모리에 저장되지 않고 그 중의 맨처음 데이터만 저장됨으로써 페이지 버퍼 메모리의 이용효율을 높여준다.As described above, when a large amount of repeated data among the data to be printed is conventionally all stored in the page buffer memory to occupy much of the page buffer memory unnecessarily, in the present invention, the repeated data is not stored in the page buffer memory. Since only the first data is stored therein, the utilization efficiency of the page buffer memory is improved.

본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 기술적 사상내에서 당 분야에서 통상의 지식을 가진자에 의하여 가능함은 명백하다.The present invention is not limited to the above embodiments, and it is apparent that many modifications are possible by those skilled in the art within the technical idea of the present invention.

Claims (2)

데이터를 일시 저장하는 페이지 버퍼 메모리와 상기 페이지 버퍼 메모리의 데이터를 읽어내는 DMA 제어부와 상기 DMA 제어기로부터 데이터를 받아서 비디오 데이터를 출력하는 프린터 인터페이스(interface) 제어기를 갖는 프린터에 있어서, 상기 제어부는 페이지 버퍼 메모리의 주소를 관리하는 주소관리기; 상기 주소관리부의 주소와 반복데이터의 첫주소를 비교하는 비교기; 반복데이터의 수를 관리하는 반복데이터관리기; 반복사이클의 수를 관리하는 반복사이클관리기; 데이터의 전송횟수를 관리하는 전송횟수관리기; 및 상기 반복데이터관리기와 반복사이클관리기를 제어하는 DMA 제어기로 구성하는 것을 특징으로 하는 프린터.A printer having a page buffer memory for temporarily storing data, a DMA controller for reading data of the page buffer memory, and a printer interface controller for receiving data from the DMA controller and outputting video data. An address manager that manages an address of the memory; A comparator for comparing an address of the address manager with a first address of repetitive data; A repeating data manager for managing the number of repeating data; A repeat cycle manager for managing the number of repeat cycles; A transmission frequency manager for managing the transmission frequency of data; And a DMA controller for controlling the repeat data manager and the repeat cycle manager. 제1항에 있어서, 상기 반복데이터는 패턴 또는 라인인 것을 특징으로 하는 프린터.The printer as claimed in claim 1, wherein the repetitive data is a pattern or a line.
KR1019950039044A 1995-10-31 1995-10-31 A printer KR0183749B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950039044A KR0183749B1 (en) 1995-10-31 1995-10-31 A printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950039044A KR0183749B1 (en) 1995-10-31 1995-10-31 A printer

Publications (2)

Publication Number Publication Date
KR970020451A KR970020451A (en) 1997-05-28
KR0183749B1 true KR0183749B1 (en) 1999-05-15

Family

ID=19432538

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950039044A KR0183749B1 (en) 1995-10-31 1995-10-31 A printer

Country Status (1)

Country Link
KR (1) KR0183749B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100471136B1 (en) * 1997-09-24 2005-07-07 삼성전자주식회사 Line repetition print circuit

Also Published As

Publication number Publication date
KR970020451A (en) 1997-05-28

Similar Documents

Publication Publication Date Title
JP3598321B2 (en) Buffering data exchanged between buses operating at different frequencies
US7069373B2 (en) USB endpoint controller flexible memory management
US5185853A (en) Expandable printer buffer system
KR940005790B1 (en) Data processing unit with dma function
US6483604B1 (en) Disk-based image storage system and method with prioritized loading and retrieval operations
KR0183749B1 (en) A printer
US5895496A (en) System for an method of efficiently controlling memory accesses in a multiprocessor computer system
JPS6035687B2 (en) Print data control device
USRE38514E1 (en) System for and method of efficiently controlling memory accesses in a multiprocessor computer system
KR100219474B1 (en) Printer
JPS602715B2 (en) Kanji bit pattern management method for kanji printers
JP3357972B2 (en) Data DMA transfer circuit for thermal transfer line printer
JPH07281949A (en) Data storing method for storage
US6577313B1 (en) Image data control apparatus
JP3110905B2 (en) Data transfer device and method
JPS6277960A (en) Image-forming device
JP2998945B2 (en) Video transfer control device
JP2000137676A (en) Buffer control system
JPH1027126A (en) Address conversion device
JPS6218074B2 (en)
JPH0427571B2 (en)
JP4206524B2 (en) Printer control device
JPH0823740B2 (en) Font control method in terminal system
JP2878719B2 (en) Image data transfer control method and apparatus for page printer
JPH0327956A (en) Printing control device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20061128

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee