JPH0478564A - Left margin control system of printer - Google Patents

Left margin control system of printer

Info

Publication number
JPH0478564A
JPH0478564A JP19278390A JP19278390A JPH0478564A JP H0478564 A JPH0478564 A JP H0478564A JP 19278390 A JP19278390 A JP 19278390A JP 19278390 A JP19278390 A JP 19278390A JP H0478564 A JPH0478564 A JP H0478564A
Authority
JP
Japan
Prior art keywords
left margin
sheet feeder
printing
printer
sheet
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
JP19278390A
Other languages
Japanese (ja)
Inventor
Toshio Kawamura
川村 敏男
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 JP19278390A priority Critical patent/JPH0478564A/en
Publication of JPH0478564A publication Critical patent/JPH0478564A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable print data to be sent from a computer side to be output to a continuous sheet without use of a sheet feeder and, in the same easy manner, to a cut sheet such as a cut slip with of the sheet feeder by automatically setting a left margin at a printing start position for a printing sheet fed from the sheet feeder. CONSTITUTION:A firm ware interprets whether a printing process should be performed against a printing sheet fed from a sheet feeder, and if the interpretation is affirmative, interprets whether a dip switch for selecting between the addition of a left margin and the non-addition is turned ON. If the dip switch for selecting whether the left margin should be added is turned ON, a space equal to the left margin for a printing sheet is automatically added to a space before the print data of each line which is sent from a computer. Then printing each line is activated based on the added space equal to the left margin and print data sent from the computer.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプリンタのレフトマージン制御方式に関し、特
にシートフィーダを搭載可能なプリンタのレフトマージ
ン制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a left margin control method for a printer, and particularly to a left margin control method for a printer capable of mounting a sheet feeder.

〔従来の技術〕[Conventional technology]

カットシートフィーダを搭載可能な従来のプリンタのレ
フトマージン制御方式は、シートフィーダが印字用紙を
プリンタの中央の位置に供給するので、コンピュータか
ら送る印字データに、レフトマージンを設定するか、行
毎に行の先頭にレフトマージン分のスペースを付加する
かして、印字動作を行わせていた。
The left margin control method for conventional printers that can be equipped with a cut sheet feeder is that the sheet feeder feeds print paper to the center of the printer, so either the left margin is set in the print data sent from the computer, or the left margin is set for each line. The printing operation was performed by adding a space for the left margin at the beginning of the line.

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

上述した従来のプリンタのレフトマージン制御方式は、
コンピュータから送る印字データに、レフトマージンを
設定するか、行毎に行の先頭にレフトマージン分のスペ
ースを付加するかしなければならないので、プリンタ側
でシートフィーダを使用するか否かによって、コンピュ
ータ側でプリンタに出力する印字データを変更しなけれ
ばならないという欠点を有している。
The left margin control method of the conventional printer mentioned above is
It is necessary to set a left margin for the print data sent from the computer or add a space for the left margin at the beginning of each line, so depending on whether the printer uses a sheet feeder or not, the computer This method has the disadvantage that the print data output to the printer must be changed on the side.

本発明の目的は、シートフィーダから吸入した印字用紙
に印字する場合に、プリンタ側で、スイッチがオンのと
きに、シートフィーダから吸入した印字用紙に対する印
字開始位置のレフトマージンを自動的に設定することに
より、コンピュータ側から送る印字データを、シートフ
ィーダを用いない連続用紙への出力と、シートフィーダ
を用いる単票などのカットシートへの出力とで、同じに
することができるプリンタのレフトマージン制御方式を
提供することにある。
An object of the present invention is to automatically set the left margin of the print start position for the print paper sucked from the sheet feeder when the printer side is turned on when printing on the print paper sucked from the sheet feeder. This allows the printer's left margin control to make the print data sent from the computer the same for continuous paper that does not use a sheet feeder and for cut sheets such as single sheets that use a sheet feeder. The purpose is to provide a method.

〔課題を解決するための手段〕[Means to solve the problem]

第1の発明のプリンタのレフトマージン制御方式は、シ
ートフィーダを搭載可能なプリンタのレフトマージン制
御方式において、 (A)前記シートフィーダから吸入した印字用紙に対す
る印字動作であるか否かを判断し、(B)レフトマージ
ンを付加するか否かを選択するスイッチがオンであるか
否かを判断し、(C)前記シートフィーダから吸入した
印字用紙に対する印字動作であるとともに、前記スイッ
チがオンである場合に、コンピュータから送られた各行
の印字データの前に、前記シートフィーダから吸入した
印字用紙に対するレフトマージン分のスペースを自動的
に付加し、 (D)付加したレフトマージン分のスペースと、前記コ
ンピュータから送られた印字データとに対する各行の印
字動作を行わせる、 ことにより構成されている。
A left margin control method for a printer according to a first aspect of the present invention is a left margin control method for a printer capable of mounting a sheet feeder, in which: (A) determining whether or not a printing operation is performed on printing paper sucked from the sheet feeder; (B) Determine whether or not a switch for selecting whether to add a left margin is on; (C) A printing operation is performed on the printing paper sucked from the sheet feeder, and the switch is on. (D) A space corresponding to the left margin of the print paper sucked from the sheet feeder is automatically added before each line of print data sent from the computer; It is constructed by performing a printing operation for each line in response to print data sent from a computer.

また、第2の発明のプリンタのレフトマージン制御方式
は、シートフィーダを搭載可能なプリンタのレフトマー
ジン制御方式において、(A)前記シートフィーダから
吸入した印字用紙に対する印字動作であるか否かを判断
する第1の判断手段、 CB)レフトマージンを付加するか否かを選択するスイ
ッチがオンであるか否かを判断する第2の判断手段、 (、C)前記第1の判断手段で前記シートフィーダから
吸入した印字用紙に対する印字動作であると判断すると
ともに、前記第2の判断手段で前記スイッチがオンであ
ると判断した場合に、前記シートフィーダから吸入した
印字用紙に対する印字開始位置のレフトマージンを自動
的に設定するレフトマージン設定手段、(D)前記レフ
トマージン設定手段で設定した印字開始位置にして、フ
ンピユータから送られた各行の印字データに対する印字
動作を行わせる印字動作起動手段、 を備えて構成されている。
Further, in the left margin control method of the printer of the second invention, in the left margin control method of the printer capable of mounting a sheet feeder, (A) it is determined whether or not the printing operation is performed on the printing paper sucked from the sheet feeder. CB) a second determining means that determines whether a switch for selecting whether or not to add a left margin is on; When it is determined that the printing operation is to be performed on the printing paper sucked from the feeder, and the second determining means determines that the switch is on, the left margin of the printing start position on the printing paper sucked from the sheet feeder is determined. (D) a printing operation starting means for setting the print start position set by the left margin setting means to perform a printing operation for each line of print data sent from the printer. It is composed of

〔実施例〕〔Example〕

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

第1図は本発明のプリンタのレフトマージン制御方式の
一実施例を示す流れ図である。また、第2図はシートフ
ィーダを搭載したプリンタの一例を示す外観図である。
FIG. 1 is a flowchart showing an embodiment of a left margin control method for a printer according to the present invention. Further, FIG. 2 is an external view showing an example of a printer equipped with a sheet feeder.

第2図に示すように、シートフィーダを搭載したプリン
タは、シートフィーダが印字用紙をプリンタの中央の位
置に供給している。
As shown in FIG. 2, in a printer equipped with a sheet feeder, the sheet feeder supplies printing paper to a central position of the printer.

本実施例では、ファームウェアにより、第1図に示すよ
うに、まず、ステップS1で、シートフィーダから吸入
した印字用紙に対する印字動作であるか否かを判断して
いる。
In this embodiment, as shown in FIG. 1, the firmware first determines in step S1 whether or not a printing operation is to be performed on printing paper sucked from a sheet feeder.

ステップS1で、シートフィーダから吸入した印字用紙
に対する印字動作である(Y)場合にハ、ステップS2
で、レフトマージンを付加するか否かを選択するデイツ
プスイッチがオンであるか否かを判断している。
In step S1, if the printing operation is performed on the printing paper sucked from the sheet feeder (Y), step S2
Then, it is determined whether the dip switch for selecting whether or not to add a left margin is on.

そして、ステップS2で、レフトマージンを付加するか
否かを選択するデイツプスイッチがオンである(Y)場
合には、ステップS3で、コンピュータから送られた各
行の印字データの前に、シートフィーダから吸入した印
字用紙に対するレフトマージン分のスペースを自動的に
付加して、ステップS4に移行している。
Then, in step S2, if the deep switch for selecting whether to add a left margin is on (Y), in step S3, the sheet feeder is A space corresponding to the left margin is automatically added to the print paper sucked in, and the process moves to step S4.

また、ステップS工で、シートフィーダから吸入した印
字用紙に対する印字動作でない(N)場合、および、ス
テップS2で、レフトマージンを付加するか否かを選択
するデイツプスイッチがオフである(N)場合には、直
ちにステップS4に移行している。
In addition, in step S, if the printing operation is not performed on the printing paper sucked from the sheet feeder (N), and in step S2, the dip switch for selecting whether to add a left margin is off (N). If so, the process immediately moves to step S4.

そこで、ステップS4で、印字動作の起動をかけて、付
加したレフトマージン分のスペースと、コンピュータか
ら僅られた印字データとに対して、各行の印字動作を行
わせている。
Therefore, in step S4, the printing operation is started, and the printing operation for each line is performed on the added left margin space and the print data sent from the computer.

そして、ステップS5で、コンピュータから送られた印
字データが、すべて終了したかどうかを判断し、未だす
べて終了していない(N)場合には、ステップS1に戻
り、すべて終了した(Y)場合には、停止している。
Then, in step S5, it is determined whether all the printing data sent from the computer has been completed. If not all of the printing data has been completed (N), the process returns to step S1, and if all of the printing data has been completed (Y), has stopped.

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

以上説明したように、本発明のプリンタのレフトマージ
ン制御方式は、シートフィーダから吸入した印字用紙に
印字する場合に、プリンタ側で、スイッチがオンのとき
に、シートフィーダから吸入した印字用紙に対する印字
開始位置のレフトマージンを自動的に設定することによ
り、コンピュータ側から送る印字データを、シートフィ
ーダを用いない連続用紙への出力と、シートフィーダを
用いる単票などのカットシートへの出力とで同じにする
ことができて、プリンタが大変使い易くなるという効果
を有している。
As explained above, in the left margin control method of the printer of the present invention, when printing on print paper drawn from the sheet feeder, when the printer side is turned on, the printer prints on the print paper drawn from the sheet feeder. By automatically setting the left margin of the start position, the print data sent from the computer side is the same whether it is output on continuous paper without a sheet feeder or on cut sheets such as single sheets using a sheet feeder. This has the effect of making the printer much easier to use.

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

第1図は本発明のプリンタのレフトマージン制御方式の
一実施例を示す流れ図、第2図はシートフィーダを搭載
したプリンタの一例を示す外観図である。
FIG. 1 is a flowchart showing an embodiment of a left margin control method for a printer according to the present invention, and FIG. 2 is an external view showing an example of a printer equipped with a sheet feeder.

Claims (1)

【特許請求の範囲】 1、シートフィーダを搭載可能なプリンタのレフトマー
ジン制御方式において、 (A)前記シートフィーダから吸入した印字用紙に対す
る印字動作であるか否かを判断し、 (B)レフトマージンを付加するか否かを選択するスイ
ッチがオンであるか否かを判断し、 (C)前記シートフィーダから吸入した印字用紙に対す
る印字動作であるとともに、前記スイッチがオンである
場合に、コンピュータから送られた各行の印字データの
前に、前記シートフィーダから吸入した印字用紙に対す
るレフトマージン分のスペースを自動的に付加し、 (D)付加したレフトマージン分のスペースと、前記コ
ンピュータから送られた印字データとに対する各行の印
字動作を行わせる、 ことを特徴とするプリンタのレフトマージン制御方式。 2、シートフィーダを搭載可能なプリンタのレフトマー
ジン制御方式において、 (A)前記シートフィーダから吸入した印字用紙に対す
る印字動作であるか否かを判断する第1の判断手段、 (B)レフトマージンを付加するか否かを選択するスイ
ッチがオンであるか否かを判断する第2の判断手段、 (C)前記第1の判断手段で前記シートフィーダから吸
入した印字用紙に対する印字動作であると判断するとと
もに、前記第2の判断手段で前記スイッチがオンである
と判断した場合に、前記シートフィーダから吸入した印
字用紙に対する印字開始位置のレフトマージンを自動的
に設定するレフトマージン設定手 段、 (D)前記レフトマージン設定手段で設定した印字開始
位置にして、コンピュータから送られた各行の印字デー
タに対する印字動作を行わせる印字動作起動手段、 を備えることを特徴とするプリンタのレフトマージン制
御方式。
[Claims] 1. In a left margin control method for a printer that can be equipped with a sheet feeder, (A) it is determined whether or not the printing operation is performed on printing paper sucked from the sheet feeder; (B) the left margin is controlled; (C) A printing operation is performed on the printing paper taken in from the sheet feeder, and when the switch is on, the computer determines whether or not to add A space corresponding to the left margin of the printing paper sucked from the sheet feeder is automatically added before each line of print data sent, and A left margin control method for a printer characterized by performing a printing operation for each line with respect to print data. 2. In a left margin control system for a printer that can be equipped with a sheet feeder, (A) a first determination means for determining whether or not a printing operation is performed on printing paper sucked from the sheet feeder; (B) a left margin control method; a second determining means for determining whether or not a switch for selecting whether or not to add is on; (C) determining that the first determining means is a printing operation on the printing paper sucked from the sheet feeder; and a left margin setting means for automatically setting a left margin of a printing start position on the printing paper sucked from the sheet feeder when the second judgment means judges that the switch is on. ) A left margin control method for a printer, comprising: printing operation starting means for setting the printing start position set by the left margin setting means and performing a printing operation for each line of print data sent from a computer.
JP19278390A 1990-07-20 1990-07-20 Left margin control system of printer Pending JPH0478564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19278390A JPH0478564A (en) 1990-07-20 1990-07-20 Left margin control system of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19278390A JPH0478564A (en) 1990-07-20 1990-07-20 Left margin control system of printer

Publications (1)

Publication Number Publication Date
JPH0478564A true JPH0478564A (en) 1992-03-12

Family

ID=16296928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19278390A Pending JPH0478564A (en) 1990-07-20 1990-07-20 Left margin control system of printer

Country Status (1)

Country Link
JP (1) JPH0478564A (en)

Similar Documents

Publication Publication Date Title
JP2003534173A (en) Print image arrangement control
JPS6265253U (en)
JPH0478564A (en) Left margin control system of printer
JPS6114952B2 (en)
JP2003076515A (en) Printer system and its printing method
JP2003127502A (en) Printer
JPH05162396A (en) Printable surface control process
JPH0195079A (en) Printer device
JPH10109463A (en) Printer with a plurality of receiving ports
JPH02128883A (en) Serial printer
JPS60214981A (en) Printer
JPH05201092A (en) Printer
JPS63226719A (en) Automatic switching system for slip mode
JPS61192577A (en) Printer
JPH0343269A (en) Serial printer
JPH0347778A (en) Format controller for page printer
JPH0459273A (en) Method for controlling printer
JPH0772995A (en) Printing control system
JPS6331771A (en) Impact-type printer
JPH0427580A (en) Printer control system
JPH02204068A (en) Page-based perfecting page printer
JPH07156456A (en) Printer system
JPH04164671A (en) Page printer
JPH09193483A (en) Printer device and control method therefor
JPH10129091A (en) Color printer and its method