JPH0632973B2 - Printer - Google Patents

Printer

Info

Publication number
JPH0632973B2
JPH0632973B2 JP62050333A JP5033387A JPH0632973B2 JP H0632973 B2 JPH0632973 B2 JP H0632973B2 JP 62050333 A JP62050333 A JP 62050333A JP 5033387 A JP5033387 A JP 5033387A JP H0632973 B2 JPH0632973 B2 JP H0632973B2
Authority
JP
Japan
Prior art keywords
data
paper
platen
printer
input
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.)
Expired - Lifetime
Application number
JP62050333A
Other languages
Japanese (ja)
Other versions
JPS63216778A (en
Inventor
則明 長橋
幸太郎 ▲吉▼村
秀憲 直井
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP62050333A priority Critical patent/JPH0632973B2/en
Publication of JPS63216778A publication Critical patent/JPS63216778A/en
Publication of JPH0632973B2 publication Critical patent/JPH0632973B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、印字開始位置の制御を行うことのできるプリ
ンタに関する。
The present invention relates to a printer capable of controlling a print start position.

〔従来の技術〕[Conventional technology]

一般にプリンタには、用紙を挿入する際の基準位置が設
けられており、この基準位置は印字におけるレフトマー
ジンやホリゾンタルタブ制御及び用紙の有無を検出する
機構の位置と密接に関連している。
Generally, a printer is provided with a reference position for inserting a sheet, and this reference position is closely related to the position of a left margin in printing, horizontal tab control, and a mechanism for detecting the presence or absence of a sheet.

そして、上位装置に対応するアプリケーションソフトよ
り入力されるレフトマージン制御データはプリンタの用
紙挿入セット基準位置を基準として用紙の大きさに合っ
た位置から印字するように入力される。
Then, the left margin control data input from the application software corresponding to the host device is input so as to print from a position that matches the size of the paper with the paper insertion set reference position of the printer as a reference.

用紙挿入セット基準位置としては次の2通りに設定され
ることが多い。
The paper insertion set reference position is often set in the following two ways.

その1つは、印字ヘッド側から見てプラテンの左側部に
用紙挿入セット基準位置を設けるものであり、また別の
1つは、プラテンの中央部に用紙挿入セット基準位置を
設けるものである。
One is to provide the paper insertion set reference position on the left side of the platen when viewed from the print head side, and the other is to provide the paper insertion set reference position at the center of the platen.

第5図は前者の用紙挿入セット基準位置を有するプリン
タの正面図、第6図はその要部側面図である。
FIG. 5 is a front view of the printer having the former paper insertion set reference position, and FIG. 6 is a side view of its essential part.

図において1と2は左右の側板で、プラテン3を保持し
ており、このプラテン3の左側には溝4が形成してあっ
て、この溝4にプラテン3の後部に位置する用紙有無検
出機構のレバー5の先端が入り込むようになっている。
In the figure, reference numerals 1 and 2 denote left and right side plates that hold a platen 3, and a groove 4 is formed on the left side of the platen 3, and a sheet presence / absence detection mechanism located in the rear portion of the platen 3 is provided in the groove 4. The tip of the lever 5 is inserted.

6はレバー5と組み合わせたセンサ、7は印字ヘッド、
8は用紙である。
6 is a sensor combined with the lever 5, 7 is a print head,
8 is a sheet.

以上の構成によると、用紙8がプラテン3の溝4を覆う
ようにプラテン3上にセットされると、レバー5の作動
によってセンサ6がONとなり、用紙8が検出されて印
字ヘッド7により印字が行われる。
According to the above configuration, when the sheet 8 is set on the platen 3 so as to cover the groove 4 of the platen 3, the sensor 6 is turned on by the operation of the lever 5, the sheet 8 is detected, and the print head 7 prints. Done.

印字はプラテン3に設けた溝4のわずか右側の位置より
開始される。
Printing is started from a position just to the right of the groove 4 provided on the platen 3.

第7図は後者の用紙挿入セット基準位置を有するプリン
タの正面図、第8図はその要部側面図である。
FIG. 7 is a front view of the latter printer having the paper insertion set reference position, and FIG. 8 is a side view of its essential part.

このプリンタは、プラテン3の中央部の後方に反射型の
用紙の有無を検出するセンサ9があり、そのセンサ9に
用紙8の中央を合わせてセットすると、印字はプラテン
3の左側部より開始されるが、この構成においては用紙
8に正しく印字させるためには、用紙8のサイズに合っ
たレフトマージン値を設定することが必要となり、各種
アプリケーションソフトより入力されるデータはレフト
マージン値があらかじめ設定されている。
This printer has a sensor 9 for detecting the presence / absence of a reflection type sheet behind the center of the platen 3. When the center of the sheet 8 is set to the sensor 9, printing is started from the left side of the platen 3. However, in this configuration, in order to print on the paper 8 correctly, it is necessary to set the left margin value that matches the size of the paper 8, and the left margin value is preset for the data input from various application software. Has been done.

尚、用紙のサイズを合わせる操作部としては第9図に示
すようなダイヤルスイッチがあり、各サイズを示した目
盛にダイヤルを合わせることにより、用紙サイズの情報
を選択して入力することができる。
Incidentally, there is a dial switch as shown in FIG. 9 as an operation unit for adjusting the size of the paper, and by adjusting the dial to the scale indicating each size, the information of the paper size can be selected and input.

前記のようにプリンタにおいては2通りの用紙挿入基準
位置のいずれか一方の挿入基準位置がもうけられるが、
前者によるプリンタを後者によるプリンタに対応するア
プリケーションソフトで制御する場合は、用紙をプラテ
ン左側部にセットしてレフトマージンを“000”に固
定し、各種アプリケーションソフトより送出されるレフ
トマージン等のホリゾンタル制御コマンドは受け捨てる
という処置が必要となる。
As described above, in the printer, one of the two paper insertion reference positions can be provided, but
When controlling the former printer with application software compatible with the latter printer, set the paper on the left side of the platen and fix the left margin to "000", and then perform horizontal control such as left margin sent from various application software. The command must be discarded.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

以上説明した従来の技術によると、前者によるプリンタ
を後者によるプリンタに対応した場合、任意に設定され
るホリゾンタル制御コマンドが無視されるため、印字開
始位置が自由に設定できないという問題がある。
According to the conventional technique described above, when the former printer corresponds to the latter printer, the horizontal control command that is arbitrarily set is ignored, so that there is a problem that the print start position cannot be freely set.

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

前記の問題を解決するために、本発明は、用紙挿入の基
準位置をプラテンの中央部に設けたプリンタに対応する
アプリケーションソフトからのデータによって、用紙挿
入の基準位置をプラテンの左側に設けたプリンタで印字
を行う場合において、用紙の大きさを選択入力する操作
部と、プラテンの左側に設けた基準位置に合わせて用紙
を挿入したときの第1文字印字位置と、プラテンの中央
部を基準位置として用紙を挿入したときの第1文字印字
位置との差を表す用紙サイズ毎のシフトデータを記憶さ
せた記憶部と、印字に際して、プラテンの中央部に基準
位置を設けたプリンタに対応するアプリケーションソフ
トからホリゾンタルデータが入力されたか否かを判断
し、ホリゾンタルデータが入力されなかった場合、前記
操作部により入力された用紙サイズに対応する前記シフ
トデータ量だけ第1文字印字位置をシフトして印字を行
い、ホリゾンタルデータが入力された場合、前記操作部
により入力された用紙サイズに対応する前記シフトデー
タを前記ホリゾンタルデータから減算して第1文字印字
位置を求め、その第1文字印字位置から印字を行うよう
に制御する制御部とを有することを特徴とする。
In order to solve the above-mentioned problem, the present invention provides a printer in which a reference position for paper insertion is provided on the left side of the platen according to data from application software corresponding to a printer in which the reference position for paper insertion is provided in the center of the platen. When printing with, the operation unit that selects and inputs the size of the paper, the first character print position when the paper is inserted to the reference position provided on the left side of the platen, and the center of the platen are the reference positions. A storage unit that stores shift data for each paper size that indicates the difference from the first character print position when the paper is inserted, and application software compatible with a printer that has a reference position in the center of the platen for printing. If horizontal data is not input, it is input by the operation unit. When printing is performed by shifting the first character print position by the shift data amount corresponding to the paper size and horizontal data is input, the shift data corresponding to the paper size input by the operation unit is input to the horizontal data. It is characterized in that it has a control unit that obtains the first character print position by subtracting from the data and controls to print from the first character print position.

〔作 用〕[Work]

このような構成を有する本発明は、プラテンの左側に設
けた基準位置に合わせて挿入された用紙に印字する際、
制御部はプラテンの中央部に基準位置を設けたプリンタ
に対応するアプリケーションソフトからホリゾンタルデ
ータが入力されたか否かを判断し、ホリゾンタルデータ
が入力されなかった場合、前記操作部により入力された
用紙サイズに対応する前記シフトデータ量だけ第1文字
印字位置をシフトして印字を行う。
The present invention having such a configuration, when printing on a sheet inserted according to the reference position provided on the left side of the platen,
The control unit determines whether or not the horizontal data is input from the application software corresponding to the printer having the reference position in the center of the platen. If the horizontal data is not input, the paper size input by the operation unit is input. Printing is performed by shifting the first character print position by the shift data amount corresponding to.

また、ホリゾンタルデータが入力された場合、制御部は
前記操作部により入力された用紙サイズに対応する前記
シフトデータを前記ホリゾンタルデータから減算して第
1文字印字位置を求め、その第1文字印字位置から印字
を行う。
When horizontal data is input, the control unit subtracts the shift data corresponding to the paper size input by the operation unit from the horizontal data to obtain the first character print position, and the first character print position Print from.

従ってこれによれば、用紙挿入の基準位置をプラテンの
中央部に設けたプリンタに対応するアプリケーションソ
フトからのデータによって、用紙挿入の基準位置をプラ
テンの左側に設けたプリンタで印字を行う場合、通常の
第1文字印字位置からの印字だけでなく、ホリゾンタル
データにより第1文字印字位置が指定されている場合
も、用紙挿入の際の基準位置がプラテン中央部にあるプ
リンタと同様に印字制御することが可能になる。
Therefore, according to this, when printing is performed by the printer having the reference position for inserting the paper on the left side of the platen according to the data from the application software corresponding to the printer having the reference position for inserting the paper at the center of the platen, Not only from the first character print position of, but also when the first character print position is specified by the horizontal data, the print control should be performed in the same way as the printer in which the reference position when inserting paper is in the center of the platen. Will be possible.

〔実施例〕〔Example〕

以下に本発明の実施例を説明する。 Examples of the present invention will be described below.

第1図は本発明によるプリンタの一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment of a printer according to the present invention.

図において10はマイクロプロセッサ、11はROMで
あり、このROM11は印字制御、改行制御等の各種制
御プラグラムを格納している。
In the figure, 10 is a microprocessor and 11 is a ROM. This ROM 11 stores various control programs such as print control and line feed control.

12は各種データの書き込みや読み出しを行うRAM、
13は外部からの入出力を制御するI/Oポートであ
り、これらROM11,RAM12,及びI/Oポート
13は前記マイクロプロセッサにバスで接続されてい
る。
12 is a RAM for writing and reading various data,
Reference numeral 13 denotes an I / O port for controlling input / output from the outside, and these ROM 11, RAM 12, and I / O port 13 are connected to the microprocessor by a bus.

前記I/Oポート13には上位装置14からのアドレス
・データの授受を行うI/Oバス,印字ヘッド15を制
御する駆動回路16,スペースモータ17を制御する駆
動回路18,及びラインフイードモータ19を制御する
駆動回路20,さらには用紙8の大きさを選択入力する
操作部としてのスイッチ21が接続されている。
The I / O port 13 has an I / O bus for transmitting and receiving address data from the host device 14, a drive circuit 16 for controlling the print head 15, a drive circuit 18 for controlling the space motor 17, and a line feed motor. A drive circuit 20 for controlling 19 and a switch 21 as an operation unit for selectively inputting the size of the paper 8 are connected.

以下に第1実施例を第2図にフローチャートと第3図の
構成図を用いて説明する。
The first embodiment will be described below with reference to the flowchart of FIG. 2 and the configuration diagram of FIG.

<S1> 電源を投入。<S1> Turn on the power.

<S2> ROM11に予め格納したシフトデータαをマイクロプ
ロセッサ10の処理によりRM12のシフトデータテー
ブルエリアにデータテーブルとして記憶する。
<S2> The shift data α stored in advance in the ROM 11 is stored as a data table in the shift data table area of the RM 12 by the processing of the microprocessor 10.

ここでシフトデータαとは、用紙8をプラテン3の左側
の溝4を用紙挿入セット基準位置として挿入した場合の
第1文字印字位置と、プラテン3の中央部に用紙挿入セ
ット基準位置のあるプリンタのプラテン中央部に用紙8
を挿入した場合の第1文字印字位置との差を表すデータ
量であり、スイッチ21で設定される用紙8の大きさ別
にデータ量が異なっている。
Here, the shift data α is a printer having the first character printing position when the paper 8 is inserted with the groove 4 on the left side of the platen 3 as the paper insertion set reference position and the paper insertion set reference position at the center of the platen 3. Paper 8 in the center of the platen
Is the amount of data representing the difference from the first character print position when the is inserted, and the amount of data differs depending on the size of the paper 8 set by the switch 21.

<S3> プラテン中央部に用紙挿入セット基準位置のあるプリン
タに対応するアプリケーションソフトから印字指令デー
タが入力されたか否かが判断され、NOであれば印字指
令データを待ち、YESであれば次のステップに移る。
<S3> It is determined whether or not the print command data is input from the application software corresponding to the printer having the paper insertion set reference position at the center of the platen. If NO, wait for the print command data, and if YES, proceed to the next step. Go to step.

<S4> マイクロプロセッサ10がI/Oポート13を介してス
イッチ21の設定値を読みとる。
<S4> The microprocessor 10 reads the set value of the switch 21 via the I / O port 13.

<S5> マイクロプセッサ10はスイッチ21の設定値に基づく
シフトデータαをRAM12のテーブルエリアより読み
出し、マイクロプロセッサ10内に一時保持する。
<S5> The microprocessor 10 reads out the shift data α based on the set value of the switch 21 from the table area of the RAM 12 and temporarily holds it in the microprocessor 10.

<S6> プラテン3の中央部に用紙挿入セット基準位置のあるプ
リンタに対応するアプリケーションソフトからのレフト
マージン制御データLM1(このレフトマージン制御デ
ータLM1はプラテン中央部に用紙8が指示されている
ことを前提としたホリゾンタルデータである。)が入力
されたか否かを判断し、NOであれマイクロプロセッサ
10に一時保持してあるシフトデータαをマイクロプロ
セッサ10のコラムポインタレジスタ22に設定して<
S8>へ移り、YESであれば<S7>に移る。
<S6> Left margin control data LM1 from the application software corresponding to the printer having the paper insertion set reference position at the central portion of the platen 3 (this left margin control data LM1 indicates that the paper 8 is designated at the central portion of the platen). It is determined whether or not the horizontal data used as the premise) has been input, and if the result is NO, the shift data α temporarily stored in the microprocessor 10 is set in the column pointer register 22 of the microprocessor 10.
If YES, the process proceeds to <S7>.

<S7> レフトマージン制御データLM1が入力された場合、マ
イクロプロセッサ10に一時保持してあるシフトデータ
αをアプリケーションソフトから入力されたレフトマー
ジン制御データLM1から減算し、その差のデータLM
2をマイクロプロセッサ10のコラムポインタレジスタ
22に設定する。
<S7> When the left margin control data LM1 is input, the shift data α temporarily stored in the microprocessor 10 is subtracted from the left margin control data LM1 input from the application software, and the difference data LM is obtained.
2 is set in the column pointer register 22 of the microprocessor 10.

ここで、前記の流れを第3図の構成図で説明すると、プ
ラテン3の中央に用紙挿入セット基準位置のあるプリン
タに対応するアプリケーションソフトより印字指令デー
タが入力されると(S3のYES)、マイクロプロセッ
サ10がスイッチ21の設定値を読み取り(S4)、そ
の設定値に対応したシフトデータαをRAM12のテー
ベルエリアより読み取ってマイクロプロセッサ10に一
時保持する(S5)。
The above flow will be described with reference to the configuration diagram of FIG. 3. When print command data is input from the application software corresponding to the printer having the sheet insertion set reference position at the center of the platen 3 (YES in S3), The microprocessor 10 reads the set value of the switch 21 (S4), reads the shift data α corresponding to the set value from the tabel area of the RAM 12, and temporarily holds it in the microprocessor 10 (S5).

アプリケーションソフトよりレフトマージン制御データ
LM1が入力されると(S6のYES)、マイクロプロ
セッサ10は「LM1−α」の減算処理を行い、その結
果LM2をコラムポインタレジスタ22のXにセットす
る。
When the left margin control data LM1 is input from the application software (YES in S6), the microprocessor 10 performs the subtraction process of "LM1-α", and as a result, sets LM2 in X of the column pointer register 22.

<S8> 印字データがアプリケーションソフトより入力されたか
否かが判断され、NOであれば印字データを持ち、YE
SであればS9に移る。
<S8> It is determined whether or not the print data is input from the application software. If NO, the print data is held and YE
If S, move to S9.

<S9> マイクロプロセッサ10内のコラムポインタレジスタ2
2に設定されているコラムポインタ位置Xより印字を開
始する。
<S9> Column pointer register 2 in the microprocessor 10
Printing is started from the column pointer position X set to 2.

<S10> 印字が終了したか否かの確認がとられ、NOであれば印
字を続行し、YESであれば終了する。
<S10> It is confirmed whether or not the printing is completed. If NO, the printing is continued, and if YES, the printing is completed.

尚、スイッチ21の設定が「フリー」の場合は、プラテ
ン左側の溝に用紙挿入セット基準位置のあるプリンタと
しての制御を行い、任意に設定されるレフトマージン位
置より印字を開始することができる。
When the setting of the switch 21 is "free", control is performed as a printer having the paper insertion set reference position in the groove on the left side of the platen, and printing can be started from the arbitrarily set left margin position.

以上の説明は、レフトマージン位置の設定について説明
したが、次に第2実施例として用紙幅データも入力して
空印字を行わないようにした実施例を第4図のフローチ
ャートと第3図の構成図を用いて説明する。
In the above description, the setting of the left margin position has been described. Next, as a second embodiment, an embodiment in which the paper width data is also input so that the blank printing is not performed will be described with reference to the flowchart of FIG. 4 and the flowchart of FIG. This will be described with reference to the configuration diagram.

尚、第4図のフローチャートにおいて前記第2図のフロ
ーチャートと同一ステップ部はその説明を省略し、異な
るS2,S5,S7,S9についてのみS2′,S
5′,S7′,S9′として説明する。
In the flowchart of FIG. 4, description of the same steps as those in the flowchart of FIG. 2 will be omitted, and only different S2, S5, S7, and S9 will be S2 ′, S2.
5 ', S7', and S9 'will be described.

<S2′> ROM11に予め格納されているシフトデータαと用紙
幅データβをマイクロプロセッサ10の処理によりRA
M12のシフトデータテーブルエリアと用紙幅データテ
ーブルエリアにデータテーブルとして記憶する。
<S2 ′> The shift data α and the paper width data β stored in advance in the ROM 11 are processed by the microprocessor 10 to RA.
The data table is stored in the shift data table area and the paper width data table area of M12.

ここで用紙幅データβとは用紙8のプラテン3の長手方
向に沿った幅量を表し、用紙幅を越えて印字しないよう
に制御するためのデータ量で、スイッチ21で設定され
る用紙8の大きさ別にデータ量が異なっている。
Here, the sheet width data β represents a width amount of the sheet 8 along the longitudinal direction of the platen 3, and is a data amount for controlling so as not to print beyond the sheet width, and is set by the switch 21. The amount of data differs depending on the size.

シフトデータαは<S2>で説明した通りである。The shift data α is as described in <S2>.

<S5′> マイクロプロセッサ10はスイッチ21の設定値に基づ
くシフトデータαと用紙幅データβをRAM12の各テ
ーブルエリアより読み出してマイクロプロセッサ10内
に一時保持する。
<S5 ′> The microprocessor 10 reads the shift data α and the paper width data β based on the set value of the switch 21 from each table area of the RAM 12 and temporarily holds them in the microprocessor 10.

<S7′> レフトマージン制御データが入力された場合、マイクロ
プロセッサ10に一時保持されていたシフトデータαを
アプリケーションソフトから入力されたレフトマージン
制御データLM1から減算し、その差のデータLM2を
マイクロプロセッサ10のコラムポインタレジスタ22
にシフトデータαと用紙幅データβを加算した結果より
レフトマージン制御データLM1を減算したデータWと
共に設定する。
<S7 ′> When the left margin control data is input, the shift data α temporarily held in the microprocessor 10 is subtracted from the left margin control data LM1 input from the application software, and the difference data LM2 is obtained. 10 column pointer register 22
Is set together with the data W obtained by subtracting the left margin control data LM1 from the result of adding the shift data α and the paper width data β.

ここで、前記の流れを第3図の構成図で説明すると、プ
ラテン中央に用紙挿入セット基準位置のあるプリンタに
対応するアプリケーションソフトより印字指令データが
入力されると(S3のYES)、マイクロプロセッサ1
0がスイッチ21の設定値を読み取りS4、その設定値
に合うシフトデータαと用紙幅データβを各テーブルエ
リアより読み取ってマイクロプロセッサ10に一時保持
する(S5′)。
The above flow will be described with reference to the configuration diagram of FIG. 3. When print command data is input from the application software corresponding to the printer having the paper insertion set reference position at the center of the platen (YES in S3), the microprocessor 1
0 reads the set value of the switch 21 and reads the shift data α and the paper width data β that match the set value from each table area and temporarily holds them in the microprocessor 10 (S5 ′).

アプリケーションソフトよりレフトマージン制御データ
LM1が入力されると(S6のYES)、マイクロプロ
セッサ10はLM1−αの減算処理を行い、その結果L
M2をコラムポインタ22のXにセットする。
When the left margin control data LM1 is input from the application software (YES in S6), the microprocessor 10 performs the subtraction process of LM1-α, and as a result L
Set M2 to X of the column pointer 22.

同時にマイクロプロセッサ10は用紙8の用紙幅を越え
ない領域設定値Wを「α+β−LM1」により算出し、
コラムポインタ22のYにセットする。
At the same time, the microprocessor 10 calculates the area setting value W that does not exceed the paper width of the paper 8 by "α + β-LM1",
Set to Y of the column pointer 22.

<S9′> マイクロプロセッサ10内のコラムポインタレジスタ2
2に設定されているコラムポインタX−Y間の範囲で印
字を行う。
<S9 ′> Column pointer register 2 in the microprocessor 10
Printing is performed in the range between the column pointers X and Y set to 2.

以下のステップは前記実施例と同様である。The following steps are the same as in the above embodiment.

尚、本実施例においてもスイッチ21の設定が「フリ
ー」の場合は前記説明と同様であり、用紙幅データも同
様にセットされる。
In the present embodiment as well, when the setting of the switch 21 is "free", it is the same as the above description, and the paper width data is also set.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、プラテンの左側に設けた
基準位置に合わせて挿入された用紙に印字する際、制御
部がプラテンの中央部に基準位置を設けたプリンタに対
応するアプリケーションソフトからホリゾンタルデータ
が入力されたか否かを判断し、ホリゾンタルデータが入
力されなかった場合、前記操作部により入力された用紙
サイズに対応する前記シフトデータ量だけ第1文字印字
位置をシフトして印字を行い、また、ホリゾンタルデー
タが入力された場合、制御部は前記操作部により入力さ
れた用紙サイズに対応する前記シフトデータを前記ホリ
ゾルタルデータから減算して第1文字印字位置を求め、
その第1文字印字位置から印字を行うように制御するも
のとしている。
As described above, according to the present invention, when printing is performed on the sheet inserted in accordance with the reference position provided on the left side of the platen, the control unit uses the application software corresponding to the printer in which the reference position is provided at the central part of the platen, from the horizontal direction. When it is determined whether or not the data is input, and the horizontal data is not input, the first character print position is shifted by the shift data amount corresponding to the paper size input by the operation unit to perform printing, When the horizontal data is input, the control unit subtracts the shift data corresponding to the paper size input by the operation unit from the horizontal data to obtain the first character print position,
The printing is controlled to start from the first character printing position.

従ってこれによれば、用紙挿入の基準位置をプラテンの
中央部に設けたプリンタに対応するアプリケーションソ
フトからのデータによって、用紙挿入の基準位置をプラ
テンの左側に設けたプリンタで印字を行う場合、通常の
第1文字印字位置からの印字だけでなく、ホリゾンタル
データにより第1文字印字位置が指定されている場合
も、用紙挿入の際の基準位置がプラテン中央部にあるプ
リンタと同様に印字制御することが可能になり、双方の
形式のプリンタに対応するアプリケーションに対応でき
るという機能の向上が期待できるので、利用範囲が広が
ることになる。
Therefore, according to this, when printing is performed by the printer having the reference position for inserting the paper on the left side of the platen according to the data from the application software corresponding to the printer having the reference position for inserting the paper at the center of the platen, Not only from the first character print position of, but also when the first character print position is specified by the horizontal data, the print control should be performed in the same way as the printer in which the reference position when inserting paper is in the center of the platen. Since it is possible to improve the function that can support applications compatible with both types of printers, the range of use can be expanded.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1実施例の動作を示すフローチャート、第3図は動作
の構成図、第4図は第2実施例の動作を示すフローチャ
ート、第5図は用紙挿入セット基準位置がプラテンの左
側にあるプリンタの要部正面図、第6図は側面図、第7
図は用紙挿入セット基準位置がプラテンの中央部にある
プリンタの要部正面図、第8図は側面図、第9図は用紙
の大きさのデータを入力するスイッチ部の正面図であ
る。 3……プラテン 4……溝 6……センサ 8……用紙 9……センサ 10……マイクロプロセッサ 11……ROM 12……RAM 21……スイッチ
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a flow chart showing the operation of the first embodiment, FIG. 3 is a block diagram of the operation, and FIG. 4 shows the operation of the second embodiment. FIG. 5 is a flow chart, FIG. 5 is a front view of the main part of the printer in which the paper insertion set reference position is on the left side of the platen, FIG. 6 is a side view, and FIG.
FIG. 8 is a front view of the main part of the printer in which the paper insertion set reference position is at the center of the platen, FIG. 8 is a side view, and FIG. 9 is a front view of a switch unit for inputting paper size data. 3 ... Platen 4 ... Groove 6 ... Sensor 8 ... Paper 9 ... Sensor 10 ... Microprocessor 11 ... ROM 12 ... RAM 21 ... Switch

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】用紙挿入の基準位置をプラテンの中央部に
設けたプリンタに対応するアプリケーションソフトから
のデータによって、用紙挿入の基準位置をプラテンの左
側に設けたプリンタで印字を行う場合において、 用紙の大きさを選択入力する操作部と、 プラテンの左側に設けた基準位置に合わせて用紙を挿入
したときの第1文字印字位置と、プラテンの中央部を基
準位置として用紙を挿入したときの第1文字印字位置と
の差を表す用紙サイズ毎のシフトデータを記憶させた記
憶部と、 印字に際して、プラテンの中央部に基準位置を設けたプ
リンタに対応するアプリケーションソフトからホリゾン
タルデータが入力されたか否かを判断し、ホリゾンタル
データが入力されなかった場合、前記操作部により入力
された用紙サイズに対応する前記シフトデータ量だけ第
1文字印字位置をシフトして印字を行い、ホリゾンタル
データが入力された場合、前記操作部により入力された
用紙サイズに対応する前記シフトデータを前記ホリゾン
タルデータから減算して第1文字印字位置を求め、その
第1文字印字位置から印字を行うように制御する制御部
とを有することを特徴とするプリンタ。
1. When printing is performed by a printer having a reference position for paper insertion on the left side of the platen according to data from an application software corresponding to a printer having a reference position for paper insertion at the center of the platen, Size, the first character print position when the paper is inserted according to the reference position provided on the left side of the platen, and the first character print position when the paper is inserted with the center of the platen as the reference position. Whether horizontal data is input from the storage unit that stores the shift data for each paper size that indicates the difference from the printing position of one character and the application software that corresponds to the printer that has the reference position in the center of the platen when printing. If the horizontal data is not input, it corresponds to the paper size input by the operation unit. When printing is performed by shifting the first character print position by the shift data amount, and horizontal data is input, the shift data corresponding to the paper size input by the operation unit is subtracted from the horizontal data to obtain the first data. A printer having a control unit for determining a one-character print position and controlling printing from the first character print position.
JP62050333A 1987-03-06 1987-03-06 Printer Expired - Lifetime JPH0632973B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62050333A JPH0632973B2 (en) 1987-03-06 1987-03-06 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62050333A JPH0632973B2 (en) 1987-03-06 1987-03-06 Printer

Publications (2)

Publication Number Publication Date
JPS63216778A JPS63216778A (en) 1988-09-09
JPH0632973B2 true JPH0632973B2 (en) 1994-05-02

Family

ID=12855988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62050333A Expired - Lifetime JPH0632973B2 (en) 1987-03-06 1987-03-06 Printer

Country Status (1)

Country Link
JP (1) JPH0632973B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60212371A (en) * 1984-04-09 1985-10-24 Fujitsu Ltd Printing-controlling system

Also Published As

Publication number Publication date
JPS63216778A (en) 1988-09-09

Similar Documents

Publication Publication Date Title
JP3008541B2 (en) Printing method
JPH0354924Y2 (en)
JPH0739193B2 (en) Print control method
US4639151A (en) Electronic typewriter which prints selected portions of a text
JPS6159920B2 (en)
JPS63216778A (en) Printer
JPS6114952B2 (en)
JPS62263081A (en) printing device
JPH0332467B2 (en)
JPH01150568A (en) Printer device
JPS62255175A (en) Standard format printing device
KR0146901B1 (en) Logo insert printer
JP3000764B2 (en) Printer device
JPS63236653A (en) Printing region controller in perfecting press
JP3098631B2 (en) Tape printing device and tape printing method
JP2849505B2 (en) Document processing device
JPH04130963A (en) Information processor
JPH0313989B2 (en)
JPH02128875A (en) information recording device
JPS61211051A (en) printer
JPH07137392A (en) Printer
JPH05201092A (en) Printer
JPH0557986A (en) Printing system of printer
JPS5939588A (en) Automatic typewriter
JPS6351871B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term