JPH0924645A - Printer - Google Patents
PrinterInfo
- Publication number
- JPH0924645A JPH0924645A JP17531795A JP17531795A JPH0924645A JP H0924645 A JPH0924645 A JP H0924645A JP 17531795 A JP17531795 A JP 17531795A JP 17531795 A JP17531795 A JP 17531795A JP H0924645 A JPH0924645 A JP H0924645A
- Authority
- JP
- Japan
- Prior art keywords
- printing
- line
- data
- paper
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、プリンタ装置に係
り、とくにシリアルライン印字に好適なプリンタ装置に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer device, and more particularly to a printer device suitable for serial line printing.
【0002】[0002]
【従来の技術】プリンタ装置は、上位装置からの印字デ
ータと改行コード等の制御コードに基づいて印字処理を
行う。2. Description of the Related Art A printer device performs a printing process based on print data from a host device and a control code such as a line feed code.
【0003】従来のプリンタ装置は、用紙切れ検出装置
を装備しており、改行コードを受信する前に、用紙切れ
が検出されると、空打ちによる印字ヘッドの損傷を防止
するために強制的に改行していた。A conventional printer device is equipped with a paper-out detecting device, and if a paper-out is detected before receiving a line feed code, it is forcibly forced to prevent the print head from being damaged due to blank ejection. There was a line break.
【0004】用紙切れ検出装置としては、種々の方式が
用いられており、その一つとして光学的に用紙切れを検
出する技術が特開昭63ー54268号公報で開示され
ている。Various methods are used for the paper-out detecting device, and one of them is a technique for optically detecting a paper-out, which is disclosed in Japanese Patent Laid-Open No. 63-54268.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記従
来例においては、プラテンへの空打ちは防止できるが、
用紙なしと検出された範囲に印刷データが存在する場合
には、その印刷データは破棄されるために、上位装置か
らの印刷データが正しく印刷されたかどうかを知ること
ができず、印刷データの編集が困難であるという不都合
があった。However, in the above-mentioned conventional example, it is possible to prevent the blanking of the platen,
If the print data exists in the range where it is detected that there is no paper, the print data is discarded and it is not possible to know whether the print data from the host device was printed correctly. There was an inconvenience that it was difficult.
【0006】[0006]
【発明の目的】本発明の目的は、かかる従来例の有する
不都合を改善し、とくに用紙幅の不足により印刷不可能
となった印刷データを用紙の印刷可能な領域に印刷する
ことができ、また、プラテンへの空打ちを防止すること
のできるプリンタ装置を提供することにある。SUMMARY OF THE INVENTION The object of the present invention is to improve the disadvantages of the conventional example, and in particular, to print the print data which cannot be printed due to the insufficient width of the paper in the printable area of the paper. It is an object of the present invention to provide a printer device capable of preventing the blanking of the platen.
【0007】[0007]
【課題を解決するための手段】そこで、本発明では、印
刷用紙の幅方向における用紙端を検出する用紙幅検出手
段と、この用紙幅検出手段からの情報を参照し上位装置
からの印字データを一行毎に印刷用紙に印字させる制御
をする印刷制御手段と、この印刷制御手段による制御に
従って印字データを印刷出力する印刷手段とを備えたプ
リンタ装置において、印刷制御手段が、上位装置からの
改行コードを検出する前に用紙幅検出手段からの用紙端
検出通知を受信した場合、当該行の残りの印字データ
(未印字データ)を次行に印字する機能を備えている。
これによって前述した目的を達成しようとするものであ
る。Therefore, in the present invention, the paper width detecting means for detecting the paper edge in the width direction of the printing paper, and the print data from the host device by referring to the information from the paper width detecting means. In a printer device including a print control unit that controls printing on a printing paper line by line, and a print unit that prints out print data according to the control of the print control unit, the print control unit includes a line feed code from a host device. When the paper edge detection notification from the paper width detecting means is received before the detection, the print data (unprinted data) remaining in the line is printed on the next line.
This aims to achieve the above-mentioned object.
【0008】これら各事項で特定される本発明では、印
刷制御手段は、印字動作中には、常に用紙幅検出手段か
らの信号をチェックしており、上位装置からの改行コー
ドを検出する前に用紙幅検出手段から用紙端検出の報告
を受けると、当該行の印字データのうち未印字データを
一旦記憶手段に保存する。In the present invention specified by these items, the print control means always checks the signal from the paper width detection means during the printing operation, and detects the line feed code from the host device. When receiving the report of the detection of the paper edge from the paper width detection means, the unprinted data of the print data of the line is once stored in the storage means.
【0009】そして、印刷制御手段は,印字ヘッドを強
制的に改行し、印字ヘッドが印字可能領域に位置する
と、記憶手段に保存した未印字データを印字する。Then, the print control means forcibly feeds the print head, and when the print head is positioned in the printable area, prints the unprinted data stored in the storage means.
【0010】未印字データの印字が終了すると、印刷制
御手段は,印字ヘッドを強制的に改行する。そして、次
行の印字データの印字を継続して行う。When the printing of the unprinted data is completed, the print control means forcibly feeds the print head. Then, the print data of the next line is continuously printed.
【0011】[0011]
【発明の実施の形態】以下、本発明の一実施形態を図1
ないし図3に基づいて説明する。BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIG.
A description will be given based on FIG.
【0012】図1の実施形態では、印刷用紙の幅方向の
用紙端を検出するための用紙幅検出手段4と、利用者が
未印字データを「掃き捨てる」か「印字する」かを設定
するための設定手段3と、未印字データを一時的に保存
するための記憶手段2と、上位装置からの改行コードを
検出する前に用紙幅検出手段4が用紙端を検出すると、
設定手段3での設定内容に従って未印字データを廃棄し
たり(削除機能)、あるいは記憶手段2の内容を次行へ
印字する(改行印字機能)印刷制御手段1と、印刷制御
手段1による制御に従って印刷データを印刷出力する印
刷手段5とから構成される。In the embodiment shown in FIG. 1, the sheet width detecting means 4 for detecting the sheet edge in the width direction of the printing sheet and the user setting "sweeping" or "printing" the unprinted data are set. Setting means 3, a storage means 2 for temporarily storing unprinted data, and the paper width detection means 4 when the paper width detection means 4 detects the paper edge before detecting a line feed code from the host device.
According to the setting contents of the setting means 3, the unprinted data is discarded (deleting function), or the contents of the storing means 2 is printed on the next line (line feed printing function) according to the print control means 1 and the control by the print control means 1. It comprises a printing means 5 for printing out print data.
【0013】次に、本実施形態の動作を図2のフローチ
ャートを用いて説明する。Next, the operation of this embodiment will be described with reference to the flowchart of FIG.
【0014】(1).印刷制御手段1は、上位装置から
1行分の印字データを受信すると印字動作を開始する。(1). The print control means 1 starts the printing operation when it receives the print data for one line from the host device.
【0015】(2).印刷制御手段1は、印字動作中、
常時、用紙幅検出手段4からの検出信号をチェックし
(図2のステップS1)、印字ヘッドが印刷可能領域内
にあるかどうかを判定する(図2のステップS2)。す
なわち、印字を継続できるかどうかをチェックする。(2). The print control means 1 is
The detection signal from the paper width detecting means 4 is constantly checked (step S1 in FIG. 2) to determine whether the print head is within the printable area (step S2 in FIG. 2). That is, it is checked whether printing can be continued.
【0016】(3).印刷制御手段1は、用紙幅検出手
段4から用紙端検出信号がなければ、印字ヘッドが印刷
可能領域内にあると判断し、通常の印字処理を行う(図
2のステップS8)。(3). If there is no paper edge detection signal from the paper width detection means 4, the print control means 1 determines that the print head is within the printable area, and performs normal print processing (step S8 in FIG. 2).
【0017】一方、印刷制御手段1は、用紙幅検出手段
4から用紙端検出信号を受信した場合、印字ヘッドが印
刷可能領域内にないと判断し、印字ヘッドの改行を行う
とともに、当該行中に未印字データがあるかどうかをチ
ェックする(図2のステップS3)。On the other hand, when the print control means 1 receives the paper edge detection signal from the paper width detection means 4, the print control means 1 determines that the print head is not within the printable area, performs a line feed of the print head, and It is checked whether or not there is unprinted data (step S3 in FIG. 2).
【0018】(4).ここで、印刷制御手段1は、当該
行中に未印字データがないと判断すると、次行の印字デ
ータの印字処理を行う(図2のステップS8)。(4). If the print control unit 1 determines that there is no unprinted data in the line, the print control unit 1 prints the print data of the next line (step S8 in FIG. 2).
【0019】一方、印刷制御手段1は、当該行中に未印
字データがあると判断すると、続いて設定手段3での未
印字データの処理設定内容をチェックする(図2のステ
ップS4)。On the other hand, when the print control means 1 determines that there is unprinted data in the line, it subsequently checks the processing setting contents of the unprinted data in the setting means 3 (step S4 in FIG. 2).
【0020】(5).印刷制御手段1は、未印字データ
の処理設定内容が、「掃き捨てる」であった場合には、
図3(a)に示されるように、未印字データを掃き捨
て、次行の印字データの印字処理を行う(図2のステッ
プS8)。(5). If the processing setting content of the unprinted data is “sweep out”, the print control means 1
As shown in FIG. 3A, the unprinted data is swept away, and the print data of the next line is printed (step S8 in FIG. 2).
【0021】一方、印刷制御手段1は、未印字データの
処理設定内容が、「印字する」であった場合、未印字デ
ータを記憶手段2に保存する(図2のステップS5)。On the other hand, when the process setting content of the unprinted data is "print", the print control means 1 stores the unprinted data in the storage means 2 (step S5 in FIG. 2).
【0022】(6).印刷制御手段1は、図3(b)に
示されるように、印字ヘッドが改行位置にあることを確
認すると、記憶手段2に保存されている未印字データを
印字する(図2のステップS6)。(6). As shown in FIG. 3B, when the print control unit 1 confirms that the print head is at the line feed position, it prints the unprinted data stored in the storage unit 2 (step S6 in FIG. 2). .
【0023】(7).印刷制御手段1は、未印字データ
の印字が終了すると、印字ヘッドを改行・センタリング
し、次行の印字データの印字処理を行う(図2のステッ
プS8)。(7). When the printing of the unprinted data is completed, the print control means 1 performs line feed / centering of the print head and prints the print data of the next line (step S8 in FIG. 2).
【0024】[0024]
【発明の効果】本発明は以上のように構成され機能する
ので、これによると、印刷制御手段は、改行コードを検
出する前に用紙端を検出すると、未印字データを次行に
印字することができ、これがため、未印字データの有
無、未印字データの長さ、未印字データの内容を知るこ
とが可能となり、印字内容を知るだけであれば印字漏れ
がないために再印字が不要であったり、清書する場合に
は印字データの再編集が容易となり、あるいは印字用紙
の選択が容易となるという従来にない優れたプリンタ装
置を提供することができる。Since the present invention is constructed and functions as described above, according to this, the print control means prints the unprinted data on the next line when the paper edge is detected before the line feed code is detected. Therefore, it is possible to know the presence / absence of unprinted data, the length of unprinted data, and the contents of unprinted data. If you only know the printed contents, there will be no printing omissions and reprinting is not necessary. Therefore, it is possible to provide an excellent printer device that has never been used, in which it is easy to re-edit print data in the case of clear copy, or it becomes easy to select print paper.
【図1】本発明の一実施形態を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.
【図2】図1の実施形態の動作を説明するためのフロー
チャートである。FIG. 2 is a flowchart for explaining the operation of the embodiment of FIG. 1;
【図3】図1の実施形態の動作を説明するための印字例
である。FIG. 3 is a print example for explaining the operation of the embodiment of FIG.
1 印刷制御手段 2 記憶手段 3 設定手段 4 用紙幅検出手段 1 Print Control Means 2 Storage Means 3 Setting Means 4 Paper Width Detection Means
Claims (4)
用紙幅検出手段と、この用紙幅検出手段からの情報を参
照し上位装置からの印字データを一行毎に印刷用紙に印
字させる制御をする印刷制御手段と、この印刷制御手段
による制御に従って前記印字データを前記印字用紙に印
刷出力する印刷手段とを備えたプリンタ装置において、 前記印刷制御手段が、上位装置からの改行コードを検出
する前に前記用紙幅検出手段からの用紙端検出通知を受
信した場合、当該行の残りの印字データ(未印字デー
タ)を次行に印字する改行印字機能を有することを特徴
とするプリンタ装置。1. A paper width detecting means for detecting a paper edge in the width direction of the print paper, and control for printing the print data from the host device line by line on the print paper with reference to the information from the paper width detecting means. In a printer device including a print control unit that performs the above, and a print unit that prints out the print data on the print paper under the control of the print control unit, the print control unit detects a line feed code from a higher-level device. A printer device having a line feed printing function for printing the remaining print data (unprinted data) of the line to the next line when the paper edge detection notification from the paper width detecting means is received previously.
時的に保存するための記憶手段を具備していることを特
徴とする請求項1記載のプリンタ装置。2. The printer device according to claim 1, wherein the print control unit includes a storage unit for temporarily storing unprinted data.
行コードを検出する前に前記用紙幅検出手段からの用紙
端検出通知を受けると、当該行の残りの印字データ(未
印字データ)を削除する削除機能を有することを特徴と
する請求項1記載のプリンタ装置。3. When the print control means receives a paper edge detection notification from the paper width detection means before detecting a line feed code from a higher-level device, the print data (unprinted data) remaining in the line is output. 2. The printer device according to claim 1, further comprising a delete function for deleting.
指令を受信して当該印刷制御手段を設定する設定手段を
併設し、 前記印刷制御手段が、前記設定手段による設定内容に従
って前記改行印字機能又は削除機能の一方を選択して未
印字データの処理を行う選択機能を有することを特徴と
する請求項3記載のプリンタ装置。4. The print control means is provided with a setting means for receiving a setting command from a user and setting the print control means, and the print control means has the line feed printing function according to the contents set by the setting means. 4. The printer device according to claim 3, further comprising a selection function of selecting one of the deletion function and processing unprinted data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17531795A JPH0924645A (en) | 1995-07-12 | 1995-07-12 | Printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP17531795A JPH0924645A (en) | 1995-07-12 | 1995-07-12 | Printer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0924645A true JPH0924645A (en) | 1997-01-28 |
Family
ID=15993981
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP17531795A Pending JPH0924645A (en) | 1995-07-12 | 1995-07-12 | Printer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0924645A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61121980A (en) * | 1984-11-19 | 1986-06-09 | Nec Corp | Printing apparatus |
JPS61268473A (en) * | 1985-05-22 | 1986-11-27 | Mitsubishi Electric Corp | Printer |
JPS6354268A (en) * | 1986-08-26 | 1988-03-08 | Nec Home Electronics Ltd | Paper detector for printer |
JPH05278283A (en) * | 1992-03-31 | 1993-10-26 | Nec Corp | Printer |
JPH06233090A (en) * | 1993-01-29 | 1994-08-19 | Canon Inc | Image forming device |
-
1995
- 1995-07-12 JP JP17531795A patent/JPH0924645A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61121980A (en) * | 1984-11-19 | 1986-06-09 | Nec Corp | Printing apparatus |
JPS61268473A (en) * | 1985-05-22 | 1986-11-27 | Mitsubishi Electric Corp | Printer |
JPS6354268A (en) * | 1986-08-26 | 1988-03-08 | Nec Home Electronics Ltd | Paper detector for printer |
JPH05278283A (en) * | 1992-03-31 | 1993-10-26 | Nec Corp | Printer |
JPH06233090A (en) * | 1993-01-29 | 1994-08-19 | Canon Inc | Image forming device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6233057B1 (en) | Information recording apparatus | |
JP2002091723A (en) | Printer host and storage medium storing operating program therefor | |
EP0675632B1 (en) | Image recording apparatus and method therefor | |
JP2001301282A (en) | Print processor for serial printer | |
JP2001310524A (en) | System and method for printing image | |
US6121989A (en) | Transparency having printing surface discriminating area method for discriminating printing surface of transparency in thermal printer and device appropriate therefor | |
US20030138279A1 (en) | Recording apparatus and method for discriminating recording medium type | |
JPH0924645A (en) | Printer | |
JP2003303320A (en) | Recorder and recording system | |
US5911526A (en) | Printing apparatus | |
JPH07117222A (en) | Ink jet recording apparatus and image forming apparatus | |
JP2987958B2 (en) | Printer | |
JP2907573B2 (en) | Label printer | |
JP2835886B2 (en) | Facsimile machine | |
JP3549304B2 (en) | Recording device | |
JP3744655B2 (en) | Image forming apparatus | |
US6798546B1 (en) | Scanning document reader and memory medium storing scanner driver program | |
JP3086323B2 (en) | Facsimile machine | |
JPH04238080A (en) | Printing control of printer | |
JP4616518B2 (en) | Recording device | |
JPH05330139A (en) | Printer | |
JPH0310876A (en) | Printing control apparatus of printer | |
JP2002002037A (en) | Image recorder | |
JP4046887B2 (en) | Recording device | |
JPH10254664A (en) | Printer |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 19980728 |