KR20040021024A - Fast network printer and printing method thereof - Google Patents

Fast network printer and printing method thereof Download PDF

Info

Publication number
KR20040021024A
KR20040021024A KR1020020052456A KR20020052456A KR20040021024A KR 20040021024 A KR20040021024 A KR 20040021024A KR 1020020052456 A KR1020020052456 A KR 1020020052456A KR 20020052456 A KR20020052456 A KR 20020052456A KR 20040021024 A KR20040021024 A KR 20040021024A
Authority
KR
South Korea
Prior art keywords
printing
data
print data
shared memory
network
Prior art date
Application number
KR1020020052456A
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 KR1020020052456A priority Critical patent/KR20040021024A/en
Publication of KR20040021024A publication Critical patent/KR20040021024A/en

Links

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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1288Remote printer device, e.g. being remote from client or server in client-server-printer device configuration
    • 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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • G06F3/1226Discovery of devices having required properties
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1286Remote printer device, e.g. being remote from client or server via local network

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE: A high-speed network printer and a printing method thereof are provided to transmit the printing data to a printer from a network card through a shared memory in parallel not sequential. CONSTITUTION: The network card(40) receives the printing data through the network and outputs the received printing data. The shared memories(42-46) buffer/output the printing data inputted from the network card. The printer(48) prints the printing data output from the shared memories. The network card is equipped with a data receiver receiving the printing data from a host through the network, a memory checker checking the shared memory buffering no printing data and outputting a checking result, and a data output part recognizing the shared memory buffering no printing data and outputting the printing data inputted from the data receiver to the recognized shared memory.

Description

고속 네트워크 프린터 및 그의 인쇄 방법{Fast network printer and printing method thereof}High speed network printer and its printing method

본 발명은 네트워크 프린터에 관한 것으로서, 특히, 고속으로 인쇄할 수 있는 고속 네트워크 프린터 및 그의 인쇄 방법에 관한 것이다.TECHNICAL FIELD The present invention relates to a network printer, and more particularly, to a high speed network printer capable of printing at high speed and a printing method thereof.

일반적으로 네트워크 프린터는 네트워크 카드(미도시), 공유 메모리(미도시) 및 인쇄부(미도시)를 갖는다. 이 때, 네트워크 카드와 인쇄부간에 공유 메모리를 이용한 인쇄용 데이타의 전송은 하나씩 이루어진다. 즉, 두 개의 인쇄용 데이타들을 하나의 공유 메모리를 통해 네트워크 카드로부터 인쇄부로 전송하고자 할 때, 하나의 인쇄용 데이타가 공유 메모리를 통해 네트워크 카드로부터 인쇄부로 전송된 후에만 다른 인쇄용 데이타가 네트워크 카드로부터 공유 메모리를 통해 인쇄부로 전송될 수 있다.In general, a network printer has a network card (not shown), a shared memory (not shown), and a printing unit (not shown). At this time, transfer of printing data using a shared memory is performed one by one between the network card and the printing unit. That is, when two print data are to be transferred from the network card to the printing unit through one shared memory, other printing data is transferred from the network card only after one printing data is transferred from the network card to the printing unit through the shared memory. It may be transmitted to the printing unit through.

예를 들어, 3 개의 호스트들(미도시)로부터 각각 인쇄용 데이타들인 A, B 및 C를 A, B 및 C의 순서대로 인쇄부에서 인쇄하고자 할 때, A의 용량이 적으면 문제가 되지 않으나 A의 용량이 크면 B와 C는 인쇄용 데이타 A가 네트워크 카드로부터 인쇄부로 모두 전송될 때까지 공유 메모리에 버퍼링될 수 없고 기다려야 한다. 이와 같이, 종래의 네트워크 프린터는 순차적으로 인쇄 데이타를 인쇄하기 때문에, 인쇄 시간을 지연시켜 인쇄용 데이타를 신속하게 인쇄할 수 없는 문제점을 갖는다.For example, if you want to print A, B, and C, which are printing data from three hosts (not shown), in the printing unit in the order of A, B, and C, a small amount of A is not a problem. If the capacity of is large, B and C cannot wait to be buffered in shared memory until printing data A has been transferred from the network card to the printing unit. As described above, the conventional network printer sequentially prints the print data, and thus has a problem in that the print data cannot be printed quickly by delaying the print time.

본 발명이 이루고자 하는 기술적 과제는, 인쇄용 데이타를 네트워크 카드로부터 공유 메모리를 통해 인쇄부로 순차적이 아니라 병렬로 전송할 수 있는 고속 네트워크 프린터를 제공하는 데 있다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a high-speed network printer capable of transmitting data for printing from a network card to a printing unit in parallel, not sequentially, through a shared memory.

본 발명이 이루고자 하는 다른 기술적 과제는, 상기 고속 네트워크 프린터에서 수행되는 인쇄 방법을 제공하는 데 있다.Another object of the present invention is to provide a printing method performed in the high speed network printer.

도 1은 본 발명에 의한 고속 네트워크 프린터와 호스트간의 관계를 예시적으로 나타내는 도면이다.1 is a diagram illustrating a relationship between a high speed network printer and a host according to the present invention.

도 2는 도 1에 도시된 본 발명에 의한 네트워크 프린터의 블럭도이다.2 is a block diagram of a network printer according to the present invention shown in FIG.

도 3은 도 2에 도시된 네트워크 카드의 본 발명에 의한 바람직한 일 실시예의 블럭도이다.3 is a block diagram of a preferred embodiment of the present invention of the network card shown in FIG.

도 4는 본 발명에 의한 고속 네트워크 프린터의 인쇄 방법을 설명하기 위한 플로우차트이다.4 is a flowchart for explaining a printing method of a high speed network printer according to the present invention.

상기 과제를 이루기 위해, 적어도 하나의 호스트 각각으로부터 전송되는 적어도 하나의 인쇄용 데이타를 네트워크를 통해 수신하여 인쇄하는 본 발명에 의한 고속 네트워크 프린터는, 상기 적어도 하나의 인쇄용 데이타를 상기 네트워크를 통해 수신하고, 상기 수신된 적어도 하나의 인쇄용 데이타를 출력하는 네트워크 카드와, 상기 네트워크 카드로부터 입력한 상기 수신된 적어도 하나의 인쇄용 데이타를 버퍼링하여 출력하는 적어도 두 개의 공유 메모리들 및 상기 공유 메모리들로부터 출력되는 상기 인쇄용 데이타를 인쇄하는 인쇄부로 구성되는 것이 바람직하다.In order to achieve the above object, a high-speed network printer according to the present invention for receiving and printing at least one print data transmitted from each of the at least one host via a network, receiving the at least one print data via the network, The network card outputting the received at least one print data, at least two shared memories for buffering and outputting the received at least one print data input from the network card, and the print memory output from the shared memories. It is preferable that it is comprised by the printing part which prints data.

상기 다른 과제를 이루기 위해, 적어도 하나의 호스트 각각으로부터 전송되는 적어도 하나의 인쇄용 데이타를 네트워크를 통해 수신하는 네트워크 카드, 상기 네트워크 카드로부터 입력한 상기 인쇄용 데이타를 버퍼링하는 적어도 두 개의 공유 메모리들 및 상기 공유 메모리들로부터 출력되는 상기 인쇄용 데이타를 인쇄하는 인쇄부를 구비하는 고속 네트워크 프린터에서 수행되는 본 발명에 의한 인쇄 방법은, 상기 적어도 하나의 호스트로부터 수신한 상기 적어도 하나의 인쇄용 데이타를 상기 공유 메모리들중 상기 인쇄용 데이타를 버퍼링하지 않은 공유 메모리로 보내는 단계와, 상기 적어도 하나의 수신된 인쇄용 데이타를 버퍼링하여 상기 인쇄부로 보내는 단계와, 상기 버퍼링된 상기 인쇄용 데이타를 인쇄하는 단계 및 상기 수신된 인쇄용 데이타중에서 상기 네트워크 카드로부터 상기 인쇄부로 보낼 인쇄용 데이타가 존재하는가를 판단하고, 상기 네트워크 카드로부터 상기 인쇄부로 보낼 상기 인쇄용 데이타가 존재한다고 판단되면 상기 (a) 단계로 진행하는 단계로 이루어지는 것이 바람직하다.In order to achieve the above object, a network card for receiving at least one printing data transmitted from each of the at least one host through a network, at least two shared memories buffering the printing data input from the network card, and the sharing The printing method according to the present invention performed in a high speed network printer having a printing unit for printing the printing data output from the memory, the printing data received from the at least one host of the at least one of the shared memory; Sending print data to the unbuffered shared memory, buffering the at least one received print data to the print portion, printing the buffered print data, and receiving the received print data. If it is judged whether among the other, from the network card, the printing data exists, send part the printing, and determines that from the network card, the printing data sent as part the printed exists is made of a step of proceeding to the step (a) is preferred.

이하, 본 발명에 의한 고속 네트워크 프린터의 구성 및 동작을 첨부한 도면들을 참조하여 다음과 같이 설명한다.Hereinafter, with reference to the accompanying drawings, the configuration and operation of a high-speed network printer according to the present invention will be described as follows.

도 1은 본 발명에 의한 고속 네트워크 프린터와 호스트간의 관계를 예시적으로 나타내는 도면으로서, 제1, 제2, ... 및 제M 호스트(host)들(10, 12, ... 및 14) 및 네트워크 프린터(20)로 구성된다. 여기서, M은 1이상의 양의 정수이다.1 is a diagram illustrating a relationship between a high-speed network printer and a host according to an embodiment of the present invention, wherein the first, second, ..., and Mth hosts 10, 12, ..., and 14 are shown. And a network printer 20. Here, M is a positive integer of 1 or more.

도 1에 도시된 네트워크 프린터(20)는 적어도 하나의 호스트(10, 12, ..., 14) 각각으로부터 전송되는 적어도 하나의 인쇄용 데이타를 유선 또는 무선 네트워크(16)를 통해 수신하고, 수신된 인쇄용 데이타를 인쇄한다. 여기서, 호스트(10, 12, ... 또는 14)는 개인용 컴퓨터(PC:Personal Computer) 호스트를 의미한다.The network printer 20 shown in FIG. 1 receives at least one printing data transmitted from each of the at least one host 10, 12,..., 14 via the wired or wireless network 16, and receives the received data. Print data for printing. Here, the hosts 10, 12, ... or 14 mean a personal computer (PC) host.

도 2는 도 1에 도시된 본 발명에 의한 네트워크 프린터(20)의 블럭도로서, 네트워크 카드(40), 제1, 제2, ... 및 제N 공유 메모리들(42, 44, ... 및 46) 및 인쇄부(48)로 구성된다. 여기서, N은 2이상의 양의 정수이다.FIG. 2 is a block diagram of the network printer 20 according to the present invention shown in FIG. 1, showing a network card 40, first, second, ... and N-th shared memories 42, 44,... And 46) and a printing unit 48. Here, N is a positive integer of 2 or more.

도 2에 도시된 네트워크 카드(40)는 인쇄를 위한 통신 프로토콜(protocol) 예를 들면, TCP/IP, DCL/LLC등을 가질 수 있으며 적어도 하나의 인쇄용 데이타를 네트워크(16)를 통해 입력단자 IN1으로 제1, 제2, ... 및 제M 호스트들(10, 12, ... 및 14)로부터 수신하고, 수신된 적어도 하나의 인쇄용 데이타를 해당하는 공유 메모리(42, 44, ... 또는 46)로 출력한다.The network card 40 shown in FIG. 2 may have a communication protocol for printing, for example, TCP / IP, DCL / LLC, etc., and inputs at least one printing data to the input terminal IN1 via the network 16. Receive from the first, second, ... and Mth hosts 10, 12, ..., and 14, and share the received at least one printable data with corresponding shared memory 42, 44, ... Or 46).

도 3은 도 2에 도시된 네트워크 카드(40)의 본 발명에 의한 바람직한 일 실시예의 블럭도로서, 데이타 수신부(60), 메모리 검사부(62) 및 데이타 출력부(64)로 구성된다.3 is a block diagram of a preferred embodiment of the network card 40 shown in FIG. 2, which includes a data receiving unit 60, a memory check unit 62, and a data output unit 64. As shown in FIG.

도 3에 도시된 네트워크 카드의 데이타 수신부(60)는 네트워크(16)를 통해 적어도 하나의 호스트(10, 12, ... 및 14)로부터 전송된 적어도 하나의 인쇄용 데이타를 입력단자 IN2를 통해 수신하고, 수신된 적어도 하나의 인쇄용 데이타를 데이타 출력부(64)로 출력한다. 이 때, 메모리 검사부(62)는 인쇄용 데이타를 버퍼링하지 않은 공유 메모리가 존재하는가를 검사하고, 검사된 결과를 데이타 출력부(64)로 출력한다. 이 때, 데이타 출력부(64)는 메모리 검사부(62)로부터 입력한 검사된 결과로부터 인쇄용 데이타를 버퍼링하지 않은 공유 메모리를 인식하고, 인식된 공유 메모리로 데이타 수신부(60)로부터 입력한 수신된 인쇄용 데이타를 출력단자 OUT2를 통해 출력한다.The data receiving unit 60 of the network card shown in FIG. 3 receives at least one print data transmitted from at least one host 10, 12, ... and 14 via the network 16 through the input terminal IN2. Then, the received at least one print data is output to the data output unit 64. At this time, the memory inspecting unit 62 checks whether there is a shared memory which does not buffer printing data, and outputs the inspected result to the data output unit 64. At this time, the data output unit 64 recognizes the shared memory which does not buffer the printing data from the checked result input from the memory inspecting unit 62, and receives the received printing use input from the data receiving unit 60 into the recognized shared memory. Output data through output terminal OUT2.

예를 들면, 네트워크 카드(40)는 수신한 인쇄용 데이타를 플래그(flag)가 오프인 공유 메모리로 출력한다. 이 때, 플래그가 오프인 공유 메모리가 존재하지 않을 경우, 네트워크 카드(40)는 가장 먼저 플래그가 오프되는 공유 메모리로 인쇄용 데이타를 출력한다. 여기서, 플래그는 공유 메모리마다 할당되어 있고, 네트워크 카드(40)는 어느 공유 메모리로 인쇄용 데이타를 버퍼링시키고자 할 때 그 공유 메모리에 할당된 플래그를 오프에서 온시키고, 그 공유 메모리로 인쇄용 데이타가 모두 전송되었을 때 작업 종료 신호(EOJ:End Of Job)를 인쇄부(48)로 보내고 그 공유 메모리에 해당하는 플래그를 온에서 오프시킨다. 따라서, 네트워크 카드(40)가 제n(1≤n≤N) 공유 메모리(42, 44, ... 또는 46)를 점유하여 인쇄용 데이타를 버퍼링시키기 위해서는 제n 공유 메모리(42, 44, ... 또는 46)에 할당된 플래그가 오프되어 있어야 한다.For example, the network card 40 outputs the received print data to the shared memory whose flag is off. At this time, if there is no shared memory with the flag off, the network card 40 first outputs data for printing to the shared memory with the flag off. Here, a flag is allocated to each shared memory, and the network card 40 turns on the flag assigned to the shared memory from off when it wants to buffer the printing data to any shared memory, and all the printing data is stored in the shared memory. When transmitted, it sends an end-of-job signal (EOJ: End Of Job) to the printing unit 48 and turns off the flag corresponding to the shared memory. Thus, in order for the network card 40 to occupy the nth (1≤n≤N) shared memory 42, 44, ... or 46 to buffer the data for printing, the nth shared memory 42, 44, ... Or 46) must be off.

한편, 제1, 제2, ... 및 제N 공유 메모리들(42, 44, ... 및 46)은 네트워크 카드(40)와 인쇄부(48)간에 각종 데이타의 송수신을 위한 저장 공간으로서, 네트워크 카드(40)로부터 입력한 수신된 적어도 하나의 인쇄용 데이타를 버퍼링하여 인쇄부(48)로 출력한다. 이 때, 인쇄부(48)는 제1, 제2, ... 및 제N 공유 메모리들(42, 44, ... 및 46)로부터 출력되는 인쇄용 데이타를 인쇄하고, 인쇄된 결과를 출력단자 OUT1을 통해 출력한다.On the other hand, the first, second, ... and N-th shared memories 42, 44, ..., and 46 are storage spaces for transmitting and receiving various data between the network card 40 and the printing unit 48. At least one print data received from the network card 40 is buffered and output to the printing unit 48. At this time, the printing unit 48 prints the printing data output from the first, second, ... and N-th shared memories 42, 44, ..., and 46, and outputs the printed result to the output terminal. Output via OUT1.

전술한 네트워크 카드(40)와 인쇄부(48)간에 데이타 송수신은 예를 들면 프린터 통신 모듈(PCM:Printer Communication Module)에 의해 정의될 수 있다.Data transmission and reception between the above-described network card 40 and the printing unit 48 may be defined by, for example, a printer communication module (PCM).

이하, 전술한 고속 네트워크 프린터에서 수행되는 본 발명에 의한 고속 네트워크 프린터의 인쇄 방법을 첨부한 도면을 참조하여 다음과 같이 설명한다.Hereinafter, a printing method of a high speed network printer according to the present invention performed by the above-described high speed network printer will be described with reference to the accompanying drawings.

도 4는 본 발명에 의한 고속 네트워크 프린터의 인쇄 방법을 설명하기 위한 플로우차트로서, 인쇄용 데이타를 수신하여 해당하는 공유 메모리로 보내는 단계(제80 ∼ 제84 단계들), 인쇄용 데이타를 버퍼링하여 인쇄하는 단계(제86 및 제88 단계들) 및 공유 메모리를 통해 네트워크 카드로부터 인쇄부로 전송할 인쇄용 데이타가 존재하는가를 판단하는 단계(제90 단계)로 이루어진다.4 is a flowchart illustrating a printing method of a high-speed network printer according to the present invention, which comprises the steps of receiving print data and sending it to a corresponding shared memory (steps 80 to 84), buffering and printing print data. And (step 90), judging whether there exists printing data to be transmitted from the network card to the printing unit via the shared memory (step 90).

본 발명에 의한 고속 네트워크 프린터의 인쇄 방법을 수행하기 위해 먼저, 네트워크 카드(40)는 적어도 하나의 호스트(10, 12, ... 및 14)로부터 수신한 적어도 하나의 인쇄용 데이타를 제1, 제2, ... 및 제N 공유 메모리들(42, 44, ... 및 46)중 인쇄용 데이타를 버퍼링하지 않은 공유 메모리로 보낸다(제80 ∼ 제84 단계들)로 이루어진다.In order to perform the printing method of the high speed network printer according to the present invention, first, the network card 40 stores the at least one data for printing received from the at least one host 10, 12,. 2, ... and N-th shared memories 42, 44, ..., and 46 are sent (printing steps 80 to 84) to the non-buffered shared memory.

예컨데, 전술한 바와 같이 네트워크 카드(40)의 데이타 수신부(60)는 적어도 하나의 인쇄용 데이타를 네트워크(16)를 통해 적어도 하나의 호스트(10, 12, ... 및 14)로부터 수신한다(제80 단계). 제80 단계후에, 메모리 검사부(62)는 수신된적어도 하나의 인쇄용 데이타를 버퍼링하지 않은 공유 메모리가 존재하는가를 판단한다(제82 단계). 만일, 인쇄용 데이타를 버퍼링하지 않은 공유 메모리가 존재하지 않은 것으로 판단되면, 인쇄용 데이타를 버퍼링하고 있지 않은 공유 메모리가 존재하는가를 계속적으로 판단한다. 왜냐하면, 현재는 인쇄용 데이타를 버퍼링하지 않은 공유 메모리가 존재하지 않는다고 하더라도 버퍼링된 인쇄용 데이타를 인쇄부(48)에 전송한 공유 매모리는 다시 인쇄용 데이타를 버퍼링할 수 있기 때문이다.For example, as described above, the data receiving unit 60 of the network card 40 receives at least one printing data from the at least one host 10, 12,..., And 14 via the network 16. 80 steps). After the eighty-eighth step, the memory checker 62 determines whether there is a shared memory that does not buffer the received at least one print data (step 82). If it is determined that there is no shared memory not buffering the print data, it is continuously determined whether there is a shared memory not buffering the print data. This is because even if there is no shared memory which does not buffer the print data at present, the shared memory which has transferred the buffered print data to the print unit 48 can buffer the print data again.

그러나, 인쇄용 데이타를 버퍼링하지 않은 공유 메모리가 존재한다고 판단되면, 인쇄용 데이타를 버퍼링하지 않은 공유 메모리로 인쇄용 데이타를 보낸다(제84 단계).However, if it is determined that there is a shared memory not buffering the print data, the print data is sent to the shared memory not buffering the print data (step 84).

예를 들면, 제82 단계를 수행하기 위해, 메모리 검사부(62)는 제1, 제2, .. 및 제N 공유 메모리들(42, 44, ... 및 46)에 해당하는 N개의 플래그들중에서 오프된 플래그가 존재하는가를 판단할 수 있다. 즉, 오프된 플래그가 존재한다는 것은 인쇄용 데이타를 버퍼링하지 않은 공유 메모리가 존재하는 것에 해당한다. 따라서, 오프된 플래그가 존재한다고 판단되면, 오프된 플래그에 해당하는 공유 메모리로 수신된 인쇄용 데이타를 보낸다(제84 단계).For example, to perform step 82, the memory check unit 62 may set N flags corresponding to the first, second,..., And N-th shared memories 42, 44,..., And 46. It may be determined whether there is an off flag. That is, the presence of an off flag corresponds to the presence of shared memory that does not buffer print data. Therefore, if it is determined that the flag is turned off, the received print data is sent to the shared memory corresponding to the flag turned off (step 84).

제84 단계후에, 제1, 제2, ... 및 제N 공유 메모리들(42, 44, ... 및 46)중 해당하는 공유 메모리는 수신된 인쇄용 데이타를 버퍼링하고, 버퍼링된 인쇄용 데이타를 인쇄부(48)로 보낸다(제86 단계).After step 84, the corresponding shared memory of the first, second, ..., and N-th shared memories 42, 44, ..., and 46 buffers the received print data, and stores the buffered print data. It sends to the printing part 48 (step 86).

제86 단계후에, 인쇄부(48)는 공유 메모리에서 버퍼링되어 보내진 인쇄용 데이타를 인쇄한다(제88 단계). 제88 단계후에, 네트워크 카드로부터 인쇄부(48)로 보낼 인쇄용 데이타가 존재하는가를 판단한다(제90 단계). 여기서, 제90 단계는 네트워크 카드(40)에서 수행될 수 있다. 만일, 네트워크 카드(40)로부터 인쇄부(48)로 보낼 인쇄용 데이타가 존재한다고 판단되면, 제82 단계로 진행한다.After step 86, the printing unit 48 prints the print data sent buffered in the shared memory (step 88). After step 88, it is determined whether there is print data to be sent from the network card to the printing unit 48 (step 90). Here, step 90 may be performed by the network card 40. If it is determined that there is printing data to be sent from the network card 40 to the printing unit 48, the flow proceeds to step 82.

본 발명의 이해를 돕기 위해, M=3, N=2, 제1 공유 메모리(42)의 버퍼링 상태를 나타내는 플래그를 제1 플래그라 칭하고, 제2 공유 메모리(44)의 버퍼링 상태를 나타내는 플래그를 제2 플래그라 칭하며, 제1, 제2 및 제3 호스트들(10, 12 및 14)로부터 출력되는 인쇄용 데이타들을 각각 A, B 및 C라 가정하자. 이 때, A, B 및 C의 크기가 각각 4M, 20K 및 5K 바이트(bytes)이고, 제1, 제2 및 제3 호스트들(10, 12 및 14)의 순서대로 네트워크 프린터(20)와 접속되었다고, 즉, 인쇄용 데이타가 A, B 및 C의 순서로 네트워크 카드(40)에 수신되었다고 가정하자.For better understanding of the present invention, a flag indicating a buffering state of M = 3, N = 2 and the first shared memory 42 is called a first flag, and a flag indicating a buffering state of the second shared memory 44 is referred to. Called the second flag, suppose the printing data output from the first, second and third hosts 10, 12 and 14 are A, B and C, respectively. At this time, the sizes of A, B, and C are 4M, 20K, and 5K bytes, respectively, and are connected to the network printer 20 in the order of the first, second, and third hosts 10, 12, and 14, respectively. That is, assume that printing data has been received to the network card 40 in the order of A, B and C. FIG.

전술한 가정하에서, 본 발명에 의한 고속 네트워크 프린터 및 이 프린터의 인쇄 방법은 먼저, 네트워크 카드(40)에 C보다 먼저 수신된 A 및 B를 제1 및 제2 플래그들이 모두 오프되어 있을 경우 제1 및 제2 공유 메모리들(42 및 44)에 각각 버퍼링시킨다. 그러나, 제1 및 제2 플래그들중 하나만 오프인 경우, 오프인 플래그에 해당하는 공유 메모리(42 및 44)에 A를 먼저 버퍼링시킨다. 그러나, 제1 및 제2 플래그들이 모두 온인 경우, 가장 먼저 오프된 플래그에 해당하는 공유 메모리에 A를 버퍼링시킨다. 예를 들어, 제1 및 제2 플래그들이 모두 오프되어 있어서, A와 B가 제1 및 제2 공유 메모리들(42 및 44)에 각각 버퍼링되었다고 가정한다. 이 때, 제1 및 제2 공유 메모리들(42 및 44)로 인쇄용 데이타가 전송되거나 제1 및 제2 공유 메모리들(42 및 44)로부터 인쇄부(48)로 인쇄용 데이타가 전송되는 동안 제1 및 제2 플래그들은 온된다. 따라서, 제1 및 제2 플래그들이 온 되어 있는 동안, 인쇄용 데이타 C를 제1 또는 제2 공유 메모리(42 또는 44)에 버퍼링시킬 수 없다. 즉, 제1 또는 제2 플래그가 오프될 때까지 인쇄용 데이타 C의 인쇄부(48)로의 공유 메모리를 통한 전송은 기다려진다. 이 때, 용량이 적은 인쇄용 데이타 B가 A보다 먼저 인쇄부(48)로 전송될 경우, 네트워크 카드(40)는 EOJ를 인쇄부(48)로 전송하고 제2 플래그를 오프시킨다. 이 때, 오프된 제2 플래그를 갖는 제2 공유 메모리(44)로 인쇄용 데이타 C를 버퍼링시킨다. 따라서, 인쇄용 데이타 A가 제1 공유 메모리(42)에 버퍼링되어 인쇄부(48)로 전송되는 동안 인쇄용 데이타들인 B와 C가 제2 공유 메모리(44)를 통해 인쇄부(48)로 전송될 수 있다.Under the foregoing assumption, the high speed network printer and the printing method of the printer according to the present invention firstly use the first and second flags when A and B received before the C in the network card 40 are all turned off. And second shared memories 42 and 44, respectively. However, when only one of the first and second flags is off, A is first buffered in the shared memories 42 and 44 corresponding to the off in flag. However, when both the first and second flags are on, A is buffered in the shared memory corresponding to the flag that is turned off first. For example, assume that the first and second flags are both off, so that A and B are buffered in the first and second shared memories 42 and 44, respectively. At this time, the printing data is transferred to the first and second shared memories 42 and 44 or the printing data is transferred from the first and second shared memories 42 and 44 to the printing unit 48. And the second flags are on. Thus, while the first and second flags are on, the printing data C cannot be buffered in the first or second shared memory 42 or 44. That is, the transmission of the printing data C to the printing unit 48 through the shared memory is waited until the first or second flag is turned off. At this time, when the printing data B having a small capacity is transmitted to the printing unit 48 before A, the network card 40 transmits the EOJ to the printing unit 48 and turns off the second flag. At this time, the printing data C is buffered into the second shared memory 44 having the second flag turned off. Therefore, printing data B and C can be transmitted to the printing unit 48 through the second shared memory 44 while the printing data A is buffered in the first shared memory 42 and transmitted to the printing unit 48. have.

전술한 가정하에서, 종래의 네트워크 프린터는 A→B→C의 순서로 호스트들로부터 인쇄용 데이타가 전송될 때, A의 인쇄를 마칠때까지 B를 인쇄할 수 없고 A와 B를 인쇄할 때까지 C를 인쇄할 수 없으며, A→B→C의 순서로만 인쇄한다. 이에 반하여, 본 발명에 의한 고속 네트워크 프린터 및 이 프린터의 인쇄 방법은 A의 용량이 클 경우 B와 C를 A보다 먼저 인쇄시킬 수 있다. 즉, B→C→A의 순서로 인쇄가 수행된다. 즉, A, B 및 C를 인쇄하기 위해서, 종래에는 A를 인쇄하는 시간(TA), B를 인쇄하는 시간(TB) 및 C를 인쇄하는 시간(TC)이 모두 소요된 반면, 본 발명에 의한 고속 네트워크 프린터 및 그의 인쇄 방법에 의할 경우, TA동안 B와 C를 인쇄할 수 있다.Under the foregoing assumption, the conventional network printer cannot print B until printing of A is completed and prints A and B until printing data is transferred from the hosts in the order A → B → C. Cannot be printed, only A → B → C. In contrast, the high speed network printer and the printing method of the printer according to the present invention can print B and C before A when the capacity of A is large. That is, printing is performed in the order of B → C → A. That is, in order to print A, B, and C, while the time for printing A (TA), the time for printing B (TB), and the time for printing C (TC) are all conventionally required, By the high speed network printer and its printing method, B and C can be printed during TA.

결국, 본 발명에 의한 고속 네트워크 프린터 및 그의 인쇄 방법은 네트워크카드(40)로부터 인쇄부(48)로 전송하는 인쇄용 데이타를 제1 공유 메모리(42)에 주로 버퍼링하며, 제1 공유 메모리(42)가 다른 인쇄용 데이타를 버퍼링하고 있을 때 인쇄용 데이타를 제2 공유 메모리(44)에 부차적으로 버퍼링하여 네트워크 카드(40)로부터 인쇄부(48)로 전송할 수 있다.As a result, the high speed network printer and the printing method thereof according to the present invention mainly buffer the printing data transmitted from the network card 40 to the printing unit 48 in the first shared memory 42, and the first shared memory 42 is used. May buffer the printing data in the second shared memory 44 and transfer it to the printing unit 48 from the network card 40 when the other printing data is buffered.

이상에서 설명한 바와 같이, 본 발명에 의한 고속 네트워크 프린터 및 그의 인쇄 방법은 여러 개의 인쇄용 데이타들을 병렬로 공유 메모리들을 통해 네트워크 카드로부터 인쇄부로 전송할 수 있기 때문에, 인쇄용 데이타를 보다 신속하게 인쇄할 수 있는 효과를 갖는다.As described above, the high-speed network printer and the printing method thereof according to the present invention can transmit several printing data in parallel from the network card to the printing unit through the shared memories, so that the printing data can be printed more quickly. Has

Claims (6)

적어도 하나의 호스트 각각으로부터 전송되는 적어도 하나의 인쇄용 데이타를 네트워크를 통해 수신하여 인쇄하는 고속 네트워크 프린터에 있어서,A high speed network printer for receiving and printing at least one print data transmitted from each of the at least one host through a network, 상기 적어도 하나의 인쇄용 데이타를 상기 네트워크를 통해 수신하고, 상기 수신된 적어도 하나의 인쇄용 데이타를 출력하는 네트워크 카드;A network card for receiving the at least one printing data through the network and outputting the received at least one printing data; 상기 네트워크 카드로부터 입력한 상기 수신된 적어도 하나의 인쇄용 데이타를 버퍼링하여 출력하는 적어도 두 개의 공유 메모리들; 및At least two shared memories for buffering and outputting the received at least one print data input from the network card; And 상기 공유 메모리들로부터 출력되는 상기 인쇄용 데이타를 인쇄하는 인쇄부를 구비하는 것을 특징으로 하는 고속 네트워크 프린터.And a printing unit for printing the printing data output from the shared memories. 제1 항에 있어서, 상기 네트워크 카드는The network card of claim 1, wherein the network card is 상기 적어도 하나의 호스트로부터 상기 적어도 하나의 인쇄용 데이타를 상기 네트워크를 통해 수신하는 데이타 수신부;A data receiving unit receiving the at least one printing data from the at least one host through the network; 상기 인쇄용 데이타를 버퍼링하지 않은 상기 공유 메모리가 존재하는가를 검사하고, 검사된 결과를 출력하는 메모리 검사부; 및A memory checker which checks whether the shared memory which does not buffer the print data exists and outputs the checked result; And 상기 검사된 결과로부터 상기 인쇄용 데이타를 버퍼링하지 않은 상기 공유 메모리를 인식하고, 인식된 상기 공유 메모리에 상기 데이타 수신부로부터 입력한 상기 수신된 인쇄용 데이타를 출력하는 데이타 출력부를 구비하는 것을 특징으로 하는 고속 네트워크 프린터.A data output unit for recognizing the shared memory which does not buffer the print data from the checked result, and outputting the received print data input from the data receiving unit to the recognized shared memory; printer. 적어도 하나의 호스트 각각으로부터 전송되는 적어도 하나의 인쇄용 데이타를 네트워크를 통해 수신하는 네트워크 카드, 상기 네트워크 카드로부터 입력한 상기 인쇄용 데이타를 버퍼링하는 적어도 두 개의 공유 메모리들 및 상기 공유 메모리들로부터 출력되는 상기 인쇄용 데이타를 인쇄하는 인쇄부를 구비하는 고속 네트워크 프린터에서 수행되는 인쇄 방법에 있어서,A network card that receives at least one print data transmitted from each of at least one host via a network, at least two shared memories buffering the print data input from the network card, and the print memory output from the shared memories A printing method performed in a high speed network printer having a printing unit for printing data, the method comprising: (a) 상기 적어도 하나의 호스트로부터 수신한 상기 적어도 하나의 인쇄용 데이타를 상기 공유 메모리들중 상기 인쇄용 데이타를 버퍼링하지 않은 공유 메모리로 보내는 단계;(a) sending the at least one print data received from the at least one host to a shared memory that does not buffer the print data of the shared memories; (b) 상기 적어도 하나의 수신된 인쇄용 데이타를 버퍼링하여 상기 인쇄부로 보내는 단계;(b) buffering and sending the at least one received printing data to the printing unit; (c) 상기 버퍼링된 상기 인쇄용 데이타를 인쇄하는 단계; 및(c) printing the buffered printing data; And (d) 상기 수신된 인쇄용 데이타중에서 상기 네트워크 카드로부터 상기 인쇄부로 보낼 인쇄용 데이타가 존재하는가를 판단하고, 상기 네트워크 카드로부터 상기 인쇄부로 보낼 상기 인쇄용 데이타가 존재한다고 판단되면 상기 (a) 단계로 진행하는 단계를 구비하는 것을 특징으로 하는 고속 네트워크 프린터의 인쇄 방법.(d) It is determined whether there is printing data to be sent from the network card to the printing unit among the received printing data, and if it is determined that the printing data to be sent from the network card to the printing unit exists, the process proceeds to step (a). A printing method for a high speed network printer, comprising the steps of: 제3 항에 있어서, 상기 (a) 단계는The method of claim 3, wherein step (a) (a1) 상기 적어도 하나의 인쇄용 데이타를 상기 네트워크를 통해 상기 적어도 하나의 호스트로부터 수신하는 단계;(a1) receiving the at least one printing data from the at least one host via the network; (a2) 상기 수신된 적어도 하나의 인쇄용 데이타를 버퍼링하지 않은 상기 공유 메모리가 존재하는가를 판단하는 단계; 및(a2) determining whether there is the shared memory that does not buffer the received at least one print data; And (a3) 상기 인쇄용 데이타를 버퍼링하지 않은 상기 공유 메모리가 존재한다고 판단되면, 상기 인쇄용 데이타를 버퍼링하지 않은 상기 공유 메모리로 상기 수신된 인쇄용 데이타를 보내는 단계를 구비하는 것을 특징으로 하는 고속 네트워크 프린터의 인쇄 방법.(a3) if it is determined that the shared memory that does not buffer the print data exists, sending the received print data to the shared memory that does not buffer the print data. Way. 제4 항에 있어서, 상기 (d) 단계는 상기 네트워크 카드로부터 상기 인쇄부로 보낼 상기 인쇄용 데이타가 존재한다고 판단되면 상기 (a2) 단계로 진행하는 것을 특징으로 하는 고속 네트워크 프린터의 인쇄 방법.The printing method of a high speed network printer according to claim 4, wherein the step (d) proceeds to the step (a2) when it is determined that the printing data to be sent from the network card to the printing unit is present. 제4 항에 있어서, 상기 (a2) 단계는 오프된 플래그가 존재하는가를 판단하고, 상기 오프된 플래그가 존재한다고 판단되면 상기 (a3) 단계로 진행하고, 상기 (a3) 단계는 상기 오프된 플래그에 해당하는 공유 메모리로 상기 수신된 인쇄용 데이타를 보내고,The method of claim 4, wherein the step (a2) determines whether an off flag exists, and if it is determined that the off flag exists, the process proceeds to the step (a3), and the step (a3) the off flag Sends the received print data to a shared memory corresponding to 상기 플래그는 상기 공유 메모리가 상기 인쇄용 데이타를 버퍼링할 때 온되고 상기 인쇄용 데이타를 버퍼링하지 않을 때 오프되는 것을 특징으로 하는 고속 네트워크 프린터의 인쇄 방법.And the flag is turned on when the shared memory buffers the print data and turned off when not buffering the print data.
KR1020020052456A 2002-09-02 2002-09-02 Fast network printer and printing method thereof KR20040021024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020020052456A KR20040021024A (en) 2002-09-02 2002-09-02 Fast network printer and printing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020020052456A KR20040021024A (en) 2002-09-02 2002-09-02 Fast network printer and printing method thereof

Publications (1)

Publication Number Publication Date
KR20040021024A true KR20040021024A (en) 2004-03-10

Family

ID=37325264

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020020052456A KR20040021024A (en) 2002-09-02 2002-09-02 Fast network printer and printing method thereof

Country Status (1)

Country Link
KR (1) KR20040021024A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274289A (en) * 1993-03-19 1994-09-30 Ricoh Co Ltd Network printer device
JP2000085217A (en) * 1998-09-14 2000-03-28 Ricoh Co Ltd Network printer system
JP2000181665A (en) * 1998-12-17 2000-06-30 Ricoh Co Ltd Network printer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274289A (en) * 1993-03-19 1994-09-30 Ricoh Co Ltd Network printer device
JP2000085217A (en) * 1998-09-14 2000-03-28 Ricoh Co Ltd Network printer system
JP2000181665A (en) * 1998-12-17 2000-06-30 Ricoh Co Ltd Network printer system

Similar Documents

Publication Publication Date Title
US6967960B1 (en) Method and apparatus for emulating a local data port
CN109471824B (en) AXI bus-based data transmission system and method
JPH07262152A (en) Computer system
US7296108B2 (en) Apparatus and method for efficient transmission of unaligned data
JPH08116348A (en) High-speed communication equipment
JP2003069603A (en) Packet communication controller
EP1391827A1 (en) Transmission apparatus and tramsmission method
WO2013094010A1 (en) Data transferring apparatus, data transferring method, and inter-chip communication system
KR20040021024A (en) Fast network printer and printing method thereof
JP5531427B2 (en) Switch, information processing apparatus, arbitration method, and image forming system
US6779070B2 (en) Data transaction through a bridge
EP0829095B1 (en) Method and apparatus for reducing latency time on an interface by overlapping transmitted packets
KR100648631B1 (en) Uart automatic half-duplex direction control with programmable delay
CN214278936U (en) MCBSP and USB conversion control board card
KR100612454B1 (en) Apparatus and method for adapting for i2c bus
JP4329188B2 (en) Data transfer control device
JP2001162894A (en) Data communication system and method
KR20070081981A (en) Interface method and apparatus in cpuless system
KR940002722A (en) Data transfer and synchronization method between CPUs in a system consisting of two CPUs
JP3071607U (en) Computer peripheral device and printer device
KR200309903Y1 (en) Universal asynchronous transceiver
JP2793480B2 (en) LAN data transmission method
JP3068701U (en) Printer device
KR0123720B1 (en) Data printing method
CN115525224A (en) Data frame reading and writing method, device and terminal based on fixed delay retransmission service

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application