KR100200690B1 - Blank data processing method in printer - Google Patents

Blank data processing method in printer Download PDF

Info

Publication number
KR100200690B1
KR100200690B1 KR1019950044899A KR19950044899A KR100200690B1 KR 100200690 B1 KR100200690 B1 KR 100200690B1 KR 1019950044899 A KR1019950044899 A KR 1019950044899A KR 19950044899 A KR19950044899 A KR 19950044899A KR 100200690 B1 KR100200690 B1 KR 100200690B1
Authority
KR
South Korea
Prior art keywords
data
printer
interface controller
dma
processing method
Prior art date
Application number
KR1019950044899A
Other languages
Korean (ko)
Other versions
KR970029169A (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 KR1019950044899A priority Critical patent/KR100200690B1/en
Publication of KR970029169A publication Critical patent/KR970029169A/en
Application granted granted Critical
Publication of KR100200690B1 publication Critical patent/KR100200690B1/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/1827Accessing generic data, e.g. fonts
    • 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

Abstract

본 발명은 프린터의 공데이터 처리방법에 관해 개시한다. 본 발명은 데이터를 일시 저장하는 페이지버퍼메모리에 저장된 데이터를 페이지당 N개의 단위데이터로 분할하고, 분할된 상기 단위 데이터를 프린터 인터페이스 제어기를 통해 프린터로 전달하여 인쇄하는 프린터의 데이터 처리방법에 있어서, 상기 단위데이터중 공데이터를 갖는 단위데이터는 상기 페이지 버퍼 메모리를 경유하지 않고, 상기 프린터 인터페이스 제어기에서 발생되어 프린트되는 것을 특징으로 한다. 상기 본 발명에 의하여 프린터의 버스이용효율을 향상 시킬 수 있다.The present invention discloses a blank data processing method of a printer. The present invention provides a data processing method of a printer in which data stored in a page buffer memory for temporarily storing data is divided into N unit data per page, and the divided unit data is transferred to a printer through a printer interface controller and printed. The unit data having empty data in the unit data is generated and printed in the printer interface controller without passing through the page buffer memory. According to the present invention can improve the bus utilization efficiency of the printer.

Description

프린터의 공데이터(blank data) 처리방법Printer blank data processing method

제1도는 종래기술에 의한 프린터의 데이터 처리방법을 설명하기 위한 개략적인 블록도.1 is a schematic block diagram illustrating a data processing method of a printer according to the prior art.

제2도는 본 발명에 의한 프린터의 데이터 처리방법을 설명하기 위한 개략적인 블록도.2 is a schematic block diagram for explaining a data processing method of a printer according to the present invention.

본 발명은 프린터의 공데이터(blank data) 처리방법에 관한 것이다.The present invention relates to a blank data processing method of a printer.

컴퓨터에서 작성된 데이터를 출력하는 방법으로는 모니터와 프린터가 있는데, 상기 작성된 데이터를 기록으로 보관하기 위해서는 프린터를 이용한다. 컴퓨터에서 작성된 데이터를 인쇄하기 위해서는 컴퓨터에 인쇄명령을 준다. 그러면, 데이터는 컴퓨터로 전송되어 프린터의 페이지 버퍼 메모리에 전송된 순서대로 저장되다. 그리고 프린터내의 프린터 인터페이스 제어기(printer interface controller, 이하 PIFC라 약함)에 의해 제어되어 데이터가 종이에 인쇄된다.A method of outputting data created by a computer includes 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 to the computer and stored in the order in which they are sent to the page buffer memory of the printer. It is then controlled by a printer interface controller (hereinafter, referred to as PIFC) in the printer so that the data is printed on paper.

제1도는 종래기술에 의한 프린터의 데이터 처리방법을 설명하기 위한 개략적인 블록도를 나타낸다. 그 구조는 컴퓨터에서 전송해온 데이터를 순서적으로 일시 저장하는 페이지버퍼메모리(11)와 상기 페이지버퍼메모리(11)의 데이터를 읽어들이는 기억장소직접접근제어기(Direct Memory Access, 이하 DMA라 약함)(13)와 상기 DMA로부터 데이터를 받아서 프린터엔진으로 전달하는 프린터인터페이스제어기(Printer Interface Controller, 이하 PIFC라 약함)(15)로 구성되어 있다.1 is a schematic block diagram for explaining a data processing method of a printer according to the prior art. Its structure is a page buffer memory 11 that temporarily stores data transmitted from a computer in sequence, and a storage location direct access controller that reads data from the page buffer memory 11 (hereinafter, referred to as DMA). 13 and a printer interface controller (hereinafter referred to as PIFC) 15 which receives data from the DMA and transfers the data to the printer engine.

종래의 프린터의 데이터 처리방법으로서 컴퓨터에서 전송해온 데이터는 전송되는 순서대로 페이지버퍼메모리(11)에 모두 저장된다.As a data processing method of a conventional printer, data transmitted from a computer are all stored in the page buffer memory 11 in the order of transmission.

다음에 상기 페이지버퍼메모리에 저장된 데이터는 PIFC로 전송되고 PIFC는 이들 데이터를 프린터엔진으로 전송하여 최종적으로 인쇄한다.Next, the data stored in the page buffer memory is transferred to the PIFC, and the PIFC transfers these data to the printer engine for final printing.

상술한 종래의 프린터의 데이터 처리방법에서는 데이터의 내용이 공데이터일지라도 그대로 페이지버퍼메모리에 모두 저장하여 인쇄한다. 이럴 경우, 프린터의 데이터버스는 많은 데이터의 전송으로 인해 부하가 많이 걸려서 다른 신호를 전송하기 위해서는 시간이 많이 지체될 수가 있다.In the above-described conventional data processing method of the printer, even if the contents of the data are blank data, all of them are stored in the page buffer memory and printed. In this case, the data bus of the printer is overloaded due to the transmission of a large amount of data, and it may take a long time to transmit another signal.

따라서 본 발명의 목적은 버스이용효율을 향상시킬 수 있는 프린터의 공데이터 처리방법을 제공하는데 있다.Accordingly, an object of the present invention is to provide a method for processing a blank data of a printer which can improve bus utilization efficiency.

상기 목적을 달성하기 위하여 본 발명은, 데이터를 일시 저장하는 페이지버퍼메모리에 저장된 데이터를 페이지당 N개의 단위데이터로 분할하고, 분할된 상기 단위데이터를 프린터 인터페이스 제어기를 통해 프린터로 전달하여 인쇄하는 프린터의 데이터 처리방법에 있어서, 상기 단위데이터중 공데이터를 갖는 단위데이터는 상기 페이지 버퍼 메모리를 경유하지 않고, 상기 프린터 인터페이스 제어기에서 발생되어 프린트되는 것을 특징으로 한다.In order to achieve the above object, the present invention divides the data stored in the page buffer memory for temporarily storing data into N unit data per page, and transfers the divided unit data to a printer through a printer interface controller to print the printer. The data processing method according to claim 1, wherein the unit data having empty data in the unit data is generated and printed in the printer interface controller without passing through the page buffer memory.

상기 프린터인터페이스제어기는 프린터의 메모리에 저장된 데이터중 프린트할 데이터가 공데이터인 경우, 다음에 프린트할 내용이 공데이터라는 것을 DMA에 알려주는 blank-op신호를 DMA로 전송하고, DMA는 blank-op신호를 받자마자 페이지버퍼메모리의 내용을 실제 읽어들이지는 않지만 읽어들이는 동작을 완료했다는 DMA-read신호를 프린터인터페이스제어기로 전송하는 것이 바람직하다. 상기 본 발명에 의한 방법으로 프린터의 버스이용효율을 향상시킬 수 있다.If the data to be printed is blank data among the data stored in the printer's memory, the printer interface controller transmits a blank-op signal to the DMA indicating that the next content to be printed is blank data, and the DMA is blank-op. As soon as the signal is received, it is desirable to send the DMA-read signal to the printer interface controller that the contents of the page buffer memory are not actually read but the read operation is completed. The bus utilization efficiency of the printer can be improved by the method according to the present invention.

이하, 실시예를 통하여 본 발명을 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail through examples.

제2도는 본 발명에 의한 프린터의 데이터 처리방법을 설명하기 위한 개략적인 블록도를 나타낸다. 그 구조는 컴퓨터에서 전송해온 데이터를 순서적으로 일시 저장하는 페이지버퍼메모리(21)와 상기 페이지버퍼메모리(21)의 데이터를 중계하기 위해 두 개의 메모리공간을 갖는 중간메모리(23)와 상기 중간메모리(23)의 데이터를 읽어들이는 DMA(25)와 상기 DMA(25)로부터 데이터를 받아서 프린터엔진으로 전달하는 PIFC(27)로 구성되어 있다.2 is a schematic block diagram for explaining a data processing method of a printer according to the present invention. The structure includes a page buffer memory 21 for temporarily storing data transmitted from a computer in sequence and an intermediate memory 23 having two memory spaces for relaying data of the page buffer memory 21 and the intermediate memory 23. And a DMA 25 for reading the data of (23) and a PIFC 27 for receiving data from the DMA 25 and delivering it to the printer engine.

본 발명의 데이터 처리방법은, 컴퓨터에서 전송해온 데이터는 먼저 페이지버퍼메모리(21)에 순서적으로 저장되되 페이지당 6개의 단위데이터(Q1 내지 Q6)으로 분할되어 페이지버퍼메모리(21)의 1번지에서부터 차례대로 하나씩 저장된다. 다음에 상기 단위데이터는 Q1부터 차례로 큐(Queue)인 중간메모리(23)로 전송된다. 이때, 페이지버퍼메모리(21)의 홀수번지에 있는 단위데이터(Q1, Q3, Q5)는 중간메모리(23)의 1번지에, 페이지버퍼메모리(21)의 짝수번지에 있는 단위데이터(Q2, Q4, Q6)는 중간메모리(23)의 2번지에만 저장된다. 즉, Q1이 중간메모리(23)의 1번지에 전송되고 잠시 후에 Q2가 중간메모리(23)의 2번지에 전송되고 잠시 후에 Q3가 중간메모리(23)의 1번지에 전송되고 잠시 후인 Q4가 2번지에 전송된다.In the data processing method of the present invention, the data transmitted from the computer is first stored in the page buffer memory 21 in sequence, and divided into six unit data Q1 to Q6 per page, so that the address of the page buffer memory 21 is one address. Are stored one by one from. Next, the unit data is transmitted from the Q1 to the intermediate memory 23 which is a queue. At this time, the unit data (Q1, Q3, Q5) at the odd address of the page buffer memory 21 is the unit data (Q2, Q4) at the even address of the page buffer memory 21 at address 1 of the intermediate memory 23. , Q6) is stored only at address 2 of the intermediate memory 23. That is, Q1 is transferred to address 1 of the intermediate memory 23, after a while Q2 is transferred to address 2 of the intermediate memory 23, after a while Q3 is transferred to address 1 of the intermediate memory 23, and after a while, Q4 is 2 Is sent to the street address.

상기 단위데이터가 중간메모리(23)에 저장되면 PIFC(27)는 상기 단위데이터를 읽어들이라는 신호인 Q-EN신호(31)를 DMA(25)로 보낸다. 예를 들면, Q1이 중간메모리(23)의 1번지에 저장되면 PIFC(27)는 Q1EN신호를 DMA(25)로 보내고 Q2가 중간메모리(23)의 2번지에 저장되면 PIFC(27)는 Q2EN신호를 DMA(25)로 보낸다.When the unit data is stored in the intermediate memory 23, the PIFC 27 sends a Q-EN signal 31, which is a signal for reading the unit data, to the DMA 25. For example, if Q1 is stored in address 1 of the intermediate memory 23, the PIFC 27 sends a Q1EN signal to the DMA 25, and if Q2 is stored in address 2 of the intermediate memory 23, the PIFC 27 is Q2EN. Send a signal to DMA 25.

다음에 DMA(25)는 Q1EN신호를 받으면 Q1을 중간메모리(23)로부터 읽어서 PIFC(27)로 전송하고 Q2EN 신호를 받으면 중간메모리(23)로부터 Q2 신호를 읽어서 PIFC(27)로 전송한다. 여기서 만일 공데이터를 갖는 단위데이터, 예를 들어 Q2가 공데이터라면, 도시되지 않은 중앙제어부(CPU)와 데이터, 어드레스 및 콘트롤 버스에 의하여 서로 연결되는 PIFC(27)는 Q2가 공데이터라는 것을 DMA(25)에 알리기 위해 Blank-op(33) 신호를 상기 중앙제어부의 제어에 의하여 DMA(25)로 보낸다. 그러면 DMA(25)는 Q2가 공데이터라는 것을 인식하여 중간메모리(23)에서 단위데이터를 읽어오지 않는다.Next, when the DMA 25 receives the Q1EN signal, it reads Q1 from the intermediate memory 23 and transfers it to the PIFC 27. When receiving the Q2EN signal, the DMA 25 reads the Q2 signal from the intermediate memory 23 and transfers it to the PIFC 27. Here, if unit data having empty data, for example, Q2 is empty data, the PIFC 27 connected to each other by a central control unit (CPU) (not shown) and the data, address, and control bus indicates that Q2 is empty data. To inform 25, a Blank-op 33 signal is sent to the DMA 25 under control of the central controller. The DMA 25 then recognizes that Q2 is empty data and does not read unit data from the intermediate memory 23.

그대신 중간메모리(23)에서 단위데이터를 읽어오는 동작을 완료했다는 의미로 DMA_read(35)신호를 PIFC(27)로 전송한다. 그러면 PIFC(27)는 DMA(25)로부터 Q2를 받는 것이 아니라 자체적으로 생성한 '0'를 프린터엔진으로 전송하여 인쇄하게 한다.Instead, the DMA_read (35) signal is transmitted to the PIFC 27, indicating that the operation of reading the unit data from the intermediate memory 23 is completed. The PIFC 27 does not receive Q2 from the DMA 25, but transmits its own generated '0' to the printer engine for printing.

상술한 본 발명에 따르면 공데이터를 인쇄해야 할 경우, 버스를 이용하지 않고 PIFC에서 공데이터에 해당하는 0를 생성하고 프린터엔진으로 출력하여 인쇄함으로써 데이터버스를 다른 데이터를 전송할 수 있는 여유를 제공하게된다. 따라서 버스이용효율을 향상시킬 수가 있다.According to the present invention described above, when it is necessary to print the blank data, a zero corresponding to the blank data is generated in PIFC without using a bus, and output to a printer engine to print, thereby providing a margin for transmitting other data. do. Therefore, bus utilization efficiency can be 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)

데이터를 일시 저장하는 페이지버퍼메모리에 저장된 데이터를 페이지당 N개의 단위데이터로 분할하고, 분할된 상기 단위데이터를 프린터 인터페이스 제어기를 통해 프린터로 전달하여 인쇄하는 프린터의 데이터 처리방법에 있어서, 상기 단위데이터중 공데이터를 갖는 단위데이터는 상기 페이지 버퍼 메모리를 경유하지 않고, 상기 프린터 인터페이스 제어기에서 발생되어 프린트되는 것을 특징으로 하는 프린터의 공데이터 처리방법.A data processing method of a printer which divides data stored in a page buffer memory for temporarily storing data into N unit data per page, and transfers the divided unit data to a printer through a printer interface controller to print the data. The unit data having hollow data is generated and printed by the printer interface controller without passing through the page buffer memory. 제1항에 있어서, 상기 프린터 인터페이스 제어기는 그 출력이 프린터 인터페이스 제어기로 경유되도록 제어하는 DMA를 더 포함하며, 프린터의 메모리에 저장된 데이터중 프린트할 데이터가 공데이터인 경우, 다음에 프린트할 내용이 공데이터라는 것을 나타내는 blank-op신호를 상기 DMA로 전송하고, 상기 DMA는 blank-op신호를 받자마자 페이지 버퍼 메모리의 내용을 실제 읽어들이지는 않지만 읽어들이는 동작을 완료했다는 DMA-read신호를 프린터 인터페이스 제어기로 전송하는 것을 특징으로 하는 프린터의 공데이터 처리방법.The printer interface controller of claim 1, wherein the printer interface controller further includes a DMA for controlling output thereof to be passed to the printer interface controller. A blank-op signal is transmitted to the DMA indicating that the data is empty, and the DMA outputs a DMA-read signal indicating that the contents of the page buffer memory have not been actually read but the reading operation is completed as soon as the blank-op signal is received. The blank data processing method of the printer, characterized in that the transmission to the interface controller.
KR1019950044899A 1995-11-29 1995-11-29 Blank data processing method in printer KR100200690B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950044899A KR100200690B1 (en) 1995-11-29 1995-11-29 Blank data processing method in printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950044899A KR100200690B1 (en) 1995-11-29 1995-11-29 Blank data processing method in printer

Publications (2)

Publication Number Publication Date
KR970029169A KR970029169A (en) 1997-06-26
KR100200690B1 true KR100200690B1 (en) 1999-06-15

Family

ID=19436537

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950044899A KR100200690B1 (en) 1995-11-29 1995-11-29 Blank data processing method in printer

Country Status (1)

Country Link
KR (1) KR100200690B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020006121A (en) * 2000-07-11 2002-01-19 우진호 Output method by optimizing a memory

Also Published As

Publication number Publication date
KR970029169A (en) 1997-06-26

Similar Documents

Publication Publication Date Title
US6907480B2 (en) Data processing apparatus and data input/output apparatus and data input/output method
EP0310712B1 (en) Front-end system for a raster output scanner
JPH06282411A (en) Circuit and method for expansion of data
KR100200690B1 (en) Blank data processing method in printer
JPS6259330B2 (en)
CA1247732A (en) Image processing system
US4761729A (en) Device for exchanging data between a computer and a peripheral unit having a memory formed by shift registers
JP3079956B2 (en) Printer
JPS63182150A (en) Laser printer controller
KR100219474B1 (en) Printer
JPS63163657A (en) Dma transfer system
JPS59171256A (en) Printer circuit
JPH09265367A (en) Device and method for printer control
JPH0533913B2 (en)
JPH11179975A (en) Color printer control device
KR940007480B1 (en) Brank line treatment method and circuit led printer
JPS59221069A (en) Memory control system
JP4132564B2 (en) Image input / output device
JPS617771A (en) System for receiving and expanding image data
JPS63233843A (en) Bit map memory control device
JPH0477272A (en) Printer
JPH0679930A (en) Bit map memory controller
JPS61153770A (en) Image processor
JPS62159219A (en) Printer controller
JP2001134528A (en) Data transfer controller

Legal Events

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

Payment date: 20070228

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee