JP2004038239A - Print data transfer driver - Google Patents

Print data transfer driver Download PDF

Info

Publication number
JP2004038239A
JP2004038239A JP2002190311A JP2002190311A JP2004038239A JP 2004038239 A JP2004038239 A JP 2004038239A JP 2002190311 A JP2002190311 A JP 2002190311A JP 2002190311 A JP2002190311 A JP 2002190311A JP 2004038239 A JP2004038239 A JP 2004038239A
Authority
JP
Japan
Prior art keywords
print data
printer
data
transferred
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.)
Withdrawn
Application number
JP2002190311A
Other languages
Japanese (ja)
Inventor
Masahiko Umezawa
梅澤 雅彦
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002190311A priority Critical patent/JP2004038239A/en
Publication of JP2004038239A publication Critical patent/JP2004038239A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce waste of paper sheets by reprinting when an amended file is retransferred due to mistakes in a file transferred from a host to a printer. <P>SOLUTION: This printer driver counts the number of data bytes transferred to the printer. At the time when suspension command of a print is issued, the print data transferred to the printer are detected based on the counted number of bytes N. This driver compares the print data transferred to the printer from the head of the newly transferred print data to the print data of N bytes. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明はシリアルラインプリンタ方式の記録装置に対して、印刷データの転送制御を行う、印刷データ転送ドライバに関するものである。
【0002】
【従来の技術】
図2は、従来のプリンタにおいて印刷途中で、印刷中止を行った場合の、プリンタ側の動作フロー図である。
【0003】
ホストコンピュータ上で、作成した文書に対して印刷を実行すると、プリンタドライバは、印刷データをビットマップ形式のラスターデータに展開してハードディスクにスプールを行う。スプールされたラスターデータは、通信ドライバによって、プリンタに転送される(S2)。ここで、ホストコンピュータから送っているデータ、例えば文書に、誤記等の間違いが発見された場合、ユーザーは、プリンタドライバ上で印刷中止を行う(S3)。印刷中止命令は通信ドライバによってプリンタに転送され、印刷中止命令を受け取るとプリンタは現在の印刷を中止し、用紙の排紙する(S4)。そして、ユーザーがホストコンピュータ上で文書を訂正した後に、再度プリンタドライバ上から印刷データを再送すると(S5)、プリンタは新たな用紙の給紙を行い、先ほどの用紙とは、別の用紙に印刷を行う。この後、再び印刷中止がなければ(S6)、印刷データを最後まで印刷して、終了となる。
【0004】
【発明が解決しようとする課題】
図3の(a)は、印刷中止命令がきた時点で、プリンタが印刷済みの用紙であり、図3(b)、(c)はユーザーがホストコンピュータ上で作成した文書である。又、図3(b)は印刷中止前の文章であり、(c)は誤記を訂正後(ここでは、日付を訂正)の文章である。この場合、印刷中止命令がホストコンピュータから送られてきた時点では、プリンタが印刷済みのデータには、後に訂正される部分(日付)は含まれていない。しかし、プリンタは印刷中止命令を受けた時点で、用紙を排紙してしまう。そして、ユーザーが文書の日付を修正後に、印刷データを再度転送すると、新たな用紙に、再び印刷を開始する。
【0005】
このように、従来では、ホストコンピュータから印刷中止命令が送られてくると、印刷済みのデータの中に修正する部分が含まれていない場合でも、用紙を排紙して、新たな用紙に再印刷を開始するため、用紙がムダとなってしまう。
【0006】
本発明は、以上に点に着目して成されたもので、ホストよりプリンタに転送した、ファイルに間違いがあった場合に訂正後のファイルを再送信するが、再プリントによる紙のムダを減少する印刷データ転送ドライバを提供することを目的とする。
【0007】
【課題を解決するための手段】
上記目的を達成するために本発明は、以下の様な構成からなる。
【0008】
プリンタドライバは、データ通信ドライバ対して、印刷の中止命令と印刷停止命令を持ち、データ通信ドライバは第1の印字データをプリンタに転送中に、印刷停止命令を受けた場合、印刷データの転送停止を行う。データ通信ドライバはプリンタに転送済みの印字データのバイト数Nをカウントする手段を持ち、印刷停止命令を受けた時点で、プリンタへのデータ転送を中断し、第1の印字データの先頭データから、バイト数Nまでの印字データと、新たにスプールが行われた第二の印字データの比較を行う。
【0009】
更にこれを要約すれば、以下の構成に集約できる。
【0010】
(1)ホストコンピュータ上で、印刷中に印刷を中止する命令と印刷を停止する命令を実行可能な、シリアルラインプリンタ用の印字データ転送ドライバにおいて、プリンタに転送した印刷データのバイト数を計測する手段と、既に転送済みの第1の印字データと、新たに印刷が実行された印刷データの内、先頭データから前記計測バイト数までの第2の印字データを比較する手段を持つ事を特徴とする印刷データ転送ドライバ。
【0011】
(2)前記第1の印字データと前記第2の印字データが、一致した場合には第2の印字データが格納されているバッファの続きから、プリンタに印字データの転送を行い、不一致であった場合には、記録装置に対して第一印字データの印刷終了を報知し、第2の印字データの先頭データからプリンタにデータを転送することを特徴とする印刷データ転送ドライバ。
【0012】
【発明の実施の形態】
以下、添付図面を参照して本発明の公的な実施の形態について詳細に説明する。
【0013】
図4は本発明の代表的な実施形態であるインクジェット方式に従って記録を行う記録ヘッドを備えたプリンタ装置の外観斜視図である。
【0014】
図4において、1は記録用紙(或は、プラスチックシートなどの記録媒体)、2,3は記録用紙1の記録領域の上下に配置され矢印Aの方向に記録用紙1を搬送する搬送ローラ、4は搬送ローラ2,3を駆動するシート送りモータ、5は搬送ローラ2と3との間に位置し搬送ローラ2,3の回転軸に平行に設けられたガイドシャフト、6はガイドシャフト5に沿って往復移動(矢印B)するキャリッジ、7はキャリッジを移動させるキャリッジモータ、8はキャリッジモータ7の駆動力をキャリッジ6に伝達するベルトである。
【0015】
さて、キャリッジ6には、インクジェット方式に従ってインク液滴を吐出して記録を行う記録ヘッド9A〜9D(以下、これら4つの記録ヘッドを総称して言及するときには、記録ヘッド9とする)が搭載されている。記録ヘッド9はカラー画像記録用であり、キャリッジ6の移動方向に配置され、それぞれ、シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(Bk)の各色のインクに対応させて設けた4個の記録ヘッド(Kヘッド)9A、記録ヘッド(Cヘッド)9B、記録ヘッド(Mヘッド)9C、記録ヘッド(Yヘッド)9Dからなっている。記録ヘッド9A〜9D各々の前面、即ち、記録用紙1の記録面と所定間隔を於いて対抗する面には複数(例えば、64個)のインク吐出口をキャリッジ6の走査方向と交差させる方向に縦一列に配置している。そして、記録ヘッド9A〜9Dのロジック回路は同じ構成を持っている。
【0016】
又、このプリンタ装置の外装ケース(不図示)に取り付けられる操作パネル64には、オンライン/オフライン切り替えキー60A、ラインフィードキー60B、記録モード切り替えキー60C、リセットキー60D等のキー設定部の他、アラームランプ61Aや電源ランプ61Bの警告ランプなどのLEDランプや各種メッセージを表示するLCD65が設けられている。
【0017】
なお、91は記録用紙1に所望の画像を記録するためのインクを貯溜するインクタンクである。インクタンク91は、記録ヘッド9A〜9Dに対応して4色(シアン(C)、マゼンタ(M)、イエロ(Y)、ブラック(Bk))のインクを貯溜する4つのコンパートメントから構成されている。
【0018】
以下に詳述するが、プリンタ装置のCPUやこれに併設されたROM,RAM等を含む制御部は、ホストコンピュータ(以下、ホストという)100から指令信号やデータ信号(記録情報)を受信し、これに基づいて、各種モータ等の駆動をするとともに、記録ヘッド9A〜9Dに含まれる電気熱変換体(ヒータ)に駆動電源(ヒート電源)を印加し通電する。
【0019】
図5は、図4に示すプリンタ装置の制御回路の概略構成を示すブロック図である。
【0020】
マイクロプロセッサ形態のCPU21は、インターフェース22を介してホスト100に接続されており、制御プログラムを格納したROM24や更新可能な制御プログラムや処理プログラムや各種定数データなどを格納したEEPROM23、及び、ホスト100からインターフェース22を介して受信した指令信号(コマンド)や記録情報信号を格納するRAM25をアクセスし、これらのメモリに格納された情報に基づいて記録動作を制御する。さらに、CPU21は、出力ポート26及びキャリッジモータ制御回路42を介してキャリッジモータ7を動作させることによりキャリッジ6を移動させたり、出力ポート26及びシート送りモータ制御回路44を介してシート送りモータ4を動作させることにより搬送ローラ2,3などの搬送機構を動作させる。さらに、CPU21は、RAM25に格納されている記録情報に基づきヘッド駆動回路29を介して記録ヘッド9A〜9Dを駆動することにより、記録用紙1上に所望の画像を記録することができる。
【0021】
また、電源回路28からは、CPU21を動作させるためのロジック駆動電圧Vcc(例えば5V)、各種モータ駆動電圧Vm(例えば30V)、記録ヘッド9を駆動させるためのヒート電圧Vh(例えば25V)、及び、記録ヘッド9を制御するための、記録ヘッド制御回路29に電圧VDDHが印加される。
【0022】
さらに、操作キー60A〜60Dから入力される指示は入力ポート32を介してCPU21に伝えられ、CPU21からの命令が出力ポート36を介してブザー発生制御回路62に伝えられるとブザー63が鳴動したり、表示制御回路66に伝えられるとLCD65にメッセージが表示される。なお、図5において、70は上述した種々の構成要素を互いに接続するCPUバスである。
【0023】
図1は本実施例の動作フロー図であり、図7はホストコンピュータ内の概略図である。又、図6は、スプール後のデータの概略図である。
【0024】
以下図1、図6、図7を用いて本実施例の説明を行う。
【0025】
ホストコンピュータ100上で、アプリケーション701によって作成された印刷データ(例えば文書)は、プリンタドライバ上の印刷(S2)命令によって、ビットマップ形式のラスターデータに変換された印字データがスプールバッファ704(例えばハードディスク)にスプールされる(S3)。通信ドライバ703はプリンタ705とインターフェース22を介して、CPU22と接続され、双方向通信をしている。通信ドライバ703は、スプールバッファ704から第1の印字データの先頭データ、アドレスNからデータを読み出し、プリンタ100に印字データの転送を行う(S4)。通信ドライバ703は、プリンタ100への印字データの転送を行う際に、転送バイト数のカウントを行う。プリンタドライバ上で印刷STOPの命令が実行されない場合には(S6)、印刷は終了され(S7)、プリンタへの転送済みデータのカウントを行っていた転送バイト数はクリアされ(S8)、用紙の排紙が行われる(S9)。プリンタドライバ上で印刷STOPの命令が実行された場合に、それが印刷中止であった場合には(S11)、プリンタへの転送済みデータのカウントを行っていた転送バイト数はクリアされ(S8)、プリンタに対して用紙の排紙命令を転送する(S16)。
【0026】
S11で印刷中止命令でない場合には、印刷停止命令と判断し(S12)、プリンタへの印字データ転送を停止を行う(S13)。停止した時点での転送済みデータのカウント数をNとすると、通信ドライバ703は転送バイト数をNを元に、転送済みデータ領域Aを検出する。次に、ユーザーによって変更された第二のデータの印刷が、プリンタドライバ上(S15)で、実行され、ビットマップ形式のラスターデータに変換された印字データがスプールバッファ704(例えばハードディスク)にスプールされる(S16)。通信ドライバ703は転送バイト数をNを元に、第二の印字データの領域Bの検出を行い、領域Aと領域Bのデータの比較(S17)を行う。領域Aと領域Bのデータが一致した場合には、通信ドライバ703がプリンタに転送済み印字データの中に、ユーザーによって変更された文書内容含まれていないと判断する。次に第二の印字データがスプールされているバッファのアドレスM+αから、プリンタにデータの転送を再開し(S19)、転送バイト数をNから続きでカウントを行う。S18で領域Aと領域Bのデータが不一致であった場合には、通信ドライバ703がプリンタに転送済み印字データの中に、ユーザーによって変更された文書内容含まれていると判断しプリンタに対して、排紙命令を実行する(S20)。その後、給紙命令と共に、第二の印字データがスプールされているバッファのアドレスM(先頭データ)からプリンタにデータの転送を行う。
【0027】
【発明の効果】
ホストコンピュータがプリンタに転送した印字データのバイト数Nのカウントを行うことで、印字データを転送中にプリンタドライバによって印刷停止命令が実行された場合、既にプリンタに転送済みの印刷データNバイトと、新たにスプールされた印刷データの先頭からNバイトまでのデータのコンペアを行い、一致した場合には、新たにスプールされた印刷データの先頭からNバイト後から、プリンタに転送を行うことにより、ユーザーが印刷途中で、印刷データに間違いを発見した場合の、印刷用紙のムダを削減することが可能となる。
【図面の簡単な説明】
【図1】実施例の制御を示すフローチャート
【図2】従来例の制御を示すフローチャート
【図3】従来例における、印刷データを示す図
【図4】本発明の代表的な実施形態であるインクジェットプリンタ装置の構成を示す外観斜視図
【図5】インクジェットプリンタの制御回路の概略構成を示すブロック図
【図6】実施例における、スプールバッファ内の概略図
【図7】実施例における、ホストコンピュータとプリンタの概略図
【符号の説明】
1 記録媒体
2,3 搬送ローラ
4 シート送りモータ
5 ガイドシャフト
6 キャリッジ
7 キャリッジモータ
8 ベルト
9 記録ヘッド
21 CPU
22 インターフェース
23 EEPROM
24 ROM
25 RAM
26 出力ポート
28 電源装置
29 記録ヘッド制御回路
32 入力ポート
36 出力ポート
42 キャリッジモータ制御回路
43 搬送機構
44 シート送りモータ
60A オンライン/オフライン切り替えキー
60B ラインフィードキー
60C 記録モード切り替えキー
60D リセットキー
61A アラームLED
61B オンライン/オフライン表示様LED
62 ブザー発生制御回路
63 ブザー
64 操作パネル
65 LCD
66 表示制御回路
70 CPUバス
701 アプリケーション
702 プリンタドライバ
703 通信ドライバ
704 スプールバッファ
705 プリンタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a print data transfer driver that controls transfer of print data to a recording device of a serial line printer system.
[0002]
[Prior art]
FIG. 2 is an operation flowchart of the conventional printer when printing is stopped during printing.
[0003]
When printing is performed on the created document on the host computer, the printer driver expands the print data into raster data in a bitmap format and spools it on a hard disk. The spooled raster data is transferred to the printer by the communication driver (S2). Here, when an error such as a clerical error is found in data sent from the host computer, for example, a document, the user stops printing on the printer driver (S3). The print stop command is transferred to the printer by the communication driver, and upon receiving the print stop command, the printer stops the current printing and discharges the sheet (S4). Then, after the user corrects the document on the host computer and resends the print data from the printer driver again (S5), the printer feeds new paper and prints on a different paper from the previous paper. I do. Thereafter, if the printing is not stopped again (S6), the print data is printed to the end, and the process ends.
[0004]
[Problems to be solved by the invention]
FIG. 3A shows paper printed by the printer when the print stop command is issued, and FIGS. 3B and 3C show documents created by the user on the host computer. FIG. 3B shows the sentence before the printing is stopped, and FIG. 3C shows the sentence after correcting the error (here, the date is corrected). In this case, when the print stop command is sent from the host computer, the data already printed by the printer does not include a portion (date) to be corrected later. However, the printer discharges the sheet when receiving the print stop instruction. Then, when the user corrects the date of the document and transfers the print data again, printing is started again on a new sheet.
[0005]
As described above, in the related art, when a print stop command is sent from the host computer, even if the data to be corrected does not exist in the printed data, the paper is discharged and re-printed on a new paper. Since printing is started, the paper is wasted.
[0006]
The present invention has been made by paying attention to the above points, and when the file transferred from the host to the printer is incorrect, the corrected file is retransmitted, but waste of paper due to reprinting is reduced. It is an object of the present invention to provide a print data transfer driver that performs the following.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the present invention has the following configuration.
[0008]
The printer driver has a print stop command and a print stop command for the data communication driver, and the data communication driver stops transfer of print data when receiving the print stop command while transferring the first print data to the printer. I do. The data communication driver has means for counting the number of bytes N of the print data transferred to the printer. When receiving the print stop command, the data communication driver interrupts the data transfer to the printer and starts from the first data of the first print data. The print data up to the byte number N is compared with the newly spooled second print data.
[0009]
This can be further summarized as follows.
[0010]
(1) A print data transfer driver for a serial line printer capable of executing a command to stop printing during printing and a command to stop printing on a host computer measures the number of bytes of print data transferred to the printer. Means for comparing the first print data which has already been transferred with the second print data from the head data to the measured number of bytes among the newly printed print data. Print data transfer driver.
[0011]
(2) If the first print data and the second print data match, the print data is transferred to the printer from the continuation of the buffer in which the second print data is stored. A print data transfer driver that notifies the recording device of the end of printing of the first print data and transfers the data from the head data of the second print data to the printer.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a public embodiment of the present invention will be described in detail with reference to the accompanying drawings.
[0013]
FIG. 4 is an external perspective view of a printer device having a recording head that performs recording according to an ink jet system, which is a typical embodiment of the present invention.
[0014]
In FIG. 4, reference numeral 1 denotes a recording sheet (or a recording medium such as a plastic sheet); Is a sheet feed motor for driving the conveying rollers 2 and 3, 5 is a guide shaft located between the conveying rollers 2 and 3 and provided in parallel with the rotation axis of the conveying rollers 2 and 3, and 6 is along the guide shaft 5. A carriage motor for moving the carriage; and a belt for transmitting the driving force of the carriage motor to the carriage.
[0015]
On the carriage 6, recording heads 9A to 9D (hereinafter, referred to as the recording head 9 when these four recording heads are collectively referred to) for performing recording by ejecting ink droplets according to an ink jet system are mounted. ing. The recording head 9 is for recording a color image, is disposed in the moving direction of the carriage 6, and is provided corresponding to each color ink of cyan (C), magenta (M), yellow (Y), and black (Bk). The recording head (K head) 9A, the recording head (C head) 9B, the recording head (M head) 9C, and the recording head (Y head) 9D. On the front surface of each of the recording heads 9A to 9D, that is, the surface opposing the recording surface of the recording paper 1 at a predetermined interval, a plurality of (for example, 64) ink ejection ports are arranged in a direction intersecting the scanning direction of the carriage 6. They are arranged vertically. The logic circuits of the recording heads 9A to 9D have the same configuration.
[0016]
An operation panel 64 mounted on an outer case (not shown) of the printer device includes key setting units such as an online / offline switching key 60A, a line feed key 60B, a recording mode switching key 60C, and a reset key 60D. An LED lamp such as an alarm lamp 61A and a warning lamp of a power supply lamp 61B and an LCD 65 for displaying various messages are provided.
[0017]
Reference numeral 91 denotes an ink tank for storing ink for recording a desired image on the recording paper 1. The ink tank 91 includes four compartments for storing inks of four colors (cyan (C), magenta (M), yellow (Y), and black (Bk)) corresponding to the recording heads 9A to 9D. .
[0018]
As will be described in detail below, a control unit including a CPU of the printer device and a ROM and a RAM attached thereto receives a command signal and a data signal (recording information) from a host computer (hereinafter, referred to as a host) 100, Based on this, various motors and the like are driven, and a drive power supply (heat power supply) is applied to the electrothermal transducers (heaters) included in the recording heads 9A to 9D to supply electricity.
[0019]
FIG. 5 is a block diagram showing a schematic configuration of a control circuit of the printer device shown in FIG.
[0020]
The CPU 21 in the form of a microprocessor is connected to the host 100 via an interface 22. The CPU 21 stores a ROM 24 storing a control program, an EEPROM 23 storing an updatable control program, a processing program, various constant data, and the like. The RAM 25 that stores the command signal (command) and the recording information signal received via the interface 22 is accessed, and the recording operation is controlled based on the information stored in these memories. Further, the CPU 21 moves the carriage 6 by operating the carriage motor 7 through the output port 26 and the carriage motor control circuit 42, and controls the sheet feed motor 4 through the output port 26 and the sheet feed motor control circuit 44. By operating, the transport mechanisms such as the transport rollers 2 and 3 are operated. Further, the CPU 21 can record a desired image on the recording paper 1 by driving the recording heads 9A to 9D via the head driving circuit 29 based on the recording information stored in the RAM 25.
[0021]
Further, from the power supply circuit 28, a logic drive voltage Vcc (for example, 5V) for operating the CPU 21, various motor drive voltages Vm (for example, 30V), a heat voltage Vh (for example, 25V) for driving the recording head 9, and The voltage VDDH is applied to a printhead control circuit 29 for controlling the printhead 9.
[0022]
Further, instructions input from the operation keys 60A to 60D are transmitted to the CPU 21 via the input port 32, and when a command from the CPU 21 is transmitted to the buzzer generation control circuit 62 via the output port 36, the buzzer 63 sounds. Is transmitted to the display control circuit 66, a message is displayed on the LCD 65. In FIG. 5, reference numeral 70 denotes a CPU bus that connects the various components described above to one another.
[0023]
FIG. 1 is an operation flowchart of the present embodiment, and FIG. 7 is a schematic diagram of the inside of a host computer. FIG. 6 is a schematic diagram of data after spooling.
[0024]
Hereinafter, this embodiment will be described with reference to FIGS. 1, 6, and 7. FIG.
[0025]
On the host computer 100, print data (for example, a document) created by the application 701 is converted into bitmap raster data by a print (S2) command on a printer driver. ) (S3). The communication driver 703 is connected to the CPU 22 via the printer 705 and the interface 22, and performs bidirectional communication. The communication driver 703 reads the first print data from the spool buffer 704 and the data from the address N, and transfers the print data to the printer 100 (S4). The communication driver 703 counts the number of transfer bytes when transferring print data to the printer 100. If the print STOP command is not executed on the printer driver (S6), the printing is terminated (S7), the number of transfer bytes for counting the data transferred to the printer is cleared (S8), and The paper is discharged (S9). When the print STOP command is executed on the printer driver and the printing is stopped (S11), the number of transfer bytes for counting the data transferred to the printer is cleared (S8). Then, a paper discharge command is transferred to the printer (S16).
[0026]
If the command is not a print stop command in S11, it is determined that the command is a print stop command (S12), and print data transfer to the printer is stopped (S13). Assuming that the counted number of transferred data at the time of stopping is N, the communication driver 703 detects the transferred data area A based on the number of transferred bytes N. Next, the printing of the second data changed by the user is executed on the printer driver (S15), and the print data converted into the raster data in the bitmap format is spooled in the spool buffer 704 (for example, a hard disk). (S16). The communication driver 703 detects the area B of the second print data based on the number of transfer bytes N, and compares the data of the area A with the data of the area B (S17). If the data in the area A matches the data in the area B, the communication driver 703 determines that the print data transferred to the printer does not include the document content changed by the user. Next, the data transfer to the printer is restarted from the address M + α of the buffer in which the second print data is spooled (S19), and the number of transfer bytes is counted continuously from N. If the data in the area A and the data in the area B do not match in S18, the communication driver 703 determines that the print data transferred to the printer includes the document content changed by the user, and Then, the paper discharge command is executed (S20). Thereafter, the data is transferred to the printer from the address M (head data) of the buffer in which the second print data is spooled together with the paper feed command.
[0027]
【The invention's effect】
When the host computer counts the number of bytes N of the print data transferred to the printer, if a print stop command is executed by the printer driver during the transfer of the print data, N bytes of the print data already transferred to the printer and The data of the first N bytes of the newly spooled print data is compared, and if they match, the data is transferred to the printer N bytes after the first of the newly spooled print data. Can reduce waste of printing paper when an error is found in print data during printing.
[Brief description of the drawings]
FIG. 1 is a flowchart showing control of an embodiment. FIG. 2 is a flowchart showing control of a conventional example. FIG. 3 is a diagram showing print data in a conventional example. FIG. 4 is an ink jet as a typical embodiment of the present invention. FIG. 5 is a block diagram showing a schematic configuration of a control circuit of the ink jet printer. FIG. 6 is a schematic diagram of a spool buffer in the embodiment. FIG. Schematic diagram of printer [Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Recording medium 2, 3 Conveyance roller 4 Sheet feed motor 5 Guide shaft 6 Carriage 7 Carriage motor 8 Belt 9 Recording head 21 CPU
22 Interface 23 EEPROM
24 ROM
25 RAM
26 Output Port 28 Power Supply 29 Recording Head Control Circuit 32 Input Port 36 Output Port 42 Carriage Motor Control Circuit 43 Transport Mechanism 44 Sheet Feed Motor 60A Online / Offline Switching Key 60B Line Feed Key 60C Recording Mode Switching Key 60D Reset Key 61A Alarm LED
61B LED for online / offline display
62 Buzzer generation control circuit 63 Buzzer 64 Operation panel 65 LCD
66 display control circuit 70 CPU bus 701 application 702 printer driver 703 communication driver 704 spool buffer 705 printer

Claims (2)

ホストコンピュータ上で、印刷中に印刷を中止する命令と印刷を停止する命令を実行可能な、シリアルラインプリンタ用の印字データ転送ドライバにおいて、プリンタに転送した印刷データのバイト数を計測する手段と、既に転送済みの第1の印字データと、新たに印刷が実行された印刷データの内、先頭データから前記計測バイト数までの第2の印字データを比較する手段を持つ事を特徴とする印刷データ転送ドライバ。Means for measuring the number of bytes of the print data transferred to the printer in a print data transfer driver for a serial line printer, capable of executing a command to stop printing and a command to stop printing during printing on the host computer; Print data having means for comparing the first print data that has already been transferred with the second print data from the head data to the measured number of bytes among print data that has been newly printed. Transfer driver. 前記第1の印字データと前記第2の印字データが、一致した場合には第2の印字データが格納されているバッファの続きから、プリンタに印字データの転送を行い、不一致であった場合には、記録装置に対して第一印字データの印刷終了を報知し、第2の印字データの先頭データからプリンタにデータを転送することを特徴とする印刷データ転送ドライバ。When the first print data and the second print data match, the print data is transferred to the printer from the continuation of the buffer in which the second print data is stored. A print data transfer driver for notifying the printing apparatus of the end of printing of the first print data and transferring the data from the head data of the second print data to the printer.
JP2002190311A 2002-06-28 2002-06-28 Print data transfer driver Withdrawn JP2004038239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002190311A JP2004038239A (en) 2002-06-28 2002-06-28 Print data transfer driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002190311A JP2004038239A (en) 2002-06-28 2002-06-28 Print data transfer driver

Publications (1)

Publication Number Publication Date
JP2004038239A true JP2004038239A (en) 2004-02-05

Family

ID=31700257

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002190311A Withdrawn JP2004038239A (en) 2002-06-28 2002-06-28 Print data transfer driver

Country Status (1)

Country Link
JP (1) JP2004038239A (en)

Similar Documents

Publication Publication Date Title
JP5096873B2 (en) Printing apparatus, printing apparatus control method, and computer program
JPH0976584A (en) Printer
JP2011201057A (en) Print controlling apparatus, method, and program
JPH07323645A (en) Recording apparatus
US20070109588A1 (en) Image forming system, printing apparatus fot the system, and image forming method
JP5901221B2 (en) Printing control apparatus, method and program
JPH1044557A (en) Printer and method for stopping it forcibly
JP2004038239A (en) Print data transfer driver
JP2004066595A (en) Recorder and recording method for pattern for registration
JPH10133998A (en) Data processing method and recorder using the method
US8137015B2 (en) Image forming method for determining a position of an ink ribbon with a boundary line
JP2004025795A (en) Recording device
JPH0425465A (en) Ink jet recorder
JP5971919B2 (en) Printing control apparatus, method and program
JPS62246742A (en) Recording apparatus
JP3007094B2 (en) Recording device
JP2002114407A (en) Sheet feeder, and image forming apparatus
JP5921140B2 (en) Printing control apparatus, method and program
JP2004034296A (en) Inkjet recorder
JP3112549B2 (en) Thermal printer
JP2007055025A (en) Method for controlling electric power source for recording apparatus
JP2012166445A (en) Device and method for controlling printing, and program
JP2001310509A (en) Color printer and personal computer connected to the color printer
JP2000326532A (en) Apparatus for printing recording material
KR19990038221A (en) How to change the output image of an inkjet printer

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050906