KR100362478B1 - Method for checking connection status of printer cable and apparatus thereof - Google Patents

Method for checking connection status of printer cable and apparatus thereof Download PDF

Info

Publication number
KR100362478B1
KR100362478B1 KR1020000052960A KR20000052960A KR100362478B1 KR 100362478 B1 KR100362478 B1 KR 100362478B1 KR 1020000052960 A KR1020000052960 A KR 1020000052960A KR 20000052960 A KR20000052960 A KR 20000052960A KR 100362478 B1 KR100362478 B1 KR 100362478B1
Authority
KR
South Korea
Prior art keywords
cable
printer
state
value
computer
Prior art date
Application number
KR1020000052960A
Other languages
Korean (ko)
Other versions
KR20020019766A (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 KR1020000052960A priority Critical patent/KR100362478B1/en
Publication of KR20020019766A publication Critical patent/KR20020019766A/en
Application granted granted Critical
Publication of KR100362478B1 publication Critical patent/KR100362478B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

본 발명은 개인용 컴퓨터(PC)와 연결되는 프린터 포트에서 일정 핀의 값을 판독하여 프린터 케이블 연결 여부를 판단하고 판단 결과에 따른 케이블 연결 상태에 대한 상황을 표시부에 표시해주므로써 사용자의 넌센스 콜(Nonsense Call)을 미연에 방지할 수 있는 프린터의 케이블 연결상태 점검 방법 및 그 장치에 관한 것으로서, 프린터의 전원이 온(on) 되면 프린터 시스템을 초기화하는 단계; 프린터 초기화에 따라 컴퓨터와 프린터간에 연결된 케이블의 종류를 비교판단하는 단계; 프린터의 케이블 종류가 IEEE1284 호환 병렬 케이블인 경우 케이블 포트의 일정 핀값의 상태를 판독하는 단계; 프린터의 케이블 종류가 유니버셜 직렬버스(USB: Universal Serial Bus)케이블인 경우 케이블의 포트에 인가되는 전원 상태를 통하여 케이블 연결여부를 판독하는 단계; 판독된 결과값을 이용하여 케이블의 연결 여부를 비교판단하는 단계; 및 케이블이 미연결된 것으로 판단시 표시부에 케이블 미연결상태를 디스플레이하는 단계로 이루어져, 프린터의 IEEE1284 호환 병렬 케이블 또는 유니버셜 직렬 버스 케이블의 미연결 또는 접속불량으로 인한 에러를 미연에 방지하여 사용자의 실수에 의한 넌센스 콜을 줄여 부가서비스 비용 발생을 감소시키는 효과가 있고, 서비스 요청 횟수가 줄어듦에 따라 서비스 품질을 향상시키는 효과가 있다.The present invention determines whether the printer cable is connected by reading a value of a certain pin from the printer port connected to the personal computer (PC), and displays the status of the cable connection state according to the determination result on the display to the user nonsense call (Nonsense) A method and apparatus for checking a cable connection state of a printer capable of preventing a call), comprising the steps of: initializing a printer system when the printer is powered on; Comparing and determining the type of cable connected between the computer and the printer according to the printer initialization; Reading a state of a predetermined pin value of the cable port if the cable type of the printer is an IEEE1284 compliant parallel cable; If the cable type of the printer is a universal serial bus (USB) cable, reading whether the cable is connected through a power state applied to a port of the cable; Comparing and determining whether the cable is connected using the read result value; And displaying the cable unconnected state on the display unit when it is determined that the cable is not connected, thereby preventing errors caused by disconnection or poor connection of the IEEE1284 compliant parallel cable or universal serial bus cable of the printer. There is an effect of reducing the non-sense call caused by the additional service costs, and the service quality is improved as the number of service requests is reduced.

Description

프린터의 케이블 연결상태 점검 방법 및 그 장치 {Method for checking connection status of printer cable and apparatus thereof}Method for checking connection status of printer cable and apparatus

본 발명은 프린터의 케이블 연결상태 점검 방법 및 그 장치에 관한 것으로서, 더욱 상세하게는 개인용 컴퓨터(PC)와 연결되는 프린터 포트에서 일정 핀의 값을 판독하여 프린터 케이블 연결 여부를 판단하고 판단 결과에 따른 케이블 연결 상태에 대한 상황을 표시부에 표시해주므로써 사용자의 넌센스 콜(Nonsense Call)을 미연에 방지할 수 있는 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for checking a cable connection state of a printer, and more particularly, to determine whether a printer cable is connected by reading a value of a predetermined pin from a printer port connected to a personal computer (PC), and according to a determination result. The present invention relates to a method and apparatus for preventing a nonsense call of a user by displaying a state of a cable connection state on a display unit.

현재 프린터 관련 A/S(After Service) 서비스 요청 중의 하나인 PC와 프린터간의 연결을 담당하는 IEEE1284 호환 병렬 케이블 또는 USB 케이블의 미연결 및 불완전연결에 의한 것이 많은데, 이러한 사용자 미숙 또는 부주의에 의한 넌센스 콜은 불필요한 부가서비스 비용 발생의 주원인이 되며 A/S 서비스 품질의 질을 감소시키는 원인이 되고 있다.Many non-sense calls due to inadequate or inadequate connection of IEEE1284 compliant parallel cable or USB cable which is in charge of connection between PC and printer, which is one of A / S (After Service) service request, Is the main cause of unnecessary additional service costs, and reduces the quality of after-sales service quality.

그러나, 아직까지 이러한 넌센스 콜의 발생을 막을 수 있는 적절한 대응책이 없어 일단 소비자의 서비스 요청이 있으면 넌센스 콜일 가능성이 있음에도 불구하고 서비스 제공이 진행되므로 이에 대한 적절한 대응이 시급히 요청된다.However, since there is no proper countermeasure to prevent the occurrence of such nonsense call, there is a possibility that a non-sense call is possible once a service request is made by the consumer.

따라서 본 발명은 PC에 연결되는 프린터 케이블의 종류에 따라 케이블이 접속된 포트의 일정 핀 상태를 체크(판독)하여 그 결과에 따른 값을 프린터의 표시부(LED 또는 LCD)에 알려주어 사용자가 프린터 에러의 종류가 케이블 미연결 또는 불완전 연결에 의한 것임을 쉽게 알 수 있도록 하는 프린터의 케이블 연결상태 점검 방법 및 그 장치를 제공하는데 그 목적이 있다.Therefore, the present invention checks (reads) a certain pin state of the port to which the cable is connected according to the type of the printer cable connected to the PC and informs the display unit (LED or LCD) of the result of the result of the printer error. It is an object of the present invention to provide a method and a device for checking a cable connection state of a printer, which can easily recognize that the type is due to a cable disconnection or an incomplete connection.

도 1은 본 발명에 의한 프린터의 케이블 연결상태 점검 장치에 관한 블록도,1 is a block diagram of an apparatus for checking a cable connection state of a printer according to the present invention;

도 2는 본 발명에 의한 프린터의 케이블 연결상태 점검 방법에 관한 순서도.Figure 2 is a flow chart related to the method of checking the cable connection state of the printer according to the present invention.

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

10 : 개인용 컴퓨터 20 : IEEE1284 호환 병렬 케이블10: personal computer 20: IEEE1284 compatible parallel cable

21 : IEEE1284 호환 병렬 케이블 A 타입 커넥터21: IEEE1284 compliant parallel cable type A connector

22 : IEEE1284 호환 병렬 케이블 B 타입 커넥터22: IEEE1284 compliant parallel cable B type connector

25 : 유니버셜 직렬 버스(USB) 케이블25: Universal Serial Bus (USB) Cable

30 : 프린터 31 : 병렬 포트 상태 레지스터30: printer 31: parallel port status register

32 : V 버스 33 : 범용 I/O32: V bus 33: General purpose I / O

34 : 조작패널 제어부 35 : 전원 LED34: operation panel control unit 35: power LED

36 : 작업상태 LED36: Work status LED

상기의 목적을 달성하기 위한 본 발명의 프린터의 케이블 연결상태 점검 방법은 프린터의 전원이 온(on) 되면 프린터 시스템을 초기화하는 단계; 프린터 초기화에 따라 컴퓨터와 프린터간에 연결된 케이블의 종류를 비교판단하는 단계; 프린터의 케이블 종류가 IEEE1284 호환 병렬 케이블인 경우 케이블 포트의 일정 핀값의 상태를 판독하는 단계; 판독된 핀값의 결과값을 이용하여 케이블의 연결 여부를 비교판단하는 단계; 및 케이블이 미연결된 것으로 판단시 표시부에 케이블 미연결상태를 디스플레이하는 단계로 이루어지는 특징이 있다.Method for checking the cable connection state of the printer of the present invention for achieving the above object comprises the steps of initializing the printer system when the printer is powered on; Comparing and determining the type of cable connected between the computer and the printer according to the printer initialization; Reading a state of a predetermined pin value of the cable port if the cable type of the printer is an IEEE1284 compliant parallel cable; Comparing the connection of the cable with the result of the read pin value; And displaying the cable unconnected state on the display unit when determining that the cable is not connected.

이때 상기 일정 핀값의 상태를 판독하는 단계는 병렬 케이블 포트중 선택된 다수의 핀값의 하이/로우(high/low) 신호를 판독하도록 이루어지는 특징이 있다.At this time, the step of reading the state of the predetermined pin value is characterized in that the high / low (high / low) signal of a plurality of pin values selected from the parallel cable port.

상기의 목적을 달성하기 위한 본 발명의 프린터의 케이블 연결상태 점검의 또 다른 방법은 프린터의 전원이 온(on) 되면 프린터 시스템을 초기화하는 단계; 프린터 초기화에 따라 컴퓨터와 프린터간에 연결된 케이블의 종류를 비교판단하는 단계; 프린터의 케이블 종류가 유니버셜 직렬버스(USB: Universal Serial Bus)케이블인 경우 케이블의 포트에 인가되는 전원 상태를 통하여 케이블 연결여부를 판독하는 단계; 판독된 결과값을 이용하여 케이블의 연결 여부를 비교판단하는 단계; 및 케이블이 미연결된 것으로 판단시 표시부에 케이블 미연결상태를 디스플레이하는 단계로 이루어지는 특징이 있다.Another method of checking the cable connection state of the printer of the present invention for achieving the above object comprises the steps of: initializing the printer system when the printer is powered on; Comparing and determining the type of cable connected between the computer and the printer according to the printer initialization; If the cable type of the printer is a universal serial bus (USB) cable, reading whether the cable is connected through a power state applied to a port of the cable; Comparing and determining whether the cable is connected using the read result value; And displaying the cable unconnected state on the display unit when determining that the cable is not connected.

상기의 목적을 달성하기 위한 본 발명의 프린터의 케이블 연결상태 점검 장치는 컴퓨터로부터 전송되는 인쇄 명령 및 이와 관련된 제어 신호를 수신하고 포트 각 핀의 하이/로우(high/low)상태에 대한 값을 저장하는 병렬 포트 상태 레지스터; 상기 병렬 포트 상태 레지스터로부터 출력되는 각 핀의 하이/로우 값에 따라 컴퓨터에 연결된 프린터 케이블의 연결 여부상태를 판단하여 이에 대한 결과를 디스플레이하는 제어신호를 출력하는 조작 패널 제어부; 및 상기 조작 패널 제어부에서 출력되는 프린터 케이블 연결 여부 상태에 대한 제어신호에 따라 해당 내용을 디스플레이하는 표시부로 이루어지는 특징이 있다.The apparatus for checking the cable connection of the printer of the present invention for achieving the above object receives a print command transmitted from a computer and a control signal associated therewith and stores a value for a high / low state of each pin of a port. A parallel port status register; An operation panel controller which determines whether a printer cable connected to a computer is connected according to a high / low value of each pin output from the parallel port status register and outputs a control signal for displaying a result thereof; And a display unit for displaying the corresponding contents according to a control signal for a printer cable connection state output from the operation panel controller.

이때 상기 표시부는 LCD 또는 LED를 이용하는 특징이 있다.At this time, the display unit is characterized by using an LCD or LED.

상기의 목적을 달성하기 위한 본 발명의 프린터의 케이블 연결상태 점검의 또 다른 장치는 컴퓨터로부터 전송되는 인쇄 명령 및 이와 관련된 제어 신호를 수신하고 유니버셜 직렬 버스 케이블을 통해 전원이 인가되는 지의 여부를 체크하여 저장하는 V 버스; 상기 V 버스의 Vcc 전원 인가 여부를 확인할 수 있도록 입출력 어드레스에 매핑시킨 범용 I/O(입출력부); 상기 범용 I/O로부터 출력되는 전원인가여부에 대한 결과값에 따라 컴퓨터에 연결된 프린터 케이블의 연결 여부상태를 판단하여 이에 대한 결과를 디스플레이하는 제어신호를 출력하는 조작 패널 제어부; 및 상기 조작 패널 제어부에서 출력되는 프린터 케이블 연결 여부 상태에 대한 제어신호에 따라 해당 내용을 디스플레이하는 표시부로 이루어지는 특징이 있다.Another apparatus for checking the cable connection of the printer of the present invention for achieving the above object is to receive a print command and a control signal associated with it from a computer and to check whether power is supplied through the universal serial bus cable V bus to store; A general purpose I / O (input / output unit) mapped to an input / output address to confirm whether the V bus is powered on; An operation panel controller which determines whether a printer cable connected to a computer is connected according to a result value of whether power is output from the general-purpose I / O and outputs a control signal for displaying the result; And a display unit for displaying the corresponding contents according to a control signal for a printer cable connection state output from the operation panel controller.

이때 상기 표시부는 LCD 또는 LED를 이용하는 특징이 있다.At this time, the display unit is characterized by using an LCD or LED.

이하, 첨부된 도면을 참조하여 본 발명을 보다 상세히 설명한다.Hereinafter, with reference to the accompanying drawings will be described the present invention in more detail.

도 1은 본 발명에 의한 프린터의 케이블 연결상태 점검 장치에 관한 블록도이고, 도 2는 본 발명에 의한 프린터의 케이블 연결상태 점검 방법에 관한 순서도이다.1 is a block diagram of an apparatus for checking a cable connection state of a printer according to the present invention, and FIG. 2 is a flowchart of a method for checking a cable connection state of a printer according to the present invention.

도 1에 도시된 장치는 컴퓨터(10)의 IEEE1284 호환 병렬 케이블 A 타입 커넥터(25핀)(21)에 연결된 IEEE1284 호환 병렬 케이블(20)을 통하여 IEEE1284 호환 병렬 케이블 B 타입 커넥터(36핀)(22)로 전송되는 인쇄 명령 및 이와 관련된 제어 신호를 수신하고 포트중 일정 핀의 하이/로우(high/low)상태에 대한 값을 저장하는 병렬 포트 상태 레지스터(PPSR: Parallel Port Status Register)(31); 컴퓨터(10)로부터 전송되는 인쇄 명령 및 이와 관련된 제어 신호를 수신하고 유니버셜 직렬 버스 케이블(USB: Universal Serial Bus)(25)을 통해 전원이 인가되는 지의 여부를 체크하여 저장하는 V 버스(32); 상기 V 버스(32)의 Vcc 전원 인가 여부를 확인할 수 있도록 입출력 어드레스에 매핑(mapping)시킨 범용 I/O(GPIO: General Purpose I/O)(33); 상기 병렬 포트 상태 레지스터(31)로부터 출력되는 각 핀의 하이/로우 값과 상기 범용 I/O(33)로부터 출력되는 전원인가여부에 대한 결과값에 따라 컴퓨터(10)에 연결된 프린터 케이블의 연결 여부상태를 판단하여 이에 대한 결과를 디스플레이하는 제어신호를 출력하는 조작 패널 제어부(34); 상기 조작 패널 제어부(34)에서 출력되는 프린터 케이블 연결 여부 상태에 대한 제어신호에 따라 해당 내용을 디스플레이하는 표시부로 이루어진다.The device shown in FIG. 1 is an IEEE1284 compliant parallel cable B type connector (36 pins) 22 through an IEEE1284 compliant parallel cable 20 connected to an IEEE1284 compliant parallel cable A type connector (25 pins) 21 of a computer 10. A parallel port status register (PPSR) 31 for receiving a print command and a control signal related thereto and storing a value for a high / low state of a certain pin of the port; A V bus 32 that receives print commands and control signals related thereto from the computer 10 and checks and stores whether power is supplied via a universal serial bus cable (USB) 25; A general purpose I / O (GPIO) 33 mapped to an input / output address so as to determine whether the V bus 32 is powered on; Whether a printer cable connected to the computer 10 is connected according to a high / low value of each pin output from the parallel port status register 31 and a result value of whether power is output from the general purpose I / O 33. An operation panel controller 34 which determines a state and outputs a control signal for displaying a result thereof; The display panel may display a corresponding content according to a control signal for a printer cable connection state output from the operation panel controller 34.

상기 표시부는 프린터에 구비되는 표시 종류(LCD, LED)에 따라 변경가능하며 본 발명의 실시예에서는 LED를 예를 들어 설명하기로 한다.The display unit may be changed according to the display type (LCD, LED) provided in the printer. In the embodiment of the present invention, the LED will be described as an example.

따라서 본 발명의 실시예에 설명되는 표시부는 전원 LED(35)와 작업상태 LED(36)로 구분되며, 이외에도 프린터의 기능에 따라 기타 LED가 구비되지만 본 발명에 필요한 전원 LED(35)와 작업상태 LED(36)만 고려하여 설명한다.Therefore, the display unit described in the embodiment of the present invention is divided into the power LED 35 and the working state LED 36, and other LEDs are provided according to the function of the printer, but the power LED 35 and the working state required for the present invention. Only the LED 36 is considered and described.

상기 병렬 포트 상태 레지스터(31)에 저장되는 일정 핀의 값은 IEEE1284 호환 병렬 케이블 B 타입 커넥터(22)의 핀중에서 nStrobe, nAutofd, nSelectln, nlnit 시그널을 출력하는 핀의 신호에 대해 저장한다.The value of a predetermined pin stored in the parallel port status register 31 is stored for a signal of a pin that outputs nStrobe, nAutofd, nSelectln, and nlnit signals among the pins of the IEEE1284 compatible parallel cable B type connector 22.

nStrobe는 프린터에 데이터가 전송되도록 하기 위해 로우로 세트되며 로우값에서 데이터가 유효하게 처리되는 신호이고, nAutofd는 프린터를 오토라인 피드 모드(Auto-line Feed Mode)가 되도록 로우로 세트되는 신호이고, nSelectln은 주변장치를 선택하도록 로우로 세트되는 신호이고, nlnit는 로우로 세트될 때 인터페이스(interface)를 리셋(reset)하고 호환모드 아이들(idle) 상태로 되돌아가는 신호이다.nStrobe is a signal that is set low to send data to the printer and the data is processed effectively at a low value, nAutofd is a signal that is set low to place the printer in Auto-line Feed Mode. nSelectln is a signal that is set low to select a peripheral and nlnit is a signal that resets the interface and returns to compatibility mode idle when set to low.

따라서 nStrobe, nAutofd, nSelectln, nlnit 시그널은 로우가 정상상태이므로 nStrobe, nAutofd, nSelectln, nlnit 시그널이 모두 하이인 경우에는 비정상상태이므로 케이블 미연결로 판단하도록 처리되고, nStrobe, nAutofd, nSelectln, nlnit 시그널중 어느 하나라도 로우인 경우에는 정상상태로 판정하여 케이블 연결상태로 처리된다.Therefore, the nStrobe, nAutofd, nSelectln, and nlnit signals are processed to judge that the cable is disconnected when the nStrobe, nAutofd, nSelectln, and nlnit signals are all high. If any one is low, it is determined as normal and the cable is connected.

상기와 같이 구성된 본 발명의 조작 패널 제어부(34)의 동작을 도 2를 참고로하여 설명하면 다음과 같다.The operation of the operation panel control unit 34 of the present invention configured as described above will be described with reference to FIG. 2 as follows.

먼저 프린터의 전원이 온(on) 되면 조작 패널 제어부(34)는 프린터 시스템을 초기화하고(S10), 컴퓨터(10)와 프린터(30)간에 연결된 케이블의 종류를 비교판단한다(S20).First, when the power of the printer is turned on, the operation panel controller 34 initializes the printer system (S10) and compares and determines the type of cable connected between the computer 10 and the printer 30 (S20).

S20에서 프린터의 케이블 종류가 IEEE1284 호환 병렬 케이블로 판단되면 병렬 포트 상태 레지스터(PPSR)(31)의 일정 핀값(nStrobe, nAutofd, nSelectln,nlnit)의 상태를 판독한다(S31).If it is determined in S20 that the cable type of the printer is an IEEE1284 compatible parallel cable, the state of a predetermined pin value (nStrobe, nAutofd, nSelectln, nlnit) of the parallel port status register (PPSR) 31 is read (S31).

판독된 값이 모두 하이일 경우, 비정상상태인 케이블 미연결 상태로 판정하여 전원 LED(35)를 점멸(blinking)하는 신호를 출력하고 작업상태 LED(36)를 오프(off)하는 신호를 출력하여(S33) 사용자에게 IEEE1284 호환 병렬 케이블(20)이 미연결되었음을 알려준다.When all the read values are high, it is determined that the cable is not connected in an abnormal state, and outputs a signal for blinking the power LED 35 and outputs a signal for turning off the work state LED 36. (S33) Informs the user that the IEEE1284 compatible parallel cable 20 is not connected.

그리고 S32에서 판독된 값이 모두 하이가 아닌 어느 하나의 핀값의 로우인 것으로 판단된 경우, IEEE1284 호환 병렬 케이블(20)이 정상적으로 연결된 것으로 판정하여 전원 LED(35)의 온(on) 상태가 유지되도록 하여(S34) 사용자가 IEEE1284 호환 병렬 케이블(20) 연결이 정상적으로 이루어졌음을 알 수 있도록 한다.When it is determined that all of the values read in S32 are low of any one of the pin values instead of high, it is determined that the IEEE1284 compliant parallel cable 20 is normally connected so that the on state of the power LED 35 is maintained. (S34) so that the user can know that the IEEE1284 compatible parallel cable 20 connection is made normally.

한편 S20에서 프린터의 케이블 종류가 유니버셜 직렬버스(USB: Universal Serial Bus)케이블(25)인 경우 V 버스(32)에 인가되는 전원 상태에 대해 매핑된 값이 저장된 범용 I/O(GPIO)(33)의 값을 판독하여(S41) Vcc(+5V)가 인가된 상태인지를 비교판단한다(S42).On the other hand, if the cable type of the printer in the S20 is a universal serial bus (USB) cable (25), the general purpose I / O (GPIO) (33) storing the mapped value for the power state applied to the V bus 32 Is read (S41) to determine whether Vcc (+ 5V) is applied (S42).

S42에서 범용 I/O(GPIO)(33)에 +5V가 인가된 것으로 판단되면 유니버셜 직렬버스 케이블(25)이 정상적으로 연결된 상태이므로 전원 LED(35)의 온(on) 상태가 유지되도록 하고(S44), S42에서 +5V가 인가되지 않은 것으로 판단되면 유니버셜 직렬버스 케이블(25)이 연결되지 않은 상태이므로 전원 LED(35)에 점멸(blinking) 신호를 출력하고 작업상태 LED(36)를 오프(off)하는 신호를 출력하여(S43) 사용자에게 유니버셜 직렬버스 케이블(25)이 미연결되었음을 알려준다.If it is determined in S42 that + 5V is applied to the general purpose I / O (GPIO) 33, since the universal serial bus cable 25 is normally connected, the on state of the power LED 35 is maintained (S44). ), If it is determined that + 5V is not applied at S42, the universal serial bus cable 25 is not connected, and thus, a blinking signal is output to the power LED 35 and the work state LED 36 is turned off. (S43) to inform the user that the universal serial bus cable 25 is not connected.

따라서 사용자는 프린터의 전원 LED(35)가 점멸 상태이고 작업상태 LED(36)가 오프일 경우, IEEE1284 호환 병렬 케이블(20) 또는 유니버셜 직렬 버스 케이블(25)이 연결되지 않은 상태임을 알 수 있어 불필요한 서비스 요청을 하지 않고도 프린터를 정상적으로 사용할 수 있다.Therefore, when the power LED 35 of the printer is blinking and the work state LED 36 is off, the user may know that the IEEE1284 compliant parallel cable 20 or the universal serial bus cable 25 is not connected. The printer can be used normally without a service request.

본 발명은 상술한 특정의 바람직한 실시예에 한정되지 아니하며, 청구범위에 기재된 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형 실시가 가능한 것임은 물론이고 그와 같은 변경은 본 발명의 권리범위에 속함은 물론이다.The present invention is not limited to the above-described specific preferred embodiments, and various modifications can be made by those skilled in the art without departing from the gist of the present invention described in the claims. Of course, such a change is of course within the scope of the present invention.

상술한 바와 같이 본 발명에 의하면, 프린터의 IEEE1284 호환 병렬 케이블 또는 유니버셜 직렬 버스 케이블의 미연결 또는 접속불량으로 인한 에러를 미연에 방지하여 사용자의 실수에 의한 넌센스 콜을 줄여 부가서비스 비용 발생을 감소시키는 효과가 있고, 서비스 요청 횟수가 줄어듦에 따라 서비스 품질을 향상시키는 효과가 있다.As described above, according to the present invention, it is possible to prevent errors caused by unconnected or poor connection of the IEEE1284 compliant parallel cable or universal serial bus cable of the printer, thereby reducing the non-sense call caused by the user's mistake, thereby reducing the additional service cost. There is an effect, and as the number of service requests is reduced, there is an effect of improving service quality.

Claims (7)

프린터의 전원이 온(on) 되면 프린터 시스템을 초기화하는 단계;Initializing the printer system when the printer is powered on; 프린터 초기화에 따라 컴퓨터와 프린터간에 연결된 케이블의 종류를 비교판단하는 단계;Comparing and determining the type of cable connected between the computer and the printer according to the printer initialization; 프린터의 케이블 종류가 IEEE1284 호환 병렬 케이블인 경우 케이블 포트의 일정 핀값의 상태를 판독하는 단계;Reading a state of a predetermined pin value of the cable port if the cable type of the printer is an IEEE1284 compliant parallel cable; 판독된 핀값의 결과값을 이용하여 케이블의 연결 여부를 비교판단하는 단계; 및Comparing the connection of the cable with the result of the read pin value; And 케이블이 미연결된 것으로 판단시 표시부에 케이블 미연결상태를 디스플레이하는 단계로 이루어지는 것을 특징으로 하는 프린터의 케이블 연결상태 점검 방법.Checking the cable connection status of the printer, characterized in that the step of displaying the cable unconnected state on the display when it is determined that the cable is not connected. 제 1 항에 있어서, 상기 일정 핀값의 상태를 판독하는 단계는The method of claim 1, wherein the reading of the state of the predetermined pin value comprises: 병렬 케이블 포트중 선택된 다수의 핀값의 하이/로우(high/low) 신호를 판독하는 것을 특징으로 하는 프린터의 케이블 연결상태 점검 방법.A method of checking a cable connection state of a printer, characterized by reading a high / low signal of a plurality of pin values selected among parallel cable ports. 프린터의 전원이 온(on) 되면 프린터 시스템을 초기화하는 단계;Initializing the printer system when the printer is powered on; 프린터 초기화에 따라 컴퓨터와 프린터간에 연결된 케이블의 종류를 비교판단하는 단계;Comparing and determining the type of cable connected between the computer and the printer according to the printer initialization; 프린터의 케이블 종류가 유니버셜 직렬버스(USB: Universal Serial Bus)케이블인 경우 케이블의 포트에 인가되는 전원 상태를 통하여 케이블 연결여부를 판독하는 단계;If the cable type of the printer is a universal serial bus (USB) cable, reading whether the cable is connected through a power state applied to a port of the cable; 판독된 결과값을 이용하여 케이블의 연결 여부를 비교판단하는 단계; 및Comparing and determining whether the cable is connected using the read result value; And 케이블이 미연결된 것으로 판단시 표시부에 케이블 미연결상태를 디스플레이하는 단계로 이루어지는 것을 특징으로 하는 프린터의 케이블 연결상태 점검 방법.Checking the cable connection status of the printer, characterized in that the step of displaying the cable unconnected state on the display when it is determined that the cable is not connected. 컴퓨터로부터 전송되는 인쇄 명령 및 이와 관련된 제어 신호를 수신하고 포트 각 핀의 하이/로우(high/low)상태에 대한 값을 저장하는 병렬 포트 상태 레지스터;A parallel port status register that receives a print command sent from a computer and a control signal associated therewith and stores a value for a high / low state of each pin of the port; 상기 병렬 포트 상태 레지스터로부터 출력되는 각 핀의 하이/로우 값에 따라 컴퓨터에 연결된 프린터 케이블의 연결 여부상태를 판단하여 이에 대한 결과를 디스플레이하는 제어신호를 출력하는 조작 패널 제어부; 및An operation panel controller which determines whether a printer cable connected to a computer is connected according to a high / low value of each pin output from the parallel port status register and outputs a control signal for displaying a result thereof; And 상기 조작 패널 제어부에서 출력되는 프린터 케이블 연결 여부 상태에 대한 제어신호에 따라 해당 내용을 디스플레이하는 표시부로 이루어지는 것을 특징으로 하는 프린터의 케이블 연결상태 점검 장치.Device for checking a cable connection state of the printer, characterized in that the display unit for displaying the corresponding content in accordance with the control signal for the printer cable connection status output from the operation panel control unit. 제 4항에 있어서, 상기 표시부는 LCD 또는 LED를 이용하는 것을 특징으로 하는 프린터의 케이블 연결상태 점검 장치.The apparatus of claim 4, wherein the display unit uses an LCD or an LED. 컴퓨터로부터 전송되는 인쇄 명령 및 이와 관련된 제어 신호를 수신하고 유니버셜 직렬 버스 케이블을 통해 전원이 인가되는 지의 여부를 체크하여 저장하는 V 버스;A V bus that receives print commands sent from a computer and control signals associated therewith and checks and stores whether power is supplied through a universal serial bus cable; 상기 V 버스의 Vcc 전원 인가 여부를 확인할 수 있도록 입출력 어드레스에 매핑시킨 범용 I/O(입출력부);A general purpose I / O (input / output unit) mapped to an input / output address to confirm whether the V bus is powered on; 상기 범용 I/O로부터 출력되는 전원인가여부에 대한 결과값에 따라 컴퓨터에 연결된 프린터 케이블의 연결 여부상태를 판단하여 이에 대한 결과를 디스플레이하는 제어신호를 출력하는 조작 패널 제어부; 및An operation panel controller which determines whether a printer cable connected to a computer is connected according to a result value of whether power is output from the general-purpose I / O and outputs a control signal for displaying the result; And 상기 조작 패널 제어부에서 출력되는 프린터 케이블 연결 여부 상태에 대한 제어신호에 따라 해당 내용을 디스플레이하는 표시부로 이루어지는 것을 특징으로 하는 프린터의 케이블 연결상태 점검 장치.Device for checking a cable connection state of the printer, characterized in that the display unit for displaying the corresponding content in accordance with the control signal for the printer cable connection status output from the operation panel control unit. 제 6항에 있어서, 상기 표시부는 LCD 또는 LED를 이용하는 것을 특징으로 하는 프린터의 케이블 연결상태 점검 장치.The apparatus of claim 6, wherein the display unit uses an LCD or an LED.
KR1020000052960A 2000-09-07 2000-09-07 Method for checking connection status of printer cable and apparatus thereof KR100362478B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000052960A KR100362478B1 (en) 2000-09-07 2000-09-07 Method for checking connection status of printer cable and apparatus thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000052960A KR100362478B1 (en) 2000-09-07 2000-09-07 Method for checking connection status of printer cable and apparatus thereof

Publications (2)

Publication Number Publication Date
KR20020019766A KR20020019766A (en) 2002-03-13
KR100362478B1 true KR100362478B1 (en) 2002-11-23

Family

ID=19687849

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000052960A KR100362478B1 (en) 2000-09-07 2000-09-07 Method for checking connection status of printer cable and apparatus thereof

Country Status (1)

Country Link
KR (1) KR100362478B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101463471B1 (en) * 2007-06-05 2014-11-19 삼성전자주식회사 Display apparatus to notify status of a external device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100690581B1 (en) * 2005-06-29 2007-03-09 삼성전자주식회사 Display apparatus
KR102161805B1 (en) * 2018-11-23 2020-10-05 (주)성일이노텍 Internet of things gateway and operating method of thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01233613A (en) * 1988-03-07 1989-09-19 Internatl Business Mach Corp <Ibm> Printer having single connector for parallel/series communication
KR970059901A (en) * 1996-01-12 1997-08-12 김광호 Device and method of parallel cable detection of printer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01233613A (en) * 1988-03-07 1989-09-19 Internatl Business Mach Corp <Ibm> Printer having single connector for parallel/series communication
KR970059901A (en) * 1996-01-12 1997-08-12 김광호 Device and method of parallel cable detection of printer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101463471B1 (en) * 2007-06-05 2014-11-19 삼성전자주식회사 Display apparatus to notify status of a external device
US8907937B2 (en) 2007-06-05 2014-12-09 Samsung Electronics Co., Ltd. Display apparatus and method for notifying user of state of external device

Also Published As

Publication number Publication date
KR20020019766A (en) 2002-03-13

Similar Documents

Publication Publication Date Title
US7085876B2 (en) USB controlling apparatus for data transfer between computers and method for the same
US6813662B2 (en) Memory drive having multi-connector and method of controlling the same
US5428798A (en) Computer system capable of connecting expansion unit
US5301276A (en) Method and device for assigning I/O address in data processing apparatus
KR100362478B1 (en) Method for checking connection status of printer cable and apparatus thereof
US7746329B2 (en) Display apparatus and a method of controlling the same
US5513302A (en) Dual purpose printer interface device capable of connecting a printer and a joystick to a portable host computer
US5550958A (en) Printer with extension memory capacity that provides instructions regarding memory installation
US20040143693A1 (en) Data storage apparatus of multiple serial interfaces
US20070233926A1 (en) Bus width automatic adjusting method and system
JP5246242B2 (en) Image processing apparatus and image recording apparatus
JP2005321907A (en) Device driver provision method, information equipment, and peripheral equipment
KR100791464B1 (en) Display apparatus and method of controlling the same
CN109658898B (en) Circuit and method for preventing error of read data and display device
KR100751108B1 (en) Method and apparatus of distinguish input signal for display
CN109426626B (en) Connection circuit and information processing apparatus
JP4594003B2 (en) Printing apparatus and control method of printing apparatus
KR20010049221A (en) Printer auto detecting device
KR20090014084A (en) Apparatus for transmitting data, apparatus and method for generating request
KR100216030B1 (en) Printer control method using universal serial bus
US6957289B2 (en) Bus system having improved control process
KR200211353Y1 (en) Display device having operation display function of overcurrent protection circuit
KR102662356B1 (en) Protocol converting apparatus
JP2003341183A (en) Printer system
JP2009111553A (en) Multifunction machine system

Legal Events

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

Payment date: 20061030

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee