KR20050114415A - Fast printing method and apparatus thereof - Google Patents

Fast printing method and apparatus thereof Download PDF

Info

Publication number
KR20050114415A
KR20050114415A KR1020040039630A KR20040039630A KR20050114415A KR 20050114415 A KR20050114415 A KR 20050114415A KR 1020040039630 A KR1020040039630 A KR 1020040039630A KR 20040039630 A KR20040039630 A KR 20040039630A KR 20050114415 A KR20050114415 A KR 20050114415A
Authority
KR
South Korea
Prior art keywords
data
compressed data
printing
compressed
storage unit
Prior art date
Application number
KR1020040039630A
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 KR1020040039630A priority Critical patent/KR20050114415A/en
Publication of KR20050114415A publication Critical patent/KR20050114415A/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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • G06F3/1212Improving printing performance achieving reduced delay between job submission and print start
    • G06F3/1213Improving printing performance achieving reduced delay between job submission and print start at an intermediate node or at the final node

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)
  • Record Information Processing For Printing (AREA)

Abstract

고속 인쇄 방법 및 그 장치가 개시된다. 본 발명은 프린터 드라이버에서 출력되는 압축 데이터를 수신하여 복원하고, 복원된 데이터를 인쇄하는 인쇄 방법에 있어서, 압축 데이터를 수신하여 저장부에 저장하는 단계; 압축 데이터의 데이터 부분이 저장부에서 차지하는 위치 및 데이터 부분의 크기를 포함하는 데이터 정보를 획득하는 단계; 데이터 정보에 따라 저장부의 해당 위치에서 데이터 부분을 독출하여 압축을 복원하는 단계; 및 복원된 데이터를 인쇄하는 단계를 포함함을 특징으로한다.A high speed printing method and apparatus thereof are disclosed. The present invention provides a printing method for receiving and restoring compressed data output from a printer driver and printing the restored data, the method comprising: receiving compressed data and storing the compressed data in a storage unit; Obtaining data information including a position occupied by the data portion of the compressed data in the storage and a size of the data portion; Restoring compression by reading a data portion at a corresponding position of the storage unit according to the data information; And printing the restored data.

Description

고속 인쇄 방법 및 그 장치{Fast printing method and apparatus thereof}Fast printing method and apparatus thereof

본 발명은 고속 인쇄 방법에 관한 것으로, 특히 GDI(Graphic Device Interface) 인쇄방식의 프린터에서 고속으로 인쇄하는 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high speed printing method, and more particularly, to a method of printing at a high speed in a printer of a GDI (Graphic Device Interface) printing method.

프린터에서의 GDI는 프린팅 이미지를 PC에서 생성시켜 프린터에서 출력하는 기술을 말한다. GDI는 물리적인 인쇄를 제외한 대부분의 프린터 작업을 PC에서 소프트웨어로 처리하기 때문에 프린터 컨트롤러와 메모리 등을 최소화할 수 있다는 장점이 있다. 그러나 GDI는 프린터로 방대한 데이터를 전송하기 때문에 USB나 1394 등 차세대 인터페이스를 채용하지 않으면 심각한 병목현상이 발생하고 A3용지 등 대형 출력물이나 분당 30장 이상의 고속 출력이 필요한 고성능 프린터에는 적용하기 어려운 것으로 알려져 있다. GDI in a printer refers to a technology of generating a printed image on a PC and outputting the same from a printer. GDI has the advantage of minimizing the printer controller and memory, because most of the printer's tasks except for physical printing are processed by software on the PC. However, since GDI transmits a huge amount of data to the printer, it is not known to apply to next generation interfaces such as USB or 1394, which causes serious bottlenecks, and is difficult to apply to large-scale prints such as A3 paper or high-performance printers requiring high-speed output of 30 or more per minute. .

도 1은 종래의 GDI 인쇄 방식의 흐름도를 도시한 것이다.1 shows a flowchart of a conventional GDI printing method.

PC에서 응용 프로그램을 통해 인쇄 명령이 발생하면 PC에 내장된 프린터 드라이버는 프린트할 이미지 데이터를 압축하여 전송하고, 프린터는 압축된 데이터를 수신하여 내장된 메모리에 저장한다(10단계). 이 때, 메모리에 저장된 압축 데이터는 프린터 드라이버가 동작하는 인쇄 방식에 따른 인터페이스 규약에 따라 일정 크기의 헤더를 포함하고 있다. 따라서, 프린터의 제어부는 메모리에 저장된 압축 데이터를 독출하여 헤더를 제거하고 데이터 부분만을 추출하여 메모리의 다른 영역에 다시 저장한다(11단계). 이어서, 제어부는 압축 데이터를 복원하고 저장한다(12단계). 최종적으로 프린터에 내장된 비디오 데이터 컨트롤러는 압축에서 복원된 데이터를 인쇄한다(13단계).When a print command is generated through an application program in the PC, the printer driver built in the PC compresses and transmits the image data to be printed, and the printer receives the compressed data and stores it in the internal memory (step 10). At this time, the compressed data stored in the memory includes a header having a predetermined size according to the interface protocol according to the printing method in which the printer driver operates. Therefore, the control unit of the printer reads out the compressed data stored in the memory, removes the header, extracts only the data portion, and stores the data in another area of the memory again (step 11). Subsequently, the control unit restores and stores the compressed data (step 12). Finally, the video data controller embedded in the printer prints the data recovered from the compression (step 13).

그러나, 종래의 GDI 인쇄 방식은 PC로부터 압축된 데이터가 수신되어 메모리에 저장된 다음, 제어부에서 헤더 정보를 분석하여 데이터 부분만을 추출하여 다시 저장하게 된다. 이와같이 제어부가 데이터를 독출하고 다시 저장하는 과정을 수행함으로써 버스 부하를 과도히 발생시킬 뿐 아니라 프린팅 속도 저하의 원인이 되기도 한다. 또한, 도 2에 도시된 바와 같이 메모리가 필요이상으로 소요되는 문제가 있다. 도 2에서 참조번호 20은 압축 데이터의 헤더 부분을 나타내고, 21은 데이터 부분이다. 참조번호 22는 프린터의 제어부에 의해 압축데이터의 데이터 부분(21)만이 새로이 저장되는 영역을 나타내고, 참조번호 23은 압축이 복원된 데이터 영역을 타낸다. 도시된 바에 따르면, 참조번호 22에 해당하는 영역이 21의 영역과 중복되는 영역이되어 불필요한 부분이라 할 수 있다.However, in the conventional GDI printing method, compressed data is received from a PC and stored in a memory, and then the control unit analyzes header information to extract and store only the data portion. As such, the control unit reads and stores the data again, which not only generates excessive bus load but also causes a decrease in printing speed. In addition, as shown in FIG. 2, there is a problem in that the memory takes more than necessary. In FIG. 2, reference numeral 20 denotes a header portion of compressed data, and 21 denotes a data portion. Reference numeral 22 denotes an area in which only the data portion 21 of the compressed data is newly stored by the control unit of the printer, and reference numeral 23 denotes a data area in which compression is restored. As shown, an area corresponding to reference numeral 22 becomes an area overlapping with an area of 21 and may be referred to as an unnecessary part.

본 발명이 이루고자하는 기술적 과제는 GDI 인쇄 방식의 프린터에서 수신된 압축 데이터중 데이터 부분을 중복 저장함이 없이 한 번 저장된 데이터로부터 바로 압축 데이터를 복원하여 저장하는 고속 인쇄 방법 및 장치를 제공하는데 있다.The present invention has been made in an effort to provide a high speed printing method and apparatus for directly restoring compressed data from stored data without storing duplicate data portions of the compressed data received by the GDI printing method printer.

상기 기술적 과제를 이루기위한, 본 발명은 프린터 드라이버에서 출력되는 압축 데이터를 수신하여 복원하고, 복원된 데이터를 인쇄하는 인쇄 방법에 있어서,In order to achieve the above technical problem, the present invention provides a printing method for receiving and restoring compressed data output from a printer driver and printing the restored data,

상기 압축 데이터를 수신하여 저장부에 저장하는 단계; 상기 압축 데이터의 데이터 부분이 상기 저장부에서 차지하는 위치 및 상기 데이터 부분의 크기를 포함하는 데이터 정보를 획득하는 단계; 상기 데이터 정보에 따라 상기 저장부의 해당 위치에서 상기 데이터 부분을 독출하여 압축을 복원하는 단계; 및 복원된 데이터를 인쇄하는 단계를 포함함을 특징으로한다.Receiving the compressed data and storing the compressed data in a storage unit; Acquiring data information including a position occupied by the data portion of the compressed data and the size of the data portion; Restoring compression by reading the data portion at a corresponding position of the storage unit according to the data information; And printing the restored data.

상기 기술적 과제를 이루기위한, 본 발명은 프린터 드라이버에서 출력되는 압축 데이터를 수신하여 복원하고, 복원된 데이터를 인쇄하는 인쇄 장치에 있어서,In order to achieve the above technical problem, the present invention provides a printing apparatus for receiving and restoring compressed data output from a printer driver and printing the restored data,

상기 압축 데이터를 저장하는 저장부; 상기 압축 데이터를 수신하여 상기 저장부에 저장하고, 상기 압축 데이터중 데이터 부분의 크기 및 상기 데이터 부분이 상기 저장부에 저장된 위치를 포함하는 데이터 정보를 획득하여 출력하는 수신 제어부; 상기 데이터 정보를 이용하여 상기 저장부의 해당 위치로부터 상기 데이터 부분을 독출하여 압축을 복원하는 압축 복원부; 및 복원된 데이터를 인쇄하는 비디오 컨트롤러를 포함함을 특징으로한다.A storage unit for storing the compressed data; A reception controller which receives the compressed data and stores the compressed data, and obtains and outputs data information including a size of a data portion of the compressed data and a position where the data portion is stored in the storage; A decompression unit configured to restore the compression by reading the data portion from the corresponding position of the storage unit using the data information; And a video controller for printing the restored data.

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

도 3은 본 발명에 따른 고속 인쇄 방법에 대한 흐름도이고, 도 4는 본 발명의 고속 인쇄 방법에 적용되는 프린터에 대한 블록도를 도시한 것이다.3 is a flowchart of a high speed printing method according to the present invention, and FIG. 4 is a block diagram of a printer applied to the high speed printing method of the present invention.

도 4에 도시된 프린터(41)는 프린터 드라이버(40)로부터 출력되는 압축 데이터를 수신하고 저장부(412)에 저장하는 수신 제어부(411), 수신 제어부(411)로부터 압축 데이터에서 데이터 부분의 위치 및 크기 정보를 획득하여 저장부(412)로부터 데이터 부분을 독출하여 압축을 복원하는 압축 복원부(413) 및 복원된 데이터를 인쇄하는 비디오 컨트롤러(414)를 포함한다.The printer 41 shown in FIG. 4 receives the compressed data output from the printer driver 40 and stores the data in the compressed data from the receiving control unit 411 and the receiving control unit 411. And a decompression unit 413 for acquiring the size information, reading the data portion from the storage unit 412 to restore compression, and a video controller 414 for printing the decompressed data.

도 3의 흐름도를 참조하여 프린터(41)의 동작을 보다 상세하게 설명하면 다음과 같다. 먼저, 수신 제어부(411)는 프린터 드라이버(40)에서 출력되는 압축 데이터를 수신하고, 수신된 압축 데이터를 저장부(412)에 저장한다(30단계). 여기서, 압축 데이터는 GDI 인쇄 방식에 따른 인터페이스 규약에 따라 소정 크기의 헤더 부분과 인쇄할 데이터 부분을 포함한다. The operation of the printer 41 will be described in more detail with reference to the flowchart in FIG. 3 as follows. First, the reception controller 411 receives the compressed data output from the printer driver 40 and stores the received compressed data in the storage unit 412 (step 30). Here, the compressed data includes a header portion having a predetermined size and a data portion to be printed according to an interface protocol according to the GDI printing method.

수신 제어부(411)는 헤더 부분의 크기와 전체 압축 데이터의 크기를 알고있으므로, 데이터 부분의 크기 또한 알 수 있다. 또한 저장부(412)내에 데이터 부분이 위치하는 어드레스 또한 알고 있다. 따라서 수신 제어부(411)는 압축 데이터중 데이터 부분의 크기에 대한 정보를 획득하고, 데이터 부분이 저장부(412)에서 위치하는 영역에 대한 정보를 포함하는 데이터 정보를 압축 복원부(413)에 전달한다(31단계).Since the reception controller 411 knows the size of the header portion and the size of the entire compressed data, it can also know the size of the data portion. It also knows the address where the data portion is located in storage 412. Therefore, the reception control unit 411 obtains information on the size of the data portion of the compressed data, and transmits the data information including the information on the area where the data portion is located in the storage unit 412 to the compression recovery unit 413. (Step 31).

압축 복원부(413)는 수신 제어부(411)에서 전달된 데이터 정보를 이용하여 저장부(412)로부터 직접 데이터 부분을 독출하여 압축을 복원한다(32단계). 이 때 압축 데이터 및 압축 복원된 데이터가 저장부(412)에서 차지하는 영역을 살펴보면, 도 5에 도시된 바와 같다. 여기서, 저장부(412)는 비교를 위해 도 2에 도시된 메모리와 동일한 것으로 간주한다. 각 참조번호는 도 2에 도시된 메모리 영역의 각 참조번호와 동일한 영역을 나타낸다. 도시된 바에 따르면, 도 2의 참조번호 22에 해당하는 압축 데이터중 데이터 부분에 대한 영역이 필요하지않게 되었음을 알 수 있다.The decompression unit 413 reads the data portion directly from the storage unit 412 by using the data information transmitted from the reception control unit 411 to restore the compression (step 32). At this time, the area occupied by the compressed data and the decompressed data in the storage unit 412 is shown in FIG. 5. Here, the storage unit 412 is considered to be the same as the memory shown in FIG. 2 for comparison. Each reference number represents the same area as each reference number in the memory area shown in FIG. As shown, it can be seen that the area of the data portion of the compressed data corresponding to reference numeral 22 of FIG. 2 is not required.

비디오 컨트롤러(414)는 압축 복원부(413)에서 복원된 데이터를 인쇄한다(33단계).The video controller 414 prints the data restored by the decompression unit 413 (step 33).

본 발명에 따르면, 수신 제어부에서 압축 복원부로 데이터 정보를 전달함으로써 수신 제어부에 의해 압축 데이터중 데이터 부분을 독출하여 저장부의 다른 영역으로 이동하는 시간 및 해당 저장 영역을 절약할 수 있다. 그에 따라 인쇄속도도 향상시킬 수 있다.According to the present invention, by transmitting the data information from the receiving control unit to the decompression unit, it is possible to save a time and a corresponding storage area for reading the data portion of the compressed data by the receiving control unit to move to another area of the storage unit. As a result, the printing speed can be improved.

도 1은 종래의 GDI 인쇄 방식의 흐름도를 도시한 것이다.1 shows a flowchart of a conventional GDI printing method.

도 2는 메모리에서 도 1의 방식에 따라 각 인쇄 데이터가 차지하는 영역을 도시한 것이다.2 illustrates an area occupied by each print data in the memory according to the method of FIG. 1.

도 3은 본 발명에 따른 고속 인쇄 방법에 대한 흐름도이다.3 is a flowchart of a high speed printing method according to the present invention.

도 4는 본 발명의 고속 인쇄 방법에 적용되는 프린터에 대한 블록도를 도시한 것이다.Figure 4 shows a block diagram of a printer applied to the high speed printing method of the present invention.

도 5는 메모리에서 도 3의 방식에 따라 각 인쇄 데이터가 차지하는 영역을 도시한 것이다.FIG. 5 illustrates an area occupied by each print data in the memory according to the method of FIG. 3.

Claims (4)

프린터 드라이버에서 출력되는 압축 데이터를 수신하여 복원하고, 복원된 데이터를 인쇄하는 인쇄 방법에 있어서,A printing method for receiving and restoring compressed data output from a printer driver and printing the restored data. 상기 압축 데이터를 수신하여 저장부에 저장하는 단계;Receiving the compressed data and storing the compressed data in a storage unit; 상기 압축 데이터의 데이터 부분이 상기 저장부에서 차지하는 위치 및 상기 데이터 부분의 크기를 포함하는 데이터 정보를 획득하는 단계;Acquiring data information including a position occupied by the data portion of the compressed data and the size of the data portion; 상기 데이터 정보에 따라 상기 저장부의 해당 위치에서 상기 데이터 부분을 독출하여 압축을 복원하는 단계; 및Restoring compression by reading the data portion at a corresponding position of the storage unit according to the data information; And 복원된 데이터를 인쇄하는 단계를 포함함을 특징으로하는 인쇄 방법.Printing the restored data. 제1항에 있어서, 상기 데이터 정보를 획득하는 단계는The method of claim 1, wherein the obtaining of the data information comprises: 상기 프린터 드라이브에서 동작되는 인쇄 방식에 따른 인터페이스 규격에 따라 상기 압축 데이터의 헤더 부분을 제외한 데이터 부분의 크기에 대한 정보를 획득하는 단계; 및Acquiring information on the size of the data portion excluding the header portion of the compressed data according to an interface standard according to a printing method operated in the printer driver; And 상기 데이터 부분이 상기 저장부에서 위치하는 영역에 대한 정보를 획득하는 단계를 포함함을 특징으로하는 인쇄 방법.And obtaining information about an area in which the data portion is located in the storage. 프린터 드라이버에서 출력되는 압축 데이터를 수신하여 복원하고, 복원된 데이터를 인쇄하는 인쇄 장치에 있어서,A printing apparatus that receives and restores compressed data output from a printer driver, and prints the restored data. 상기 압축 데이터를 저장하는 저장부;A storage unit for storing the compressed data; 상기 압축 데이터를 수신하여 상기 저장부에 저장하고, 상기 압축 데이터중 데이터 부분의 크기 및 상기 데이터 부분이 상기 저장부에 저장된 위치를 포함하는 데이터 정보를 획득하여 출력하는 수신 제어부;A reception controller which receives the compressed data and stores the compressed data, and obtains and outputs data information including a size of a data portion of the compressed data and a position where the data portion is stored in the storage; 상기 데이터 정보를 이용하여 상기 저장부의 해당 위치로부터 상기 데이터 부분을 독출하여 압축을 복원하는 압축 복원부; 및A decompression unit configured to restore the compression by reading the data portion from the corresponding position of the storage unit using the data information; And 복원된 데이터를 인쇄하는 비디오 컨트롤러를 포함함을 특징으로하는 인쇄 장치. And a video controller for printing the restored data. 제3항에 있어서, 상기 수신 제어부는The method of claim 3, wherein the receiving control unit 상기 프린터 드라이브에서 동작되는 인쇄 방식에 따른 인터페이스 규격에 따라 상기 압축 데이터의 헤더 부분을 제외한 데이터 부분의 크기에 대한 정보를 획득하는 기능을 수행하는 것을 특징으로하는 인쇄 장치.And obtaining information on the size of the data portion excluding the header portion of the compressed data according to an interface standard according to a printing method operated in the printer driver.
KR1020040039630A 2004-06-01 2004-06-01 Fast printing method and apparatus thereof KR20050114415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040039630A KR20050114415A (en) 2004-06-01 2004-06-01 Fast printing method and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040039630A KR20050114415A (en) 2004-06-01 2004-06-01 Fast printing method and apparatus thereof

Publications (1)

Publication Number Publication Date
KR20050114415A true KR20050114415A (en) 2005-12-06

Family

ID=37288698

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040039630A KR20050114415A (en) 2004-06-01 2004-06-01 Fast printing method and apparatus thereof

Country Status (1)

Country Link
KR (1) KR20050114415A (en)

Similar Documents

Publication Publication Date Title
KR100524076B1 (en) Apparatus for compressing and decompressing of data
KR20050114415A (en) Fast printing method and apparatus thereof
JP2876987B2 (en) Printing system
JP5785600B2 (en) Host machine and printing method in host machine
JPH0644013A (en) Method for compressing printing data
US8806257B2 (en) Image processing apparatus and control method thereof
JP3178578B2 (en) PRINTING APPARATUS AND PRINTING SYSTEM USING THE APPARATUS
JP3741066B2 (en) Printing system, printer host, printer driver, and printability ensuring method
KR20030040814A (en) Fast printing apparatus and method
KR100189088B1 (en) High speed printer apparatus and high speed printing method using the same
JP2002118757A (en) Data compression/expansion method and printer
JP2004254187A (en) Information processor
JP2000250719A (en) Data expanding device and printer
JP4032786B2 (en) Printing system
JP2002019196A (en) Printer and data receiver
JP2004054505A (en) Print controller
JP3495877B2 (en) Printer control system, printer control device and their methods
JP3093245B2 (en) Image processing device, output control device, image processing system and method
JPH11249829A (en) Method for compressing bit image data
JPH09188041A (en) Output device
JPH11259245A (en) Printing system
KR20050094544A (en) A method for compressing and transmitting image data and a image forming systems thereof
JP2003134345A (en) Information processing method an apparatus thereof, and controlling program and recording medium thereof
JP2002361943A (en) Printing unit
JPH1158873A (en) Page printer

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination