KR940002266B1 - Serial data and parrerel data auto-selecting processing system for laser beam printer - Google Patents

Serial data and parrerel data auto-selecting processing system for laser beam printer Download PDF

Info

Publication number
KR940002266B1
KR940002266B1 KR1019910025700A KR910025700A KR940002266B1 KR 940002266 B1 KR940002266 B1 KR 940002266B1 KR 1019910025700 A KR1019910025700 A KR 1019910025700A KR 910025700 A KR910025700 A KR 910025700A KR 940002266 B1 KR940002266 B1 KR 940002266B1
Authority
KR
South Korea
Prior art keywords
data
parallel
serial
interrupt
unit
Prior art date
Application number
KR1019910025700A
Other languages
Korean (ko)
Other versions
KR930013986A (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 KR1019910025700A priority Critical patent/KR940002266B1/en
Publication of KR930013986A publication Critical patent/KR930013986A/en
Application granted granted Critical
Publication of KR940002266B1 publication Critical patent/KR940002266B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Record Information Processing For Printing (AREA)
  • Multi Processors (AREA)

Abstract

The method processes both serially and parallelly transmitted data without loss or overlap of data. The system employing this method consists of: a serial port controller (11b) and a parallel receive unit (11a) to buffer input data and interrupts when pre-determined number of data bits are stored; a CPU (13) to read data from one port by received interrupt priority and generate a busy signal to the other port; a timer unit (15) to control data processing time to protect overlap.

Description

LBP등의 직, 병렬 데이타 자동선택 처리시스템 및 방법Automatic and parallel data automatic selection processing system and method such as LBP

제1도는 종래 LBP의 직, 병렬 데이타 처리시스템 구성도.1 is a block diagram of a conventional LBP serial and parallel data processing system.

제2도는 제1도의 동작설명에 대한 신호흐름도.2 is a signal flow diagram for the operation description of FIG.

제3도는 본 발명의 LBP의 직, 병렬 데이타 자동선택 처리시스템 구성도.3 is a block diagram of the automatic and parallel data automatic selection processing system of the LBP of the present invention.

제4도는 제3도의 동작설명에 대한 신호흐름도.4 is a signal flow diagram for the operation description of FIG.

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

11 : 데이타수신부 13 : 중앙처리장치11: data receiving unit 13: central processing unit

14 : 프로그램롬 15 : 타이머부14: Program ROM 15: Timer unit

16 : 라스터 이미지 버퍼부 17 : 시수템램 및 데이타버퍼부16: raster image buffer unit 17: shistemram and data buffer unit

본 발명은 레이져 빔 프린터(LBP : Laser Beam Printer)등의 데이타 전송에 관한 것으로, 특히 직렬 및 병렬데이타를 동시에 지원하는 단말기에서 직렬데이타와 병렬데이타를 동시에 전송하였을시 발생하는 데이타의 분실 및 상호 혼합없이 자동으로 병렬 및 직렬데이타를 처리하도록 한 LBP등의 직렬, 병렬데이타 자동선택 처리시스템 및 방법에 관한 것이다.The present invention relates to data transmission of a laser beam printer (LBP) and the like, in particular, loss and mutual mixing of data generated when serial and parallel data are simultaneously transmitted in a terminal that supports serial and parallel data at the same time. The present invention relates to a serial and parallel data automatic selection processing system and method, such as LBP, which automatically processes parallel and serial data without using the same.

종래 레이져 빔 프린터의 직, 병렬 데이타 처리시스템은 첨부된 도면 제1도에 도시된 바와 같이, 외부에서 전송되는 병렬데이타를 인터페이스하는 병렬컨넥터(21)와, 상기 병렬컨넥터(21)로부터 인터페이스된 병렬데이타를 데이타라인을 통해 입력받아 버퍼링하는 병렬버퍼부(22)와, 외부에서 전송되는 직렬데이타를 인터페이스하는 직렬컨넥터(23)와, 상기 직렬컨넥터(23)로부터 데이타라인을 통해 입력되는 직렬데이타에서 노이즈를 감쇄하여 인터페이스하는 라인드라이버(24)와, 상기 라인드라이버(24)로부터 인터페이스된 직렬데이타를 병렬데이타로 변환함과 아울러 인터럽트 신호를 생성하는 직렬/병렬 데이타 변환부(25)와, 상기 병렬버퍼부(22) 및 직렬/병렬 데이타변환부(25)로부터 출력되는 데이타 및 인터럽트 신호에 따라 프로그램롬(27)의 프로그램으로 전체시스템 동작을 제어하는 중앙처리장치(26)와, 상기 중앙처리장치(26)로부터 출력되는 사용자의 원하는 데이타 및 의부의 직, 병렬 데이타를 데이타라인을 통해 입력받아 저장하는 시스템램 및 데이타버퍼부(28)로 구성되어 있다.As shown in FIG. 1 of the attached laser beam printer, a serial and parallel data processing system of a conventional laser beam printer has a parallel connector 21 for interfacing parallel data transmitted from the outside and a parallel interfaced from the parallel connector 21. The parallel buffer unit 22 receives and buffers data through the data line, the serial connector 23 for interfacing the serial data transmitted from the outside, and the serial data input from the serial connector 23 through the data line. A line driver 24 for attenuating noise and interfacing, a serial / parallel data converter 25 for converting serial data interfaced from the line driver 24 into parallel data and generating an interrupt signal, and the parallel Program of the program ROM 27 in accordance with data and interrupt signals output from the buffer unit 22 and the serial / parallel data conversion unit 25. The central processing unit 26 to control the overall system operation, and the system RAM and data buffer for receiving and storing the user's desired data and serial and parallel data of the user output from the central processing unit 26 through the data line It is comprised by the part 28.

이와 같이 구성된 종래 레이져빔 프린터의 직, 병렬 데이타 처리시스템은 외부에서 병렬데이타 및 인터럽트 신호가 병렬컨넥터(21)를 통해 입력되면 병렬버퍼부(22)는 그 입력된 병렬데이타 및 인터럽트 신호를 버퍼링하여 데이타라인 및 제어라인(INT)을 통해 중앙처리장치(26)에 입력하게 된다.When the parallel data processing system of the conventional laser beam printer configured as described above receives parallel data and interrupt signals through the parallel connector 21, the parallel buffer unit 22 buffers the input parallel data and interrupt signals. Input to the central processing unit 26 through the data line and the control line (INT).

또한 외부에서 직렬데이타가 직렬컨넥터(23)를 통해 입력되면 라인드라이버(24)는 직렬데이타에 포함된 노이즈를 제거하여 직렬/병렬 데이타변환부(25)에 입력하게 된다.In addition, when serial data is input from the outside through the serial connector 23, the line driver 24 removes noise included in the serial data and inputs the serial / parallel data converter 25.

상기 직렬/병렬 데이타변환부(25)는 입력된 직렬데이타를 병렬데이타로 변환하여 데이타라인을 통해 출력함과 아울러 직렬컨넥터(23) 및 라인드라이버(24)를 통해 어떠한 인터럽트 신호도 입력되지 않기 때문에 라인드라이버(24)를 통해 직렬데이타가 입력되면 인터럽트 신호를 생성하여 제어라인(INT)을 통해 인터럽트신호를 출력하게 된다.Since the serial / parallel data converter 25 converts the input serial data into parallel data and outputs the data through the data line, and no interrupt signal is input through the serial connector 23 and the line driver 24. When serial data is input through the line driver 24, an interrupt signal is generated to output an interrupt signal through the control line INT.

이때 상기한 중앙처리장치(26)는 제2도의 신호흐름도에서와 같이, 병렬버퍼부(22) 및 직렬/병렬 데이타변환부(25)를 스캔하여 직렬 또는 병렬인터럽트 신호인가를 판단하고 그에 해당하는 병렬버퍼부(22) 및 직렬/병렬 데이타변환부(25)의 데이타를 1바이트씩 순차적으로 읽어들인후 직렬 또는 병렬포트의 데이타 종류에 상관없이 데이타버퍼부(28)에 순차적으로 저장하고 버퍼 포인트를 증가시키게 된다.At this time, the central processing unit 26 scans the parallel buffer unit 22 and the serial / parallel data conversion unit 25, as shown in the signal flow diagram of FIG. The data of the parallel buffer 22 and the serial / parallel data converter 25 are sequentially read one by one, and are sequentially stored in the data buffer 28 regardless of the data type of the serial or parallel port. Will increase.

즉, 병렬버퍼부(22)로부터 인터럽트 신호가 입력되면 그 시점에서 중앙처리장치(26)는 병렬버퍼부(22)로부터 병렬데이타를 1바이트씩 읽어들여 데이타라인을 통해 데이타버퍼부(28)에 저장하고 그 데이타버퍼부(28)의 어드레스를 증가하게 되며, 또한 직렬/병렬 데이타변환부(25)에서 인터럽트 신호가 발생되면 그 시점에서 중앙처리장치(26)는 직렬/병렬 데이타변환부(25)로부터 병렬데이타를 1바이트씩 읽어들여 데이타라인을 통해 데이타버퍼부(28)에 저장함과 아울러 그 데이타버퍼부(28)에 어드레스를 증가시키게 된다.That is, when an interrupt signal is input from the parallel buffer unit 22, the central processing unit 26 reads the parallel data from the parallel buffer unit 22 by one byte and transmits the data to the data buffer unit 28 via the data line. Store and increase the address of the data buffer unit 28, and if an interrupt signal is generated from the serial / parallel data conversion unit 25, the central processing unit 26 at this point in time performs the serial / parallel data conversion unit 25. The parallel data is read by 1 byte and stored in the data buffer unit 28 via the data line, and the address is increased in the data buffer unit 28.

그러나 이와 같은 종래 레이져 빔 프린터의 직,병렬 데이타 처리시스템은 직렬과 병렬데이타를 시스템이동시에 받아들일때 직렬데이타와 병렬데이타가 상호 혼합되어서 출력처리되는 경우가 발생되거나 또는 직렬데이타를 먼저 보내고 나중에 병렬데이타를 보냈다 하더라도 마지막 페이지가 혼합되는 오류를 피할수 없었다.However, when the serial and parallel data processing systems of the conventional laser beam printers receive serial and parallel data at the time of system movement, serial data and parallel data are mixed and output processing occurs, or serial data is sent first and then parallelized. Even if the data was sent, the error of mixing the last page was inevitable.

또한 두개의 직, 병렬포트중 선택적으로 하나의 포트만 사용하는 경우가 있으나 이는 직렬포트 및 병렬포트를 사용할 때마다 모드 변환처리를 행해야하는 불편한 문제점이 있었다.In addition, there is a case in which only one port is selectively used among two serial and parallel ports, but this has an inconvenient problem of performing a mode conversion process each time a serial port and a parallel port are used.

따라서 본 발명의 목적은 프린터의 초기화 상태에서 직렬 및 병렬데이타가 먼저 입력되는 포트(Port)만을 인에이블시키고 나머지 포트는 디스에이블 시켰다가 직렬 또는 병렬데이타 모두 입력된 후 타이머부를 작동시켜 일정시간 후에 인터럽트를 발생시키고 해당 인터럽트에서 다시 두개의 직렬 및 병렬포트 모두를 인에이블시켜 직렬과 병렬데이타를 동시에 지원하는, 프린터에서 직렬데이타와 병렬데이타를 자동으로 선택하여 데이타의 혼합을 방지하고 폼피드(FORM FEED)가 첨가되지 않는 마지막 페이지는 일정시간이 지난뒤 자동으로 배출하도록 하는 LBP의 직, 병렬 데이타 자동선택 처리시스템 및 방법을 제공함에 있다.Therefore, it is an object of the present invention to enable only a port in which serial and parallel data are first input in the initialization state of the printer, disable the remaining ports, and then interrupt the timer after a predetermined time by operating the timer unit after inputting both serial or parallel data. The printer automatically selects serial and parallel data at the same time by enabling both serial and parallel ports again at the corresponding interrupt to prevent data mixing and form feed. The last page without) is to provide LBP's direct and parallel automatic data processing system and method for automatic discharge after a certain period of time.

이와 같은 본 발명의 목적은 외부에서 전송되는 직, 병렬 데이타를 수신하는 데이타 수신부와, 그 데이타수신부로부터 발생되는 직렬 인터럽트 신호 및 외부에서 전송되는 병렬 인터럽트 신호에 따라 프린터와 전체시스템 동작을 제어하는 중앙처리장치와, 그 중앙처리장치의 제어신호에 따라 구동하여 일정시간 후 중앙처리장치에 인터럽트 신호를 발생하는 타이머부와, 상기 중앙처리장치의 데이타를 화상처리하여 출력하는 라스터 이미지 버퍼로 구성함으로써 달성되는 것으로, 이하 본 발명을 첨부한 도면에 의거 상세히 설명하면 다음과 같다.The object of the present invention as described above is a central control unit for controlling the operation of the printer and the entire system according to the data receiving unit for receiving the serial and parallel data transmitted externally, the serial interrupt signal generated from the data receiving unit and the parallel interrupt signal transmitted externally. A processing unit, a timer for driving an interrupt signal to the central processing unit after a predetermined time by driving according to the control signal of the central processing unit, and a raster image buffer for image-processing and outputting data of the central processing unit. According to the accompanying drawings, the present invention will be described in detail as follows.

제3도는 본 발명 LBP의 직, 병렬 데이타 자동선택 처리시스템 구성도로서, 이에 도시한 바와 같이, 병렬컨넥터(21)로부터 인터페이스된 외부호스트의 병렬데이타를 병렬수신 버퍼부(11a)로 버퍼링하여 출력하고 직렬컨넥터(23)로부터 인터페이스된 직렬데이타를 직렬입출력 콘트롤러(11b)에서 병렬데이타로 변환함과 아울러 소정비트가 저장되면 병렬인터럽트 신호를 생성하는 데이타수신부(11)와, 상기 병렬컨넥터(21)및 직렬입출력 콘트롤러(11b)의 직, 병렬 인터럽트 신호 유, 무에 따라 인에이블 신호를 출력하여 병렬 수신버퍼부(11a) 및 직렬 입출력콘트롤러(11b)에서 데이타를 읽어들임과 아울러 직, 병렬컨넥터(23), (21)를 통해 통화신호(BUSY)를 송출하여 외부호스트의 데이타전송을 중단시키고 프로그램롬(14)의 자동선택처리 프로그램 수행에 따라 프린터의 시스템 전체동작을 제어하는 중앙처리장치(13)와, 상기 중앙처리장치(13)로 부터 데이타라인을 통해 입력되는 제어데이타에 따라 구동하여 소정시간후 인터럽트 신호를 중앙처리장치(13)에 입력하는 타이머부(15)와, 상기 중앙처리장치(16)로부터 출력되는 사용자의 원하는 데이타 및 의부의 직, 병렬 데이타를 데이타라인을 통해 순차적으로 입력받아 저장함과 아울러 그 저장된 데이타를 중앙처리장치(13)를 통해 출력하는 시스템램 및 데이타버퍼부(17)와, 상기 중앙처리장치(13)로부터 출력되는 데이타를 화상처리하여 비디오로직부(18)을 통해 프린터의 엔진측으로 출력하는 라스터 이미지 버퍼부(16)로 구성한다.3 is a block diagram of the automatic and parallel data automatic selection processing system of the present invention LBP. As shown therein, parallel data of an external host interfaced from the parallel connector 21 is buffered and output to the parallel reception buffer unit 11a. And a data receiver 11 for converting serial data interfaced from the serial connector 23 into parallel data in the serial I / O controller 11b and generating a parallel interrupt signal when a predetermined bit is stored, and the parallel connector 21. And outputting the enable signal according to the serial input / output controller 11b, with or without the serial interrupt signal, and reading data from the parallel receiving buffer unit 11a and the serial input / output controller 11b, and the serial and parallel connectors ( 23), by sending the call signal (BUSY) through the (21) to stop the data transmission of the external host and the printer according to the automatic selection processing program execution of the program ROM (14) A central processing unit (13) for controlling the overall operation of the system, and driven according to control data input from the central processing unit (13) via a data line to input an interrupt signal to the central processing unit (13) after a predetermined time. The timer unit 15 and the user's desired data output from the central processing unit 16 and serial and parallel data of the user's unit are sequentially received through a data line, and the stored data is stored in the central processing unit 13. System RAM and data buffer unit 17 for outputting through the raster image buffer unit for processing the image output from the central processing unit 13 and outputs to the engine side of the printer through the video logic unit 18 ( It consists of 16).

또한 상기 자동선택처리 프로그램은 제4도와 같다.The automatic selection processing program is shown in FIG.

여기서는 a와 같은 자동선택처리 초기화 루틴과 (b)와 같은 자동선택처리의 직, 병렬 인터럽트 루틴 및 (c)와 같은 캐릭터처리 루틴과 (d)와 같은 타이머 인터럽트 루틴을 포함한 처리과정으로 되어 있다.Here, the process includes an automatic selection processing initialization routine such as a, a serial interrupt routine of an automatic selection process such as (b), a character processing routine such as (c), and a timer interrupt routine such as (d).

이와 같이 구성된 본 발명의 작용, 효과를 신호호름도인 제4도를 참조하여 상세히 설명하면 다음과 같다.The operation and effect of the present invention configured as described above will be described in detail with reference to FIG.

먼저 중앙처리장치(13)는 병렬인터럽트(PINT)와 직렬인러럽트(SINT) 및 타이머부(15)를 초기화 시키게된다.First, the central processing unit 13 initializes the parallel interrupt (PINT), the serial interrupt (SINT), and the timer unit 15.

즉, 제4a도와 같은 초기와 루틴을 통하여 병렬인터럽트(PINT)와 직렬인터럽트(SINT)를 모두 인에이블 상태로 하고 타이머부(15)를 리세트 상태로 한다. 이후 전역변수(Glabal Variable)인 두개의 직, 병렬포트에 상수값인 보스(Both)를 세팅한다.In other words, both the parallel interrupt PINT and the serial interrupt SINT are enabled and the timer unit 15 is reset through the initial procedure and the routine as shown in FIG. 4A. Then set two constants, the global variable (Both) on the parallel and parallel ports.

이와 같이 초기화 루틴이 완료되면 다른일을 수행하다가 제4b도와 같은 자동선택처리의 직, 병렬인터럽트 루틴에서 병렬컨넥터(21)로부터 외부 호스트의 병렬인터럽트(PINT)가 발생되고 데이타수신부(11)의 직렬입출력콘트롤러(11b)로부터 직렬인터럽트(SINT)가 발생되면 중앙처리장치(13)는 두 포트를 체크하게 된다. 이때 전역변수인 두개의 포트가 상수값인 보스이면 병렬컨넥터(21)로부터 발생되는 병렬인터럽트(PINT)인가 또는 데이타수신부(11)의 직렬입출력콘트롤러(11b)로부터 발생되는직렬인터럽트(SINT)인가를 체크하여 직렬인터럽트(SINT)이면 병렬인터럽트(PINT)를 디스에이블 시킴과 아울러 병렬컨넥터(21)를 통해 외부호스트에 통화신호(BUSY)를 전송하여 외부호스트로부터의 데이타 전송을 중지시키면서 변수포트를 직렬로 세팅하고, 상기에서 병렬인터럽트(PINT)이면 직렬인터럽트(SINT)를 디스에이블 시킴과 아울러 직렬입출력콘트롤러(11b)와 직렬컨텍터(23)를 통해 외부 호스트에 통화신호(Busy)를 전송하여 외부호스트로부터의 데이타전송을 중지시키면서 변수포트를 병렬로 세팅한다.When the initialization routine is completed as described above, while performing another task, parallel interrupt (PINT) of the external host is generated from the parallel connector 21 in the serial interrupt routine of the automatic selection process as shown in FIG. 4B, and the data receiver 11 is serialized. When the serial interrupt SINT is generated from the input / output controller 11b, the CPU 13 checks both ports. At this time, if two ports that are global variables are bosses with constant values, whether the parallel interrupt (PINT) generated from the parallel connector 21 or the serial interrupt (SINT) generated from the serial I / O controller 11b of the data receiver 11 is determined. If the serial interrupt (SINT) is checked, the parallel interrupt (PINT) is disabled and the variable port is serialized while the data signal from the external host is stopped by sending the call signal (BUSY) to the external host through the parallel connector (21). In case of parallel interrupt (PINT), disable serial interrupt (SINT) and transmit call signal (Busy) to external host through serial input / output controller (11b) and serial contactor (23). Set the variable port in parallel while stopping data transfer from the host.

이후 해당 포트에서 입력되는 직,병렬 데이타를 순차적으로 읽어들여 데이타버퍼부(11)에서 저장하고 타이머부(15)를 리세트 시킨다.After that, serial and parallel data input from the corresponding port is sequentially read, stored in the data buffer unit 11, and the timer unit 15 is reset.

즉, 상기에서 병렬컨넥터(21)로부터 병렬인터럽트(PINT)가 발생하면 중앙처리장치(13)는 직렬인터럽트(SlNT)를 디스에이볼 시킴과 아울러 변수포트를 병렬로 세팅하고 병렬수신버퍼부(11a)를 인에이블 시킨후 그 병렬수신버퍼부(11a)에 저장된 병렬데이타를 한 바이트씩 읽어들여 데이타버퍼부(17)에 순차적으로 저장하고, 또한 직렬 입출력 콘트롤러(11b)로부터 직렬 인터럽트(SINT)가 발생하면 병렬인터럽트(SINT)를디스에이블 시킴과 아울러 변수포트를 직렬로 세팅하고 직렬입출력 콘트를러(11b)에 저장된 타이머부(15)의 구동을 정지시킨다.That is, when the parallel interrupt (PINT) is generated from the parallel connector 21, the central processing unit 13 disables the serial interrupt (SlNT), sets the variable port in parallel, and the parallel receiving buffer unit 11a. ), The parallel data stored in the parallel receiving buffer section 11a is read one byte, and stored in the data buffer section 17 in sequence, and a serial interrupt (SINT) is received from the serial input / output controller 11b. When it occurs, the parallel interrupt (SINT) is disabled, the variable port is set in series, and the driving of the timer unit 15 stored in the serial I / O controller 11b is stopped.

여기서 타이머부(15)를 정지시키는 이유는 두 직, 병렬포트중의 어느 한쪽포트가 인에이블되어 있는 동안은 계속 다른한쪽 포트시에만 데이타가 입력되도륵 하고 다른 한쪽 포트는 받지 않도록 하기 위한 것이다.The reason for stopping the timer unit 15 is to allow data to be input only at the other port and not receive the other port while either one of the two serial and parallel ports is enabled.

한편 상기 제4b도의 자동선택처리의 직, 병렬 인터럽트 루틴에 의해서 데이타버퍼부(17)에 데이타가 저장되면 중앙처리장치(13)는 제4c도의 캐릭터(character) 처리루틴을 통해 데이타버퍼부(17)에 저장된 데이타를 순차적으로 읽어들여 해석한 후 해당 이미지를 라스터이미지버퍼부(16)에 형성화하여 주거나 해당기능을 수행한다.On the other hand, if data is stored in the data buffer unit 17 by the parallel interrupt routine of the automatic selection process of FIG. 4B, the central processing unit 13 performs the data buffer unit 17 through the character processing routine of FIG. 4C. After reading and interpreting the data stored in the sequential order to form the image in the raster image buffer unit 16 or performs the corresponding function.

이때 순서적으로 데이타버퍼부(17)에 저장된 데이타를 해석하다가 더이상 해석한 데이타가 없는 경우 먼저 포트의 변수를 체크하여 현재 한쪽의 포트로부터 데이타를 받고 있었던 상태인지 아닌지를 판단하여 양쪽의 포트를 모두다 인에이블한 상태이면 즉, 변수인 포트와 상수인 보스가 같으면 계속 입력데이타를 기다리고, 한쪽의 포트로부터 데이타를 받은 상태이면 중앙처리장치(13)는 타이머부(15)를 10초동안 세팅하고 기다린다.At this time, in order to analyze the data stored in the data buffer unit 17, if there is no more data, first check the variable of the port to determine whether it is currently receiving data from one port or both ports If it is in the enabled state, that is, if the variable port is the same as the constant boss, it waits for input data. If the data is received from one port, the CPU 13 sets the timer 15 for 10 seconds. waiting.

이후 타이머부(15)로부터 10초가 경과될때까지 데이타수신부(11)로부터 어떠한 데이타도 입력되지 않으면 타이머부(15)로부터 10초 인터럽트(TINT)가 발생되지만 10초 이내에 데이타가 입력되면 제4b도와 같은 직, 병렬 인터럽트 루틴으로 타이머부(15)는 다시 정지되고 데이타수신부(11)로부터 들어온 데이타는제4도c와 같은 과정을 거쳐 해석 처리된다.Thereafter, if no data is input from the data receiving unit 11 until 10 seconds have elapsed from the timer unit 15, a 10-second interrupt (TINT) is generated from the timer unit 15, but if data is input within 10 seconds, as shown in FIG. 4B. In the parallel interrupt routine, the timer unit 15 is stopped again, and the data received from the data receiver 11 is analyzed through the same process as in FIG.

이후 상기 타이머부(15)로부터 10초 인터럽트가 발생되면 중앙처리장치(13)는 제4d도와 같은 타이머 인터럽트 내에서 현재 라스터 이미지 버퍼부(16)에 저장되어 있는 한 페이지 분량의 데이타를 모두 레이져 빔 프린터측의 엔진에 전송한 후 다시 전역변수인 포트에 상수값 보스를 세팅하고 병렬인터럽트(PINT)와 직렬인터럽트(SINT)를 동시에 인에이볼 시키게 된다.When the 10-second interrupt is generated from the timer unit 15, the CPU 13 lasers all data of one page amount stored in the raster image buffer unit 16 within the timer interrupt as shown in FIG. After transmitting to the engine on the beam printer side, the constant value boss is set in the global variable port and parallel interrupt (PINT) and serial interrupt (SINT) are enabled simultaneously.

이상에서 상세히 설명한 바와 같이, 본 발명은 직렬과 병렬을 동시에 수용할 수 있는 레이져 빔 프린터등에서 사용자의 세팅없이 자동적으로 직렬과 병렬을 선택하여 프린트할 수 있을뿐 아니라 2대의 호스트에서 동시에 데이타를 전송하였을때 입력데이타가 상호 혼합되지 않고 처리되며, 또한 폼피드가 첨가되지 않은 마지막 페이지는 일정시간이 경과된뒤 자동으로 배출함으로써 마지막 페이지가 혼합되는 오류를 방지할수 있어 이러한 시스템의 이용효율과 동작적 신뢰성을 양호히 확보할 수 있는 유익한 특징이 있는 것이다.As described in detail above, in the laser beam printer which can accommodate serial and parallel at the same time, not only the user can automatically select serial and parallel printing without setting, but also transmit data simultaneously from two hosts. When input data is processed without being mixed with each other, and the last page without form feed is automatically discharged after a certain time, the last page can be mixed to prevent the error of mixing the last page. There is an advantageous feature that can secure well.

Claims (5)

외부호스트로부터 직, 병렬 데이타 입력시 직렬입출력 콘트롤러(11b) 및 병렬수신버퍼부(11a)로 버퍼링하고 소정비트가 저장되면 병렬인터럽트 신호를 생성하는 데이타 수신부(11)와, 상기 데이타수신부(11) 및 외부호스트의 직, 병렬 인터럽트 유, 무에 따라 인에이블 신호를 출력하여 해당 데이타를 읽어들임과 아울러 어느 하나의 호스트로부터 인터럽트 발생시 다른 하나의 호스트로 통화신호(BUSY)를 송출하여 데이타입력을 중단시키는 중앙처리장치(13)와, 상기 중앙처리장치(13)의 제어신호에 의해 구동하여 소정시간후 타이머인터럽트 신호로 데이타 처리시간을 제어하는 타이머부(15)와, 상기 중앙처리장치(13)의 출력데이타를 저장하고 그 저장된 데이타를 중앙처리장치(13)를 통해 준차적으로 출력하는 데이타버퍼부(17)와, 상기 중앙처리장치(13)를 통한 데이타를 화상처리하여 비디오로직부(18)를 통해 엔진측으로 출력하는 라스터 이미지 버퍼부(16)를 포함하여 된 LBP등의 직, 병렬 데이타 자동선택 처리시스템.A data receiving unit 11 for buffering the serial input / output controller 11b and the parallel receiving buffer unit 11a when inputting direct and parallel data from an external host and generating a parallel interrupt signal when a predetermined bit is stored; and the data receiving unit 11 Outputs enable signal according to serial and parallel interrupt status of external host and reads the corresponding data and stops data input by sending BUSY to one host when interrupt occurs from one host. A central processing unit (13), a timer unit (15) which is driven by a control signal of the central processing unit (13), and controls a data processing time with a timer interrupt signal after a predetermined time; and the central processing unit (13) A data buffer 17 for storing the output data of the output data and outputting the stored data sequentially through the central processing unit 13, and through the central processing unit 13; Straight, such as a LBP, including the raster image buffer 16 to the image processing data to output to the engine side via the hollow weave portion 18 to the video, automatically selecting a parallel data processing system. 프린트시 외부호스트의 직, 병렬 수신상태를 초기화시키는 제1과정과, 상기 외부호스트로부터의 직, 병렬 인터럽트(SINT)(PINT) 발생시 해당 인터럽트에 대한 상대측의 제어 및 데이타를 읽고 데이타버퍼부에 저창처리하는 제2과정과, 상기 제2과정에 의해 저장된 문자데이타를 순차적으로 읽어들여 해석처리함과 아울러 해당 이미지를 라스터 이미지 버퍼부에 형성하고 타이머부를 제어하는 제3과정과, 상기 제3과정에서 소정시간후 타이머 인터럽트 발생시 라스터 이미지 버퍼부에 저장된 한 페이지 분량의 모든 데이타를 엔진측으로 출력하여 프린팅하고 변수의 직, 병렬 포트에 상수의 보스를 세팅함과 아울러 직, 병렬 인터럽트(SINT)(PINT)를 인에이블 시키는 제4과정으로 이루어짐을 특징으로 한 LBP등의 직, 병렬 데이타 자동선택 처리방법.The first process of initializing the serial and parallel reception status of the external host during printing, and reading the control and data of the counterpart for the corresponding interrupt when the serial and parallel interrupt (SINT) (PINT) is generated from the external host, and saving the data in the data buffer section. And a third process of sequentially reading and analyzing the character data stored by the second process, forming a corresponding image in the raster image buffer unit, and controlling a timer unit. In the event of timer interrupt after a certain time, the controller prints and prints one page worth of data stored in the raster image buffer to the engine and sets constant bosses on the serial and parallel ports of the variable. A method for automatic selection of serial and parallel data, such as LBP, comprising a fourth process of enabling PINT). 제2항에 있어서, 제1과정은 외부호스트의 직, 병렬 인터럽트(SINT)(PINT)를 인에이블 시키는 제1단계와, 타이머부를 리세트 시키는 제2단계와, 상기 제2단계후 변수의 직, 병렬포트에 상수의 보스를 세팅하는 제3단계로 이루어짐을 특징으로 한 LBP등의 직, 병렬 데이타 자동선택 처리방법.The method of claim 2, wherein the first process comprises: a first step of enabling a serial host, a parallel interrupt (SINT) (PINT), a second step of resetting a timer unit, and a series of variables after the second step. Automatic parallel processing of LBP, etc., characterized in that the third step of setting a constant boss to the parallel port. 제2항에 있어서, 제2과정은 외부호스트의 직, 병렬 인터럽트(SINT)(PINT)를 입력하는 제4단계와, 상기 제4단계후 직, 병렬 인터럽트가 보스인가를 체크하여 보스이면 입력된 인터럽트를 체크하는 제5단계와, 상기 제5단계에서 입력된 인터럽트가 직렬이면 병렬인터럽트를 디스에이블하고 변수의 포트를 직렬로 세팅하는 제6단계와, 상기 제5단계에서 입력된 인터럽트가 병렬이면 직렬인터럽트를 디스에이블하고 변수의 포트를 세팅하는 제7단계와, 상기 제6, 제7단계의 해당 인터럽트에 대한 포트의 데이타를 읽어들여 데이타버퍼부에 저장 처리하고 타이머부를 리세트하는 제8단계로 이루어짐을 특징으로 한 LBP등의 직, 병렬데이타 자동선택 처리방법.The method of claim 2, wherein the second process includes inputting a fourth step of inputting a serial interrupt (SINT) (PINT) of an external host, and checking whether the parallel interrupt is a boss after the fourth step. A fifth step of checking for interrupts; a sixth step of disabling parallel interrupts and setting a port of a variable in series if the interrupt inputted in the fifth step is serial; and an interrupt input in the fifth step A seventh step of disabling the serial interrupt and setting the port of the variable; and an eighth step of reading the data of the port for the corresponding interrupt of the sixth and seventh steps, storing the data in the data buffer, and resetting the timer. Process for automatic selection of serial and parallel data, such as LBP. 제2항에 있어서, 제3과정은 제2과정에 의해 데이타버퍼부에 저장된 문제데이타를 읽어들여 해석 처리하는 제9단계와, 상기 9단계후 데이타버퍼부의 데이타 유, 무를 체크하여 데이타가 있으면 계속 문자데이타를 해석 처리하고 없으면 포트가 보스인가를 체크하는 제10단계와, 상기 10단계에서 포트가 보스가 아니면 제9단계로 입력하고 보스이면 타이머부를 소정시간 세팅하는 제11단계로 이루어짐을 특징으로 한 LBP등의 직, 병렬 데이타 자동선택 처리방법.3. The third process is a ninth step of reading out and analyzing problem data stored in the data buffer unit by the second process, and checking the data buffer unit data after the ninth step and continuing if there is data. If the character data is not interpreted and processed, the tenth step of checking whether the port is a boss or the tenth step if the port is not a boss in the tenth step and the eleventh step of setting a timer for a predetermined time if the boss Direct and parallel data automatic selection processing method such as LBP.
KR1019910025700A 1991-12-31 1991-12-31 Serial data and parrerel data auto-selecting processing system for laser beam printer KR940002266B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019910025700A KR940002266B1 (en) 1991-12-31 1991-12-31 Serial data and parrerel data auto-selecting processing system for laser beam printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019910025700A KR940002266B1 (en) 1991-12-31 1991-12-31 Serial data and parrerel data auto-selecting processing system for laser beam printer

Publications (2)

Publication Number Publication Date
KR930013986A KR930013986A (en) 1993-07-22
KR940002266B1 true KR940002266B1 (en) 1994-03-19

Family

ID=19327177

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019910025700A KR940002266B1 (en) 1991-12-31 1991-12-31 Serial data and parrerel data auto-selecting processing system for laser beam printer

Country Status (1)

Country Link
KR (1) KR940002266B1 (en)

Also Published As

Publication number Publication date
KR930013986A (en) 1993-07-22

Similar Documents

Publication Publication Date Title
US6559959B2 (en) Image forming system including a first printer connected to a host computer and a second printer connected to the host computer via a switching device provided in the first printer
US5303067A (en) Computer connection circuit in facsimile
US5854945A (en) Bar code scanner with keyboard simulation
JPH11338651A (en) Printer control circuit, printer and printing system
JP2587909B2 (en) Data transfer method
EP1223515A2 (en) Bidirectional parallel signal interface
KR940002266B1 (en) Serial data and parrerel data auto-selecting processing system for laser beam printer
JP2001053620A (en) Method and device for encoding, method and device for decoding, and storage medium
CN114328357A (en) Interconnection communication method and system for bare chip and integrated package chip
CN101196861B (en) DMA transfer control method and transfer control system
US5383030A (en) Multiple use system having a laser cartridge for a laser printer and laser facsimile
US6952277B1 (en) Multifunctional processing apparatus and method
US5842044A (en) Input buffer device for a printer using an FIFO and data input method
US5257117A (en) Computer-facsimile system having separately a sending device and a receiving device
JPH0511938A (en) High-functional parallel port interface
JP3210364B2 (en) Printing apparatus and data receiving method of printing apparatus
CN114564157B (en) SOC architecture for digital ink-jet printer
AU609791B2 (en) Improvements in or relating to data communication systems
JPH09134318A (en) Coupling system of computer and facsimile
KR920002666B1 (en) Bidirectional parallel port
JPH03158924A (en) Printer controller
KR0123720B1 (en) Data printing method
KR940000295B1 (en) Function implementing interface circuit of color video printer
KR900005922B1 (en) Method for using serial/parallel data in printer
JP2003233582A (en) Data processing semiconductor device, data transfer device, image forming device and data transfer method

Legal Events

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

Payment date: 19971229

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee