KR900002229B1 - Printer controller - Google Patents
Printer controller Download PDFInfo
- Publication number
- KR900002229B1 KR900002229B1 KR1019850000269A KR850000269A KR900002229B1 KR 900002229 B1 KR900002229 B1 KR 900002229B1 KR 1019850000269 A KR1019850000269 A KR 1019850000269A KR 850000269 A KR850000269 A KR 850000269A KR 900002229 B1 KR900002229 B1 KR 900002229B1
- Authority
- KR
- South Korea
- Prior art keywords
- image
- character
- line
- data
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K15/00—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
- G06K15/02—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
- G06K15/10—Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers
Abstract
Description
제 1 도는 본 발명에 따른 하드웨어구성을 나타낸 블록도.1 is a block diagram showing a hardware configuration according to the present invention.
제 2 도는 본 발명에 따른 제어기능을 설명하기 위한 제어블록도.2 is a control block diagram for explaining a control function according to the present invention.
제 3 도는 본 발명에 따른 동작설명도이다.3 is an operation explanatory diagram according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
11 : 중앙처리장치(CPU) 12 : 수신인터페이스부11: CPU (CPU) 12: receiving interface unit
13 : 문자패턴메모리 14 : 내부메모리13: character pattern memory 14: internal memory
15 : 행버퍼 16 : 송신인터페이스부15: hang buffer 16: transmission interface unit
20 : 인쇄실행제어부 21 : 문자이미지생성부20: print execution control unit 21: character image generation unit
22 : 도형이미지생성부 23 : 문자도형 이미지합성제어부22: shape image generation unit 23: text Figure image synthesis controller
LF1∼LF3: 라인피드(line feed)P1∼ P10: 정점위치좌표LF 1 to LF 3 : Line feed P 1 to P 10 : Vertex position coordinate
S : 인자헤드폭S: print head width
[산업상의 이용분야][Industrial use]
본 발명은 프린터에 이용되는 제어장치에 관한 것으로, 특히 도형데이터의 파라메터로부터 도형이미지를 생성하는 도형 이미지 생성수단을 갖추면서 행단위로 행버퍼상에 이미지를 전개하여 인자출력하는 프린터 제어장치에 관한 것이다.The present invention relates to a control apparatus used for a printer, and more particularly, to a printer control apparatus which has a figure image generating means for generating a figure image from parameters of figure data and prints out the image on a row buffer on a row basis. .
[종래의 기술 및 그 문제점][Traditional Technology and Problems]
종래의 문자 및 도형을 다루는 워드프로세서등의 처리장치에서 문자 및 도형등의 이미지를 프린터로 인쇄하여 출력시킬 경우, 문자 및 도형등의 인쇄이미지를 1페이지단위로 페이지메모리에 전개시킨 다음 인자동작에 따라 순차적으로 이를 페이지메모리로부터 인출해서 인자 출력하도록 되어 있었다. 그러나 이와같은 인자제어수단은 인쇄이미지를 페이지단위로 기억시키기 위한 대용량의 페이지메모리를 필요로 하기 때문에 경제적으로 불리하다는 문제점이 발생되었다.In a conventional processing device such as a word processor that handles text and graphics, images such as text and graphics are printed by the printer and printed out. Therefore, it was sequentially fetched from the page memory and printed out. However, such a printing control means has a problem that it is economically disadvantageous because it requires a large page memory for storing the print image in units of pages.
따라서 도형데이터를 파라메터로서 공급하고, 도형이미지를 행버퍼상에 전개시키는 방식의 프린터 제어장치가 실현되었으나, 종래의 이러한 종류의 장치는 문자이미지와 도형이미지를 각각 별개의 행인자타이밍으로 행버퍼상에 전개하고 동일행에 대하여 2번의 조작을 수행해야만 문자 및 도형을 인쇄(print out)할 수 있도록 되어 있기 때문에 페이지전체의 인쇄에 매우 많은 시시간이 소요되는 불편함이 있었다.Therefore, a printer control apparatus in which a figure data is supplied as a parameter and a figure image is developed on a row buffer has been realized. However, this type of conventional device has a character image and a figure image on a row buffer with separate row factor timings. Since it is possible to print out characters and figures only by expanding to the same line and performing two operations on the same line, printing of the entire page takes a lot of time.
[발명의 목적][Purpose of invention]
본 발명은 상기한 점을 감안해서 발명된 것으로, 도형데이터의 파라메터중 인쇄할 도형의 파라메터를 인출해서 도형 이미지 를 생성하는 도형 이미지 생성부와 문자코드에 따른 문자 이미지를 생성하는 문자 이미지 생성부 및 행단위의 인쇄이미지를 저장하는 행버퍼를 갖춤으로써 동일행에 문자와 도형이 혼합되어 존재하는 경우에도 문자와 도형을 1회의 행인자조작만으로 인쇄할 수 있게 되어 페이지인쇄소요시간을 대폭 단축시킬 있도록된 프린터 제어장치를 제공함에 그 목적이 있다.The present invention has been invented in view of the above-described aspects, and a figure image generation unit for generating a figure image by extracting parameters of a figure to be printed out among the parameters of figure data, and a character image generation unit for generating a character image according to a character code; By having a row buffer that stores line-by-line print images, even if characters and figures are mixed on the same line, the characters and figures can be printed by only one passer operation, which greatly reduces the time required to print pages. It is an object of the present invention to provide a printer control device.
[발명의 구성][Configuration of Invention]
상기 목적을 달성하기 위한 본 발명은, 도형데이터의 파라메터로부터 도형이미지를 생성하는 도형이미지생성부와 문자코드에 따른 문자이미지를 생성하는 문자이미지생성부 및 행단위로 인쇄이미지를 저장하는 행버퍼를 갖추고서 행단위로 인쇄이미지의 인쇄를 수행하는 프린터에 있어서, 문자와 도형의 이미지를 동일한 행위치상에 전개할 것인가의 여부를 판단하여 문자와 도형의 이미지를 동일한 행위치상에 전개할 경우 상기 문자이미지 생성부를 이용해서 생성된 문자이미지와 도형이미지생성부를 이용해서 생성된 도형이미지를 상기 행버퍼에 합성하는 문자, 도형 이미지합성제어부를 갖추고서 1행분의 문자와 도형을 1회의 행인자주사에 의해 축력하도록 된 것을 특징으로 한다.In order to achieve the above object, the present invention includes a figure image generation unit for generating a figure image from parameters of figure data, a character image generation unit for generating a character image according to a character code, and a row buffer for storing a print image in units of rows. In a printer that prints a print image on a line-by-line basis, it is determined whether the image of the character and the figure is expanded on the same behavior value, and the character image generation unit is performed when the image of the character and the figure is expanded on the same behavior value. A character image and a figure image composition control unit for synthesizing the figure image generated by using the character image and the figure image generation unit into the row buffer, and the character and figure of one row are accumulated by one passer injection. It is characterized by.
[작용][Action]
상기와 같이 구성된 본 발명은, 인쇄할 행에 문자와 도형이 모두 포함된 경우, 그 행을 인자할때 문자이미지의 생성처리와 도형이미지의 생성처리를 함께 수행하여 1행분의 문자이미지와 도형이미지를 구한 다음 상기 각각의 이미지를 행버퍼에서 합성 또는 기록하여 인쇄하게 된다.According to the present invention configured as described above, when both the text and the figure are included in the line to be printed, the character image and the figure image for one line are performed by performing the process of generating the character image and the process of generating the figure image when printing the line. Then, each image is synthesized or recorded in a row buffer and printed.
[실시예]EXAMPLE
이하, 예시도면을 참조해서 본 발명에 따른 1실시예를 상세히 설명한다.Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.
제 1 도는 본 발명에 따른 프린터 제어장치의 전체 구성을 나타낸 블록도로서, 도면중 참조부호 11은 프린터 제어장치 전체의 제어를 담당하는 중앙처리장치(CPU), 12는 호스트측의 중앙처리장치(H-CPU)로부터 송출되는 인쇄용의 각종 데이터를 수신하는 수신인터페이스부(R-I/F),13은 입력된 문자코드를 그 코드에 따른 고유의 문자이미지(문자패턴)로 변환시키는 문자패턴메모리,14는 제어프로그램격납영역(EA)과 도형이미지생성프로그램격납영역(EB) 및 도형생성용 파라메터기억영역(EC : 이하, 파라메터영역이라고 칭함)등을 갖춘 내부메모리, 15는 인쇄할 1행분의 이미지(돗트 패턴데이터)를 저장하는 행버퍼,16은 상기 행버퍼(15)의 이미지를 프린터(30)로 송출하기 위한 송신인터페이스부(T-I/F)이다. 여기서 제어대상인 프린터(30)로서 직렬프린터를 사용해서 용지를 역방향으로 보내는 동작은 이루어지지 않는 것으로 한다.1 is a block diagram showing the overall configuration of a printer control apparatus according to the present invention, in which
제 2 도는 본 발명에 따른 제어기능을 설명하기 위한 제어블록도로서, 특히 중앙처리장치(11;CPU)의 내부구성을 상세히 도시해 놓은 것이다. 도명중 참조부호20은 수신인터페이스부(12)로부터 수신되는 인쇄용의 각종 정보를 인가 받아 그 정보에 해당되는 명령에 따라 인쇄이미지의 전개와 인쇄실행의 제어 및 용지송출제어등을 포함한 인쇄제어를 수행하는 인쇄실행제어부이고, 21은 인쇄실행제어부(20)에서 송출된 문자코드에 따라 그 코드에 따른 문자이미지를 생성하는 문자이미지생성부이며, 22는 인쇄실행제어부(20)로부터 입력되는 도형데이터의 파라메터에 따른 도형이미지를 생성하는 도형이미지생성부이다. 또 23은 인쇄실행제어부(20)로부터 인가받은 데이터를 기초로 문자 및 도형이미지를 동일한 행위치에 인쇄할 것인가의 여부를 판단한 다음 문자 및 도형이미지를 동일한 행위치에 인쇄할 경우 문자이미지생성부(21)와 도형이미지생성부(22)에 대해 각각 소정의 타이밍을 취하여 함께 동작을 제어하면서 생성된 각 이미지를 행버퍼(15)상의 대응되는 위치에 돗트전개시키는 문자, 도형 이미지합성제어부이다.2 is a control block diagram for explaining a control function according to the present invention, in particular showing the internal configuration of the CPU 11 (CPU) in detail. In the figure, reference numeral 20 receives various types of information for printing received from the
제 3 도는 본 발명에 따른 실시예의 동작설명도로서, 도명중 참조부호 S는 1회의 인자동작으로 인쇄할 수 있는 범위 즉, 인자헤드폭(예컨데, 24돗트폭)을 나타낸 것이고 P1∼P10은 각도형의 파라메터를 나타낸 정점위치좌표이며, LF1∼LF3는 라인피드(line feed)를 나타낸 것이다.3 is an operation explanatory diagram of an embodiment according to the present invention, in which reference numeral S denotes a printable range, that is, a print head width (eg, 24 dots width) in one printing operation, and P 1 to P 10. Is the vertex position coordinate representing the angular parameter, and LF 1 to LF 3 represent the line feed.
이하, 상기 각 도면을 참조해서 본 제어장치의 동작을 상세히 설명한다.Hereinafter, the operation of the control device will be described in detail with reference to the respective drawings.
먼저, 중앙처리장치(11)는 수신인터페이스부(12)를 매개로 호스트측의 중앙처리장치(H-CPU)로부터 문자 및 인쇄데이터를 수신받게 되면, 그 1행분의 각 문자코드에 따라 순차적으로 문자패턴메모리(13)를 억세스하여 생성된 문자이미지를 행버퍼(15)상에 전개시킨다. 그후 대응되는 행위치에 존재하는 도형데이터의 파라메터에 따른 도형이미지를 생성해서 그 도형이미지를 행버퍼(15)상에 중복기어(오아기록 ; OR, WRITE)시킴으로써 행버퍼(15)상에서 문자이미지와 도형이미지가 합성되게 된다. 이때 구체적인 동작예를 제 2 도 및 제 3 도를 참조해서 설명하면 다음과 같다. 여기서는 빗금친 사각형을 도형으로 간주하여 등록 처리하는 경우를 예로 들어 설명한다.First, when the
먼저, 1행분의 인쇄데이터가 인쇄실행제어부(20)로 입력되면, 문자, 도형 이미지합성제어부(23)가 입력된 인쇄데이터에 문자데이터 및 도형데이터가 포함되어있는가의 여부를 판단해서 문자데이터와 도형데이터가 포함되어 있으면, 우선 문자이미지생성부(21)를 가동시키고, 이에 따라 문자이미지생성부(21)에서 생성되는 입력문자코드에 따른 문자이미지(돗트패턴데이터)를 행버퍼(15)상에 돗트 전개시킨다. 예컨데, 제 3 도에 나타낸 S로 표시된 행을 인쇄할 경우, 문자「ABCDE」의 각 문자이미지를 생성시켜 상기 문자이미지를 행버퍼(15)상에 돗트전개시킨다.First, when the print data for one line is input to the print execution control unit 20, the character and figure image composition control unit 23 determines whether the text data and figure data are included in the input print data and determines whether the character data and figure data are included. If the figure data is included, first, the character image generation unit 21 is started, and accordingly, the character image (dot pattern data) according to the input character code generated by the character image generation unit 21 is placed on the row buffer 15. Deploy the dot on. For example, in the case of printing the line indicated by S shown in FIG. 3, each character image of the character "ABCDE" is generated, and the character image is spread out on the row buffer 15. FIG.
다음에 도형이미지생성부(22)를 기동시키고 도형이미지생성프로그램격납영역(EB)의 도형이미지프로그램을 기초로 도형이미지생성부(22)에서 생성된 입력패턴에 따른 도형이미지를 행버퍼(15)에 겹쳐 쓴다. 즉, 제 3 도에 나타낸 바와같이 이미 써넣은 문자 「ABCDE」에 대한 돗트위치를 대응시키면서 빗금친사각패턴을 오아기록 ( OR, WRITE)하게 되는 바, 즉 한 라인상에서 문자와 도형이 동시에 존재하는 부분에서는 문자와 도형을 동시에 기록저장하고, 한 라인상에 문자만 존재하는 경우에는 문자만 기록저장하게 된다.Next, the figure image generator 22 is started, and the figure buffer according to the input pattern generated by the figure image generator 22 is based on the figure image program of the figure image generation program storage area EB. Overwrite That is, as shown in FIG. 3, the dot positions for the letters "ABCDE" already written are corresponded to orbited (or, WRITE) with a hatched square pattern. In the part, text and figure are recorded and saved at the same time, and only text is stored if there is only one character on one line.
이와같이 1행분 문자 및 도형이미지가 합성되어 행버퍼(15)에 기억되면 인쇄실행제어부(20)의 제어에 의해 행버퍼(15)에 저장된 이미지가 송신인터페이스부(16)를 매개로 순차적으로 프린터(30)로 송출되어 인쇄되게 되는데, 이와같은 행단위의 인쇄처리는 페이지가 끝날때까지 순차적으로 실행되게 된다.As described above, when the text and figure images of one line are synthesized and stored in the row buffer 15, the images stored in the row buffer 15 are sequentially controlled by the transmission interface unit 16 under the control of the print execution control unit 20. 30), which is sent out and printed, and the row-by-row printing process is executed sequentially until the end of the page.
[발명의 효과][Effects of the Invention]
상기한 바와같이 본 발명에 의하면, 문자와 도형이 동일한 동일행에 혼합되어 존재할때 행버퍼를 사용하여 문자이미지와 도형이미지를 합성한 다음 행인쇄를 하도록 되어 있기 때문에 문자와 도형이 동일행에 혼합하여 존재할때에도 그 문자와 도형을 1회의 행인자조작으로 인쇄할 수 있어 페이지인쇄의 소요시간을 대폭 단축시킬 수 있게 된다.As described above, according to the present invention, when the characters and figures are mixed on the same line, the characters and figures are mixed on the same line since the text image and the figure image are synthesized using a row buffer and then line printed. Even when they exist, the characters and figures can be printed by one passer operation, which greatly reduces the time required for page printing.
Claims (1)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59015475A JPS60159929A (en) | 1984-01-31 | 1984-01-31 | Printer control device |
JP59-15475 | 1984-01-31 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR850005647A KR850005647A (en) | 1985-08-28 |
KR900002229B1 true KR900002229B1 (en) | 1990-04-06 |
Family
ID=11889823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019850000269A KR900002229B1 (en) | 1984-01-31 | 1985-01-17 | Printer controller |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPS60159929A (en) |
KR (1) | KR900002229B1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02247693A (en) * | 1989-03-20 | 1990-10-03 | Fujitsu Ltd | Text image overlay device |
JPH045062A (en) * | 1990-04-23 | 1992-01-09 | Pfu Ltd | Printer control system |
JPH0976566A (en) * | 1995-09-13 | 1997-03-25 | Nec Niigata Ltd | Print controller for serial printer |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58139242A (en) * | 1982-02-12 | 1983-08-18 | Hitachi Ltd | Pattern composing device for information output device |
JPS59171256A (en) * | 1983-03-18 | 1984-09-27 | Hitachi Ltd | Printer circuit |
-
1984
- 1984-01-31 JP JP59015475A patent/JPS60159929A/en active Granted
-
1985
- 1985-01-17 KR KR1019850000269A patent/KR900002229B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR850005647A (en) | 1985-08-28 |
JPH0311275B2 (en) | 1991-02-15 |
JPS60159929A (en) | 1985-08-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5043918A (en) | Multiple bus image controller structure for color page printers | |
JP3006098B2 (en) | Print data processing device | |
KR900002229B1 (en) | Printer controller | |
US4623978A (en) | Print control apparatus having line buffer | |
KR900002230B1 (en) | Printer controller | |
JP2935510B2 (en) | Output device and output method | |
JPH08183207A (en) | Method for controlling color image data | |
JPH0616764Y2 (en) | Dot matrix printer | |
US6577313B1 (en) | Image data control apparatus | |
US5408592A (en) | Printer having a data output time controller | |
JPS6364086A (en) | Output unit | |
JPH0825313B2 (en) | Print control device | |
JP2908571B2 (en) | Page printer | |
JP2771629B2 (en) | Character processor | |
JPH07115493B2 (en) | Aspect conversion printing method | |
JPS59181387A (en) | Graphic generator | |
JPS63242561A (en) | Font reducing system | |
JPS61103358A (en) | System for generating character with n-time angle | |
DE4124885A1 (en) | DMA page bit-map storage and buffer controller for laser printer - includes programmable image reversal and offset registers for flexible operation, and dimension registers for variable image size | |
JPH0262259A (en) | Printer apparatus | |
JPS59157687A (en) | Graphic generation system | |
JPH01148562A (en) | Documentation editing device | |
JP2002137448A (en) | Apparatus and method for imaging | |
JPH06122260A (en) | Image recording control circuit | |
JPS6273957A (en) | Image output 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: 19960403 Year of fee payment: 7 |
|
LAPS | Lapse due to unpaid annual fee |