KR101048309B1 - Method and apparatus for printing document - Google Patents

Method and apparatus for printing document Download PDF

Info

Publication number
KR101048309B1
KR101048309B1 KR1020110020232A KR20110020232A KR101048309B1 KR 101048309 B1 KR101048309 B1 KR 101048309B1 KR 1020110020232 A KR1020110020232 A KR 1020110020232A KR 20110020232 A KR20110020232 A KR 20110020232A KR 101048309 B1 KR101048309 B1 KR 101048309B1
Authority
KR
South Korea
Prior art keywords
image
edge
value
pixel
document
Prior art date
Application number
KR1020110020232A
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 KR1020110020232A priority Critical patent/KR101048309B1/en
Application granted granted Critical
Publication of KR101048309B1 publication Critical patent/KR101048309B1/en

Links

Images

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/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/1219Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to consumables, e.g. ink, toner, paper
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection

Abstract

PURPOSE: A method and device for printing a document are provided to increase using time of a toner by increasing a value of one part pixel among pixels corresponding to the letter. CONSTITUTION: An image generator(110) receives a metadata about a document and generates an image about a document based on the metadata. A pixel converter(120) converts an image by distinguishing pixels corresponding to the letter from the image and increasing a pixel value as a set value. An edge enhancer(130) detects a pixel constituting an edge of the letter form the converted image based on a width of the edge and generates an image reinforcing the edge. The pixel converting unit increase an outputs the pixel value as a value corresponding to white based on predetermined patterns.

Description

문서 인쇄 방법 및 장치{Method and apparatus for printing document}Method and apparatus for printing a document

본 발명은 문서 인쇄 방법에 관한 것이다.The present invention relates to a method of printing a document.

일반적으로, 프린터는 컴퓨터의 응용프로그램(Application Program)에서 작성된 문서 혹은 이미지를 인쇄용지에 인쇄하는 장치를 말한다.In general, a printer refers to a device for printing a document or an image created in an application program of a computer on a printing paper.

문서를 인쇄할 때에, 사용자가 컴퓨터상에서 HWP 및 MS Word와 같은 컴퓨터의 문서 편집용 응용프로그램에서 문서를 편집하고, 문서 편집용 응용프로그램상에서 완성된 문서데이터를 인쇄 출력하기 위해 필요한 인쇄옵션을 설정한다. 그리고 프린터 드라이버(Printer Driver)를 거쳐 프린터가 해석가능한 프린터 언어(예컨대, PCL, KSSM 등)로 이루어진 코딩데이터로 변환하고, 이를 프린터용 인터페이스 케이블을 통하여 프린터로 전송하게 된다. 프린터는 해당 프린터의 전용 에뮬레이터(Emulator)를 이용하여 전송된 코딩데이터를 인쇄출력할 수 있는 인쇄데이터로 변환하는 과정을 거쳐서 이를 실제 인쇄될 이미지형태로 변환하여 인쇄영역으로 전송함으로써 인쇄작업을 수행하도록 구성되어 있다. When printing a document, the user edits the document in a document editing application on the computer such as HWP and MS Word on the computer, and sets the print options required for printing and outputting the completed document data in the document editing application. . The printer converts the coding data into a printer language (for example, PCL, KSSM, etc.) that can be interpreted by the printer through a printer driver, and transmits the same to the printer through the printer interface cable. The printer converts the transmitted coding data into print data that can be printed out by using the printer's dedicated emulator, converts it into an image to be printed, and sends it to the print area for printing. Consists of.

개시된 기술이 이루고자 하는 기술적 과제는 잉크의 양을 절약하고 선명하게 문서를 인쇄하는 문서 인쇄 방법 및 장치를 제공하는 데 있다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a method and apparatus for printing a document, which saves a quantity of ink and prints a document clearly.

상술한 바와 같은 목적을 달성하기 위하여 본 발명은, 문서 인쇄 방법에 있어서, 문서에 대한 메타 데이터를 수신하고, 상기 메타 데이터에 기초하여 상기 문서에 대한 이미지를 생성하는 단계; 상기 생성된 이미지에서 문자에 상응하는 픽셀들을 구분하고, 상기 문자에 상응하는 픽셀들 중 적어도 하나의 픽셀의 값을 미리 설정된 값으로 증가시켜 상기 이미지를 변환하는 단계; 상기 변환된 이미지에서 문자의 에지를 구성하는 픽셀을 검출하고 상기 검출된 픽셀에 미리 설정된 값으로 픽셀의 값을 감소시켜 에지가 강화된 이미지를 생성하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, the present invention provides a document printing method comprising the steps of: receiving metadata for a document and generating an image for the document based on the metadata; Dividing pixels corresponding to a character in the generated image and converting the image by increasing a value of at least one pixel among pixels corresponding to the character to a preset value; And detecting the pixels constituting the edges of the characters in the converted image and reducing the value of the pixels to a preset value in the detected pixels to generate an edge-enhanced image.

개시된 기술은 다음의 효과를 가질 수 있다. 다만, 특정 실시예가 다음의 효과를 전부 포함하여야 한다거나 다음의 효과만을 포함하여야 한다는 의미는 아니므로, 개시된 기술의 권리범위는 이에 의하여 제한되는 것으로 이해되어서는 아니 될 것이다.The disclosed technique may have the following effects. It is to be understood, however, that the scope of the disclosed technology is not to be construed as limited thereby, as it is not meant to imply that a particular embodiment should include all of the following effects or only the following effects.

일 실시예에 따른 문서 인쇄 방법 및 장치는 문자에 상응하는 픽셀들 중 일부 픽셀의 값을 증가시켜 잉크의 사용량을 줄이고 토너 사용 기간을 늘림으로써, 경제적이고, 폐 토너 카트리지를 소각하는 데 발생하는 유해가스를 절감하는 효과가 있다.The method and apparatus for printing a document according to an embodiment is economical by increasing the value of some of the pixels corresponding to the characters, thereby reducing the amount of ink used and increasing the toner usage period, which is economical and harmful to incineration of the waste toner cartridge. It has the effect of saving gas.

또한, 일 실시예에 따른 문서 인쇄 방법 및 장치는 문자의 에지에 상응하는 픽셀의 값을 감소시켜 문자의 선명도를 높이고 인쇄 품질을 유지하게 하는 효과가 있으며, 가상 프린터를 이용하여 기존 프로세스를 유지할 수 있게 하는 효과가 있다.In addition, the method and apparatus for printing a document according to an embodiment has the effect of reducing the value of the pixel corresponding to the edge of the character to increase the sharpness of the character and maintain the print quality, and maintain the existing process using a virtual printer. It's effective.

도 1은 본 발명의 실시예에 따른 문서 인쇄 장치를 나타내는 블록도이다.
도 2는 본 발명의 실시예에 따른 문서 인쇄 방법을 나타내는 순서도이다.
도 3은 도 1의 문서 인쇄 장치의 사용자 인터페이스부를 나타내는 블록도이다.
도 4는 본 발명의 일 실시예에 따라 픽셀을 변환하고 에지를 강화한 결과를 보인 도면이다.
1 is a block diagram showing a document printing apparatus according to an embodiment of the present invention.
2 is a flowchart illustrating a document printing method according to an embodiment of the present invention.
3 is a block diagram illustrating a user interface unit of the document printing apparatus of FIG. 1.
4 illustrates a result of transforming pixels and enhancing edges according to an exemplary embodiment of the present invention.

개시된 기술에 관한 설명은 구조적 내지 기능적 설명을 위한 실시예에 불과하므로, 개시된 기술의 권리범위는 본문에 설명된 실시예에 의하여 제한되는 것으로 해석되어서는 아니 된다. 즉, 실시예는 다양한 변경이 가능하고 여러 가지 형태를 가질 수 있으므로 개시된 기술의 권리범위는 기술적 사상을 실현할 수 있는 균등물들을 포함하는 것으로 이해되어야 한다.The description of the disclosed technique is merely an example for structural or functional explanation and the scope of the disclosed technology should not be construed as being limited by the embodiments described in the text. That is, the embodiments may be variously modified and may have various forms, and thus the scope of the disclosed technology should be understood to include equivalents capable of realizing the technical idea.

한편, 본 출원에서 서술되는 용어의 의미는 다음과 같이 이해되어야 할 것이다.On the other hand, the meaning of the terms described in the present application should be understood as follows.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한 복수의 표현을 포함하는 것으로 이해되어야 하고, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Singular expressions should be understood to include plural expressions unless the context clearly indicates otherwise, and terms such as "include" or "have" refer to features, numbers, steps, operations, components, parts, or parts thereof described. It is to be understood that the combination is intended to be present, but not to exclude in advance the possibility of the presence or addition of one or more other features or numbers, steps, operations, components, parts or combinations thereof.

각 단계들은 문맥상 명백하게 특정 순서를 기재하지 않은 이상 명기된 순서와 다르게 일어날 수 있다. 즉, 각 단계들은 명기된 순서와 동일하게 일어날 수도 있고 실질적으로 동시에 수행될 수도 있으며 반대의 순서대로 수행될 수도 있다.Each step may occur differently from the stated order unless the context clearly dictates the specific order. That is, each step may occur in the same order as specified, may be performed substantially simultaneously, or may be performed in the reverse order.

여기서 사용되는 모든 용어들은 다르게 정의되지 않는 한, 개시된 기술이 속하는 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 일반적으로 사용되는 사전에 정의되어 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한 이상적이거나 과도하게 형식적인 의미를 지니는 것으로 해석될 수 없다.
All terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the disclosed technology belongs, unless otherwise defined. Terms defined in commonly used dictionaries should be interpreted to be consistent with meaning in the context of the relevant art and can not be construed as having ideal or overly formal meaning unless expressly defined in the present application.

도 1은 본 발명의 실시예에 따른 문서 인쇄 장치를 나타내는 블록도이다. 1 is a block diagram showing a document printing apparatus according to an embodiment of the present invention.

도 1을 참조하면, 문서 인쇄 장치(100)는 이미지 생성부(110), 픽셀 변환부(120), 에지 강화부(130) 및 사용자 인터페이스부(140)를 포함한다. 문서 인쇄 장치(100)는 소프트웨어적으로 구현될 수 있다.Referring to FIG. 1, the document printing apparatus 100 includes an image generator 110, a pixel converter 120, an edge enhancer 130, and a user interface 140. The document printing apparatus 100 may be implemented in software.

이미지 생성부(110)는 HWP 및 MS Word와 같은 문서 편집 응용프로그램으로부터 문서에 대한 메타 데이터를 수신하고, 메타 데이터에 기초하여 문서에 대한 이미지를 생성한다. 예를 들어, 메타 데이터는 문서에 대한 페이지 정보, 폰트 정보, 레이어 정보를 포함한다. 페이지 정보는 용지 크기, 용지 방향, 여백과 같은 문서 양식 정보와 텍스트와 같은 각종 글자 정보 및 이미지와 관련 오퍼레이션(and, or, xor, nor, not)의 각종 그림 정보를 포함한다. 폰트 정보는 폰트의 종류, 크기, 기울기, 굵기, 색, 언더라인과 같은 각종 폰트 특성 정보를 포함한다. 또한, 레이어 정보는 이미지나 폰트와 같은 페이지 위치 정보를 포함한다. The image generator 110 receives metadata about a document from a document editing application such as HWP and MS Word, and generates an image of the document based on the metadata. For example, the metadata includes page information about the document, font information, and layer information. The page information includes document style information such as paper size, paper orientation, margins, various character information such as text, and various pictorial information of images and related operations (and, or, xor, nor, not). The font information includes various font characteristic information such as font type, size, gradient, thickness, color, and underline. In addition, the layer information includes page position information such as an image or a font.

픽셀 변환부(120)는 이미지에서 문자에 상응하는 픽셀들인 문자 픽셀들을 배경에 상응하는 픽셀들인 배경 픽셀들로부터 구분한다. 예를 들어, 픽셀 변환부(120)는 이미지의 명도(luminance)에 기초하여 문자 픽셀들을 배경 픽셀들로부터 구분할 수 있다. 즉, 미리 설정된 명도 기준보다 높은 픽셀들에 대해서는 배경 픽셀로 구분하고, 기준보다 낮은 픽셀들에 대해서는 문자 픽셀로 구분할 수 있다. 그리고 픽셀 변환부(120)는 다수의 패턴들 중 어느 하나의 패턴을 결정하고, 결정된 패턴에 해당하는 문자 픽셀에 미리 설정된 값을 할당할 수 있다. 예를 들어, 다수의 패턴들은 사선, 격자, 수직, 수평, 십자선 및 임의의 모양과 같은 패턴들을 포함할 수 있다. 픽셀 변환부(120)는 다수의 패턴들 중 사용자 인터페이스부(140)를 통하여 어느 하나의 패턴을 선택받을 수 있다. 또한, 미리 설정된 값은 흰색에 해당하는 값일 수 있다.The pixel converter 120 distinguishes the character pixels that are pixels corresponding to the characters in the image from the background pixels that are pixels corresponding to the background. For example, the pixel converter 120 may distinguish the character pixels from the background pixels based on the brightness of the image. That is, the pixels higher than the predetermined brightness reference may be divided into the background pixels, and the pixels lower than the reference may be divided into the character pixels. In addition, the pixel converter 120 may determine any one of a plurality of patterns, and may assign a preset value to a character pixel corresponding to the determined pattern. For example, the plurality of patterns may include patterns such as diagonal lines, lattice, vertical, horizontal, cross hairs, and any shape. The pixel converter 120 may select one of the patterns through the user interface 140. In addition, the preset value may be a value corresponding to white.

에지 강화부(130)는 문자 픽셀들 중 에지 픽셀을 검출하고, 에지 픽셀의 픽셀 값을 미리 설정된 값으로 낮추어 에지가 강화된 이미지를 생성한다. 에지 강화부(130)는 이미지의 명도에 기초하여 문자 픽셀들의 아웃라인에 해당하는 픽셀인 에지 픽셀을 검출한다. 그리고 에지 강화부(130)는 에지 픽셀을 미리 설정된 값으로 픽셀 값을 낮추어 문자 픽셀들의 에지를 강화할 수 있다. 문자 픽셀들 중 일부분에 대한 픽셀 값을 높여 빈 공간이 생김으로 인해 문자의 선명도가 떨어지는 경우, 에지 픽셀의 픽셀 값을 낮추어 블랙화하여 윤곽을 또렷하게 만들어 가독성을 높여줄 수 있다. 에지 강화부(130)는 사용자 인터페이스부(140)를 통하여 에지 폭에 대한 정보를 수신하고, 에지 폭에 대한 정보에 기초하여 에지 픽셀을 검출할 수 있다.The edge enhancement unit 130 detects an edge pixel among the character pixels, and lowers the pixel value of the edge pixel to a preset value to generate an edge-enhanced image. The edge enhancer 130 detects an edge pixel that is a pixel corresponding to the outline of the character pixels based on the brightness of the image. The edge enhancement unit 130 may strengthen the edges of the character pixels by lowering the pixel value to a preset value. If the sharpness of the text is reduced due to the increase of the pixel value of a part of the text pixels to create empty space, the pixel value of the edge pixel may be lowered and blackened to sharpen the outline to improve readability. The edge reinforcement unit 130 may receive information about the edge width through the user interface unit 140, and detect the edge pixel based on the information about the edge width.

사용자 인터페이스부(140)는 사용자로부터 패턴 모양, 패턴 간격을 입력받고, 입력받은 패턴 모양 및 패턴 간격에 대한 정보를 픽셀 변환부(120)로 제공한다. 사용자 인터페이스부(140)는 에지 폭을 입력받고, 입력받은 에지 폭에 대한 정보를 에지 강화부(130)로 제공한다. 사용자 인터페이스부(140)는 잉크 절약 정도에 관한 정보를 사용자에게 디스플레이한다.The user interface 140 receives a pattern shape and a pattern interval from a user, and provides the pixel converter 120 with information about the received pattern shape and the pattern interval. The user interface 140 receives the edge width and provides information about the received edge width to the edge reinforcement 130. The user interface unit 140 displays information on the ink saving degree to the user.

문서 인쇄 장치(100)의 이미지 생성부(110), 픽셀 변환부(120) 및 에지 강화부(130)는 일종의 가상 프린터의 역할을 수행할 수 있다. 가상 프린터는 잉크젯 프린터, 레이저 프린터와 같은 물리적인 형태의 디바이스를 가지고 종이에 인쇄하는 프린터가 아닌 PDF 프린터와 같이 프로그램으로만 존재하며 특정 목적을 위해 작동하는 프린터이다. 따라서 가상 프린터를 이용함으로 인해 기존 인쇄 프로세스를 유지할 수 있고, 프린터 자체에서 이미지 생성하는 것에 비해 속도를 빠르게 할 수 있다. 따라서, 문서 인쇄 장치(100)를 가상프린터로 구성함에 따라 속도를 기존의 문서 편집용 응용 프로그램에서 바로 프린터로 연결하는 것과 유사하게 할 수 있다.The image generator 110, the pixel converter 120, and the edge enhancer 130 of the document printing apparatus 100 may serve as a kind of virtual printer. A virtual printer is a printer that exists only as a program and works for a specific purpose, such as a PDF printer, not a printer that prints on paper with physical devices such as inkjet printers and laser printers. Therefore, using a virtual printer can maintain the existing printing process, and can be faster than generating images on the printer itself. Therefore, as the document printing apparatus 100 is configured as a virtual printer, the speed may be similar to that of directly connecting a printer to an existing document editing application.

도 2는 본 발명의 실시예에 따른 문서 인쇄 방법을 나타내는 순서도이다.2 is a flowchart illustrating a document printing method according to an embodiment of the present invention.

도 2를 참조하면, 패턴 및 에지 설정단계(210)에서, 문서 인쇄 장치는 잉크 절약 모드를 설정받고, 사용자로부터 패턴의 모양, 패턴의 간격 및 에지의 폭을 입력받는다. 이미지 생성단계(220)에서, 문서 인쇄 장치는 HWP 및 MS Word와 같은 문서 편집 응용 프로그램으로부터 메타 데이터를 수신하고, 메타 데이터로부터 이미지 파일을 생성한다. 픽셀 변환단계(230)에서, 문서 인쇄 장치는 이미지 파일의 픽셀을 변환한다. 여기서, 문서 인쇄 장치는 패턴 및 에지 설정단계(210)에서 사용자가 선택한 패턴의 모양과 간격에 따라 픽셀을 변환할 수 있다. 에지 강화단계(240)에서, 문서 인쇄 장치는 이미지 파일의 에지를 강화한다. 여기서, 문서 인쇄 장치는 패턴 및 에지 설정단계(210)에서 사용자가 선택한 에지의 폭에 따라 픽셀을 변환할 수 있다. 인쇄단계(250)에서, 문서 인쇄 장치는 픽셀이 변환되고 에지가 강화된 이미지를 프린터로 제공하여 프린터가 이미지를 인쇄할 수 있도록 한다.Referring to FIG. 2, in the pattern and edge setting step 210, the document printing apparatus is set to the ink saving mode, and receives the shape of the pattern, the interval of the pattern, and the width of the edge from the user. In the image generating step 220, the document printing apparatus receives metadata from document editing applications such as HWP and MS Word, and generates an image file from the metadata. In the pixel conversion step 230, the document printing apparatus converts the pixels of the image file. Here, the document printing apparatus may convert pixels according to the shape and spacing of the pattern selected by the user in the pattern and edge setting step 210. In the edge enhancement step 240, the document printing apparatus enhances the edge of the image file. Here, the document printing apparatus may convert pixels according to the width of the edge selected by the user in the pattern and edge setting step 210. In the printing step 250, the document printing apparatus provides the printer with the converted image and the edge-enhanced image so that the printer can print the image.

패턴 및 에지 설정단계(210)에서는 문서 편집용 응용 프로그램을 통해 편집된 문서를 출력할 때에 잉크를 절약할 것인지에 대한 선택을 할 수 있도록 하여, 잉크 절약 모드를 선택한 경우에는 도 2에 나타난 것과 같은 이미지 생성단계(220), 픽셀 변환단계(230) 및 에지 강화단계(240)로 구성되는 가상프린터를 거쳐서 인쇄단계(250)로 이어지므로 잉크를 절약할 수 있도록 한다. 다만, 잉크 절약 모드를 선택하지 않은 경우에는 문서 편집 응용 프로그램을 통해서 편집한 문서를 바로 인쇄단계(250)를 거쳐 출력할 수 있다.In the pattern and edge setting step 210, the user can select whether to save ink when outputting the edited document through a document editing application, so that when the ink saving mode is selected, an image as shown in FIG. After the virtual printer including the generation step 220, the pixel conversion step 230, and the edge reinforcement step 240, the printing step 250 is performed, thereby saving ink. However, when the ink saving mode is not selected, the document edited through the document editing application may be directly output through the printing step 250.

도 3은 도 1의 문서 인쇄 장치의 사용자 인터페이스부(140)를 나타내는 블록도이다. 3 is a block diagram illustrating a user interface unit 140 of the document printing apparatus of FIG. 1.

도 3을 참조하면, 사용자 인터페이스부(140)는 패턴 입력부(310), 에지 폭 입력부(320) 및 잉크 절약 표시부(330)를 포함한다. 사용자 인터페이스부(140)는 도 2에 나타난 패턴 및 에지 설정단계(210)에서 사용자가 잉크 절약 모드를 설정한 경우에 나타날 수 있다.Referring to FIG. 3, the user interface unit 140 includes a pattern input unit 310, an edge width input unit 320, and an ink saving display unit 330. The user interface 140 may appear when the user sets the ink saving mode in the pattern and edge setting step 210 shown in FIG. 2.

패턴 입력부(310)는 다수의 패턴 모양들 중 어느 하나의 패턴 모양을 사용자로부터 입력받고, 입력받은 패턴 모양을 픽셀 변환부(120)로 제공한다. 여기에서, 패턴 모양은 문자 픽셀들 중 빈 공간 또는 흰색에 해당하는 값을 할당할 픽셀들의 모양에 해당하며, 사선모양, 격자 모양, 수직선 모양, 수평선 모양, 임의의 모양 중 어느 하나에 해당할 수 있다. 패턴 입력부(310)는 패턴의 모양뿐만 아니라, 패턴의 간격을 사용자로부터 입력받고, 입력받은 패턴의 간격을 픽셀 변환부(120)로 제공한다. 패턴 간격이 클수록 문자 픽셀들 중 빈 공간 또는 흰색에 해당하는 값을 가지는 픽셀들이 줄어들어 잉크 절약 비율이 낮아지고, 패턴 간격이 작을수록 빈 공간 또는 흰색에 해당하는 값을 가지는 픽셀들이 증가하여 잉크 절약 비율이 높아진다.The pattern input unit 310 receives a pattern shape of any one of a plurality of pattern shapes from a user, and provides the received pattern shape to the pixel converter 120. Here, the pattern shape corresponds to the shape of the pixels to which a value corresponding to the empty space or the white of the character pixels is assigned, and may correspond to any one of a diagonal shape, a grid shape, a vertical line shape, a horizontal shape, and an arbitrary shape. have. The pattern input unit 310 receives not only the shape of the pattern, but also the interval of the pattern from the user, and provides the interval of the input pattern to the pixel converter 120. The larger the pattern spacing, the lower the ink saving rate by reducing the pixels having empty space or white value among the character pixels, and the smaller the pattern spacing, the larger the space having the empty space or white pixels, increasing the ink saving rate. Is higher.

에지 폭 입력부(320)는 강화할 에지의 폭을 사용자로부터 입력받고, 입력받은 에지 폭에 대한 정보를 에지 강화부(130)로 제공한다. 에지의 폭이 작을수록 문자의 선명도는 떨어지고 잉크 절약 비율은 높아지며, 에지 폭이 클수록 문자의 선명도는 높아지고 잉크 절약 비율은 낮아진다.The edge width input unit 320 receives a width of an edge to be reinforced from a user and provides information about the received edge width to the edge reinforcement unit 130. The smaller the width of the edge, the lower the sharpness of the text and the higher the ink saving rate. The larger the width of the edge, the higher the sharpness of the text and the lower the ink saving rate.

잉크 절약 표시부(330)는 패턴 입력부(310) 및 에지 폭 입력부(320)를 통해 사용자로부터 입력된 값을 토대로 잉크 절약 정도를 표시한다. 예를 들어, 잉크 절약 표시부(330)는 잉크 절약 모드를 사용하지 않았을 때의 잉크 사용량에 대한 잉크의 절약 정도를 퍼센티지(%)로 표시할 수 있다. 사용자는 표시부에 나타난 값을 토대로 잉크 절감 량을 예측할 수 있고, 잉크 사용 가능 기간을 예측할 수 있다. 잉크 절약 표시부(330)를 통해 사용자가 절약 비율을 확인하고 비율을 변경하고 싶은 경우에는 다시 패턴 입력부(310)나 에지 폭 입력부(320)를 통해서 패턴 모양, 패턴 간격 및 에지 폭을 변경하는 것이 가능하다.The ink saving display unit 330 displays the ink saving degree based on the value input from the user through the pattern input unit 310 and the edge width input unit 320. For example, the ink saving display unit 330 may display the degree of saving of ink relative to the amount of ink used when the ink saving mode is not used in percentage (%). The user can predict the amount of ink savings based on the value shown in the display, and can predict the ink usage period. When the user wants to check the saving ratio and change the ratio through the ink saving display unit 330, it is possible to change the pattern shape, the pattern spacing, and the edge width through the pattern input unit 310 or the edge width input unit 320. Do.

도 4는 본 발명의 일 실시예에 따라 픽셀을 변환하고 에지를 강화한 결과를 설명하기 위한 도면이다.FIG. 4 is a diagram for describing a result of transforming pixels and enhancing edges according to an exemplary embodiment of the present invention.

도 4의 (a)는 기존에 있는 문서 편집 응용 프로그램을 통해 편집된 문서의 이미지를 나타낸다.4A illustrates an image of a document edited through an existing document editing application.

도 4의 (b)는 도 4의 (a)의 이미지에서 문자 픽셀의 적어도 하나 이상의 픽셀의 값을 높여서 문자 픽셀 내부에 빈 공간을 생성한 것을 나타낸다.FIG. 4B illustrates that an empty space is created inside the character pixel by increasing the value of at least one pixel of the character pixel in the image of FIG. 4A.

도 4의 (c)는 도 4의 (b)의 이미지에서 에지 픽셀을 검출하고, 에지 픽셀의 값을 낮추어 블랙화한 이미지를 나타낸다.
FIG. 4C illustrates an image obtained by detecting an edge pixel in the image of FIG. 4B and lowering the value of the edge pixel.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.
Although described above with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and changed within the scope of the invention without departing from the spirit and scope of the invention described in the claims below I can understand that you can.

100 : 문서 인쇄 장치 110 : 이미지 생성부
120 : 픽셀 변환부 130 : 에지 강화부
140 : 사용자 인터페이스부
210 : 패턴 및 에지 설정단계 220 : 이미지 생성단계
230 : 픽셀 변환단계 240 : 에지 강화단계
250 : 인쇄단계
310 : 패턴 입력부 320 : 에지 폭 입력부
330 : 잉크 절약 표시부
100: document printing apparatus 110: image generating unit
120: pixel conversion unit 130: edge enhancement unit
140: user interface unit
210: pattern and edge setting step 220: image generation step
230: pixel conversion step 240: edge enhancement step
250: printing step
310: pattern input unit 320: edge width input unit
330: ink saving display unit

Claims (8)

문서에 대한 메타 데이터를 수신하고, 상기 메타 데이터에 기초하여 상기 문서에 대한 이미지를 생성하는 단계;
상기 생성된 이미지에서 문자에 상응하는 픽셀들을 구분하고, 상기 문자에 상응하는 픽셀들 중 적어도 하나의 픽셀의 값을 미리 설정된 값으로 증가시켜 상기 이미지를 변환하는 단계;및
상기 변환된 이미지에서 문자의 에지를 구성하는 픽셀을 검출하고, 상기 검출된 픽셀에 미리 설정된 값으로 픽셀의 값을 감소시켜 에지가 강화된 이미지를 생성하는 단계
를 포함하는 문서 인쇄 방법.
Receiving metadata for a document and generating an image for the document based on the metadata;
Distinguishing pixels corresponding to characters in the generated image, and converting the image by increasing a value of at least one pixel among pixels corresponding to the character to a preset value; and
Detecting the pixels constituting the edges of the characters in the converted image, and generating an edge-enhanced image by reducing the value of the pixels to a value preset to the detected pixels.
Document printing method comprising a.
제 1 항에 있어서,
상기 이미지를 변환하는 단계는
미리 설정된 패턴들 중 적어도 하나에 기초하여 상기 적어도 하나의 픽셀 값을 흰색에 상응하는 값으로 증가시켜 출력하는 문서 인쇄 방법.
The method of claim 1,
Converting the image
And printing the document by increasing the at least one pixel value to a value corresponding to white based on at least one of preset patterns.
제 2 항에 있어서,
상기 미리 설정된 패턴들은
사선 모양, 격자 모양, 수직선 모양, 수평선 모양 및 임의의 모양 중 적어도 하나를 포함하는 문서 인쇄 방법.
The method of claim 2,
The preset patterns
A document printing method comprising at least one of an oblique shape, a grid shape, a vertical line shape, a horizontal line shape, and any shape.
문서에 대한 메타 데이터를 수신하고, 상기 메타 데이터에 기초하여 상기 문서에 대한 이미지를 생성하는 단계;
미리 설정된 패턴들 중 적어도 하나의 패턴을 입력받는 단계;
상기 생성된 이미지에서 문자에 상응하는 픽셀들을 구분하고, 상기 문자에 상응하는 픽셀들 중 적어도 하나의 픽셀 값을 미리 설정된 값으로 증가시켜 상기 이미지를 변환하는 단계;
에지의 폭을 입력받는 단계;
상기 입력받은 에지의 폭에 기초하여, 상기 변환된 이미지에서 문자의 에지를 구성하는 픽셀을 검출하고, 상기 검출된 픽셀에 미리 설정된 값으로 픽셀의 값을 감소시켜 에지가 강화된 이미지를 생성하는 단계; 및
상기 입력된 패턴 및 상기 입력된 에지의 폭에 따라 절약되는 잉크의 양에 대한 정보를 디스플레이하는 단계
를 포함하는 문서 인쇄 방법.
Receiving metadata for a document and generating an image for the document based on the metadata;
Receiving at least one pattern among preset patterns;
Dividing pixels corresponding to a character in the generated image, and converting the image by increasing at least one pixel value among pixels corresponding to the character to a preset value;
Receiving a width of an edge;
Detecting an pixel constituting an edge of a character in the converted image based on the width of the input edge, and generating an edge-enhanced image by reducing the value of the pixel to a value preset to the detected pixel; ; And
Displaying information on the amount of ink saved according to the input pattern and the width of the input edge
Document printing method comprising a.
문서에 대한 메타 데이터를 수신하고, 상기 메타 데이터에 기초하여 상기 문서에 대한 이미지를 생성하는 이미지 생성부;
상기 생성된 이미지에서 문자에 상응하는 픽셀들을 구분하여, 상기 문자에 상응하는 픽셀들 중 적어도 하나의 픽셀의 값을 미리 설정된 값으로 증가시켜 상기 이미지를 변환하는 픽셀 변환부;및
상기 변환된 이미지에서 문자의 에지를 구성하는 픽셀을 검출하고, 상기 검출된 픽셀값을 미리 설정된 값으로 픽셀의 값을 감소시켜 에지가 강화된 이미지를 생성하는 에지 강화부
를 포함하는 문서 인쇄 장치.
An image generator which receives metadata about a document and generates an image of the document based on the metadata;
A pixel converter configured to classify pixels corresponding to a character in the generated image, and convert the image by increasing a value of at least one pixel among pixels corresponding to the character to a preset value; and
An edge reinforcing unit for detecting a pixel constituting the edge of the character in the converted image, and reducing the value of the pixel to a predetermined value to generate an edge-enhanced image
Document printing apparatus comprising a.
제 5 항에 있어서,
상기 픽셀 변환부는
미리 설정된 패턴들 중 적어도 하나에 기초하여 상기 적어도 하나의 픽셀 값을 흰색에 상응하는 값으로 증가시켜 출력하는 문서 인쇄 장치.
The method of claim 5, wherein
The pixel converter
And increasing the at least one pixel value to a value corresponding to white based on at least one of preset patterns.
제 6 항에 있어서,
상기 미리 설정된 패턴들은
사선 모양, 격자 모양, 수직선 모양, 수평선 모양 및 임의의 모양 중 적어도 하나를 포함하는 문서 인쇄 장치.
The method according to claim 6,
The preset patterns
A document printing apparatus comprising at least one of an oblique shape, a grid shape, a vertical line shape, a horizontal line shape, and any shape.
문서에 대한 메타 데이터를 수신하고, 상기 메타 데이터에 기초하여 상기 문서에 대한 이미지를 생성하는 이미지 생성부;
미리 설정된 패턴들 중 적어도 하나의 패턴을 입력받는 패턴 입력부;
상기 생성된 이미지에서 문자에 상응하는 픽셀들을 구분하여, 상기 문자에 상응하는 픽셀들 중 적어도 하나의 픽셀의 값을 미리 설정된 값으로 증가시켜 상기 이미지를 변환하는 픽셀 변환부;
에지의 폭을 입력받는 에지 폭 입력부;
상기 입력받은 에지의 폭에 기초하여, 상기 변환된 이미지에서 문자의 에지를 구성하는 픽셀을 검출하고, 상기 검출된 픽셀값을 미리 설정된 값으로 픽셀의 값을 감소시켜 에지가 강화된 이미지를 생성하는 에지 강화부; 및
상기 입력된 패턴 및 상기 입력된 에지의 폭에 따라 절약되는 잉크의 양에 대한 정보를 디스플레이하는 잉크 절약 표시부
를 포함하는 문서 인쇄 장치.
An image generator which receives metadata about a document and generates an image of the document based on the metadata;
A pattern input unit configured to receive at least one pattern among preset patterns;
A pixel converter configured to classify pixels corresponding to a character in the generated image, and convert the image by increasing a value of at least one pixel among pixels corresponding to the character to a preset value;
An edge width input unit configured to receive an edge width;
Based on the width of the received edge, detecting a pixel constituting the edge of the character in the converted image, and reducing the value of the pixel to a predetermined value to generate the edge-enhanced image Edge reinforcement; And
Ink saving display unit for displaying information about the amount of ink saved according to the input pattern and the width of the input edge
Document printing apparatus comprising a.
KR1020110020232A 2011-03-08 2011-03-08 Method and apparatus for printing document KR101048309B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110020232A KR101048309B1 (en) 2011-03-08 2011-03-08 Method and apparatus for printing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110020232A KR101048309B1 (en) 2011-03-08 2011-03-08 Method and apparatus for printing document

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020100083360A Division KR101048300B1 (en) 2010-08-27 2010-08-27 Method and apparatus for printing document

Publications (1)

Publication Number Publication Date
KR101048309B1 true KR101048309B1 (en) 2011-07-13

Family

ID=44923438

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110020232A KR101048309B1 (en) 2011-03-08 2011-03-08 Method and apparatus for printing document

Country Status (1)

Country Link
KR (1) KR101048309B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080006112A (en) * 2006-07-11 2008-01-16 삼성전자주식회사 Halftoning method and apparatus to improve sharpness in boundary region
KR20080082451A (en) * 2007-03-07 2008-09-11 삼성전자주식회사 Image processing apparatus and control method the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080006112A (en) * 2006-07-11 2008-01-16 삼성전자주식회사 Halftoning method and apparatus to improve sharpness in boundary region
KR20080082451A (en) * 2007-03-07 2008-09-11 삼성전자주식회사 Image processing apparatus and control method the same

Similar Documents

Publication Publication Date Title
US8373888B2 (en) Printer driver program and image forming apparatus
JP6089406B2 (en) Image processing apparatus, printing apparatus, and image processing method
US8384918B2 (en) Enforcing a minimum font size
US9075548B2 (en) Printing control device, image forming apparatus, and image forming method
JP5828789B2 (en) Print control apparatus, print control program, and print control method
US10528854B2 (en) Image forming apparatus performing print processing in color or black-and-white print modes by analyzing pixel information of image data generated when a print job is input
US10582088B2 (en) Information processing apparatus, method, and storage medium for causing printer driver to generate drawing command
KR101048309B1 (en) Method and apparatus for printing document
KR101048300B1 (en) Method and apparatus for printing document
JP2007001166A (en) Image processing method, image processing apparatus and program
CN107728958B (en) Method for improving printing quality of graphic elements
JP6222311B2 (en) Printing apparatus, image processing apparatus, and data generation method
CN103559271A (en) Method for generating bitmap font library with gray level
US8908227B2 (en) Image forming apparatus, image forming system, image data processing method, program, and storage medium
US9978005B2 (en) Printer for drawing bold character, method for controlling the same, and storage medium
JP2020144807A (en) Information processing device and control method thereof, and program
JP5609161B2 (en) Information processing apparatus and program
US20080007741A1 (en) Image processing setting device, image processing device, image forming system, image processing setting method, image processing method, and image forming method
JP2006019931A (en) Apparatus and method for image processing, computer program, and storage medium
JP2022069096A (en) Data generation device and data generation method
JP2010003140A (en) Business form design device, business form design method, and program
JP2016200999A (en) Printing instruction device, printing system, and program
JP6108707B2 (en) Image processing apparatus, image processing method, and program for executing image processing
JP2012232537A (en) Image forming apparatus, and print directive program
JP2004326659A (en) Image processor

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee