KR20000013000A - Display bitmap printer system and method using compression - Google Patents

Display bitmap printer system and method using compression Download PDF

Info

Publication number
KR20000013000A
KR20000013000A KR1019980031612A KR19980031612A KR20000013000A KR 20000013000 A KR20000013000 A KR 20000013000A KR 1019980031612 A KR1019980031612 A KR 1019980031612A KR 19980031612 A KR19980031612 A KR 19980031612A KR 20000013000 A KR20000013000 A KR 20000013000A
Authority
KR
South Korea
Prior art keywords
bitmap
image data
printer
axis
ddb
Prior art date
Application number
KR1019980031612A
Other languages
Korean (ko)
Other versions
KR100277733B1 (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 KR1019980031612A priority Critical patent/KR100277733B1/en
Publication of KR20000013000A publication Critical patent/KR20000013000A/en
Application granted granted Critical
Publication of KR100277733B1 publication Critical patent/KR100277733B1/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
    • G06K15/1831Accessing generic data, e.g. fonts characterized by the format of the data
    • G06K15/1832Compressed bitmaps
    • 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/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/002Generic data access
    • G06K2215/0028Generic data access characterised by the format per se
    • G06K2215/0031Compressed bit maps

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Color, Gradation (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE: A display bitmap printer system and method using compression is provided to supply fast printing result using extend procedure which extends display bitmap format to printer display bitmap. CONSTITUTION: The display bitmap printer system and method comprises an application program, a printer driver, a video controller and a engine controller. In the display bitmap printer system and method, the application program organize a data to device independent bitmap(DIB). The printer driver makes a gray table for an image data and transforms device independent color image to image data of device dependent bitmap(DDB) type and zoom in according to printer resolution to y axis direction and compress and transmits a data. The video controller zoom in data to x-axis direction and un-compress image data of DDB type and zoom in to x axis direction. The engine controller drives engine and prints the image data.

Description

압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템 및 방법Printer system and method for quickly outputting display bitmap using compression

본 발명은 프린터 시스템에 관한 것으로, 더욱 상세하게는 레이저 프린터를 통해 디스플레이 비트맵을 프린터 비트맵으로 변환하여 인쇄할 때 일련의 작업을 분할하여 호스트컴퓨터의 부담을 줄이는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템 및 방법에 관한 것이다.The present invention relates to a printer system, and more particularly, to convert a display bitmap into a printer bitmap through a laser printer and to divide the series of jobs when printing, thereby rapidly displaying a display bitmap using compression, which reduces the burden on the host computer. It relates to a printer system and a method for outputting.

일반적으로 레이저 프린터는 호스트 컴퓨터의 프린터 드라이버를 통해 응용프로그램에 의해 생성된 인쇄할 데이터의 디스플레이 비트맵 데이터를 프린터 비트맵으로 변환하여 전송받아 이를 프린터 엔진을 통해 인쇄한다.In general, a laser printer converts a display bitmap data of data to be printed generated by an application program into a printer bitmap through a printer driver of a host computer, receives the data, and prints the same through a printer engine.

이 과정을 도 1을 참조하여 살펴보면, 먼저, 호스트 컴퓨터(10)의 응용 프로그램(11)은 인쇄 데이터의 디스플레이 비트맵 포맷과 컬러정보를 갖고 있으며, 일반적으로 디스플레이 비트맵 포맷은 디바이스 독립적인 비트맵(Device Independent Bitmap) 형태이다.Referring to this process with reference to Figure 1, first, the application program 11 of the host computer 10 has a display bitmap format and color information of the print data, in general, the display bitmap format is a device-independent bitmap (Device Independent Bitmap).

한편, 프린터 드라이버(12)는 응용 프로그램(11)으로부터 디스플레이 비트맵 포맷 및 컬러정보를 입력받아 자신이 가지고 있는 컬러 매핑 테이블(미도시)과 컬러 매핑을 한 후 프린터(20)의 비디오콘트롤러(22)가 표현 가능한 프린터 비트맵 포맷으로 확장한다.On the other hand, the printer driver 12 receives the display bitmap format and color information from the application program 11 and performs color mapping with a color mapping table (not shown) that it has, and then the video controller 22 of the printer 20. ) Expands into a printer bitmap format that can be represented.

일반적으로 프린터 드라이버(12)는 응용 프로그램(11)으로부터 전달되는 72 DPI 디스플레이 비트맵 포맷을 프린터 DPI에 따라 75, 150, 300, 600 DPI의 정형화된 프린터 비트맵 포맷으로 확장한다.In general, the printer driver 12 extends the 72 DPI display bitmap format delivered from the application 11 to the standardized printer bitmap formats of 75, 150, 300, and 600 DPI depending on the printer DPI.

호스트 컴퓨터(10)는 프린터 드라이버(12)에 의해 프린터 비트맵 포맷으로 디스플레이 비트맵 포맷을 확장한 후, 확장된 프린터 비트맵 포맷 데이터를 인쇄 데이터 전송부(13)를 통해 레이저 프린터(20)의 인쇄 데이터수신부(21)로 전송한다.After the host computer 10 expands the display bitmap format to the printer bitmap format by the printer driver 12, the host computer 10 transmits the expanded printer bitmap format data to the laser printer 20 through the print data transmission unit 13. It transfers to the print data receiver 21.

한편, 레이저 프린터(20)의 비디오콘트롤러(22)는 인쇄데이터수신부(21)를 통해 확장된 프린터 비트맵 포맷 데이터를 수신한 후 하프토닝(Half Toning)을 수행하여 프린터 비트맵 포맷 데이터를 0, 1의 형태로 엔진콘트롤러(23)에 전달하고, 엔진콘트롤러(23)는 전달된 0, 1 형태의 정보에 따라 엔진(24)을 구동하여 인쇄한다.Meanwhile, the video controller 22 of the laser printer 20 receives the extended printer bitmap format data through the print data receiver 21 and then performs half toning to set the printer bitmap format data to 0 ,. The engine controller 23 is transmitted to the engine controller 23 in the form of 1, and the engine controller 23 drives and prints the engine 24 according to the transmitted information of the 0 and 1 forms.

이와 같은 종래의 인쇄 방법에 따르면, 호스트 컴퓨터(10)의 프린터 드라이버(12)가 응용 프로그램(11)으로부터 전달되는 72 DPI 디스플레이 비트맵 포맷을 프린터 DPI에 따라 75, 150, 300, 600 DPI의 정형화된 프린터 비트맵 포맷으로 확장하는 것을 전적으로 책임지므로 호스트 컴퓨터 상에 존재하는 프린터 드라이버(12)가 디스플레이 비트맵 확장작업을 함에 있어 호스트 컴퓨터의 효율을 떨어뜨리는 문제점이 있었다.According to this conventional printing method, the printer driver 12 of the host computer 10 formats the 72 DPI display bitmap format delivered from the application 11 according to the printer DPI of 75, 150, 300, and 600 DPI. Since the printer driver 12 existing on the host computer is fully responsible for extending the printer bitmap format, the problem of reducing the efficiency of the host computer in performing the display bitmap expansion operation.

또한, 종래의 인쇄 방법은 프린터 드라이버(12)에 의해 확장이 완료된 프린터 비트맵 포맷 데이터량이 크므로 호스트 컴퓨터(10)로부터 프린터(20)로 전송 시간이 많이 소비되는 문제점이 있었다.In addition, the conventional printing method has a problem in that the transfer time from the host computer 10 to the printer 20 is consumed because the amount of printer bitmap format data extended by the printer driver 12 is large.

따라서, 본 발명의 목적은 호스트 컴퓨터 상에서 디스플레이 비트맵 포맷을 비디오 콘트롤러에 적합한 프린터 비트맵 포맷으로 확장을 전적으로 프린터 드라이버가 수행함으로써 발생하는 종래 기술의 문제점을 극복하기 위해 디스플레이 비트맵 포맷을 프린터 비트맵 포맷으로 확장하는 과정을 프린터 드라이버와 비디오 콘트롤러가 적당히 나누어 처리하게 함으로써 비트맵 포맷 확장에 따른 호스트 컴퓨터의 부담을 줄이는데 있다.Accordingly, it is an object of the present invention to overcome the problems of the prior art caused by the printer driver performing the expansion of the display bitmap format to a printer bitmap format suitable for a video controller on a host computer. The process of extending the format is divided between the printer driver and the video controller so as to reduce the burden on the host computer due to the expansion of the bitmap format.

본 발명의 다른 목적은 호스트 컴퓨터로부터 프린터로 프린트 비트맵 전송 부담을 줄이는데 있다.Another object of the present invention is to reduce the burden of transmitting a print bitmap from a host computer to a printer.

도 1은 일반적인 프린터 환경을 나타내고,1 shows a typical printer environment,

도 2는 본 발명에 따른 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템을 나타내며,2 illustrates a printer system for quickly outputting a display bitmap using compression according to the present invention.

도 3은 본 발명에 따른 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 방법을 나타내고,3 illustrates a method of quickly outputting a display bitmap using compression according to the present invention;

도 4는 본 발명에 따라 확장된 이미지를 8×8 하프토닝 테이블을 사용하여 이진화하는 것을 예시한다.4 illustrates binarizing an enlarged image using an 8x8 halftoning table in accordance with the present invention.

<도면의 주요부분의 부호의 설명><Description of Symbols of Major Parts of Drawings>

100 : 호스트 컴퓨터 110 : 응용프로그램100: host computer 110: application

120 : 프린터드라이버 121 : DIB수신부120: printer driver 121: DIB receiver

122 : 그레이테이블작성부 123 : 컬러매핑부122: gray table creation unit 123: color mapping unit

124 : Y축확대부 125 : 압축부124: Y-axis enlargement unit 125: Compression unit

130 : 인쇄데이터전송부 200 : 프린터130: print data transmission unit 200: printer

210 : 인쇄데이터수신부 220 : 비디오콘트롤러210: print data receiver 220: video controller

221 : 압축해제부 222 : X축확대부221: decompression unit 222: X-axis expansion unit

223 : 하프토닝부 230 : 엔진콘트롤러223: half toning unit 230: engine controller

240 : 엔진240: engine

상기 목적을 달성하기 위한 본 발명의 일 측면에 의하면, 호스트 컴퓨터의 응용프로그램은 인쇄할 데이터를 윈도우즈에서 지원하는 GDI 방법을 통해 디바이스 독립적인 비트맵(Device Independent Bitmap : DIB) 형태로 구성하여 프린터 드라이버에 전송하면, 프린터 드라이버는 전송된 이미지 데이터에 대한 그레이(Grey) 테이블을 작성하여 이를 통해 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경하여 프린터의 해상도에 맞게 Y축으로 확대하고 압축하여 프린터에 전송하며, 프린터는 호스트 컴퓨터로부터 Y축으로 확대되어 압축된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 수신하고, 비디오콘트롤러를 통해 이미지 데이터의 압축을 해제하고 프린터의 해상도에 맞게 X축을 확대하여 이진화하여 인쇄를 위해 엔진콘트롤러에 전달하고, 엔진콘트롤러는 이진화된 확대된 이미지 데이터에 따라 엔진을 구동하여 인쇄를 수행하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템이 개시된다.According to an aspect of the present invention for achieving the above object, the application program of the host computer is configured to form a device independent bitmap (DIB) through a GDI method that supports the data to be printed in Windows printer driver The printer driver creates a gray table of the transmitted image data and changes the device-independent color image into image data in the form of a device dependent bitmap (DDB). The printer receives the image data in the form of a device-dependent bitmap (DDB), which is enlarged and compressed on the Y-axis to the printer, and compressed on the Y-axis from the host computer, to the resolution of the image data through the video controller. Decompress and enlarge the X axis to match the resolution of the printer. Binarizing the transfer to the engine controller for the printing, and the engine controller that drives the engine according to the binarized image data expanding rapidly output the display bitmaps using compression printer which performs printing system is disclosed.

바람직하게, 프린터 드라이버는 DIB수신부를 통해 응용프로그램으로부터 디바이스 독립적인 비트맵 형태의 이미지 데이터를 수신하고, 그레이테이블작성부를 통해 수신된 디바이스 독립적인 비트맵 이미지의 해더 부분에 존재하는 RGB 컬러 테이블을 이용하여 그레이(Grey) 테이블을 작성하고, 컬러매핑부를 통해 작성된 그레이 테이블에 따라 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경한다. 또한, Y축확대부를 통해 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 프린터의 해상도에 맞게 Y 축 확대하고, 압축부를 통해 Y축 확대된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 압축한다.Preferably, the printer driver receives device data of the device independent bitmap form from the application program through the DIB receiver and uses the RGB color table present in the header portion of the device independent bitmap image received through the gray table generator. A gray table is created, and the device-independent color image is changed into image data in a device dependent bitmap (DDB) form according to the gray table created through the color mapping unit. In addition, the Y-axis enlargement unit enlarges the Y-axis image data in the form of device-dependent bitmap (DDB) to fit the resolution of the printer, and the Y-axis enlarged device-dependent bitmap (DDB) form the image data in the compression unit. Compress.

바람직하게, 비디오콘트롤러는 호스트 컴퓨터로부터 전송되어 인쇄데이터수신부를 통해 수신된 Y축으로 확대하여 압축된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터의 압축을 압축해제부를 통해 압축해제하고, 압축해제된 이미지 데이터를 X축확대부를 통해 프린터의 해상도에 맞게 X축 확대한 후, 확대된 이미지 데이터를 하프토닝부가 하프토닝 테이블(Halftone table)을 이용하여 이진화한다.Preferably, the video controller decompresses the compression of the image data in the form of a device-dependent bitmap (DDB) form by decompressing and decompressing the image data transmitted from the host computer to the Y-axis received through the print data receiving unit. After the enlarged image data is enlarged on the X-axis to match the resolution of the printer through the X-axis enlargement unit, the half-toning unit binarizes the enlarged image data by using a halftone table.

본 발명의 다른 측면에 의하면, 호스트 컴퓨터로부터 전송되는 인쇄데이터를 수신하여 인쇄하는 프린터의 인쇄 방법에 있어서, 상기 호스트 컴퓨터 측에서 인쇄할 데이터를 소정의 수단을 통해 디바이스 독립적인 비트맵(Device Independent Bitmap : DIB) 형태로 구성하고, 상기 구성된 이미지 데이터에 대한 그레이(Grey) 테이블을 작성하고, 상기 작성된 그레이 테이블을 통해 상기 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경하고, 상기 변경된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 Y축으로 확대하고, 상기 확대된 이미지 데이터를 압축하여 상기 프린터에 전송한다. 한편, 상기 프린터 측에서 상기 Y축으로 확대되어 압축된 이미지 데이터의 압축을 해제하고, 상기 압축해제된 이미지 데이터를 X축으로 확대하여 이진화하여, 상기 이진화된 확대된 이미지 데이터에 따라 엔진을 구동하여 인쇄를 수행하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 방법이 개시된다.According to another aspect of the present invention, in a printer printing method for receiving and printing print data transmitted from a host computer, a device-independent bitmap of data to be printed on the host computer side through a predetermined means DIB), a gray table for the configured image data, and the device-independent color image in the form of a device dependent bitmap (DDB) through the created gray table. The image data is changed into image data, the image data in the form of the device-dependent bitmap (DDB) is expanded on the Y-axis, and the enlarged image data is compressed and transmitted to the printer. On the other hand, the printer side decompresses the compressed image data enlarged on the Y axis, and decompresses the decompressed image data on the X axis to drive the engine according to the binary enlarged image data. A method of rapidly outputting a display bitmap using compression to perform printing is disclosed.

이하, 상기한 본 발명의 목적들, 특징들, 그리고 장점들을 첨부된 도면에 나타낸 본 발명의 바람직한 실시예를 통해 보다 상세히 설명한다.Hereinafter, the objects, features, and advantages of the present invention described above will be described in more detail with reference to the preferred embodiments of the present invention shown in the accompanying drawings.

후술되는 용어들은 본 발명에서의 기능을 고려하여 정의 내려진 용어들로서 이는 당 분야에 종사하는 기술자의 의도 또는 관례 등에 따라 달라질 수 있으므로, 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.The terms to be described below are terms defined in consideration of functions in the present invention, and may vary according to the intention or custom of a person skilled in the art, and the definitions should be made based on the contents throughout the specification.

본 발명에 따른 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템을 도 2를 참조하여 살펴보면 다음과 같다.A printer system for quickly outputting a display bitmap using compression according to the present invention will be described with reference to FIG. 2.

먼저, 호스트 컴퓨터(100)의 응용프로그램(110)은 인쇄할 데이터를 윈도우즈에서 지원하는 GDI 방법을 통해 디바이스 독립적인 비트맵(Device Independent Bitmap : DIB) 형태로 구성하여 프린터 드라이버(120)에 전송하면, 프린터 드라이버(120)는 전송된 이미지 데이터에 대한 그레이(Grey) 테이블을 작성하여 이를 통해 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경하여 프린터의 해상도에 맞게 Y축으로 확대하고 압축하여 인쇄데이터전송부(130)를 통해 프린터(200)로 전송한다.First, the application program 110 of the host computer 100 configures a device independent bitmap (DIB) format through a GDI method supported by Windows and transmits the data to the printer driver 120. The printer driver 120 creates a gray table for the transmitted image data, and changes the device-independent color image into image data in the form of a device dependent bitmap (DDB). Magnification and compression on the Y-axis to fit the resolution is transmitted to the printer 200 through the print data transmission unit 130.

한편, 프린터(200)는 호스트 컴퓨터(100)로부터 Y축으로 확대되고 압축된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 인쇄데이터수신부(210)를 통해 수신하고, 비디오콘트롤러(210)를 통해 이미지 데이터의 압축을 해제하고 프린터의 해상도에 맞게 X축을 확대하여 이진화하여 인쇄를 위해 엔진콘트롤러(230)에 전달하고, 엔진콘트롤러(230)는 이진화된 확대된 이미지 데이터에 따라 엔진(240)을 구동하여 인쇄를 수행한다.On the other hand, the printer 200 receives the image data in the form of a device-dependent bitmap (DDB) expanded and compressed on the Y-axis from the host computer 100 through the print data receiver 210, and receives the video controller 210. Decompresses the image data and enlarges the X-axis to fit the resolution of the printer and transmits the binarized image to the engine controller 230 for printing. The engine controller 230 drives the engine 240 according to the binarized enlarged image data. Drive to print.

이때, 프린터 드라이버(120)는 DIB수신부(121)를 통해 응용프로그램으로부터 디바이스 독립적인 비트맵 형태의 이미지 데이터를 수신하고, 그레이테이블작성부(122)를 통해 수신된 디바이스 독립적인 비트맵 이미지의 해더 부분에 존재하는 RGB 컬러 테이블을 이용하여 그레이(Grey) 테이블을 작성하고, 컬러매핑부(123)를 통해 작성된 그레이 테이블에 따라 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경한다.At this time, the printer driver 120 receives the image data of the device independent bitmap form from the application program through the DIB receiving unit 121, and the header of the device independent bitmap image received through the gray table creating unit 122 Create a gray table using the RGB color table existing in the part, and device-dependent bitmap (DDB) to display a device-independent color image according to the gray table created through the color mapping unit 123. Change to image data of type.

또한, Y축확대부(124)를 통해 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 프린터의 해상도에 맞게 Y 축 확대하고, 압축부(125)를 통해 Y축 확대된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 압축한다.In addition, the Y-axis enlarger 124 enlarges the Y-axis image data in the form of a device-dependent bitmap (DDB) to match the resolution of the printer, and the Y-axis enlarged device-dependent bitmap through the compressor 125. (DDB) compresses image data.

한편, 비디오콘트롤러(220)는 호스트 컴퓨터(100)로부터 전송되어 인쇄데이터수신부(210)를 통해 수신된 Y축으로 확대하여 압축된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터의 압축을 압축해제부(221)를 통해 압축해제하고, 압축해제된 이미지 데이터를 X축확대부(222)를 통해 프린터의 해상도에 맞게 X축 확대한 후, 확대된 이미지 데이터를 하프토닝부(223)가 도 4와 같이 하프토닝 테이블(Halftone table)을 이용하여 이진화한다.Meanwhile, the video controller 220 decompresses the compression of the image data in the form of a device-dependent bitmap (DDB), which is transmitted from the host computer 100 and expanded on the Y axis received through the print data receiver 210. After decompressing through the unit 221 and expanding the decompressed image data through the X-axis enlarger 222 to match the resolution of the printer, the half-toning unit 223 uses the enlarged image data as shown in FIG. 4. Binarize using a halftone table as follows.

이하, 본 발명에 따른 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템의 작용을 도 2 내지 도 4를 참조하여 살펴보면 다음과 같다.Hereinafter, the operation of the printer system for quickly outputting a display bitmap using compression according to the present invention will be described with reference to FIGS. 2 to 4.

호스트 컴퓨터(100)의 응용프로그램(110)은 인쇄 명령이 실행되면 윈도우즈 GDI(Graphic Descript Interpret)를 통해서 인쇄 데이터를 디바이스 독립적인 비트맵(Device Independent Bitmap : DIB) 형태의 이미지 데이터로 구성하여 프린터 드라이버(120)에 전송한다(단계 : S310).When a print command is executed, the application program 110 of the host computer 100 configures the print data as image data in a device independent bitmap (DIB) format through Windows Graphic Descript Interpret (GDI). Transfer to step 120 (step: S310).

전송된 이미지 데이터를 DIB수신부(121)를 통해 수신한 프린터 드라이버(120)는 그레이테이블작성부(122)에 의해 디바이스 독립적인 비트맵(DIB) 이미지의 해더 부분에 존재하는 RGB 컬러 테이블을 이용하여 그레이(Grey) 테이블을 작성한다(단계 : S320).The printer driver 120 receiving the transmitted image data through the DIB receiver 121 uses the RGB color table present in the header portion of the device-independent bitmap (DIB) image by the gray table generator 122. Create a gray table (step: S320).

바람직하게, RGB 컬러 테이블을 이용하여 그레이(Grey) 테이블을 작성하는 과정은 마이크로 소프트사의 윈도우즈(MS-Windows)에서 제공하는 RGB 컬러 테이블을 사용하며 이는 일반적인 기술이고, 마이크로 소프트사의 윈도우즈(MS-windows)에 대한 통상의 지식을 가진 사람이라면 쉽게 그레이 테이블을 생성할 수 있다.Preferably, the process of creating a gray table using an RGB color table uses an RGB color table provided by Microsoft's Windows (MS-Windows), which is a general technique, and Microsoft's Windows (MS-windows). Anyone with a normal knowledge of) can easily create gray tables.

그레이(Grey) 테이블을 작성한 후, 그레이(Grey) 테이블을 이용해서 실질적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경한다(단계 : S330).After the gray table is created, the actual color image is changed into image data in the form of a device dependent bitmap (DDB) using the gray table (step S330).

바람직하게, 디바이스 종속적인 비트맵(DDB)은 디바이스 독립적인 비트맵(DIB) 이미지의 상태에 따라서 달라질 수 있지만 디바이스 독립적인 비트맵(DIB) 이미지 상태가 256 컬러이상인 경우에 256 그레이로 표현한다.Preferably, the device dependent bitmap (DDB) may vary depending on the state of the device independent bitmap (DIB) image, but is represented by 256 gray when the device independent bitmap (DIB) image state is 256 colors or more.

이와 같이 디바이스 독립적인 비트맵(DIB) 이미지를 디바이스 종속적인 비트맵(DDB)으로 변환하는 과정을 컬러 매핑(color mapping)이라 칭하며, 컬러 매핑부(123)에 의해 수행된다.The process of converting a device independent bitmap (DIB) image into a device dependent bitmap (DDB) is called color mapping and is performed by the color mapping unit 123.

프린터 드라이버(120)에 의해 컬러매핑을 통해 디바이스 독립적인 비트맵(DIB) 이미지를 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터로 변경한 후, 변경된 이미지 데이터를 Y축확대부(124)를 통해 프린터 DPI에 맞게 Y축으로 확대한다(단계 : S340).The printer driver 120 converts the device independent bitmap (DIB) image into device-dependent bitmap (DDB) image data through color mapping, and then converts the changed image data into the Y-axis enlarger 124. Zoom to the Y-axis to fit the printer DPI through (step S340).

Y축확대부(124)를 통해 이미지 데이터를 Y축으로 확대한 후, Y축으로 확대된 이미지 데이터를 압축부(125)를 통해 압축한다(단계 : S350).After the image data is enlarged on the Y axis through the Y axis enlarger 124, the image data enlarged on the Y axis is compressed by the compression unit 125 (step S350).

Y축으로 확대된 이미지 데이터를 압축한 후, 호스트 컴퓨터(100)는 Y축으로 확대된 이미지 데이터를 인쇄데이터 전송부(130)를 통해 프린터(200)로 전송한다(단계 : S360).After compressing the image data enlarged on the Y-axis, the host computer 100 transmits the image data enlarged on the Y-axis to the printer 200 through the print data transmission unit 130 (step: S360).

호스트 컴퓨터(100)로부터 전송된 Y축으로 확대된 이미지 데이터를 인쇄데이터 수신부(210)를 통해 수신한 프린터(200)의 비디오 콘트롤러(220)는 압축해제부(221)를 통해 압축을 해제하고, X축확대부(222)에 의해 압축해제된 이미지 데이터를 프린터(200)의 해상도에 맞게 X 축 확대한다(단계 : S370).The video controller 220 of the printer 200, which receives the image data enlarged on the Y-axis transmitted from the host computer 100 through the print data receiver 210, decompresses through the decompressor 221, The image data decompressed by the X-axis enlargement unit 222 is enlarged by the X-axis according to the resolution of the printer 200 (step: S370).

바람직하게, 디스플레이 비트맵이 72 DPI이고, 프린터 DPI가 600인 경우 X축으로 그레이 이미지를 만큼 확장하며, 이때 이미 배율 스캐일링 알고리즘을 사용하여 상수배가 되지 않는 경우에도 확장할 수 있게 한다.Preferably, if the display bitmap is 72 DPI and the printer DPI is 600, then the gray image is plotted on the X axis. It scales by as much as possible, even if it is not already a constant multiplier using a scaling scaling algorithm.

수신된 디바이스 종속적인 비트맵(DDB) 형태의 그레이 이미지 데이터를 프린터(200)의 해상도에 맞게 X 축/Y 축 확대한 후, 비디오 콘트롤러(220)의 하프토닝부(223)는 도 4와 같이 확대된 그레이 이미지 데이터를 8×8 하프토닝 테이블(Halftone table)을 통해 하프토닝 테이블(Halftone table)의 값과 확대된 그레이 이미지 값을 비교하여 확대된 이미지를 0과 1로 구성된 비트맵 이미지로 변경한다(단계 : S380).After the X-axis / Y-axis enlarged to receive the device-dependent bitmap (DDB) gray image data to match the resolution of the printer 200, the half-toning unit 223 of the video controller 220 is as shown in FIG. The enlarged gray image data is converted into a bitmap image consisting of 0s and 1s by comparing the value of the halftone table with the enlarged gray image value through an 8 × 8 halftone table. (Step: S380).

바람직하게, 확대된 이미지를 0과 1로 구성된 비트맵 이미지로 변경하는 이진화 과정은 하프토닝 테이블(Halftone table)을 이동시키며 오류 확산알고리즘을 사용하여 수행하며, 이것은 이미지 처리에 대한 통상의 지식을 가진 사람에게는 일반적인 기술이므로 설명을 생략한다.Preferably, the binarization process of converting the enlarged image into a bitmap image consisting of zeros and ones is performed by moving the halftone table and using an error diffusion algorithm, which has a general knowledge of image processing. This is a common technique for humans, so description is omitted.

전술한 과정을 통해 변경된 비트맵 이미지는 엔진콘트롤러(230)에 전송되고, 엔진콘트롤러(230)의 제어에 따라 엔진(240)을 통해 인쇄한다(단계 : S390, S400).The bitmap image modified through the above-described process is transmitted to the engine controller 230 and is printed through the engine 240 under the control of the engine controller 230 (steps S390 and S400).

바람직하게, 본 발명에 따른 비디오 콘트롤러(220)는 엔진으로 전송할 비트맵 데이터를 미리 생성하고, 일정 형태의 압축 형태로 보관하고 있다가 엔진(240)이 실질적으로 인쇄하는 순간에 이 압축을 해제하여 엔진(240)에 전송하여 인쇄하는 방법을 사용할 수 있다.Preferably, the video controller 220 according to the present invention generates bitmap data to be transmitted to the engine in advance, stores it in a compressed form, and decompresses the compression at the moment when the engine 240 substantially prints. A method of transmitting and printing to the engine 240 may be used.

이상에서 살펴본 바와 같이, 본 발명에 따르면 디스플레이 비트맵 포맷을 프린터 비트맵 포맷으로 확장하는 과정을 프린터 드라이버와 비디오 콘트롤러가 적당히 나누어 처리하게 함으로서 비트맵 포맷 확장에 따른 호스트 컴퓨터의 부담을 덜어 줌으로 프린터 드라이버에서 생성되는 데이터를 최적화하여 프린터로 전송되는 데이터량을 줄여 사용자에게 빠른 출력 결과를 제공하는 효과가 있다.As described above, according to the present invention, the process of extending the display bitmap format to the printer bitmap format can be appropriately divided between the printer driver and the video controller, thereby reducing the burden on the host computer due to the expansion of the bitmap format. By optimizing the data generated by the driver, it reduces the amount of data sent to the printer, thereby providing a quick output result to the user.

이상 본 발명의 바람직한 실시예에 대해 상세히 기술되었지만, 본 발명이 속하는 기술 분야에 있어서 통상의 지식을 가진 사람이라면, 첨부된 청구 범위에 정의된 본 발명의 정신 및 범위를 벗어나지 않으면서 본 발명을 여러 가지로 변형 또는 변경하여 실시할 수 있음을 알 수 있을 것이다. 따라서 본 발명의 앞으로의 실시예들의 변경은 본 발명의 기술을 벗어날 수 없을 것이다.Although the preferred embodiments of the present invention have been described in detail above, those skilled in the art will appreciate that the present invention may be modified without departing from the spirit and scope of the invention as defined in the appended claims. It will be appreciated that modifications or variations may be made. Therefore, changes in the future embodiments of the present invention will not be able to escape the technology of the present invention.

Claims (8)

인쇄할 데이터를 소정의 수단을 통해 디바이스 독립적인 비트맵(Device Independent Bitmap : DIB) 형태로 구성하는 응용프로그램;An application program for configuring data to be printed in a device independent bitmap (DIB) form through a predetermined means; 상기 구성된 이미지 데이터에 대한 그레이(Grey) 테이블을 작성하여 이를 통해 상기 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경하여 프린터의 해상도에 맞게 Y축으로 확대하여 압축하여 전송하는 프린터 드라이버;Create a gray table for the configured image data and change the device-independent color image into image data in the form of device dependent bitmap (DDB) to the Y-axis according to the resolution of the printer. A printer driver for enlarging, compressing, and transmitting the image; 상기 전송된 Y축으로 확대하여 압축된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터의 압축을 해제하고 프린터의 해상도에 맞게 X축을 확대하여 이진화하는 비디오콘트롤러;A video controller for decompressing image data in the form of a device-dependent bitmap (DDB) compressed by expanding the transmitted Y-axis and expanding and binarizing the X-axis according to the resolution of a printer; 상기 이진화된 확대된 이미지 데이터에 따라 엔진을 구동하여 인쇄를 수행하는 엔진콘트롤러를 포함하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템.And a printer system for rapidly outputting a display bitmap using compression, including an engine controller for driving the engine according to the binarized enlarged image data. 제 1 항에 있어서, 상기 프린터 드라이버는,The method of claim 1, wherein the printer driver, 상기 응용프로그램으로부터 상기 디바이스 독립적인 비트맵 형태의 이미지 데이터를 수신하는 DIB수신부;A DIB receiver configured to receive image data in a device independent bitmap form from the application program; 상기 수신된 디바이스 독립적인 비트맵 이미지의 해더 부분에 존재하는 RGB 컬러 테이블을 이용하여 그레이(Grey) 테이블을 작성하는 그레이 테이블 작성부;A gray table creating unit which creates a gray table using an RGB color table present in a header portion of the received device independent bitmap image; 상기 작성된 그레이 테이블에 따라 상기 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경하는 컬러매핑부;A color mapping unit for converting the device-independent color image into image data in a device dependent bitmap (DDB) form according to the created gray table; 상기 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 프린터의 해상도에 맞게 Y 축 확대하는 Y축확대부;A Y-axis magnifying unit configured to enlarge the Y-axis of the image data in the form of a device-dependent bitmap (DDB) according to a resolution of a printer; 상기 Y축 확대된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 압축하는 압축부를 포함하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템.And a compression unit configured to compress the image data in the Y-axis-enlarged device-dependent bitmap (DDB) form. 제 1 항에 있어서, 상기 비디오콘트롤러는,The method of claim 1, wherein the video controller, 상기 Y축으로 확대하여 압축된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터의 압축을 해제하는 압축해제부;A decompression unit configured to decompress image data in the form of a device-dependent bitmap (DDB) compressed by expanding the Y-axis; 상기 압축해제된 이미지 데이터를 프린터의 해상도에 맞게 X축 확대하는 X축확대부;An X-axis magnifying unit configured to enlarge the decompressed image data to an X-axis in accordance with a resolution of a printer; 상기 확대된 이미지 데이터를 하프토닝 테이블(Halftone table)을 통해 이진화하는 하프토닝부를 포함하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템.And a printer system for quickly outputting a display bitmap using compression including a half-toning unit for binarizing the enlarged image data through a halftone table. 제 3 항에 있어서, 상기 하프토닝부는,The method of claim 3, wherein the half toning unit, 8×8 하프토닝 테이블(Halftone table)을 통해 하프토닝 테이블(Halftone table)의 값과 확대된 그레이 이미지 값을 비교하여 하프토닝 테이블(Halftone table)을 이동시키며 오류 확산알고리즘을 사용하여 이진화하는 것을 특징으로 하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템.The halftone table is moved by comparing the value of the halftone table with the enlarged gray image value through an 8 × 8 halftone table, and binarized using an error diffusion algorithm. A printer system for quickly outputting display bitmaps using compression. 제 1 항에 있어서, 상기 소정의 수단은,The method of claim 1, wherein the predetermined means, 윈도우즈 GDI(Graphic Descript Interpret) 수단이 것을 특징으로 하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템.A printer system for quickly outputting a display bitmap using compression, characterized by Windows Graphic Descript Interpret (GDI) means. 제 1 항에 있어서, 상기 비디오 콘트롤러는,The method of claim 1, wherein the video controller, 상기 엔진으로 전송할 비트맵 데이터를 미리 생성하고, 일정 형태의 압축 형태로 보관하고 있다가 상기 엔진이 실질적으로 인쇄하는 순간에 이 압축을 해제하여 상기 엔진에 전송하여 인쇄하는 것을 특징으로 하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 프린터 시스템.The bitmap data to be transmitted to the engine is generated in advance, stored in a compressed form, and then decompressed and transmitted to the engine for printing at the moment when the engine substantially prints. Printer system for quickly printing display bitmaps. 호스트 컴퓨터로부터 전송되는 인쇄데이터를 수신하여 인쇄하는 프린터의 인쇄 방법에 있어서,In the printing method of a printer for receiving and printing print data transmitted from a host computer, 상기 호스트 컴퓨터 측에서On the host computer side 인쇄할 데이터를 소정의 수단을 통해 디바이스 독립적인 비트맵(Device Independent Bitmap : DIB) 형태로 구성하는 단계;Configuring the data to be printed in the form of a device independent bitmap (DIB) through a predetermined means; 상기 구성된 이미지 데이터에 대한 그레이(Grey) 테이블을 작성하는 단계;Creating a gray table for the constructed image data; 상기 작성된 그레이 테이블을 통해 상기 디바이스 독립적인 컬러 이미지를 디바이스 종속적인 비트맵(Device Dependent Bitmap : DDB) 형태의 이미지 데이터로 변경하는 단계;Changing the device independent color image into image data in a device dependent bitmap (DDB) form through the created gray table; 상기 변경된 디바이스 종속적인 비트맵(DDB) 형태의 이미지 데이터를 Y축으로 확대하는 단계;Enlarging the modified device-dependent bitmap (DDB) image data on a Y-axis; 상기 확대된 이미지 데이터를 압축하여 상기 프린터에 전송하는 단계;Compressing the enlarged image data and transmitting the compressed image data to the printer; 상기 프린터 측에서 상기 Y축으로 확대되어 압축된 이미지 데이터의 압축을 해제하는 단계;Decompressing the compressed image data enlarged on the Y axis at the printer side; 상기 압축해제된 이미지 데이터를 X축으로 확대하여 이진화하는 단계;Binarizing the decompressed image data on an X axis; 상기 이진화된 확대된 이미지 데이터에 따라 엔진을 구동하여 인쇄를 수행하는 단계를 포함하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 방법.A method of rapidly outputting a display bitmap using compression, the method comprising: driving an engine according to the binarized enlarged image data to perform printing. 제 7 항에 있어서, 상기 소정의 수단은,The method of claim 7, wherein the predetermined means, 윈도우즈 GDI(Graphic Descript Interpret) 수단이 것을 특징으로 하는 압축을 이용한 디스플레이 비트맵을 빠르게 출력하는 방법.A method of quickly outputting a display bitmap using compression, characterized by Windows Graphic Descript Interpret (GDI) means.
KR1019980031612A 1998-08-04 1998-08-04 Printer system and method for quickly outputting display bitmap using compression KR100277733B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980031612A KR100277733B1 (en) 1998-08-04 1998-08-04 Printer system and method for quickly outputting display bitmap using compression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980031612A KR100277733B1 (en) 1998-08-04 1998-08-04 Printer system and method for quickly outputting display bitmap using compression

Publications (2)

Publication Number Publication Date
KR20000013000A true KR20000013000A (en) 2000-03-06
KR100277733B1 KR100277733B1 (en) 2001-01-15

Family

ID=19546320

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980031612A KR100277733B1 (en) 1998-08-04 1998-08-04 Printer system and method for quickly outputting display bitmap using compression

Country Status (1)

Country Link
KR (1) KR100277733B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462603B1 (en) * 2002-04-26 2004-12-20 삼성전자주식회사 Method and apparatus for compressing and decompressing image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100462603B1 (en) * 2002-04-26 2004-12-20 삼성전자주식회사 Method and apparatus for compressing and decompressing image data

Also Published As

Publication number Publication date
KR100277733B1 (en) 2001-01-15

Similar Documents

Publication Publication Date Title
US5838333A (en) Image processing device and image processing method
US8233164B2 (en) Rendering apparatus, rendering method, and computer-readable storage medium
EP1548634B1 (en) System and method for rapid processing of rasterised colour documents
US20070086050A1 (en) Information processing apparatus, image processing method, and machine-readable medium
US6247028B1 (en) Controlling attributes of pre-registered form data to match those of data to be printed with the form data
JPH08278862A (en) Image output device and image processing method
KR100277733B1 (en) Printer system and method for quickly outputting display bitmap using compression
KR100277734B1 (en) Printer system and method for quickly outputting display bitmap
JP3685234B2 (en) Image processing device
KR100325800B1 (en) Device for transmitting bit map data for print
JP3695498B2 (en) Image processing device
US20130135629A1 (en) Method of pre-processing data on a host machine for a host-based print system
JP4400709B2 (en) Image processing apparatus and image processing method
JPH07266633A (en) Printer
JP2001169120A (en) Method, device, and system for image processing
JP2002157108A (en) Image processing method, storage medium, and image forming device
US6246795B1 (en) Image processing apparatus and method
JP3829895B2 (en) Image processing device
JP2007086968A (en) Print system, printer driver, print controller, and printer
JP3727962B2 (en) Printing apparatus and printing method
JP2000168170A (en) Blank paper-detecting apparatus and image-recording apparatus, image-forming apparatus and image-reading apparatus using the same
JPH118771A (en) Image output device/method and storage medium storing program which computer can read
JP2004254187A (en) Information processor
KR100325799B1 (en) Device for transmitting bit map data for print
JP2004096281A (en) Image processing system, image processor, image processing method, program, and storage medium

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: 20090929

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee