KR920005313B1 - Dot matrix printers up traject area shadow character processing method - Google Patents

Dot matrix printers up traject area shadow character processing method Download PDF

Info

Publication number
KR920005313B1
KR920005313B1 KR1019900000834A KR900000834A KR920005313B1 KR 920005313 B1 KR920005313 B1 KR 920005313B1 KR 1019900000834 A KR1019900000834 A KR 1019900000834A KR 900000834 A KR900000834 A KR 900000834A KR 920005313 B1 KR920005313 B1 KR 920005313B1
Authority
KR
South Korea
Prior art keywords
register
address
image buffer
font
data
Prior art date
Application number
KR1019900000834A
Other languages
Korean (ko)
Other versions
KR910014849A (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 KR1019900000834A priority Critical patent/KR920005313B1/en
Publication of KR910014849A publication Critical patent/KR910014849A/en
Application granted granted Critical
Publication of KR920005313B1 publication Critical patent/KR920005313B1/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
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The dot matrix printer has CPU to process the shadow print by software method without changing font data. The CPU includes a font ROM (1) generating the character data, font ROM (2,3) for recording, a data buffer (5), an address buffer (7), and an operator (4). The image buffer end address and the start address are loaded to registors (EA;HL), respectively after calling the font data. The called font data and ORing are stored at the image buffer address of registors (HL,HL+1,HL+2). If the value of changed registor (HL) has lower than that of the image buffer end address (EA), the one registor (HS) is added to process treated repeatedly.

Description

도트 매트릭스 프린터의 윗사선 음영(Shadow)인자 처리방법How to handle the upper shadow factor of the dot matrix printer

제1도는 종래 폰트 음영 인자 형태도.1 is a conventional font shading factor form diagram.

제2도는 본 발명 도트 매트릭스 프린터의 윗사선 음영 인자 처리시스템 구성도.2 is a block diagram of an upper oblique shading factor processing system of the dot matrix printer of the present invention.

제3도는 제2도에 대한 폰트 음영 윗사선 인자 형태도.3 is a font shading upper oblique factor shape diagram for FIG.

제4도는 본 발명 도트 매트릭스 프린터의 이미지 버퍼 구성도.4 is an image buffer configuration diagram of the dot matrix printer of the present invention.

제5도는 제2도에 대한 1바이트 B레지스터 구성도.5 is a one-byte B register for FIG. 2. FIG.

제6도는 제2도에 대한 데이타 처리 흐름도.6 is a data processing flow diagram for FIG.

제7도는 제2도에 대한 서브루틴 흐름도.7 is a subroutine flow chart for FIG.

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

1 : 폰트롬 2, 3 : 폰트램1: Font ROM 2, 3: Font RAM

4 : 연산장치 5 : 데이타 버퍼4: arithmetic unit 5: data buffer

6 : 어드레스 버퍼 7 : 멀티 플렉서6: address buffer 7: multiplexer

8 : 내부램 9, 10 : 입,출력단8: internal ram 9, 10: input and output

11 : 중앙처리장치.11: Central processing unit.

본 발명은 도트 매트릭스 프린터기에 있어서, 폰트 데이타의 변화시킴없이 소프트 웨어적으로 그 물체의 음영(Shadow)을 인자토록 하기 위한 것으로 특히 폰트데이타를 호출하고, 영상(Image)버퍼에서 인자를 수행하여 다양한 기능의 음영인자를 처리하도록 하기 위한 도트 매트릭스 프린터의 윗사선 음영 인자 처리 방법에 관한 것이다.In the dot matrix printer, the present invention is to print the shadow of the object in software without changing the font data. In particular, the font matrix is called, and the printing is performed in the image buffer. The present invention relates to a method of processing a top shadow shading factor of a dot matrix printer for processing a shadow factor of a function.

종래의 도트 매트릭스 프린터기에 있어서, 인자구성은 첨부된 도면 제1도에 도시된 바와같이 글자주변에 동일한 밀도로 균일하게 인자되도록 구성되어 있어 폰트음영인자를 수행하게 되면 도트(Dot) 밀도가 글자 주변에 한정적으로 균일하게 처리되어 인자되므로 인하여 그 방법이 단순하고 다양한 인자처리수행을 하지 못한 결함이 있었다.In the conventional dot matrix printer, the printing configuration is configured to be uniformly printed with the same density around the letters as shown in FIG. 1 of the accompanying drawings. When the font shading factor is performed, the dot density is around the letters. Due to the uniform and limited processing, the method was simple and did not carry out various printing processes.

본 발명은 이와같은 종래의 결합을 감안하여 문자 데이타를 발생하는 폰트롬과 데이타 저장용 폰트램 및 데이타를 변화시키는 중앙처리를 구성하여 폰트램 및 데이타를 변화시키는 버퍼에서 데이타를 변화시켜 저장한 후 그 물체 음영인자를 수행하여 다양한 기능의 음영인자를 제공하도록 창안한 것으로, 이하 본 발명을 첨부된 도면에 의거 상세히 설명하면 다음과 같다.In view of such a conventional combination, the present invention configures a font ROM that generates character data, a font RAM for data storage, and a central processing for changing data to store data after changing the data in a buffer that changes font RAM and data. Invented to provide a shadow factor of various functions by performing the object shadow factor, hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명 도트 매트릭스 프린터의 윗사선 음영 인자 처리 시스템 구성도로서 이에 도시한 바와같이 문자 데이타를 내장하고 있는 폰트롬(1)과, 상기 폰트롬(1)의 실제 폰트데이타값을 소프트웨어적으로 변형된 데이타로 저장하는 폰트램(2)(3)과, 외부의 호스트(HOST)와 연결되어 데이타의 입, 출력을 처리하는 입, 출력단(9)(10)과, 연산장치(4) 및 내부롬(8), 멀티플렉서(7), 데이타버퍼(5), 어드레스버퍼(6)로 구성되어 상기 폰트 데이타를 변형 처리하고 시스템 전체를 제어하는 중앙처리장치(11)와, 데이타 및 어드레스를 전송하는 데이타 버스 및 어드레스 버스로 구성한다.2 is a block diagram of an upper oblique shading factor processing system of a dot matrix printer according to the present invention. As shown in FIG. 2, a font ROM 1 having character data embedded therein and actual font data values of the font ROM 1 may be software-based. A font RAM (2) (3) for storing data transformed into a data format, an input / output stage (9) (10), and arithmetic unit (4) connected to an external host (HOST) to process data input and output. And a central processing unit (11) composed of an internal ROM (8), a multiplexer (7), a data buffer (5), and an address buffer (6), which transforms the font data and controls the entire system. It consists of a data bus and an address bus to transfer.

제3도는 제2도에 대한 폰트 음영 윗사선 인자 형태도로서 이에 도시한 바와같이 EA는 이미지 버퍼의 앤드어드레스(End Address)를 저장하는 레지스터이고, SAVE

Figure kpo00001
는 이미지 버퍼의 스타트 어드레스(Start Address)를 저장하는 레지스터이며, LSB는 1바이트 레지스터의 최하위 자리수이고, MSB는 1바이트 레지스터의 최상위 자리수를 나타낸다.FIG. 3 is a font shading upper oblique factor shape diagram for FIG. 2. As shown in FIG. 3, EA is a register that stores an end address of an image buffer, and SAVE.
Figure kpo00001
Is a register that stores the start address of the image buffer, LSB is the least significant digit of the 1 byte register, and MSB is the most significant digit of the 1 byte register.

제4도는 본 발명 도트 매트릭스 프린터의 이미지 버퍼 구성도로서 폰트가 24칼럼X24칼럼으로 구성됨과 아울러 레지스터가 72바이트로 형성되어 있음을 나타내고 있다.4 is an image buffer configuration diagram of the dot matrix printer of the present invention, which shows that the font is composed of 24 columns by 24 columns and the register is formed of 72 bytes.

이와같이 구성된 본 발명 도트 매트릭스 프린터의 윗사선 음영(Ehadow)인자 처리방법을 제6, 7도의 신호 흐름도를 참조하여 상세히 설명하면 다음과 같다.The above-described method for processing the shadow factor of the dot matrix printer of the present invention configured as described above will be described in detail with reference to the signal flow charts of FIGS. 6 and 7.

먼저 호스트로부터 입력단자(9)(10)에 입력된 신호에 따라 중앙처리장치(11)의 어드레스 버퍼(6)를 통해 폰트롬(1)의 어드레스를 지정하여 폰트 데이타를 읽어온 후 그 폰트 데이타를 폰트램(2)(3)으로 저장한다. 이후 읽어온 후 그 폰트 데이타를 폰트램(2)(3)으로 저장한다. 이후 중앙처리장치(11)의 연상장치(4)를 통하여 데이타라인(DATL)을 동작시켜 상기 폰트데이타를 중앙처리장치(11)의 데이타 버퍼(14)에 저장하되 레지스터(EA)에 레지스터(HL)의 이미지 버퍼 앤드어드레스를 로드함과 아울러, 레지스터(HL)에는 이미지 버퍼 스타트 어드레스(SAVE

Figure kpo00002
)에 있는 내용 즉 폰트 데이타의 첫번째 바이트와 8
Figure kpo00003
H를 로드하고, 이어서 이미지 버퍼의 스타트 어드레스(SAVE
Figure kpo00004
)에 있는 내용 즉 폰트 데이타의 첫번째 바이트와 8
Figure kpo00005
h를 논리합(오아리)하여 레지스터(HL)의 이미지 버퍼에 저장한 후 레지스터(HL)의 값을 하나 증가시켜 레지스터(B)와 오아링한 후, 레지스터(HL+1)의 이미지 버퍼에 저장하고, 또다시 레지스터(HL)값을 증가시켜 레지스터(B)의 값과 오아링하여 레지스터(HL+2)의 이미지 버퍼에 저장한 후 레지스터(B)값을 로드하여 레지스터(B)를 우측으로 자리 이동시키고, 캐리지 발생여부를 체크하여 케리가 없으면 다음 명령을 수령하고, 캐리가 발생했을 때는 레지스터(B)에 "1"을 비트 7에 저장하며 폰트데이타 첫칼럼의 처리를 한다.First, the font data is read by specifying the address of the font ROM 1 through the address buffer 6 of the central processing unit 11 according to the signal input from the host to the input terminals 9 and 10, and then the font data is read. Is stored in the font RAM (2) (3). Thereafter, after reading, the font data is stored in the font RAM (2) (3). Thereafter, the data line DATL is operated through the associating device 4 of the central processing unit 11 to store the font data in the data buffer 14 of the central processing unit 11, but the register HL is stored in the register EA. The image buffer start address (SAVE) is loaded into the register HL.
Figure kpo00002
The first byte of the font data, and 8
Figure kpo00003
Load H and then start address of the image buffer (SAVE
Figure kpo00004
The first byte of the font data, and 8
Figure kpo00005
Logical sum of h is stored in the image buffer of register HL, then increments the value of register HL by one, rings with register B, and then stores in image buffer of register HL + 1. Then, increase the value of register (HL) again, ring the value of register (B), store it in the image buffer of register (HL + 2), load register (B) value, and register (B) to the right. If the carry does not exist, the next instruction is received. If the carry occurs, "1" is stored in bit 7 and the first column of font data is processed.

이후 변화하여온 레지스터(HL)의 값이 상기 이미지 버퍼 앤드 어드레스(EA)보다 작으면 레지스터(HL)값을 하나 증가시켜 레지스터(HL)의 이미지 버퍼에 저장한 후 첫번째 바이트와 7

Figure kpo00006
H를 논리함(오아링)하여 레지스터(HL)의 이미지 버퍼에 저장하고, 이어서 레지스터(HL+1)의 이미지 버퍼에 저장하고, 또 다시 레지스터(HL) 값을 하나 증가시켜 레지스터(B)의 값과 오아링한 후 레지스터(HL+2)의 이미지 버퍼에 저장하고, 이후 레지스터(B) 값을 로드하여 레지스터(B)르 우측으로 자리이동시켜 캐리 발생 여부를 발생했을 때는 레지스터(B)의 비트 6에 "1"을 저장하여 폰트 데이타 두번째 칼럼의 처리를 한다.If the changed value of the register HL is smaller than the image buffer and address EA, the register HL is increased by one and stored in the image buffer of the register HL.
Figure kpo00006
Logically (or ring) H and store it in the image buffer of register HL, then store it in the image buffer of register HL + 1, and again increase the value of register HL by one. After ringing the value, it is stored in the image buffer of register (HL + 2). Then, the value of register (B) is loaded and moved to the right of register (B). Stores "1" in bit 6 to process the second column of font data.

이후 첫번째 칼럼부터 23번째 컬럼까지의 처리방법은 생략하고, 상기 폰트 데이터의 23번째 칼럼자리에 이어서 레지스터(HL) 값을 하나 증가시켜 레지스터(HL)의 이미지 버퍼(HL)에 저장한 후 레지스터(HL+1)에 저장되어 있는 데이터와

Figure kpo00007
1H를 오아링하여 레지스터(HL)의 값을 하나 증가시켜 레지스터(B)와 오아링한 후 레지스터(HL+1)의 이미지 버퍼에 저장하고, 또 다시 레지스터(HL) 값을 하나 증가시켜 레지스터(B)의 값과 오아링한 후 레지스터(HL+2)의 이미지 버퍼에 저장하고 이후 레지스터(B) 값을 로드하여 레지스터(B)를 우측으로 자리이동시켜 캐리지 발생여부를 체크한 다음 캐리가 없으면 다음 명령을 수행하고 캐리가 발생하면 레지스터(B)의 비트
Figure kpo00008
에 "1"을 저장하여 폰트데이터 24번째 칼럼의 처리를 한다. 이후 변화하여 온 레지스터(HL)의 값이 상기 이미지 버퍼 앤드 어드레스(EA)보다 작으면 레지스터(HL)를 (HL+1)로 증가하여 반복처리하고, 레지스터(HL) 값이 상기 이미지 버퍼 앤드 어드레스(EA) 값을 로드시킨 다음 리턴하면 제3도와 같은 음영인자가 수행된다.Subsequently, the processing method from the first column to the 23rd column is omitted, and the register HL is incremented by one after the 23rd column digit of the font data and stored in the image buffer HL of the register HL, and then the register ( HL + 1) and the data
Figure kpo00007
Ring 1H to increase the value of register (HL) by one, and then ring with register (B) and store it in the image buffer of register (HL + 1), and again increase the value of register (HL) to register ( After ringing the value of B), store it in the image buffer of register (HL + 2), and then load the value of register (B) and shift register (B) to the right to check whether there is a carriage. Bits in register (B) after the next command and carry occurs
Figure kpo00008
Stores "1" in the 24th column of the font data. After that, if the changed value of the register HL is smaller than the image buffer and address EA, the register HL is increased to (HL + 1), and the register HL value is changed to the image buffer and address. Loading and returning the value (EA) performs the shading factor as shown in Figure 3.

이와같이 본 발명은 폰트데이타를 호출하고 이미지 버퍼에서 데이타를 변화시킨 후 저장하여 위사선 음영 인자를 수행함으로써 다양한 기능의 음영인자를 제공할 수 있는 특징이 있다.As described above, the present invention is characterized by providing a shadow factor of various functions by calling the font data, changing the data in the image buffer, and storing the stored data to perform the weft shading factor.

Claims (1)

문자 데이타를 발생하는 폰트롬(1)과 저장용 폰트롬(2)(3) 및 데이타버퍼(5), 어드레스버퍼(6), 연산장치(4)로 구성된 중앙처리장치를 구비하여 폰트데이타를 호출한 후 레지스터(EA), (HL)에 각각 이미지 버퍼 앤드 어드레스, 스타드 어드레스를 로드하고, 상기 호출한 폰트데이타와 오아링을 세 번 취하여 레지스터(HL), (HL+1), (HL+2)의 이미지 버퍼 번저에 저장하고, 인터럽트를 통한 서브루틴을 불러서 레지스터(B) 값을 로드하여 우로 자리이동한 후 캐리 발생여부를 체크하여 캐리가 없으면 다음 명령을 수행하고, 캐리가 발생하면 "1"을 해당 비트에 기억시켜 칼럼을 처리하고, 이후 변화하여온 레지스터(HL)의 값이 상기 이미지 버퍼 앤드 어드레스(EA)보다 작으면 레지스터(HL)의 값이 상기 이미지 버퍼 앤드어드레스(EA)보다 작으면 레지스터(HS)를 하나 증가시켜 반복처리하고 레지스터(HL)값이 이미지 버퍼 앤드 어드레스(EA)보다 크면 레지스터(HL)를 이미지 버퍼 앤드 어드레스(EA)로 처리하는 것을 특징으로 하는 도트 매트릭스 프린터의 윗사선 음영 인자 처리방법.A font processing apparatus comprising a font ROM (1) for generating character data, a font ROM (2) (3) for storage, a data buffer (5), an address buffer (6), and an arithmetic unit (4) is provided. After calling, load the image buffer and address and start address into registers (EA) and (HL), respectively, and take the called font data and oaring three times to register (HL), (HL + 1) and (HL +). In the image buffer address of 2), call the subroutine through interrupt, load the register (B) value, move it to the right and check whether there is a carry. If there is no carry, execute the following command. The column is processed by storing 1 " in the corresponding bit, and if the value of the register HL that has been changed after is smaller than the image buffer and address EA, the value of the register HL is larger than the image buffer end address EA. If it's small, increase one register (HS) A method of processing the upper shadow shading factor of a dot matrix printer, characterized in that iterative processing is performed and the register (HL) is processed as an image buffer and address (EA) when the register (HL) value is larger than the image buffer and address (EA).
KR1019900000834A 1990-01-24 1990-01-24 Dot matrix printers up traject area shadow character processing method KR920005313B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900000834A KR920005313B1 (en) 1990-01-24 1990-01-24 Dot matrix printers up traject area shadow character processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900000834A KR920005313B1 (en) 1990-01-24 1990-01-24 Dot matrix printers up traject area shadow character processing method

Publications (2)

Publication Number Publication Date
KR910014849A KR910014849A (en) 1991-08-31
KR920005313B1 true KR920005313B1 (en) 1992-07-02

Family

ID=19295511

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900000834A KR920005313B1 (en) 1990-01-24 1990-01-24 Dot matrix printers up traject area shadow character processing method

Country Status (1)

Country Link
KR (1) KR920005313B1 (en)

Also Published As

Publication number Publication date
KR910014849A (en) 1991-08-31

Similar Documents

Publication Publication Date Title
US6860203B2 (en) Method and apparatus for printing computer generated images
KR920005313B1 (en) Dot matrix printers up traject area shadow character processing method
KR900009065B1 (en) Method of confirming that a pattern to be printed is a high-density pattern and divisionally printing the pattern, and a dot printer which can print high-quality, high-densitty patterns
US5953501A (en) Reconstruction device for compressed binary image data
JPH01303578A (en) Picture converting device
JPH0480412B2 (en)
JP3389970B2 (en) Print processing device
KR920007722B1 (en) Font rom's charactor reduction printing method
US4460971A (en) Terminal apparatus using register information to determine the meaning of a buffer stored field defining character
US5291308A (en) Image processing apparatus using tonal degree conversion
JPS59167748A (en) Information storage device
EP1120958A2 (en) Polynomial based multi-level screening
GB2251107A (en) Printer
JPS59168539A (en) Information memory
KR890001867B1 (en) Latter image modulating method and device
JPH05246087A (en) Image forming device
KR900015037A (en) How to handle horizontal shadow printing in dot matrix printers
JPH064396A (en) Image plotter
JPH0338359A (en) Character pattern generating circuit
KR900000802A (en) Printing Method of Shadow Characters in Dot Matrix Printers
JP2001150739A (en) Print data generator
JPS59168542A (en) Information memory
JPS59168541A (en) Information memory
JPH03281363A (en) Document output device
JPH0863143A (en) Character sign generating device

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
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: 19941227

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee