KR19990008541A - Interface device and method of multifunction device - Google Patents

Interface device and method of multifunction device Download PDF

Info

Publication number
KR19990008541A
KR19990008541A KR1019970030536A KR19970030536A KR19990008541A KR 19990008541 A KR19990008541 A KR 19990008541A KR 1019970030536 A KR1019970030536 A KR 1019970030536A KR 19970030536 A KR19970030536 A KR 19970030536A KR 19990008541 A KR19990008541 A KR 19990008541A
Authority
KR
South Korea
Prior art keywords
print
signal
data
output
mpu
Prior art date
Application number
KR1019970030536A
Other languages
Korean (ko)
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 KR1019970030536A priority Critical patent/KR19990008541A/en
Publication of KR19990008541A publication Critical patent/KR19990008541A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32561Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device using a programmed control device, e.g. a microprocessor
    • H04N1/32593Using a plurality of controllers, e.g. for controlling different interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00278Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a printing apparatus, e.g. a laser beam printer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0094Multifunctional device, i.e. a device capable of all of reading, reproducing, copying, facsimile transception, file transception

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Facsimiles In General (AREA)

Abstract

본 발명은 복합기의 인터페이스 장치 및 방법에 관한 것으로, 인쇄를 위한 제어신호와 인쇄데이터를 인가받아 인쇄매체를 급지하여 인쇄작업을 실행하고 현재 작업의 상태를 감지하여 상태신호를 출력하는 프린트 모듈(Module)과, 스캐너 파트로부터 스캐닝(Scanning)된 원고에 기록된 이미지 데이터가 복사를 위한 데이터이거나 모뎀으로부터 복조되어 출력되는 데이터를 인가받아 메모리부에 일시 저장하고 저장된 데이터를 인쇄하기 위한 제어신호와 인쇄데이터를 출력하는 MPU와, 상기 MPU로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 PC로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 상기 프린트 모듈로부터 출력되는 상태신호를 인가받고 인가된 신호와 데이터의 입출력을 제어하는 프린트 인터페이스 로직으로 구성하여, 복합기의 각 기능을 서로 독립적인 모듈로 결합함으로 낮은 수행 능력을 갖는 MPU를 사용하더라도 듀얼 엑세스(Dual access)의 구현이 용이해지는 효과가 있다.The present invention relates to an interface device and a method of an all-in-one device. A print module that receives a control signal and print data for printing, feeds a print medium to execute a print job, and detects a state of a current job to output a status signal. ) And control signals and print data for temporarily storing the image data recorded in the scanned document from the scanner part or the data that is output by being demodulated from the modem and temporarily stored in the memory unit and printing the stored data. The MPU outputs a control signal and print data for printing from the MPU, the control signal and print data for printing from the PC, and the status signal output from the print module. It consists of print interface logic that controls input and output, By combining each function into an independent module, it is easy to implement dual access even with a low performance MPU.

Description

복합기의 인터페이스 장치 및 방법Interface device and method of multifunction device

본 발명은 복합기의 인터페이스 장치 및 방법에 관한 것으로, 특히 팩스기능 또는 프린터 기능이 통합된 복합기에서 프린터 또는 팩스 기능을 동시에 수행할 수 있는 듀얼 엑세스(Dual access) 기능을 실현하기 위한 팩스와 프린터 모듈의 인터페이스 장치 및 방법에 관한이다.The present invention relates to an interface device and a method of a multifunction printer, and more particularly, to a fax and a printer module for realizing a dual access function that can simultaneously perform a printer or a fax function in a multifunction printer in which a fax function or a printer function is integrated. Interface device and method.

최근 전기, 전자 제품의 제조 기술 및 제어 방법의 발달과 함께 기능이 복합된 복합 기기가 보급되고 있다. 일례로, 단순 산술 연산, 워드(Word), 데이터 베이스 등의 단순한 작업에 활용되는 컴퓨터가 TV, 게임기, 통신 기기 등의 기능을 복합한 멀티미디어(Multimedia) 컴퓨터로 보급되어 그 기능을 다양화하고 있다. 컴퓨터의 다양한 기능을 갖는 멀티미디어화에 따라 그 주변기기인 프린터 또한 그에 부응하기 위해 기능을 복합하는 추세에 있다. 즉, 일반적으로 프린터, 스캐너, 팩스와 같은 기능이 별도로 구성된 것을 하나의 시스템으로 통합한 복합기로 구성하여 보다 사용자에게 편리한 기능을 제공하고 있다.Recently, with the development of manufacturing techniques and control methods for electrical and electronic products, a composite device having a complex function has been widely used. For example, computers that are used for simple tasks such as simple arithmetic operations, Words, databases, etc. have been spread to multimedia computers that combine functions of TVs, game consoles, communication devices, etc., to diversify their functions. . As multimedia with various functions of a computer, a peripheral printer is also increasingly combined with functions to meet the demand. In other words, in general, the printer, scanner, and fax are configured as a multifunction device in which separate functions are integrated into one system to provide more convenient functions to the user.

이러한 종래의 복합기의 예를 첨부된 도면을 이용하여 보다 상세하게 살펴보면 다음과 같다.An example of such a conventional multifunction printer will be described in more detail with reference to the accompanying drawings.

도 1에 도시된 바와 같이 종래의 복합기(10)은, 전화단자(T1)을 통해서 팩스신호를 송수신하는 라인 인터페이스 유니트(11)과, 상기 라인 인터페이스 유니트(11)로부터 전송되어 입력되는 팩스신호를 인가받아 복조하거나 복합기(10)에서 발생된 데이터를 외부로 송신하기 위해 데이터를 변조하는 모뎀(12)와, 정보가 기록된 원고상에 기록된 정보를 스캐닝(Scanning)하는 스캐너 파트(Scanner part)(13)과, 상기 스캐너 파트(13)으로부터 스캐닝된 원고에 기록된 이미지 데이터를 인가받아 메모리부(14a)에 일시 저장하고 저장된 이미지 데이터가 외부로 송신하기 위한 팩스 데이터이면 상기 모뎀(12)로 출력하며 메모리부(14a)에 일시 저장된 이미지 데이터가 복사를 위한 데이터이면 인쇄장치로의 출력을 제어하고 상기 모뎀(12)로부터 복조되어 출력되는 팩스 데이터를 인가받아 메모리부(14a)에 일시 저장하고 저장된 팩스 데이터의 출력을 제어하는 마이크로 프로세서 유니트(Micro processor unit; 이하 MPU로 약칭함)(14)와, 상기 MPU(14)로부터 출력되는 팩스 데이터 또는 복사 데이터를 인가받아 인쇄하는 인쇄장치(15)로 구성된다.As shown in FIG. 1, the conventional multifunction peripheral 10 includes a line interface unit 11 for transmitting and receiving a fax signal through a telephone terminal T1, and a fax signal transmitted and input from the line interface unit 11. A modem 12 for modulating the data to be authorized and demodulated or to transmit the data generated by the multifunction apparatus 10 to the outside, and a scanner part for scanning the information recorded on the document on which the information is recorded; (13) and image data recorded on the scanned originals from the scanner part 13 are temporarily stored in the memory unit 14a, and the stored image data is sent to the modem 12 if the stored image data is fax data for transmission to the outside. If the image data temporarily stored in the memory unit 14a is the data for copying, the output to the printing apparatus is controlled and the fax data demodulated from the modem 12 is output. A microprocessor unit (hereinafter abbreviated as MPU) 14 that receives and temporarily stores the memory data in the memory unit 14a and controls the output of the stored fax data, and fax data or copy output from the MPU 14. It consists of a printing device 15 that receives data and prints it.

이와 같은 구성을 갖는 종래의 복합기를 보다 상세하게 살펴보면 다음과 같다.Looking at the conventional multifunction device having such a configuration in more detail as follows.

전화단자(T1)을 통해서 아날로그 신호인 팩스신호를 라인 인터페이스 유니트(11)을 통해서 입력받는다. 라인 인터페이스 유니트(11)을 통해서 입력된 팩스신호는 모뎀(12)를 통해서 디지탈 데이터로 복조되어 MPU(14)를 통해서 일시 메모리부(14a)에 저장된다. 메모리부(14a)에 일시 저장된 팩스 데이터는 MPU(14)에 의해 제어되는 인쇄장치(15)로 인가되어 인쇄된다.The fax signal, which is an analog signal, is received through the telephone terminal T1 through the line interface unit 11. The fax signal input via the line interface unit 11 is demodulated into digital data via the modem 12 and stored in the temporary memory unit 14a via the MPU 14. The fax data temporarily stored in the memory unit 14a is applied to the printing apparatus 15 controlled by the MPU 14 and printed.

이 때, 인쇄장치(15)는 인쇄매체를 급지하고 급지된 인쇄매체에 잉크 상을 형성하여 전화단자(T1)을 통해서 외부로부터 전송된 팩스신호를 인쇄하게 되고, MPU(14)는 팩스신호를 처리하는 팩수수단의 메인 MPU로 사용된다.At this time, the printing apparatus 15 feeds the print media, forms an ink image on the fed print media, and prints the fax signal transmitted from the outside through the telephone terminal T1, and the MPU 14 sends the fax signal. It is used as the main MPU of the pack count means to process.

또한, 사용자가 원고에 기록된 정보를 전송하기 위해서 스캐너 파트(13)을 통해서 원고에 기록된 정보를 스캐닝하여 이미지 데이터를 발생한다. 스캐너 파트(13)을 통해서 발생된 이미지 데이터는 MPU(14)의 제어에 의해 메모리부(14a)에 일시 저장된 후 모뎀(12)로 인가된다. 메모리부(14a)에 일시 저장된 이미지 데이터를 MPU(14)의 제어에 따라 인가받은 모뎀(12)는, 인가된 이미지 데이터를 아날로그신호로 변조하여 라인 인터페이스 유니트(11) 및 전화단자(T1)을 통해서 외부로 전송한다.In addition, the user scans the information recorded on the original through the scanner part 13 to generate the image data in order to transmit the information recorded on the original. Image data generated through the scanner part 13 is temporarily stored in the memory unit 14a under the control of the MPU 14 and then applied to the modem 12. The modem 12, which has received the image data temporarily stored in the memory unit 14a under the control of the MPU 14, modulates the applied image data into an analog signal to operate the line interface unit 11 and the telephone terminal T1. Transfer to the outside through

그리고, 복사 작업을 위해 스캐너 파트(13)을 통해서 정보가 기록된 원고를 스캐닝하는 경우에는, 스캐닝된 이미지 데이터는 일시 메모리부(14a)에 일시 저장되고, 저장된 이미지 데이터는 MPU(14)의 제어에 의해 인쇄장치(15)로 인가된다. MPU(14)의 제어에 의해 인쇄장치(15)로 인가된 이미지 데이터는 인쇄장치(15)에 의해 급지된 인쇄매체에 잉크 상을 형성하여 스캐너 파트(13)을 통해서 스캐닝된 이미지 데이터를 복사하게 된다.And when scanning the document on which information is recorded through the scanner part 13 for the copying operation, the scanned image data is temporarily stored in the temporary memory unit 14a, and the stored image data is controlled by the MPU 14. Is applied to the printing apparatus 15. The image data applied to the printing apparatus 15 under the control of the MPU 14 forms an ink image on the printing medium fed by the printing apparatus 15 to copy the scanned image data through the scanner part 13. do.

이와 같이 종래의 복합기는, 인쇄 데이터 발생시 MPU가 직접 인쇄장치를 제어할 수 있도록 설계되어 있다. 즉, 복합기의 모든 동작을 팩스수단에 있는 MPU가 직접 제어하기 때문에 MPU의 데이터 처리 속도 등의 수행 능력이 높아야 할 필요가 발생하게 된다. 이 에 따라 복합기에서 두작업이 동시에 발생하는 경우에 MPU의 과부하가 발생하여 듀얼 엑세스(Dual access)와 같은 고급 기능을 수행하는 데 한계가 발생하는 문제점이 있다.As described above, the conventional MFP is designed so that the MPU can directly control the printing apparatus when printing data is generated. That is, since all operations of the MFP are directly controlled by the MPU in the fax means, the performance of the MPU, such as data processing speed, needs to be increased. As a result, when two tasks occur at the same time in the MFP, there is a problem in that an MPU overload occurs and a limitation occurs in performing advanced functions such as dual access.

또한, 복합기의 인쇄장치의 종류가 달라지면, 예를 들어 잉크제 프린터, 레이저 빔(Laser beam) 프린터, 열전사 프린터 등으로 그 종류가 달라지면 적용된 인쇄장치의 방식에 따라 제어 방법이 달라지기 때문에 그에 따른 설계 기술 등 구현하는 데 많은 시간과 노력이 필요로 하는 문제점이 발생하게 된다.In addition, when the type of printing apparatus of the multifunction printer is changed, for example, an ink printer, a laser beam printer, a thermal transfer printer, and the like, the control method is changed according to the method of the applied printing apparatus. Problems that require a lot of time and effort to implement such as design technology.

따라서 본 발명은 전술한 문제점을 해결하고자 PC와 인쇄장치의 인터페이스로 사용되는 병렬 포트를 팩스와 인쇄장치의 인터페이스로도 사용하여 복합기를 구성하는 모듈을 독립된 개체의 시스템으로 구성하여 복합기에 적용될 인쇄장치의 종류에 관계없이 시장 환경에 따른 인쇄장치의 종류를 복합기의 시스템에 신속하게 적용할 수 있도록 구현하고 낮은 수행능력을 갖는 MPU 사용시 듀얼 엑세스(Dual access)기능을 수행하기 위한 복합기의 인터페이스 장치 및 방법을 제공함을 목적으로 한다.Therefore, the present invention is to solve the above problems by using a parallel port used as an interface between a PC and a printing device as an interface between a fax and a printing device to configure a multi-function module as a system of independent objects to be applied to the multifunction printer Interface device and method of multifunction device to implement the type of printing device according to the market environment to the multifunction device system quickly and perform dual access function when using MPU with low performance regardless of the type of market. The purpose is to provide.

이러한 목적을 달성하기 위한 본 발명은, 인쇄를 위한 제어신호와 인쇄데이터를 인가받아 인쇄매체를 급지하여 인쇄작업을 실행하고 현재 작업의 상태를 감지하여 상태신호를 출력하는 프린트 모듈(Module)과, 스캐너 파트로부터 스캐닝(Scanning)된 원고에 기록된 이미지 데이터가 복사를 위한 데이터이거나 모뎀으로부터 복조되어 출력되는 데이터를 인가받아 메모리부에 일시 저장하고 저장된 데이터를 인쇄하기 위한 제어신호와 인쇄데이터를 출력하는 MPU와, 상기 MPU로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 PC로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 상기 프린트 모듈로부터 출력되는 상태신호를 인가받고 인가된 신호와 데이터의 입출력을 제어하는 프린트 인터페이스 로직으로 구성됨을 특징으로 한다.In order to achieve the above object, the present invention provides a print module that receives a control signal and print data for printing, feeds a print medium to execute a print job, and detects a state of a current job to output a status signal; The image data recorded on the scanned document from the scanner part is data for copying or data that is demodulated from the modem and is temporarily stored in the memory unit and outputs control signals and print data for printing the stored data. Controls an MPU, control signals for printing output from the MPU, print data, control signals for printing output from a PC, print data and status signals output from the print module, and controls input / output of the applied signals and data. It is characterized by consisting of a print interface logic.

본 발명의 다른 특징은, 프린터 모듈로부터 발생되는 비지 신호가 디스에이블(Disable) 되면 프린트 모듈에서 DREQ 신호를 발생하여 MPU의 DMA 채널을 요구하는 과정과, 상기 DMA 채널을 요구하는 과정에서 DMA 채널을 요구하는 DREQ 신호에 응답하여 MPU로부터 DACK 신호를 출력하여 DMA 채널의 사용을 허가하는 과정과, 상기 DMA 채널의 사용을 허가하는 과정에서 DMA 채널이 허가되어 할당되면 할당된 DMA 채널을 이용하여 인쇄 데이터를 전송하기 위한 스트로브(Strobe) 신호를 발생하는 과정과, 상기 스트로브 신호를 발생하는 과정에서 발생된 스트로브 신호에 따라 프린트 모듈로 데이터를 전송하는 과정으로 구성된다.According to another aspect of the present invention, when the busy signal generated from the printer module is disabled, the print module generates a DREQ signal to request the DMA channel of the MPU, and the DMA channel is requested in the process of requesting the DMA channel. In response to the requested DREQ signal, a DACK signal is output from the MPU to permit the use of the DMA channel, and if the DMA channel is permitted and allocated in the process of allowing the use of the DMA channel, the print data is allocated using the allocated DMA channel. And generating a strobe signal for transmitting the strobe signal, and transmitting data to the print module according to the strobe signal generated during the strobe signal generation.

또한, 본 발명의 또 다른 특징은, MPU에 의해 메모리부에 저장된 인쇄데이터를 데이터 출력 래치단에 래치(Latch)시키는 과정과, 상기 인쇄 데이터를 데이터 출력 래치단에 래치(Latch)시키는 과정이 완료되면 인쇄데이터의 셋업 타임(Setup time)을 위해 일정시간 지연 후 프린터 모듈 제어단의 레지스터(Register)의 비트(Bit)를 세팅(Setting)하여 스트로브 신호를 발생시키는 과정과, 상기 스트로브 신호를 발생하는 과정에서 발생된 스트로브 신호에 따라 프린트 모듈이 데이터를 전송받을 수 있도록 알려주는 과정으로 구성된다.In addition, another aspect of the present invention, the process of latching the print data stored in the memory unit by the MPU to the data output latch stage, and the process of latching the print data to the data output latch stage is completed. If a predetermined time delay for the setup time of the print data, and setting the bit of the register of the control module of the printer module to generate a strobe signal, and generating the strobe signal It consists of a process of informing the print module to receive data according to the strobe signal generated in the process.

도 1은 종래의 복합기의 내부회로 구성을 나타낸 블럭도,1 is a block diagram showing the internal circuit configuration of a conventional multifunction peripheral;

도 2는 본 발명에 따른 복합기의 내부회로 구성을 나타낸 블럭도,2 is a block diagram showing the internal circuit configuration of the multifunction apparatus according to the present invention;

도 3은 도 2에 도시된 프린터 인터페이스 로직의 구성을 상세히 나타낸 블럭도,3 is a block diagram showing in detail the configuration of the printer interface logic shown in FIG.

도 4는 도 3에 도시된 MPU의 DMA의 사이클의 타이밍(Timing) 도,4 is a timing diagram of a cycle of DMA of the MPU shown in FIG. 3;

도 5는 도 3에 도시된 프린트 인터페이스의 타이밍(Timing) 도이다.FIG. 5 is a timing diagram of the print interface shown in FIG. 3.

이하, 본 발명을 첨부된 도 2 내지 도 3을 이용하여 살펴보면 다음과 같다.Hereinafter, the present invention will be described with reference to FIGS. 2 to 3.

도 2는 본 발명에 따른 복합기의 내부회로 구성을 나타낸 블럭도이고, 도 3은 도 2에 도시된 프린터 인터페이스 로직의 구성을 상세히 나타낸 블럭도이다. 도시된 바와 같이, 어플리케이션 프로그램을 실행하여 데이터를 발생하고 발생된 데이터를 인쇄 가능한 데이터로 만들어 출력하는 PC(100)과, 전화단자(T2)를 통해서 팩스신호를 송수신하는 전화 라인 인터페이스(210)과, 상기 전화 라인 인터페이스(210)으로부터 전송되어 입력되는 팩스신호를 인가받아 복조하거나 복합기(200)에서 발생된 데이터를 외부로 송신하기 위해 팩스데이터를 변조하는 모뎀(220)과, 정보가 기록된 원고 상에 기록된 정보를 스캐닝하는 스캐너 파트(Scanner part)(230)과, 인쇄를 위한 제어신호와 인쇄데이터를 인가받아 인쇄매체를 급지하여 인쇄작업을 실행하고 현재 작업의 상태를 감지하여 상태신호를 출력하는 프린트 모듈(Module)(240)과, 상기 스캐너 파트(230)으로부터 스캐닝(Scanning)된 원고에 기록된 이미지 데이터를 인가받아 메모리부(250a)에 일시 저장하고 저장된 이미지 데이터의 팩스 및 복사데이터를 판단하여 이미지 데이터가 외부로 전송하기 위한 데이터이면 상기 모뎀(220)으로 출력하고 이미지 데이터가 인쇄를 위한 데이터이거나 상기 모뎀(220)으로부터 복조되어 출력되는 데이터를 인가받아 상기 메모리부(250a)에 일시 저장하고 저장된 데이터를 인쇄하기 위한 제어신호와 인쇄데이터를 출력하는 MPU(250)과, 상기 MPU(250)으로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 상기 PC(100)으로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 상기 프린트 모듈(240)로부터 출력되는 상태신호를 인가받고 인가된 신호와 데이터의 입출력을 제어하는 프린트 인터페이스 로직(260)으로 구성된다.Figure 2 is a block diagram showing the internal circuit configuration of the multifunction peripheral according to the present invention, Figure 3 is a block diagram showing the configuration of the printer interface logic shown in Figure 2 in detail. As shown, a PC 100 for generating data by executing an application program and outputting the generated data as printable data, and a telephone line interface 210 for transmitting and receiving a fax signal through a telephone terminal T2; The modem 220 modulates the fax data to receive and demodulate the received fax signal transmitted from the telephone line interface 210 or to transmit the data generated by the multifunction apparatus 200 to the outside. The scanner part 230 which scans the information recorded on it, and a control signal and print data for printing are supplied to feed a print medium to execute a print job, and to detect the status of the current job to detect a status signal. A print module 240 for outputting and image data recorded in a scanned document from the scanner part 230 are applied to the memory. If the image data is data to be temporarily stored in the unit 250a and judged to store the fax data and the copy data of the stored image data, the image data is output to the modem 220 and the image data is data for printing or the modem 220. MPU 250 that receives the data demodulated from the output and temporarily stores in the memory unit 250a and outputs control signals and print data for printing the stored data, and for printing output from the MPU 250. Print interface logic for controlling input and output of the applied signal and data by receiving a control signal and print data, a control signal for printing output from the PC 100 and a print signal and a status signal output from the print module 240. 260.

이러한 구성 중에 상기 프린트 인터페이스 로직(260)은, 상기 프린트 모듈(240)로부터 출력되는 상태감지신호를 인가받아 선택적으로 출력하는 제 2 멀티플렉서(MUX2)와, 상기 제 2 멀티플렉서(MUX2)로부터 선택적으로 출력되는 상태감지신호에 따라 인터럽트(Interrupt) 신호를 발생하여 상기 MPU(250)으로 출력하는 프린트 모듈의 상태감지 및 인터럽트 제어단(261)과, 상기 프린트 모듈의 감지 및 인터럽트 제어단(261)로부터 출력되는 인터럽트 신호를 인가받아 상기 MPU(240)으로부터 출력되는 인쇄를 하기 위한 제어신호를 인가받아 처리하여 인쇄제어신호와 직접인쇄를 위한 스트로브(Strobe) 신호를 출력하는 프린트 모듈 제어단(262)와, 상기 MPU(250)에서 팩스데이터 또는 스캔 데이터가 발생하면 발생된 팩스데이터를 인쇄하기 위해 디렉트 메모리 엑세스(Direct memory access; 이하 DMA이라 약칭함) 채널을 활당받기 위한 제어신호를 인가받아 DMA 요구(DMA Request; 이하 DREQ로 약칭함) 신호를 상기 프린트 모듈(240)으로 인가하는 DREQ 발생단(263)과, 상기 DREQ 발생단(263)으로부터 발생된 DREQ신호에 응답하여 상기 MPU(250)으로부터 출력되는 DMA 허가(DMA Acknowledge; 이하 DACK로 약칭함) 신호를 인가받아 인쇄데이터의 전송을 제어하는 스트로브(Strobe) 신호를 출력하는 하드웨어(Hardware; 이하 H/W로 약칭함) 스트로브 발생단(264)와, 상기 DREQ 발생단(263)으로부터 발생된 DREQ신호에 응답하여 상기 MPU(250)으로부터 출력되는 DACK 신호를 인가받아 활당된 DMA 채널로부터 팩스 또는 스캔 데이터를 래치(Latch)시키는 데이터 출력 래치단(265)와, 상기 프린트 모듈 제어단(262)과 DREQ 발생단(263)과 H/W 스트로브 발생단(264)과 데이터 출력 래치단(265)과 PC(100)와 신호를 송수신하는 프린트 모듈(240)과의 입력출력을 제어하는 멀티플렉서부(266)으로 구성된다.During this configuration, the print interface logic 260 selectively outputs from the second multiplexer MUX2 and the second multiplexer MUX2 that selectively receives the state sensing signal output from the print module 240. A status detection and interrupt control stage 261 of the print module for generating an interrupt signal according to the state detection signal to be output to the MPU 250 and outputting from the detection and interrupt control stage 261 of the print module. A print module control stage 262 for receiving a interrupt signal to be output from the MPU 240 and processing a control signal for printing and outputting a print control signal and a strobe signal for direct printing; Direct memory access to print the generated fax data when the fax data or scan data occurs in the MPU 250 a DREQ generation stage 263 for receiving a control signal for receiving an access channel (hereinafter abbreviated DMA) and applying a DMA request (hereinafter abbreviated to DREQ) signal to the print module 240; A strobe signal that controls the transmission of print data by receiving a DMA acknowledgment signal (hereinafter abbreviated as DACK) signal output from the MPU 250 in response to the DREQ signal generated from the DREQ generation stage 263. Hardware outputting hardware (hereinafter abbreviated as H / W) strobe generating stage 264, and the DACK signal output from the MPU 250 in response to the DREQ signal generated from the DREQ generating stage 263 is applied. A data output latch stage 265 for latching fax or scan data from the received DMA channel; the print module control stage 262, the DREQ generation stage 263, and the H / W strobe generation stage 264; And the data output latch stage 265 and the PC 100 The multiplexer unit 266 controls an input and output with the print module 240 for transmitting and receiving a signal.

이러한 구성 중에서 상기 프린트 모듈의 감지 및 인터럽트 제어단(261)은, 상기 프린트 모듈(240)으로부터 출력되는 상태감지신호를 인가받아 프린트 모듈(240)의 현 작업상태를 감지하여 감지된 결과를 상기 MPU(250)으로 인가하는 프린트 모듈 상태 감지단(261a)와, 상기 상기 프린트 모듈(240)으로부터 출력되는 상태감지신호를 인가받아 프린트 모듈(240)의 현 작업상태를 감지하여 감지된 결과에 따라 인터럽트(Interrupt) 신호를 발생하여 출력하는 인터럽트 제어단(261b)로 구성된다.In such a configuration, the detection and interrupt control unit 261 of the print module receives a state detection signal output from the print module 240 to detect a current working state of the print module 240 and output the detected result to the MPU. A print module state detection stage 261a applied to 250 and a state detection signal output from the print module 240 are applied to sense a current working state of the print module 240 to be interrupted according to the detected result. And an interrupt control stage 261b that generates and outputs an (Interrupt) signal.

또한 상기 멀티플렉서부(266)은, 상기 프린트 모듈 제어단(262)로부터 출력되는 인쇄제어신호와 상기 PC(100)으로부터 출력되는 인쇄제어신호를 인가받아 선택하여 출력하는 제 1 멀티플렉서(MUX1)와, 상기 DREQ 발생단(263)으로부터 발생된 DREQ신호에 응답하여 상기 MPU(250)으로부터 출력되는 DACK 신호를 인가받아 출력하는 제 3 멀티플렉서(MUX3)와, 상기 제 3 멀티플렉서(MUX3)으로부터 출력되는 DACK 신호에 따라 상기 H/W 스트로브 발생단(264)에서 발생된 스트로브 신호(STROBE)와 상기 프린트 모듈 제어단(262)로부터 직접 인쇄를 위한 스트로브(Strobe) 신호(STROBE)를 인가받아 선택하여 출력하는 제 4 멀티플렉서(MUX4)와, 상기 제 3 멀티플렉서(MUX3)으로부터 출력되는 DACK 신호에 따라 상기 데이터 출력 래치단(265)로부터 래치된 인쇄데이터와 상기 PC(100)으로부터 출력되는 인쇄데이터를 인가받아 선택하여 출력하는 제 5 멀티플렉서(MUX5)로 구성된다.In addition, the multiplexer 266 may include: a first multiplexer MUX1 configured to receive and select a print control signal output from the print module control terminal 262 and a print control signal output from the PC 100; A third multiplexer MUX3 for receiving and outputting a DACK signal output from the MPU 250 in response to the DREQ signal generated from the DREQ generation terminal 263, and a DACK signal output from the third multiplexer MUX3. According to the strobe signal (STROBE) generated by the H / W strobe generation stage 264 and the strobe signal (STROBE) for direct printing from the print module control stage 262 is selected and output 4 the print data latched from the data output latch stage 265 and the printout output from the PC 100 according to the multiplexer MUX4 and the DACK signal output from the third multiplexer MUX3. And a fifth multiplexer MUX5 that receives the print data and selects and outputs the print data.

이러한 구성을 갖는 본 발명을 첨부된 도 4 및 도 5를 이용하여 보다 상세하게 살펴보면 다음과 같다.Looking at the present invention having such a configuration in more detail with reference to Figures 4 and 5 as follows.

복합기(200)의 전화 라인 인터페이스(210)을 통해서 외부로 수신된 데이터와, 스캐너 파트(230)를 통해서 스캐닝된 이미지데이터와, PC(100)을 통해서 특정 어플리케이션(Application) 프로그램의 실행에 따라 발생된 인쇄 데이터는, 메모리부(250a)에 일시 저장된 후 MPU(250)의 제어에 따라 프린트 인터페이스 로직(260)을 통해서 프린트 모듈(240)으로 인가되어 인쇄된다. 이 때, MPU(250)은 PC(100)에서 발생된 인쇄데이터를 프린트 모듈(240)을 통해서 인쇄하기 위해 항상 PC(100)와 프린트 모듈(240)과 데이터 채널을 활당하게 된다.Generated according to the execution of a specific application program through the PC 100, data received externally through the telephone line interface 210 of the multifunction apparatus 200, image data scanned through the scanner part 230, and the PC 100. The printed data is temporarily stored in the memory unit 250a and then applied to the print module 240 through the print interface logic 260 under the control of the MPU 250 to be printed. In this case, the MPU 250 always assigns data channels with the PC 100, the print module 240, and the like to print the print data generated by the PC 100 through the print module 240.

따라서, 모뎀(220)을 통해서 복조되어 발생된 팩스데이터와 스캐너 파트(240)에서 발생된 스캐닝된 이미지 데이터를 인쇄하기 위해서 데이터를 전송하기 위한 DMA 채널을 활당받아 인쇄하게 된다. 이 때, 모뎀(220) 및 스캐너 파트(230)을 통해서 발생된 데이터를 프린트 모듈(240)로 인가하여 인쇄하기 위해서는 프린트 모듈(240)에서는 비지(Busy) 신호(BUSY)를 PC(100)으로 전송하여 현재 인쇄작업 중을 알려 인쇄데이터를 전송하지 않도록 한다.Accordingly, in order to print the fax data generated by demodulation through the modem 220 and the scanned image data generated by the scanner part 240, a DMA channel for transmitting data is received and printed. At this time, in order to apply the data generated through the modem 220 and the scanner part 230 to the print module 240 to print, the busy module BUSY is sent to the PC 100 in the print module 240. Do not send print data by sending to inform the current print job.

보다 구체적으로는, 모뎀(220)과 스캐너 파트(230)을 통해서 발생된 인쇄데이터가 있으면 프린트 인터페이스 로직(260)의 DREQ 발생단(263)을 구동시켜 DREQ 신호를 출력하게 된다. DREQ 발생단(263)으로부터 출력되는 DREQ 신호는 MPU(250)으로 인가된다. DREQ 신호를 인가받은 MPU(250)은, 인가된 DERQ 신호에 따라 DACK 신호를 발생하여 모뎀(220) 또는, 스캐너 파트(230)에서 발생된 인쇄데이터를 DMA 채널을 통해 보내게 된다. 수신되는 인쇄데이터는, 복합기(200)에서 일반적으로 사용하던 병렬 포트(Centronics)를 통해 보내기 위해 P1284 규격의 컴패터빌리티 모드(Compatibility mode)에 따라 신호처리를 하여 데이터를 전송하게 된다.More specifically, when there is print data generated through the modem 220 and the scanner part 230, the DREQ generation terminal 263 of the print interface logic 260 is driven to output the DREQ signal. The DREQ signal output from the DREQ generation stage 263 is applied to the MPU 250. The MPU 250 receiving the DREQ signal generates a DACK signal according to the applied DERQ signal to transmit print data generated by the modem 220 or the scanner part 230 through the DMA channel. The received print data is signal-processed according to the P1284 standard's compatibility mode to send data through a parallel port (Centronics) generally used in the multifunction apparatus 200 to transmit the data.

이와 같이, 모뎀(220) 및 스캐너 파트(230)에서 발생된 데이터를 프린트 모듈(240)에서 수신받기 위해 먼저, 메모리부(250a)에 저장된 인쇄데이터를 도 4에 도시된 MPU(250)의 DMA의 사이클(Cycle)에 의해 DMA 채널에 로드(Load)하게 된다. 즉, 도 4에 도시된 파형(A)에서와 같이 MPU(250)은 일정한 주기를 갖는 클럭(Clock)에 동기되어 동작한다.As such, in order to receive the data generated by the modem 220 and the scanner part 230 from the print module 240, first, the DMA of the MPU 250 illustrated in FIG. 4 is used to print data stored in the memory unit 250a. It is loaded to DMA channel by cycle of. That is, as in the waveform A shown in FIG. 4, the MPU 250 operates in synchronization with a clock clock having a certain period.

발생된 클럭의 주기에 따라 모뎀(220) 또는, 스캐너 파트(230)는 발생된 데이터를 일시 저장한 메모리부(250a)로부터 전송하기 위해 파형(E)와 같은 DREQ 신호를 MPU(250)으로 인가한다. DREQ 신호를 인가받은 MPU(250)은, 인가된 DERQ 신호에 따라 데이터를 전송하기 위한 DMA 채널을 허가하는 파형(F)와 같은 DACK 신호를 발생하여 메모리부(250a)로부터 DMA 채널을 통해 전송하도록 허가하게 된다.The modem 220 or the scanner part 230 applies a DREQ signal such as a waveform E to the MPU 250 to transmit the generated data from the memory unit 250a that temporarily stores the generated data. do. The MPU 250 receiving the DREQ signal generates a DACK signal such as a waveform F for allowing a DMA channel for transmitting data according to the applied DERQ signal, and transmits the DACK signal from the memory unit 250a through the DMA channel. Will be allowed.

허가된 DMA 채널에 따라 모뎀(220) 또는 스캐너 파트(230)에서 발생된 인쇄데이터는, MPU(250)에 의해 발생된 파형(C)와 같은 어드레스(Address) 신호에 따라 MPU(250)에서 파형(B)에 나타낸 로우 레벨(Low level) 주기에서 데이터를 메모리부(250a)에서 리드(Read)하여 DMA 채널에 로드(Load)하게 된다. 이 때, 파형(D)에서 빗금친 영역은 유효 데이터 영역을 나타낸다.The print data generated by the modem 220 or the scanner part 230 in accordance with the licensed DMA channel is waveformd in the MPU 250 in accordance with an address signal such as the waveform C generated by the MPU 250. In the low level cycle shown in (B), data is read from the memory unit 250a and loaded into the DMA channel. At this time, the shaded area in the waveform D represents the effective data area.

이와 같이 MPU(250)에 의해 DMA 채널에 로드(Load)된 데이터는 인쇄를 위해 프린트 모듈(240)로 전송하게 된다. 메모리부(250a)에 저장된 인쇄데이터를 프린트 모듈(240)으로 전송하기 위해서서는, 프린트 모듈(240)에서 발생된 상태감지신호 중에 비지(Busy) 신호(BUSY)를 감지하게 된다. 즉, 프린트 모듈(240)은 현 인쇄작업 상태에 따라 비지 신호(BUSY)를 출력하고, 작업 상태에 따라 발생된 인쇄데이터의 인가를 허가하는 신호(*ACK), 인쇄매체를 선택한 신호(SLCT), 동작 중 발생되는 에러(Error) 신호(*ERROR), 인쇄매체의 유,무 신호(PE)등을 발생하여 프린트 인터페이스 로직(260)의 제 2 멀티플렉서(MUX2)로 전송한다.As such, the data loaded in the DMA channel by the MPU 250 is transmitted to the print module 240 for printing. In order to transmit the print data stored in the memory unit 250a to the print module 240, the busy signal BUSY is detected among the state detection signals generated by the print module 240. That is, the print module 240 outputs a busy signal BUSY according to the current print job state, a signal (* ACK) for allowing the application of the print data generated according to the job state, and a signal for selecting the print medium (SLCT). In addition, an error signal (* ERROR) generated during the operation, a signal of the presence or absence of a print medium, and the like are generated and transmitted to the second multiplexer (MUX2) of the print interface logic 260.

제 2 멀티플렉서(MUX2)로 전송된 프린트 모듈(240)의 전송된 상태감지신호(BUSY, *ACK, SLCT, *ERROR, PE)는 각각 프린트 모듈의 상태 감지 및 인터럽트 제어단(261)과 PC(100)으로 인가된다. 상태감지신호(BUSY, *ACK, SLCT, *ERROR, PE)를 인가받은 프린트 모듈의 상태 감지 및 인터럽트 제어단(261)은, 프린트 모듈 상태 감지단(261a)를 통해서 상태감지신호를 MPU(250)으로 인가하고, 인터럽트 제어단(262b)는 인가된 상태감지신호(BUSY, *ACK, SLCT, *ERROR, PE)의 유,무에 따라 인터럽트(Interrupt)를 발생하여 MPU(250)으로 인가하게 된다.The transmitted state detection signals BUSY, * ACK, SLCT, * ERROR, PE of the print module 240 transmitted to the second multiplexer MUX2 are respectively the state detection and interrupt control stages 261 and the PC ( 100). The state detection and interrupt control stage 261 of the print module receiving the state detection signals (BUSY, * ACK, SLCT, * ERROR, PE) receives the state detection signals through the print module state detection stage 261a. The interrupt control terminal 262b generates an interrupt based on the presence or absence of the applied state detection signals BUSY, * ACK, SLCT, * ERROR, and PE, and applies the interrupt to the MPU 250. do.

즉, 프린터 모듈(240)에서 비지 신호(BUSY)가 발생되고 발생된 비지 신호(BUSY)가 PC(100)에서 발생된 인쇄데이터를 인가받아 인쇄작업 중임을 알리는 신호이면, 인터럽트 제어단(262b)는 인터럽트(Interrrupt) 발생을 하지 않는다. 따라서, 프린트 모듈(240)은 PC(100)에서 발생된 인쇄제어신호인, 초기화 제어신호(INIT), 인쇄매체 등의 선택신호(SLCTIN), 자동용지 급지 제어신호(AUTOFD)와 그리고 인쇄데이터를 전송하기 위한 스트로브 신호(STROBE)를 인가받는다.That is, when the busy signal BUSY is generated in the printer module 240 and the generated busy signal BUSY is a signal indicating that a print job is received by receiving the print data generated from the PC 100, the interrupt control terminal 262b. Does not generate an interrupt. Accordingly, the print module 240 may output the initialization control signal INIT, the selection signal SLCTIN, the automatic paper feed control signal AUTOFD, and the print data, which are print control signals generated by the PC 100. The strobe signal STROBE is transmitted.

인가된 인쇄제어신호에 따라 프린트 모듈(240)은 제어되어 인쇄 작업 준비를 실시하게 되고, 이러한 인쇄 작업 준비가 완료되면 프린트 모듈(240)은 PC(100)에서 발생된 데이터를 스트로브 신호(STROBE)에 따라 전송 받는다. 이 때, PC(100)에서 발생된 인쇄데이터는, 프린트 인터페이스 로직(260)의 멀티플렉서부(266)의 제 5 멀티플렉서(MUX5)를 통해서 선택되어 프린트 모듈(240)으로 전송되어 인쇄작업이 실시된다.The print module 240 is controlled according to the applied print control signal to prepare a print job. When the print job preparation is completed, the print module 240 outputs data generated from the PC 100 to the strobe signal STROBE. Receive according to. At this time, the print data generated by the PC 100 is selected through the fifth multiplexer MUX5 of the multiplexer unit 266 of the print interface logic 260 and transmitted to the print module 240 to perform a print job. .

이와 같이, 항시 PC(100)에서 발생된 인쇄데이터에 따라 인쇄작업을 실시하도록 구성된 상태에서 MPU(250)에서 인쇄데이터가 발생되면, 발생된 인쇄데이터를 프린트 모듈(240)으로 전송하기 위해서는 DMA 채널을 이용하는 방법과, MPU(250)이 직접 데이터를 보내는 방법이 있다.As such, when print data is generated in the MPU 250 while being configured to perform a print job according to the print data generated at the PC 100 at all times, the DMA channel may be used to transmit the generated print data to the print module 240. And a method in which the MPU 250 directly sends data.

먼저, DMA 채널을 이용하는 방법은 크게, 프린터 모듈(240)로부터 발생되는 비지 신호(BUSY)가 디스에이블(Disable) 되면 MPU(250)이 프린트 인터페이스 로직(260)에 알려 DREQ 신호를 발생하여 MPU(250)의 DMA 채널을 요구하는 과정과, 상기 DMA 채널을 요구하는 과정에서 DMA 채널을 요구하는 DREQ 신호에 응답하여 MPU(250)에서 DACK 신호를 출력하여 DMA 채널의 사용을 허가하는 과정과, 상기 DMA 채널의 사용을 허가하는 과정에서 DMA 채널이 허가되어 할당되면 할당된 DMA 채널을 이용하여 인쇄 데이터를 전송하기 위한 스트로브(Strobe) 신호(STROBE)를 발생하는 과정과, 상기 스트로브 신호(STROBE)를 발생하는 과정에서 발생된 스트로브 신호(STROBE)에 따라 프린트 모듈(240)로 데이터를 전송하는 과정을 통해서 모뎀(220) 또는, 스캐너 파트(230)을 통해서 발생된 데이터를 프린터 모듈(240)으로 전송하게 된다.First, the method using the DMA channel is large. When the busy signal BUSY generated from the printer module 240 is disabled, the MPU 250 notifies the print interface logic 260 to generate a DREQ signal to generate the MPU ( Requesting a DMA channel of 250), permitting the use of a DMA channel by outputting a DACK signal from the MPU 250 in response to a DREQ signal requesting a DMA channel in the request of the DMA channel; If the DMA channel is permitted and assigned in the process of allowing the use of the DMA channel, generating a strobe signal STROBE for transmitting print data using the allocated DMA channel, and generating the strobe signal STROBE. The data generated through the modem 220 or the scanner part 230 is transferred to the print module 240 according to the strobe signal STROBE generated in the process of generating the printer module 24. 0).

이러한 방법이 적용된 프린트 인터페이스 로직(260)을 이용하여 프린트 모듈(240)으로 인쇄데이터를 전송하는 동작을 첨부된 도 5를 이용하여 보다 상세하게 살펴보면 다음과 같다.The operation of transmitting print data to the print module 240 using the print interface logic 260 to which the above method is applied will be described in more detail with reference to FIG. 5.

도 5에 도시된 바와 같은 프린트 인터페이스 로직(260)에서 발생된 파형에 따라 전송된다. 도 5에 도시된 파형 중에 파형(G)는, MPU(250)에서 발생된 클럭(Clcok)와 동기되는 클럭(Clock)이고, MPU(240)에 의해 리드(Read)된 데이터를 프린터 모듈(240)으로 전송하기 위해 프린터 모듈(240)에서 발생된 파형(K)인 비지 신호(BUSY)가 없으면 프린트 모듈의 감지 및 인터럽트 제어단(261)의 인터럽트 제어단(261)은 인터럽트(Interrupt)를 발생하게 된다.And transmitted according to the waveform generated by the print interface logic 260 as shown in FIG. Among the waveforms shown in FIG. 5, the waveform G is a clock synchronous with the clock Clcok generated by the MPU 250, and the printer module 240 stores data read by the MPU 240. If there is no busy signal BUSY, which is a waveform K generated by the printer module 240, to be transmitted to the TNC, the interrupt control stage 261 of the detection and interrupt control stage 261 of the print module generates an interrupt. Done.

발생된 인터럽트(Interrupt)는 MPU(250)에서 인가받는다. 이 때, MPU(250)이 프린트 인터페이스 로직(260)을 제어하여 DREQ 발생단(264)를 구동시켜 도 5에 도시된 파형(L)과 같은 DREQ 신호를 발생하게 된다. DERQ 발생단(264)를 통해서 발생된 DERQ 신호를 MPU(250)에서 인가 받는다. DERQ 신호를 인가받은 MPU(250)은 인가된 DREQ 신호에 따라 현재 다른 작업이 없으면, 도 5에 도시된 파형(M)과 같은 DACK 신호를 발생하게 된다.The generated interrupt is applied by the MPU 250. At this time, the MPU 250 controls the print interface logic 260 to drive the DREQ generation stage 264 to generate a DREQ signal such as waveform L shown in FIG. 5. The DERQ signal generated through the DERQ generator 264 is applied by the MPU 250. The MPU 250 receiving the DERQ signal generates a DACK signal such as the waveform M shown in FIG. 5 when there is no other operation according to the applied DREQ signal.

MPU(250)을 통해 발생된 DACK 신호는 멀티플렉서부(260)의 제 3 멀티플렉서(MUX3)에서 인가받아 H/W 스트로브 발생단(264) 및 데이터 출력 래치단(265)로 인가하게 된다. DACK 신호를 인가받은 H/W 스트로브 발생단(264)는, 인가된 DACK 신호에 따라 H/W 스트로브 발생단(264)는 도 5에 도시된 파형(N)과 같은 스트로브 신호(STROBE)를 발생하게 된다.The DACK signal generated through the MPU 250 is applied by the third multiplexer MUX3 of the multiplexer 260 to the H / W strobe generation stage 264 and the data output latch stage 265. The H / W strobe generation stage 264 receiving the DACK signal generates the strobe signal STROBE such as the waveform N shown in FIG. 5 according to the applied DACK signal. Done.

H/W 스트로브 발생단(264)을 통해서 발생된 스트로브 신호(STROBE)는 제 4 멀티플렉서(MUX4)로 인가된다. H/W 스트로브 발생단(264)를 통해서 발생된 스트로브 신호(STROBE)를 인가받은 제 4 멀티플렉서(MUX4)는, 인가된 스트로브 신호(STROBE)를 제 1 멀티플렉서(MUX1)로 인가하게 된다. H/W 스트로브 발생단(264)를 통해서 발생된 스트로브 신호(STROBE)를 인가받은 제 1 멀티플렉서(MUX1)는, 인가된 스트로브 신호(STROBE)를 프린트 모듈(240)으로 인가한다.The strobe signal STROBE generated through the H / W strobe generation stage 264 is applied to the fourth multiplexer MUX4. The fourth multiplexer MUX4 receiving the strobe signal STROBE generated through the H / W strobe generation stage 264 applies the applied strobe signal STROBE to the first multiplexer MUX1. The first multiplexer MUX1 receiving the strobe signal STROBE generated through the H / W strobe generation stage 264 applies the applied strobe signal STROBE to the print module 240.

이와 동시에 제 3 멀티플렉서(MUX3)을 통해서 출력되는 DACK 신호를 인가받은 데이터 출력 래치단(265)는, 인가된 DACK 신호에 따라 메모리부(256a)에 저장된 모뎀(220) 또는 스캐너 파트(230)에서 발생된 데이터를 DMA 채널을 통해서 인가받아 래치(Latch)하게 된다. 데이터 출력 래치단(265)에 의해 래치(Latch)된 인쇄데이터는 제 5 멀티플렉서(MUX5)로 인가하게 된다.At the same time, the data output latch stage 265 that receives the DACK signal output through the third multiplexer MUX3 is connected to the modem 220 or the scanner part 230 stored in the memory unit 256a according to the applied DACK signal. The generated data is received through the DMA channel and latched. The print data latched by the data output latch stage 265 is applied to the fifth multiplexer MUX5.

이와 같이, 제 1 멀티플렉서(MUX1)로부터 출력되는 스트로브 신호(STORBE) 파형(N)과 제 5 멀티플렉서(MUX5)로부터 출력되는 인쇄데이터 파형(O)를 프린터 모듈(240)으로 전송하게 된다. 이 때, 프린트 모듈(240)으로 전송되는 인쇄 데이터는, 도 5에 도시된 파형(J)에 나타낸 빗금친 영역인 유효 데이터를 1 바이트(Byte) 즉, 한 프레임씩 인가받게 된다. 한 프레임의 인쇄데이터를 인가받은 프린트 모듈(240)은, 인가된 인쇄데이터에 따라 인자를 형성하는 인쇄작업을 실시하게 된다. 이 때, 한 프레임의 인쇄 작업이 진행 중이면 프린터 모듈(240)은, 제 1 멀티플렉서(MUX1)를 통해서 DREQ 발생단(263)으로 비지 신호(BUSY)를 인가한다.As such, the strobe signal STORBE waveform N output from the first multiplexer MUX1 and the print data waveform O output from the fifth multiplexer MUX5 are transmitted to the printer module 240. At this time, the print data transmitted to the print module 240 receives valid data, which is the hatched area shown in the waveform J shown in FIG. 5, by 1 byte, that is, one frame. The print module 240 receiving the print data of one frame performs a print job for forming a factor according to the applied print data. At this time, when a print job of one frame is in progress, the printer module 240 applies the busy signal BUSY to the DREQ generation terminal 263 through the first multiplexer MUX1.

비지 신호(BUSY)를 인가받은 DREQ 발생단(263)은, 인가된 비지 신호(BUSY)에 따라 DREQ 신호의 발생을 중지하고, 더 이상 모뎀(220) 또는 스캐너 파트(230)에서 발생된 데이터가 프린터 모듈(240)으로 전송되는 것을 중지시킨다. 이 때, 프린트 모듈(240)에서 비지 신호(BUSY)가 디스에이블 되면 DREQ 발생단(263)을 통해서 MPU(250)으로 DREQ 신호를 발생시켜, DACK 신호를 인가받아, 인가된 DMA 채널에 따라 다시 프린터 모듈(240)을 통해 인쇄 작업을 실시하게 된다. 즉, 도 5에 도시된 바와 같이 파형(O)와 같이, 모뎀(220) 또는, 스캐너 파트(230)에서 발생된 인쇄데이타 연속해서 프린트 모듈(240)로 인가되어 인쇄 작업을 완료하게 된다.The DREQ generation stage 263 receiving the busy signal BUSY stops the generation of the DREQ signal according to the applied busy signal BUSY, and data generated by the modem 220 or the scanner part 230 is no longer stored. Stop transmission to the printer module 240. At this time, when the busy signal BUSY is disabled in the print module 240, a DREQ signal is generated to the MPU 250 through the DREQ generation stage 263, and the DACK signal is applied to the DPU signal. The print job is performed through the printer module 240. That is, as shown in FIG. 5, the print data generated by the modem 220 or the scanner part 230 is successively applied to the print module 240 as shown by the waveform O to complete the print job.

그리고, MPU(250)이 직접 데이터를 보내는 방법에 의해 모뎀(220) 또는, 스캐너 파트(230)에서 발생된 데이터를 프린터 모듈(240)으로 전송하는 방법은, MPU(250)에 의해 메모리부(250a)에 저장된 인쇄데이터를 데이터 출력 래치단(265)에 래치(Latch)시키는 과정과, 상기 인쇄 데이터를 데이터 출력 래치단(265)에 래치시키는 과정이 완료되면 인쇄데이터의 셋업 타임(Setup time)을 위해 일정시간 지연 후 프린터 모듈 제어단(262)의 레지스터(Register)의 비트(Bit)를 세팅(Setting)하여 스트로브 신호(STROBE)를 발생시키는 과정과, 상기 스트로브 신호(STROBE)를 발생하는 과정에서 발생된 스트로브 신호(STROBE)에 따라 프린트 모듈(240)이 데이터를 전송받을 수 있도록 알려주는 과정을 통해 프린터 모듈(240)으로 모뎀(220) 또는 스캐너 파트(230)에서 발생된 데이터를 전송받도록 동작되도록 구성된다.In addition, the method of transmitting the data generated by the modem 220 or the scanner part 230 to the printer module 240 by the method in which the MPU 250 directly sends data is performed by the MPU 250 using the memory unit ( When the print data stored in 250a is latched to the data output latch stage 265 and the print data is latched to the data output latch stage 265, a setup time of the print data is completed. In order to generate a strobe signal STROBE by setting a bit of a register of the printer module control terminal 262 after a predetermined time delay, and generating the strobe signal STROBE. In order to receive the data generated from the modem 220 or the scanner part 230 to the printer module 240 through the process to inform the print module 240 to receive the data according to the strobe signal (STROBE) generated in the It works Rock consists.

이와 같이 모뎀(220) 또는, 스캐너 파트(230)에서 발생한 인쇄할 데이터를 프린트 모듈(240)으로 전송하는 방법은 두가지가 있는데 일반적으로 시스템의 상황에 따라 적절하게 혼합하여 사용하게 된다. 예를 들어, 니블 모드(Nibble mode)로 프로토콜(Protocol)을 주고받을 때는 타이밍(Timing)을 슬로우(Slow)로 조절할 수 있게 직접 레지스터을 제어하는 방법 즉, MPU(250)이 직접 데이터를 보내는 방법을 사용하게 된다. 또한, 프린트 모듈(240)으로 연속해서 단방향으로 인쇄할 데이터를 보낼 때는 고속으로 데이타를 보낼 수 있게 DMA 채널을 이용하는 방법을 사용하게 된다. 또한, 본 발명의 프린트 인터페이스 로직에 UART을 부가하게 되면 PC의 팩스 또는 스캔(Scan)을 추가할 수 있게 되어 보다 편리한 복합기를 구성할 수 있다.As such, there are two methods of transmitting the data to be printed generated by the modem 220 or the scanner part 230 to the print module 240. In general, appropriately mixed and used according to the situation of the system. For example, when the protocol is transmitted and received in nibble mode, the method of directly controlling the registers to adjust the timing to slow, that is, how the MPU 250 directly sends data. Will be used. In addition, when sending data to be continuously printed in one direction to the print module 240, a method using a DMA channel is used to send data at high speed. In addition, when the UART is added to the print interface logic of the present invention, it is possible to add a fax or a scan of a PC, thereby configuring a more convenient multifunction device.

이상에서 설명한 바와 같이 본 발명은, 모뎀으로 구성된 팩스와 프린터의 인터페이스가 가능하여 팩스에서 넘겨주는 데이터를 프린터에서 받은 수 있게 되어 프린터는 팩스의 인쇄장치로써 사용 가능하게 되면서 PC의 인쇄장치로서 사용 가능한 복합기로서의 기능을 수행할 수 있고, 복합기의 각 기능을 서로 독립적인 모듈의 결합임으로 낮은 수행 능력을 갖는 MPU를 사용하더라도 듀얼 엑세스(Dual access)의 구현이 용이해지는 효과가 있다.As described above, the present invention enables the interface between a fax and a printer configured as a modem so that the data received from the fax can be received from the printer, and thus the printer can be used as a printing device for a fax while being used as a printing device for a PC. Functions as a multifunction device can be performed, and since the functions of the multifunction device are combined with modules independent of each other, dual access can be easily realized even when using a low performance MPU.

Claims (6)

인쇄를 위한 제어신호와 인쇄데이터를 인가받아 인쇄매체를 급지하여 인쇄작업을 실행하고 현재 작업의 상태를 감지하여 상태신호를 출력하는 프린트 모듈(Module)과, 스캐너 파트로부터 스캐닝(Scanning)된 원고에 기록된 이미지 데이터가 복사를 위한 데이터이거나 모뎀으로부터 복조되어 출력되는 데이터를 인가받아 메모리부에 일시 저장하고 저장된 데이터를 인쇄하기 위한 제어신호와 인쇄데이터를 출력하는 MPU와, 상기 MPU로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 PC로부터 출력되는 인쇄를 위한 제어신호와 인쇄 데이터와 상기 프린트 모듈로부터 출력되는 상태신호를 인가받고 인가된 신호와 데이터의 입출력을 제어하는 프린트 인터페이스 로직을 포함하는 복합기의 인터페이스 장치.The print module receives the control signal and the print data for printing, feeds the print media, executes the print job, detects the status of the current job, and outputs the status signal to the scanned document from the scanner part. Recorded image data is data for copying, or the MPU receiving the data demodulated and outputted from the modem and temporarily storing it in the memory unit and outputting control signals and print data for printing the stored data, and printing output from the MPU. Interface of the multifunction apparatus including control interface for the control signal and the print data and the print signal output from the PC and the print interface logic to control the input and output of the applied signal and the data received from the print data and the status signal output from the print module Device. 제 1 항에 있어서,The method of claim 1, 상기 프린트 인터페이스 로직은, 상기 프린트 모듈로부터 출력되는 상태감지신호를 인가받아 선택적으로 출력하는 제 2 멀티플렉서와, 상기 제 2 멀티플렉서로부터 선택적으로 출력되는 상태감지신호에 따라 인터럽트(Interrupt) 신호를 발생하여 상기 MP으로 출력하는 프린트 모듈의 상태 감지 및 인터럽트 제어단과, 상기 프린트 모듈의 상태 감지 및 인터럽트 제어단으로부터 출력되는 인터럽트 신호를 인가받아 상기 MPU로부터 출력되는 인쇄를 하기 위한 제어신호를 인가받아 처리하여 인쇄제어신호와 직접인쇄를 위한 스트로브 신호를 출력하는 프린트 모듈 제어단과, 상기 MPU에서 팩스데이터가 발생하면 발생된 팩스데이터를 인쇄하기 위해 DMA 채널을 활당받기 위한 제어신호를 인가받아 DREQ 신호를 상기 MPU로 인가하는 DREQ 발생단과, 상기 DREQ 발생단으로부터 발생된 DREQ신호에 응답하여 상기 MPU로부터 출력되는 DACK 신호를 인가받아 인쇄데이터의 전송을 제어하는 스트로브 신호를 출력하는 H/W 스트로브 발생단과, 상기 DREQ 발생단으로부터 발생된 DREQ신호에 응답하여 상기 MPU로부터 출력되는 DACK 신호와 상기 MPU로부터 출력되는 DACK 신호를 인가받아 활당된 DMA 채널에 데이터를 래치(Latch)시키는 데이터 출력 래치단과, 상기 프린트 모듈 제어단과 DREQ 발생단과 스트로브 발생단과 데이터 출력 래치단과 PC와 신호를 송수신하는 프린트 모듈과의 입출력을 제어하는 멀티플렉서부로 구성됨을 특징으로 하는 복합기의 인터페이스 장치.The print interface logic may be configured to generate an interrupt signal according to a second multiplexer selectively receiving a state sensing signal output from the print module and a state sensing signal selectively output from the second multiplexer. Print control by processing the state detection and interrupt control stage of the print module output to the MP, the control signal for printing from the MPU by receiving the interrupt signal output from the state detection and interrupt control stage of the print module A print module control stage that outputs a signal and a strobe signal for direct printing, and a DREQ signal is applied to the MPU by receiving a control signal for receiving a DMA channel to print the generated fax data when the fax data is generated in the MPU. A DREQ generating stage and the DREQ generating stage A H / W strobe generation stage for receiving a DACK signal output from the MPU in response to a DREQ signal generated from the MPU and outputting a strobe signal for controlling transmission of print data, and in response to the DREQ signal generated from the DREQ generation stage. A data output latch stage for latching data on an assigned DMA channel by receiving the DACK signal output from the MPU and the DACK signal output from the MPU, the print module control stage, the DREQ generation stage, the strobe generation stage, the data output latch stage, and the PC. And a multiplexer unit for controlling input / output with a print module that transmits and receives a signal. 제 2 항에 있어서,The method of claim 2, 상기 프린트 모듈의 상태 감지 및 인터럽트 제어단은, 상기 프린트 모듈로부터 출력되는 상태신호를 인가받아 프린트 모듈의 현 작업상태를 감지하여 감지된 결과를 상기 MPU으로 인가하는 프린트 모듈 상태 감지단과, 상기 상기 프린트 모듈로부터 출력되는 상태감지신호를 인가받아 상기 프린트 모듈의 현 작업상태를 감지하여 감지된 결과에 따라 인터럽트(Interrupt) 신호를 발생하여 출력하는 인터럽트 제어단으로 구성됨을 특징으로 하는 복합기의 인터페이스 장치.The print module state detection stage of the print module, the state detection and interrupt control stage, receives a state signal output from the print module to detect the current working state of the print module and apply the detected result to the MPU, and the print And an interrupt control stage configured to receive a state detection signal output from a module, detect a current working state of the print module, and generate and output an interrupt signal according to the detected result. 제 2 항에 있어서,The method of claim 2, 상기 멀티플렉서부는, 상기 프린트 모듈 제어단으로부터 출력되는 인쇄제어신호와 PC로부터 출력되는 인쇄제어신호를 인가받아 선택하여 출력하는 제 1 멀티플렉서와, 상기 DREQ 발생단으로부터 발생된 DREQ신호에 응답하여 상기 MPU로부터 출력되는 DACK 신호를 인가받아 출력하는 제 3 멀티플렉서와, 상기 제 3 멀티플렉서로부터 출력되는 DACK 신호에 따라 상기 H/W 스트로브 발생단에서 발생된 스트로브 신호와 상기 프린트 모듈 제어단으로부터 직접 인쇄를 위한 스트로브(Strobe) 신호를 인가받아 선택하여 출력하는 제 4 멀티플렉서와, 상기 제 3 멀티플렉서로부터 출력되는 DACK 신호에 따라 상기 데이터 출력 래치단으로부터 래치된 인쇄데이터와 PC로부터 출력되는 인쇄데이터를 인가받아 선택하여 출력하는 제 5 멀티플렉서로 구성됨을 특징으로 하는 복합기의 인터페이스 장치.The multiplexer unit receives a print control signal output from the print module control terminal and a print control signal output from a PC, selects and outputs a first multiplexer, and the MRE from the MPU in response to a DREQ signal generated from the DREQ generation terminal. A strobe for printing directly from the strobe signal generated at the H / W strobe generation stage and the print module control stage according to the third multiplexer for receiving and outputting the output DACK signal, and the DACK signal outputted from the third multiplexer ( A fourth multiplexer that receives and selects a Strobe signal, and receives and selects and outputs print data latched from the data output latch terminal and print data output from a PC according to a DACK signal output from the third multiplexer. A complex comprising a fifth multiplexer Interface apparatus of the group. 프린터 모듈로부터 발생되는 비지 신호가 디스에이블(Disable) 되면 프린트 인터페이스 로직에서 DREQ 신호를 발생하여 MPU의 DMA 채널을 요구하는 과정과, 상기 DMA 채널을 요구하는 과정에서 DMA 채널을 요구하는 DREQ 신호에 응답하여 MPU로부터 DACK 신호를 출력하여 DMA 채널의 사용을 허가하는 과정과, 상기 DMA 채널의 사용을 허가하는 과정에서 DMA 채널이 허가되어 할당되면 할당된 DMA 채널을 이용하여 인쇄 데이터를 전송하기 위한 스트로브(Strobe) 신호를 발생하는 과정과, 상기 스트로브 신호를 발생하는 과정에서 발생된 스트로브 신호에 따라 프린트 모듈로 데이터를 전송하는 과정을 포함하는 복합기의 인터페이스 방법.When the busy signal generated from the printer module is disabled, the print interface logic generates a DREQ signal to request a DMA channel of an MPU, and responds to a DREQ signal requesting a DMA channel in the process of requesting the DMA channel. A strobe for transmitting print data using the allocated DMA channel if the DMA channel is permitted and allocated in the process of permitting the use of the DMA channel by outputting a DACK signal from the MPU. And a step of transmitting data to a print module according to the strobe signal generated in the step of generating the strobe signal. MPU에 의해 메모리부에 저장된 인쇄데이터를 데이터 출력 래치단에 래치(Latch)시키는 과정과, 상기 인쇄 데이터를 데이터 출력 래치단에 래치(Latch)시키는 과정이 완료되면 인쇄데이터의 셋업 타임(Setup time)을 위해 일정시간 지연 후 프린터 모듈 제어단의 레지스터(Register)의 비트(Bit)를 세팅(Setting)하여 스트로브 신호를 발생시키는 과정과, 상기 스트로브 신호를 발생하는 과정에서 발생된 스트로브 신호에 따라 프린트 모듈이 데이터를 전송받을 수 있도록 알려주는 과정을 포함하는 복합기의 인터페이스 방법.When the print data stored in the memory unit is latched to the data output latch stage by the MPU and the print data is latched to the data output latch stage, a setup time of the print data is completed. In order to generate a strobe signal by setting a bit of the register of the printer module control stage after a delay for a predetermined time, and generating the strobe signal according to the strobe signal generated. Interface method of a multifunction apparatus including a process of informing this data to be received.
KR1019970030536A 1997-07-02 1997-07-02 Interface device and method of multifunction device KR19990008541A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970030536A KR19990008541A (en) 1997-07-02 1997-07-02 Interface device and method of multifunction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970030536A KR19990008541A (en) 1997-07-02 1997-07-02 Interface device and method of multifunction device

Publications (1)

Publication Number Publication Date
KR19990008541A true KR19990008541A (en) 1999-02-05

Family

ID=41693106

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970030536A KR19990008541A (en) 1997-07-02 1997-07-02 Interface device and method of multifunction device

Country Status (1)

Country Link
KR (1) KR19990008541A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009096711A2 (en) * 2008-01-29 2009-08-06 Bluebird Soft Co., Ltd. Barcode scanner and barcode reading method
KR20180083493A (en) * 2017-01-13 2018-07-23 권유진 Multicolor chalk

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009096711A2 (en) * 2008-01-29 2009-08-06 Bluebird Soft Co., Ltd. Barcode scanner and barcode reading method
WO2009096711A3 (en) * 2008-01-29 2009-10-01 블루버드소프트 Barcode scanner and barcode reading method
KR20180083493A (en) * 2017-01-13 2018-07-23 권유진 Multicolor chalk

Similar Documents

Publication Publication Date Title
US7200685B2 (en) Communication apparatus for communicating data between separate toplogies, and related method, storage medium, and program
JP2001027986A (en) Data processor and processing part selecting method
US6618161B1 (en) Printer system and method of reproducing an image
JP3767026B2 (en) Multifunctional peripheral device and storage medium
JPH08289065A (en) Multi-function image processing unit
KR19990008541A (en) Interface device and method of multifunction device
US20080259408A1 (en) Apparatus, system, and method for processing image
JP3806987B2 (en) Multifunctional peripheral
JP2007081893A (en) Image reading apparatus and printing system
JP6833491B2 (en) Information processing device
JP2006338232A (en) Communication system
JP2000151873A (en) Information processing system and information processing method
JP3440117B2 (en) Printer control device
KR100570786B1 (en) Controller of multi function device
JP2006309444A (en) Data processing system
JP2018118477A (en) Image processing device, control method and program of the same
KR100306749B1 (en) Network Printer System
KR100325813B1 (en) Method for Transmitting Data in the Bi-direction Communication System
TWI247690B (en) Multi-functional peripheral
JP2004215071A (en) Integrated circuit device, communication interface board, and image forming apparatus
KR940011388B1 (en) Picture memory selection circuit for fax
JP3084472U (en) Scanning copier with multiple selectable printers
JP2005242917A (en) Image forming device
JP2003271544A (en) Relay board for converting data bus width
JP2003030132A (en) Multifunction machine and data transfer control method of multifunction machine

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application