KR930009672B1 - Composing method of chinese character font rom for protecting copy - Google Patents

Composing method of chinese character font rom for protecting copy Download PDF

Info

Publication number
KR930009672B1
KR930009672B1 KR1019880006521A KR880006521A KR930009672B1 KR 930009672 B1 KR930009672 B1 KR 930009672B1 KR 1019880006521 A KR1019880006521 A KR 1019880006521A KR 880006521 A KR880006521 A KR 880006521A KR 930009672 B1 KR930009672 B1 KR 930009672B1
Authority
KR
South Korea
Prior art keywords
font
byte
chinese character
font rom
information
Prior art date
Application number
KR1019880006521A
Other languages
Korean (ko)
Other versions
KR890017633A (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 KR1019880006521A priority Critical patent/KR930009672B1/en
Publication of KR890017633A publication Critical patent/KR890017633A/en
Application granted granted Critical
Publication of KR930009672B1 publication Critical patent/KR930009672B1/en

Links

Images

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

Abstract

The method provides a way in which Hanja font image is reconstructed from a Hanja font ROM with the location table which is composed by font data having an arrangement order corresponding to the remaiders when the code given to Hanja is divided by 8. The first 1 byte information is read and stored on the location of data storage RAM according to the location information of location table. In the font ROM, the second 1 byte information is read and stored on the location of data storage RAM according to the location information of location table. This is repeated up to the 72th byte.

Description

복제방지용 한자 폰트롬의 구성방법How to configure the Chinese character font ROM for copy protection

제 1 도는 프린터 구성을 나타내는 개략도이고,1 is a schematic diagram showing a printer configuration,

재 2 도는 위치테이블의 구성도이고,2 degrees is the configuration diagram of the position table,

제 3 도는 본 발명의 원리를 나타내는 도면이고,3 is a view showing the principle of the present invention,

제 4 도는 본 발명에 따르는 폰트 액서스를 위한 프로그램 순서의 흐름도이다.4 is a flowchart of a program sequence for font access according to the present invention.

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

1 : 입력부 2 : CPU1 input unit 2 CPU

3 : 프로그램롬 4 : 인자구동부3: Program ROM 4: Print Driver

5 : 한자폰트롬 6 : 영문 한글폰트롬5: Chinese font tron 6: English font

7 : 데이타 저장램7: Data storage RAM

본 발명은 도트 매트릭스 프린터의 한자 폰트롬(FONT ROM)의 구성방법에 관한 것으로, 특히 한자폰트의 무단복제를 방지할 수 있는 한자 폰트롬의 구성방법에 관한 것이다.The present invention relates to a method of configuring a Chinese character font ROM of a dot matrix printer, and more particularly, to a method of configuring a Chinese character font ROM capable of preventing unauthorized copying of a Chinese character font.

종래의 폰트롬에 있어서는 정보의 무단복제를 방지할 만한 수단이 없어서 기밀 누설등에 문제가 있었다.In the conventional font ROM, there is no problem to prevent unauthorized duplication of information, and thus there is a problem in confidential leakage.

따라서 본 발명은 이러한 문제점을 해결하기 위한 것으로, 본 발명은 한자에 부여된 코드를 8로 나눈 나머지에 해당하는 8가지의 배열순서를 갖는 폰트데이타로 이룩된 위치테이블을 갖는 폰트롬에서 한자폰트 이메지를 복원하는 방법으로, 상기 폰트롬에서 첫번째 1바이트 정보를 읽고, 상기 위치테이블에서 위치정보에 따른 데이타 저장램상의 위치에 상기 1바이트정보를 저장하고, 상기 폰트롬에서 두번째 2바이트 정보를 읽고, 상기 위치테이블에서 상기 두번째 바이트에 해당하는 위치정보를 결정하고, 이에 따르는 데이타 저장램상의 위치에 저장하는 방법을 72번째 바이트까지 반복수행하여 원래의 폰트이메지를 복원하는 복제방지용 한자 폰트롬의 구성방법에 의해 달성된다.Therefore, the present invention is to solve this problem, the present invention is a Chinese character font image in a font ROM having a position table made up of font data having eight arrangement orders corresponding to the remainder of the code given to the Chinese characters divided by eight In a method of restoring, the first one-byte information is read in the font ROM, the one-byte information is stored in a position on a data storage RAM according to the position information in the position table, the second two-byte information is read in the font ROM, and In the method of constructing a copy-protected Chinese character font ROM for restoring the original font image by repeatedly performing the method of determining the position information corresponding to the second byte in the position table and storing it in the position on the data storage RAM according to the 72 th byte. Is achieved.

본 발명은 폰트롬에서 정보를 무단으로 복사하는 것을 방지하기 위한 것으로 이하 첨부된 도면에 의하여 상세히 설명한다.The present invention is to prevent the unauthorized copying of information in the font ROM will be described in detail with reference to the accompanying drawings.

제 1 도는 본 발명을 적용할 프린터구성을 나타내고 있다. 이 제 1 도를 참조하면, 컴퓨터로부터 입력되는 코드는 입력부(1)를 통하여 받아들여 CPU(2)에서 프로그램(3)에 의해 판단되어 영문, 한글 또는 한자로 구별되고, 이에 따라 폰트롬(5,6)에서 폰트정보를 읽어내어 데이타 저장램(RAM)(7)에 임시로 저장하고, 인자명령에 의하여 인자구동부(4)로 데이타 저장어램(7)에 저장되어 있는 데이타를 보내 인자하게 된다.1 shows a printer configuration to which the present invention is applied. Referring to FIG. 1, codes input from a computer are received by the input unit 1, judged by the program 3 in the CPU 2, and distinguished from English, Korean, or Chinese characters. (6) reads the font information and stores it temporarily in the data storage RAM (7), and sends the data stored in the data storage array (7) to the print driver (4) by the print command. .

제 2 도는 제 1 도에 있어서 프로그램롬(3) 내부의 위치테이블의 구성을 예로 도시하고 있다. 위치테이블은 총 80바이로 구성되며, 처음 72바이트에는 0부터 71가지의 수를 무작위로 나열하고 최종 8바이트의 내용은 처음 8바이트의 내용과 동일하게 나열한다. 이 데이타는 폰트의 기억순서를 나타낸다.FIG. 2 shows the configuration of the position table in the program ROM 3 in FIG. The location table is composed of 80 bytes. The first 72 bytes are randomly numbered from 0 to 71 numbers, and the last 8 bytes are the same as the first 8 bytes. This data represents the storage order of the font.

제 1 도에 있어서 한자폰트롬(5)은 1자당 72바이트로 구성되어 있고 각 글자마다 72바이트의 배열순서를 달리하여 모두 8가지의 배열순서로 하는데 이 8가지 순서는 제 2 도에 도시한 위치테이블의 내용과 같이 하되 폰트롬의 72바이트 중 첫번째 바이트가 원형폰트의 9번째 바이트가 되는 군, 원형폰트의 7번째 바이트가 되는 군, 원형폰트의 23번째 바이트가 되는 군,…등으로 8가지 순서군으로 원형폰트 데이타의 저장순서를 변경시켜 폰트롬을 구성한다.In FIG. 1, the Chinese character font 5 is composed of 72 bytes per character, and the sequence of 72 bytes for each character is used in all eight arrangement orders. These eight orders are shown in FIG. Like the contents of the position table, the first byte of the fontrom is the 9th byte of the circular font, the 7th byte of the circular font, the 23rd byte of the circular font, and so on. The font ROM is constructed by changing the storage order of the circular font data in 8 order groups.

폰트의 두번째 바이트는 위치테이블상의 첫번째 데이타의 다음 값이 원래 폰트상의 데이타가 된다.The second byte of the font is the data on the original font, with the next value of the first data in the position table.

위와 같이 구성된 본 발명의 폰트롬에 있어서 폰트정보를 데이타 저장램(7)에 저장하는 방법은 제 3 도와 제 4 도의 흐름도에 나타나 있다. 호스트컴퓨터로부터 입력된 코드의 종류를 구별하여 한자코드이면 제 4a 도에 도시한 바와 같이 한자 처리루틴을 실행한다. 먼저 입력된 한자코드를 폰트위치를 찾기 위한 내부코드로 변환한다. 폰트의 위치찾기 루틴은 제 4b 도와 같으며 변환된 내부코드를 8로 나누어 그 나머지로서 폰트의 기억순서군(8가지 중 1가지)을 결정하는데 위치테이블의 시작번지에서 계산으로서 얻어진 나머지를 더하여 폰트의 저장램상의 위치 및 순서를 결정한다.The method of storing font information in the data storage RAM 7 in the font ROM of the present invention configured as described above is shown in the flowcharts of FIG. 3 and FIG. If the Chinese character code is distinguished from the type of code input from the host computer, the Chinese character processing routine is executed as shown in FIG. 4A. First, the input Chinese character code is converted into internal code to find the font position. The font locating routine is the same as figure 4b, and the converted internal code is divided by 8 to determine the storage order group (1 of 8) of the font as the remainder, plus the remainder obtained as a calculation from the start address of the position table. Determine the location and order on the storage RAM.

다음에 내부코드로부터 해당글자의 폰트시작번지를 계산하여 폰트데이타를 저장램에 저장한다. 폰트데이타를 저장램에 저장하는 방법은 제 4c 도에 도시되어 있다. 먼저 해당글자의 폰트시작번지로부터 1바이트의 폰트를 읽어내고 이를 위치테이블에서 8가지 중 1가지 기억순서군의 순서에 따라 데이타 저장램의 해당번지에 저장한다. 다음에 두번째 바이트의 폰트를 읽어내어 이를 저장램의 해당번지에 저장하며, 이와 같이 하여 한자 폰트롬의 72바이트를 모두 데이타 저장램(7)에 저장한다.Next, the font start address of the corresponding letter is calculated from the internal code and the font data is stored in the storage RAM. A method of storing font data in a storage RAM is shown in FIG. 4C. First, it reads one byte font from the font start address of the corresponding letter and saves it in the corresponding address of data storage RAM according to the order of one memory sequence among 8 kinds in position table. Next, the font of the second byte is read out and stored in the corresponding address of the storage RAM. Thus, all 72 bytes of the Chinese character font ROM are stored in the data storage RAM 7.

앞에서 설명한 바와 같이 본 발명에 따라 폰트롬에 구성하면 폰트롬의 데이타 내용을 RAM에 저장하는데 있어 데이타 저장순위를 서로 다르게 하기 때문에 폰트롬에 저장된 데이타가 제 3 자에게 무단 복제되는 것을 방지할 수 있다.As described above, if the font ROM is configured in accordance with the present invention, the data storage order is different in storing the data contents of the font ROM in RAM, thereby preventing unauthorized copying of data stored in the font ROM to a third party. .

Claims (1)

한자에 부여된 코드를 8로 나눈 나머지에 해당하는 8가지의 배열순서를 갖는 폰트데이타로 이룩된 위치테이블을 갖는 폰트롬에서 한자폰트이메지를 복원하는 방법으로, 상기 폰트롬에서 첫번째 1바이트 정보를 읽고, 상기 위치테이블에서 위치정보에 따른 데이타 저장램상의 위치에 상기 1바이트정보를 저장하고, 상기 폰트롬에서 두번째 2바이트 정보를 읽고, 상기 위치테이블에서 상기 두번째 바이트에 해당하는 위치정보를 결정하고, 이에 따르는 데이타 저장램 상의 위치에 저장하는 방법을 72번째 바이트까지 반복수행하여 원래의 폰트이메지를 복원하는 복제방지용 한자 폰트롬의 구성방법.A method of restoring a Chinese character font image from a font ROM having a position table composed of font data having eight array sequences corresponding to the remainder of the code assigned to the Chinese character by 8, and reads the first single-byte information from the font ROM. Storing the 1 byte information at a position on a data storage RAM according to the position information in the position table, reading the second 2 byte information from the font ROM, and determining position information corresponding to the second byte in the position table, A method of constructing a copy-protected Chinese character font ROM which restores the original font image by repeatedly performing a method of storing the data at a location on the data storage RAM according to the 72th byte.
KR1019880006521A 1988-05-31 1988-05-31 Composing method of chinese character font rom for protecting copy KR930009672B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880006521A KR930009672B1 (en) 1988-05-31 1988-05-31 Composing method of chinese character font rom for protecting copy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880006521A KR930009672B1 (en) 1988-05-31 1988-05-31 Composing method of chinese character font rom for protecting copy

Publications (2)

Publication Number Publication Date
KR890017633A KR890017633A (en) 1989-12-16
KR930009672B1 true KR930009672B1 (en) 1993-10-08

Family

ID=19274845

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880006521A KR930009672B1 (en) 1988-05-31 1988-05-31 Composing method of chinese character font rom for protecting copy

Country Status (1)

Country Link
KR (1) KR930009672B1 (en)

Also Published As

Publication number Publication date
KR890017633A (en) 1989-12-16

Similar Documents

Publication Publication Date Title
US4458333A (en) Dot matrix character printing using constrained memory
CA1162318A (en) Character set expansion
CA1044607A (en) Intermixed line heights and blank line formation in a buffered printer
US4198685A (en) Text editing system having flexible repetitive operation capability with keyboard interactive feature
GB2033633A (en) Ideographic coding
JPS6329791A (en) Font conversion system of character/image generator
JPS6356575B2 (en)
KR930009672B1 (en) Composing method of chinese character font rom for protecting copy
US5822504A (en) Font packing device and font unpacking device
JP2850979B2 (en) Character processing apparatus and method
US4883377A (en) Character pattern generator for dot matrix printer
KR920009588A (en) LBP system using cartridge
JPH0480412B2 (en)
JPS6246874B2 (en)
JPS6019824B2 (en) How to process external characters in a word processor
JP2556469B2 (en) Document processing method
JPH02150371A (en) Printer
JP2775728B2 (en) Document processing device
JPH058454A (en) Bar code printer
KR930014203A (en) How to Implement Hangul Image of Printer
JPH0310983B2 (en)
JPS63141097A (en) Character processor
JPH0453188B2 (en)
JPS62229294A (en) Image former
JPS62204954A (en) Image forming device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070928

Year of fee payment: 15

EXPY Expiration of term