KR19980029266A - Data transmission method according to device of multifunction device - Google Patents

Data transmission method according to device of multifunction device Download PDF

Info

Publication number
KR19980029266A
KR19980029266A KR1019960048513A KR19960048513A KR19980029266A KR 19980029266 A KR19980029266 A KR 19980029266A KR 1019960048513 A KR1019960048513 A KR 1019960048513A KR 19960048513 A KR19960048513 A KR 19960048513A KR 19980029266 A KR19980029266 A KR 19980029266A
Authority
KR
South Korea
Prior art keywords
multifunction
data
mode
negotiation
mode byte
Prior art date
Application number
KR1019960048513A
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 KR1019960048513A priority Critical patent/KR19980029266A/en
Publication of KR19980029266A publication Critical patent/KR19980029266A/en

Links

Landscapes

  • Facsimiles In General (AREA)

Abstract

가. 청구범위에 기재된 발명이 속하는 기술분야end. The technical field to which the invention described in the claims belongs

본 발명은 복합기의 디바이스에 따른 데이터 전송방법에 관한 것이다.The present invention relates to a data transmission method according to the device of the multifunction apparatus.

나. 발명이 해결하고자 하는 기술적 과제I. The technical problem to be solved by the invention

커맨드 패킷 방법을 사용하지 않고, 복합기가 다중작업하는 것처럼 동작하도록 데이터를 전송한다.Instead of using the command packet method, the MFP sends data to behave as if it were multitasking.

다. 발명의 해결방법의 요지All. Summary of Solution of the Invention

개인용 컴퓨터가 복합기에 니고시에이션을 수행할 때에 전송하는 모드 바이트에 특정 디바이스를 나타내는 데이터를 포함시켜 니고시에이션시에 복합기에 전송하고, 복합기는 상기 모드 바이트를 전송받아 상기 모드 바이트에 포함된 디바이스 설정데이터에 대응하는 인터페이스 포트로 복합기의 인터페이스 포트를 설정하여, 니고시에이션 이후에 입력되는 데이터를 해당 디바이스가 처리하는 것을 특징으로 한다.The personal computer includes data indicating a specific device in the mode byte transmitted when negotiating to the multifunction device, and transmits the data to the multifunction device during negotiation, and the multifunction device receives the mode byte and includes the device included in the mode byte. The device may set an interface port of the multifunction device to an interface port corresponding to the setting data, and the device may process data input after negotiation.

라. 발명의 중요한 용도la. Important uses of the invention

본 발명은 복합기의 데이터 전송방법에 사용된다.The present invention is used in the data transmission method of the multifunction apparatus.

Description

복합기의 디바이스에 따른 데이터 전송방법Data transmission method according to device of multifunction device

본 발명은 복합기에 관한 것으로, 특히 복합기의 디바이스에 따른 데이터 전송방법에 관한 것이다.The present invention relates to a multifunction device, and more particularly, to a data transmission method according to the device of the multifunction device.

통상적으로 복합기는 여러가지 디바이스들을 하나의 제품에 구현하여, 하나의 제품을 구입함으로서 여러 디바이스를 구입하는 효과를 얻게 하는 제품이다. 상기와 같은 복합기는 일반적으로 센트로닉스 병렬 인터페이스(Centronics Parallel Interface)로 개인용 컴퓨터와 연결되어 개인용 컴퓨터에 의하여 제어된다.Typically, a multifunction device is a product that implements several devices in one product, thereby obtaining the effect of purchasing several devices by purchasing one product. Such a multifunction device is generally connected to a personal computer through a Centronics Parallel Interface and controlled by the personal computer.

상기 개인용 컴퓨터가 복합기로 여러가지 디바이스들의 데이터들을 전송하는 과정을 설명한다. 우선 상기 개인용 컴퓨터가 복합기의 여러가지 디바이스를 제어하고, 여러가지 디바이스에 따른 데이터를 전송하기 위해서는 여러가지 디바이스를 제어하는 복합 드라이버를 구비하여야 한다. 즉 상기 복합기가 프린터, 스캐너, 팩스 디바이스등을 구비하면, 상기 개인용 컴퓨터는 프린터, 스캐너, 팩스를 제어하는 복합 드라이버를 구비하여야 한다. 상기와 같이 개인용 컴퓨터는 복합 드라이버를 구비하지만, 복합기와 개인용 컴퓨터간의 인터페이스는 단일 인터페이스를 사용한다. 이에따라 상기 개인용 컴퓨터는 복합기에 데이터를 전송할 때에는 현재 사용중인 디바이스에 따른 데이터를 단일 인터페이스를 통하여 전송하고, 전송이 종료되면 다시 다른 디바이스에 따른 데이터를 상기 단일 인터페이스를 통하여 전송하는 방법을 사용하였다.The process of transmitting the data of various devices by the personal computer to the multifunction device will be described. First, in order for the personal computer to control various devices of the multifunction apparatus and to transmit data according to various devices, the personal computer should be provided with a composite driver for controlling various devices. That is, if the multifunction apparatus includes a printer, a scanner, a fax device, or the like, the personal computer should have a multifunction driver for controlling the printer, scanner, and fax. As described above, the personal computer includes a compound driver, but the interface between the multifunction device and the personal computer uses a single interface. Accordingly, the personal computer used a method of transmitting data according to a device currently being used through a single interface when transmitting data to a multifunction device, and transmitting data according to another device through the single interface again when the transmission is completed.

상기한 바와 같이 종래의 데이터 전송방법은 단일 인터페이스를 사용하므로 다중작업을 수행할 수 없었다. 이에따라 종래에는 커맨드 패킷방법을 사용하여 실질적인 다중작업은 아니지만 사용자에게 복합기가 다중작업을 수행하는 것처럼 느끼도록 하였다.As described above, since the conventional data transmission method uses a single interface, multitasking cannot be performed. Accordingly, conventionally, the command packet method is used to make the user feel as if the multifunction device performs multitasking, although it is not a real multitasking.

상기 커맨드 패킷방법은 개인용 컴퓨터에서 복합기로 데이터를 전송할 때에 현재 사용중인 디바이스가 아닌 다른 디바이스에 해당하는 데이터의 전송을 가능하도록 하여 사용자는 다수의 디바이스가 동시에 동작하는 것처럼 느낄 수 있도록 하였다.The command packet method enables the transmission of data corresponding to a device other than the device currently being used when transmitting data from the personal computer to the multifunction device so that a user can feel as if a plurality of devices are operating at the same time.

상기 커맨드 패킷방법으로 복합기에 데이터를 전송하는 방법은 다음과 같다. 복합기가 특정 디바이스로 설정되어 있을 때에, 상기 특정 디바이스가 아닌 다른 디바이스에 따른 데이터를 개인용 컴퓨터에서 복합기로 보내기 전에, 개인용 컴퓨터는 복합기에 이스케이프(Escape) 명령을 전송한다. 상기 이스케이프 명령이 전송되면 복합기는 디바이스 인터프리터(Interpreter)를 실행시킨다. 상기 디바이스 인터프리터는 소프트웨어로서 서로 다른 디바이스간 데이터를 인터프리트한다. 상기 개인용 컴퓨터는 상기 이스케이프 명령의 전송 후에 다른 디바이스에 따른 데이터를 복합기에 전송한다. 상기 특정 디바이스로 설정된 복합기는 입력되는 데이터를 인터프리트하여 처리한다. 상기와 같이 입력되는 데이터의 인터프리트 중에 개인용 컴퓨터로부터 입력되는 데이터가 중단되면 원래의 특정 디바이스로 전환되지 않았다. 또한 상기 디바이스 인터프리터를 모든 디바이스가 구비하여야 하므로 각 디바이스의 제어부가 구비하는 프로그램이 많아졌다.A method of transmitting data to the multifunction apparatus using the command packet method is as follows. When the multifunction apparatus is set to a specific device, the personal computer transmits an escape command to the multifunction apparatus before sending data according to a device other than the specific device from the personal computer to the multifunction apparatus. When the escape command is sent, the multifunction apparatus executes a device interpreter. The device interpreter interprets data between different devices as software. The personal computer transmits data according to another device to the multifunction device after the transmission of the escape command. The multifunction device set as the specific device interprets and processes the input data. If the data input from the personal computer is interrupted during the interpretation of the data input as described above, it is not converted to the original specific device. In addition, since all devices must be provided with the device interpreter, there are many programs included in the control unit of each device.

상술한 바와 같이 종래의 복합기는 다중처리를 수행할 수 없어서 커맨드 패킷방법을 사용하였는데, 상기 커맨드 패킷방법을 사용하기 위해서는 모든 디바이스가 디바이스 인터프리터를 사용하여야 하고, 데이터의 인터프리트 중에 데이터가 중단되면 원래의 디바이스로 전환하지 못하는 문제점이 있었다.As described above, the conventional multifunction apparatus uses a command packet method because it cannot perform multiprocessing. To use the command packet method, all devices must use a device interpreter. There was a problem that could not be switched to the device.

따라서 본 발명의 목적은 커맨드 패킷방법을 사용하지 않고, 복합기가 다중처리를 수행하는 것처럼 동작하도록 하는 복합기의 디바이스에 따른 데이터 전송방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a data transmission method according to a device of a multifunction apparatus in which the multifunction apparatus operates as if the multifunction apparatus performs multiprocessing without using a command packet method.

도 1은 통상의 호스트의 블럭도이다.1 is a block diagram of a typical host.

도 2는 통상의 복합기의 블록도이다.2 is a block diagram of a conventional multifunction apparatus.

도 3은 본 발명의 바람직한 실시예에 따른 복합기의 디바이스에 따른 데이터 전송방법의 호스트에서의 흐름도이다.3 is a flowchart of a host of a data transmission method according to a device of a multifunction apparatus according to a preferred embodiment of the present invention.

도 4는 본 발명의 바람직한 실시예에 따른 복합기의 디바이스에 따른 데이터 전송방법의 복합기에서의 흐름도이다.4 is a flowchart of a multifunction apparatus of a data transmission method according to a device of a multifunction apparatus according to a preferred embodiment of the present invention.

상술한 목적을 달성하기 위한 본 발명은 개인용 컴퓨터에서 복합기에 니고시에이션을 수행할 때에 전송하는 모드 바이트에 디바이스 설정데이터를 포함시켜 니고시에이션시에 복합기에 전송하고, 복합기는 상기 모드 바이트를 전송받아 인터페이스를 상기 모드 바이트에 포함된 디바이스 설정데이터에 대응하는 디바이스로 전환설정하는 것을 특징으로 한다.In order to achieve the above object, the present invention includes device setting data in a mode byte transmitted when a personal computer performs negotiation on a multifunction device, and transmits the device setting data to the multifunction device on negotiation, and the multifunction device transmits the mode byte. And convert the interface to a device corresponding to the device setting data included in the mode byte.

이하 본 발명의 바람직한 실시예를 첨부한 도면을 참조하여 상세히 설명한다. 하기 설명 및 첨부도면에서 많은 특정 상세들이 본 발명의 보다 전반적인 이해를 제공하기 위해 나타나 있다. 이들 특정 상세들 없이 본 발명이 실시될 수 있다는 것은 이 기술분야에서 통상의 지식을 가진자에게 자명할 것이다. 그리고 본 발명의 요지를 불필요하게 흐릴 수 있는 공지기능 및 구성에 대한 상세한 설명은 생략한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description and the annexed drawings, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. It will be apparent to those skilled in the art that the present invention may be practiced without these specific details. And a detailed description of known functions and configurations that may unnecessarily obscure the subject matter of the present invention will be omitted.

본 발명은 양방향 통신이 가능한 센트로닉스 병렬 인터페이스로 복합기와 개인용 컴퓨터를 연결한다. 상기 센트로닉스 병렬 인터페이스를 사용한 양방향 통신은 통상적으로 1284 프로토콜을 사용한다. 상기 1284 프로토콜상의 1284 모드로 개인용 컴퓨터와 복합기의 통신을 수행하는 과정은 다음과 같다.The present invention connects a multifunction device and a personal computer with a Centronics parallel interface capable of bidirectional communication. Bidirectional communication using the Centronics parallel interface typically uses a 1284 protocol. The communication of the personal computer and the multifunction device in the 1284 mode on the 1284 protocol is as follows.

개인용 컴퓨터는 상기 1284 모드로 복합기와 통신을 수행하기 위하여 우선 니고시에이션(Negotiation)을 시작한다. 상기 니고시에이션은 두 디바이스간에 1284 프로토콜상에서 통신이 가능한 지를 검색하는 것을 말한다.The personal computer first initiates negotiation in order to communicate with the multifunction device in the 1284 mode. The negotiation refers to searching for communication between two devices on a 1284 protocol.

상기 니고시에이션을 수행하기 위하여 개인용 컴퓨터는 복합기에 모드 바이트(Mode Byte)를 전송한다. 이때 상기 복합기는 상기 모드 바이트를 전송받아 상기 모드 바이트에 대응하는 모드를 지원할 수 있는지에 대한 신호를 개인용 컴퓨터에 전송한다. 이때 상기 개인용 컴퓨터는 상기 신호를 검색하여 복합기가 지원할 수 있는 모드에 대한 데이터를 전송한다. 상기 모드에는 ECP 모드와 바이트 모드와 니블 모드가 있다. 즉, 개인용 컴퓨터는 복합기에 ECP 모드를 지원하는 가를 모드 바이트를 통하여 묻고, 만약 복합기가 상기 모드 바이트를 입력받아 ECP 모드를 지원한다는 신호를 전송하면 개인용 컴퓨터는 ECP 모드로 데이터를 전송한다. 그리고, 복합기가 ECP 모드를 지원하지 않는다는 신호를 전송하면 개인용 컴퓨터는 다시 바이트 모드를 지원하는 가를 모드 바이트로 묻는다. 이때 상기 복합기가 바이트 모드를 지원하면 바이트 모드를 지원한다는 신호를 개인용 컴퓨터에 전송한다. 이때 개인용 컴퓨터는 상기 신호를 입력받아 데이터를 바이트 모드로 전송한다. 이와 달리 상기 복합기가 바이트 모드를 지원하지 않는 경우에는 복합기는 바이트 모드를 지원하지 않는다는 신호를 개인용 컴퓨터에 전송한다. 이때 상기 개인용 컴퓨터는 상기 신호를 입력받아 복합기에 니블 모드를 지원하는가를 모드 바이트를 통하여 묻는다. 이때 상기 복합기는 니블 모드를 지원할 경우에는 니블 모드를 지원한다는 신호를 개인용 컴퓨터에 전송한다. 이때 상기 개인용 컴퓨터는 상기 신호를 입력받아 복합기에 니블 모드로 데이터를 전송한다. 상술한 바와 같이 개인용 컴퓨터는 니고시에이션시에 복합기가 지원하는 모드를 물어 가장 속도가 빠른 모드로 데이터를 전송한다. 이때 속도는 ECP 모드 바이트 모드 니블 모드순이다.In order to perform the negotiation, a personal computer transmits a mode byte to a multifunction device. At this time, the multifunction apparatus receives the mode byte and transmits a signal to the personal computer as to whether it can support a mode corresponding to the mode byte. At this time, the personal computer searches for the signal and transmits data about a mode that the multifunction apparatus can support. The mode includes ECP mode, byte mode and nibble mode. That is, the personal computer asks the multifunction apparatus whether to support the ECP mode through a mode byte, and if the multifunction apparatus receives the mode byte and transmits a signal indicating that it supports the ECP mode, the personal computer transmits data in the ECP mode. If the MFP sends a signal that it does not support ECP mode, the personal computer again asks whether it supports byte mode as the mode byte. At this time, if the multifunction apparatus supports the byte mode, it transmits a signal to the personal computer that supports the byte mode. At this time, the personal computer receives the signal and transmits the data in the byte mode. In contrast, if the multifunction device does not support byte mode, the multifunction device sends a signal to the personal computer indicating that the multifunction device does not support byte mode. At this time, the personal computer receives the signal and asks the multifunction device whether it supports the nibble mode through a mode byte. In this case, when the multifunction apparatus supports the nibble mode, the multifunction apparatus transmits a signal to the personal computer to support the nibble mode. At this time, the personal computer receives the signal and transmits data in the nibble mode to the multifunction apparatus. As described above, the personal computer transmits data in the fastest mode by asking the mode supported by the multifunction device at the time of negotiation. The speed is in the order of ECP mode byte mode nibble mode.

한편 상기 모드 바이트는 통상적으로 256개의 모드 조합 중에서 일부만 해당 모드로 정의되어 있고, 나머지는 정의되어 있지 않다. 본 발명의 바람직한 실시예에서는 상기 모드 바이트의 정의되어 있지 않는 부분을 사용하여 복합기의 디바이스 전환을 수행한다. 이에따라 개인용 컴퓨터는 복합기의 각각의 디바이스들의 데이터 스트림을 방해하지 않고, 원하는 시점에서 원활히 개인용 컴퓨터에서 지정한 디바이스로 전환할 수 있다.On the other hand, the mode byte is typically defined as a part of the mode combination of 256 modes, the rest is not defined. In a preferred embodiment of the present invention, device switching of the multifunction apparatus is performed using an undefined portion of the mode byte. Accordingly, the personal computer can smoothly switch to a device designated by the personal computer at a desired time point without disturbing the data streams of the respective devices of the multifunction apparatus.

이제 상기 모드 바이트를 이용하여 복합기의 디바이스 전환을 수행하는 과정을 더 상세히 설명한다. 상기 복합기에 모드 바이트를 전송하는 개인용 컴퓨터의 블록도를 도시한 것이 도 1이다. 상기 개인용 컴퓨터는 CPU(10)와 입출력 인터페이스(18)와 입력장치(20)와 센트로닉스 병렬 인터페이스(24)와 보조 기억장치(22)와 메모리(16)와 디스플레이 제어기(12)와 모니터(14)로 구성된다. 상기 CPU(10)는 설정된 프로그램을 수행하여 컴퓨터 시스템의 전반적으로 제어한다. 입출력 인터페이스(18)는 CPU(10)와 입력장치(20)와 보조 기억장치(22)와 센트로닉스 병렬 인터페이스(24)간에 입출력되는 신호들을 인터페이스한다. 입력장치(20)는 CPU(10)에 각종 정보나 명령을 입력하기 위한 장치로 키보드나 마우스 등이 될 수 있다. 보조 기억장치(22)는 하드 디스크 드라이브, 플로피 디스크 드라이브 등이 사용된다.Now, a process of performing device switching of the multifunction apparatus using the mode byte will be described in more detail. 1 is a block diagram of a personal computer for transmitting a mode byte to the multifunction apparatus. The personal computer comprises a CPU 10, an input / output interface 18, an input device 20, a Centronics parallel interface 24, an auxiliary memory 22, a memory 16, a display controller 12 and a monitor 14 It is composed of The CPU 10 controls the overall computer system by executing a set program. The input / output interface 18 interfaces signals input / output between the CPU 10, the input device 20, the auxiliary storage device 22, and the Centronics parallel interface 24. The input device 20 is a device for inputting various information or commands to the CPU 10 and may be a keyboard or a mouse. The auxiliary storage device 22 is a hard disk drive, a floppy disk drive, or the like.

센트로닉스 병렬 인터페이스(24)는 CPU(10)에 의해 처리된 각종 정보를 출력장치에 전송하기 위한 인터페이스 장치이다. 메모리(16)는 롬과 램과 캐시로 구성되며, CPU(10)의 수행 프로그램과 처리 데이터를 저장한다.The Centronics parallel interface 24 is an interface device for transmitting various information processed by the CPU 10 to an output device. The memory 16 is composed of a ROM, a RAM, and a cache, and stores an execution program and processing data of the CPU 10.

한편 통상적인 복합기의 블록도를 도시한 것이 도 2이다. 상기 도 2에 도시한 복합기의 제어부(26)는 복합기의 전반적인 제어를 수행하며, 개인용 컴퓨터로부터 전송되는 데이터를 입력받아 설정된 디바이스에 제공한다. 조작패널(34)은 사용자와 복합기간의 인터페이스를 위한 것으로 사용자의 키입력을 입력받아 제어부(26)에 입력한다. 프린터부(28)는 제어부(26)의 제어에 따라 프린터 기능을 수행한다. 팩시밀리부(30)는 제어부(26)의 제어에 따라 팩스 기능을 수행한다. 스캐너부(32)는 제어부(26)의 제어에 따라 스캐너 기능을 수행한다.2 is a block diagram of a conventional multifunction apparatus. The control unit 26 of the multifunction apparatus shown in FIG. 2 performs overall control of the multifunction apparatus and receives data transmitted from a personal computer and provides the set device to the set device. The operation panel 34 is for an interface between the user and the compound period, and receives a key input of the user and inputs it to the control unit 26. The printer unit 28 performs a printer function under the control of the control unit 26. The facsimile unit 30 performs a fax function under the control of the control unit 26. The scanner unit 32 performs a scanner function under the control of the control unit 26.

도 3은 본 발명의 바람직한 실시예에 따른 복합기의 디바이스에 따른 데이터 전송방법의 개인용 컴퓨터에서의 흐름도이다. 상기 도 3의 흐름에 따라 상기 복합기의 디바이스에 따라 데이터를 전송하는 과정을 살펴보자. 우선 사용자가 복합기의 특정 디바이스를 사용하기 위하여 개인용 컴퓨터의 CPU(10)는 사용자가 복합기로 데이터 전송을 명령하면 도 3의 (36)단계에서 CPU(10)는 사용자가 사용하고자 하는 복합기의 디바이스가 스캐너 디바이스인지를 검색한다. 이때 상기 복합기의 디바이스가 스캐너 디바이스이면 (38)단계를 수행하고, 상기 복합기의 디바이스가 스캐너 디바이스가 아니면 (40)단계를 수행한다. 상기 (38)단계에서 CPU(10)는 모드 바이트를 M으로 설정한다. 상기 M은 복합기의 센트로 포트를 스캐너 디바이스로 설정하기 위한 데이터이다. 상기 센트로 포트의 설정으로 복합기의 작업 디바이스가 설정된다. 상기 설정이 종료되면 CPU(10)는 (48)단계를 수행한다.3 is a flowchart of a personal computer of a data transmission method according to a device of a multifunction apparatus according to a preferred embodiment of the present invention. According to the flow of FIG. 3, a process of transmitting data according to the device of the multifunction apparatus will be described. First, in order for a user to use a specific device of the multifunction apparatus, the CPU 10 of the personal computer commands the data transmission to the multifunction apparatus. In step (36) of FIG. Search for a scanner device. In this case, if the device of the multifunction apparatus is a scanner device, step (38) is performed. If the device of the multifunction apparatus is not a scanner device, step (40) is performed. In step 38, the CPU 10 sets the mode byte to M. M is data for setting the centro port of the multifunction device to the scanner device. The working device of the multifunction apparatus is set by setting the centro port. When the setting is completed, the CPU 10 performs step 48.

한편 상기 (40)단계에서 CPU(10)는 상기 데이터에 대응하는 복합기의 디바이스가 팩스 디바이스인지를 검색한다. 상기 복합기의 디바이스가 팩스 디바이스이면 CPU(10)는 (42)단계를 수행하고, 상기 복합기의 디바이스가 팩스 디바이스가 아니면 CPU(10)는 (44)단계를 수행한다. 상기 (42)단계에서 CPU(10)는 모드 바이트를 L로 설정한다. 상기 L은 복합기의 센트로 포트를 팩스 디바이스로 설정하기 위한 데이터이다. 상기 설정이 종료되면 CPU(10)는 (48)단계를 수행한다.On the other hand, in step 40, the CPU 10 searches whether the device of the multifunction apparatus corresponding to the data is a fax device. If the device of the multifunction apparatus is a fax device, the CPU 10 performs step (42). If the device of the multifunction apparatus is a fax device, the CPU 10 performs step (44). In step 42, the CPU 10 sets the mode byte to L. L is data for setting the centro port of the MFP as a fax device. When the setting is completed, the CPU 10 performs step 48.

한편 상기 (44)단계에서 CPU(10)는 상기 데이터에 대응하는 복합기의 디바이스가 프린터 디바이스이면 (46)단계를 수행하고, 상기 복합기의 디바이스가 프린터 디바이스가 아니면 CPU(10)는 (48)단계를 수행한다. 상기 (48)단계에서 CPU(10)는 복합기에 니고시에이션을 시작한다. 상기 니고시에이션이 시작되면 CPU(10)는 (50)단계를 수행한다. 상기 (50)단계에서 CPU(10)는 설정한 모드 바이트를 복합기에 전송한다. 상기 전송이 종료되면 CPU(10)는 (52)단계를 수행한다. 상기 (52)단계에서 CPU(10)는 복합기로 상기 데이터를 송신한다. 상기 데이터의 송신이 종료되면 CPU(10)는 본 흐름을 종료하고 다른 동작을 위하여 대기한다.On the other hand, in step (44), the CPU 10 performs step 46 if the device of the multifunction apparatus corresponding to the data is a printer device, and if the device of the multifunction device is not a printer device, the CPU 10 performs step (48). Perform In step 48, the CPU 10 starts negotiation with the multifunction apparatus. When the negotiation starts, the CPU 10 performs step 50. In step 50, the CPU 10 transmits the set mode byte to the multifunction apparatus. When the transmission is completed, the CPU 10 performs step 52. In step 52, the CPU 10 transmits the data to the multifunction apparatus. When the transmission of the data is finished, the CPU 10 ends this flow and waits for another operation.

한편 본 발명의 바람직한 실시예에 따른 복합기의 디바이스에 따른 데이터 전송방법의 복합기에서의 흐름도를 도시한 것이 도 4이다. 복합기의 제어부(26)는 개인용 컴퓨터로부터 니고시에이션이 시작되면 상기 도 4의 흐름을 시작한다. 상기 도 4의 (54)단계에서 제어부(26)는 개인용 컴퓨터에서 니고시에이션을 시작하는지를 검색한다. 이때 상기 니고시에이션이 시작되면 제어부(26)는 (56)단계를 수행하고, 상기 니고시에이션이 시작되지 않으면 (54)단계를 다시 수행한다. 상기 (56)단계에서 제어부(26)는 니고시에이션과 동시에 입력되는 모드 바이트를 수신한다. 상기 모드 바이트의 수신이 종료되면 제어부(26)는 (58)단계를 수행한다. 상기 (58)단계에서 제어부(26)는 모드 바이트가 K 인지를 검색한다. 상기 모드 바이트가 K 이면 (60)단계를 수행하고, 상기 모드 바이트가 K가 아니면 (62)단계를 수행한다. 상기 (60)단계에서 제어부(26)는 센트로 포트를 스캐너 디바이스 센트로 포트로 설정한다. 상기 설정이 종료되면 제어부는 (72)단계를 수행한다.Meanwhile, FIG. 4 is a flowchart illustrating the multifunction apparatus of the data transmission method according to the device of the multifunction apparatus according to the preferred embodiment of the present invention. The control unit 26 of the multifunction apparatus starts the flow of FIG. 4 when negotiation is started from the personal computer. In step (54) of FIG. 4, the control unit 26 searches whether the personal computer starts negotiation. At this time, if the negotiation is started, the control unit 26 performs step 56, and if the negotiation is not started, performs step 54 again. In step 56, the control unit 26 receives a mode byte input simultaneously with the negotiation. When reception of the mode byte is terminated, the controller 26 performs step 58. In step (58), the control unit 26 searches whether the mode byte is K. If the mode byte is K, step 60 is performed. If the mode byte is not K, step 60 is performed. In step 60, the control unit 26 sets the centro port as the scanner device centro port. When the setting is complete, the controller performs step 72.

한편 상기 (62)단계에서 제어부(26)는 모드 바이트가 L 인지를 검색한다. 이때 상기 모드 바이트가 L 인지를 검색한다. 이때 상기 모드 바이트가 L 이면 (64)단계를 수행하고, 상기 모드 바이트가 L 이 아니면 제어부(26)는 (66)단계를 수행한다. 상기 (64)단계에서 제어부(26)는 센트로 포트를 팩스 디바이스 센트로 포트로 설정한다. 상기 설정이 종료되면 제어부(26)는 (72)단계를 수행한다.On the other hand, in step 62, the control unit 26 searches whether the mode byte is L. At this time, it is searched whether the mode byte is L. In this case, if the mode byte is L, step (64) is performed. If the mode byte is not L, the control unit 26 performs step (66). In step 64, the control unit 26 sets the centro port as the fax device centro port. When the setting is completed, the control unit 26 performs step 72.

한편 상기 (66)단계에서 제어부(26)는 모드 바이트가 M 인지를 검색한다. 상기 모드 바이트가 M 이면 제어부(26)는 (68)단계를 수행하고, 모드 바이트가 M 이 아니면 제어부(26)는 (70)단계를 수행한다. 상기 (68)단계에서 제어부(26)는 센트로 포트를 프린터 디바이스 센트로 포트로 설정한다. 상기 센트로 포트의 설정이 종료되면 제어부(26)는 (72)단계를 수행한다. 상기 (70)단계에서 제어부(26)는 노말 역 데이터 통신을 수행한다.Meanwhile, in step (66), the controller 26 searches whether the mode byte is M. If the mode byte is M, the control unit 26 performs step (68). If the mode byte is not M, the control unit 26 performs step (70). In step 68, the control unit 26 sets the centro port as the printer device centro port. When the setting of the centro port is completed, the controller 26 performs step 72. In step 70, the control unit 26 performs normal reverse data communication.

한편 상기 (72)단계에서 제어부(26)는 개인용 컴퓨터로부터 전송되는 데이터를 수신한다. 이때 상기 센트로 포트는 이미 (60),(64),(68)단계에서 해당하는 디바이스로 설정된다. 이에따라 복합기로 수신되는 데이터는 항상 해당하는 디바이스의 센트로 포트로 입력되고, 복합기의 다수의 디바이스들중 해당 디바이스만이 입력되는 데이터를 처리한다. 상기 데이터의 수신이 종료되면 본 흐름은 종료되고, 제어부(26)는 다른 동작을 수행하기 위하여 대기한다.In step 72, the control unit 26 receives data transmitted from the personal computer. At this time, the Centro port is already set as a corresponding device in steps (60), (64), and (68). Accordingly, the data received by the multifunction device is always input to the centro port of the corresponding device, and only the corresponding device among the plurality of devices of the multifunction device processes the data. When the reception of the data is terminated, the present flow ends and the controller 26 waits to perform another operation.

한편 상기 대기상태에서 다시 다른 디바이스의 데이터가 전송되면, 상기 복합기의 센트로 포트는 재설정된다.Meanwhile, when data of another device is transmitted again in the standby state, the centro port of the multifunction device is reset.

상기한 바와 같이 본 발명은 복합기에 데이터를 전송할 경우에 상기 데이터에 대응하는 복합기의 디바이스의 센트로 포트로 재설정하여 처리한다. 이와 같이 본 발명의 바람직한 실시예에 따른 복합기의 디바이스에 따른 데이터 전송방법은 커맨드 패킷방법을 사용하지 않는다.As described above, when the data is transmitted to the multifunction device, the present invention resets and processes the centro port of the device of the multifunction device corresponding to the data. As described above, the data transmission method according to the device of the multifunction apparatus according to the preferred embodiment of the present invention does not use the command packet method.

상술한 바와 같이 본 발명은 커맨드 패킷방법을 사용하지 않고, 복합기가 다중작업을 수행하는 것과 같이 동작하므로, 각 디바이스의 프로그램의 크기가 감소되는 이점이 있다.As described above, the present invention does not use the command packet method, and thus, the multifunction apparatus operates as if the multitask is performed, thereby reducing the size of a program of each device.

Claims (3)

복합기의 디바이스에 따른 데이터 전송방법에 있어서, 개인용 컴퓨터가 복합기에 니고시에이션을 수행할 때에 전송하는 모드 바이트에 특정 디바이스를 나타내는 데이터를 포함시켜 니고시에이션시에 복합기에 전송하는 니고시에이션단계와, 상기 모드 바이트를 전송받아 상기 모드 바이트에 포함된 디바이스 설정데이터에 대응하는 인터페이스 포트로 복합기의 인터페이스 포트를 설정하여, 니고시에이션 이후에 입력되는 데이터를 해당 디바이스가 처리하도록 하는 인터페이스 포트 설정단계를 구비하는 것을 특징으로 하는 복합기의 디바이스에 따른 데이터 전송방법.A data transfer method according to a device of a multifunction device, comprising: a negotiation step of including a data indicating a specific device in a mode byte transmitted when a personal computer performs a negotiation on the multifunction device and transmitting the data to the multifunction device at the time of negotiation; And an interface port setting step of receiving the mode byte and setting an interface port of the multifunction device to an interface port corresponding to the device setting data included in the mode byte to allow the corresponding device to process data input after negotiation. Data transmission method according to the device of the multifunction device characterized in that it comprises. 제1항에 있어서, 상기 니고시에이션 단계가, 사용자가 선택한 복합기의 디바이스에 따라 인터페이스를 설정할 데이터를 모드 바이트에 삽입하여 설정하는 모드 바이트 설정단계와, 상기 모드 바이트의 설정 후에 니고시에이션을 수행시, 상기 모드 바이트를 복합기에 전송하는 니고시에이션 단계를 구비하는 것을 특징으로 하는 복합기의 디바이스에 따른 데이터 전송방법.The method of claim 1, wherein the negotiation step comprises: a mode byte setting step of inserting and setting data to set an interface in a mode byte according to a device of a multifunction apparatus selected by a user; and performing negotiation after setting of the mode byte. And a negotiation step of transmitting the mode byte to the multifunction device. 제1항에 있어서, 상기 디바이스 설정단계가, 상기 모드 바이트를 입력받아 검색하는 모드 바이트 검색단계와, 상기 검색한 모드 바이트에 삽입된 인터페이스 설정정보에 대응하는 인터페이스로 설정하여, 니고시에이션 이후에 입력되는 데이터를 상기 설정된 인터페이스의 디바이스에서 처리하도록 하는 인터페이스 설정단계를 구비하는 것을 특징으로 하는 복합기의 디바이스에 따른 데이터 전송방법.The method of claim 1, wherein the device setting step comprises: a mode byte search step of receiving and searching for the mode byte, and setting an interface corresponding to the interface setting information inserted in the searched mode byte, and then performing negotiation. And an interface setting step of processing the input data in the device of the set interface.
KR1019960048513A 1996-10-25 1996-10-25 Data transmission method according to device of multifunction device KR19980029266A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960048513A KR19980029266A (en) 1996-10-25 1996-10-25 Data transmission method according to device of multifunction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960048513A KR19980029266A (en) 1996-10-25 1996-10-25 Data transmission method according to device of multifunction device

Publications (1)

Publication Number Publication Date
KR19980029266A true KR19980029266A (en) 1998-07-25

Family

ID=66316079

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960048513A KR19980029266A (en) 1996-10-25 1996-10-25 Data transmission method according to device of multifunction device

Country Status (1)

Country Link
KR (1) KR19980029266A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990038226A (en) * 1997-11-04 1999-06-05 구자홍 Office complex function diagnostic method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR19990038226A (en) * 1997-11-04 1999-06-05 구자홍 Office complex function diagnostic method

Similar Documents

Publication Publication Date Title
JPH1195941A (en) Printer system, printer unit and computer device for the same
JP2003274096A (en) Scanner system
JPH08195764A (en) Lan interface device
KR19980029266A (en) Data transmission method according to device of multifunction device
KR100282938B1 (en) Host data transmission method and MFP data reception method
JP2001282470A (en) Image forming device, information processor, image forming system, and their control method
JPH071769A (en) Recording device
US20050134941A1 (en) Scanner apparatus, method for controlling scanner apparatus and multifuntion apparatus
JPH10171739A (en) Computer system, host computer suitable for the system, and portable terminal
JP2825819B2 (en) Digital copier mode switching method
JP2580778B2 (en) Facsimile machine
JP2002140282A (en) Switching device and its method, image display device, and information processing device
JP2639340B2 (en) Printer with network function
JP3274641B2 (en) Computer systems and peripherals
JP3295295B2 (en) Printing apparatus, printing system, and printing method
JP3422401B2 (en) Redundant controller
JP2718763B2 (en) Self-diagnosis activation method
JP2006139376A (en) Image reading device
JP6322970B2 (en) Remote operation system, image forming apparatus, and program
JPH08123639A (en) Information processing system and printer used for the same
JPH06252977A (en) Terminal equipment
JPH08249137A (en) Printing system
JPH0730706A (en) Facsimile equipment
JP2001084118A (en) Device and method for processing print data
JP2002041438A (en) Control method, input switching device and method therefor, and information processor

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination