JP2004240758A - Printing system - Google Patents

Printing system Download PDF

Info

Publication number
JP2004240758A
JP2004240758A JP2003029761A JP2003029761A JP2004240758A JP 2004240758 A JP2004240758 A JP 2004240758A JP 2003029761 A JP2003029761 A JP 2003029761A JP 2003029761 A JP2003029761 A JP 2003029761A JP 2004240758 A JP2004240758 A JP 2004240758A
Authority
JP
Japan
Prior art keywords
printer driver
printing
size
memory
available
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
JP2003029761A
Other languages
Japanese (ja)
Inventor
Takeshi Ota
武志 太田
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 JP2003029761A priority Critical patent/JP2004240758A/en
Publication of JP2004240758A publication Critical patent/JP2004240758A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing system that can continue printing and can produce a printed matter in a short time by minimizing a user's trial and error upon falling into insufficient memory. <P>SOLUTION: A host computer and a recording device are connected via an interface capable of two-way communication. The host computer incorporates application software capable of printing and a printer driver. When the application software starts printing to start printer driver processing, the size of an area available in storing means by the printer driver is checked, and the available area size is compared with a size of work memory necessary for the printer driver to generate print data. If the necessary work memory volume is larger than the available area size, a maximum raster count securable in the available memory is calculated, and the print data are generated in the raster count, and transferred to the recording device that prints them. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ホストコンピュータと記録装置とを利用した印刷システムに関するものである。
【0002】
【従来の技術】
従来、パーソナルコンピュータ(以下、パソコンと略す)をホストとし、印刷可能な記録装置(以下、プリンタ)等の周辺機器を前記パソコンと接続することにより、様々なアプリケーションソフトウェアからプリンタにおいて印刷させることができる印刷システムが存在している。このようなシステムにおいて前記アプリケーションソフトウェアから印刷処理を行うと、アプリケーションが印刷処理に必要なメモリワーク領域とプリンタドライバの印刷処理必要メモリワーク領域で数MBから数十MB以上のワークメモリ領域がパソコン上の記憶装置に利用可能な領域が必要である。
【0003】
近年、前記パソコンの簡易型のものとして、ハードディスクドライブ等の大容量記憶装置を備えず、その代わりとして通常数十MBのデータを記憶できるメモリ(RAM)のみを記憶手段として備える簡易パーソナルコンピュータ(以下、ハンドヘルドPC)や、そのような簡易型パソコンを搭載したインターネット端末やTV及びインフォメーションアプライアンス機器が増えつつある。アプリケーションの高機能化やデジカメ画像の記録データ等から、パソコン内の記憶装置のプリンタドライバが利用可能領域は、益々少なくなっていく傾向がある。
【0004】
又、近年プリンタは、印刷スピードアップのため、プリンタドライバは、1ラスターずつの印刷データ転送から、複数ラスター分をまとめての印刷データ転送(以下、マルチラスタデータ転送)を求められている。一般に印刷データは、主に、コマンド部とイメージデータ部が1つのデータ構成となっており、コマンド部の解釈・処理はファームウエア(ソフト)で、それに続くイメージデータは直接ASIC等のハードウエアで処理される。プリンタの性能によるが、全印刷データ中の1つのコマンド部の解釈・処理に1msec. から数msec. 掛かり、近年のプリンタの高速化、高解像度化、(多ノズル+高周波数等)に伴い、プリンタ内ファーム(ソフト)処理を軽減するために、又、プリンタの印刷スピードを最大限に引き出すために、1ラスター単位のデータ転送方法から複数ラスターを1ブロック単位として印刷データ受信できるマルチラスターデータ転送方式が採用され、現在主流となっている。
【0005】
マルチラスター転送では、従来1ラスターデータに付いていた1つのコマンド部を、複数ラスターデータをひとまとめとして1つのコマンド部で賄うことができ、そして、プリンタには推奨ラスター単位数があり、その推奨ラスター数で最大の印字スピードが達成できるような設計となっている。
【0006】
しかしながら、WindowsCE OS等を搭載した情報機器では搭載メモリが少なく、印字データをプリンタが推奨する複数ラスター分バッファリングするには多量のメモリが必要となり、プリンタドライバが印刷処理できないケースが今後増大することが予想される。
【0007】
このようなシステムにおいて前記アプリケーションソフトウェアから印刷処理を行うとき、もし、プリンタドライバが処理に必要なメモリワーク領域を前記記憶装置に確保できない場合、プリンタドライバは処理を中止している。そして、ユーザは印刷物を手に入れることはできない。その後、ユーザは記憶装置内のデータを消す又はドライバの設定を変更する等を行い、試行錯誤をしながら印刷を再度試みる必要がある。
【0008】
【発明が解決しようとする課題】
前述した通り、前記ハンドヘルドPCを利用した印刷システムの場合、プリンタドライバが利用可能なメモリ領域が確保できない場合、印刷処理を中止してしまい、ユーザは印刷物を手に入れることはできない。その後、ユーザは記憶装置内のデータを消す又はドライバの設定を変更する等を行い、試行錯誤をしながら印刷を再度試みる必要がある。
【0009】
しかしながら、ユーザは、どの位の空きメモリ量を作らなければならないか分からず、記憶装置のデータを消すにしても全RAMメモリ容量も少ないため、消せるデータの選択は難しい場合が多く、他のデバイスにバックアップを取るにしても容易ではない。
【0010】
又、ハンドヘルドPCを利用した印刷要求は、メールの印刷やインターネットWebサイトのホームページ印刷等の品位やスピードよりも情報が印刷できることが重要である場合が多い。
【0011】
そこで、本発明は、ユーザがメモリ不足に陥った場合の試行錯誤を極力減らして印刷を続行できるとともに、早い時間で印刷物を入手できる印刷システムを提供することにある。
【0012】
【課題を解決するための手段】
上記目的を達成するため、本発明は、有限の容量から成りデータを読み書き可能な記憶手段を備えるホストコンピュータと、印刷可能な記録装置とから構成され、前記ホストコンピュータと前記記録装置とは、双方向通信が可能なインタフェースにて接続されており、前記ホストコンピュータには印刷可能なアプリケーションソフトウェアと、そのデータを前記記録装置が理解できる印刷データに変換作成し前記記録装置へ前記インターフェースを介して送信することができるプリンタドライバが組み込まれ、前記アプリケーションソフトウェアにおいて印刷が開始し、前記プリンタドライバ処理が開始された時、前記記憶手段における前記プリンタドライバが利用可能な領域の大きさを確認し、この利用可能な領域の大きさと前記プリンタドライバが前記印刷データ生成に必要なワークメモリの大きさとを比較し、前記必要ワークメモリ量が前記利用可能領域の大きさより大きい場合、前記利用可能メモリ内で確保可能な最大のラスター数を算出し、そのラスター数で印刷データを生成、データ転送し、前記記録装置に印刷を行わせることを特徴とする。
【0013】
【発明の実施の形態】
以下に本発明の実施の形態を添付図面に基づいて説明する。
【0014】
図1は本発明を実施した印刷システムの構成を示す図である。同図において、1はハンドヘルドPCであり、搭載されているOSはMicrosoft Windows CEである。2は液晶ディスプレイ、3はキーボード、4はUSBポート(ホスト)である。液晶ディスプレイ2はタッチパネルとなっており、スタイラスペン6を用いて、ドラッグ、ドロップ、タップ等の操作をすることにより、パソコン用マウスと同様な機能を実現している。5はインクジェット方式のカラープリンタであり、4はUSBポート(クライアント)である。ハンドヘルドPC1とプリンタ5とはUSBケーブル7で接続されており、これらの装置間でデータの双方向通信が可能である。
【0015】
図2はハンドヘルドPC1の内部ハードウェア構成を表すブロック図である。ハンドヘルドPC1は簡易パソコンとして活用される携帯端末であり、その主な特徴としてハードディスクドライブのような大容量記憶装置(通常、数GBのデータを記憶できる装置)を備えておらず、記憶手段としてはRAMのみを備える。同図において、8はマイクロプロセッサ等から構成されるCPUであり、ハンドヘルドPC1の中央処理装置として、ROM9に記憶されているプログラムに従ってRAM10、通信部11、表示部12、操作部13を制御する。
【0016】
ROM9には前記OS、ディスプレイやポートを制御する各デバイスドライバ、ハンドヘルドPC1上で起動できる各アプリケーション等が記憶されている。
RAM10は通常32MB程度の容量で構成され、その内の半分がプログラム実行用に、残りの半分がデータ記憶用に割り当てられる。通信部11にはUSBポート4が含まれており、USBの通信を制御する。表示部12には液晶ディスプレイ2が含まれており、アプリケーション等のユーザーインタフェース(以降、UIと省略することがある)の表示等の制御を行う。操作部13にはキーボード3が含まれており、キー入力を制御する。
【0017】
図3はプリンタ5の内部ハードウェア構成を表すブロック図である。
【0018】
図3において、14はマイクロプロセッサ等から構成されるCPUであり、プリンタ5の中央処理装置として、ROM16に記憶されているプログラムに従って、RAM17、通信部18、記録部19を制御する。ASIC15は、通信部18で受信した印刷データをプリントヘッド等の記録部へデータ転送等の処理を行なうハードウエアである。
【0019】
ROM16にはプリンタドライバ20(図4にて後述する)の制御に従ってプリンタ5が記録(印刷)処理を行うプログラムが記憶されている。RAM17は主にハンドヘルドPC1から送られて、それを元に記録部19によって印刷される印字データが一時的に記憶される。通信部18にはUSBポート4が含まれており、USBの通信を制御する。記録部19は、インクジェット方式の記録ヘッド、各カラーインク、キャリッジ、記録紙搬送機構等から構成される記録ユニットと、前記印字データを元に前記記録ヘッドにて印字用パルスを発生させるための電気回路とから構成される。
【0020】
印刷可能なアプリケーション(図7にて後述する)上での印刷操作によって、アプリケーションで開かれているファイルの表示内容(画像データ)が、プリンタドライバ20を介してプリンタ5制御用コマンドを含む印字データに変換された後、ハンドヘルドPC1のRAM10のデータ記憶用エリアに一時的に格納され、USBポート4からUSBインタフェースを介してプリンタ5に送られる。
プリンタ5にて受信された印字データは、記録部19によって印字用パルスに変換されて、記録紙上に印刷される。
【0021】
図4はプリンタ5を制御するプリンタドライバの構成を表すブロック図である。
【0022】
図4において、矢印はデータのフローを表す。20はプリンタドライバであり、ハンドヘルドPC1のROM9に記憶されている。21はUI制御部であり、プリンタドライバ20のUIを制御する。22はプリンタ制御部であり、UI制御部からの指示に従ってプリンタ5に制御コマンドを送ることによりプリンタ5を制御したり、プリンタ5からの応答コマンドに基づいてUI制御部にプリンタ5の状態を伝えたりする。23はポート制御部であり、プリンタ制御部22から渡された印字データを通信部12に対してライトしたり、プリンタ5からの応答コマンドを通信部12からリードしたり、主にプリンタドライバレベルから見たポートの制御を行う。
【0023】
図5はプリンタドライバ20のUIの図であり、プリンタドライバ20が起動した時、ハンドヘルドPC1の液晶ディスプレイ2に表示される。
【0024】
図5において、35はメインウィンドウである。25はプリンタ選択部であり、コンボボックスにて構成され、接続されているプリンタを選択することにより、そのプリンタにて印刷を行うことができる。同図ではプリンタ5で印刷できる“BJプリンタ”が選択されている。
【0025】
26はポート選択部であり、コンボボックスにて構成され、ハンドヘルドPC1に装備されている印刷可能なポートを選択することができる。同図ではUSBポートが選択されている。27は用紙サイズ選択部であり、コンボボックスにて構成され、用紙サイズとして、A6、A5、A4の3タイプのうちから何れか1つを選択可能である。
【0026】
28は下書き印刷選択部であり、チェックボックスで構成され、チェックされている場合、印字品位を落として下書き印刷の品位で印刷処理を行い。チェックが外されている場合、標準品位で印刷処理を行う。同図ではチェックが外されている状態を表す。29はカラー印刷選択部であり、チェックボックスで構成され、チェックされている場合、カラー印刷が行われ、チェックが外されている場合、モノクロ印刷が行われる。同図ではチェックされている状態を表す。
【0027】
30は印刷範囲選択部であり、ラジオボタンで構成され、“すべて”が選択されている場合、アプリケーションの表示上で選択されている領域に拘らず全ての範囲が印刷され、“選択”が選択されている場合、アプリケーションの表示上で選択された領域内が印刷される。同図では“すべて”が選択されている状態を表す。31は印刷の向き選択部であり、ラジオボタンで構成され、“縦”が選択されている場合、アプリケーションの表示を用紙の縦方向に展開して印刷し、“横”が選択されている場合、アプリケーションの表示を用紙の横方向に展開して印刷する。同図では“縦”が選択されている。
【0028】
32は余白設定部であり、数値を入力可能なテキストボックスで構成され、用紙の上下左右の余白をミリメートル単位でそれぞれ設定することができる。同図では上下左右の余白が全て25mmで設定されている状態を表す。33はOKボタンであり、このボタンがタップされると印刷処理が開始される。34はキャンセルボタンであり、このボタンがタップされると、印刷を行うことなく、メインウィンドウ35を閉じる。以降では、プリンタ選択部25、ポート選択部26、用紙サイズ選択部27、下書き印刷選択部28、カラー印刷選択部29、印刷範囲選択部30、印刷の向き選択部31、余白設定部32における設定の組み合わせを印刷設定と呼ぶ。
【0029】
図6はメモリ容量不足による印刷不可能メッセージを表す図であり、現在のメモリ容量では十分な印刷サイズでの印刷はできない旨と、空きメモリ容量を増やしてください等のその場合の対処方法をユーザに知らせるメッセージ51を表示する。OKボタン52がタップされると印刷処理を中止する。
【0030】
図7は印刷可能なアプリケーションのUIの図であり、本アプリケーションは例としてホームページ閲覧ソフト(Webブラウザ)のアプリケーションである。
【0031】
図7において、60はメインウィンドウであり、ホームページが表示された状態を表す。62は印刷を開始するための印刷ボタンであり、このボタンをタップすることにより、プリンタドライバ20が起動してメインウィンドウ35が表示される。そして、メインウィンドウ35内のOKボタン33をタップすることにより、表示されているホームページコンテンツ61の印刷が開始される。63は本アプリケーションを閉じるためのクローズボタンであり、このボタンをタップすることにより、メインウィンドウ60を閉じ、本アプリケーションを終了する。
【0032】
図8は印刷コマンド構成例を表す図であり、図8−1はシングルラスターイメージコマンド例、図8−2はマルチラスターイメージコマンド例である。
【0033】
図9は本実施の形態の動作(処理)を表すフローチャートであり、この図面に従って動作の説明をする。
【0034】
プリンタドライバ20のメインウィンドウ35内のOKボタン33がタップされて印刷処理が開始された後の処理を表すフローチャートである。プリンタドライバ20のメインウィンドウ35内のOKボタン33がタップされて印刷処理が開始されると(S901)、印刷設定に従って印刷処理に必要なバッファサイズを計算する(S902)。
【0035】
次に、利用可能なメモリ量をチェックし(S903)、ドライバが印刷処理に必要な空きメモリ不足、即ち利用可能な領域の大きさとプリンタドライバが印刷データ生成に必要なワークメモリの大きさとを比較し(S909)、必要ワークメモリ量が利用可能領域の大きさより大きい場合、ステップS907へ進む。ドライバが印刷処理に必要な空きメモリが十分にある場合は、通常ドライバ処理の次のステップS904へ進む。
【0036】
ステップS907において、利用可能なメモリ容量内で確保可能な最大印刷データラスタブロック数を算出し、ステップS910へ進む。S910で、ステップS907にて算出したラスター数が1ラスター分以上確保可能かどうか判断し、1ラスター以上確保可能な場合S904へ進み、ステップS907にて算出したラスターブロック数にてメモリを確保する。
【0037】
又、ステップS910において、ステップS907において1ラスター分メモリ確保できない場合、ステップS908へ進み、現在のメモリ容量では印刷ができない旨と空きメモリを作成要求の旨(51)をユーザに知らせるメッセージを表示し(50)、OKボタン(52)がタップされたら印刷処理を終了する。ステップS904において確保済み印刷処理用メモリを利用し、図8−2の印刷データを作成する(S905)。例えば、推奨ラスターブロック数が16ラスターのプリンタで、S909にて16ラスター分確保できないとき、S907にて利用可能なメモリ容量内で確保可能な最大印刷データラスタブロック数が8と算出されたとき、図8−2においてブロック数指定は8とし、1つのコマンドで8ラスター分のラスターイメージデータを作成する。
【0038】
そして、図2の通信部(11)へその印刷データを書き込み(S906)、プリンタドライバにおける印刷処理を終了する(S913)。
【0039】
以上、本発明の動作(処理)について説明したが、本実施の形態においてはインクジェット方式のカラープリンタの例を挙げた。この例に限らずレーザービームプリンタやモノクロプリンタに対しても有効である。
【0040】
又、本実施の形態においては、印刷可能なアプリケーションの例としてインターネットWebブラウザを使用したが、この例に限られることなく、印刷可能な任意のアプリケーションにおいて実現可能である。
【0041】
又、本実施の形態においては、例としてOSにMicrosoft Windows CEを使用したが、このOSに限られることなく同様な構成を採ることにより、任意のOSにおいて実現可能である。
【0042】
又、本実施の形態においてハンドヘルドPCを例にしたが、小容量の記憶装置しか搭載していないインターネットアプライアンス機器及びインフォメーションアプライアンス機器からの印刷や、印刷設定ができない機器(デバイス)からの印刷においても本発明は有効である。
【0043】
更に、本実施の形態においては、例として、ハンドヘルドPC1とプリンタ5との間のインタフェースとしてUSB(Universal Serial Bus)インタフェースを用いたが、このインタフェースに限られることなく、同様な構成を採ることにより、任意のインタフェースにおいて実現可能である。
【0044】
【発明の効果】
以上の説明で明らかなように、本発明によれば、省メモリでプリンタドライバによる印刷処理を実現する際に、印刷中止になることなく、可能な限りプリンタに適する速度で印刷処理を続行することができるという効果が得られる。
【図面の簡単な説明】
【図1】本発明に係る印刷システムの構成図である。
【図2】ハンドヘルドPCの内部ハードウェア構成を示すブロック図である。
【図3】プリンタの内部ハードウェア構成を示すブロック図である。
【図4】プリンタを制御するプリンタドライバの構成を示すブロック図である。
【図5】プリンタドライバのユーザインターフェース(UI)の図である。
【図6】メモリ容量不足による印刷不可能メッセージの図である。
【図7】印刷可能なソフトウエア(アプリケーション:例)を示す図である。
【図8】印刷コマンド構成例を示す図である。
【図9】利用可能メモリ容量により印刷データラスター数を変える処理のフローチャートである。
【符号の説明】
1 ハンドヘルドPC
2 液晶ディスプレイ
4 USBポート
5 プリンタ
11 ハンドヘルドPCのメモリ(RAM)
15 プリンタのASIC(ゲートアレイ)
19 記録部
20 プリンタドライバ
33,42,52 OKボタン
34,43 キャンセルボタン
40 利用可能メモリ内で印刷を試みるかメッセージ
50 メモリ不足による印刷不可能メッセージ
62 印刷ボタン
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a printing system using a host computer and a recording device.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, a personal computer (hereinafter, abbreviated as a personal computer) is used as a host, and peripheral devices such as a printable recording device (hereinafter, a printer) are connected to the personal computer. A printing system exists. In such a system, when the print processing is performed from the application software, the work memory area of several MB to several tens MB or more in the memory work area required for the print processing of the application and the memory work area required for the print processing of the printer driver is stored on the personal computer. Available storage area is required.
[0003]
In recent years, as a simple type of the personal computer, a simple personal computer (hereinafter referred to as a simple personal computer (hereinafter referred to as a simple personal computer) which does not include a large-capacity storage device such as a hard disk drive and has only a memory (RAM) capable of storing data of several tens of MBs as a storage unit instead. , Handheld PCs), Internet terminals, TVs and information appliance devices equipped with such simplified personal computers are increasing. The area where a printer driver of a storage device in a personal computer can be used tends to be smaller and smaller due to higher functionality of applications and recording data of digital camera images.
[0004]
In recent years, printers have been required to transfer print data for a plurality of rasters (hereinafter, multi-raster data transfer) from printer data transfer for each raster in order to increase printing speed. In general, print data is mainly composed of a command portion and an image data portion, and the interpretation and processing of the command portion is performed by firmware (software), and the subsequent image data is directly processed by hardware such as an ASIC. It is processed. Depending on the performance of the printer, it takes 1 msec. To interpret and process one command part in all print data. To several msec. In order to reduce the firmware (software) processing in the printer and to maximize the printing speed of the printer with the recent increase in the speed and resolution of the printer (multiple nozzles + high frequency, etc.) A multi-raster data transfer method capable of receiving print data in units of a plurality of rasters as one block has been adopted from a data transfer method in units of one raster, and is now mainstream.
[0005]
In the multi-raster transfer, one command part conventionally attached to one raster data can be covered by one command part by collecting a plurality of pieces of raster data. The printer has a recommended number of raster units. The design is such that the maximum printing speed can be achieved in number.
[0006]
However, information devices equipped with Windows CE OS, etc., have a small amount of memory, and a large amount of memory is required to buffer print data for multiple rasters recommended by the printer, and the number of cases where the printer driver cannot perform print processing will increase in the future. Is expected.
[0007]
In such a system, when a print process is performed from the application software, if the printer driver cannot secure a memory work area required for the process in the storage device, the printer driver stops the process. And the user cannot get the printed matter. Thereafter, the user must erase the data in the storage device or change the setting of the driver, etc., and try printing again by trial and error.
[0008]
[Problems to be solved by the invention]
As described above, in the case of the printing system using the handheld PC, if a memory area available for the printer driver cannot be secured, the printing process is stopped, and the user cannot obtain a printed material. Thereafter, the user must erase the data in the storage device or change the setting of the driver, etc., and try printing again by trial and error.
[0009]
However, the user does not know how much free memory must be created, and even if the data in the storage device is erased, the total RAM memory capacity is also small, so it is often difficult to select the data that can be erased. It is not easy to make a backup.
[0010]
In a print request using a handheld PC, it is often more important that information can be printed than quality or speed, such as mail printing and Internet website printing.
[0011]
Therefore, an object of the present invention is to provide a printing system that can continue printing by minimizing trial and error when a user runs out of memory and can obtain printed matter in a short time.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the present invention comprises a host computer having a finite capacity and including storage means capable of reading and writing data, and a printable recording device, wherein the host computer and the recording device are both The host computer is connected by an interface capable of bidirectional communication. The host computer converts print data into print data that can be understood by the recording device and transmits the data to the recording device via the interface. When the printer driver starts printing in the application software and starts the printer driver processing, the printer driver checks the size of the area in the storage unit that can be used by the printer driver. Possible area size and the printer The driver compares the size of the work memory required for generating the print data with the size of the available memory, and if the required work memory amount is larger than the size of the available area, calculates the maximum number of rasters that can be secured in the available memory. Print data is generated based on the number of rasters, the data is transferred, and the recording device is caused to perform printing.
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0014]
FIG. 1 is a diagram showing a configuration of a printing system embodying the present invention. In FIG. 1, reference numeral 1 denotes a handheld PC, and the installed OS is Microsoft Windows CE. 2 is a liquid crystal display, 3 is a keyboard, 4 is a USB port (host). The liquid crystal display 2 is a touch panel, and realizes the same function as a mouse for a personal computer by performing operations such as dragging, dropping, and tapping using a stylus pen 6. Reference numeral 5 denotes an ink jet type color printer, and reference numeral 4 denotes a USB port (client). The handheld PC 1 and the printer 5 are connected by a USB cable 7, and bidirectional data communication is possible between these devices.
[0015]
FIG. 2 is a block diagram illustrating an internal hardware configuration of the handheld PC 1. The handheld PC 1 is a portable terminal used as a simple personal computer, and its main feature is that it does not include a large-capacity storage device (usually a device capable of storing data of several GB) such as a hard disk drive. Only RAM is provided. In FIG. 1, reference numeral 8 denotes a CPU constituted by a microprocessor or the like, which controls a RAM 10, a communication unit 11, a display unit 12, and an operation unit 13 as a central processing unit of the handheld PC 1 according to a program stored in a ROM 9.
[0016]
The ROM 9 stores the OS, device drivers for controlling the display and the ports, applications that can be started on the handheld PC 1, and the like.
The RAM 10 usually has a capacity of about 32 MB, of which half is allocated for program execution and the other half for data storage. The communication unit 11 includes a USB port 4 and controls USB communication. The display unit 12 includes the liquid crystal display 2, and controls display of a user interface (hereinafter, sometimes abbreviated as UI) such as an application. The operation unit 13 includes the keyboard 3 and controls key input.
[0017]
FIG. 3 is a block diagram illustrating an internal hardware configuration of the printer 5.
[0018]
In FIG. 3, a CPU 14 including a microprocessor and the like controls the RAM 17, the communication unit 18, and the recording unit 19 according to a program stored in the ROM 16 as a central processing unit of the printer 5. The ASIC 15 is hardware that performs processing such as data transfer of print data received by the communication unit 18 to a recording unit such as a print head.
[0019]
The ROM 16 stores a program for the printer 5 to perform a recording (printing) process under the control of the printer driver 20 (described later with reference to FIG. 4). The RAM 17 is mainly sent from the handheld PC 1 and temporarily stores print data to be printed by the recording unit 19 based on the sent data. The communication unit 18 includes a USB port 4 and controls USB communication. The recording unit 19 includes a recording unit including an inkjet recording head, each color ink, a carriage, a recording paper transport mechanism, and the like, and an electric unit for generating a printing pulse by the recording head based on the print data. And a circuit.
[0020]
By a print operation on a printable application (to be described later with reference to FIG. 7), the display contents (image data) of the file opened by the application become print data including a command for controlling the printer 5 via the printer driver 20. After that, the data is temporarily stored in the data storage area of the RAM 10 of the handheld PC 1 and sent from the USB port 4 to the printer 5 via the USB interface.
The print data received by the printer 5 is converted into a print pulse by the recording unit 19 and printed on recording paper.
[0021]
FIG. 4 is a block diagram illustrating a configuration of a printer driver that controls the printer 5.
[0022]
In FIG. 4, the arrows indicate the flow of data. Reference numeral 20 denotes a printer driver, which is stored in the ROM 9 of the handheld PC 1. A UI control unit 21 controls the UI of the printer driver 20. Reference numeral 22 denotes a printer control unit, which controls the printer 5 by sending a control command to the printer 5 in accordance with an instruction from the UI control unit, and transmits a status of the printer 5 to the UI control unit based on a response command from the printer 5. Or Reference numeral 23 denotes a port control unit, which writes print data passed from the printer control unit 22 to the communication unit 12, reads a response command from the printer 5 from the communication unit 12, and mainly prints data from the printer driver level. Control the port you saw.
[0023]
FIG. 5 is a diagram of the UI of the printer driver 20. When the printer driver 20 is activated, the UI is displayed on the liquid crystal display 2 of the handheld PC 1.
[0024]
In FIG. 5, 35 is a main window. Reference numeral 25 denotes a printer selection unit, which is constituted by a combo box. By selecting a connected printer, printing can be performed by the selected printer. In the figure, “BJ printer” that can be printed by the printer 5 is selected.
[0025]
Reference numeral 26 denotes a port selection unit, which is constituted by a combo box and can select a printable port provided in the handheld PC 1. In the figure, the USB port is selected. Reference numeral 27 denotes a paper size selection unit, which is configured by a combo box, and can select any one of three types of paper sizes A6, A5, and A4.
[0026]
Reference numeral 28 denotes a draft print selection unit, which is constituted by a check box. If the check box is checked, the print quality is lowered to perform print processing with draft print quality. If the check is cleared, print processing is performed with standard quality. The figure shows a state where the check is removed. Reference numeral 29 denotes a color print selection unit, which is constituted by a check box. When the check is performed, color print is performed. When the check is cleared, monochrome print is performed. In the same figure, the checked state is shown.
[0027]
Reference numeral 30 denotes a print range selection unit, which is constituted by radio buttons. When "all" is selected, the entire range is printed regardless of the area selected on the application display, and "select" is selected. If so, the area selected on the display of the application is printed. FIG. 5 shows a state in which “all” is selected. Reference numeral 31 denotes a print direction selection unit which is constituted by radio buttons. When "Vertical" is selected, the application display is expanded and printed in the vertical direction of the paper, and when "Landscape" is selected. The application display is expanded in the horizontal direction of the paper and printed. In the figure, “vertical” is selected.
[0028]
Reference numeral 32 denotes a margin setting unit, which is configured by a text box in which a numerical value can be input, and can set the top, bottom, left, and right margins of the paper in millimeters. The figure shows a state in which the top, bottom, left and right margins are all set to 25 mm. Reference numeral 33 denotes an OK button. When this button is tapped, a printing process is started. Reference numeral 34 denotes a cancel button. When this button is tapped, the main window 35 is closed without performing printing. Hereinafter, the settings in the printer selection unit 25, the port selection unit 26, the paper size selection unit 27, the draft print selection unit 28, the color print selection unit 29, the print range selection unit 30, the print direction selection unit 31, and the margin setting unit 32 Are called print settings.
[0029]
FIG. 6 is a diagram illustrating a message indicating that printing is not possible due to a shortage of memory capacity. The user is informed that printing with a sufficient print size cannot be performed with the current memory capacity, and that a countermeasure such as increasing free memory capacity should be taken. Is displayed. When the OK button 52 is tapped, the printing process is stopped.
[0030]
FIG. 7 is a diagram of a UI of a printable application. This application is, for example, an application of homepage browsing software (Web browser).
[0031]
In FIG. 7, reference numeral 60 denotes a main window, which represents a state where a home page is displayed. Reference numeral 62 denotes a print button for starting printing. By tapping this button, the printer driver 20 is activated and the main window 35 is displayed. Then, by tapping the OK button 33 in the main window 35, printing of the displayed homepage content 61 is started. Reference numeral 63 denotes a close button for closing the application. By tapping this button, the main window 60 is closed and the application is terminated.
[0032]
FIG. 8 is a diagram illustrating an example of a print command configuration. FIG. 8A illustrates an example of a single raster image command, and FIG. 8B illustrates an example of a multi raster image command.
[0033]
FIG. 9 is a flowchart showing the operation (processing) of the present embodiment, and the operation will be described with reference to this drawing.
[0034]
9 is a flowchart illustrating processing after an OK button 33 in a main window 35 of the printer driver 20 is tapped and printing processing is started. When the OK button 33 in the main window 35 of the printer driver 20 is tapped and the printing process is started (S901), a buffer size required for the printing process is calculated according to the print settings (S902).
[0035]
Next, the available memory amount is checked (S903), and the driver compares the available memory space shortage required for the printing process, that is, the size of the available area with the size of the work memory required for the printer driver to generate print data. If the required work memory amount is larger than the available area (S909), the process proceeds to step S907. If the driver has enough free memory for the printing process, the process advances to step S904 following the normal driver process.
[0036]
In step S907, the maximum number of print data raster blocks that can be secured within the available memory capacity is calculated, and the flow advances to step S910. In S910, it is determined whether or not the number of rasters calculated in step S907 can be secured for one or more rasters. If one or more rasters can be secured, the process proceeds to S904, and the memory is secured in the number of raster blocks calculated in step S907.
[0037]
If it is determined in step S910 that memory for one raster cannot be secured in step S907, the process advances to step S908 to display a message notifying the user that printing cannot be performed with the current memory capacity and a request for creating a free memory (51). (50) When the OK button (52) is tapped, the printing process ends. In step S904, the print data of FIG. 8B is created using the reserved print processing memory (S905). For example, if the recommended number of raster blocks is 16 rasters and the printer cannot secure 16 rasters in S909, if the maximum number of print data raster blocks that can be secured in the available memory capacity is calculated as 8 in S907, In FIG. 8B, the number of blocks is designated as 8, and one command creates raster image data for 8 rasters.
[0038]
Then, the print data is written into the communication unit (11) in FIG. 2 (S906), and the printing process in the printer driver is completed (S913).
[0039]
The operation (processing) of the present invention has been described above. In the present embodiment, an example of an ink jet type color printer has been described. The present invention is not limited to this example, and is also effective for laser beam printers and monochrome printers.
[0040]
Further, in the present embodiment, an Internet Web browser is used as an example of a printable application. However, the present invention is not limited to this example, and can be realized by any printable application.
[0041]
Further, in the present embodiment, Microsoft Windows CE is used as an OS as an example. However, the present invention is not limited to this OS, and can be realized in any OS by adopting a similar configuration.
[0042]
In the present embodiment, a handheld PC has been described as an example. However, the present invention is also applicable to printing from an Internet appliance or an information appliance that has only a small-capacity storage device or printing from a device (device) that cannot perform print setting. The present invention is effective.
[0043]
Furthermore, in the present embodiment, as an example, a USB (Universal Serial Bus) interface is used as an interface between the handheld PC 1 and the printer 5, but the present invention is not limited to this interface, and a similar configuration is adopted. It can be realized in any interface.
[0044]
【The invention's effect】
As is apparent from the above description, according to the present invention, when realizing print processing by a printer driver in a memory-saving manner, the print processing is continued at a speed suitable for the printer as much as possible without stopping printing. Is obtained.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a printing system according to the present invention.
FIG. 2 is a block diagram illustrating an internal hardware configuration of the handheld PC.
FIG. 3 is a block diagram illustrating an internal hardware configuration of the printer.
FIG. 4 is a block diagram illustrating a configuration of a printer driver that controls the printer.
FIG. 5 is a diagram of a user interface (UI) of a printer driver.
FIG. 6 is a diagram of a print impossible message due to insufficient memory capacity.
FIG. 7 is a diagram illustrating printable software (application: example).
FIG. 8 is a diagram illustrating a configuration example of a print command.
FIG. 9 is a flowchart of a process for changing the number of print data rasters according to available memory capacity.
[Explanation of symbols]
1 Handheld PC
2 Liquid crystal display 4 USB port 5 Printer 11 Handheld PC memory (RAM)
15 Printer ASIC (Gate Array)
19 Recording Unit 20 Printer Drivers 33, 42, 52 OK Button 34, 43 Cancel Button 40 Attempt to Print in Available Memory Message 50 Unprintable Message Due to Insufficient Memory 62 Print Button

Claims (2)

有限の容量から成りデータを読み書き可能な記憶手段を備えるホストコンピュータと、印刷可能な記録装置とから構成され、前記ホストコンピュータと前記記録装置とは、双方向通信が可能なインタフェースにて接続されており、前記ホストコンピュータには印刷可能なアプリケーションソフトウェアと、そのデータを前記記録装置が理解できる印刷データに変換作成し前記記録装置へ前記インターフェースを介して送信することができるプリンタドライバが組み込まれ、前記アプリケーションソフトウェアにおいて印刷が開始し、前記プリンタドライバ処理が開始された時、前記記憶手段における前記プリンタドライバが利用可能な領域の大きさを確認し、この利用可能な領域の大きさと前記プリンタドライバが前記印刷データ生成に必要なワークメモリの大きさとを比較し、前記必要ワークメモリ量が前記利用可能領域の大きさより大きい場合、前記利用可能メモリ内で確保可能な最大のラスター数を算出し、そのラスター数で印刷データを生成、データ転送し、前記記録装置に印刷を行わせることを特徴とする印刷システム。A host computer having a finite capacity and having storage means for reading and writing data, and a printable recording device, wherein the host computer and the recording device are connected by an interface capable of bidirectional communication. The host computer incorporates printable application software and a printer driver capable of converting the data into print data that can be understood by the recording device and transmitting the data to the recording device via the interface. When printing is started in the application software and the printer driver process is started, the size of the area available to the printer driver in the storage unit is confirmed, and the size of the available area and the printer driver Required for print data generation Comparing with the size of the work memory, if the required work memory amount is larger than the size of the available area, calculate the maximum number of rasters that can be secured in the available memory and generate print data with the number of rasters A printing system for transferring data and causing the recording device to perform printing. 前記プリンタドライバは、前記必要ワークメモリ量が前記利用可能領域の大きさより大きい場合、前記利用可能メモリ内で確保可能な最大のラスター数を算出し、1ラスター分以上確保できない場合、その旨と空きメモリ作成要求をユーザに知らせるメッセージを表示し、印刷処理を中止することを特徴とする請求項1記載の印刷システム。The printer driver calculates the maximum number of rasters that can be secured in the available memory when the required work memory amount is larger than the size of the available area. 2. The printing system according to claim 1, wherein a message notifying the user of the memory creation request is displayed, and the printing process is stopped.
JP2003029761A 2003-02-06 2003-02-06 Printing system Withdrawn JP2004240758A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003029761A JP2004240758A (en) 2003-02-06 2003-02-06 Printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003029761A JP2004240758A (en) 2003-02-06 2003-02-06 Printing system

Publications (1)

Publication Number Publication Date
JP2004240758A true JP2004240758A (en) 2004-08-26

Family

ID=32956850

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003029761A Withdrawn JP2004240758A (en) 2003-02-06 2003-02-06 Printing system

Country Status (1)

Country Link
JP (1) JP2004240758A (en)

Similar Documents

Publication Publication Date Title
JP4261916B2 (en) Information processing apparatus and print processing method
US8294935B2 (en) Device to edit documents for printout and method thereof
JP2006293933A (en) Image forming system, image forming method, information processing apparatus, and image forming apparatus
JP4109827B2 (en) Information processing apparatus, method, and computer-readable storage medium
JP4513849B2 (en) printer
JP5387360B2 (en) Information processing method, program thereof, and information processing apparatus
CN101231573A (en) Host device and printing control method thereof
JP2008052457A (en) Printing system and printer
JP2004192085A (en) Print system
JP2004240758A (en) Printing system
JP2007175952A (en) Image forming device, image forming method and control program
JP2004102442A (en) Printing system, information processor, information processing method, program and storage medium
JP2007076043A (en) Printer
JP2002351632A (en) Information processor, printing control method, program and storage medium
JP2004287642A (en) Information processor, information input processing method, and information input processing program
JP2007175980A (en) Printing controlling apparatus, printing controlling method, program and computer readable recording medium
JP2007323363A (en) Printing system, printing apparatus, printing control method, program, and storage medium
JP2003150344A (en) Printer driver
JP2004234449A (en) Information processor, information input processing method, and information input processing program
US20060271873A1 (en) Method and apparatus for selecting image in image forming apparatus having display screen
KR100346186B1 (en) Apparatus and method for reprinting the printed documents in pc
JP2004192319A (en) Print control system
US8836985B2 (en) Process executing method, program thereof, and print instructing device
JP2004234466A (en) Information processor, information input processing method, and information input processing program
KR20070011715A (en) Image forming device and controlling method thereof

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060201

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060509