JPH06270473A - Control method of serial printer - Google Patents

Control method of serial printer

Info

Publication number
JPH06270473A
JPH06270473A JP6227793A JP6227793A JPH06270473A JP H06270473 A JPH06270473 A JP H06270473A JP 6227793 A JP6227793 A JP 6227793A JP 6227793 A JP6227793 A JP 6227793A JP H06270473 A JPH06270473 A JP H06270473A
Authority
JP
Japan
Prior art keywords
print
printing
serial printer
paper
print head
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
JP6227793A
Other languages
Japanese (ja)
Inventor
Yasushi Saito
裕史 斎藤
Tetsuki Tsuchiya
徹樹 土屋
Hideji Yaginuma
秀司 柳沼
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.)
Fujitsu Isotec Ltd
Fujitsu Ltd
Original Assignee
Fujitsu Isotec Ltd
Fujitsu Ltd
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 Fujitsu Isotec Ltd, Fujitsu Ltd filed Critical Fujitsu Isotec Ltd
Priority to JP6227793A priority Critical patent/JPH06270473A/en
Publication of JPH06270473A publication Critical patent/JPH06270473A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To accurately set and align paper without performing trial printing by preliminarily receiving printing data to be printed to move a printing head to the endmost position on a printing start side before actual printing. CONSTITUTION:Operation switches 12a1, 12a2, 12a3 being the mode indicating means connected to a CPU 1 being a control means indicating a mode moving a printing head 11 to each printing end are arranged to an operator panel 12. When each of the operation switches is selectively pushed down, the printing head 11 is moved in a non-printing state on the basis of the range of paper to be printed before actual printing, that is, a printing start position end, the max. terminal position in each printing line or the max. width both-end positions of each printing line in the whole of one page and an operator can know the moving range of the printing head 11. By this constitution, the operator can perform the resetting of paper, the selection of the optimum printing paper or the resetting of a printing form.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、シリアルプリンタにお
ける制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control method for a serial printer.

【0002】[0002]

【従来の技術】一般的にシリアルプリンタにおいては、
印字用紙をセットすべき位置、即ち印字開始位置、幅方
向(左右方向)の印字限界位置等を考慮しながら、オペ
レータが経験に基づいて大体の位置を決めていることが
多い。
2. Description of the Related Art Generally, in a serial printer,
In many cases, the operator decides the approximate position based on experience while considering the position where the printing paper should be set, that is, the print start position, the print limit position in the width direction (horizontal direction), and the like.

【0003】[0003]

【発明が解決しようとする課題】このような従来のシリ
アルプリンタでの印字用紙のセットは、オペレータの経
験に基づいて印字用紙の大体の位置を決めているため、
当然のことながら一回目で正確な位置にセットすること
が困難で、試し印字を行なった後に印字用紙の位置修正
を行なったりして、試行錯誤を繰り返した後に正確なセ
ット位置を見出だすようにしていることが多い。
In setting the printing paper in such a conventional serial printer, the position of the printing paper is determined based on the experience of the operator.
As a matter of course, it is difficult to set it to the correct position the first time, so try to find the correct setting position after repeating trial and error, such as correcting the print paper position after trial printing. I often do it.

【0004】具体的には、第1に開始端側最端位置が不
明なためフィード方向及び印字幅方向のいずれの方向に
関しても印字用紙のセット位置を特定することができな
い。
Specifically, first, since the endmost position on the start end side is unknown, the set position of the printing paper cannot be specified in either the feed direction or the print width direction.

【0005】第2に印字幅方向に関する最大終端位置が
不明なため用紙の最大幅を越えて印字してしまうことが
ある。
Second, since the maximum end position in the print width direction is unknown, printing may exceed the maximum width of the paper.

【0006】第3に用紙1ページ分における各印字行の
最大幅両端が不明なためはみ出して或いはせますぎて印
字させてしまったりしている。
Thirdly, since the maximum width ends of each print line on one page of the paper are unknown, the print lines may be overprinted or marginally printed.

【0007】このため、このような試し印字を何度も繰
り返しながら正確なセット位置をようやく見出だすこと
もしばしばで、用紙をその都度無駄にして不経済である
という難点があり、また一見単純そうな作業の割りには
時間及び手間がかかり、オペレータにとっておおきな負
担で、作業効率も著しく悪いという難点もある。
For this reason, it is often the case that the correct set position is finally found by repeating such test printing many times, and there is the disadvantage that the paper is wasted each time and it is uneconomical. Such work is time-consuming and labor-intensive, is a heavy burden on the operator, and has a drawback that work efficiency is extremely low.

【0008】本発明は、前記諸点に鑑み成されたもので
あって、試し印字を行なうことなく用紙のセット位置合
わせを正確に行なうことができる、経済的且つ作業効率
の改善されたシリアルプリンタにおける制御方法を提供
することを目的としている。
The present invention has been made in view of the above points, and provides an economical and improved work efficiency serial printer capable of accurately performing sheet setting position alignment without performing test printing. The purpose is to provide a control method.

【0009】[0009]

【課題を解決するための手段】前記目的は、本発明によ
れば、印字用紙のフィード方向に対して交差する方向で
且つ当該印字用紙の印字面に対して平行な方向に移動可
能な印字ヘッドを備えたシリアルプリンタの制御方法で
あって、第1に前記シリアルプリンタによって印字を行
なうべく印字用紙をセットする際、当該シリアルプリン
タは、印字すべき印字データを予め受信することにより
前記印字ヘッドを実際の印字前に印字開始側最端位置ま
で移動させることを特徴とするシリアルプリンタの制御
方法、第2に前記シリアルプリンタによって印字を行な
うべく印字用紙をセットする際、当該シリアルプリンタ
は、印字すべき印字データを予め受信することにより前
記印字ヘッドを実際の印字前に印字開始行の開始端側最
端位置及び当該印字開始行の末端側最端位置の夫々に移
動させることを特徴とするシリアルプリンタの制御方
法、第3に前記シリアルプリンタにて印字を行なう際、
当該シリアルプリンタは、印字用紙をセットしてから、
事前に当該印字用紙の1ページ分に印字すべき印字デー
タのすべてを予め受信することにより実際の印字前に前
記印字ヘッドを前記1ページにおける各印字行の最大幅
両端各位置に移動させることを特徴とするシリアルプリ
ンタの制御方法によって達成される。
According to the present invention, there is provided a print head which is movable in a direction intersecting a feed direction of a print sheet and in a direction parallel to a print surface of the print sheet. A method of controlling a serial printer comprising: first, when setting a print sheet for printing by the serial printer, the serial printer receives the print data to be printed in advance, and thereby the print head is activated. A method of controlling a serial printer, which is characterized in that the serial printer is moved to the end position on the printing start side before the actual printing. Secondly, when the printing paper is set to perform printing by the serial printer, the serial printer does not print. By receiving the print data to be printed in advance, the print head is moved to the end position of the print start line before the actual printing, Control method for a serial printer, characterized in that moving the respective distal extreme position of the start line, when performing printing by the serial printer to the third,
The serial printer sets the printing paper, then
By receiving in advance all the print data to be printed on one page of the print sheet, the print head can be moved to each position of the maximum width of each print line on the page before the actual printing. This is achieved by a characteristic serial printer control method.

【0010】[0010]

【作用】本発明によるシリアルプリンタの制御方法にお
いては、実際の印字の前に、印字すべき用紙の範囲、即
ち印字開始側位置端、印字行の夫々における最大終端位
置、1ページ全体における各印字行の最大幅両端各位置
等を印字ヘッドを非印字状態で移動させる。
In the control method of the serial printer according to the present invention, before the actual printing, the range of the paper to be printed, that is, the position end on the print start side, the maximum end position on each print line, each print on the entire page Move the print head to each position on both ends of the maximum width of the line without printing.

【0011】これにより当該印字ヘッドの移動の範囲を
オペレータに知らせることができ、これによってオペレ
ータが用紙の再セット、或いは最適な印字用紙の再選
択、また印字書式の再設定等を行なうことができる。
With this, it is possible to inform the operator of the range of movement of the print head, which enables the operator to reset the paper, reselect the optimum print paper, or reset the print format. .

【0012】[0012]

【実施例】以下に、本発明によるシリアルプリンタの制
御方法の好ましい実施例を図面に基づいて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A preferred embodiment of a serial printer control method according to the present invention will be described below with reference to the drawings.

【0013】図1は、本発明によるシリアルプリンタの
制御方法における当該シリアルプリンタの要部の構成を
概略的に示すブロック図である。
FIG. 1 is a block diagram schematically showing a configuration of a main part of the serial printer in the control method of the serial printer according to the present invention.

【0014】1は制御手段としてのCPU(中央演算処
理装置)であり一般的なマイクロコンピュータが用いら
れている。
Reference numeral 1 denotes a CPU (central processing unit) as a control means, which is a general microcomputer.

【0015】2はパソコンやワープロ等の外部装置とイ
ンターフェイス接続するためのホストインターフェイス
を示している。
Reference numeral 2 denotes a host interface for interfacing with an external device such as a personal computer or a word processor.

【0016】3はシリアルプリンタの制御を行なうプロ
グラムを記憶するための記憶装置が示されており、本実
施例ではプログラムROM(読みだし専用メモリ)が用
いられている。
Reference numeral 3 denotes a storage device for storing a program for controlling the serial printer. In this embodiment, a program ROM (read-only memory) is used.

【0017】4は文字フォントを発生させるためのキャ
ラクタジェネレータを示している。
Reference numeral 4 denotes a character generator for generating a character font.

【0018】6はシリアルプリンタの印字ヘッド11が
載置されているキャリッジを幅方向に関して移動させる
ためのスペースモータを示している。
Reference numeral 6 denotes a space motor for moving the carriage on which the print head 11 of the serial printer is mounted in the width direction.

【0019】5はスペースモータ6を制御するための手
段であるスペースモータ制御回路を示している。
Reference numeral 5 denotes a space motor control circuit which is means for controlling the space motor 6.

【0020】スペースモータ制御回路5及びスペースモ
ータ6によって印字ヘッド11を往復移動させるために
前述のキャリッジを駆動するためのスペース駆動手段を
構成している。
The space motor control circuit 5 and the space motor 6 constitute space driving means for driving the above-mentioned carriage to reciprocate the print head 11.

【0021】8は印字用紙をフィードさせるべくプラテ
ン装置を駆動するためのラインモータを示している。
Reference numeral 8 denotes a line motor for driving the platen device to feed the printing paper.

【0022】7はラインモータ8を制御するための手段
であるラインモータ制御回路を示している。
Reference numeral 7 denotes a line motor control circuit which is means for controlling the line motor 8.

【0023】ラインモータ制御回路7及びラインモータ
8によって印字用紙のフィードを行なわせるために前述
のプラテン装置を駆動すべく当該プラテン装置に接続さ
れた改行駆動手段を構成している。
The line motor control circuit 7 and the line motor 8 constitute line feed driving means connected to the platen device for driving the above-mentioned platen device in order to feed the printing paper.

【0024】9は1行分の文字フォントを一時的に格納
するためのラインバッファを示している。
Reference numeral 9 indicates a line buffer for temporarily storing a character font for one line.

【0025】11はシリアルプリンタの印字ヘッドを示
している。
Reference numeral 11 denotes a print head of the serial printer.

【0026】10はラインバッファ9からの出力内容、
即ち文字フォントの種類に応じて印字ヘッド11の印字
部、例えば各ヘッドピンを駆動させる印字ヘッド制御回
路を示している。
Reference numeral 10 is the output content from the line buffer 9,
That is, it shows a printing unit of the print head 11, for example, a print head control circuit that drives each head pin according to the type of character font.

【0027】12はオペレータが操作するためのオペレ
ータパネルを示している。
Reference numeral 12 denotes an operator panel for the operator to operate.

【0028】オペレータパネル12には、印字ヘッド1
1の各印字端への移動のモードを指定すべく制御手段と
してのCPU1に接続されたモード指定手段としての操
作スイッチ12a1 、12a2 、12a3 が備えられて
いる。
The operator panel 12 includes a print head 1
There are provided operation switches 12a1, 12a2, 12a3 as mode designating means connected to the CPU 1 as control means for designating the mode of movement of the print head 1 to each print end.

【0029】これらの各スイッチ12a1 、12a2 、
12a3 を選択的に押下することにより、前述のごとく
実際の印字の前に、印字すべき用紙の範囲、即ち印字開
始位置端、印字行の夫々における最大終端位置、1ペー
ジ全体における各印字行の最大幅両端各位置等を印字ヘ
ッド11を非印字状態で移動させることにより当該印字
ヘッド11の移動の範囲をオペレータが知ることができ
る。
Each of these switches 12a1, 12a2,
By pressing 12a3 selectively, as described above, before the actual printing, the range of the paper to be printed, that is, the print start position edge, the maximum end position in each print line, the print line in each page The operator can know the range of movement of the print head 11 by moving the print head 11 at each position on both ends of the maximum width in a non-printing state.

【0030】これによってオペレータが用紙の再セッ
ト、或いは最適な印字用紙の再選択、また印字書式の再
設定等を行なうことができる。
As a result, the operator can reset the paper, reselect the optimum print paper, reset the print format, or the like.

【0031】またオペレータパネル12には、スイッチ
12a1 、12a2 、12a3 の夫々によって選択され
た各モードの状態を表示するための表示部12bも設け
られている。
The operator panel 12 is also provided with a display section 12b for displaying the state of each mode selected by each of the switches 12a1, 12a2 and 12a3.

【0032】13は印字すべき文字データを受信して一
時的に格納するための受信バッファを示している。
Reference numeral 13 denotes a reception buffer for receiving character data to be printed and temporarily storing it.

【0033】印字ヘッド11がキャリッジへ実際に載置
された状態を、図2に基づいて説明する。
The state in which the print head 11 is actually placed on the carriage will be described with reference to FIG.

【0034】図2に示すように、印字ヘッド11はキャ
リッジ21の上に載置されている。
As shown in FIG. 2, the print head 11 is mounted on the carriage 21.

【0035】印字ヘッド11の先端部には印字部として
のヘッドピン24が装着されている。
A head pin 24 as a printing unit is attached to the tip of the print head 11.

【0036】キャリッジ21にはプラテン装置22の表
面と平行に配置され印字用紙を保持するように構成され
た用紙押え23が装着されている。
The carriage 21 is provided with a paper retainer 23 arranged parallel to the surface of the platen device 22 and configured to hold the print paper.

【0037】ヘッドピン24はプラテン装置22の表面
に向かって印字するように配置されている。
The head pins 24 are arranged so as to print on the surface of the platen device 22.

【0038】キャリッジ21は平行に配置された一対の
レール装置26に装着されており、このレール装置26
上を矢印27の方向、即ち印字用紙の幅方向に移動可能
に構成されている。
The carriage 21 is mounted on a pair of rail devices 26 arranged in parallel.
The upper part is movable in the direction of arrow 27, that is, in the width direction of the printing paper.

【0039】なお、本実施例においては矢印27の方向
である印字用紙の幅方向に対して、矢印28の方向を印
字用紙のフィード方向と定義してある。
In the present embodiment, the direction of the arrow 28 is defined as the feed direction of the print sheet with respect to the width direction of the print sheet, which is the direction of the arrow 27.

【0040】このように、本実施例におけるシリアルプ
リンタは、印字ヘッド11の矢印27で示した印字用紙
の幅方向に関する移動を行なわせるべく当該印字ヘッド
11を載置したキャリッジ21と、印字用紙を矢印28
で示した方向にフィードさせるためのプラテン装置22
と、このプラテン装置22による印字用紙のフィードの
方向と交差する方向27に沿って印字ヘッド11を往復
移動させるべくキャリッジ21を駆動するスペース駆動
手段と、印字用紙のフィードを行なわせるためにプラテ
ン装置22を駆動すべく当該プラテン装置22に接続さ
れた改行駆動手段と、前記スペース駆動手段及び改行駆
動手段の各駆動状態を制御すべく当該スペース駆動手段
及び改行駆動手段の夫々に接続された制御手段と、印字
ヘッド11の各印字端への移動のモードを指定すべく前
記制御手段に接続されたモード指定手段とを備えてい
る。
As described above, in the serial printer according to the present embodiment, the carriage 21 on which the print head 11 is placed so as to move the print head 11 in the width direction indicated by the arrow 27 and the print paper are moved. Arrow 28
Platen device 22 for feeding in the direction indicated by
A space driving means for driving the carriage 21 to reciprocate the print head 11 along a direction 27 intersecting the direction of feeding the printing paper by the platen device 22, and a platen device for feeding the printing paper. A line feed driving means connected to the platen device 22 for driving the space driving means 22, and a control means connected to the space driving means and the line feed driving means, respectively, for controlling the drive states of the space driving means and the line feed driving means. And a mode designating means connected to the control means for designating a mode of movement of the print head 11 to each print end.

【0041】以上のことをふまえて、つぎに本発明によ
るシリアルプリンタの制御方法について説明する。
Based on the above, the control method of the serial printer according to the present invention will be described below.

【0042】まず第1の制御方法を図3に示し説明す
る。
First, the first control method will be described with reference to FIG.

【0043】制御動作が開始されると、シリアルプリン
タは印字すべき印字データを順次読み込み受信し(ステ
ップS1)、この受信した印字データを受信バッファ1
3に書き込み(ステップS2)、印字用紙1ページ分の
すべての印字データを読み込み終わったかをチェックし
(ステップS3)、まだ読み込みが終了していない場合
にはステップS1に戻り、読み込みが終了している場合
には次のステップS4に進む。
When the control operation is started, the serial printer sequentially reads and receives print data to be printed (step S1), and the received print data is received by the reception buffer 1
3 is written (step S2), it is checked whether all the print data for one page of the printing paper has been read (step S3). If the reading is not completed yet, the process returns to step S1 and the reading is completed. If so, the process proceeds to the next step S4.

【0044】ステップS4は、後で詳しく説明する「最
大左端/右端位置セット処理」のサブルーティンを用い
て印字用紙における幅方向の両端の印字はみ出しをチェ
ックするステップで、これにより用紙セットの大幅なず
れをまず修正することができる。
The step S4 is a step for checking the print protrusion at both ends in the width direction of the print paper by using the subroutine of "maximum left end / right end position setting process" which will be described in detail later, and by this, a large amount of paper setting is performed. The gap can be corrected first.

【0045】次に、モード指定手段としてのスイッチ1
2a1 であるSW−Aを押下することにより(ステップ
S5)、印字ヘッド11が印字開始側最端位置、即ち最
大左端位置に移動する(ステップS6)。
Next, the switch 1 as the mode designating means
By depressing SW-A which is 2a1 (step S5), the print head 11 moves to the print start side most end position, that is, the maximum left end position (step S6).

【0046】この時点で印字用紙をセットするかどうか
を、即ち用紙吸入スイッチ(SW)を押下するかどうか
をオペレータは判断する(ステップS7)。
At this point, the operator determines whether to set the printing paper, that is, whether to press the paper suction switch (SW) (step S7).

【0047】用紙吸入スイッチ(SW)が押下されると
印字用紙がシリアルプリンタに吸入されてセットされる
(ステップS8)。
When the paper suction switch (SW) is pressed, the printing paper is sucked into the serial printer and set (step S8).

【0048】印字用紙がきちんとセットされたのを確認
した後、オペレータは印字を実行させるためのスイッチ
であるSW−Cを押下することにより(ステップS
9)、印字用紙の所望の位置に正確に印字が開始され
(ステップS10)、印字データが無くなると終了にな
る。
After confirming that the printing paper is properly set, the operator depresses SW-C, which is a switch for executing printing (step S
9) Then, the printing is accurately started at a desired position on the printing paper (step S10), and the processing ends when there is no print data.

【0049】次に第2の制御方法を図4に示し説明す
る。
Next, the second control method will be described with reference to FIG.

【0050】制御動作が開始されると、シリアルプリン
タは印字すべき印字データを順次読み込み受信し(ステ
ップS1)、この受信した印字データを受信バッファ1
3に書き込み(ステップS2)、印字用紙1ページ分の
すべての印字データを読み込み終わったかをチェックし
(ステップS3)、まだ読み込みが終了していない場合
にはステップS1に戻り、読み込みが終了している場合
には次のステップS4に進む。
When the control operation is started, the serial printer sequentially reads and receives print data to be printed (step S1), and the received print data is received in the reception buffer 1
3 is written (step S2), it is checked whether all the print data for one page of the printing paper has been read (step S3). If the reading is not completed yet, the process returns to step S1 and the reading is completed. If so, the process proceeds to the next step S4.

【0051】ステップS4は、後で詳しく説明する「最
大左端/右端位置セット処理」のサブルーティンを用い
て印字用紙における幅方向の両端の印字はみ出しをチェ
ックするステップで、これにより用紙セットの大幅なず
れをまず修正することができる。
Step S4 is a step for checking the print protrusion at both ends in the width direction of the print paper by using a subroutine of "maximum left end / right end position setting process" which will be described in detail later, and by this, a large amount of paper setting is performed. The gap can be corrected first.

【0052】次に、モード指定手段としてのスイッチ1
2a1 であるSW−Aを押下することにより(ステップ
S5)、印字ヘッド11が印字開始側最端位置、即ち最
大左端位置に移動する(ステップS6)。
Next, the switch 1 as the mode designating means
By depressing SW-A which is 2a1 (step S5), the print head 11 moves to the print start side most end position, that is, the maximum left end position (step S6).

【0053】このSW−Aを押下しない場合には、印字
ヘッド11が印字開始側最端位置、即ち最大左端位置に
移動することなくステップS6を省略して次のステップ
S7にスキップする。
If this SW-A is not pressed, the print head 11 does not move to the print start side end position, that is, the maximum left end position, and step S6 is skipped and the process skips to step S7.

【0054】また、モード指定手段としてのスイッチ1
2a2 であるSW−Bを押下することにより(ステップ
S7)、印字ヘッド11が印字終端側最端位置、即ち最
大右端位置に移動する(ステップS8)。
Further, the switch 1 as a mode designating means
By depressing SW-B which is 2a2 (step S7), the print head 11 is moved to the print end side most end position, that is, the maximum right end position (step S8).

【0055】この時点で印字用紙をセットするかどうか
を、即ち用紙吸入スイッチ(SW)を押下するかどうか
をオペレータは判断する(ステップS9)。
At this point, the operator determines whether to set the printing paper, that is, whether to press the paper suction switch (SW) (step S9).

【0056】用紙吸入スイッチ(SW)が押下されると
印字用紙がシリアルプリンタに吸入されてセットされる
(ステップS10)。
When the paper suction switch (SW) is pressed, the printing paper is sucked into the serial printer and set (step S10).

【0057】印字用紙がきちんとセットされたのを確認
した後、オペレータは印字を実行させるためのスイッチ
であるSW−Cを押下することにより(ステップS1
1)、印字用紙の所望の位置に正確に印字が開始され
(ステップS12)、印字データが無くなると終了にな
る。
After confirming that the printing paper has been set properly, the operator depresses SW-C, which is a switch for executing printing (step S1).
1) The printing is accurately started at a desired position on the printing paper (step S12), and is ended when there is no print data.

【0058】次に第3の制御方法を図5に示し説明す
る。
Next, the third control method will be described with reference to FIG.

【0059】制御動作が開始されると、まず印字用紙が
シリアルプリンタに吸入されてセットされる(ステップ
S1)。
When the control operation is started, the printing paper is first sucked into the serial printer and set (step S1).

【0060】次に、シリアルプリンタは印字すべき印字
データを順次読み込み受信し(ステップS2)、この受
信した印字データを受信バッファ13に書き込み(ステ
ップS3)、印字用紙1ページ分のすべての印字データ
を読み込み終わったかをチェックし(ステップS4)、
まだ読み込みが終了していない場合にはステップS2に
戻り、読み込みが終了している場合には次のステップS
5に進む。
Next, the serial printer sequentially reads and receives print data to be printed (step S2), writes the received print data in the reception buffer 13 (step S3), and prints all print data for one page of print paper. Check if the file has been read (step S4),
If the reading is not completed yet, the process returns to step S2, and if the reading is completed, the next step S2 is performed.
Go to 5.

【0061】ステップS5は、後で詳しく説明する「最
大左端/右端位置セット処理」のサブルーティンを用い
て印字用紙における幅方向の両端の印字はみ出しをチェ
ックするステップで、これにより用紙セットの大幅なず
れをまず修正することができる。
Step S5 is a step for checking the print protrusion at both ends in the width direction of the print paper by using a subroutine of "maximum left end / right end position setting process" which will be described in detail later, and by this, a large amount of paper setting is performed. The gap can be corrected first.

【0062】次に、モード指定手段としてのスイッチ1
2a1 であるSW−Aを押下することにより(ステップ
S6)、印字ヘッド11が印字開始側最端位置、即ち最
大左端位置に移動する(ステップS7)。
Next, the switch 1 as the mode designating means
By depressing SW-A which is 2a1 (step S6), the print head 11 moves to the print start side most end position, that is, the maximum left end position (step S7).

【0063】このSW−Aを押下しない場合には、印字
ヘッド11が印字開始側最端位置、即ち最大左端位置に
移動することなくステップS7を省略して次のステップ
S8にスキップする。
If the SW-A is not pressed, the print head 11 does not move to the print start side end position, that is, the maximum left end position, and step S7 is omitted and the process skips to step S8.

【0064】また、モード指定手段としてのスイッチ1
2a2 であるSW−Bを押下することにより(ステップ
S8)、印字ヘッド11が印字終端側最端位置、即ち最
大右端位置に移動する(ステップS9)。
Further, the switch 1 as the mode designating means
By depressing SW-B which is 2a2 (step S8), the print head 11 is moved to the print end side most end position, that is, the maximum right end position (step S9).

【0065】このSW−Bを押下しない場合には、印字
ヘッド11が印字終端側最端位置、即ち最大右端位置に
移動することなくステップS9を省略して次のステップ
S10にスキップする。
If SW-B is not pressed, step S9 is skipped without moving the print head 11 to the extreme end position on the printing end side, that is, the maximum right end position, and the process skips to step S10.

【0066】次のステップS10は、本出願人の出願で
ある特開平2−11370号に記載されているような、
印字用紙を印字開始位置において微妙に調整してセット
する、即ち印字開始位置微調整モード処理である。
The next step S10 is as described in Japanese Patent Application Laid-Open No. 2-1370370 filed by the present applicant.
The printing paper is finely adjusted and set at the printing start position, that is, the printing start position fine adjustment mode processing.

【0067】印字用紙が微調整されてきちんとセットさ
れたのを確認した後、オペレータは印字を実行させるた
めのスイッチであるSW−Cを押下することにより(ス
テップS11)、印字用紙の所望の位置に正確に印字が
開始され(ステップS12)、印字データが無くなると
終了になる。
After confirming that the printing paper has been finely adjusted and set properly, the operator depresses SW-C, which is a switch for executing printing (step S11), to set the desired position of the printing paper. The printing starts accurately (step S12), and ends when there is no print data.

【0068】ここで、前述のステップS5における「最
大左端/右端位置セット処理」のサブルーティンを図6
及び図7に基づいて説明する。
Here, the subroutine of the "maximum left end / right end position setting process" in step S5 described above is shown in FIG.
And FIG. 7 will be described.

【0069】このサブルーティンにおいては、印字最大
左端位置及び印字最大右端位置の夫々を確定するような
機能を備えている。
This subroutine has a function of determining the maximum print left end position and the maximum print right end position, respectively.

【0070】印字最大左端位置及び印字最大右端位置の
夫々を確定するためには、まず始めに、用紙1ページ分
の印字データを受信する必要がある。
In order to determine the maximum print left end position and the maximum print right end position, first, it is necessary to receive print data for one page of paper.

【0071】この受信された用紙1ページ分の印字デー
タは、コード解析された後に受信バッファ13に書き込
まれる。このコード解析により、ページの終了コード
(改ページ、排出コマンド等)を検出するまでデータの
取り込みを行なうことで、1ページ分の印字データを取
り込むことができる。
The received print data for one page of paper is written in the reception buffer 13 after code analysis. By this code analysis, data can be fetched until a page end code (page break, discharge command, etc.) is detected, so that print data for one page can be fetched.

【0072】なお、1ページ分の印字データを取り込ん
だ時点で、データの送出し側から自動的にデータをスト
ップするように構成されている。
When the print data for one page is fetched, the data sending side automatically stops the data.

【0073】取り込まれたデータは、ラインバッフアに
書き込まれ、その時の左端位置と右端位置とを記憶す
る。
The fetched data is written in the line buffer, and the left end position and the right end position at that time are stored.

【0074】さらに次の行をラインバッファに書き込
み、前行の左端位置と今回の左端位置とを比較し、大き
いほうの値を記憶する。(図6 MAX−LP)。
Further, the next line is written in the line buffer, the left end position of the previous line is compared with the current left end position, and the larger value is stored. (FIG. 6 MAX-LP).

【0075】同様に右端についても、前行の値と今回の
値とを比較し大きいほうの値を記憶する。(図6 MA
X−RP)。
Similarly, for the right end as well, the value of the preceding row is compared with the value of this time, and the larger value is stored. (Fig. 6 MA
X-RP).

【0076】この処理を最終行まで繰り返すことによ
り、ページ内の最大左端位置と最大右端位置とを確定す
ることができる(図7)。
By repeating this process up to the last line, the maximum left end position and the maximum right end position within the page can be determined (FIG. 7).

【0077】確定された値は、印字ヘッド移動制御部に
通知され、オペレータのスイッチ操作により印字ヘッド
が左端および右端位置に移動する。
The determined value is notified to the print head movement control unit, and the print head is moved to the left end position and the right end position by the switch operation of the operator.

【0078】オペレータは、印字ヘッドの位置により、
印字データの最大左端位置および最大右端位置の夫々を
認識することで、より正確に用紙セットすることが可能
となる。
Depending on the position of the print head, the operator
By recognizing each of the maximum left end position and the maximum right end position of the print data, it is possible to set the paper more accurately.

【0079】[0079]

【発明の効果】以上のように、本発明によるシリアルプ
リンタの制御方法は、第1に、印字開始端側の最大左端
位置が明示されるため、開始位置を容易に特定すること
ができ、第2に、印字終端側の最大右端位置が明示され
るため、用紙からはみ出す部分をすぐに特定でき、はみ
出し印字による無駄を事前にはぶくことができ、第3
に、印字前にページ全体の印字状態を概略把握できるた
め、用紙のセット作業を簡略化することができ、オペレ
ータの負担を軽減することができる。
As described above, in the serial printer control method according to the present invention, first, since the maximum left end position on the print start end side is clearly indicated, the start position can be easily specified. Since the maximum right end position on the printing end side is clearly shown in 2, the portion protruding from the paper can be specified immediately, and the waste due to the protrusion printing can be eliminated in advance.
In addition, since it is possible to roughly understand the printing state of the entire page before printing, it is possible to simplify the paper setting work and reduce the burden on the operator.

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

【図1】本発明によるシリアルプリンタの制御方法を概
略的に説明するためのブロック図である。
FIG. 1 is a block diagram for schematically explaining a control method of a serial printer according to the present invention.

【図2】本発明によるシリアルプリンタの制御方法にお
ける当該シリアルプリンタの印字部の構成を概略的に示
す説明図である。
FIG. 2 is an explanatory diagram schematically showing a configuration of a printing unit of the serial printer in the control method of the serial printer according to the present invention.

【図3】本発明によるシリアルプリンタの第1の制御方
法の説明図である。
FIG. 3 is an explanatory diagram of a first control method of the serial printer according to the present invention.

【図4】本発明によるシリアルプリンタの第2の制御方
法の説明図である。
FIG. 4 is an explanatory diagram of a second control method of the serial printer according to the present invention.

【図5】本発明によるシリアルプリンタの第3の制御方
法の説明図である。
FIG. 5 is an explanatory diagram of a third control method of the serial printer according to the present invention.

【図6】本発明によるシリアルプリンタの最大左端/右
端位置セット処理を概略的に示すフローチャートの説明
図である。
FIG. 6 is an explanatory diagram of a flowchart schematically showing maximum left end / right end position setting processing of the serial printer according to the present invention.

【図7】本発明によるシリアルプリンタの制御方法の説
明図である。
FIG. 7 is an explanatory diagram of a serial printer control method according to the present invention.

【符号の説明】[Explanation of symbols]

1 CPU 2 ホストインターフェイス 3 プログラムROM 4 キャラクタジェネレータ 5 スペースモータ制御回路 6 スペースモータ 7 ラインモータ制御回路 8 ラインモータ 9 ラインバッファ 10 印字ヘッド制御回路 11 ヘッド 12 オペレータパネル 12a スイッチ 12b 表示部 13 受信バッファ 1 CPU 2 Host Interface 3 Program ROM 4 Character Generator 5 Space Motor Control Circuit 6 Space Motor 7 Line Motor Control Circuit 8 Line Motor 9 Line Buffer 10 Print Head Control Circuit 11 Head 12 Operator Panel 12a Switch 12b Display 13 Reception Buffer

───────────────────────────────────────────────────── フロントページの続き (72)発明者 柳沼 秀司 東京都稲城市大字大丸1405番地 富士通ア イソテック株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shuji Yaginuma 1405 Daimaru, Inagi-shi, Tokyo Inside Fujitsu Aisotec Co., Ltd.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 印字用紙のフィード方向に対して交差す
る方向であって且つ当該印字用紙の印字面に対して平行
な方向に移動可能な印字ヘッドを備えたシリアルプリン
タの制御方法であって、 前記シリアルプリンタによって印字を行なうべく印字用
紙をセットする際、当該シリアルプリンタは、印字すべ
き印字データを予め受信することにより前記印字ヘッド
を実際の印字前に印字開始側最端位置まで移動させるこ
とを特徴とするシリアルプリンタの制御方法。
1. A control method for a serial printer, comprising a print head movable in a direction crossing a feed direction of a print sheet and parallel to a print surface of the print sheet. When the printing paper is set to be printed by the serial printer, the serial printer receives the print data to be printed in advance to move the print head to the end position of the print start side before the actual printing. A method for controlling a serial printer characterized by the above.
【請求項2】 印字用紙のフィード方向に対して交差す
る方向であって且つ当該印字用紙の印字面に対して平行
な方向に移動可能な印字ヘッドを備えたシリアルプリン
タの制御方法であって、 前記シリアルプリンタによって印字を行なうべく印字用
紙をセットする際、当該シリアルプリンタは、印字すべ
き印字データを予め受信することにより前記印字ヘッド
を実際の印字前に印字開始行の開始端側最端位置及び当
該印字開始行の末端側最端位置の夫々に移動させること
を特徴とするシリアルプリンタの制御方法。
2. A method of controlling a serial printer, comprising a print head movable in a direction intersecting a feed direction of a print sheet and parallel to a print surface of the print sheet. When the printing paper is set to be printed by the serial printer, the serial printer receives the print data to be printed in advance, so that the print head causes the print head to be positioned before the actual printing and at the end position on the start end side of the print start line. And a method of controlling a serial printer, characterized in that the printing start line is moved to the endmost position on the end side.
【請求項3】 印字用紙のフィード方向に対して交差す
る方向であって且つ当該印字用紙の印字面に対して平行
な方向に移動可能な印字ヘッドを備えたシリアルプリン
タの制御方法であって、 前記シリアルプリンタにて印字を行なう際、当該シリア
ルプリンタは、印字用紙をセットしてから、事前に当該
印字用紙の1ページ分に印字すべき印字データのすべて
を予め受信することにより実際の印字前に前記印字ヘッ
ドを前記1ページにおける各印字行の最大幅両端各位置
に移動させることを特徴とするシリアルプリンタの制御
方法。
3. A control method for a serial printer, comprising a print head movable in a direction intersecting a feed direction of a print sheet and parallel to a print surface of the print sheet. When printing with the serial printer, the serial printer sets the printing paper and then previously receives all the print data to be printed for one page of the printing paper, thereby A method for controlling a serial printer, further comprising: moving the print head to positions at both ends of a maximum width of each print line on the page.
【請求項4】 前記シリアルプリンタは、前記印字ヘッ
ドの前記移動を行なわせるべく当該印字ヘッドを載置し
たキャリッジと、前記印字用紙のフィードのためのプラ
テン装置と、このプラテン装置による前記印字用紙のフ
ィードの方向と交差する方向に沿って前記印字ヘッドを
往復移動させるべく前記キャリッジを駆動するスペース
駆動手段と、前記印字用紙のフィードを行なわせるため
に前記プラテン装置を駆動すべく当該プラテン装置に接
続された改行駆動手段と、前記スペース駆動手段及び改
行駆動手段の各駆動状態を制御すべく当該スペース駆動
手段及び改行駆動手段の夫々に接続された制御手段と、
前記印字ヘッドの各印字端への移動のモードを指定すべ
く前記制御手段に接続されたモード指定手段とを備えて
いることを特徴とする請求項1から請求項3のいずれか
一項に記載のシリアルプリンタの制御方法。
4. The serial printer comprises: a carriage on which the print head is mounted to move the print head; a platen device for feeding the print paper; and a platen device for feeding the print paper. Space drive means for driving the carriage to reciprocate the print head along a direction intersecting the feed direction, and a platen device for driving the platen device for feeding the print paper Line feed driving means, and control means connected to the space driving means and the line feed driving means, respectively, for controlling the drive states of the space driving means and the line feed driving means.
4. A mode designating unit connected to the control unit for designating a mode of movement of the print head to each print end, The mode designating unit according to claim 1, further comprising: Control method for serial printers.
【請求項5】 前記モード指定手段は、各モードに対応
してスイッチを備えており、当該スイッチをオン状態に
することにより当該スイッチのモードに応じた前記印字
ヘッドの各印字端への移動が生起されるように構成され
ていることを特徴とする請求項4に記載のシリアルプリ
ンタの制御方法。
5. The mode designating means includes a switch corresponding to each mode, and when the switch is turned on, the print head can be moved to each print end according to the mode of the switch. The control method for a serial printer according to claim 4, wherein the control method is configured to occur.
JP6227793A 1993-03-23 1993-03-23 Control method of serial printer Pending JPH06270473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6227793A JPH06270473A (en) 1993-03-23 1993-03-23 Control method of serial printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6227793A JPH06270473A (en) 1993-03-23 1993-03-23 Control method of serial printer

Publications (1)

Publication Number Publication Date
JPH06270473A true JPH06270473A (en) 1994-09-27

Family

ID=13195492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6227793A Pending JPH06270473A (en) 1993-03-23 1993-03-23 Control method of serial printer

Country Status (1)

Country Link
JP (1) JPH06270473A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020227964A1 (en) * 2019-05-15 2020-11-19 Dow Global Technologies Llc Two-component adhesive compositions, articles prepared with same and preparation methods thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020227964A1 (en) * 2019-05-15 2020-11-19 Dow Global Technologies Llc Two-component adhesive compositions, articles prepared with same and preparation methods thereof

Similar Documents

Publication Publication Date Title
JPH06270473A (en) Control method of serial printer
JPH0739193B2 (en) Print control method
EP0534723B1 (en) Printing apparatus and method for storing various printing parameters
JPS61233578A (en) Printer
JP3037499B2 (en) Printing method and apparatus
JP2550997B2 (en) Printer
JPH0463788B2 (en)
JPH0586353B2 (en)
JPS58145480A (en) Driving controller for printer
JPH0546935Y2 (en)
JP3299210B2 (en) Page selection output device
JPH02301460A (en) Document printer
JPH05221070A (en) Serial printer
JP3045077B2 (en) Printing device
JPS62218166A (en) Printer capable of correcting word
JPS6158770A (en) Printing device
JPS6367174A (en) Data printing apparatus
JPS6256175A (en) Serial printer
JPH0586354B2 (en)
JPH0425872B2 (en)
JPH0586352B2 (en)
JPH02231167A (en) Page printer
JPH06155808A (en) Printing control device and print control method
JPH0747350B2 (en) Document editing device
JPH06234248A (en) Printer

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020205