[go: up one dir, main page]

JP2002178590A - Page end processing method - Google Patents

Page end processing method

Info

Publication number
JP2002178590A
JP2002178590A JP2000381657A JP2000381657A JP2002178590A JP 2002178590 A JP2002178590 A JP 2002178590A JP 2000381657 A JP2000381657 A JP 2000381657A JP 2000381657 A JP2000381657 A JP 2000381657A JP 2002178590 A JP2002178590 A JP 2002178590A
Authority
JP
Japan
Prior art keywords
page end
instruction
print
printer
control
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
JP2000381657A
Other languages
Japanese (ja)
Inventor
Satoshi Mizukami
聰 水上
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2000381657A priority Critical patent/JP2002178590A/en
Publication of JP2002178590A publication Critical patent/JP2002178590A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

(57)【要約】 【課題】従来は、上位装置にて印字行数の管理またはペ
ージエンド検出時の上位装置からの電文再送処理が必要
で有り、処理時間の遅延や上位装置の処理が複雑となっ
ていた。 【解決手段】上位装置と接続され、制御コードによって
動作する印刷装置にて、用紙下端印字限界域であるペー
ジエンドを検出し、印刷装置が上位装置の指示無しで自
動的にページエンドとなった用紙を排出し次用紙を吸入
することにより、上位装置が印字行数の管理や印字でき
なかった印字指示電文の再送処理を必要とせずに印字動
作を継続することができる。本発明によれば、各タスク
間の制御バッファを二つ持ち、ページエンドの際に排出
・用紙吸入処理を上位装置からの電文指示を擬似的に行
うページエンド処理タスクが提供される。
(57) [Summary] [PROBLEMS] Conventionally, it is necessary to manage the number of print lines in a higher-level device or retransmit a message from a higher-level device when a page end is detected. Had become. A printing device connected to a higher-level device and operated by a control code detects a page end, which is a printing lower limit area of a sheet, and automatically sets the page end without an instruction from the higher-level device. By discharging the paper and sucking the next paper, the printing operation can be continued without requiring the host device to manage the number of printing lines and retransmit the print instruction message that could not be printed. According to the present invention, there is provided a page end processing task which has two control buffers between tasks and performs a discharge / sheet suction process at the time of a page end by simulating a message from a higher-level device.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタのページ
エンド処理方式に関する。
The present invention relates to a page end processing system for a printer.

【0002】[0002]

【従来の技術】図1はプリンタのブロック図である。上
位装置1と回線インターフェース2を通して接続され、
F−EPROM部3に格納されたプログラムによりCP
U4、RAM5を組み合せて用紙搬送部6、印字部7の
制御を行い、上位装置1の指示によって印字を行う装置
である。
2. Description of the Related Art FIG. 1 is a block diagram of a printer. Connected to the host device 1 through the line interface 2,
According to the program stored in the F-EPROM unit 3, the CP
The U4 and the RAM 5 are combined to control the paper transport unit 6 and the printing unit 7 and perform printing according to an instruction from the host device 1.

【0003】図2はプリンタにおける印字部と用紙搬送
の関係を示す図である。
FIG. 2 is a diagram showing a relationship between a printing unit and paper conveyance in a printer.

【0004】エンコード付きサーボモータ(25)により
駆動する搬送路ローラによって、挿入された用紙が印字
ヘッド(23)の下まで搬送され、プラテン(24)が印字
ヘッド方向に持ち上がることにより印字が行われる。こ
のプリンタにおいて用紙が挿入された場合、上端検知セ
ンサ(22)にて用紙上端を検知し、この時点での搬送モ
ータのエンコード出力カウンタ値をRAMに退避、更に
下端検知センサ(21)にて用紙下端を検知し、上端検知
時と同じようにエンコードカウンタ値を退避する。搬送
動作終了時、退避したカウンタ値を使用して用紙長を作
成するとともに、用紙上端からのページエンドまでの距
離を算出する。
The inserted paper is transported below the print head (23) by a transport path roller driven by a servo motor (25) with encoding, and printing is performed by lifting the platen (24) in the direction of the print head. . When a sheet is inserted in this printer, the upper end detection sensor (22) detects the upper end of the sheet, saves the encode output counter value of the conveyance motor at this time to the RAM, and further detects the upper end of the sheet by the lower end detection sensor (21). The lower end is detected, and the encode counter value is saved as in the case of the upper end detection. At the end of the transport operation, the sheet length is created using the retracted counter value, and the distance from the upper end of the sheet to the page end is calculated.

【0005】図3は、用紙長とページエンドの関係を図
示したものである。
FIG. 3 illustrates the relationship between the sheet length and the page end.

【0006】前記の測定した用紙長A(31)からあらか
じめ設定された用紙下端からページエンドまでの距離B
(32)を減算して、用紙上端からページエンドまでの距
離C(33)を求め改行 動作時に改行位置との比較を行
う。印字改行毎に改行した位置がページエンド位置を越
えるかを検知し、ページエンド位置を越える改行動作を
指示された時点でページエンドを上位装置に報告する。
From the measured paper length A (31), a predetermined distance B from the lower end of the paper to the page end.
By subtracting (32), the distance C (33) from the top edge of the sheet to the page end is obtained and compared with the line feed position during the line feed operation. It detects whether the line feed position exceeds the page end position for each print line feed, and reports the page end to the host device when a line feed operation beyond the page end position is instructed.

【0007】図4は制御プログラムの流れを示した図で
ある。
FIG. 4 is a diagram showing the flow of a control program.

【0008】電文解析タスク(41)にて、上位装置から
の動作指示を解析し制御バッファ1(46)に制御情報を
格納しハード制御タスク(42)に動作指示を行う。ハー
ド制御タスク(42)は、制御バッファ1(46)から制御
情報を取り出し、あらかじめ定められた制御コードに従
い、動作指示に対する制御タスクに対しての制御情報を
作成し制御バッファ2(47)に格納する。この制御バッ
ファ2(47)の内容を用紙搬送制御タスク(43)、印字
制御タスク(44)が各々監視し、自タスクに対する制御
指示と判断した場合は、制御情報を取り出し指示された
動作を実行させる。
In a message analysis task (41), an operation instruction from the host device is analyzed, control information is stored in the control buffer 1 (46), and an operation instruction is issued to the hardware control task (42). The hardware control task (42) extracts control information from the control buffer 1 (46), creates control information for the control task corresponding to the operation instruction according to a predetermined control code, and stores it in the control buffer 2 (47). I do. The contents of the control buffer 2 (47) are monitored by the paper transport control task (43) and the print control task (44), respectively, and when it is determined that the control instruction is directed to the own task, the control information is taken out and the operation instructed is executed. Let it.

【0009】この際に印字改行が指示され、用紙搬送制
御タスク(43)でページエンドを検出した場合、異常と
して電文解析タスク(41)まで各タスクが異常報告を挙
げ、更に回線インターフェースを使用して上位装置へ報
告していた。
At this time, when a line feed print is instructed and a page end is detected by the paper transport control task (43), each task reports an error to the message analysis task (41) as an error, and further uses the line interface. Was reported to the host device.

【0010】図5は上位装置とプリンタの電文処理のタ
イミングチャートである。
FIG. 5 is a timing chart of message processing between the host device and the printer.

【0011】電文1(51)によりプリンタに対して印字
改行指示が3行分まとめて指示された場合、印字改行指
示2(502)終了時にページエンドを検知した場合、印
字改行指示3(503)を実施せずに上位装置に対してペ
ージエンド異常報告(504)が送信される。
When a print line feed instruction is given to the printer for three lines at a time by message 1 (51), when a page end is detected at the end of print line feed instruction 2 (502), print line feed instruction 3 (503) , The page end abnormality report (504) is transmitted to the host device.

【0012】これに対して上位装置は媒体排出指示(5
05)またはリセット指示をプリンタに向け送信して、
ページエンドとなった媒体を排出後、印字改行指示3
(507)を再送し続きの処理を新しく挿入された用紙に
行っていた。
On the other hand, the host device issues a medium ejection instruction (5).
05) or send a reset instruction to the printer,
After ejecting the media that has reached the page end, print line feed instruction 3
(507) was resent and the subsequent processing was performed on the newly inserted paper.

【0013】[0013]

【発明が解決しようとする課題】従来プリンタのペーパ
ーエンド処理においては、ペーパーエンドを検出した時
点で異常としていたため、上位装置からの媒体排出指示
をした後の電文再送処理、または上位装置による一頁分
の印字可能行数の把握と印字実施行数を管理し、ペーパ
ーエンドを上位装置により認識し媒体の排出指示が必要
であった。
In the conventional paper end processing of the printer, since the paper end is detected as abnormal at the time of detecting the paper end, the message retransmission processing after instructing the medium ejection from the upper apparatus or the one by the upper apparatus is performed. It was necessary to grasp the number of printable lines for the page and manage the number of lines to be printed, recognize the paper end by the host device, and issue an instruction to eject the medium.

【0014】このどちらの方式でも、上位装置にペーパ
ーエンドに関する特殊な処理が必要となり、上位装置で
印字行数管理を行わない場合は、電文の再送処理が発生
するため処理時間が長くなってしまっていた。
In either of these methods, a special process relating to the paper end is required in the higher-level device. If the number of print lines is not managed in the higher-level device, the processing time becomes long because retransmission of the message occurs. I was

【0015】本発明は上位装置に特殊な処理を必要とせ
ず、プリンタが自動的に媒体排出、電文指示動作の中断
・再開処理を行うことのできるペーパーエンド処理を提
供することにある。
An object of the present invention is to provide a paper end process in which a printer does not require special processing, and a printer can automatically perform a process of ejecting a medium and suspending / restarting a message instruction operation.

【0016】[0016]

【課題を解決するための手段】前記課題を解決するため
に、プリンタにて挿入された用紙長を測定しページエン
ド位置を算出、プリンタが管理する印字位置(用紙上端
からの印字している位置までの距離)と比較を行うこと
によりページエンドを検出する。このとき上位装置から
の電文指示解析及びハード制御タスクの指示等タスク動
作指示を凍結させるため、各タスクインターフェースを
二重化しておきページエンド検知時に切替える。その切
替えたインターフェース側を使ってハード制御に用紙排
出指示を出し、これにより用紙を排出その後用紙挿入後
再びインターフェースを元に戻し、続きの電文解析を再
開させることにより、プリ ンタでページエンド検出
時、自動的に用紙を排出し次媒体挿入後に、続きの印字
指示動作を行うことが達成される。
In order to solve the above-mentioned problems, the length of the inserted paper is measured by a printer, the page end position is calculated, and the printing position managed by the printer (the printing position from the upper end of the paper) To detect the page end. At this time, in order to freeze task operation instructions such as message instruction analysis and hardware control task instructions from the host device, each task interface is duplicated and switched when a page end is detected. By using the switched interface to send a paper ejection instruction to the hardware control, the paper is ejected, the paper is inserted, the interface is returned again, and the subsequent message analysis is resumed. Then, after the paper is automatically discharged and the next medium is inserted, the subsequent print instruction operation is performed.

【0017】[0017]

【発明の実施の形態】本発明の一実施例であるページエ
ンド制御を以下に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A page end control according to one embodiment of the present invention will be described below.

【0018】図8は本発明の一実施例である通帳プリン
タのブロック図である。
FIG. 8 is a block diagram of a passbook printer according to an embodiment of the present invention.

【0019】上位装置81と回線インターフェース82
で接続され、F−EPROM部83に格納されたプログ
ラムによりCPU84、RAM85を組み合わせて用紙
搬送部86、印字部87、磁気記録部88の制御を行
い、上位装置81の指示によって印字、磁気記録を行う
装置である。
The host device 81 and the line interface 82
The CPU 84 and the RAM 85 are combined to control the paper transport unit 86, the printing unit 87, and the magnetic recording unit 88 by a program stored in the F-EPROM unit 83, and perform printing and magnetic recording according to an instruction from the host device 81. It is a device that performs.

【0020】図6は、本発明の一実施例であるページエ
ンド制御の制御タスクの流れを図示したものである。回
線処理タスク(61)にて、上位装置からの電文を受信し
受信バッファ(601) に格納する。電文解析処理タス
ク(62)は、受信バッファ(601)から電文を取り出し
上位装置からの動作指示を解析、あらかじめ定めた制御
コードから「印字改行動作」と判断する。それに基づき
印字指示制御情報(0を1文字印字)と、改行指示情報
(一行改行)を作成し、制御バッファ1A(602)に格納
する。
FIG. 6 illustrates the flow of a control task for page end control according to an embodiment of the present invention. In the line processing task (61), a message from the host device is received and stored in the reception buffer (601). The message analysis processing task (62) fetches the message from the reception buffer (601), analyzes the operation instruction from the higher-level device, and determines “print line feed operation” from a predetermined control code. Based on this, print instruction control information (0 is printed as one character) and line feed instruction information
(1 line feed) is created and stored in the control buffer 1A (602).

【0021】ハード制御タスク(63)は制御バッファ1
A(602)から印字指示と改行指示を取り出し、印字指
示に対して印字制御タスク(64)に向けて制御情報を作
成し、改行指示に対しては用紙搬送制御タスク(65)に
対する制御情報を作成し、制御情報を動作順に制御バッ
ファ2A(604)に格納する。印字制御(64)、用紙搬
送制御(65)の各タスクは指示された内容の印字、改行
を行う。この時に改行動作にてページエンドを検出した
場合、直ちにページエンド検出フラグをセットする。
The hardware control task (63) is the control buffer 1
A (602), a print instruction and a line feed instruction are extracted, control information is created for the print control task (64) in response to the print instruction, and control information for the paper transport control task (65) is sent in response to the line feed instruction. The control information is created and stored in the control buffer 2A (604) in the order of operation. Each task of the print control (64) and the paper transport control (65) performs printing of a designated content and a line feed. At this time, if the page end is detected by the line feed operation, the page end detection flag is set immediately.

【0022】このフラグがセットされてから、印字制御
タスクに印字指示が来た場合、その印字動作を行わずに
印字制御タスク(64)は制御バッファの切替フラグをセ
ットし、制御バッファ1A(602)→制御バッファ1B
(603)、制御バッファ2A(604)→制御バッファ2
B(605)へそれぞれ 切替えるとともに、切替えた制
御バッファ2B(605)を使用してハード制御タスク
(63)へページエンド異常を報告する。ハード制御タス
ク(63)は更に制御バッファ1B(603)にページエン
ド情報と印字した行数を格納する。この制御バッファ2
B(603)を常時監視しているページエンド処理タスク
(66)が、ページエンドを認識すると、制御バッファ1
B(603)、制御バッファ2B(605)を使用して用紙
搬送制御タスク(65)に向けて、用紙排出指示及び、新
しい用紙挿入指示を出し、ページエンドとなった用紙を
排出し、上位装置に対して印字できた行数とページエン
ドを報告し、上位装置にページエンドと印字行数の表示
を行うとともに次の用紙挿入処理を行う。
When a print instruction is given to the print control task after this flag is set, the print control task (64) sets the control buffer switching flag without performing the print operation, and sets the control buffer 1A (602). ) → Control buffer 1B
(603), control buffer 2A (604) → control buffer 2
B (605), and the hard control task is performed using the switched control buffer 2B (605).
Report page end error to (63). The hardware control task (63) further stores the page end information and the number of printed lines in the control buffer 1B (603). This control buffer 2
Page end processing task that constantly monitors B (603)
When (66) recognizes the page end, the control buffer 1
B (603), using the control buffer 2B (605), issues a paper discharge instruction and a new paper insertion instruction to the paper transport control task (65), and discharges the page-end paper, and , The number of printed lines and the page end are reported, the page end and the number of printed lines are displayed on the host device, and the next sheet insertion process is performed.

【0023】この一連動作の正常終了を識別するとペー
ジエンド処理は、制御バッファを元の制御バッファ1A
(602)、制御バッファ2A(604)側に切替える。制
御バッファが切替えられると印字制御タスク(64)は、
先ほど印字しなかった印字動作を制御バッファ2A(6
04)に残っている制御情報を使用して行い、その後の
電文処理を継続する。
When the normal end of the series of operations is identified, the page end process executes the control buffer operation using the original control buffer 1A.
(602), it is switched to the control buffer 2A (604) side. When the control buffer is switched, the print control task (64)
The printing operation that was not performed earlier is stored in the control buffer 2A (6
04) is performed using the remaining control information, and the subsequent message processing is continued.

【0024】図7は、本発明の一実施例である上位装置
の電文指示とプリンタの実動作の関係を図示したもので
ある。上位装置から電文(71)によって印字改行1(7
01)指示と印字改行2(702)指示が出された場合、
プリンタは印字改行1動作(703)を行う。このときペ
ージエンドを検知すると印字改行2(702)指示を保留
し、プリンタが自動的に排出・次用紙吸入処理(704)
を行う。その後動作保留された印字改行2動作(705)
を行い、次用紙への印字を継続する。
FIG. 7 illustrates the relationship between a message instruction of a host device and an actual operation of a printer according to an embodiment of the present invention. Print line feed 1 (7
01) instruction and print line feed 2 (702) instruction,
The printer performs a print line feed 1 operation (703). At this time, when the page end is detected, the instruction for line feed 2 (702) is suspended, and the printer automatically discharges and sucks the next sheet (704).
I do. After that, the line feed 2 operation of which the operation is suspended (705)
And printing on the next sheet is continued.

【0025】図9は、本発明の一実施例である上位装置
とプリンタの電文処理のタイミングチャートである。印
字改行2電文(902)動作終了時にページエンドを検出
した場合、用紙吸入からカウントした印字完了行数とと
もにページエンド異常を上位装置へ報告する。(904)
これを受けて上位装置は画面上にページエンドと印字完
了の表示を行う。
FIG. 9 is a timing chart of the message processing of the host device and the printer according to one embodiment of the present invention. When the page end is detected at the end of the operation of the print line feed 2 message (902), the page end abnormality is reported to the host device together with the number of print completed lines counted from the paper suction. (904)
In response to this, the host device displays a page end and print completion on the screen.

【0026】これによりオペレータが次用紙をプリンタ
に挿入する(91)により、印字改行電文3動作(92)を
実施し正常終了を上位装置へ報告(905)、その後上位
装置からの電文指示を継続して行う。
When the operator inserts the next sheet into the printer (91), the operator executes a print line feed message 3 operation (92) and reports the normal end to the host device (905). Thereafter, the message instruction from the host device is continued. Do it.

【0027】[0027]

【発明の効果】本発明によって、下記の効果を得ること
ができる。
According to the present invention, the following effects can be obtained.

【0028】1) プリンタがページエンドを検出し、ペ
ージエンドとなった媒体を自動的に排出し次媒体を受け
付け電文処理を継続できるために、上位装置が一頁分の
印字可能行数の把握や媒体排出指示または印字電文の再
送処理を行う必要が無くなるため、上位装置に特殊な処
理を用意しなくてもページエンド処理機能が使用でき
る。
1) The printer detects the page end, automatically ejects the medium at the end of the page, accepts the next medium, and can continue the electronic message processing. It is not necessary to perform a re-sending process of a print instruction or a medium or a print message, so that the page end processing function can be used without preparing a special process in the host device.

【0029】2) 上位装置は印字電文をプリンタに対し
て送信するだけで良くなるために、上位装置からの電文
再送指示等が不要となるため、処理時間の短縮を図るこ
とができる。
2) Since the host device only needs to transmit the print message to the printer, there is no need to issue a message retransmission instruction or the like from the host device, so that the processing time can be reduced.

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

【図1】プリンタのブロック図。FIG. 1 is a block diagram of a printer.

【図2】プリンタにおける印字部と用紙搬送の関係図。FIG. 2 is a diagram illustrating a relationship between a printing unit and paper conveyance in the printer.

【図3】用紙長とページエンドの関係図。FIG. 3 is a diagram illustrating a relationship between a sheet length and a page end.

【図4】プリンタ制御プログラムの流れ図。FIG. 4 is a flowchart of a printer control program.

【図5】上位装置とプリンタの電文処理のタイミングチ
ャート。
FIG. 5 is a timing chart of the message processing of the host device and the printer.

【図6】本発明の一実施例であるプリンタページエンド
制御の制御タスクの流れ図。
FIG. 6 is a flowchart of a control task of printer page end control according to an embodiment of the present invention.

【図7】本発明の一実施例である上位装置の電文指示と
プリンタの実動作の関係図。
FIG. 7 is a diagram illustrating a relation between a message instruction of a higher-level device and an actual operation of a printer according to an embodiment of the present invention.

【図8】通帳プリンタのブロック図。FIG. 8 is a block diagram of a passbook printer.

【図9】本発明の一実施例である上位装置とプリンタの
電文処理のタイミングチャート。
FIG. 9 is a timing chart of message processing of the host device and the printer according to the embodiment of the present invention.

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

1…上位装置、2…回線インターフェース、3…F−E
PROM、4…CPU、5…RAM、6…用紙搬送部、
7… 印字部、21…下端検知センサ、22…上端検知
センサ、23…印字ヘッド、24…プラテン、25…エ
ンコード付きサーボモータ、41…電文解析処理タス
ク、42…ハード制御タスク、43…用紙搬送制御タス
ク、44… 印字制御タスク、46…制御バッファ1、
47…制御バッファ2、51…電文1、501…印字改
行指示1、502…印字改行指示2、503…印字改行
指示3、504…ページエンド異常報告、505…用紙
排出指示、506…正常終了報告1、507…印字改行
指示3(再送)、508…正常終了報告2、61…電文処
理タスク、62…電文解析タスク、63…ハード制御タ
スク、64…印字制御タスク、65…用紙搬送制御タス
ク、66…ページエンド処理タスク、601…受信バッ
ファ、602…制御バッファ1A、603…制御バッフ
ァ1B、604…制御バッファ2A、605…制御バッ
ファ2B、71…電文1、701…印字改行指示1、7
02…印字改行指示2、703…印字改行動作1、70
4…排出・次用紙吸入動作、705…印字改行動作2、
81…上位装置、82…回線インターフェース、83…
F−EPROM、84…CPU、85…RAM、86…
用紙搬送部、87…印字部、88…磁気記録部、901
…印字改行指示1、902…印字改行指示2、903…
印字改行指示3、904…ページエンド異常報告、90
5…正常終了報告、91…次用紙挿入処理、92…印字
改行指示3印字動作。
1 ... host device, 2 ... line interface, 3 ... FE
PROM, 4 CPU, 5 RAM, 6 paper transport unit,
7 printing section, 21 bottom edge detection sensor, 22 top edge detection sensor, 23 print head, 24 platen, 25 servo motor with encoding, 41 message analysis processing task, 42 hardware control task, 43 paper transport Control task, 44 print control task, 46 control buffer 1,
47 Control buffer 2, 51 Telegram 1, 501 Print line feed instruction 1, 502 Print line feed instruction 2, 503 Print line feed instruction 3, 504 Page end abnormal report, 505 Paper discharge instruction, 506 Normal end report 1, 507: print line feed instruction 3 (retransmission), 508: normal end report 2, 61: message processing task, 62: message analysis task, 63: hardware control task, 64: print control task, 65: sheet transport control task, 66 page end processing task, 601 reception buffer, 602 control buffer 1A, 603 control buffer 1B, 604 control buffer 2A, 605 control buffer 2B, 71 electronic message 1, 701 print line feed instruction 1, 7
02: print line feed instruction 2, 703: print line feed operation 1, 70
4: discharge / next paper suction operation, 705: print line feed operation 2,
81: host device, 82: line interface, 83:
F-EPROM, 84 CPU, 85 RAM, 86
Paper transport unit, 87 printing unit, 88 magnetic recording unit, 901
... Print line feed instruction 1, 902 ... Print line feed instruction 2, 903 ...
Print line feed instruction 3, 904: Page end error report, 90
5: normal end report, 91: next sheet insertion processing, 92: print line feed instruction 3 printing operation.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プリンタに設けられた下端検出センサと
上端検出センサとエンコード出力付きサーボモータを備
え、媒体下端検出時のエンコードカウンタ値と媒体上端
検出時のエンコードカウンタ値を記憶することにより、
それぞれのカウンタ値の差から媒体長を算出し求められ
た媒体長から、予め設定されたページエンド位置を演算
し管理されている印字位置との比較を印字改行動作毎に
行うことによりページエンドを検出し、その時点で上位
装置からの電文指示動作を中断させ、自動的にページエ
ンドを検知した媒体を排出し、印字ができた行数とペー
ジエンドを上位装置に報告するとともに、次媒体セット
待ち状態となり次媒体挿入を検知後、中断していた電文
指示動作を再開させることにより、電文の続きを次媒体
に印刷できることを特徴とするプリンタのペーパーエン
ド処理方式。
1. A printer comprising a lower end detection sensor, an upper end detection sensor, and a servo motor with an encode output provided in a printer, and stores an encode counter value at the time of detecting the lower end of the medium and an encode counter value at the time of detecting the upper end of the medium.
The page length is calculated by calculating the medium length from the difference between the respective counter values, and calculating the preset page end position from the obtained medium length, and comparing the calculated page end position with the managed print position for each print line feed operation. Detects and suspends the message instruction operation from the host device at that time, automatically ejects the medium that has detected the page end, reports the number of lines printed and the page end to the host device, and sets the next medium. A paper end processing method for a printer, in which a continuation of an electronic message can be printed on a next medium by resuming an interrupted electronic message instruction operation after a standby state has been detected and insertion of a next medium has been detected.
JP2000381657A 2000-12-11 2000-12-11 Page end processing method Pending JP2002178590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000381657A JP2002178590A (en) 2000-12-11 2000-12-11 Page end processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000381657A JP2002178590A (en) 2000-12-11 2000-12-11 Page end processing method

Publications (1)

Publication Number Publication Date
JP2002178590A true JP2002178590A (en) 2002-06-26

Family

ID=18849618

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000381657A Pending JP2002178590A (en) 2000-12-11 2000-12-11 Page end processing method

Country Status (1)

Country Link
JP (1) JP2002178590A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014037085A (en) * 2012-08-15 2014-02-27 Oki Data Corp Image forming apparatus, and medium ejection method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014037085A (en) * 2012-08-15 2014-02-27 Oki Data Corp Image forming apparatus, and medium ejection method

Similar Documents

Publication Publication Date Title
US6205363B1 (en) Printer and control method for obtaining printer status
US7869063B2 (en) Printing apparatus, printer control method, printer control program, and printing system
EP0652533A2 (en) Detection of the condition of a printer
CN104943366B (en) Printing equipment, control method and print system
JP5096873B2 (en) Printing apparatus, printing apparatus control method, and computer program
EP2275918B1 (en) Printer and printer control method
JP2002178590A (en) Page end processing method
US9493018B2 (en) Printing apparatus with cut unit configured to cut a sheet according to an operator's instructions
JP2956467B2 (en) Ink jet recording device
JPH05233923A (en) Bankbook printer device
JP2002127569A (en) Image forming device
JP2944546B2 (en) Ink ejection port cleaning processing method and processing apparatus
JP4019344B2 (en) Printing device
JP2619570B2 (en) Print processing system
JP6309334B2 (en) Program, information processing apparatus and printing system
JP5308110B2 (en) Automatic transaction equipment
JP3544365B2 (en) PRINTING APPARATUS, CONTROL METHOD THEREOF, AND INFORMATION PROCESSOR USING THE PRINTING APPARATUS
JP3203930B2 (en) Ink jet recording device
JPH01118460A (en) Printer paper transport device
JP2583675B2 (en) Printer paper feed correction processor
JPS6327287A (en) Printer
JP2003118206A (en) Printing device with printed page missing identification function
JPH05278283A (en) Printer
JPH01275351A (en) recording device
JP2007039236A (en) Printing apparatus and printing control method