KR970003650B1 - Detecting apparatus of sheet length - Google Patents

Detecting apparatus of sheet length Download PDF

Info

Publication number
KR970003650B1
KR970003650B1 KR1019930005862A KR930005862A KR970003650B1 KR 970003650 B1 KR970003650 B1 KR 970003650B1 KR 1019930005862 A KR1019930005862 A KR 1019930005862A KR 930005862 A KR930005862 A KR 930005862A KR 970003650 B1 KR970003650 B1 KR 970003650B1
Authority
KR
South Korea
Prior art keywords
paper
length
printer
unit
motor
Prior art date
Application number
KR1019930005862A
Other languages
Korean (ko)
Inventor
이호진
Original Assignee
엘지전자 주식회사
구자홍
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사, 구자홍 filed Critical 엘지전자 주식회사
Priority to KR1019930005862A priority Critical patent/KR970003650B1/en
Application granted granted Critical
Publication of KR970003650B1 publication Critical patent/KR970003650B1/en

Links

Landscapes

  • Handling Of Sheets (AREA)

Abstract

Disclosed is a method for setting a length of paper within a printer. The method comprises 4 steps. In the 1st step, a paper length is set by a setting switch. In the 2nd step, the counting value is set as "0" when the paper is sensed by a sensor 29 during the paper is moved by LF motor 31. In the 3rd step, a counting value is stored when the paper is sensed to passed out by the sensor 29. In the 4th step, a paper length is stored to the EEPROM 35 as a result of multiplying the counting value stored with an unit distance set. Thereby, a continuous setting of the paper is performed automatically.

Description

용지길이 설정방법How to set paper length

제1도는 종래 프린터의 구조를 보인 블록도.1 is a block diagram showing the structure of a conventional printer.

제2도는 본 발명 프린터의 구조를 보인 블록도.Figure 2 is a block diagram showing the structure of the printer of the present invention.

제3도는 본 발명 프린터의 플래턴 주변 용지 이송장치의 상세도.Figure 3 is a detailed view of the platen peripheral paper feeder of the printer of the present invention.

제4도는 본 발명 플래턴 주변 용지 이송장치의 용지센서 회로도.4 is a paper sensor circuit diagram of the platen peripheral paper feeder of the present invention.

제5도는 본 발명 용지길이 실정과정을 보인 플로우챠트.5 is a flowchart showing a paper length actual process of the present invention.

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

21 : CPU22 : 프로그램롬21: CPU22: program ROM

23 : 램24 : 폰트롬23: RAM 24: Font ROM

25 : 표시부26 : 호스트부25 display unit 26 host unit

27 : 인터페이스부228 : 리미트 스위치27: interface unit 228: limit switch

29 : 센서부30 : 설정스위치29: sensor unit 30: setting switch

31 : LF모터32 : CR모터31: LF motor 32: CR motor

33 : 헤드솔레노이드34 : 게이트 어레이부33: head solenoid 34: gate array portion

35 : EEPROM35: EEPROM

본 발명은 프린터를 이용하여 용지를 연속적으로 복사할때 용지의 길이를 설정하여 EEPROM에 저장한 뒤 전원오프후 다시 프린터를 통해 용지를 복사하고자 할 때 EEPROM에 저장된 용지길이 설정데이타에 의해 용지의 길이를 설정하지 않은 상태에서 연속적으로 용지를 복사할 수 있도록 한 용지길이 설정방법에 관한 것이다.According to the present invention, when the paper is continuously copied using a printer, the length of the paper is set by the paper length setting data stored in the EEPROM when the paper is stored in the EEPROM after the power is turned off. It relates to a paper length setting method that allows paper to be copied continuously without setting.

종래 프린터는 제1도에 도시된 바와 같이 프린터 전체를 제어하는 CPU(1)와, CPU(1)의 처리 프로그램이 저장된 프로그램롬(2)과, 각각의 문자형태가 저장된 폰트롬(4)과, 상기 CPU(1)에서 출력된 데이타 신호와 폰트롬(4)에서 출력된 문자데이타 신호를 저장 및 출력하는 램(3)과, 프린터의 현상태를 표시하는 표시부(5)와, 용지넘김 명령을 프린터에 전달하는 호스트부(6)의 데이타 신호를 CPU(1)에 전달되도록 송, 수신하는 인터페이스부(7)와, 복사할 용지의 양을 선택하는 리미트 스위치(8)와, 복사할 용지를 감지하는 센서부(9)와, 프린터에 전원이 공급되도록 온/오프 작동하는 전원스위치(10)와, 복사할 용지를 이송시키는 LF(Ling Feed)모터(11)와, 인자헤드를 복사할 용지의 위치에 이송시키는 CR(Carriage Return)모터(12)와, 이송된 용지에 문자를 인쇄하는 헤드솔레노이드(13)와, 상기 CPU(1)의 출력신호에 의해 프린터의 각부를 제어하는 게이트 어레이부(14)로 구성된 것이다.The conventional printer includes a CPU 1 for controlling the entire printer as shown in FIG. 1, a program ROM 2 in which a processing program of the CPU 1 is stored, a font ROM 4 in which respective character forms are stored, A RAM (3) for storing and outputting the data signal output from the CPU (1) and the character data signal output from the font ROM (4), a display unit (5) for displaying the current status of the printer, and a page turning instruction. The interface unit 7 which transmits and receives the data signal of the host unit 6 to the printer to the CPU 1, the limit switch 8 which selects the amount of paper to be copied, and the paper to be copied A sensor unit 9 for sensing, a power switch 10 operating on / off to supply power to the printer, a LF (Ling Feed) motor 11 for feeding the paper to be copied, and a paper for copying the print head CR (Carriage Return) motor 12 to transfer to the position of the, and the head solenoid to print characters on the conveyed paper (13), and the gate array unit 14 for controlling each part of the printer by the output signal of the CPU (1).

이와 같이 구성된 종래 프린터는 제1도에 도시된 바와 같이, 먼저 사용자가 용지를 복사하기 위해 전원스위치(10)를 온하여 프린터에 전원을 인가한다. 이때 호스트부(6)에서 출력된 데이타 신호가 인터페이스부(7)를 통해 게이트 어레이부(14)에 인가되면, 상기 게이트 어레이부(14)에 인가된 호스트부(6)의 출력데이타 신호는 데이타 버스 및 어드레스 버스를 통해 CPU(1)에 인가된다.In the conventional printer configured as described above, as shown in FIG. 1, first, the user applies power to the printer by turning on the power switch 10 to copy the paper. At this time, when the data signal output from the host unit 6 is applied to the gate array unit 14 through the interface unit 7, the output data signal of the host unit 6 applied to the gate array unit 14 is the data It is applied to the CPU 1 via the bus and the address bus.

CPU(1)는 프로그램롬(2)에 저장된 프로그램을 통해 입력된 데이타 신호가 인자데이타인지 명령데이타인지를 판단한다. 판단결과 인자데이타 신호면 폰트롬(4)에서 출력되는 문자데이타 신호를 램(3)에 저장시킨다.The CPU 1 determines whether the data signal inputted through the program stored in the program ROM 2 is print data or command data. As a result of the determination, the character data signal output from the font ROM 4 is stored in the RAM 3.

이후, 게이트 어레이부(14)는 CPU(1)에서 출력된 신호에 의해 타이머에서 설정된 주기마다 표시부(5), 인터페이스부(7), 리미트 스위치(8), 센서부(9)등을 제어한 후, CPU(1)의 데이타신호와 폰트롬(4)에서 출력된 문자데이타 신호가 램(3)에 충분히 저장되었으면 상기 게이트 어레이부(14)는 LF모터(11)와 CR모터(12)를 구동시켜 용지와 인자헤드를 원하는 위치에 이송시킨다.Thereafter, the gate array unit 14 controls the display unit 5, the interface unit 7, the limit switch 8, the sensor unit 9, and the like at intervals set by the timer by the signal output from the CPU 1. After that, if the data signal of the CPU 1 and the character data signal outputted from the font ROM 4 are sufficiently stored in the RAM 3, the gate array unit 14 controls the LF motor 11 and the CR motor 12. Drive to transfer the paper and print head to the desired position.

이와 같이 이송된 용지와 인자헤드는 헤드솔레노이드(13)에 의해 이송된 용지에 문자를 인쇄한다. 용지의 인쇄가 완료된후 프린터에 용지넘김 명령이 입력되면 CPU(1)는 바로전의 데이타를 인자한후 다음데이타를 다음 용지로 인자하면 상기 호스트부(6)는 페이지넘김 명령어를 프린터에 전달한다.The paper conveyed in this manner and the print head print text on the paper conveyed by the head solenoid 13. If a page turning command is input to the printer after the printing of the paper is completed, the CPU 1 prints the immediately preceding data and then prints the next data to the next sheet. The host unit 6 then sends the page turning command to the printer.

즉, 프린터는 설정되어 있는 용지의 길이에서 용지선단의 현재 인자위치를 뺀 길이만큼 종방향으로 이송하면, 상기 프린터는 이송된 용지의 위치를 다음 용지의 용지선단으로 판단하여 다음 용지를 인자하는 것이다.In other words, when the printer transfers the length of the set paper in the longitudinal direction by the length minus the current printing position of the paper leading edge, the printer determines the position of the transferred paper as the paper leading edge of the next paper and prints the next paper. .

그러나 종래 프린터는 고정적으로 용지의 길이가 설정되어 있어 설정된 용지의 길이보다 큰 용지를 사용할때 용지넘김 명령어 기능이 수행되지 못하고, 용지넘김 명령어 기능이 수행될 경우 설정된 위치의 길이보다 큰 용지를 사용할때 프린터에 고정적으로 설정된 용지의 길이에 맞게 이송하면 현재 이송된 용지의 선단과 다음에 이송될 용지의 선단위치가 일정하지 못한 문제점이 있었다.However, in the conventional printer, the paper length is fixedly set so that the page turning command does not work when using paper larger than the length of the paper, and when the paper turning command is used, the paper length larger than the length of the set position is used. When the paper is fixed to the length of the paper fixedly set in the printer, there is a problem in that the leading position of the currently transferred paper and the leading position of the paper to be transported next are not constant.

본 발명은 이와 같은 종래 문제점을 해결하기 위하여 용지길이 설정스위치 및 EEPROM등을 구비하여 사용자가 임의대로 용지의 길이를 설정하여 EEPROM에 저장하므로서 페이저넘김 명령어 기능을 수행할 수 있으며 전원을 오프한 후 다시 용지를 인쇄할 경우 한번 설정된 용지일 경우에는 다시 용지의 길이를 설정할 필요없이 EEPROM에 저장된 설정된 용지길이 데이타값을 읽어 재사용하므로서 용지를 연속적으로 이송할때 용지의 선단위치를 정확하게 일치하도록 하는데 그 목적이 있는 것으로 첨부된 도면에 의하여 본 발명의 구성 및 작용효과를 설명하면 다음과 같다.The present invention is provided with a paper length setting switch and EEPROM to solve the conventional problems, such that the user can set the length of the paper arbitrarily and store in the EEPROM to perform the pager page command function and turn off the power again When printing paper, once the paper is set, the paper length data value stored in the EEPROM is read and reused without the need to set the paper length again. Referring to the configuration and effect of the present invention by the accompanying drawings as follows.

먼저, 본 발명 프린터는 제2도에 도시된 바와 같이, 프린터 전체를 제어하는 CPU(21)와, CPU(21)의 처리 프로그램이 저장된 프로그램롬(22)과, 각각의 문자형태가 저장된 폰트롬(24)과, 상기 CPU(21)에서 출력된 데이타 신호와 폰트롬(24)에서 출력된 문자데이타 신호를 저장 및 출력하는 램(23)과, 프린터의 현상태를 표시하는 표시부(25)와, 용지넘김 명령을 프린터에 전달하는 호스트부(26)와, 상기 호스트부(26)의 데이타 신호를 송, 수신하는 인터페이스부(27)와, 복사할 용지의 양을 선택하는 리미트 스위치(28)와, 용지의 이송유, 무를 감지하는 센서부(29)와, 프린터에 용지이송시 용지의 길이를 설정하는 설정스위치(30)와, 복사할 용지를 이송하는 LF모터(31)와, 인자헤드를 복사할 용지의 위치에 이송시키는 CR모터(32)와, 이송된 용지에 문자를 복사시키는 헤드솔레노이드(33)와, 상기 CPU(21)의 출력신호에 의해 프린터의 각부를 제어하는 게이트 어레이부(34)와, 상기 설정스위치(30)에서 설정한 용지길이를 저장하는 EEPROM(35)으로 구성된 것이다.First, as shown in FIG. 2, the printer of the present invention has a CPU 21 for controlling the entire printer, a program ROM 22 in which a processing program of the CPU 21 is stored, and a font ROM in which respective character forms are stored. (24), a RAM (23) for storing and outputting the data signal output from the CPU (21) and the character data signal output from the font ROM (24), a display section (25) for displaying the current status of the printer, A host unit 26 for transmitting a page turning command to the printer, an interface unit 27 for transmitting and receiving data signals from the host unit 26, a limit switch 28 for selecting the amount of paper to be copied, and , The sensor unit 29 for detecting the transfer oil and the absence of paper, the setting switch 30 for setting the length of the paper when transferring the paper to the printer, the LF motor 31 for transferring the paper to be copied, and the print head. CR motor 32 for transferring to the position of the paper to be copied, and head soleno for copying characters to the transported paper And a gate array unit 34 for controlling each unit of the printer by the output signal of the CPU 21, and an EEPROM 35 for storing the paper length set by the setting switch 30. will be.

한편, 프린터의 용지 이송장치는 제3도에 도시된 바와 같이, 연속용지가 인자위치로 이송되게 용지를 고정하는 트랙터부(40)와, 고정된 용지를 플래턴부(42)로 안내하는 안내부(41)와, 안내부(41)에 의해 이송되는 용지의 유, 무를 감지하는 용지센서부(29)와, 센서부(29)에서 감지한 용지에 문자가 복사되도록, 상기 용지를 이송시키는 플래턴부(42)와, 이송된 문자를 복사하도록 인자형태를 결정하는 헤드솔레노이드(33)로 구성된 것으로, 상기 센서부(29)는 제4도에 도시된 바와 같이, 저항(R1)(R2) 및 포토다이오드(D1)와 포토트랜지스터(Q1)로 구성된 것이다.On the other hand, the paper conveying apparatus of the printer, as shown in Figure 3, the tractor unit 40 for fixing the paper so that the continuous paper is transferred to the printing position, and the guide unit for guiding the fixed paper to the platen 42 (41), a paper sensor unit (29) for detecting the presence or absence of paper conveyed by the guide unit (41), and a plate for transferring the paper so that characters are copied to the paper detected by the sensor unit (29). It consists of a turn unit 42 and a head solenoid 33 for determining the printing form to copy the transferred characters, the sensor unit 29, as shown in Figure 4, the resistance (R1) (R2) and It consists of a photodiode D1 and a phototransistor Q1.

이와 같이 구성된 본 발명의 작용효과는 제5도를 참조로 하여 설명하면 다음과 같다.The operational effects of the present invention configured as described above will be described below with reference to FIG.

먼저, 사용자가 프린터를 통해 용지가 복사되도록 연속용지를 트랙터부(40)에 고정한 후 복사하고자 하는 용지의 길이를 설정하도록 설정스위치(30)를 온시킨다. 이때 게이트 어레이부(34)는 설정스위치(30)에서 선택한 설정신호에 의해 용지센서부(29)에서 복사할 용지가 감지될때까지 용지가 이송되도록 LF모터(31)를 구동시킨다. 용지센서부(29)에서 복사할 용지가 감지되었으면 상기 용지감지 순간 카운터에 "0"을 인가한 후 LF모터(31)를 1스텝 구동시킨후 센서부(29)에서 용지감지 유, 무를 판단한다. 판단결과 센서부(29)에서 용지가 감지되지 못하였으면 카운터에 다시 "1"을 추가한 후 LF모터(31)를 다시 1스텝 구동시켜 용지복사가 완료되었는지 판단한다. 용지복사가 아직 완료되지 않았으면 LF모터(31)를 1스텝씩 구동시키면서 카운터를 "1" 증가시켜 상기 동작을 용지복사가 완료될때까지 반복한다. 복사할 용지가 센서부(29)를 통과하면 센서부(29)는 용지를 감지하지 못하므로 현재 센서부(29)에서 용지를 감지한 시점부터 용지가 통과한 시점까지 카운터한 값은 용지의 선단에서 용지의 끝단까지 이동하는데 필요한 LF모터(31)의 총펄스수가 되고, 상기 펄스에 1펄스당 용지의 이송거리를 곱하므로서 현재 복사하고자 하는 용지의 총길이를 검출할 수 있는 것이다. 즉, 용지의 길이(PL)=카운터*단위펄스당 용지 이송거리(L)이다.First, the user fixes the continuous paper to the tractor unit 40 so that the paper is copied through the printer, and then turns on the setting switch 30 to set the length of the paper to be copied. At this time, the gate array unit 34 drives the LF motor 31 to feed the paper until the paper to be copied is detected by the paper sensor unit 29 by the setting signal selected by the setting switch 30. When the paper to be copied is detected by the paper sensor unit 29, "0" is applied to the paper detection instant counter, the LF motor 31 is driven one step, and the sensor unit 29 determines whether the paper is detected or not. . As a result of determination, if the sheet is not detected by the sensor unit 29, "1" is added to the counter again, and the LF motor 31 is driven one step again to determine whether the sheet copying is completed. If the paper copying has not been completed yet, the counter is increased by " 1 " while driving the LF motor 31 by one step, and the above operation is repeated until the paper copying is completed. If the paper to be copied passes through the sensor unit 29, the sensor unit 29 does not detect the paper, so the value counted from the time when the sensor unit 29 detects the paper to the time the paper passes through is determined by the leading edge of the paper. The total number of pulses of the LF motor 31 required to move to the end of the sheet is obtained, and the total length of the sheet to be copied can be detected by multiplying the pulse by the conveying distance of the sheet per pulse. In other words, the length PL of the paper is the paper feed distance L per counter * unit pulse.

이와 같이 검출된 용지의 총길이는 EEPROM(35)에 저장하여 다음의 용지길이 기준데이타로 설정되게 하므로서 사용자가 프린터를 오프시킨후 재사용하고자 할 때 EEPROM(35)에 저장된 용지의 총길이를 통해 동일용지를 연속복사할 수 있는 것이다.The total length of the paper detected in this way is stored in the EEPROM 35 so as to be set as the next paper length reference data, so that when the user wants to reuse the printer after turning off the printer, the total paper length is stored in the EEPROM 35. You can make a continuous copy.

이상에서 설명한 바와 같이 용지를 복사하고자 할 때 설정스위치에 의해 복사할 용지의 길이을 설정하여 EEPROM에 저장하므로서 사용자가 프린터를 오프한 후 이전에 설정한 동일용지를 재복사할 경우 EEPROM에 저장된 용지길이 설정데이타에 의해 현재 복사할 용지의 길이를 재설정하지 않고 연속복사를 할 수 있어 제품의 신뢰도가 향상되는 효과가 있다.As described above, when copying paper, the length of paper to copy is set by setting switch and saved in EEPROM. When user copies the same paper previously set after turning off the printer, set the paper length saved in EEPROM. The data can be continuously copied without resetting the length of the paper to be copied at the present time, thereby improving the reliability of the product.

Claims (1)

용지를 복사하기 위해 트랙터부(40)에 용지를 고정한 후 복사할 용지의 길이가 설정되도록 설정스위치(30)를 온하여 용지길이를 설정하는 제1과정과, 트랙터부(40)에 고정된 용지가 이송되도록 LF모터(31)를 구동시켜 용지센서부(29)에서 용지가 감지되었을때 카운터값을 "0"으로 인식하는 제2과정과, 카운터값을 "1"씩 증가할때 LF모터(31)를 1스텝씩 계속 구동시켜 용지센서부(29)에서 용지가 통과되어 용지감지가 오프되었을때의 카운터값을 저장하는 제3과정과, 용지센서부(29)에서 용지통과를 감지되었을때의 총 카운터값에 1펄스당 용지의 이송거리를 곱하여 검출된 용지의 총길이를 EEPROM(35)에 저장하는 제4과정으로 구성된 것을 특징으로 한 용지길이 설정방법.After the paper is fixed to the tractor unit 40 to copy the paper, the first process of setting the paper length by turning on the setting switch 30 so that the length of the paper to be copied is set, and the paper fixed to the tractor unit 40. The second process of recognizing the counter value as "0" when the paper is detected by the paper sensor unit 29 by driving the LF motor 31 so that the paper is conveyed, and when the counter value is increased by "1", the LF motor ( 31) is continuously driven by one step, and the third process of storing the counter value when paper detection is turned off by passing the paper through the paper sensor unit 29, and when the paper passage is detected by the paper sensor unit 29 And a fourth process of storing the total length of the detected paper in the EEPROM (35) by multiplying the total counter value of the paper by the feed distance of the paper per pulse.
KR1019930005862A 1993-04-08 1993-04-08 Detecting apparatus of sheet length KR970003650B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930005862A KR970003650B1 (en) 1993-04-08 1993-04-08 Detecting apparatus of sheet length

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930005862A KR970003650B1 (en) 1993-04-08 1993-04-08 Detecting apparatus of sheet length

Publications (1)

Publication Number Publication Date
KR970003650B1 true KR970003650B1 (en) 1997-03-20

Family

ID=19353631

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930005862A KR970003650B1 (en) 1993-04-08 1993-04-08 Detecting apparatus of sheet length

Country Status (1)

Country Link
KR (1) KR970003650B1 (en)

Similar Documents

Publication Publication Date Title
KR0171545B1 (en) Printing system by paper lenght automatic sensing and controlling method thereof
US5639171A (en) Media length sensing for increased throughput efficiency of electronic printers
JPH06312547A (en) Label printer
US5169249A (en) Printer control device and method thereof
US5588761A (en) Document printer having skew detection
US5026183A (en) Apparatus for feeding cut sheet paper and fan fold paper in a printer
KR970003650B1 (en) Detecting apparatus of sheet length
US4775254A (en) Lining method and apparatus for printers
US5299873A (en) Carriage position control circuit for a serial printer
EP0699608A1 (en) Sheet conveyor
JPH09109425A (en) Printer and recording paper used therein
JP2731460B2 (en) Left and right edge position detection method for printer paper
JP2750215B2 (en) Label printer
JPH07309039A (en) Printer
JP2690759B2 (en) Recording device
JPH0129096Y2 (en)
JP2641952B2 (en) Label printer
JPS61286182A (en) Printing-controlling system
JP3316028B2 (en) Printer paper feeder
KR950001534B1 (en) Document jam sensing method
JPH0630932B2 (en) Paper feed controller for printer
JPH04347670A (en) Label printer
JPH03234575A (en) Detection of irregular size printing medium
JP2545775B2 (en) Printer using cut sheet paper
JP2763458B2 (en) Printer

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: 20050629

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee