JPS62183369A - Serial printer - Google Patents

Serial printer

Info

Publication number
JPS62183369A
JPS62183369A JP2631186A JP2631186A JPS62183369A JP S62183369 A JPS62183369 A JP S62183369A JP 2631186 A JP2631186 A JP 2631186A JP 2631186 A JP2631186 A JP 2631186A JP S62183369 A JPS62183369 A JP S62183369A
Authority
JP
Japan
Prior art keywords
printing
paper
section
initial setting
line
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP2631186A
Other languages
Japanese (ja)
Inventor
Mikihiko Yamazaki
山崎 幹彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2631186A priority Critical patent/JPS62183369A/en
Publication of JPS62183369A publication Critical patent/JPS62183369A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To enable paper other than a regular form paper to be printed, by providing a detecting part for detecting the width of a printing paper, an initial setting part for setting margins from left and right edges of the paper, a controlling part for outputting a control signal to a printing part, and a mode-switching part for switching the control signal. CONSTITUTION:When a mode selected by a mode-switching part 17 is a serial printer mode, left and right margins on a paper are set at an initial setting part 15. When receiving a printing-starting command from an external device, a controlling part 14 scrolls the paper relative to a printing part 12 so that a line preceding the line to be printed of the paper is set in position. The controlling part 14 then moves a printing head from the left end to the right end, when a detecting part 16 detects the left and right ends of the paper in the subsequent line, and outputs detection signals to the controlling part 14. The part 14 supplies the printing part 12 with a printing-starting position and a line-feeding position based on the information obtained from the initial setting part 15 and the detecting part 16. The printing part 12 receives printing data from a storage part 11, and starts printing. Accordingly, printing can be performed even in a pirnting range for an irregular from designated by an external device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、シリアルプリンタに関し、特に一般電子機器
の出力装置として使用されるシリアルプリンクに関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a serial printer, and particularly to a serial printer used as an output device for general electronic equipment.

(従来の技術〕 従来この種のシリアルプリンタは、外部に接続された処
理装置より印字開始位置、改行指示等の命令を受けて用
紙に印字を行っていた。
(Prior Art) Conventionally, this type of serial printer prints on paper upon receiving commands such as a print start position, line feed instruction, etc. from an externally connected processing device.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のシリアルプリンタは、外部より印字開始
位置、改行指示等を入力する構造となっているので外部
装置が指定する定形(A4,84等)の印字範囲にしか
印字することができず、又、シリアルプリンタに用紙を
装着する時もシリアルプリンタの決められた位置に用紙
を装着しなければならないという欠点があった。
The conventional serial printer described above has a structure in which the print start position, line feed instructions, etc. are input from the outside, so it is only possible to print within the standard size (A4, 84, etc.) print range specified by the external device. Another disadvantage is that when loading paper into a serial printer, the paper must be loaded at a predetermined position on the serial printer.

〔問題点を解決するための手段〕[Means for solving problems]

本発明のシリアルプリンタは、印字用紙の幅を検出する
検出部と、左右両端からの余白領域を設定する初期設定
部と、前記検出部と初期設定部とを含む情報により印字
部に対して制御信号を送出する制御部と、前記制御情報
と外部からの制御情報の切換えを行うモード切換え部と
を有している。
The serial printer of the present invention includes a detection unit that detects the width of printing paper, an initial setting unit that sets margin areas from both left and right ends, and controls the printing unit using information including the detection unit and the initial setting unit. It has a control section that sends out a signal, and a mode switching section that switches between the control information and external control information.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

図面は、本発明の一実施例を示す。図において、本実施
例は外部の処理装置に接続されており、印字データを受
ける記憶部11と制御信号を受ける印字制御部13およ
び制御部14と、これらの信号により印字する印字部1
2とを有している。記憶部11は外部装置からの印字デ
ータを一時記憶しその後印字部12へ印字データを送出
する。外部装置からの制御信号は、印字制御部13及び
制御部14へ入力し、その出力はモード切換え部15へ
送出される。モード切換え部15は、印字制御部13及
び制御部14からの制御信号の切換えを行った後、印字
部12へ制御信号を送出する。
The drawings illustrate an embodiment of the invention. In the figure, this embodiment is connected to an external processing device, and includes a storage section 11 that receives print data, a print control section 13 and a control section 14 that receive control signals, and a printing section 1 that prints based on these signals.
2. The storage section 11 temporarily stores print data from an external device, and then sends the print data to the printing section 12. A control signal from an external device is input to the print control section 13 and the control section 14, and the output thereof is sent to the mode switching section 15. The mode switching section 15 switches the control signals from the printing control section 13 and the control section 14, and then sends out the control signal to the printing section 12.

更に本実施例は用紙幅を検出する検出部16及び左右両
端からの余白部分を設定する初期設定部17とを有して
おり、これらの制御情報を制御部14へ送出するように
構成されている。
Furthermore, this embodiment has a detection unit 16 that detects the paper width and an initial setting unit 17 that sets margins from both left and right ends, and is configured to send these control information to the control unit 14. There is.

次に本実施例のシリアルプリンタの動作を具体的に説明
する。
Next, the operation of the serial printer of this embodiment will be specifically explained.

まず、モード切換え部15のモードが外部装置となって
いる時、シリアルプリンタは外部装置の指示に従い用紙
に印字を行う。用紙はシリアルプリンタの指定した位置
に装着し用紙への印字範囲は、外部装置の指定した定形
(A4.84等)の用紙にあった範囲にしか印字できな
い。外部装置からの印字データ及び制御情報は、記憶部
11及び印字制御部13に入力される。印字データは、
あるまとまった単位で印字部12へ送られ、改行指示1
文字大きさ等の制御情報は印字制御部13よりモード切
換え部15を通って印字部12へ送られこの制御情報に
もとずいて、印字データが用紙に印字される。
First, when the mode of the mode switching unit 15 is set to external device, the serial printer prints on paper according to instructions from the external device. The paper is attached to the designated position of the serial printer, and the printing range on the paper can only be printed within the range that fits the standard size (A4.84, etc.) paper specified by the external device. Print data and control information from an external device are input to the storage section 11 and the print control section 13. The print data is
It is sent to the printing unit 12 in a certain unit, and a line feed instruction 1 is sent.
Control information such as character size is sent from the print control section 13 to the printing section 12 via the mode switching section 15, and based on this control information, print data is printed on paper.

モード切換え部15のモードが、シリアルプリンタとな
っている時、操作者は初期設定部17に用紙の左右両端
の余白を何文字分あけるかを設定する6次に外部装置か
ら制御部14へ印字開始命令が送られると制御部14は
印字部12に対し用紙をスクロールさせ、印字ヘッドが
用紙に印字する1行前の状態に用紙を停止させる1次に
制御部14は印字部12に対し印字ヘッドを左端から右
端まで移動させる。この時、印字ヘッドの下方1行分の
間隔を置いて印字ヘッドに取付けられた検出部16がこ
れから印字する用紙の左端と右端を検出しその情報を制
御部14に送出する。制御部14は印字部12に対し用
紙を1行分スクロールさせ、初期設定部17より得た情
報と検出部16より得な情報を基に、印字部2に印字開
始位置及び改行位置をモード切換え部15を通して通知
する。印字部12は記憶部11に一時貯えられた印字デ
ータを受は取りモード切換え部15を通って送られて来
た制御情報により用紙に印字を開始する。この時、印字
ヘッドに取付けられた検出部16は次の行の用紙幅を検
出し、制御部14に送出する。制御部14は検出部16
からの情報を基に、次の行の制御情報を印字部12に対
し、1行目の印字が終了した時、モード切換え部15を
通して通知する。このようにして検出部16は常に1行
先の用紙幅を検出し制御部14へ通知し、制御部14は
印字部12へ1行毎の印字情報を通知することになる。
When the mode of the mode switching unit 15 is set to serial printer, the operator sets in the initial setting unit 17 how many characters are left in the margins on both the left and right ends of the paper.6 Next, the external device sends the control unit 14 to print. When the start command is sent, the control unit 14 causes the printing unit 12 to scroll the paper and stops the paper one line before the print head prints on the paper.First, the control unit 14 causes the printing unit 12 to print. Move the head from the left end to the right end. At this time, a detection section 16 attached to the print head at an interval of one line below the print head detects the left and right ends of the paper to be printed, and sends the information to the control section 14. The control unit 14 causes the printing unit 12 to scroll the paper by one line, and causes the printing unit 2 to change the mode of the print start position and line feed position based on the information obtained from the initial setting unit 17 and the information obtained from the detection unit 16. 15. The printing section 12 receives the print data temporarily stored in the storage section 11 and starts printing on paper according to the control information sent through the mode switching section 15. At this time, the detection section 16 attached to the print head detects the paper width of the next line and sends it to the control section 14. The control unit 14 is the detection unit 16
Based on the information from , the control information for the next line is notified to the printing unit 12 through the mode switching unit 15 when printing of the first line is completed. In this way, the detection section 16 always detects the sheet width of one line ahead and notifies the control section 14, and the control section 14 notifies the printing section 12 of printing information for each line.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は印字用紙の幅を検出する
検出部と左右両端からの余白領域を設定する初期設定部
と印字部に制御信号を送出する制゛御部と、制御信号の
切換えを行うモード切換え部とを有することにより、定
形(A4,84等)の用紙以外の、例えば3角形やひし
形の用紙にも印字ができ又用紙のシリアルプリンタへの
装着も任意の位置にできる効果がある。
As explained above, the present invention includes a detection section that detects the width of printing paper, an initial setting section that sets margin areas from both left and right edges, a control section that sends control signals to the printing section, and a control section that switches control signals. By having a mode switching unit that performs There is.

【図面の簡単な説明】[Brief explanation of drawings]

図面は本発明の一実施例を示す図である。 11・・・記憶部、12・・・印字部、13・・・印字
制御部、14・・・制御部、15・・・初期設定部、1
6・・・検出部、17・・・モード切換え部。
The drawings are diagrams showing one embodiment of the present invention. DESCRIPTION OF SYMBOLS 11... Storage part, 12... Printing part, 13... Printing control part, 14... Control part, 15... Initial setting part, 1
6...Detection section, 17...Mode switching section.

Claims (1)

【特許請求の範囲】[Claims] 外部の処理装置からの印字データを制御情報にもとずい
て印字する印字部を有するシリアルプリンタにおいて、
印字用紙の幅を検出する検出部と、左右両端からの余白
領域を設定する初期設定部と、前記検出部と初期設定部
とを含む情報により前記印字部に前記制御情報を送出す
る制御部と、前記制御情報と外部からの制御情報の切換
えを行うモード切換え部とを含むことを特徴とするシリ
アルプリンタ。
In a serial printer that has a printing section that prints print data from an external processing device based on control information,
a detection section that detects the width of printing paper; an initial setting section that sets margin areas from both left and right ends; and a control section that sends the control information to the printing section based on information including the detection section and the initial setting section. , a mode switching section that switches between the control information and external control information.
JP2631186A 1986-02-07 1986-02-07 Serial printer Pending JPS62183369A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2631186A JPS62183369A (en) 1986-02-07 1986-02-07 Serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2631186A JPS62183369A (en) 1986-02-07 1986-02-07 Serial printer

Publications (1)

Publication Number Publication Date
JPS62183369A true JPS62183369A (en) 1987-08-11

Family

ID=12189829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2631186A Pending JPS62183369A (en) 1986-02-07 1986-02-07 Serial printer

Country Status (1)

Country Link
JP (1) JPS62183369A (en)

Similar Documents

Publication Publication Date Title
JPS62183369A (en) Serial printer
JPS6159920B2 (en)
JPH0578428B2 (en)
JPH05147322A (en) Control method of space of serial printer
JPH10175345A (en) Printer with function of reusing printed paper
JPS61160271A (en) Printer apparatus
JP2776743B2 (en) Electrophotographic printer
JPH06115192A (en) Page printer
JPS60115481A (en) Printer controlling system
JPH01190472A (en) Printing device
JPH061045A (en) Printer device
JPH03262674A (en) Printer
JPH03264382A (en) Page printer
JPH01249474A (en) Printing output device control system
JPH0327967A (en) Printing control system of cut paper with binding holes
JPS61121980A (en) Printing apparatus
JPH03230979A (en) Printing apparatus
JPS6233660A (en) Printer
JPH01135677A (en) Margin setting method in printer
JPS6238931A (en) Printing device
JPH0499683A (en) Impact printer
JPH04239667A (en) Printing controller of line printer
JPS63281862A (en) Serial printer
JPH02128883A (en) Serial printer
JPH02184481A (en) Printer