KR100509456B1 - Automatic power-recovery method for printer - Google Patents

Automatic power-recovery method for printer Download PDF

Info

Publication number
KR100509456B1
KR100509456B1 KR1019970036820A KR19970036820A KR100509456B1 KR 100509456 B1 KR100509456 B1 KR 100509456B1 KR 1019970036820 A KR1019970036820 A KR 1019970036820A KR 19970036820 A KR19970036820 A KR 19970036820A KR 100509456 B1 KR100509456 B1 KR 100509456B1
Authority
KR
South Korea
Prior art keywords
power
printer
mode
data
input
Prior art date
Application number
KR1019970036820A
Other languages
Korean (ko)
Other versions
KR19990014970A (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 KR1019970036820A priority Critical patent/KR100509456B1/en
Publication of KR19990014970A publication Critical patent/KR19990014970A/en
Application granted granted Critical
Publication of KR100509456B1 publication Critical patent/KR100509456B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/50Machine control of apparatus for electrographic processes using a charge pattern, e.g. regulating differents parts of the machine, multimode copiers, microprocessor control
    • G03G15/5004Power supply control, e.g. power-saving mode, automatic power turn-off
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G15/00Apparatus for electrographic processes using a charge pattern
    • G03G15/80Details relating to power supplies, circuits boards, electrical connections
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/40Details not directly involved in printing, e.g. machine management, management of the arrangement as a whole or of its constitutive parts
    • G06K15/4055Managing power consumption, e.g. standby mode
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03GELECTROGRAPHY; ELECTROPHOTOGRAPHY; MAGNETOGRAPHY
    • G03G2215/00Apparatus for electrophotographic processes
    • G03G2215/00025Machine control, e.g. regulating different parts of the machine
    • G03G2215/00109Remote control of apparatus, e.g. by a host
    • 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/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/1221Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to power consumption
    • 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/1229Printer resources management or printer maintenance, e.g. device status, power levels

Abstract

본 발명은 전원이 오프되어있을 때 인쇄할 데이터가 입력되면 이를 인지하여 프린터의 전원을 온 시키는 프린터의 자동전원복귀방법에 관한 것이다.The present invention relates to an automatic power return method of a printer that turns on the power of the printer by recognizing the data to be printed when the power is turned off.

이와 같은 목적을 달성하기 위한 본 발명은, 인쇄작업중인 프린터의 전원스위치를 내림으로써 전원을 오프했을 때 상기 프린터의 인쇄작업을 재개하기 위한 자동전원복귀방법에 있어서: 상기 전원스위치를 오프하기전 프린터가 정상적인 동작상태이면 그린/전원끔 모드와 아이들/전원끔 모드 중 어느 하나의 모드로 진입하고 에러가 발생한 상태이면 에러/전원끔 모드로 진입하는 단계; 및 상기 동작중인 모드에서, 호스트 컴퓨터로부터 입력되는 데이터의 타이밍에 따라 전원켬 기능을 수행할 것인지, 하지 않을 것인지를 판단하는 단계를 포함하는 것을 특징으로 한다. 위에 설명한 바와 같이,에러가 발생하여 전원 스위치를 오프한 경우, 프린터의 에러/전원끔 모드에서 에러와 데이터 스트로브 신호를 일정기간동안 유지시킨 후 전원켬 기능을 액티브시키므로, 사용자가 에러 발생원인을 해제할 수 있는 소정 시간을 부여할 수 있다는 이점이 있다.In order to achieve the above object, the present invention provides an automatic power return method for resuming a print job of a printer when the power is turned off by lowering a power switch of a printer that is printing. Enters one of the green / power off mode and the idle / power off mode if the normal operation state, and enter the error / power off mode if an error occurs; And determining whether or not to perform a power-on function according to the timing of data input from the host computer in the operating mode. As described above, when an error occurs and the power switch is turned off, the user turns off the cause of error because the power-on function is activated after maintaining the error and data strobe signals for a certain period of time in the error / power off mode of the printer. There is an advantage that a given time can be given.

Description

프린터의 자동전원복귀방법{Automatic power-recovery method for printer}Automatic power-recovery method for printer}

본 발명은 프린터에 관한 것으로, 더욱 상세하게는 전원이 오프되어있을 때 인쇄할 데이터가 입력되면 이를 인지하여 프린터의 전원을 온 시키는 프린터의 자동전원복귀방법에 관한 것이다.The present invention relates to a printer, and more particularly, to a method for automatically returning power to a printer to turn on the printer by recognizing it when data to be printed is input when the power is turned off.

도 1은 본 발명에 따른 프린터의 개략적인 구성을 도시한 블록도이다. 1 is a block diagram showing a schematic configuration of a printer according to the present invention.

도 1에 도시된 바와 같이, 일반적인 프린터는 컴퓨터로부터 전송되는 데이터가 입력되는 인터페이스부(10)와, 상기 인터페이스부(10)로 입력된 데이터를 인쇄 데이터로 변환하여 저장하기 위한 메모리부(20)와, 상기 메모리부(20)에 저장된 인쇄 데이터를 출력하기 위한 인쇄수단(30)과, 상기 각부를 제어하는 제어부(70)로 구성된다. 또한, 프린터의 동작모드를 설정하는 다수의 키와 인쇄상태를 표시하는 표시부를 구비한 패널부(40)와, 상기 인쇄수단(30)에서 출력되는 인쇄물의 매수를 계수하는 카운터부(60)를 더 포함한다.As shown in FIG. 1, a typical printer includes an interface unit 10 to which data transmitted from a computer is input, and a memory unit 20 for converting and storing data input to the interface unit 10 into print data. And a printing means 30 for outputting print data stored in the memory unit 20, and a control part 70 for controlling the respective parts. In addition, a panel unit 40 having a plurality of keys for setting an operation mode of the printer and a display unit for displaying a printing state, and a counter unit 60 for counting the number of printed matters output from the printing unit 30 are provided. It includes more.

이와같이 구성된 프린터에 있어서, 프린터가 동작하는데 필요한 전력을 절약하기 위한 종래 전원복귀방법을 첨부도면을 참조하여 살펴보면 다음과 같다.In the printer configured as described above, a conventional power return method for saving power required for the printer to operate will be described with reference to the accompanying drawings.

도 2는 종래의 프린터의 자동전원복귀방법을 나타낸 흐름도이다.2 is a flowchart illustrating an automatic power return method of a conventional printer.

이하, 프린터의 지동전원켜짐(power on) 기능이 동작하는 것을 보면, 도 2에 도시한 바와 같이, 사용자가 인위적으로 전원스위치를 조작함으로써 전원을 껏을 경우(power off), 프린터는 그린/전원끔 모드로 진입하게 된다(단계 S10). 여기서 그린모드(Green mode)란 일정시간동안 인쇄데이터가 프린터로 입력되지 않으면 프린터의 전원이 꺼지고(power off), 다시 호스트 컴퓨터로부터 데이터가 입력되면 그를 감지하여 자동으로 전원이 켜지는(power on) 모드를 말하며, 그린/전원끔 모드란 그린모드에서 프런터의 전원스위치를 OFF 조작함으로써 전원을 끄는 경우에 동작하는 모드를 말한다.Hereinafter, when the printer's automatic power on function is operated, as shown in FIG. 2, when the user powers off by artificially operating the power switch, the printer is turned on green / power. The mode is turned off (step S10). Green mode means that if the print data is not input to the printer for a certain period of time, the printer is powered off, and when data is input from the host computer, it is automatically turned on by detecting it. The green / power off mode refers to a mode that is operated when the power is turned off by turning off the power switch of the printer in the green mode.

상기 그린모드에 진입한 프린터의 병렬 포트는 마스킹(masking)이 되어 호스트 컴퓨터로부터 데이터를 입력받을 수 가 없다(단계 S20).The parallel port of the printer entering the green mode is masked and cannot receive data from the host computer (step S20).

그 후, 프린터는 전원켬(power on) 상태가 될 때까지 대기상태에 들어가게 된다(단계 S30).Thereafter, the printer enters the standby state until the power is on (step S30).

단계 S30에서 전원이 켜지게 되면 프린터의 병렬포트는 초기화가 되고(단계 S40), 프린터는 그린/전원켬(Green/Power on) 모드로 진입하여 인쇄할 데이터가 입력되면 인쇄작업을 시작한다(단계 S50, S60).When the power is turned on in step S30, the parallel port of the printer is initialized (step S40), and the printer enters the green / power on mode and starts printing when the data to be printed is input (step S40). S50, S60).

그러나, 이와 같이 동작하는 프린터가 그린/전원끔 모드에 진입하였을때는 사용자가 호스트 컴퓨터로부터 데이터를 보내게 되더라도, 프린터 오프라인(Offline) 에러가 발생되므로 프린터 드라이버(printer driver)에 장치 오프라인(device offline) 상태를 표시하여 프린터를 전원켬(power on)을 해주어야만 인쇄작업이 가능하도록 되어 있어 항상 프린터의 전원 상태를 확인해야만 한다.However, when the printer operating in this manner enters the green / power off mode, even if the user sends data from the host computer, a printer offline error occurs, so that the device driver is not connected to the device offline. You should always check the printer's power status as the printer can be printed only when the printer is powered on by displaying the status.

또한, 상기 프린터가 자동으로 전원켬(power on)기능을 갖는 그린모드에서는, 인쇄작업중 소정의 에러가 발생하여 사용자가 전원스위치를 조작하여 전원을 오프(off)한 경우, 호스트 컴퓨터에서 인쇄할 데이터가 입력되면 상기 자동 전원켬 기능이 동작하지만 이전에 발생된 에러에 대한 아무런 조치가 취해지지 않았으므로 에러발생시점의 데이터에 대한 인쇄작업이 그대로 재개된다.In addition, in the green mode in which the printer has a power on function automatically, when a predetermined error occurs during a print job and the user turns off the power by operating a power switch, data to be printed on the host computer is displayed. When is input, the auto power-on function operates, but no action is taken on the previously generated error, and the printing operation for the data at the time of error occurrence is resumed as it is.

이러한 종래 구성의 프린터가 갖는 문제점을 살펴보면 다음과 같다.Looking at the problem of such a conventional configuration of the printer is as follows.

1) 사용자가 전원스위치를 조작하여 전원끔(power off)을 함으로써 프린터가 진입하는 그린/전원끔 모드에서는 프린터의 병렬 포트를 마스킹(MASKING)하므로 호스트 컴퓨터로부터 인쇄할 데이터를 입력받을 수 없다.1) In green / power off mode where the user enters the printer by turning off the power by operating the power switch, the parallel port of the printer is masked. Therefore, data to be printed from the host computer cannot be received.

2) 상기 1)의 상태에서 사용자가 호스트로부터 인쇄 데이터를 보내게 되면 프린터 오프라인 에러(Offline Error)가 발생되어 프린터 드라이버(printer driver)에서 디바이스 오프라인 상태를 표시하기 때문에, 사용자가 프린터의 전원을 온 해야만 인쇄작업이 가능하도록 되어 있어 항상 프린터의 전원 상태를 확인해야 하는 불편이 있다.2) If the user sends print data from the host in the state of 1) above, a printer offline error occurs and the printer driver displays the device offline state. Therefore, the user turns on the printer. It is inconvenient to check the power status of the printer at all times because printing is possible only when it is possible.

3) 인쇄작업중 에러가 발생하여 전원스위치를 끄더라도 호스트 컴퓨터에서 데이터가 입력하게 되면 곧바로 자동 전원켬(power on) 기능에 의해 프린터가 다시 작동하지만 에러 발생원인이 제거되지 않아 계속적인 에러가 발생된다.3) Even if an error occurs during a print job and the power switch is turned off, when the data is input from the host computer, the printer is restarted immediately by the auto power on function, but the error is not eliminated. .

따라서 본 발명의 목적은 상기와 같은 종래의 문제점을 해결하고자 착안된 것으로서, 사용자가 전원을 강제로 오프하였을 경우 소정의 대기시간을 설정하여 상기 설정된 시간내에 입력되는 데이터를 무시함으로써 프린터의 전원켬기능이 수행되지 않도록 한 프린터의 자동전원복귀방법을 제공함에 있다.Therefore, an object of the present invention is conceived to solve the above-mentioned conventional problems, the power-on function of the printer by ignoring data input within the set time by setting a predetermined standby time when the user forcibly turned off the power. It is to provide a method of automatically returning the power of the printer so that this is not performed.

이와 같은 목적을 달성하기 위한 본 발명은, 인쇄작업중인 프린터의 전원스위치를 내림으로써 전원을 오프했을 때 상기 프린터의 인쇄작업을 재개하기 위한 자동전원복귀방법에 있어서: 상기 전원스위치를 오프하기전 프린터가 정상적인 동작상태이면 그린/전원끔 모드와 아이들/전원끔 모드 중 어느 하나의 모드로 진입하고 에러가 발생한 상태이면 에러/전원끔 모드로 진입하는 단계; 상기 동작중인 모드가 그린/전원끔 모드와 아이들/전원끔 모드중 어느 하나이면 병렬포트를 확인하여 호스트 컴퓨터로부터 데이터가 입력되는지에 따라 인쇄가능여부를 판단하는 단계; 상기 동작중인 모드가 에러/전원끔 모드이면 상기 병렬포트를 확인하여 상기 호스트 컴퓨터로부터 데이터가 일정 시간이상 입력되었는가에 따라 인쇄가능여부를 판단하는 단계; 및 상기 단계에서 인쇄가능상태이면 상기 호스트 컴퓨터로부터 데이터를 입력받아 이를 인쇄하는 단계를 포함하는 것이 특징이다.In order to achieve the above object, the present invention provides an automatic power return method for resuming a print job of a printer when the power is turned off by lowering a power switch of a printer in a printing operation: a printer before turning off the power switch. Enters one of the green / power off mode and the idle / power off mode if the normal operation state, and enter the error / power off mode if an error occurs; If the operation mode is one of a green / power off mode and an idle / power off mode, determining whether the printer can be printed according to whether data is input from a host computer by checking a parallel port; Checking the parallel port and determining whether printing is possible depending on whether data has been input from the host computer for a predetermined time when the operating mode is an error / power off mode; And if the printable state in the step characterized in that it comprises the step of receiving data from the host computer and printing it.

바람직하게도, 상기 그린/전원끔 모드 및 아이들/전원끔 모드는 상기 프린터를 초기화하고, 전원표시LED를 오프시키고 그린 모드를 수행하는 단계; 상기 프린터에 데이터가 입력되는지를 알기 위해 병렬포트의 스트로브 신호가 액티브 상태인지를 판단하는 단계; 상기 판단단계에서 상기 스트로브 신호가 액티브이면 프린터 메커니즘을 액티브시키고, 전원표시LED를 온시키고, 데이터가 입력되면 인쇄작업을 재개하기 위해 동작모드를 스탠바이모드로 절환하는 단계; 및 상기 입력된 데이터에 대해 파싱 작업을 한후 인쇄하는 단계를 포함하는 것이 특징이다.Preferably, the green / power off mode and the idle / power off mode may include: initializing the printer, turning off a power indicator LED, and performing a green mode; Determining whether the strobe signal of the parallel port is active in order to know whether data is input to the printer; Switching the operation mode to the standby mode to activate the printer mechanism when the strobe signal is active, turn on the power indicator LED, and resume printing when data is input; And printing after performing a parsing operation on the input data.

바람직하게도, 에러/전원끔 모드는 소정 시간을 카운트하기 위한 타임카운트값을 크리어하는 단계; 상기 프린터를 초기화하고, 전원표시LED를 오프, 타이머를 온시키고 그린 모드를 수행하는 단계; 상기 프린터에 데이터가 입력되는지를 알기 위해 병렬포트의 스트로브 신호가 액티브 상태인지를 판단하는 단계; 상기 병렬포트를 확인하여 호스트 컴퓨터로부터 입력되는 데이터에 대한 인쇄작업을 재개하기 위해 상기 병렬포트의 상기 스트로브 신호가 액티브 상태인지를 판단하는 단계; 상기 스토로브 신호 액티브이면 다시 상기 타임카운트 값이 소정 값이상인지를 판단하는 단계; 및 상기 타임카운트 값이 소정 값 이하이면 상기 타임카운트값을 크리어하고 타이머를 온하며 상기 병렬포트에서 인식(ACK) 신호를 무효화(non-active) 시켜 상기 병렬포트를 확인하는 단계로 복귀하고, 상기 타임카운트 값이 소정 값 이상이면, 프린터 메커니즘을 액티브시키고 타임카운트를 크리어 한후, 인쇄작업을 수행하게 하는 단계를 포함하는 것이 특징이다.Preferably, the error / power off mode comprises the steps of: clearing a time count value for counting a predetermined time; Initializing the printer, turning off a power indicator LED, turning on a timer, and performing a green mode; Determining whether the strobe signal of the parallel port is active in order to know whether data is input to the printer; Checking the parallel port to determine whether the strobe signal of the parallel port is active to resume printing for data input from a host computer; Determining whether the time count value is greater than or equal to a predetermined value when the stove signal is active; And if the time count value is less than or equal to a predetermined value, clears the time count value, turns on a timer, and non-active the acknowledgment (ACK) signal at the parallel port, and returns to checking the parallel port. If the time count value is greater than or equal to a predetermined value, the method includes activating the printer mechanism, clearing the time count, and then performing a print job.

이하, 첨부 도면을 참조하여 본 발명의 일실시예를 설명하면 다음과 같다. Hereinafter, an embodiment of the present invention will be described with reference to the accompanying drawings.

도 3a, 3b는 본 발명의 프린터의 자동전원복귀방법의 수순을 나타낸 흐름도이다.3A and 3B are flowcharts showing the procedure of the automatic power return method of the printer of the present invention.

일반적으로 프린터는 호스트 컴퓨터로부터 일정시간동안 인쇄할 데이터가 입력되지 않으면 절전모드인 그린 모드(Green Mode)로 변환되어 트리커리(trickery; 가짜) 프린터 전원끔 상태를 유지한다. 이 상태에서 호스트 컴퓨터로부터 인쇄할 데이터가 프린터로 입력되면, 인쇄작업이 재개되게 된다.In general, when the printer does not input data to be printed for a certain period of time from the host computer, the printer is switched to the green mode, which is a power saving mode, to maintain the power of the trickery printer. In this state, when data to be printed from the host computer is input to the printer, the print job is resumed.

그러나 프린터의 전원 스위치를 눌러서 프린터의 전원을 오프시켰을 경우 프린터의 동작모드(S102)는 다음의 세가지 상태중 하나가 된다.However, when the printer is turned off by pressing the power switch of the printer, the operation mode (S102) of the printer becomes one of the following three states.

즉 첫 번째로 그린/전원끔 모드(S104), 두 번째로 아이들/전원끔 모드(S106), 세 번째로 에러/전원끔 모드(S108)가 있는데, 첫 번째와 두 번째의 경우는 데이터가 입력되는 즉시로 인쇄작업이 즉시 가능하고, 세 번째의 경우는 데이터가 입력되고서도 소정 시간이 경과되어야만 인쇄작업이 가능하다.In other words, there are green / power off mode (S104), idle / power off mode (S106), and error / power off mode (S108). As soon as the print job is available, the print job is possible only after a predetermined time has elapsed even after data is input.

도 3a, 3b를 참조하여 본발명의 프린터의 자동전원복귀방법에서 프린터의 동작을 살펴보면 다음과 같다.The operation of the printer in the automatic power return method of the printer of the present invention with reference to Figure 3a, 3b as follows.

동작중인 프린터의 전원스위치가 오프되면, 프린터의 동작모드(S102)는 그린/전원끔 모드(S104), 아이들/전원끔 모드(S106), 또는 에러/전원끔 모드(S108) 중의 하나가 된다.When the power switch of the printer in operation is turned off, the operation mode S102 of the printer becomes one of the green / power off mode S104, the idle / power off mode S106, or the error / power off mode S108.

그 중 프린터가 그린/전원끔 모드(S104), 아이들/전원끔 모드(S106)에 진입하게 되면, 프린터는 초기화되어, 초기 전원이 온되었을 때의 상태가 되며, 이때 전원표시 LED는 오프된다(S110).When the printer enters the green / power off mode (S104) and the idle / power off mode (S106), the printer is initialized to become a state when the initial power is turned on, and the power indication LED is turned off ( S110).

그 후, 이 상태에서 계속하여 병렬 포트를 확인하여(S110), 호스트 컴퓨터에서 데이터를 프린터로 내보내기 위해 스트로브 신호를 액티브시키는 지를 확인한다(S114).Thereafter, the parallel port is continuously checked in this state (S110), and it is checked whether the strobe signal is activated in order to export data from the host computer to the printer (S114).

호스트 컴퓨터로부터의 상기 스트로브 신호가 액티브되면 프린터 메커니즘을 액티브시키고, 프린터의 정상동작을 위해 프린터 내 모터, 센서, 헤드 등을 아이들 상태로 절환한다(S116).When the strobe signal from the host computer is activated, the printer mechanism is activated, and the motor, sensor, head, etc. in the printer are switched to the idle state for normal operation of the printer (S116).

프린터 메커니즘이 액티브되는 동안 전원표시LED는 온이 되어 자동전원켬 기능이 수행되고 있음을 확인할 수 있게 한다(S118).While the printer mechanism is active, the power indicator LED is turned on to confirm that the automatic power-on function is being performed (S118).

그 후, 프린터의 동작모드를 스탠바이(standby) 모드로 절환하여 데이터를 입력받을 수 있는 상태로 만든다(S120).Thereafter, the operation mode of the printer is switched to the standby mode to make a state in which data can be input (S120).

그 후, 호스트로부터 인쇄할 데이터가 입력되면 이를 전달받아 데이터 파싱을 하고(S122), 상기 데이터를 인쇄한다(S124).Thereafter, when data to be printed is input from the host, the data is parsed (S122), and the data is printed (S124).

한편, 프린터 동작중에 에러가 발생하여 사용자가 전원스위치를 끄게 되면, 프린터는 에러/전원끔 모드(S108)에 진입하게 된다. 이 경우, 소정 시간 동안은 호스트로부터 데이터가 입력되는 것을 방지하여야 사용자가 상기 발생된 에러의 원인을 제거 할 수 있으므로 경과되는 시간을 카운트하기 위해 타임카운트(time count)를 0으로 크리어한다(S202; 도 3b).On the other hand, if an error occurs during the printer operation and the user turns off the power switch, the printer enters the error / power off mode (S108). In this case, since the user can eliminate the cause of the generated error by preventing data from being input from the host for a predetermined time, the time count is cleared to 0 to count the elapsed time (S202; 3b).

그 후, 프린터를 초기화시키면, 초기 전원이 온되었을 때의 상태가 되고, 이때 전원표시 LED는 오프되며, 상기 타임카운트를 소정 값으로 설정하고 타이머를 온시킨다(S204).Thereafter, when the printer is initialized, the initial power is turned on. At this time, the power display LED is turned off, the time count is set to a predetermined value, and the timer is turned on (S204).

그 후, 프린터의 병렬 포트를 확인하여 호스트 컴퓨터에서 데이터를 프린터로 내보내기 전에 스트로브 신호를 액티브시키는 지를 확인한다(S206)(S208).Thereafter, the parallel port of the printer is checked to confirm whether the strobe signal is activated before sending data from the host computer to the printer (S206) (S208).

상기 병렬 포트를 확인하여 스트로브 신호가 액티브 되었으면, 타이머의 타임카운트 값을 검사하여 소정 값 이상인지를 확인한다(S210).If the strobe signal is activated by checking the parallel port, the time count value of the timer is checked to determine whether or not the predetermined value is greater than or equal to a predetermined value (S210).

그 후, 상기 타임카운트값이 소정 값 이상이면, 사용자가 상기 발생된 에러의 원인을 제거하여 프린터가 다시 인쇄작업을 할 수 있는 상태가 되었다고 판단되므로, 프린터 메커니즘을 액티브시키고 타임카운트를 다시 0으로 크리어 한후, 프린트 동작을 수행할 수 있는 루틴으로 점프하게 된다(S212).After that, if the time count value is equal to or greater than a predetermined value, it is determined that the user has removed the cause of the generated error and the printer is ready to print again, so that the printer mechanism is activated and the time count is set back to zero. After creeping, a jump is made to a routine capable of performing a print operation (S212).

그러나, 상기 타임카운트값이 소정 값 이하이면, 사용자가 상기 발생된 에러의 원인을 아직 제거하지 못하여 프린터는 인쇄 작업을 할 수 없는 상태라고 판단되므로, 타임카운트를 다시 0으로 크리어 하고 타이머를 다시 온 시킨다(S220). 그리고 호스트 컴퓨터로부터의 스트로브 신호에 대한 프린터의 인식(ACK) 신호를 무효화(non-active)시킴으로써(S222), 입력되는 데이터가 에러 데이터이며, 사용자에게 프린터의 상태가 정상이 아님을 알려줌으로써 에러 상황에 대한 소정 조치를 취할 수 있도록 한다.However, if the time count value is less than or equal to the predetermined value, the printer has determined that the print job cannot be performed because the user has not yet eliminated the cause of the generated error. Therefore, the time count is cleared to 0 again and the timer is turned on again. (S220). Then, by invalidating the printer's acknowledgment (ACK) signal for the strobe signal from the host computer (S222), the input data is error data, and the user is informed that the status of the printer is not normal. Allows you to take certain action.

이상에서 살펴본 바와 같이 본 발명에 따르면 그린 모드가 아닌 상태에서 프린터를 오프하여도 호스트 컴퓨터에서 인쇄명령과 함께 인쇄 데이터를 보내면 프린터 자체적으로 파워켬 기능을 행하여 데이터를 인쇄함으로써 사용자는 프린터의 현재전원상태를 전혀 고려하지 않아도 되는 이점이 있다.As described above, according to the present invention, even when the printer is turned off in the non-green mode, when the host computer sends the print data with the print command, the printer powers on the printer itself and prints the data so that the user can print the data. There is an advantage that does not need to consider at all.

또한 본 발명에 따르면 전원을 오프하지 않아도 그린 모드가 있어서 호스트 컴퓨터에서 데이터가 입력되면 스탠바이 모드로 절환되어 인쇄작업이 이루어지지만, 전원스위치를 내림으로써 전원을 오프한 경우에도 자동 전원켬 모드가 있어 전원 코드(cord)를 뽑는 경우를 제외하고는 프린터의 현재전원상태를 고려하지 않아도 된다는 이점이 있다.In addition, according to the present invention, even when the power is off, there is a green mode, when data is input from the host computer, the standby mode is switched to the print job, but the automatic power-on mode is provided even when the power is turned off by turning the power switch off. There is an advantage that the current power state of the printer does not need to be considered except when the cord is unplugged.

또한 본 발명에 따르면 에러가 발생하여 전원 스위치를 오프한 경우, 프린터의 에러/전원끔 모드에서 에러와 데이터 스트로브 신호를 일정기간동안 유지시킨 후 전원켬 기능을 액티브시키므로, 사용자가 에러 발생원인을 해제할 수 있는 소정 시간을 부여할 수 있다는 이점이 있다.In addition, according to the present invention, when an error occurs and the power switch is turned off, the user turns off the error cause because the power-on function is activated after maintaining the error and data strobe signals for a predetermined period in the error / power off mode of the printer. There is an advantage that a given time can be given.

도 1은 일반적인 프린터의 하드웨어 블록도,1 is a hardware block diagram of a typical printer;

도 2는 종래의 프린터의 자동전원복귀방법을 나타낸 흐름도,2 is a flowchart illustrating an automatic power return method of a conventional printer;

도 3a, 3b는 본 발명의 프린터의 자동전원복귀방법의 수순을 나타낸 흐름도이다.3A and 3B are flowcharts showing the procedure of the automatic power return method of the printer of the present invention.

<도면의주요부분에사용된부호의설명><Description of the symbols used in the main parts of the drawing>

10: 인터페이스부 20: 메모리부10: interface unit 20: memory unit

30: 인쇄수단 40: 패널부30: printing means 40: panel portion

60: 카운터부 70: 제어부60: counter unit 70: control unit

Claims (3)

인쇄작업중인 프린터의 전원스위치를 내림으로써 전원을 오프했을 때 상기 프린터의 인쇄작업을 재개하기 위한 자동전원복귀방법에 있어서: In the automatic power return method for resuming a print job of the printer when the power is turned off by lowering the power switch of the printer that is printing. a) 상기 전원스위치를 오프하기전 프린터가 정상적인 동작상태이면 그린/전원끔 모드와 아이들/전원끔 모드 중 어느 하나의 모드로 진입하고 에러가 발생한 상태이면 에러/전원끔 모드로 진입하는 단계; a) entering a green / power off mode or an idle / power off mode if the printer is in a normal operating state before turning off the power switch, and entering an error / power off mode if an error occurs; b) 상기 동작중인 모드가 그린/전원끔 모드와 아이들/전원끔 모드중 어느 하나이면 병렬포트를 확인하여 호스트 컴퓨터로부터 데이터가 입력되는지에 따라 인쇄가능여부를 판단하는 단계; b) if the operating mode is one of a green / power off mode and an idle / power off mode, determining whether to print based on whether data is input from a host computer by checking a parallel port; c) 상기 동작중인 모드가 에러/전원끔 모드이면 상기 병렬포트를 확인하여 상기 호스트 컴퓨터로부터 데이터가 일정 시간이상 입력되었는가에 따라 인쇄가능여부를 판단하는 단계; 및 c) if the operating mode is an error / power off mode, checking the parallel port to determine whether printing is possible depending on whether data has been input from the host computer for a predetermined time or more; And d) 상기 b)단계 또는 c)단계에서 인쇄가능상태이면 상기 호스트 컴퓨터로부터 데이터를 입력받아 이를 인쇄하는 단계를 포함하는 것을 특징으로 하는 프린터의 자동전원복귀방법.and d) receiving data from the host computer and printing it if the printer is in the printable state in step b) or c). 제 1 항에 있어서, 상기 그린/전원끔 모드와 아이들/전원끔 모드는:The method of claim 1, wherein the green / power off mode and the idle / power off mode are: 상기 프린터를 초기화하고, 전원표시LED를 오프시켜 그린 모드를 수행하는 그린모드 수행 단계; A green mode performing step of initializing the printer and turning off a power display LED to perform a green mode; 상기 프린터에 데이터가 입력되는지를 알기 위해 병렬포트의 스트로브 신호가 액티브 상태인지를 판단하는 판단 단계;A determination step of determining whether the strobe signal of the parallel port is active in order to know whether data is input to the printer; 상기 판단 단계에서 상기 스트로브 신호가 액티브이면 프린터 메커니즘을 액티브시키고, 전원표시LED를 온시키고, 데이터가 입력되면 인쇄작업을 재개하기 위해 동작모드를 스탠바이모드로 절환하는 절환 단계; 및A switching step of activating a printer mechanism when the strobe signal is active, turning on a power indicator LED, and switching a standby mode to a standby mode when data is input; And 상기 입력된 데이터에 대해 파싱 작업을 한후 인쇄하는 인쇄 단계를 포함하는 것을 특징으로 하는 프린터의 자동전원복귀방법.And a printing step of printing after parsing the input data. 제 1 항에 있어서, 에러/전원끔 모드는:The method of claim 1, wherein the error / power off mode is: 소정 시간을 카운트하기 위한 타임카운트값을 크리어하는 단계;Clearing a time count value for counting a predetermined time; 상기 프린터를 초기화하고, 전원표시LED를 오프, 타이머를 온시켜 그린 모드를 수행하는 단계; Initializing the printer, turning off a power indicator LED, and turning on a timer to perform a green mode; 상기 프린터에 데이터가 입력되는지를 알기 위해 병렬포트의 스트로브 신호가 액티브 상태인지를 판단하는 단계;Determining whether the strobe signal of the parallel port is active in order to know whether data is input to the printer; 상기 병렬포트를 확인하여 호스트 컴퓨터로부터 입력되는 데이터에 대한 인쇄작업을 재개하기 위해 상기 병렬포트의 상기 스트로브 신호가 액티브 상태인지를 판단하는 단계;Checking the parallel port to determine whether the strobe signal of the parallel port is active to resume printing for data input from a host computer; 상기 스토로브 신호 액티브이면 다시 상기 타임카운트 값이 소정 값 이상인지를 판단하는 타임카운트 값 판단 단계; 및A time count value determining step of determining whether the time count value is greater than or equal to a predetermined value when the stove signal is active; And 상기 타임카운트 값 판단 단계에서 상기 타임카운트 값이 소정 값 이하이면 상기 타임카운트을 크리어하고 타이머를 온하며 상기 병렬포트의 인식(ACK) 신호를 무효화(non-active)시키고, 상기 타임카운트 값이 소정 값 이상이면 프린터 메커니즘을 액티브시키고 상기 타임카운트를 크리어 한후, 인쇄작업을 수행하게 하는 단계를 포함하는 것을 특징으로 하는 프린터의 자동전원복귀방법.In the determining of the time count value, if the time count value is less than or equal to a predetermined value, the time count is cleared, the timer is turned on, the ACK signal of the parallel port is made non-active, and the time count value is a predetermined value. If it is abnormal, activating a printer mechanism, clearing the time count, and then performing a printing operation.
KR1019970036820A 1997-08-01 1997-08-01 Automatic power-recovery method for printer KR100509456B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970036820A KR100509456B1 (en) 1997-08-01 1997-08-01 Automatic power-recovery method for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970036820A KR100509456B1 (en) 1997-08-01 1997-08-01 Automatic power-recovery method for printer

Publications (2)

Publication Number Publication Date
KR19990014970A KR19990014970A (en) 1999-03-05
KR100509456B1 true KR100509456B1 (en) 2005-11-25

Family

ID=37306196

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970036820A KR100509456B1 (en) 1997-08-01 1997-08-01 Automatic power-recovery method for printer

Country Status (1)

Country Link
KR (1) KR100509456B1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05155108A (en) * 1991-12-06 1993-06-22 Nec Corp Printer
JPH05162421A (en) * 1991-12-16 1993-06-29 Nec Corp Printer
JPH0644018A (en) * 1992-07-22 1994-02-18 Canon Inc Picture processor
JPH06332581A (en) * 1993-05-25 1994-12-02 Canon Inc Power source control method and printer
JPH0761095A (en) * 1993-08-27 1995-03-07 Tec Corp Printer
JPH08187919A (en) * 1995-01-09 1996-07-23 Star Micronics Co Ltd Printer system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05155108A (en) * 1991-12-06 1993-06-22 Nec Corp Printer
JPH05162421A (en) * 1991-12-16 1993-06-29 Nec Corp Printer
JPH0644018A (en) * 1992-07-22 1994-02-18 Canon Inc Picture processor
JPH06332581A (en) * 1993-05-25 1994-12-02 Canon Inc Power source control method and printer
JPH0761095A (en) * 1993-08-27 1995-03-07 Tec Corp Printer
JPH08187919A (en) * 1995-01-09 1996-07-23 Star Micronics Co Ltd Printer system

Also Published As

Publication number Publication date
KR19990014970A (en) 1999-03-05

Similar Documents

Publication Publication Date Title
US7890784B2 (en) Power supplying mode switching controller, image forming apparatus, and image reading apparatus
KR100705895B1 (en) Apparatus for generating an interrupt signal
US7593661B2 (en) Power-saving control method of image forming device, and image forming device
US8125658B2 (en) Electronic device including non-volatile display portion
US8462374B2 (en) Printer control method, an apparatus and a printer using the method
EP1821190B1 (en) Printing apparatus and control method
JP3217930B2 (en) Printer device
KR101571593B1 (en) Information processing apparatus and method for controlling the same
KR0155081B1 (en) Printer with compulsory stoppage function and method of the same
KR100509456B1 (en) Automatic power-recovery method for printer
JPH0612376A (en) Portable electronic device
JP3792230B2 (en) Media drive, computer system, and media drive control method
KR100350982B1 (en) Image forming apparatus and method of operating the same
JPH0546920Y2 (en)
US5436731A (en) Image processing apparatus with monitoring means
JP2006159808A (en) Power saving control method for printer
US20040139360A1 (en) Off mode for device
JPH054428A (en) Recording device
JP3235940B2 (en) Printer device
JPH07191789A (en) Discriminating method for off state of power source in device of communication source
JP2577377Y2 (en) Printing control device
JP2004090243A (en) Image forming system and its power saving method
KR200232048Y1 (en) Computer system
JP3281499B2 (en) Printer device
JPH07319642A (en) Printing method, device therefor and power supply control method for the device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee