KR950005675B1 - Left margin selecting method in printer - Google Patents
Left margin selecting method in printer Download PDFInfo
- Publication number
- KR950005675B1 KR950005675B1 KR1019880015606A KR880015606A KR950005675B1 KR 950005675 B1 KR950005675 B1 KR 950005675B1 KR 1019880015606 A KR1019880015606 A KR 1019880015606A KR 880015606 A KR880015606 A KR 880015606A KR 950005675 B1 KR950005675 B1 KR 950005675B1
- Authority
- KR
- South Korea
- Prior art keywords
- carriage
- printer
- left margin
- pressed
- checking
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J29/00—Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
- B41J29/42—Scales and indicators, e.g. for determining side margins
Abstract
Description
제1도는 본 발명에 따른 프린터의 좌측마진(Left Margin)을 설정하기 위한 전체 구성도.1 is an overall configuration diagram for setting the left margin (Left Margin) of the printer according to the present invention.
제2도는 본 발명에 따른 프린터의 좌측마진을 설정하는 방법을 설명하기 위한 플로우챠트이다.2 is a flowchart for explaining a method of setting the left margin of the printer according to the present invention.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
10 : 입/출력장치 20 : 센서부10: input / output device 20: sensor
30 : 헤드핀구동부 31 : 헤드핀30: head pin drive unit 31: head pin
40 : 캐리지 모터 구동부 41 : 캐리지 모터40: carriage motor drive portion 41: carriage motor
50 : 기타 구동부 60 : 소프트웨어 패널부50: other drive unit 60: software panel unit
70 : 벨구동부 80 : ROM70: bell drive 80: ROM
90 : RAM 100 : 중앙처리장치(CPU)90: RAM 100: Central Processing Unit (CPU)
SP : 스피커SP: Speaker
본 발명은 타이핑 종이의 설정위치에 따라 손쉽게 최초의 인자위치인 좌측마진(Left Margin)을 설정할수 있을 뿐만 아니라 사용자가 실제의 캐리지 위치를 확인하여 정확한 좌측마진을 설정할 수 있도록 한 프린터의 좌측마진 설정방법에 관한 것이다.The present invention can not only set the left margin (Left Margin) which is the first printing position easily according to the setting position of the type paper, but also set the left margin of the printer so that the user can set the exact left margin by checking the actual carriage position It is about a method.
종래에는 프린터에서 최초의 인자위치인 좌측마진(Left Margin)을 설정하기 위해 호스트 컴퓨터에서 타이핑 종이의 위치에 따라 매번 에스케이프 시퀸스(escape Sequence)에 의해 좌측마진의 설정코드를 프린터에 전송해야 하기 때문에 호스트 컴퓨터의 간격과 프린터간격의 불일치로 인해 여러번 좌측마진을 설정해야하는 불편이 있었다.In order to set the left margin (Left Margin), which is the first printing position in the printer, the setting code of the left margin must be transmitted to the printer by an escape sequence each time according to the position of the typing paper in the host computer. Due to the mismatch between the distance between the host computer and the printer, the left margin has to be set many times.
본 발명의 목적은 프린터의 좌측마진 설정방법을 제공하는데 있다.An object of the present invention to provide a left margin setting method of the printer.
이하, 본 발명의 구성 및 작용효과를 첨부도면에 의하여 상세히 설명한다.Hereinafter, the configuration and the effect of the present invention will be described in detail by the accompanying drawings.
본 발명은 호스트 컴퓨터로부터 인자할 코드를 받아들이고 프린터 상태를 호스트 컴퓨터로 전송할 수 있는 입/출력장치(10)와, 프린터의 각종상태를 읽어들이는 센서부(20)와, 헤드핀(31)을 구동하는 헤드핀 구동부(30)와, 캐리지모터(41)를 구동하는 캐리지 모터 구동부(40)와, 상기 캐리지모터 구동부(40) 외에 다른 각종 구동모터들을 구동하는 기타 구동부(50)와, 프린터를 제어하도록 캐리지 정방향 진행키이와 캐리지 역방향 진행키이에 의해 명령을 인가하는 소프트웨어 패널부(60)와, 스피커(SP)를 통해 벨(Bell)이 울리도록 벨을 구동시키는 벨구동부(70)와, 프로그램을 저장하여 두는 ROM(80)과, 각종 프로그램 파라메터를 저장하는 RAM(90)과, 전체적인 명령신호를 제어하여 시스템의 동작을 제어하는 중앙처리장치(CPU)(100)로 구성된다.The present invention provides an input / output device 10 capable of receiving a code to be printed from a host computer and transmitting a printer status to the host computer, a
제1도는 본 발명에 따른 프린터의 좌측마진을 설정하기 위한 전체구성도이고, 제2도는 본 발명에 따른 프린터의 좌측마진을 설정하는 방법을 설명하기 위한 플로우챠드로서, 이에 따른 구체적인 설정방법을 하기에 상세히 설명될 것이다.1 is an overall configuration diagram for setting the left margin of the printer according to the present invention, Figure 2 is a flowchart for explaining a method for setting the left margin of the printer according to the present invention, the specific setting method according to This will be described in detail.
제2도에서, 프로그램을 진행하는 중에 소프트웨어패널부(60)를 체크하는 루틴이전에 프린터의 상태가 온-라인 상태인가 또는 오프-라인상태인가를 체크하여 온-라인 상태인 경우에 인자루틴으로 진행하여 인자를 하고, 다음에 오프-라인 상태인 경우에는 캐리지 정방향 진행키이가 눌려졌는지를 체크한다.In FIG. 2, when the printer is in the on-line state or the off-line state before the routine for checking the
먼저, 상기 캐리지 정방향 진행키이가 눌려졌을 경우에 상기 캐리지 역방향 진행키이가 눌러졌는지를 체크하여 캐리지 역방향 진행키이가 눌려졌을 경우에 상기 캐리지 정방향 진행키이와 캐리지 역방향 진행키이가 동시에 눌려져 있는 상태가 되므로 현재의 캐리지 위치를 좌측마진 버퍼에 저장한 다음 다른 키이 스위치를 체크하는 루틴을 진행한다.First, when the carriage forward progress key is pressed, it is checked whether the carriage reverse progress key is pressed, and when the carriage reverse progress key is pressed, the carriage forward progress key and the carriage reverse progress key are simultaneously pressed. Stores the carriage position in the left margin buffer and then proceeds to a routine to check the other key switches.
또한, 캐리지 역방향 진행키이가 눌려져 있지 않을 경우에는 현재의 캐리지 위치가 절대 우측마진(Absolute Right Margin)에서 여유분으로 프린터에 따라 정해진 값(α)을 뺀값(절대 우측마진-α)보다 작은가를 체크하여 만일 그 값보다 작은 경우에 캐리지를 정방향으로 1리솔루션(Resolution ; 단위펄스 당 1/20인치의 이동거리)만큼 이동하여 캐리지를 현재의 위치에서 1을 증가시킨 다음에 상기 오프-라인상태의 루틴으로 복귀되고, 현재의 캐리지 위치가 절대 우측마진에서 여유분으로 프린터에 따라 정해진 값(α)을 뺀 값보다 크거나 같은 경우에는 스피커(SP)를 통해 벨이 울리도록 벨 구동부(70)가 작동을 하므로 다른 키이스위치를 체크하는 루틴을 진행하게 된다.Also, if the carriage reverse key is not pressed, check whether the current carriage position is smaller than the absolute right margin minus the value (alpha) determined by the printer as a margin (absolute right margin-α). If it is less than that value, the carriage is moved forward by 1 resolution (removing distance of 1/20 inch per unit pulse) to increase the carriage by 1 at the current position and then the off-line routine. If the current carriage position is greater than or equal to the value obtained by subtracting a value α according to the printer from the absolute right margin as a margin, the
다음에, 상기 캐리지 정방향 진행키이가 눌려져 있지 않는 경우에는 다시 역방향 진행키이 눌려졌는지를 체크하여 캐리지 역방향 진행키이가 눌려져 있지 않을 경우에 다른 키이 스위치를 체크하는 루틴을 진행하게 되고, 또한 캐리지 역방향 진행키이가 눌려졌을 경우에는 현재의 캐리지 위치가 절대 좌측마진(Absolute Left Margin)에서 여유분으로 플린터에 따라 정해진 값(α)을 뺀값(절대 좌측마진-α)보다 큰가를 체크하여, 만일 그 값보다 큰 경우에 캐리지를 역방향으로 1리솔우션 만큼 이동하여 캐리지를 현재의 위치에서 1을 감소시킨 다음에 상기 오프-라인상태의 루틴으로 복귀되고, 현재의 캐리지 위치가 절대 좌측마진에서 여유분으로 프린터에 따라 정해진 값(α)을 뺀값보다 작거나 같은 경우에는 스피커(SP)를 통해 벨이 울리도록 벨 구동부(70)가 작동을 하므로 다른 키이스위치를 체크하는 루틴을 진행하게 된다.Next, when the carriage forward progress key is not pressed, it is again checked whether the reverse progress key is pressed, and when the carriage reverse progress key is not pressed, another routine checks the switch and the carriage reverse progress key is If is pressed, check whether the current carriage position is greater than Absolute Left Margin as a margin minus the value (alpha) determined by the flint (absolute left margin-α). In this case, the carriage is moved backward by one resolution to decrease the carriage from the current position by one, and then return to the off-line routine, and the current carriage position is set according to the printer in the margin from the absolute left margin. If the value is less than or equal to the value of minus α, the
상술한 바와 같이 본 발명은 프린터에서 최초의 인자위치인 좌측마진을 호스트 컴퓨터뿐만 아니라 프린터 자체에서도 설정할 수 있게 함으로써 타이핑 종이의 설정위치에 따라 손쉽게 최초의 인자위치를 정할 수 있게 하였고, 또한 사용자가 실제의 캐리지 위치를 확인함으로써 정확한 위치에서 좌측 마진을 설정할 수 있도록 되어 있다.As described above, the present invention enables the user to set the first printing position easily according to the setting position of the typing paper by setting the left margin, which is the first printing position in the printer, not only in the host computer but also in the printer itself. By checking the carriage position, the left margin can be set at the correct position.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019880015606A KR950005675B1 (en) | 1988-11-26 | 1988-11-26 | Left margin selecting method in printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019880015606A KR950005675B1 (en) | 1988-11-26 | 1988-11-26 | Left margin selecting method in printer |
Publications (2)
Publication Number | Publication Date |
---|---|
KR900007618A KR900007618A (en) | 1990-06-01 |
KR950005675B1 true KR950005675B1 (en) | 1995-05-29 |
Family
ID=19279598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019880015606A KR950005675B1 (en) | 1988-11-26 | 1988-11-26 | Left margin selecting method in printer |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR950005675B1 (en) |
-
1988
- 1988-11-26 KR KR1019880015606A patent/KR950005675B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR900007618A (en) | 1990-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0156392B1 (en) | Printing apparatus | |
US4180335A (en) | High speed serial printer | |
US3998310A (en) | Apparatus for recording data in arabic script | |
KR860002200B1 (en) | Velocity-position servo with improved gain control | |
KR950005675B1 (en) | Left margin selecting method in printer | |
US4933875A (en) | Bi-directional printer for efficient of stored data and real-time input data | |
US4877345A (en) | Margin setting means for a printer | |
EP0341671A2 (en) | Bidirectional printing device | |
KR900001254B1 (en) | Continuously-repeat printing method | |
JPS56161188A (en) | Carbon ribbon driver | |
JPS6258317B2 (en) | ||
KR940002881B1 (en) | Printer wheel motor setting timing control method | |
KR900008304B1 (en) | Printer for printing data automatically in computer system | |
KR900007283B1 (en) | Printing control method | |
KR950005673B1 (en) | Word unit change method in typewriter | |
JP3347369B2 (en) | Printing apparatus and method | |
WO1986001776A1 (en) | Printer | |
JPS6132773A (en) | Input method of electronic typewriter | |
JPS60199661A (en) | Printer | |
JP2973543B2 (en) | Printer and control method thereof | |
JPS5938084A (en) | Printer | |
KR900006226B1 (en) | Automatic repeat printing method | |
JPS61262165A (en) | Printing control apparatus | |
JPS5926440Y2 (en) | Print head movement control device | |
JPH01214464A (en) | Electronic typewriter |
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: 4 |
|
LAPS | Lapse due to unpaid annual fee |