JPH0615892A - Printer - Google Patents

Printer

Info

Publication number
JPH0615892A
JPH0615892A JP17413692A JP17413692A JPH0615892A JP H0615892 A JPH0615892 A JP H0615892A JP 17413692 A JP17413692 A JP 17413692A JP 17413692 A JP17413692 A JP 17413692A JP H0615892 A JPH0615892 A JP H0615892A
Authority
JP
Japan
Prior art keywords
paper
printer
printing
cutter
print
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
JP17413692A
Other languages
Japanese (ja)
Inventor
Tomomi Miyashita
智美 宮下
Kazunari Hachiman
一成 八幡
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP17413692A priority Critical patent/JPH0615892A/en
Publication of JPH0615892A publication Critical patent/JPH0615892A/en
Pending legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)

Abstract

PURPOSE:To realize in a printer a transfer controlling method for user friendly printing paper cut that has an extraordinarily excellent operability irrespective of the difference of machines. CONSTITUTION:The printer has a manual paper cutter 17 or an automatic paper cutter and the like on the upper part of a printing head 11 as printing means, and also has control means for forwarding printing paper 13 by a paper forwarding mechanism through controlling commands including a paper forwarding quantity.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マニュアル紙カッタあ
るいはオート紙カッタ等を有するプリンタに関し、特に
制御コマンドにより印字紙を最終印字位置から紙カッタ
位置まで所定量の紙送りを行う、印字紙カットの為の紙
移送技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer having a manual paper cutter, an automatic paper cutter, etc. Paper transfer technology for

【0002】[0002]

【従来の技術】従来、プリンタの印字紙にレシートとし
ての所望のフォーマットで印字が終了すると、紙カッタ
位置まで数行の紙送りをし、マニュアル紙カッタあるい
はオート紙カッタにより印字紙をカットし伝票発行を行
なっていた。前記紙カット位置は印字ヘッドの上方にあ
るのが一般的であり、印字終了後続けてカットを行なう
と、マニュアル紙カッタあるいはオート紙カッタの位置
と最終印字位置が重なったり、あるいは最終印字位置よ
り前の箇所でカットされてしまう問題があった。この課
題を解決する1つの手段として、その機種の機構に適し
た数行の紙送りを制御コマンドにより行い対応する方法
があった。しかしかかる方法によれば使用する機種ごと
に紙送りする行数を再設定する必要があり機構の異なる
プリンタのアプリケーションソフトを開発する上で大き
な障害となっていた。
2. Description of the Related Art Conventionally, when printing is completed on a printing paper of a printer in a desired format as a receipt, several lines of paper are fed to the paper cutter position, and the printing paper is cut by a manual paper cutter or an automatic paper cutter. It was issuing. Generally, the paper cutting position is above the print head.If the cutting is continued after printing, the position of the manual paper cutter or the auto paper cutter may overlap the final printing position, or There was a problem that it was cut at the previous part. As one means for solving this problem, there has been a method in which several lines of paper suitable for the mechanism of the model are fed by a control command. However, according to such a method, it is necessary to reset the number of lines to be fed for each model to be used, which is a big obstacle in developing application software for printers having different mechanisms.

【0003】[0003]

【発明が解決しようとする課題】本発明は、かかる欠点
に鑑みてなされたものであり、印字紙カット前にホスト
コンピュータからの印字紙カットの為の移送制御コマン
ドをプリンタに送信することにより、機種ごとの相違を
問わず極めて操作性に優れた、ユーザフレンドリーなプ
リンタの印字紙移送および印字紙カット処理方法を提供
するものである。
SUMMARY OF THE INVENTION The present invention has been made in view of such drawbacks, and by transmitting a transfer control command for cutting a printing paper from a host computer to the printer before cutting the printing paper, It is intended to provide a user-friendly printing paper transfer and printing paper cutting method for a printer, which has extremely excellent operability regardless of differences between models.

【0004】[0004]

【課題を解決するための手段】本発明は、紙送り量を含
む印字紙移送制御コマンドをプリンタに送信することに
より該機種の最終印字位置から紙カッタ位置まで所定量
の印字紙の紙送りを行なう制御手段を有することを特徴
とするプリンタである。
SUMMARY OF THE INVENTION According to the present invention, by sending a print paper transfer control command including a paper feed amount to a printer, a predetermined amount of print paper is fed from the final print position of the model to the paper cutter position. A printer having control means for performing the operation.

【0005】[0005]

【作用】本発明の構成によれば、従来、印字終了後に数
行の紙送りを実行しないと、マニュアル紙カッタあるい
はオート紙カッタの印字紙カット位置が、最終印字位置
と重なり、あるいは最終印字位置より前の箇所でカット
されてしまう問題があったが、本発明のコマンドをプリ
ンタに送信することにより印字紙が最適量紙送りされ、
最終印字位置から紙カッタ位置まで印字紙を移送するこ
とが出来、ユーザフレンドリーなプリンタを提供するこ
とが可能となった。またプリンタの機種毎による印字紙
紙送りも必要でなくなり、アプリケーションソフト開発
上も非常に有効であり、ソフト資産の有効活用が出来る
等工業上非常に有益である。
According to the structure of the present invention, conventionally, the printing paper cutting position of the manual paper cutter or the automatic paper cutter overlaps with the final printing position or the final printing position unless the paper is fed by several lines after printing is completed. There was a problem that it was cut at a position earlier, but by sending the command of the present invention to the printer, the print paper is fed by the optimum amount,
The printing paper can be transferred from the final printing position to the paper cutter position, and it is possible to provide a user-friendly printer. Further, it is not necessary to feed the printing paper for each printer model, which is very effective in developing application software and is very useful in industry such that software resources can be effectively used.

【0006】[0006]

【実施例】図1は本発明のプリンタのー実施例で、プリ
ンタの主要構成機構をなす印字ヘッドと、紙送り機構を
示す概略図である。10は紙送り駆動源となるステッピ
ングモータ。11は印字ヘッドであり、キャリッジ用ス
ッテピングモータ15の回動をベルト16を介して順次
左右に移動することにより所望の文字や記号を印字する
ものである。ー実施例として分かりやすくするために印
字ヘッド11が矢印A方向へ移動するときに印字する状
態を示している。12は印字プラテンであり普通は硬質
材料を用いる。13は印字紙である。14は紙送りロー
ラであり、印字ヘッド11により所望のー行分の印字が
終了すると、紙送り用スッテッピイングモータ10が駆
動されることにより紙送りローラ14が回転し印字紙1
3が矢印B方向へ1ライン分導出される。17は紙カッ
タでありー例としてマニュアル紙カッタを示したがオー
ト紙カッタでも同様である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a schematic view showing a print head and a paper feeding mechanism which are main components of the printer according to an embodiment of the printer of the present invention. 10 is a stepping motor which is a paper feed drive source. Reference numeral 11 denotes a print head, which prints desired characters or symbols by sequentially rotating the carriage stepping motor 15 from side to side via the belt 16. In order to make it easier to understand, the embodiment shows a state in which printing is performed when the print head 11 moves in the direction of arrow A. Reference numeral 12 is a printing platen, which is usually made of a hard material. Reference numeral 13 is a printing paper. Reference numeral 14 denotes a paper feed roller. When the print head 11 finishes printing a desired number of lines, the paper feed stepping motor 10 is driven to rotate the paper feed roller 14 to rotate the print paper 1.
3 is derived in the direction of arrow B for one line. Reference numeral 17 is a paper cutter--a manual paper cutter is shown as an example, but the same applies to an automatic paper cutter.

【0007】図2は、本発明のプリンタの印字処理方法
の構成を示す説明図である。20はデータを入力するイ
ンタフェイス、21はCPU、22、23、24はI/
Oポート、25はROM、26はRAM、29はプリン
タ機構部、28はプリンタ機構部内のモータを駆動制御
するモータドライバ、27は印字ヘッドを駆動制御する
ヘッドドライバ、30は紙送り用スイッチをそれぞれ示
している。RAM 26内には、印字データをそのまま
格納する入力バッファと印字データをプリンタの印字ヘ
ッド部のドットデータに変換して格納する印字バッファ
を有している。CPU21はROM25内に格納された
プログラムコードにしたがってプリンタ全体を統括制御
する。ROM25内にはプログラムコードの他に文字フ
ォントをデータ化したキャラクタジェネレータが格納さ
れている。一般にプリンタはインタフェイス20から入
力されるホストコンピュータからの文字列データから特
定のコードを読みとってこれらの要求するコマンドを解
釈し、これに応じた制御をしながら印字動作を行なって
いる。紙送りスイッチ30は一般的にはプリンタ完成品
としてまとめたとき、プリンタ本体の表面に操作パネル
のー部として配置されるのが普通であり、このスイッチ
の信号はI/O 24を介してCPU21に入力され
る。
FIG. 2 is an explanatory diagram showing the construction of the print processing method of the printer of the present invention. 20 is an interface for inputting data, 21 is a CPU, and 22, 23, 24 are I / O.
O port, 25 is ROM, 26 is RAM, 29 is a printer mechanism unit, 28 is a motor driver that drives and controls a motor in the printer mechanism unit, 27 is a head driver that controls the print head, and 30 is a paper feed switch. Shows. The RAM 26 has an input buffer for storing print data as it is and a print buffer for converting the print data into dot data of the print head portion of the printer and storing the dot data. The CPU 21 controls the printer as a whole according to the program code stored in the ROM 25. In the ROM 25, in addition to the program code, a character generator that converts a character font into data is stored. Generally, the printer reads a specific code from the character string data input from the host computer from the interface 20, interprets these required commands, and performs the printing operation while controlling accordingly. The paper feed switch 30 is generally arranged on the surface of the printer body as a part of the operation panel when assembled as a finished product of the printer, and the signal of this switch is sent via the I / O 24 to the CPU 21. Entered in.

【0008】図3は、本発明によるプリンタの印字紙カ
ットの為の移送方法をわかりやすく説明するための概略
図である。図3に於て、印字ヘッド11によって所望の
印字が終了して紙送りローラ14と、紙送り補助ローラ
41の回動により印字紙の伝票発行に必要な位置まで紙
送りを行う状態を示している。しかる後、紙カッタ17
により印字紙をカットする。
FIG. 3 is a schematic view for easily explaining the transfer method for cutting the printing paper of the printer according to the present invention. In FIG. 3, a state in which desired printing is completed by the print head 11 and the paper feed roller 14 and the paper feed auxiliary roller 41 are rotated to feed the paper to a position required for issuing a slip of the print paper is shown. There is. After that, paper cutter 17
To cut the printing paper.

【0009】図4は、本発明における所定量の紙送りを
実行し印字紙カットを行った一実施例である。最終印字
位置を紙カッタ17の位置に移動させるため、図3にお
いてスペースDプラス任意の余白分の紙送りを実行す
る。そのために従来の制御方法では、その機種ごとに適
した数行の紙送りを実行して作り出さなければならな
い。印字およびn行の紙送りのコマンド、例えば ES
C + d + n コマンドを送信するが、同じスペ
ースD、プラス任意の余白分を作るのに、例えばA機種
ではn=10の値を設定して紙送りを実施し、B機種で
はn=15の値を設定して紙送りを実施するというよう
に、各機種により所定量nの値が異なり互換性が無く、
ユーザにとっては使いにくいコマンドであった。
FIG. 4 shows an embodiment in which a predetermined amount of paper is fed to cut the printing paper according to the present invention. In order to move the final print position to the position of the paper cutter 17, the paper is fed by the space D plus an arbitrary blank space in FIG. Therefore, in the conventional control method, it is necessary to carry out paper feeding of several lines suitable for each model to create the paper. Commands for printing and n line feed, eg ES
C + d + n command is sent, but in order to create the same space D and an arbitrary blank space, for example, in model A, paper feed is performed by setting a value of n = 10, and in model B, n = 15. There is no compatibility because the value of the predetermined amount n differs depending on each model, such as setting the value of
It was a command that was difficult for users to use.

【0010】この問題を回避するために図2に示すI/
F 20に印字紙紙送り制御コマンド、例えば ESC
+ S コマンドを送信する。ESC + S コマ
ンドには該機種の所定量のスペースD、プラス任意の余
白分の紙送りを実行する機能を含み、前述の紙送りコマ
ンドで説明するならば、ESC + d + n のn
の値を機種ごとにユーザがその都度設定する必要がなく
なった。A機種、B機種において同一のコマンドを用い
ることができ、各機種間の互換性が図られた。このコマ
ンドを送信することによりプリンタ側は該コマンドを解
釈し、紙送りローラ14及び補助ローラ41を回転さ
せ、所定量の印字紙紙送りを行なって、図3に示す如く
印字紙13の最終印字位置プラス余白分を紙カッタ17
の位置迄搬送し、印字紙カットを行うものである。
In order to avoid this problem, I / I shown in FIG.
F20 print paper feed control command, for example ESC
Send + S command. The ESC + S command includes a function of executing paper feed of a predetermined amount of space D of the model and an arbitrary margin, and if explained by the above-mentioned paper feed command, n of ESC + d + n
It is no longer necessary for the user to set the value of for each model each time. The same command can be used in the A model and the B model, and compatibility between the models has been achieved. By transmitting this command, the printer interprets the command, rotates the paper feed roller 14 and the auxiliary roller 41, and feeds a predetermined amount of printing paper, and finally prints the printing paper 13 as shown in FIG. Position plus margins with paper cutter 17
The printing paper is cut after being conveyed to the position.

【0011】図5は、本発明における移送制御コマンド
のフローチャートである。101において、プリンタが
受信する移送制御コマンドとしては2種類があり、10
2のESC + d + n と、105のESC +
S が該当する。前述したように、102のコマンド
は、ユーザーがホストコンピュータからプリンタの21
のCPUに制御コマンドを送信した後に、103におい
て紙送りを実行する行数nを再度送信しなければならな
い。102と103のコマンドを受信した後に、104
においてプリンタはn行の紙送りを実行する。しかし、
本発明によって、105のコマンドを送信することによ
り、106においてプリンタは即時に印字紙カットに最
適な位置まで紙送りを実行する。
FIG. 5 is a flow chart of the transfer control command in the present invention. In 101, there are two types of transfer control commands received by the printer.
2 ESC + d + n and 105 ESC +
S is applicable. As described above, the command 102 is issued by the user from the host computer to the printer 21.
After sending the control command to the CPU of No. 3, the number of lines n at which the paper is to be fed must be sent again at 103. After receiving the commands 102 and 103,
In, the printer executes paper feeding for n lines. But,
According to the present invention, by transmitting the command 105, the printer immediately executes the paper feed at 106 to the optimum position for cutting the print paper.

【0012】[0012]

【発明の効果】本発明によれば、印字紙カットの為の紙
送り量を含む制御コマンドをプリンタに送信することに
より印字紙が最適量紙送りされ、ユーザフレンドリーな
プリンタを提供することが可能となる。また、アプリケ
ーションソフト開発に関しては、プリンタの機種が変わ
っても何等問題なく対応でき工業上非常に有益である。
According to the present invention, it is possible to provide a user-friendly printer by sending an optimum amount of print paper by sending a control command including a paper feed amount for cutting print paper to the printer. Becomes Further, with regard to application software development, even if the printer model is changed, it can be dealt with without any problems, which is very useful industrially.

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

【図1】 本発明に用いるプリンタの概略図。FIG. 1 is a schematic view of a printer used in the present invention.

【図2】 本発明のプリンタの駆動方法の構成を示す説
明図。
FIG. 2 is an explanatory diagram showing a configuration of a printer driving method of the present invention.

【図3】 本発明によるプリンタの紙カッタと印字ヘッ
ドの位置関係を示す構成図。
FIG. 3 is a configuration diagram showing a positional relationship between a paper cutter and a print head of a printer according to the present invention.

【図4】 本発明における所定量の紙送りを実行し印字
紙カットを行った一実施例を示す図。
FIG. 4 is a diagram showing an embodiment in which a predetermined amount of paper is fed and printing paper is cut according to the present invention.

【図5】 本発明における移送制御コマンドのフローチ
ャート。
FIG. 5 is a flowchart of a transfer control command according to the present invention.

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

10・・・紙送り用ステッピングモータ 11・・・印字ヘッド 12・・・印字プラテン 13・・・印字紙 14・・・紙送りローラ 15・・・キャリッジ用ステッピングモータ 16・・・キャリッジベルト 17・・・紙カッタ 29・・・プリンタ機構部 30・・・紙送りスイッチ(PF スイッチ) 41・・・紙送り補助ローラ 10 ... Paper feeding stepping motor 11 ... Printing head 12 ... Printing platen 13 ... Printing paper 14 ... Paper feeding roller 15 ... Carriage stepping motor 16 ... Carriage belt 17. ..Paper cutter 29 ... Printer mechanism 30 ... Paper feed switch (PF switch) 41 ... Paper feed auxiliary roller

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】印字ヘッドを左右に揺動する揺動機構と紙
送り機構を主要素とするプリンタで、印字手段である前
記印字ヘッドの上部にマニュアル紙カッタあるいは、オ
ート紙カッタ等を有するプリンタに於いて、ホストコン
ピュータからの紙送り量を含む制御コマンドの指定によ
り、最終印字位置から紙カッタ位置まで所定量の紙送り
を行なう制御手段を有することを特徴とするプリンタ。
1. A printer having, as main elements, a swing mechanism for swinging a print head to the left and right and a paper feed mechanism, the printer having a manual paper cutter, an automatic paper cutter, or the like above the print head as a printing means. In the printer, there is provided a control means for feeding a predetermined amount of paper from the final printing position to the paper cutter position by designating a control command including the paper feeding amount from the host computer.
JP17413692A 1992-07-01 1992-07-01 Printer Pending JPH0615892A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17413692A JPH0615892A (en) 1992-07-01 1992-07-01 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17413692A JPH0615892A (en) 1992-07-01 1992-07-01 Printer

Publications (1)

Publication Number Publication Date
JPH0615892A true JPH0615892A (en) 1994-01-25

Family

ID=15973295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17413692A Pending JPH0615892A (en) 1992-07-01 1992-07-01 Printer

Country Status (1)

Country Link
JP (1) JPH0615892A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8757906B2 (en) 2008-12-25 2014-06-24 Seiko Epson Corporation Recording device advancing form additional distance so that it can be seen

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8757906B2 (en) 2008-12-25 2014-06-24 Seiko Epson Corporation Recording device advancing form additional distance so that it can be seen
US8764322B2 (en) 2008-12-25 2014-07-01 Seiko Epson Corporation Recording device advancing ticket additional distance so that it can be seen

Similar Documents

Publication Publication Date Title
JP3630127B2 (en) Printing system, printer host and printer driver
JPH02243373A (en) Print misregistration correcting method and printer for practicing same method
JPH07102724B2 (en) Printer
JPH0615892A (en) Printer
JPH0631990A (en) Printer
JPH0356549B2 (en)
JP2727180B2 (en) Control device for recording device
JPH07276724A (en) Printer
JPH07228016A (en) Printer
JPS62256674A (en) Serial printer
JP3347369B2 (en) Printing apparatus and method
JP2526697B2 (en) Printer with paper feed mechanism
JPS60115470A (en) Automatic paper supply controlling system for printer
JPH07228015A (en) Printer
JPS58145480A (en) Driving controller for printer
JP2003114771A (en) Printer driver program
JP3332432B2 (en) Data communication method and print control device
JP3861938B2 (en) Printer control method
JP2973543B2 (en) Printer and control method thereof
JPH01214464A (en) Electronic typewriter
JPH07186455A (en) Label printer and data preparation apparatus
JPH01320174A (en) Paper feed controller in printer
JPH06227076A (en) Head control device of printer and printing control device of document preparing device
JPH08166926A (en) Electronic unit, data processing system having the unit and data processing method in the unit
JP2000355143A (en) Ink-jet recording apparatus and image forming device