KR0139153B1 - Memory apparatus of a printer - Google Patents

Memory apparatus of a printer

Info

Publication number
KR0139153B1
KR0139153B1 KR1019940008996A KR19940008996A KR0139153B1 KR 0139153 B1 KR0139153 B1 KR 0139153B1 KR 1019940008996 A KR1019940008996 A KR 1019940008996A KR 19940008996 A KR19940008996 A KR 19940008996A KR 0139153 B1 KR0139153 B1 KR 0139153B1
Authority
KR
South Korea
Prior art keywords
memory
image
area
image data
computer
Prior art date
Application number
KR1019940008996A
Other languages
Korean (ko)
Other versions
KR950029988A (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 KR1019940008996A priority Critical patent/KR0139153B1/en
Publication of KR950029988A publication Critical patent/KR950029988A/en
Application granted granted Critical
Publication of KR0139153B1 publication Critical patent/KR0139153B1/en

Links

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/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1848Generation of the printable image
    • G06K15/1856Generation of the printable image characterized by its workflow
    • 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/1801Input data handling means
    • G06K15/1817Buffers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements

Abstract

본 발명은 여러개의 화상을 한장의 용지에 프린팅할 수 있게 하고 기존의 화상에 새로운 화상을 부분적으로 겹쳐서 프린팅할 때 새로 프린팅하고자 하는 화상데이타만을 전송 및 기록하도록 한 프린터의 메모리 관리장치 및 그 방법에 관한 것이다. 이러한 본 발명은 메모리에 기록된 화상갯수와 각 화상영역에 대한 정보를 저장하는 화상영역 저장부와, 메모리로부터 설정된 영역에 기록되어 있는 데이타를 읽어서 중앙처리장치로 전송하는 메모리체킹버퍼를 구비한다. 중앙처리장치는 화상데이타가 입력되면 메모리상태정보를 컴류터로 전송함으로써 상기 메모리상태정보와 선택사항들을 화면상에 표시하게 하여 사용자가 원하는 프린팅형태를 선택할 수 있도록 한다. 그후 컴퓨터로부터 전송된 명령에 따라 메모리를 초기화하거나 설정된 메모리영역에 화상데이타를 기록하고, 현재 화상데이타가 기록된 영역에 대한 정보를 저장한다. 따라서, 프린팅시간을 절약하고 용지의 과다한 손실을 방지할 수 있다.The present invention relates to a memory management apparatus and method for printing a plurality of images on a single sheet of paper and transmitting and recording only image data to be newly printed when partially overlapping a new image on an existing image. It is about. The present invention comprises an image area storage unit for storing the number of images recorded in the memory and information for each image area, and a memory checking buffer for reading data recorded in the set area from the memory and transmitting the data to the central processing unit. When the image data is input, the CPU transmits the memory state information to the computer so that the memory state information and the options are displayed on the screen so that the user can select a desired printing type. Then, the memory is initialized or the image data is recorded in the set memory area in accordance with a command transmitted from the computer, and information on the area in which the current image data is recorded is stored. Therefore, it is possible to save printing time and prevent excessive loss of paper.

Description

프린터의 메모리 관리장치 및 그 방법Printer memory management device and method

제 1도는 종래의 메모리 관리방법을 설명하기 위한 프린터의 블럭구성도,1 is a block diagram of a printer for explaining a conventional memory management method;

제 2도는 본 발명의 메모리 관리장치의 블럭구성도,2 is a block diagram of a memory management apparatus of the present invention;

제 3도는 사용자와의 인터페이스를 위한 메뉴의 형태를 일예를 들어 나타낸 화면상태도,3 is a screen state diagram showing an example of a menu for an interface with a user.

제 4도의 (a)-(c)는 본 발명의 프린터에 의해 실제로 프린트된 결과를 나타낸 예시도.(A)-(c) of FIG. 4 are exemplary views showing the results actually printed by the printer of the present invention.

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

101,201:인터페이스부 102,202:중앙처리장치101, 201: interface unit 102, 202: central processing unit

103:DMA제어부 104,205:어드레스카운터103: DMA control unit 104,205: address counter

105,204:리프레쉬제어부 106,208:기록/판독 제어부105,204: Refresh control unit 106,208: Recording / reading control unit

107,207:프레임메모리 203:화상영역 저장부107, 207: frame memory 203: image area storage unit

206:메모리체킹버퍼206: memory checking buffer

본 발명은 여러개의 화상을 한장의 용지에 프린팅할 수 있게 하고 기존의 화상에 새로운 화상을 부분적으로 겹쳐서 프린팅할 때 새로 프린팅하고자 하는 화상데이타만을 전송 및 기록함으로써 프린팅시간을 절약하고 용지의 과다한 손실을 방지할 수 있도록 한 프린터의 메모리 관리장치 및 그 방법에 관한 것이다.The present invention enables printing multiple images on a single sheet of paper, and transfers and records only image data to be newly printed when partially overlapping a new image on an existing image, thereby saving printing time and eliminating excessive loss of paper. The present invention relates to a memory management apparatus of a printer and a method of preventing the same.

일반적으로 컴퓨터에 연결되어 사용자가 출력하고자 하는 다양한 이미지(Image)나 그래픽(Graphic)등을 출력하는 프린터 장치는 프린터내부에 화상을 저장하기 위한 상당량의 프레임메모리를 갖는다. 이 프레임메모리는 DRAM을 사용하며, 프린팅을 진행하기 전이나 후에 메모리를 초기화하여 항상 새로 프린팅하는 화상에 영향을 주지 않도록 설계되어 있다.In general, a printer device connected to a computer and outputting various images or graphics to be output by a user has a considerable amount of frame memory for storing images in the printer. This frame memory uses DRAM and is designed to initialize the memory before or after printing so as not to affect the newly printed image.

제 1도는 종래의 프레임메모리의 관리방법을 설명하기 위한 프린터의 개략적인 구성을 나타낸 블럭도이다. 도시된 바와 같이, 종래의 프린터는 퍼스널컴퓨터로부터 사용자가 출력하고자 하는 화상데이타와 명령을 입력받아 중앙처리장치(102)와 DMA제어부(Direct Memory Access Controller;103)로 각각 전송하는 인터페이스부(101)를 구비한다. 아울러 프린팅하고자 하는 화상데이타를 전송받아 프레임단위로 저장하고 저장된 데이타를 출력하는 프레임메모리(107)도 구비하고 있다. 상기 인터페이스부(101)로부터 전송된 명령과 화상데이타를 디코딩(decoding)하는 중앙처리장치(102)는 각 구성블럭들과 인터페이스하면서 프레임메모리(107)에 화상데이타를 기록 또는 판독하는 동작을 제어하게 된다.1 is a block diagram showing a schematic configuration of a printer for explaining a conventional method of managing a frame memory. As shown in the drawing, a conventional printer receives an image data and a command to be output by a user from a personal computer, and transmits the data to a central processing unit 102 and a DMA controller (Direct Memory Access Controller) 103, respectively. It is provided. In addition, there is provided a frame memory 107 for receiving image data to be printed and storing them in units of frames and outputting the stored data. The central processing unit 102 for decoding the command and the image data transmitted from the interface unit 101 controls the operation of recording or reading the image data into the frame memory 107 while interfacing with the respective component blocks. do.

상기 중앙처리장치(102)의 출력단과 프레임메모리(107)의 입력단 사이에는 어드레스카운터(104)와 리프레쉬제어부(105)와 기록/판독 제어부(106)가 각각 병렬로 연결되어 있다. 상기 어드레스카운터(104)는 중앙처리장치(102)의 제어신호에 따라 프레임메모리(107)의 어드레스를 지정하여 초기화되거나 화상데이타가 기록 또는 판독되는 영역을 설정한다. 또한 리프레쉬제어부(105)는 중앙처리장치(102)의 제어신호에 따라 프레임메모리(107)의 초기화를 제어하고, 기록/판독 제어부(106)는 중앙처리장치(102)의 제어신호에 따라 프레임메모리(107)에의 화상데이타 기록/판독동작을 제어하게 된다. 중앙처리장치(102)의 제어를 받는 DMA제어부(103)는 인터페이스부(101)로부터 전송된 화상데이타를 직접 프레임메모리(107)로 전송하여 저장되도록 한다.The address counter 104, the refresh control unit 105, and the write / read control unit 106 are connected in parallel between the output terminal of the central processing unit 102 and the input terminal of the frame memory 107. The address counter 104 specifies an address of the frame memory 107 according to a control signal of the central processing unit 102 to set an area in which initialization or image data is recorded or read. In addition, the refresh control unit 105 controls the initialization of the frame memory 107 according to the control signal of the central processing unit 102, and the recording / reading control unit 106 according to the control signal of the central processing unit 102, the frame memory. Image data writing / reading operations to 107 are controlled. The DMA control unit 103 under the control of the central processing unit 102 transmits the image data transmitted from the interface unit 101 directly to the frame memory 107 to be stored.

상기와 같이 구성된 종래의 프린터에 퍼스널컴퓨터로부터 프린트명령, 프린팅하고자 하는 화상데이타, 그 화상영역에 대한 정보 등이 입력되면, 중앙처리장치(102)는 프린팅을 진행하기 전에 인터페이스부(101)를 통해 전송된 화상영역에 대한 정보를 입력받아 해독하게 된다. 다음에, 중앙처리장치(102)는 리프레쉬제어부(105)로 제어신호를 출력하여 새로 프린팅하는 화상에 영향을 주지 않도록 프레임메모리(107)를 초기화(Clean-up)할 것을 명령한다. 이때 중앙처리장치(102)의 제어를 받은 어드레스카운터(104)는 행 또는 열을 증가 혹은 감소시키면서 프레임메모리(107)를 초기화한다. 이 초기화작업이 끝나면 중앙처리장치(102)는 인터페이스부9101)로부터 받은 화상이 위치해야 할 영역에 대한 정보를 어드레스카운터(104)로 전달하고, 기록/판독 제어부(106)에 기록명령을 준다. 아울러 DMA제어부(103)로 화상데이타 출력명령을 주면 인터페이스부(101)를 통해 입력된 화상데이타가 프레임메모리(107)로 전송되고, 프레임메모리(107)는 이 데이타를 해당영역에 저장하게 된다.When a print command, image data to be printed, information on the image area, etc. are input from a personal computer to the conventional printer configured as described above, the central processing unit 102 uses the interface unit 101 before printing. Information about the transmitted image area is received and decoded. Next, the central processing unit 102 outputs a control signal to the refresh control unit 105 to instruct the frame memory 107 to be initialized so as not to affect the newly printed image. At this time, the address counter 104 under the control of the central processing unit 102 initializes the frame memory 107 while increasing or decreasing rows or columns. After this initialization operation, the central processing unit 102 transmits the information on the area where the image received from the interface unit 9101 should be located to the address counter 104 and gives a recording command to the recording / reading control unit 106. When the image data output command is given to the DMA control unit 103, the image data input through the interface unit 101 is transmitted to the frame memory 107, and the frame memory 107 stores the data in the corresponding area.

그러나 이러한 방식은 항상 프린트하기 전에 전체의 프레임메모리를 리프레쉬(refresh)하므로 기존의 화상에서 일부분이 변형된 화상을 프린트할 경우에도 변형된 부분을 포함하는 전체의 화상데이타를 다시 전송하여 기록하여야 하였다. 그러므로 실제의 프린팅시간보다 화상데이타를 전송하고 기록하는 시간이 많이 걸리는 종래의 프린터에 의하면, 프린팅하는데 시간이 많이 걸리게 되는 문제점이 있었다. 또한, 종래의 프린터는 기본적으로 한장의 프린트용지에 하나의 화상만을 프린팅하는 것을 원칙으로 한다. 그러므로 항상 새로운 화상을 깨끗한 상태에서 얻을 수 있다는 장점은 있지만, 프린트할 화상의 크기가 용지의 크기보다 매우 작을 경우에는 용지의 손실이 많아져 비경제적인 문제점이 있었다. 만약, 여러개의 화상을 한장의 용지에 모아서 프린팅하고자 할 경우에는 미리 컴퓨터에서 상기 화상들을 다른 소프트웨어 등을 이용하여 합친후에 프린팅해야 하므로 어떤 전문성이나 성능이 우수한 컴퓨터에 의존하게 되는 경향이 있다. 또한 프린트하고자 하는 화상들중 하나의 화상을 먼저 프린팅한 후 그 프린트용지에 다른 화상을 다시 프린팅하는 방법도 있으나, 이것은 사용자가 원하는 정확한 위치에 화상을 프린트할 수 없다는 문제점이 있었다.However, since this method always refreshes the entire frame memory before printing, even when printing an image in which a part of the existing image is deformed, the entire image data including the deformed part must be retransmitted and recorded. Therefore, according to the conventional printer, which takes more time to transmit and record image data than the actual printing time, there is a problem that it takes a long time to print. In addition, conventional printers are basically designed to print only one image on one sheet of printing paper. Therefore, there is always an advantage that a new image can be obtained in a clean state, but when the size of the image to be printed is very small than the size of the paper, the loss of paper is large, there was an uneconomic problem. If a plurality of images are to be collected and printed on a single sheet of paper, the images need to be printed after being combined with other software on a computer in advance, so that they tend to rely on a computer having some specialty or performance. In addition, there is a method of printing one image among the images to be printed first and then printing another image on the print paper, but this has a problem in that the image cannot be printed at the exact position desired by the user.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위한 것으로, 본 발명의 목적은 기존의 화상에서 일부분이 변형된 화상을 프린트할 경우 변형된 부분의 화상데이타만을 전송 및 기록함으로써 프린팅시간을 절약할 수 있도록 한 프린터의 메모리 관리장치 및 그 방법을 제공하는데 있다.The present invention is to solve the above-mentioned conventional problems, an object of the present invention is to save the printing time by transmitting and recording only the image data of the deformed portion when printing the image of the portion is deformed in the existing image It is to provide a memory management device and a method of a printer.

본 발명의 다른 목적은 한장의 용지에 여러개의 화상을 프린트하고자 할 경우 메모리상에 상기 화상들의 위치를 설정하여 여러개의 화상을 동시에 하나의 프레임메모리에 저장함으로써 값비싼 용지의 손실을 최소화할 수 있도록 한 프린터의 메모리 관리장치 및 그 방법을 제공하는데 있다.Another object of the present invention is to set the position of the images on the memory when you want to print several images on a single sheet of paper so as to minimize the loss of expensive paper by storing several images in one frame memory at the same time To provide a memory management device and a method of a printer.

본 발명의 또다른 목적은 한장의 용지에 여러개의 화상을 각기 다른 영역에 프린팅하거나 부분적으로 겹쳐서 프린팅하고자 할 경우 컴퓨터를 통해 사용자가 해당 기능을 선택함으로써 시각적인 특성을 살릴 수 있는 프린팅을 간단하게 할 수 있도록 한 프린터의 메모리 관리장치 및 그 방법을 제공하는데 있다.It is another object of the present invention to simplify printing that can enhance visual characteristics by selecting a corresponding function through a computer when printing or partially overlapping printing multiple images on different areas on a single sheet of paper. The present invention provides a memory management apparatus and a method thereof.

상기와 같은 목적들을 달성하기 위한 본 발명의 메모리 관리장치는 컴퓨터로부터 화상데이타가 전송되면 메모리상태정보를 컴퓨터로 전송하고, 컴퓨터로부터 전송된 명령에 따라 메모리를 초기화하거나 설정된 메모리영역에 화상데이타를 기록 또는 판독하는 동작을 제어하는 중앙처리장치를 구비한다. 중앙처리장치에 연결된 화상영역 저장부는 프레임메모리에 기록되어 있는 화상의 갯수와 각 화상이 차지하고 있는 영역에 대한 정보를 저장하고, 중앙처리장치의 제어를 받아 저장된 정보를 출력하게 된다. 중앙처리장치와 프레임메모리 사이에는 메모리 체킹버퍼가 연결되고, 이 메모리체킹버퍼는 프레임메모리로부터 설정된 영역에 기록되어 있는 데이타를 읽어서 중앙처리장치로 전송하게 된다.The memory management apparatus of the present invention for achieving the above objects transfers the memory status information to the computer when the image data is transmitted from the computer, and initializes the memory or records the image data in the set memory area according to a command transmitted from the computer. Or a central processing unit for controlling the operation of reading. The image area storage unit connected to the central processing unit stores information about the number of images recorded in the frame memory and the area occupied by each image, and outputs the stored information under the control of the central processing unit. A memory checking buffer is connected between the CPU and the frame memory, and the memory checking buffer reads the data recorded in the set area from the frame memory and transfers the data to the CPU.

또한, 상기와 같은 목적들을 달성하기 위한 본 발명의 메모리 관리방법은 컴퓨터로부터 화상데이타가 전송되면 프레임메모리에 기록되어 있는 화상의 갯수와 각 화상이 차지하고 있는 영역에 대한 정보를 읽어들여 컴퓨터로 전송하는 단계와; 전송된 메모리상태정보와 선택사항들을 화면상에 표시하여 사용자가 원하는 프린팅형태를 선택하게 하는 단계와; 컴퓨터로부터 프린트명령이 전송되면 선택된 명령에 따라 메모리를 초기화히거나 사용자가 설정한 메모리영역에 전송된 화상데이타를 기록하는 단계와; 현재 화상데이타가 기록된 영역에 대한 정보 및 기록된 화상의 갯수를 저장하는 단계로 이루어진다.In addition, the memory management method of the present invention for achieving the above object is to read the number of images recorded in the frame memory and information about the area occupied by each image when the image data is transmitted from the computer to transfer to the computer. Steps; Displaying the transferred memory status information and options on a screen to allow a user to select a desired printing type; Initializing the memory according to the selected command when the print command is transmitted from the computer or recording the transferred image data in the memory area set by the user; And storing information about the area where the current image data is recorded and the number of images recorded.

이하, 첨부된 제 2도 내지 제 4도를 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to FIGS. 2 to 4 as follows.

제 2도는 본 발명의 프레임메모리 관리장치의 구성을 나타낸 블럭도이다. 도시된 바와 같이, 본 발명의 프린터는 컴퓨터로부터 사용자가 출력하고자 하는 화상데이타와 명령을 입력받아 중앙처리장치(202)와 프레임메모리(207)로 각각 전송하고, 중앙처리장치(202)로부터 전송된 프린터의 각종 상태에 대한 정보를 컴퓨터에 전달하는 인터페이스부(201)를 구비한다. 인터페이스부(201)로부터 전송된 명령과 화상데이타를 디코딩하는 중앙처리장치(202)는 각 구성블럭들과 인터페이스하면서 프레임메모리(207)에 화상데이타를 기록 또는 판독하는 동작을 제어하게 된다. 중앙처리장치(202)에 연결된 화상영역 저장부(203)는 프레임메모리(207)에 기록되어 있는 화상의 갯수와 각 화상이 차지하고 있는 영역에 대한 정보를 저장하고 중앙처리장치(202)의 제어를 받아 저장된 정보를 출력한다.2 is a block diagram showing the configuration of the frame memory management apparatus of the present invention. As shown, the printer of the present invention receives image data and commands to be output by a user from a computer and transmits them to the central processing unit 202 and the frame memory 207, respectively, and is transmitted from the central processing unit 202. An interface unit 201 for transmitting information on various states of the printer to the computer. The central processing unit 202 for decoding the command and the image data transmitted from the interface unit 201 controls the operation of recording or reading the image data into the frame memory 207 while interfacing with the respective component blocks. The image area storage unit 203 connected to the central processing unit 202 stores the number of images recorded in the frame memory 207 and information on the area occupied by each image, and controls the central processing unit 202. The stored information is output.

또한, 본 발명의 프린터는 인터페이스부(201)로부터 직접 전송된 화상데이타를 입력받아 프레임단위로 저장하고 저장된 데이타를 출력하는 프레임메모리(207)를 구비하고 있다. 상기 중앙처리장치(202)의 출력단과 프레임메모리(207)의 입력단 사이에는 리프레쉬제어부(204)와 어드레스카운터(205)가 각각 병렬로 연결되어 있다. 리프레쉬제어부(204)는 중앙처리장치(202)의 제어신호에 따라 프레임메모리(207)의 설정영역에 대한 초기화를 제어하고, 현재 화상이 기록된 영역에 대한 정보를 화상영역 저장부(203)로 전송하여 저장되도록 한다. 상기 어드레스카운터(205)는 중앙처리장치(202)의 제어신호에 따라 프레임메모리(207)의 어드레스를 지정하여 초기화되거나 화상데이타가 기록 또는 판독되는 영역을 설정한다. 프레임메모리(207)의 출력단에 연결된 메모리체킹버퍼(Memory Checking Buffer;206)는 프레임메모리(207)로부터 설정된 영역에서 기록되어 있는 데이타를 읽어서 중앙처리장치(202)로 전송한다. 그러면 프레임메모리(207)로부터 독출된 데이타와 기록데이타를 비교하여 프레임메모리(207)의 설정된 영역에 데이타가 정확하게 기록되었는지를 확인할 수 있게 된다. 프레임메모리(207)에 연결된 기록/판독 제어부(208)는 프레임메모리(207)에의 화상데이타 기록/판독 동작을 제어하게 된다.In addition, the printer of the present invention includes a frame memory 207 which receives image data transmitted directly from the interface unit 201 and stores the data in frame units and outputs the stored data. The refresh control unit 204 and the address counter 205 are connected in parallel between the output terminal of the central processing unit 202 and the input terminal of the frame memory 207. The refresh control unit 204 controls the initialization of the setting area of the frame memory 207 according to the control signal of the central processing unit 202, and sends information on the area where the current image is recorded to the image area storage unit 203. To be transmitted and stored. The address counter 205 designates an address of the frame memory 207 in accordance with a control signal of the central processing unit 202 to set an area in which initialization or image data is recorded or read. The memory checking buffer 206 connected to the output end of the frame memory 207 reads the data recorded in the set area from the frame memory 207 and transfers the data to the CPU 202. Then, the data read out from the frame memory 207 and the recorded data can be compared to confirm whether the data is correctly recorded in the set area of the frame memory 207. The recording / reading control unit 208 connected to the frame memory 207 controls the image data writing / reading operation to the frame memory 207.

상기와 같이 구성된 본 발명의 메모리 관리장치의 동작을 설명하면 다음과 같다.The operation of the memory management apparatus of the present invention configured as described above is as follows.

컴퓨터로부터 프린팅하고자 하는 화상데이타 및 명령이 입력되면 이 데이타는 인터페이스부(201)로 인가되고, 인터페이스부(201)로부터 화상데이타의 입력명령이 들어오면 중앙처리장치(202)는 화상영역 저장부(203)로 제어신호를 보내 기록되어 있는 정보를 읽어들인다. 이때 화상영역 저장부(203)에는 프레임메모리(207)에 기록되어 있는 화상의 갯수와 각 화상이 차지하고 있는 영역에 대한 정보가 기록되어 있다. 화상영역 저장부(203)에 기록되어 있는 정보의 포맷을 예로 들면, 화상갯수를 나타내는 2바이트의 정보와, 하나의 화상영역을 나타내는 각각 2바이트로 구성되어 있는 정보(Xstart,Ystart,Xend,Yend)를 화상갯수만큼씩 가지게 된다. 이를 좀더 구체적인 예를들어 설명하면, 2개의 화상이 프레임메모리(207)에 존재할 경우 화상영역 저장부(203)에는 다음과 같은 형태의 데이타가 저장되어 있다.When image data and a command to be printed from a computer are input, the data is applied to the interface unit 201. When an input command of image data is input from the interface unit 201, the central processing unit 202 is connected to the image area storage unit ( A control signal is sent to 203 to read recorded information. At this time, the image area storage unit 203 records the number of images recorded in the frame memory 207 and information on the area occupied by each image. Taking the format of the information recorded in the image area storage unit 203 as an example, two bytes of information representing the number of images and two bytes each representing one image area (Xstart, Ystart, Xend, and Yend) ) As many as the number of images. As a more specific example, when two images exist in the frame memory 207, the image area storage unit 203 stores data in the following form.

00 02 00 0A 00 0A 01 FF 01 FF 03 00 03 00 08 00 08 0000 02 00 0A 00 0A 01 FF 01 FF 03 00 03 00 08 00 08 00

처음의 2바이트 정보인 00 02는 2개의 화상이 존재하는 것을 나타낸다. 다음의 4바이트 정보인 00 0A 00 0A는 첫번째 화상영역의 시작위치인 (10,10)을 나타내고, 그 다음의 01 FF 01 FF는 첫번째 화상영역의 마지막위치인 (511,511)을 나타내므로 (10,10)에서 (511,511)의 사각형안에 첫번째 화상이 존재한다. 상기 03 00 03 00은 (768,768)을 나타내고, 그 다음의 08 00 08 00은 (2048,2048)을 나타내므로 (768,768)과 (2048,2048)로 이루어지는 사각형안에 두번째 화상이 존재한다. 중앙처리장치(202)는 화상영역 저장부(203)로부터 읽어들인 정보를 인터페이스부(201)로 출력하고, 인터페이스부(201)는 이 프레임메모리의 상태에 대한 정보를 컴퓨터로 전송하게 된다. 컴퓨터는 프린터로부터 메모리상태에 대한 정보를 입력받으면, 제 3도와 같은 형태의 대화상자(Dialog Box)를 화면상에 표시하여 사용자가 선택할 수 있도록 한다.00 02, which is the first two-byte information, indicates that two images exist. The next 4 bytes of information 00 0A 00 0A indicates (10,10), which is the start position of the first image area, and the next 01 FF 01 FF indicates (511,511), which is the last position of the first image area. In 10), the first image exists in the rectangle of (511,511). The 03 00 03 00 represents (768,768), and the next 08 00 08 00 represents (2048,2048), so there is a second image in the rectangle consisting of (768,768) and (2048,2048). The central processing unit 202 outputs the information read from the image area storage unit 203 to the interface unit 201, and the interface unit 201 transmits information on the state of the frame memory to the computer. When the computer receives the information about the memory status from the printer, the computer displays a dialog box in the form shown in FIG. 3 so that the user can select it.

제 3도는 사용자와의 인터페이스를 위해 제시될 수 있는 간단한 형태의 대화상자를 일예를 들어 나타낸 것이다. 상기 메뉴에서 회색사각형(A)은 현재 프레임메모리에 화상이 위치되어 있는 영역이고, 검은색사각형(B)은 현재 사용자가 프린트하고자 하는 화상의 크기를 나타낸다. 상기 검은색사각형(B)은 사용자가 원하는 임의의 위치로 이동시킬 수 있으며, 이 옮겨진 위치가 새로 프린트할 화상의 영역으로 결정되는 것이다. 메뉴의 우측하단에 있는 크린업메모리버튼(C)은 프레임메모리 전체를 초기화하라는 명령을 주게 되며, 이때 전체/부분 초기화(full/Portional initialze), 체크메모리(Check memory) 등도 사용자가 정의할 수 있는 선택사항으로 제시된다.3 illustrates, by way of example, a simple form of dialog that can be presented for interfacing with a user. In the menu, the gray rectangle A is the area where the image is located in the current frame memory, and the black rectangle B represents the size of the image that the current user wants to print. The black rectangle B can be moved to any position desired by the user, and the shifted position is determined as the area of the image to be newly printed. The clean-up memory button (C) at the bottom right of the menu gives a command to initialize the entire frame memory. In this case, the user can define the full / partial initialze and the check memory. It is presented as an option.

즉, 기존의 화상들을 지우고 새로 화상을 프린팅하고자 할 경우에는 상기 크린업메모리버튼(C)과 다른 선택사항들을 이용하여 메모리전체를 초기화하라는 명령을 입력시킨다. 서로 겹치지 않도록 각기 다른 영역에 여러개의 화상을 프린팅하고자 할 경우에는 검은색사각형(B)을 회색사각형(A)이 위치한 부분을 피해서 적당한 위치로 이동시킨다. 기존의 화상에 부분적으로 겹쳐서 새로 화상을 프린팅하고자 할 경우에는 검은색사각형(B)을 원하는 위치로 이동시킨 후, 회색사각형(A)에서 겹치는 부분에 새로운 데이타를 기록하라는 명령을 입력시킨다. 이와 같은 작업이 끝나면 사용자는 프린트버튼(D)을 누르게 되고, 이 프린트명령이 인터페이스부(201)를 통해 입력되면 중앙처리장치(202)는 상기 설정된 사항을 수행하면서 프린팅을 진행하게 된다.In other words, when an existing image is deleted and a new image is to be printed, a command for initializing the entire memory is input using the clean-up memory button C and other options. When printing multiple images in different areas so as not to overlap each other, the black rectangle B is moved to an appropriate position avoiding the position where the gray rectangle A is located. In order to print a new image by partially overlapping an existing image, move the black rectangle B to a desired position, and then input a command to record new data in the overlapping portion of the gray rectangle A. FIG. When the operation is completed, the user presses the print button D. When the print command is input through the interface unit 201, the central processing unit 202 performs printing while performing the above-described items.

제 4도의 (a)-(c)는 본 발명의 메모리 관리장치에 의해 실제로 프린트된 결과를 나타낸 예시도로서, 프린트결과는 아주 다양한 경우를 갖게 된다. 제 4도의 (a)는 기존의 화상들을 지우고 새로 화상을 프린팅한 경우이고, 제4도의 (b)는 각기 다른 영역에 여러개의 화상을 프린팅한 경우이다. 또한 제4도의 (c)는 기존의 화상에 부분적으로 겹쳐서 새로 화상을 프린팅한 경우이다.(A)-(c) of FIG. 4 are exemplary diagrams showing the results actually printed by the memory management apparatus of the present invention, and the print results have a wide variety of cases. (A) of FIG. 4 is a case where a new image is printed after erasing existing images, and (b) of FIG. 4 is a case where several images are printed on different areas. 4C illustrates a case where a new image is printed by partially overlapping an existing image.

먼저, 제 4도의 (a)에서와 같이, 메모리전체를 초기화하라는 명령이 선택되었으면 리프레쉬제어부(204)로 기존에 있던 화상데이타를 모두 지우라는 명령을 주고, 어드레스카운터(205)를 이용해 프레임메모리(207)의 행 또는 열을 증가 혹은 감소시키면서 초기화한다. 메모리의 초기화후에 프레임메모리(207)는 어드레스카운터(205)가 지정하는 영역에 인터페이스부(201)로부터 전송된 화상데이타를 저장하게 되고, 이것은 종래에 사용하던 방법과 동일하다.First, as shown in (a) of FIG. 4, when a command to initialize the entire memory is selected, the refresh control unit 204 issues a command to erase all existing image data, and the frame counter (205) is used. Initialize while increasing or decreasing the rows or columns of 207). After initialization of the memory, the frame memory 207 stores the image data transmitted from the interface unit 201 in the area designated by the address counter 205, which is the same as the conventional method.

제 4도의 (b)(c)에서와 같이, 현재 화상데이타가 있는 영역을 피하거나 겹쳐서 데이타를 저장하라는 명령이 입력되었으면, 중앙처리장치(202)는 인터페이스부(201)로부터 받은 화상이 위치해야 할 영역에 대한 정보를 어드레스카운터(205)로 전달하여 화상영역을 설정한다. 다음에, 프레임메모리(207)는 어드레스카운터(205)의 지정에 따라 설정된 영역에 인터페이스부(201)로부터 전송된 화상데이타를 기록한다. 이때 새로 기록되는 화상영역이 기존의 화상영역과 부분적으로 겹칠 경우에는 겹치는 영역에 새로운 데이타를 재기록한다. 현재 화상이 기록된 영역에 대한 정보는 화상영역 저장부(203)에 저장된다.As shown in (b) and (c) of FIG. 4, if a command to save data is avoided or overlapped with the area where the current image data exists, the central processing unit 202 should locate the image received from the interface unit 201. Information on the area to be transmitted is transmitted to the address counter 205 to set the image area. Next, the frame memory 207 records the image data transmitted from the interface unit 201 in the area set in accordance with the designation of the address counter 205. At this time, when the newly recorded image area partially overlaps the existing image area, new data is rewritten in the overlapping area. Information on the area in which the current image is recorded is stored in the image area storage unit 203.

이상에서와 같이 본 발명은 기존의 화상에서 일부분이 변형된 화상을 프린트할 경우 변형된 부분의 화상데이타만을 전송 및 기록하여 프린팅하므로 프린팅시간을 절약할 수 있는 효과가 있다. 아울러 여러개의 화상을 동시에 하나의 프레임메모리에 저장하여 한장의 용지에 프린트하므로 용지의 손실을 최소화할 수 있다. 본 발명은 컴퓨터를 통해 간단한 메모리 사용정보를 사용자에게 제공하고 이를 선택할 수 있게 하므로 하나의 용지에 여러개의 화상을 각기 다른 영역에 프린팅하거나 부분적으로 겹쳐서 프린팅할 수 있어 특정한 문안이나 문서에서 시각적인 특성을 살릴 수 있는 프린팅을 가능하게 하는 장점을 갖는다. 그러므로 비교하기 위한 여러개의 화상을 간단하게 프린트할 수 있어 복잡한 자료의 프린팅을 가능하게 하며, 이로 인해 고화질을 갖는 프린터의 성능을 향상시킬 수 있는 효과가 있다.As described above, the present invention has an effect of saving printing time since only the image data of the deformed portion is transmitted and printed when the image is partially deformed from the existing image. In addition, since multiple images are simultaneously stored in one frame memory and printed on one sheet of paper, loss of paper can be minimized. The present invention provides a user with a simple memory usage information through a computer and selects it so that multiple images can be printed on different areas or partially superimposed on one sheet of paper so that the visual characteristics of a specific text or document can be printed. It has the advantage of enabling printing that can be saved. Therefore, it is possible to simply print a plurality of images for comparison to enable the printing of complex data, thereby improving the performance of a printer having a high quality.

Claims (8)

컴퓨터로부터 전송된 화상데이타를 프레임단위로 메모리에 저장했다가 프린트하여 출력하는 프린터에 있어서, 상기 화상데이타가 입력되면 메모리상태정보를 컴퓨터로 전송하고 컴퓨터로부터 전송된 명령에 따라 메모리를 초기화하거나 설정된 메모리영역에 화상데이타를 기록 또는 판독하는 동작을 제어하는 중앙처리장치와; 상기 프레임메모리에 기록되어 있는 화상의 갯수와 각 화상이 차지하고 있는 영역에 대한 정보를 저장하고 중앙처리장치의 제어를 받아 저장된 정보를 출력하는 화상영역에 저장부와; 상기 프레임메모리로부터 설정된 영역에 기록되어 있는 데이타를 읽어서 중앙처리장치로 전송하는 메모리체킹버퍼를 포함하는 것을 특징으로 하는 프린터의 메모리 관리장치.A printer which stores and prints image data transmitted from a computer in a frame unit in a memory, and when the image data is input, transmits the memory status information to a computer and initializes the memory according to a command transmitted from the computer, or sets the memory. A central processing unit that controls an operation of recording or reading image data in the area; A storage unit which stores information about the number of images recorded in the frame memory and the area occupied by each image, and outputs the stored information under control of a central processing unit; And a memory checking buffer which reads the data recorded in the set area from the frame memory and transmits the data to the central processing unit. 제 1 항에 있어서, 상기 화상영역에 저장부에는 화상의 갯수를 나타내는 2바이트의 정보와, 각 화상영역에 대해 해당영역의 시작위치를 나타내는 4바이트의 정보 및 마지막위치를 나타내는 4바이트의 정보가 상기 화상갯수만큼씩 저장되는 것을 특징으로 하는 프린터의 메모리 관리장치.2. The storage unit according to claim 1, wherein the storage unit has two bytes of information indicating the number of images, four bytes indicating the start position of the corresponding region and four bytes indicating the last position in each image region. The memory management apparatus of the printer, characterized in that stored by the number of images. 컴퓨터로부터 전송된 화상데이타를 프레임메모리에 저장했다가 프린트하는 프린터의 프린팅방법에 있어서, 상기 화상데이타가 입력되면 프레임메모리에 기록되어 있는 화상의 갯수와 각 화상이 차지하고 있는 영역에 대한 정보를 읽어들여 컴퓨터로 전송하는 단계와; 전송된 메모리상태정보와 선택사항들을 화면상에 표시하여 사용자가 원하는 프린팅형태를 선택하게 하는 단계와; 컴퓨터로부터 프린트명령이 전송되면 선택된 명령에 따 메모리를 초기화하거나 사용자가 설정한 메모리영역에 전송된 화상데이타를 기록하는 단계와; 현재 화상데이타가 기록된 영역에 대한 정보 및 기록된 화상의 갯수를 저장하는 단계로 이루어짐을 특징으로 하는 프린터의 메모리 관리방법.A printing method of a printer which stores image data transmitted from a computer in a frame memory and prints the information. When the image data is input, the number of images recorded in the frame memory and information on the area occupied by each image are read. Transmitting to a computer; Displaying the transferred memory status information and options on a screen to allow a user to select a desired printing type; Initializing the memory according to the selected command when the print command is transmitted from the computer or recording the transferred image data in the memory area set by the user; And storing the information on the area where the current image data is recorded and the number of the recorded images. 제3항에 있어서, 상기 메모리상태정보 및 선택사항에는 현재 프레임메모리에 화상이 위치되어 있는 있는 영역과, 사용자가 프린트하고자 하는 화상의 크기와, 프레임메모리 전체를 초기화하라는 명령을 입력시키기 위한 크린업메모리버튼과, 메모리영역중 특정부분만을 초기화하는 명령을 입력시키기 위한 부분초기화버튼과, 체크메모리버튼이 포함되는 것을 특징으로 하는 프린터의 메모리 관리방법.4. The apparatus according to claim 3, wherein the memory state information and options include a region in which an image is currently placed in the frame memory, a size of an image to be printed by the user, and a command for inputting a command to initialize the entire frame memory. A memory management method of a printer comprising a memory button, a part initialization button for inputting a command for initializing only a specific part of a memory area, and a check memory button. 제 4 항에 있어서, 현재 프린트하고자 하는 화상영역은 사용자의 선택에 의해 임의의 위치로 이동시킬 수 있도록 한 것을 특징으로 하는 프린터의 메모리 관리방법.5. The memory management method of claim 4, wherein the image area to be printed currently can be moved to an arbitrary position by a user's selection. 제 3 항에 있어서, 컴퓨터로부터 저장된 화상들을 모두 지우고 새로 화상을 프린트하라는 명령이 전송될 경우 프레임메모리 전체를 초기화한 후 사용자가 설정한 메모리영역에 컴퓨터로부터 전송된 화상데이타를 기록하도록 한 것을 특징으로 하는 프린터의 메모리 관리방법.4. The method of claim 3, wherein when a command to erase all stored images and print a new image is transmitted, the entire frame memory is initialized and the image data transmitted from the computer is recorded in the memory area set by the user. To manage the memory of the printer. 제 3 항에 있어서, 컴퓨터로부터 여러개의 화상을 각기 다른 영역이나 부분적으로 겹쳐서 프린트하라는 명령이 전송될 경우 프레임메모리에 프린트할 화상이 위치해야 할 영역을 설정하고, 사용자가 설정한 메모리영역에 컴퓨터로부터 전송된 화상데이타를 기록하도록 한 것을 특징으로 하는 프린터의 메모리 관리방법.4. The method according to claim 3, wherein when a command to print a plurality of images from a computer is printed on a different area or partly overlapped, the area in which the image to be printed is located in the frame memory is set, and the memory area set by the user is set from the computer. A memory management method for a printer, characterized by recording the transferred image data. 제 7 항에 있어서, 새로 기록되는 화상영역이 기존의 화상영역과 부분적으로 겹칠 경우 상기 겹치는 메모리영역에 새로 전송된 화상데이타를 재기록하도록 한 것을 특징으로 하는 프린터의 메모리 관리방법.8. The memory management method of claim 7, wherein when the newly recorded image area partially overlaps with the existing image area, the newly transferred image data is rewritten in the overlapping memory area.
KR1019940008996A 1994-04-27 1994-04-27 Memory apparatus of a printer KR0139153B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940008996A KR0139153B1 (en) 1994-04-27 1994-04-27 Memory apparatus of a printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940008996A KR0139153B1 (en) 1994-04-27 1994-04-27 Memory apparatus of a printer

Publications (2)

Publication Number Publication Date
KR950029988A KR950029988A (en) 1995-11-24
KR0139153B1 true KR0139153B1 (en) 1998-06-15

Family

ID=19381860

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940008996A KR0139153B1 (en) 1994-04-27 1994-04-27 Memory apparatus of a printer

Country Status (1)

Country Link
KR (1) KR0139153B1 (en)

Also Published As

Publication number Publication date
KR950029988A (en) 1995-11-24

Similar Documents

Publication Publication Date Title
JP2592124B2 (en) Image retrieval device
KR0139153B1 (en) Memory apparatus of a printer
US6791701B2 (en) Image forming apparatus having copy mode and printer mode
US9463692B2 (en) Display control device to display image data
JP3967027B2 (en) Display device
JP2007076043A (en) Printer
KR0146901B1 (en) Logo inserting printer
JPS62173526A (en) Page buffer control system
JPH05151570A (en) Optical card system
JPS59162587A (en) Image display
JPH04108266A (en) Printer
JPH04100474A (en) Printer device
JPH10271259A (en) Copying device
JP2901033B2 (en) Display method of camera with monitor
JPH0432978A (en) Image processor
JP2564521B2 (en) Computer terminal
JPH04353480A (en) Printer
JPH04350895A (en) Image display device
JPH076005A (en) Device and method for print control
JPS6349824A (en) Printer control system
JPH11301067A (en) Printer
JP2592124C (en)
JPS61226833A (en) Displaying system for picture information
JPH01183969A (en) Video printer
JPH0444093A (en) Multi-media data projector device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110128

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee