[go: up one dir, main page]

KR100565792B1 - How to save font data of printer - Google Patents

How to save font data of printer Download PDF

Info

Publication number
KR100565792B1
KR100565792B1 KR1020030090063A KR20030090063A KR100565792B1 KR 100565792 B1 KR100565792 B1 KR 100565792B1 KR 1020030090063 A KR1020030090063 A KR 1020030090063A KR 20030090063 A KR20030090063 A KR 20030090063A KR 100565792 B1 KR100565792 B1 KR 100565792B1
Authority
KR
South Korea
Prior art keywords
font data
printer
information message
stored
memory
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
KR1020030090063A
Other languages
Korean (ko)
Other versions
KR20050057854A (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 KR1020030090063A priority Critical patent/KR100565792B1/en
Publication of KR20050057854A publication Critical patent/KR20050057854A/en
Application granted granted Critical
Publication of KR100565792B1 publication Critical patent/KR100565792B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • G06F3/1225Software update, e.g. print driver, modules, plug-ins, fonts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1827Accessing generic data, e.g. fonts

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

간단한 절차에 의해 기저장된 폰트 데이터의 신뢰여부를 확정할 수 있도록 하는 폰트 데이터 저장방법이 개시된다. 본 발명에 따른 폰트 데이터 저장방법은, 접속된 컴퓨터로부터 폰트 데이터를 수신하는 (a)단계, 메모리에 기저장된 폰트 데이터가 존재하는지를 판단하는 (b)단계, (b)단계에 의해 메모리에 기저장된 폰트 데이터가 없는 것으로 판단된 경우, 메모리에 수신된 폰트 데이터의 시작을 알리기 위한 제1 정보메시지를 저장하는 (c)단계, 수신된 폰트 데이터를 메모리에 저장하는 (d)단계, 및 (d)단계에 의해 저장된 폰트 데이터의 끝을 알리기 위한 제2 정보메시지를 저장하는 (e)단계를 포함한다. 이로써, 프린터는 메모리에 저장된 제1 정보메시지 및 제2 정보메시지의 존재유무를 검색하여 기저장된 폰트 데이터의 신뢰여부를 간단한 절차에 의해 확정할 수 있게 된다.Disclosed is a method of storing font data, which enables to determine whether or not to trust previously stored font data by a simple procedure. According to an aspect of the present invention, there is provided a method of storing font data, the method comprising the steps of: (a) receiving font data from a connected computer, determining whether font data previously stored in the memory exists, and (b) and (b) previously storing the font data in the memory. If it is determined that there is no font data, (c) storing a first information message for notifying the start of the font data received in the memory, (d) storing the received font data in the memory, and (d) And (e) storing a second information message for notifying the end of the stored font data by the step. As a result, the printer can search for the existence of the first information message and the second information message stored in the memory, and determine whether or not the previously stored font data is trusted by a simple procedure.

폰트 데이터, 컴퓨터, 프린터, 플래쉬 메모리Font Data, Computer, Printer, Flash Memory

Description

프린터의 폰트 데이터 저장방법{Font data recording method for print}Font data recording method for print

도 1은 일반적인 기술에 따른 프린터를 개략적으로 도시한 블록도,1 is a block diagram schematically showing a printer according to a general technique;

도 2는 도 1의 프린터의 플래쉬 메모리에 저장되는 폰트 데이터의 구조를 나타낸 도면, 2 is a diagram illustrating a structure of font data stored in a flash memory of the printer of FIG. 1;

도 3은 본 발명에 따른 폰트 데이터 저장방법을 나타낸 흐름도, 그리고3 is a flowchart illustrating a method of storing font data according to the present invention; and

도 4는 도 3의 방법에 의해 프린터의 플래쉬 메모리에 저장되는 폰트 데이터의 구조를 나타낸 도면이다.4 is a diagram illustrating a structure of font data stored in a flash memory of a printer by the method of FIG. 3.

* 도면의 주요부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

10 : 컴퓨터 11 : 응용 프로그램 저장부10 computer 11: application storage

13 : 프린터 드라이버 저장부 15 : 폰트 저장부13: Printer driver storage unit 15: Font storage unit

17 : 인터페이스부 19 : 제어부17: interface unit 19: control unit

20 : 프린터 21 : 인터페이스부20: printer 21: interface unit

23 : 제어부 25 : 메모리23: control unit 25: memory

25a : 플래쉬 메모리 25b : 디램25a: flash memory 25b: DRAM

27 : 인쇄부27: printing unit

본 발명은 프린터의 폰트 데이터 저장방법에 관한 것으로서, 보다 상세하게는 사용자가 필요로 하는 폰트를 컴퓨터 등의 호스트로부터 다운로드하여 프린터에 다운로드하여 저장함으로써 적은 양의 메모리로 다양한 종류의 폰트 데이터를 사용할 수 있는 프린터의 폰트 데이터 저장방법에 관한 것이다.The present invention relates to a method of storing font data of a printer, and more particularly, it is possible to use various types of font data with a small amount of memory by downloading a font required by a user from a host such as a computer and downloading it to a printer. It relates to a method of storing font data of a printer.

일반적으로, 화상형성장치의 대표격인 프린터는 컴퓨터 내의 응용프로그램에 의해 작성된 문서 또는 이미지 데이터를 전송받아 인쇄하는 장치이다. 프린터는 문서 또는 이미지 데이터를 컴퓨터로부터 전송받아 펌웨어(firmware) 내에 미리 설정되어 있는 프로그램에 따라 인쇄작업을 수행한다. 프린터는 컴퓨터와 연계되어 동작되는 것이 일반적이며, 이를 위하여 컴퓨터에는 프린터 드라이버가 필수적으로 설치되어야 한다. In general, a representative printer of an image forming apparatus is a device that receives and prints document or image data created by an application program in a computer. The printer receives document or image data from a computer and performs a print job according to a program preset in firmware. The printer is generally operated in conjunction with a computer, for which the printer driver must be installed.

이때, 프린터 드라이버는 컴퓨터 내의 응용프로그램에 의해 작성된 문서 또는 이미지 데이터를 프린터에서 인쇄하는 인쇄속도를 향상시키기 위하여, 단순한 비트맵 데이터가 아닌 프린터가 해석가능한 언어, 즉 프린터 전용 언어인 PCL(Print Control Language)을 사용한다. 즉, 사용자가 컴퓨터 내의 응용 프로그램을 통해 작성한 문서를 프린터로 인쇄하기 위하여 인쇄명령을 선택하면, 컴퓨터에 설치된 프린터 드라이버는 사용자가 작성한 문서를 프린터가 해석가능한 언어인 프린터 전용 언어(이하, 'PCL'이라 한다)로 변환하여 프린터로 전송한다. 프린터는 컴퓨터로부터 수신되는 PCL을 해석하여 실제 프린트될 이미지 데이터는 비트맵 데이터(bit map data)로 변환하고, 폰트 정보에 따른 폰트를 메모리에서 검출하여 비 트맵 데이터를 잉크나 토너 등의 유색 염료를 사용하여 용지로 출력한다. 이때, 프린터 메모리에는 컴퓨터로부터 수신된 PCL을 해석할 수 있는 프로그램과, 해석된 정보에 대응하는 폰트 데이터가 저장되어 있어야 한다. 즉, 프린터의 메모리에는 컴퓨터에서 지정할 수 있는 폰트 정보에 상응하는 폰트 데이터가 저장되어 있어야 하는데, 폰트 데이터를 지정하는데 많은 용량의 메모리가 사용된다.In this case, the printer driver is not a simple bitmap data, but a language that can be interpreted by the printer, that is, a printer-specific language, PCL (Print Control Language), in order to improve the printing speed of printing a document or image data created by an application program in the computer. ). That is, when a user selects a print command to print a document created by an application program on the computer to the printer, the printer driver installed in the computer may designate a printer-specific language (hereinafter, 'PCL'), which is a language that the printer can interpret. And then send it to the printer. The printer interprets the PCL received from the computer, and converts the image data to be actually printed into bit map data, detects the font according to the font information in the memory, and converts the bitmap data into colored dyes such as ink or toner. To print on paper. At this time, the printer memory should store a program capable of interpreting the PCL received from the computer and font data corresponding to the interpreted information. That is, font data corresponding to font information that can be designated by a computer should be stored in a memory of a printer, and a large amount of memory is used to specify font data.

따라서, 컴퓨터에서 지정할 수 있는 폰트 정보에 대응하는 폰트 데이터를 모두 저장하기 위해서는 메모리의 용량이 크게 증가하기 때문에 가격이 상승하는 문제점이 발생하고, 메모리의 용량을 줄이기 위해 PCL을 사용하지 않는 경우에는 인쇄속도가 떨어지는 문제점이 발생한다.Therefore, a problem arises that the price increases because the memory capacity is greatly increased to store all font data corresponding to the font information that can be specified by the computer, and when the PCL is not used to reduce the memory capacity, printing occurs. The problem of slowing down occurs.

이와 같은 문제를 개선하기 위하여 창안된 것이, 컴퓨터의 응용 프로그램에서 작성한 문서를 인쇄하기 전에 컴퓨터의 프린터 드라이버 프로그램에서 사용자가 필요로 하는 폰트 데이터를 컴퓨터에서 프린터에 다운로드하여 저장함으로써, 폰트 데이터를 저장하는 프린터의 메모리 용량을 최소화시킬 수 있는 프린터이다.In order to improve such a problem, the font data required by the user in the printer driver program of the computer is downloaded from the computer to the printer and stored in the printer before printing the document created by the application program of the computer. This printer can minimize the memory capacity of the printer.

도 1은 일반적인 기술에 따른 프린터를 개략적으로 도시한 블록도이다. 도면을 참조하면, 프린터(20)는 인터페이스부(21), 프린터용 메모리(25), 인쇄부(27), 및 제어부(23)를 구비한다. 여기서, 프린터용 메모리(25)는 플래쉬 메모리(25a) 및 디램(DRAM)(Dynamic RAM)(25b)을 구비한다. 또한, 프린터(20)는 인터페이스부(21)를 통해 컴퓨터(10)와 접속된다. 이때, 컴퓨터(10)는 응용 프로그램 저장부(11), 프린터 드라이버 저장부(13), 폰트 저장부(15), 인터페이스부(17), 및 제어부(19)를 구비한다.1 is a block diagram schematically illustrating a printer according to a general technique. Referring to the drawings, the printer 20 includes an interface unit 21, a printer memory 25, a printing unit 27, and a control unit 23. Here, the printer memory 25 includes a flash memory 25a and a DRAM (Dynamic RAM) 25b. In addition, the printer 20 is connected to the computer 10 via the interface unit 21. In this case, the computer 10 includes an application program storage unit 11, a printer driver storage unit 13, a font storage unit 15, an interface unit 17, and a control unit 19.

응용 프로그램은 사용자로 하여금 각종 문서를 작성할 수 있도록 하는 프로그램을 말하며, 응용 프로그램 저장부(11)는 이와 같은 응용 프로그램을 저장한다. 또한, 프린터 드라이버는 응용 프로그램에 의해 작성된 문서를 프린터(20)가 해석 가능한 데이터인 PCL로 변환하는 프로그램으로서, 프린터 드라이버 저장부(13)에 저장된다.An application program refers to a program that allows a user to create various documents, and the application program storage unit 11 stores such an application program. The printer driver is a program for converting a document created by an application program into PCL, which is data that the printer 20 can interpret, and is stored in the printer driver storage unit 13.

폰트 저장부(15)는 응용 프로그램에 의해 사용되는 각종 폰트 데이터들을 저장한다. 인터페이스부(17)는 프린터(20)의 인터페이스부(21)와 연결되는 포트로서, 프린터 드라이버 프로그램에 의해 변환된 PCL 및 응용 프로그램에 의해 사용된 폰트 데이터를 프린터(20)에 전송시킨다. 컴퓨터(10)의 제어부(19)는 프린터 드라이버에 의해 폰트 저장부(15)에 저장된 폰트 데이터를 프린터(20)로 다운로드하기 위한 다운로드 기능이 설정되면, PCL로 변환된 데이터와 함께 응용 프로그램에 의해 사용된 폰트 데이터가 인터페이스부(17)를 통하여 프린터(20)로 전송될 수 있도록 제어한다.The font storage unit 15 stores various font data used by the application program. The interface unit 17 is a port connected to the interface unit 21 of the printer 20, and transmits the font data used by the PCL and the application program converted by the printer driver program to the printer 20. When the download function for downloading the font data stored in the font storage unit 15 to the printer 20 is set by the printer driver, the control unit 19 of the computer 10 is set by the application program together with the data converted into PCL. The used font data is controlled to be transmitted to the printer 20 through the interface unit 17.

프린터(20)의 인터페이스부(21)는 응용 프로그램에 의해 작성되어 PCL로 변환된 문서데이터와 함께 컴퓨터(10)로부터 전송되는 폰트 데이터를 수신한다. 폰트 데이터가 수신되면, 프린터(20)의 제어부(23)는 프린터용 메모리(25)에 폰트 데이터가 수신되었음을 알리며, 컴퓨터(10)로부터 전송되는 폰트 데이터를 프린터용 메모리(25)에 저장하도록 제어한다. 또한, 프린터(20)의 제어부는 컴퓨터(10)로부터 전송되는 PCL데이터를 인쇄작업을 수행하기 위한 이미지 데이터인 비트맵 데이터로 변환한다.The interface unit 21 of the printer 20 receives font data transmitted from the computer 10 together with document data created by an application program and converted into PCL. When the font data is received, the controller 23 of the printer 20 notifies that the font data has been received in the printer memory 25 and controls to store the font data transmitted from the computer 10 in the printer memory 25. do. In addition, the controller of the printer 20 converts the PCL data transmitted from the computer 10 into bitmap data, which is image data for performing a print job.

프린터용 메모리(25)는 컴퓨터(10)로부터 수신된 폰트 데이터가 저장되는 플래쉬 메모리(flash memory)(25a), 및 프린터(20)의 데이터 처리시 필요한 버퍼로 사용되는 디램(DRAM)(Dynamic RAM)(25b)을 구비한다. 여기서, 폰트 데이터는 플래쉬 메모리(25a)의 전체 영역 중 폰트용으로 할당된 소정영역에 저장될 수도 있고, 전기적으로 소거 가능한 이이피롬(EEPROM)(Electrically Erasable and Programmable ROM)을 별도로 구비하고, 구비된 이이피롬에 저장될 수도 있다.The printer memory 25 includes a flash memory 25a in which font data received from the computer 10 is stored, and a DRAM (DRAM) used as a buffer required for data processing of the printer 20. ) 25b. Here, the font data may be stored in a predetermined area allocated for the font among the entire areas of the flash memory 25a, and separately provided with an electrically erasable and programmable ROM (EEPROM). It may be stored in Epyrom.

인쇄부(27)는 제어부(23)에 의해 변환된 비트맵 데이터를 플래쉬 메모리(25a)에 저장된 폰트 데이터에 따라 인쇄시킨다. The printing unit 27 prints the bitmap data converted by the control unit 23 according to the font data stored in the flash memory 25a.

도 2는 도 1의 프린터의 플래쉬 메모리에 저장되는 폰트 데이터의 구조를 나타낸 도면이다. 도면을 참조하면, 컴퓨터(10)로부터 폰트 데이터가 수신되는 경우, 플래쉬 메모리(25a)는 제어부(23)의 통지에 기초하여 폰트 데이터의 존재를 알리기 위한 정보메시지를 저장한다. 이때, 플래쉬 메모리(25a)에 저장되는 정보메시지의 크기는 플래쉬 메모리(25a)의 저장공간을 많이 차지하지 않도록 4비트 정도로 구현되는 것이 바람직하다. FIG. 2 is a diagram illustrating a structure of font data stored in a flash memory of the printer of FIG. 1. Referring to the figure, when font data is received from the computer 10, the flash memory 25a stores an information message for notifying the existence of the font data based on the notification of the control unit 23. In this case, the size of the information message stored in the flash memory 25a is preferably implemented to about 4 bits so as not to occupy much of the storage space of the flash memory 25a.

플래쉬 메모리(25a)에 정보메시지가 저장되면, 제어부(23)는 컴퓨터(10)로부터 전송되는 폰트 데이터를 플래쉬 메모리(25a)에 저장시킨다. 이로써, 인쇄부(27)가 인쇄작업을 수행하는 경우에, 플래쉬 메모리(25a)에 저장된 정보메시지에 의해 폰트 데이터의 존재를 쉽게 파악할 수 있으며, 저장된 폰트 데이터에 따라 인쇄작업을 수행할 수 있게 된다. When the information message is stored in the flash memory 25a, the controller 23 stores the font data transmitted from the computer 10 in the flash memory 25a. Thus, when the printing unit 27 performs a print job, it is possible to easily grasp the existence of the font data by the information message stored in the flash memory 25a, and to perform the print job according to the stored font data. .

그런데, 상기와 같은 프린터는 플래쉬 메모리에 저장되는 정보 메시지를 폰 트 데이터의 저장의 개시시점에만 저장하기 때문에, 정보메시지가 저장되고 확장된 폰트 데이터가 다운로드 되는 도중에 시스템의 오동작이나 외부 환경에 의해서 다운로드가 방해를 받으면, 저장되는 폰트 데이터를 신뢰할 수 없게 된다는 문제점이 있다.However, since the printer stores the information message stored in the flash memory only at the beginning of the storage of the font data, the information message is stored and downloaded by the system malfunction or the external environment while the extended font data is downloaded. Is disturbed, there is a problem that the stored font data becomes unreliable.

또한, 플래쉬 메모리에 저장되는 폰트 데이터는 기존에 존재하는 폰트 데이터를 오버랩(overlap)하여 저장하기 때문에, 저장되는 폰트 데이터의 끝부분에 오류 데이터가 존재할 수 있다는 문제점이 있다.In addition, since the font data stored in the flash memory overlaps the existing font data and stores the error data, error data may exist at the end of the stored font data.

본 발명은 상기와 같은 문제점을 해결하기 위하여 창안된 것으로서, 시스템의 오동작이나 외부 환경에 의해서 다운로드가 방해를 받더라도 신뢰할 수 있는 폰트 데이터를 저장할 수 있는 폰트 데이터 저장방법을 제공하는데 그 목적이 있다.The present invention was devised to solve the above problems, and an object thereof is to provide a font data storage method capable of storing reliable font data even when a download is disturbed by a malfunction of the system or an external environment.

상기의 목적을 달성하기 위한 본 발명에 따른 폰트 데이터 저장방법은, (a) 접속된 컴퓨터로부터 폰트 데이터를 수신하는 단계, (b) 메모리에 기저장된 폰트 데이터가 존재하는지를 판단하는 단계, (c) 상기 (b) 단계에 의해 상기 메모리에 기저장된 폰트 데이터가 없는 것으로 판단된 경우 상기 메모리에 수신된 상기 폰트 데이터의 시작을 알리기 위한 제1 정보메시지를 저장하는 단계, (d) 수신된 상기 폰트 데이터를 상기 메모리에 저장하는 단계, 및 (e) 상기 (d) 단계에 의해 저장된 상기 폰트 데이터의 끝을 알리기 위한 제2 정보메시지를 저장하는 단계를 포함한다.According to an aspect of the present invention, there is provided a method of storing font data, the method comprising: (a) receiving font data from a connected computer, (b) determining whether font data previously stored in a memory exists, and (c) If it is determined in step (b) that there is no pre-stored font data in the memory, storing a first information message for notifying the start of the font data received in the memory; (d) the received font data Storing the second information message for notifying the end of the font data stored by the step (d).

여기서, 상기 (b) 단계는, (f) 상기 메모리에 기저장된 상기 제1 정보메시지가 존재하는지를 검색하는 단계, 및 (g) 상기 메모리에 기저장된 상기 제2 정보메시지가 존재하는지를 검색하는 단계를 포함하며, 상기 (f) 단계 및 상기 (g) 단계에 의해 상기 제1 정보메시지 및 상기 제2 정보메시지 중 적어도 어느 하나가 검색되지 않은 경우에 상기 메모리에 기저장된 상기 폰트 데이터가 없는 것으로 판단하는 것이 바람직하다.The step (b) may include: (f) searching for the existence of the first information message previously stored in the memory, and (g) searching for the presence of the second information message previously stored in the memory. And determining that there is no font data previously stored in the memory when at least one of the first information message and the second information message is not found by the steps (f) and (g). It is preferable.

또한, 상기 (a) 단계는 상기 (e) 단계 및 상기 (f) 단계에 의해 상기 제1 정보메시지 및 상기 제2 정보메시지가 모두 검색된 경우에 상기 메모리에 기저장된 상기 폰트 데이터가 존재하는 것으로 판단하는 것이 바람직하다.In addition, in the step (a), when both the first information message and the second information message are retrieved by the steps (e) and (f), it is determined that the font data previously stored in the memory exists. It is desirable to.

바람직하게는, 상기 폰트 데이터 저장방법은, (h) 수신된 상기 폰트 데이터를 기저장된 상기 폰트 데이터에 대한 확장 데이터로 판단하는 단계, (i) 상기 (h) 단계에 의해 판단된 상기 확장 데이터를 기저장된 상기 폰트 데이터에 이어서 저장하는 단계, 및 (j) 상기 (i) 단계에 의해 저장된 상기 확장 데이터의 끝부분에 상기 제2 정보메시지를 재저장하는 단계를 포함한다.Preferably, the font data storing method includes: (h) determining the received font data as extension data for the pre-stored font data, and (i) determining the extension data determined by the step (h). And storing the font information following the previously stored font data, and (j) re-storing the second information message at the end of the extension data stored by the step (i).

이로써, 폰트 데이터 저장방법은 시스템의 오동작이나 외부 환경에 의해서 다운로드가 방해를 받더라도 신뢰할 수 있는 폰트 데이터를 저장할 수 있게 된다.As a result, the font data storing method can store reliable font data even if the download is disturbed by a malfunction of the system or an external environment.

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

도 3은 본 발명에 따른 폰트 데이터 저장방법을 나타낸 흐름도이다. 본 발명에 따른 프린터의 구조는 종래의 프린터(20)의 구조와 동일하므로 그 도시를 생략하였으며, 도 1 및 도 3을 참조하여 본 발명에 따른 폰트 데이터 저장방법을 설명 한다.3 is a flowchart illustrating a method of storing font data according to the present invention. Since the structure of the printer according to the present invention is the same as that of the conventional printer 20, the illustration is omitted, and the font data storage method according to the present invention will be described with reference to FIGS.

도면을 참조하면, 프린터(20)는 인터페이스부(21)를 통하여 컴퓨터(10)의 인터페이스부(17)와 접속되어 있다. 컴퓨터(10)의 응용프로그램 저장부(11)에 저장된 응용프로그램을 통해 작성된 문서가 프린터(20)로 전송되는 경우, 컴퓨터(10)의 제어부(19)는 프린터 드라이버에 의해 변환된 PCL 및 응용 프로그램에 의해 사용된 폰트 데이터를 함께 프린터(20)의 인터페이스부(21)로 전송한다.Referring to the figure, the printer 20 is connected to the interface unit 17 of the computer 10 via the interface unit 21. When a document created through an application program stored in the application program storage unit 11 of the computer 10 is transmitted to the printer 20, the control unit 19 of the computer 10 converts the PCL and the application program converted by the printer driver. The font data used by the above is transmitted to the interface unit 21 of the printer 20 together.

프린터(20)의 제어부(23)는 인터페이스부(21)를 통해 컴퓨터(10)로부터 전송된 PCL 및 폰트 데이터를 수신한다(S301). 수신된 폰트 데이터에 대하여, 제어부(23)는 플래쉬 메모리(25a)에 기저장된 폰트 데이터가 존재하는지를 판단한다(S303). 이 경우, 제어부(23)는 플래쉬 메모리(25a)에 기저장된 제1 정보메시지 및 제2 정보메시지가 존재하는지를 검색하며, 제1 정보메시지 및 제2 정보메시지가 모두 존재하는 것으로 판단된 경우에 플래쉬 메모리(25a)에 폰트 데이터가 존재하는 것으로 판단하도록 설정되는 것이 바람직하다(S305, S307). 여기서, 제1 정보메시지는 플래쉬 메모리(25a)에 기저장된 폰트 데이터의 시작을 알리기 위한 메시지이며, 제2 정보메시지는 플래쉬 메모리(25a)에 기저장된 폰트 데이터의 끝을 알리기 위한 메시지로서, 플래쉬 메모리(25a)의 차지하는 저장용량을 줄이기 위하여 각각 4비트 정도의 크기로 설정되는 것이 바람직하다.The controller 23 of the printer 20 receives PCL and font data transmitted from the computer 10 through the interface unit 21 (S301). With regard to the received font data, the controller 23 determines whether there is font data previously stored in the flash memory 25a (S303). In this case, the controller 23 searches whether the first information message and the second information message pre-stored in the flash memory 25a exist, and when it is determined that both the first information message and the second information message exist, the flash unit 25 detects the flash. It is preferable to set so as to determine that font data exists in the memory 25a (S305, S307). Here, the first information message is a message for notifying the start of font data previously stored in the flash memory 25a, and the second information message is a message for notifying the end of font data previously stored in the flash memory 25a. In order to reduce the storage capacity occupied by (25a), it is preferable to set the size to about 4 bits each.

플래쉬 메모리(25a)로부터 제1 정보메시지 및 제2 정보메시지가 모두 검색된 경우, 제어부(23)는 플래쉬 메모리(25a)에 기저장된 폰트 데이터가 존재하는 것으로 판단하며, 또한 수신된 폰트 데이터를 기저장된 폰트 데이터에 대한 확장 데이 터로 판단한다(S309). When both the first information message and the second information message are retrieved from the flash memory 25a, the controller 23 determines that the font data pre-stored in the flash memory 25a exists, and further stores the received font data in advance. It is determined as extended data for the font data (S309).

수신된 폰트 데이터가 기저장된 폰트 데이터에 대한 확장 데이터인 것으로 판단되면, 제어부(23)는 판단된 확장 데이터를 기저장된 폰트 데이터에 이어서 플래쉬 메모리(25a)에 저장한다(S311). 이때, 제어부(23)는 확장 데이터를 플래쉬 메모리(25a)에 기저장된 제2 정보메시지에 오버랩(overlap)하여 저장하는 것이 바람직하다. 확장 데이터에 대한 플래쉬 메모리(25a)에의 저장이 완료되면, 제어부(23)는 제2 정보메시지를 플래쉬 메모리(25a)에 저장된 확장 데이터의 끝부분에 재저장한다(S313).If it is determined that the received font data is extension data for the pre-stored font data, the controller 23 stores the determined extension data in the flash memory 25a after the pre-stored font data (S311). In this case, the controller 23 preferably overlaps the extended data with the second information message pre-stored in the flash memory 25a. When storage of the extended data in the flash memory 25a is completed, the controller 23 re-saves the second information message at the end of the extended data stored in the flash memory 25a (S313).

컴퓨터(10)로부터 수신된 폰트 데이터에 대하여 플래쉬 메모리(25a)에 제1 정보메시지 또는 제2 정보메시지가 존재하지 않는 것으로 판단되면, 제어부(23)는 플래쉬 메모리(25a)에 제1 정보메시지를 저장한다(S315). 즉, 제어부(23)는 플래쉬 메모리(25a)에 제1 정보메시지가 존재하지 않는 것으로 판단되면, 제2 정보메시지의 존재여부를 판단할 필요도 없이 플래쉬 메모리(25a)에 기저장된 폰트 데이터가 존재하지 않는 것으로 판단하며, 플래쉬 메모리(25a)에 제1 정보메시지는 존재하지만 제2 정보메시지가 존재하지 않는 것으로 판단된 경우에도 기저장된 폰트 데이터가 존재하지 않는 것으로 판단한다.If it is determined that the first information message or the second information message does not exist in the flash memory 25a with respect to the font data received from the computer 10, the controller 23 controls the first information message in the flash memory 25a. Save (S315). That is, if it is determined that the first information message does not exist in the flash memory 25a, the controller 23 does not need to determine whether the second information message exists, and there is font data previously stored in the flash memory 25a. If it is determined that the first information message exists in the flash memory 25a but the second information message does not exist, it is determined that the pre-stored font data does not exist.

플래쉬 메모리(25a)에 제1 정보메시지가 저장되면, 제어부(23)는 수신된 폰트 데이터를 제1 정보메시지에 이어서 플래쉬 메모리(25a)에 저장한다(S317). 폰트 데이터에 대한 플래쉬 메모리(25a)에의 저장이 완료되면, 제어부(23)는 저장완료된 폰트 데이터의 끝부분에 제2 정보메시지를 저장한다(S319). 상기와 같은 방법에 의 해 저장이 완료된 제1 정보메시지, 제2 정보메시지, 및 폰트 데이터의 구조를 도 4에 도시하였다. When the first information message is stored in the flash memory 25a, the controller 23 stores the received font data in the flash memory 25a after the first information message (S317). When the storage of the font data in the flash memory 25a is completed, the controller 23 stores the second information message at the end of the stored font data (S319). 4 shows the structure of the first information message, the second information message, and the font data which have been stored by the above method.

이로써, 프린터는 시스템의 오동작이나 외부 환경에 의해서 다운로드가 방해를 받더라도 제1 정보메시지 및 제2 정보메시지의 존재유무만을 검색하므로써 플래쉬 메모리에 저장된 폰트 데이터의 신뢰여부를 확정할 수 있게 된다.Thus, the printer can determine whether to trust the font data stored in the flash memory by searching only for the presence or absence of the first information message and the second information message even if the download is disturbed by the system malfunction or external environment.

본 발명에 따르면, 한정된 용량의 메모리 내에 다양한 종류의 폰트 데이터를 저장할 수 있게 될 뿐만아니라, 플래쉬 메모리에 기저장된 폰트 데이터에 대하여도 간단한 절차에 의해 기저장된 폰트 데이터의 신뢰여부를 확정할 수 있게 된다.According to the present invention, not only the various types of font data can be stored in the memory of limited capacity, but also the font data pre-stored in the flash memory can be determined by a simple procedure. .

이상에서는 본 발명의 바람직한 실시예에 대해서 도시하고 설명하였으나, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.Although the preferred embodiments of the present invention have been illustrated and described above, the present invention is not limited to the specific embodiments described above, and the present invention is not limited to the specific embodiments of the present invention without departing from the spirit of the present invention as claimed in the claims. Anyone skilled in the art can make various modifications, as well as such modifications are within the scope of the claims.

Claims (4)

(a) 접속된 컴퓨터로부터 폰트 데이터를 수신하는 단계;(a) receiving font data from a connected computer; (b) 메모리에 기저장된 폰트 데이터가 존재하는지를 판단하는 단계;(b) determining whether font data previously stored in the memory exists; (c) 상기 (b) 단계에 의해 상기 메모리에 기저장된 폰트 데이터가 없는 것으로 판단된 경우, 상기 메모리에 수신된 상기 폰트 데이터의 시작을 알리기 위한 제1 정보메시지를 저장하는 단계;(c) storing the first information message for notifying the start of the font data received in the memory when it is determined in step (b) that there is no font data previously stored in the memory; (d) 수신된 상기 폰트 데이터를 상기 메모리에 저장하는 단계; 및(d) storing the received font data in the memory; And (e) 상기 (d) 단계에 의해 저장된 상기 폰트 데이터의 끝을 알리기 위한 제2 정보메시지를 저장하는 단계;를 포함하는 것을 특징으로 하는 프린터의 폰트 데이터 저장방법.(e) storing a second information message for notifying the end of the font data stored in the step (d). 제 1항에 있어서, 상기 (b) 단계는,According to claim 1, wherein step (b), (f) 상기 메모리에 기저장된 상기 제1 정보메시지가 존재하는지를 검색하는 단계; 및(f) searching for the existence of the first information message previously stored in the memory; And (g) 상기 메모리에 기저장된 상기 제2 정보메시지가 존재하는지를 검색하는 단계;를 포함하며,(g) searching whether the second information message pre-stored in the memory exists; 상기 (f) 단계 및 상기 (g) 단계에 의해 상기 제1 정보메시지 및 상기 제2 정보메시지 중 적어도 어느 하나가 검색되지 않은 경우에 상기 메모리에 기저장된 상기 폰트 데이터가 없는 것으로 판단하는 것을 특징으로 하는 프린터의 폰트 데이터 저장방법.In the case where at least one of the first information message and the second information message is not found by the steps (f) and (g), it is determined that there is no font data previously stored in the memory. To save the font data of the printer. 제 2항에 있어서,The method of claim 2, 상기 (a) 단계는 상기 (e) 단계 및 상기 (f) 단계에 의해 상기 제1 정보메시지 및 상기 제2 정보메시지가 모두 검색된 경우에 상기 메모리에 기저장된 상기 폰트 데이터가 존재하는 것으로 판단하는 것을 특징으로 하는 프린터의 폰트 데이터 저장방법.In the step (a), when both the first information message and the second information message are retrieved by the steps (e) and (f), it is determined that the font data previously stored in the memory exists. Characterized in that the font data storage method of the printer. 제 3항에 있어서,The method of claim 3, wherein (h) 수신된 상기 폰트 데이터를 기저장된 상기 폰트 데이터에 대한 확장 데이터로 판단하는 단계;(h) determining the received font data as extension data for the pre-stored font data; (i) 상기 (g) 단계에 의해 판단된 상기 확장 데이터를 기저장된 상기 폰트 데이터에 이어서 저장하는 단계; 및(i) storing the extension data determined by the step (g) after the pre-stored font data; And (j) 상기 (h) 단계에 의해 저장된 상기 확장 데이터의 끝부분에 상기 제2 정보메시지를 재저장하는 단계;를 포함하는 것을 특징으로 하는 프린터의 폰트 데이터 저장방법.(j) restoring the second information message at the end of the extended data stored in the step (h).
KR1020030090063A 2003-12-11 2003-12-11 How to save font data of printer Expired - Fee Related KR100565792B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030090063A KR100565792B1 (en) 2003-12-11 2003-12-11 How to save font data of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030090063A KR100565792B1 (en) 2003-12-11 2003-12-11 How to save font data of printer

Publications (2)

Publication Number Publication Date
KR20050057854A KR20050057854A (en) 2005-06-16
KR100565792B1 true KR100565792B1 (en) 2006-03-29

Family

ID=37251563

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030090063A Expired - Fee Related KR100565792B1 (en) 2003-12-11 2003-12-11 How to save font data of printer

Country Status (1)

Country Link
KR (1) KR100565792B1 (en)

Also Published As

Publication number Publication date
KR20050057854A (en) 2005-06-16

Similar Documents

Publication Publication Date Title
US8085425B2 (en) Information processing apparatus
US7409169B2 (en) Image forming apparatus and image forming system
JPH0263763A (en) Printing apparatus
JP2010026769A (en) Information processing apparatus, information processing method, and program
US6496279B2 (en) Image processing apparatus, method and memory medium therefor
KR100565792B1 (en) How to save font data of printer
JPH03136095A (en) Image forming device
JP3852728B2 (en) Printing apparatus and information processing apparatus
KR100318735B1 (en) Method for saving of font data in printer
JP2006263969A (en) Image processing device, printing job forming device, and image processing system
JP3610141B2 (en) Information processing apparatus, printing apparatus, printing system, and data processing method and control method for printing system
JP2005063315A (en) Information processor, printing system, printer driver user interface control method, computer program, and computer-readable recording medium
JP3709695B2 (en) Printing system, printer server apparatus used in printing system, printer server processing method, and recording medium on which printer server processing program is recorded
JP2006235933A (en) Image processor and print job generating device
JP3392095B2 (en) Information processing apparatus, information processing method, and print system
JPH1199730A (en) Printer and its control method
JPH10187390A (en) Information processor, data processing method for information processor and recording medium storing program that can be read by computer
KR20010019455A (en) Method for management of history in the printer
JPH10193748A (en) Method and system for processing information and recording medium
JPH08249138A (en) Method and device for controlling output
JPH0991104A (en) Printer system
JPH09207414A (en) Information processing device and method
JP2001228993A (en) Host device having printer driver and print processing system
JPH11268367A (en) Printer, printer controller, and computer readable recording medium storing program for altering print position
JP2005159764A (en) Recording method, apparatus, program, and storage medium

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20031211

PA0201 Request for examination
PG1501 Laying open of application
E902 Notification of reason for refusal
PE0902 Notice of grounds for rejection

Comment text: Notification of reason for refusal

Patent event date: 20051107

Patent event code: PE09021S01D

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

Patent event code: PE07011S01D

Comment text: Decision to Grant Registration

Patent event date: 20060302

GRNT Written decision to grant
PR0701 Registration of establishment

Comment text: Registration of Establishment

Patent event date: 20060322

Patent event code: PR07011E01D

PR1002 Payment of registration fee

Payment date: 20060323

End annual number: 3

Start annual number: 1

PG1601 Publication of registration
LAPS Lapse due to unpaid annual fee
PC1903 Unpaid annual fee