JP4136505B2 - Information processing apparatus, information processing method, computer-readable storage medium, and program - Google Patents

Information processing apparatus, information processing method, computer-readable storage medium, and program Download PDF

Info

Publication number
JP4136505B2
JP4136505B2 JP2002203577A JP2002203577A JP4136505B2 JP 4136505 B2 JP4136505 B2 JP 4136505B2 JP 2002203577 A JP2002203577 A JP 2002203577A JP 2002203577 A JP2002203577 A JP 2002203577A JP 4136505 B2 JP4136505 B2 JP 4136505B2
Authority
JP
Japan
Prior art keywords
resolution
compressed data
decompressed
data
transfer destination
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.)
Expired - Fee Related
Application number
JP2002203577A
Other languages
Japanese (ja)
Other versions
JP2004046557A (en
JP2004046557A5 (en
Inventor
佳成 大西
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 JP2002203577A priority Critical patent/JP4136505B2/en
Publication of JP2004046557A publication Critical patent/JP2004046557A/en
Publication of JP2004046557A5 publication Critical patent/JP2004046557A5/ja
Application granted granted Critical
Publication of JP4136505B2 publication Critical patent/JP4136505B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Record Information Processing For Printing (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、オペレーティングシステムからの描画命令を取得してプリンタ装置が処理可能な印刷情報に変換処理するドライバを備える情報処理装置および情報処理方法およびコンピュータが読み取り可能な記憶媒体およびプログラムに関するものである。
【0002】
【従来の技術】
従来、情報処理装置に組み込まれて動作する、例えばプリンタドライバの処理は、オペレーティングシステム(OS)からの描画命令で、デバイスに依存しないビットマップを受け取り、転送先のサイズに合わせて単純に拡大または縮小等の画像処理を施したビットマップをコピーしていた。
【0003】
また、OSからの描画命令で、圧縮されたデータを受け取り、圧縮された小さいサイズでプリンタ装置に高速で転送し、圧縮されたデータをプリンタ装置中のファームウエアを使って高速に解凍する処理がある。
【0004】
さらに、近年では、ウェーブレット(Wavelets)変換等を使用し、解凍時に解像度を指定できる圧縮方法が一般的になりつつある。
【0005】
【発明が解決しようとする課題】
従来、圧縮されたデータを解凍する処理を実装したドライバでは、圧縮されたデータを一定の解像度でしか解凍することができなかったため、拡大時に従来の単純拡大処理では精度の低い画像になってしまうという問題点があった。
【0006】
また、ウェーブレット変換等により、解凍時に解像度を指定できる圧縮方法を採用した場合、その解凍処理に従来の2,3倍の処理が必要となるため、中央処理装置の負荷が増加するため処理速度が著しく低下してしまうという問題点があった。
【0007】
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、圧縮画像データに関して、高速/高品質等のユーザの印刷出力要求を反映させた印刷結果を自在に得ることができる情報処理装置および情報処理方法およびコンピュータが読み取り可能な記憶媒体およびプログラムを提供することである。
【0008】
【課題を解決するための手段】
本発明は、描画命令を取得する取得手段と、前記取得手段により取得された描画命令が解像度変更可能圧縮データであるか否かを判別する判別手段と、前記判別手段により解像度変更可能圧縮データでないと判別された場合、圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、前記判別手段により解像度変更可能圧縮データであると判別され、高速モードが指定されている場合、低解像度で圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、前記判別手段により解像度変更可能圧縮データであると判別され、高品質モードが指定されている場合、デバイス情報から解像度を取得し、デバイスに適した解像度で圧縮データを解凍し、転送先に送る処理手段とを有することを特徴とする。
【0022】
【発明の実施の形態】
図1は、本発明の一実施形態を示す情報処理装置を適用可能な情報処理システムの構成の一例を示すブロック図である。
【0023】
図1において、1は中央処理装置(CPU)で、上記プログラムおよび関連データが記憶されているFD,CD−ROM,ICメモリカード等の記憶媒体をシステムに接続された媒体読取装置6から読み込み、補助記憶装置(HD)3から主記憶装置(RAM)2にロードされたシステムプログラム、アプリケーションプログラムによって、入力装置4から入力される情報を処理して、出力装置5やプリンタ7に出力する。
【0024】
なお、本実施形態では、出力装置5はディスプレイなどの表示装置とし、本来出力装置に含まれるプリンタ7と区別するものとする。
【0025】
また、入力装置4はキーボード、ポインティングデバイス等で構成されているものとする。さらに、補助記憶装置3は、ハードディスク、光磁気ディスクで構成されるものであってもいいし、これらの組み合わせで構成されるものであってもよい。
【0026】
また、それぞれの装置がネットワークを介して接続されていようとも、この発明を制約するものではない。
【0027】
図2は、図1に示した情報処理装置におけるデータ処理モジュールの構成例を示す図であり、本実施形態においては、記憶媒体,記憶装置に格納されていた画像処理制御プログラムと関連するデータが中央処理装置1に読み込まれ、入力装置4から印刷命令が入力されて、プリンタ7へデータを送り印刷する例に対応する。
【0028】
なお、アプリケーション22、ドライバ23とも主記憶装置2内のOS21の制御下で機能する。
【0029】
図3は、図2に示したドライバ23のデータ処理状態を説明する概念図であり、イメージドライバの処理部分を詳しく記したものである。なお、ここでいうイメージドライバ23とは、OS21から送られる描画命令に従い、PC等のホスト側でビットマップに展開し、プリンタ7に転送するソフトウエアを意味する。なお、D1〜D11は各ステップを示す。
【0030】
図3において、OS21から描画命令と圧縮されたビットマップデータが送られると、描画命令の中にある情報から圧縮されているデータのフォーマットを識別する(D1)。次に、圧縮解凍処理に入り(D2)、解像度変換可能な圧縮方法を含め(ここではJPEG2000とする)、ドライバにあらかじめ備えられた複数の解凍処理方法(JPEG2000,JPEG,TIFF,RLE,Wavelets)から適当なものを選択し(D7〜D11)、ビットマップに展開する(D3)。
【0031】
そして、展開したビットマップに対して、単純拡大処理が必要なデータに関してその処理を行ない(D4)、その後、色変換処理(D5)、2(n)値化処理してデバイスビットマップに変換する(D6)。すべての描画命令に対して処理が終了したら、デバイスビットマップをプリンタ7へ転送する。
【0032】
図4は、図1に示した出力装置5に表示可能な印刷実行時に表示されるUIの一例を示す図であり、グラフィックモード処理に関する設定画面に対応する。
【0033】
印刷コマンドによって、UI400が出力装置5に表示され、ユーザは入力装置4により、高速モード401、高品質モード402を指定することができる。
【0034】
図5は、本発明に係る情報処理装置で動作するプログラムモジュールのインストール処理方法の一例を示す図であり、本実施形態では、画像処理方法制御プログラムおよび関連データをフレキシブルディスクFDを介してコンピュータPCにロードする状態を示している。
【0035】
このフレキシブルディスクFDを媒体読取装置6にセットすると、主記憶装置2に読み込まれているOS21および基本I/Oプログラムの制御の基に本画像処理制御プログラムおよび関連データがフレキシブルディスクFDから読み出され、主記憶装置2にロードされたときに動作が可能となる。
【0036】
図6は、図5に示したフレキシブルディスクFDに記憶される本発明に係る情報処理装置で読み出し可能な画像処理方法制御プログラムのメモリマップを示す図である。
【0037】
図6に示すように、本実施形態では、後述する図8に示す処理等を実行させるための画像処理方法制御プログラムファイルおよび画像処理方法制御プログラム関連データファイルがボリューム情報,ディレクトリ情報に従い管理されている。
【0038】
図7は、図1に示した主記憶装置2のメモリマップを示す図である。
【0039】
図7に示すように、フレキシブルディスクFDに格納されていた画像処理方法制御プログラムが、媒体読取装置6を介して、補助記憶装置3から主記憶装置2にロードされる。
【0040】
なお、本実施形態では、フレキシブルディスクFDから本画像処理方法制御プログラムファイルを直接、補助記憶装置3を介して主記憶装置2に読み込んで実行する例を示したが、本画像処理方法制御プログラムファイルをフレキシブルディスクFDなどの記憶媒体からハードディスク(HD)などの補助記憶装置3にセーブしておき、実行するときに主記憶装置2に読み込む形態をとってもよい。
【0041】
また、本画像処理方法制御プログラムを記録する媒体は、FD、HD以外にも、光磁気ディスクやCD−ROM、ICメモリカード等であってもよい。また、本画像処理方法制御プログラムをROMに記憶しておくことも可能である。
【0042】
以下、図8のフローチャートを参照しながら本発明に係る画像印刷処理方法について説明する。
【0043】
図8は、本発明に係る情報処理装置における画像印刷処理手順の一例を示すフローチャートである。なお、(S8−1)〜(S8−12)は各ステップを示す。
【0044】
まず、入力装置4から印刷を実行するように命令が入力されると、補助記憶装置3から主記憶装置2上に読み込まれたOS21、ドライバ23やアプリケーション(図2)のうち、OS21がそのメッセージを受け取る。OS21は現在アクティブであるアプリケーション22に印刷実行メッセージを送る。
【0045】
アプリケーション22は、そのメッセージをOS21が認識できるコマンドに変換して印刷するデータやコマンドのメッセージを送る。OS21はドライバ23の認識できるコマンドに変換して、メッセージを送る。
【0046】
そして、ドライバ23に印刷コマンドが送られてきたら、印刷を行なうデバイスに関する情報を取得する(S8−1)。さらに、ユーザが印刷時に指定したモードをユーザインタフェース(UI)モジュールから取得する(S8−2)。
【0047】
次に、OS21から描画命令を受け取り(S8−3)、描画命令に解像度変換可能な圧縮データが含まれているか判別し、さらに圧縮データが含まれている場合は解凍時に解像度変更可能な圧縮データであるか判別し(S8−4)、解凍時に解像度変換可能な圧縮データでないと判別した場合、適当な解凍方法により、圧縮データを解凍し(S8−5)、描画命令の目的のサイズ(描画命令により指定されるサイズ)に(転送先のサイズと一致するように)、そのデータを単純拡大する(S8−8)。なお、図示しないが、圧縮データが含まれていないと判別した場合には、描画命令の目的のサイズに(転送先のサイズと一致するように)、そのデータを単純拡大し、そのまま転送先に送る。
【0048】
一方、ステップ(S8−4)で、解像度変換可能な圧縮データフォーマット(例えば、ウェーブレット(Wavelets)変換により圧縮された圧縮データフォーマット)であると判別された場合は、ステップ(S8−2)で取得した印刷モードを識別して高速モードであるか高品質モードであるかを判別して(S8−6)、印刷モードに高速モードが指定されていた場合、解像度変換可能な圧縮データを低解像度で解凍し(S8−7)、さらに描画命令の目的のサイズに(転送先のサイズと一致するように)そのデータを単純拡大する(S8−8)。
【0049】
一方、ステップ(S8−6)で、印刷モードに高品質モードが指定されていたと判別した場合は、ステップ(S8−1)で取得したデバイス情報の中から、デバイスの解像度情報を参照する(S8−9)。
【0050】
そして、取得した解像度に一致、もしくは近い解像度で、解像度変換可能な圧縮データを解凍する(S8−10)。
【0051】
次に、それらを転送先にコピーする(S8−11)。描画命令をすべて処理し、印刷が終了したかを判断し(S8−12)、終了していないと判断した場合には、ステップ(S8−3)へ戻り、終了していると判断した場合には、本処理を終了する。
【0052】
なお、上記実施形態は、バンド処理タイプのバインディングプリンタでもアンバインディングプリンタであっても適用可能である。
【0053】
上記実施形態では、プリンタドライバがプリンタが直接印刷可能なイメージデータに展開して転送する場合について説明したが、プリンタドライバがページ記述言語に基づくPDLデータをプリンタに転送する構成であっても本発明を適用可能である。
【0054】
また、解凍時に解像度を変更可能な圧縮データフォーマットには、JEPEG等のDCT(離散コサイン変換)を用いた圧縮フォーマットであっても、圧縮時のDCTのサイズを(N×N)とし、解凍時のIDCTのサイズを(P×P)とする(但し、N≠P)ことにより、解凍時に解像度変換を行うことが可能であるが、このようなものも本発明の「解凍時に解像度を変更可能な圧縮データフォーマット」には含まれるものである。
【0055】
さらに、本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形が可能であり、それらを本発明の範囲から排除するものではない。
【0056】
以下、上述した図6に示したメモリマップを参照して本発明に係る情報処理装置で読み出し可能なデータ処理プログラムの構成について説明する。
【0057】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0058】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0059】
本実施形態における図8に示す機能が外部からインストールされるプログラムによって、ホストコンピュータにより遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0060】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0061】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0062】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。
【0063】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0064】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0065】
【発明の効果】
以上説明したように、本発明によれば、圧縮画像データに関して、高速/高品質等のユーザの印刷出力要求を反映させた印刷結果を自在に得ることができる印刷データ転送処理を自在に行える環境を整備できる。
【0066】
したがって、ユーザが高品質オプションまたは、高速オプションを指定することで、ユーザが所望する印刷結果を高速に得ることができる等の効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施形態を示す情報処理装置を適用可能な情報処理システムの構成の一例を示すブロック図である。
【図2】図1に示した情報処理装置におけるデータ処理モジュールの構成例を示す図である。
【図3】図2に示したドライバのデータ処理状態を説明する概念図である。
【図4】図1に示した出力装置に表示可能な印刷実行時に表示されるUIの一例を示す図である。
【図5】本発明に係る情報処理装置で動作するプログラムモジュールのインストール処理方法の一例を示す図である。
【図6】図5に示したフレキシブルディスクに記憶される本発明に係る情報処理装置で読み出し可能な画像処理方法制御プログラムのメモリマップを示す図である。
【図7】図1に示した主記憶装置のメモリマップを示す図である。
【図8】本発明に係る情報処理装置における画像印刷処理手順の一例を示すフローチャートである。
【符号の説明】
1 中央処理装置
2 主記憶装置
7 プリンタ
21 OS
22 アプリケーション
23 ドライバ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus and information processing method and a readable storage medium, and program computer having a driver drawing command to obtain the printer device converts processed can be processed print information from the operating system .
[0002]
[Prior art]
Conventionally, for example, a printer driver process that operates by being incorporated in an information processing apparatus receives a bitmap that does not depend on a device by a drawing command from an operating system (OS), and is simply enlarged or reduced in accordance with a transfer destination size. A bitmap with image processing such as reduction was copied.
[0003]
Also, there is a process of receiving compressed data by a drawing command from the OS, transferring the compressed data to the printer device at a high speed with a small size, and decompressing the compressed data at high speed using firmware in the printer device. is there.
[0004]
Furthermore, in recent years, a compression method that uses wavelet transform or the like and can specify a resolution at the time of decompression is becoming common.
[0005]
[Problems to be solved by the invention]
Conventionally, a driver that implements a process for decompressing compressed data can decompress the compressed data only at a certain resolution, so that when the image is enlarged, the conventional simple enlargement process results in a low-accuracy image. There was a problem.
[0006]
In addition, when a compression method that can specify the resolution at the time of decompression is adopted by wavelet transform or the like, the decompression process requires two or three times the conventional processing, so the processing speed increases because the load on the central processing unit increases. There was a problem that it was significantly lowered.
[0007]
The present invention has been made to solve the above problems, an object of the present invention, with respect to compressed image data, print the results freely reflecting the user's print output request high speed / high quality, etc. it is to provide an information processing apparatus and information processing method and computer-readable storage medium and a program that can be obtained.
[0008]
[Means for Solving the Problems]
The present invention provides an acquisition means for acquiring a drawing command, a determination means for determining whether or not the drawing command acquired by the acquisition means is resolution-changeable compressed data, and is not a resolution-changeable compressed data by the determination means. If it is determined, the compressed data is decompressed, the decompressed data is expanded to the target size of the rendering command, sent to the transfer destination, and determined to be resolution-changeable compressed data by the determining means, and the high-speed mode is designated. If the compressed data is decompressed at a low resolution, the decompressed data is expanded to the target size of the drawing command, sent to the transfer destination, and determined to be resolution-changeable compressed data by the discrimination means, and the high quality When the mode is specified, it has a processing means that acquires the resolution from the device information, decompresses the compressed data at a resolution suitable for the device, and sends it to the transfer destination It is characterized in.
[0022]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing an example of the configuration of an information processing system to which an information processing apparatus showing an embodiment of the present invention can be applied.
[0023]
In FIG. 1, reference numeral 1 denotes a central processing unit (CPU) that reads a storage medium such as an FD, a CD-ROM, and an IC memory card in which the program and related data are stored from a medium reader 6 connected to the system. Information input from the input device 4 is processed by a system program or application program loaded from the auxiliary storage device (HD) 3 to the main storage device (RAM) 2 and output to the output device 5 or the printer 7.
[0024]
In this embodiment, the output device 5 is a display device such as a display, and is distinguished from the printer 7 that is originally included in the output device.
[0025]
The input device 4 is assumed to be composed of a keyboard, a pointing device, and the like. Further, the auxiliary storage device 3 may be configured by a hard disk or a magneto-optical disk, or may be configured by a combination thereof.
[0026]
Moreover, even if each device is connected via a network, this invention is not limited.
[0027]
FIG. 2 is a diagram showing a configuration example of the data processing module in the information processing apparatus shown in FIG. 1. In this embodiment, data related to the image processing control program stored in the storage medium and the storage apparatus is stored. This corresponds to an example in which the data is read into the central processing unit 1 and a print command is input from the input device 4 to send data to the printer 7 for printing.
[0028]
Note that both the application 22 and the driver 23 function under the control of the OS 21 in the main storage device 2.
[0029]
FIG. 3 is a conceptual diagram for explaining the data processing state of the driver 23 shown in FIG. 2, in which the processing portion of the image driver is described in detail. Here, the image driver 23 means software that develops a bitmap on the host side such as a PC and transfers it to the printer 7 in accordance with a drawing command sent from the OS 21. In addition, D1-D11 shows each step.
[0030]
In FIG. 3, when a drawing command and compressed bitmap data are sent from the OS 21, the format of the compressed data is identified from the information in the drawing command (D1). Next, the compression / decompression process is entered (D2), including a compression method capable of converting the resolution (here, JPEG2000), and a plurality of decompression processing methods (JPEG2000, JPEG, TIFF, RLE, Wavelets) provided in advance in the driver. An appropriate one is selected from (D7 to D11) and developed into a bitmap (D3).
[0031]
The expanded bitmap is processed with respect to data that requires simple enlargement processing (D4), and then converted into a device bitmap by color conversion processing (D5) and 2 (n) value processing. (D6). When processing is completed for all drawing commands, the device bitmap is transferred to the printer 7.
[0032]
FIG. 4 is a diagram illustrating an example of a UI that is displayed during printing that can be displayed on the output device 5 illustrated in FIG. 1, and corresponds to a setting screen related to graphic mode processing.
[0033]
The UI 400 is displayed on the output device 5 by the print command, and the user can designate the high speed mode 401 and the high quality mode 402 by the input device 4.
[0034]
FIG. 5 is a diagram showing an example of a program module installation processing method that operates in the information processing apparatus according to the present invention. In this embodiment, an image processing method control program and related data are transferred to the computer PC via the flexible disk FD. Shows the state of loading.
[0035]
When this flexible disk FD is set in the medium reading device 6, the image processing control program and related data are read from the flexible disk FD under the control of the OS 21 and the basic I / O program read into the main storage device 2. When loaded into the main storage device 2, the operation becomes possible.
[0036]
FIG. 6 is a diagram showing a memory map of an image processing method control program readable by the information processing apparatus according to the present invention stored in the flexible disk FD shown in FIG.
[0037]
As shown in FIG. 6, in this embodiment, an image processing method control program file and an image processing method control program related data file for executing the processing shown in FIG. 8 to be described later are managed according to volume information and directory information. Yes.
[0038]
FIG. 7 is a diagram showing a memory map of the main storage device 2 shown in FIG.
[0039]
As shown in FIG. 7, the image processing method control program stored in the flexible disk FD is loaded from the auxiliary storage device 3 to the main storage device 2 via the medium reading device 6.
[0040]
In the present embodiment, the image processing method control program file is read directly from the flexible disk FD into the main storage device 2 via the auxiliary storage device 3 and executed. May be saved in the auxiliary storage device 3 such as a hard disk (HD) from a storage medium such as the flexible disk FD and read into the main storage device 2 when executed.
[0041]
In addition to the FD and HD, the medium for recording the image processing method control program may be a magneto-optical disk, a CD-ROM, an IC memory card, or the like. The image processing method control program can also be stored in the ROM.
[0042]
Hereinafter, the image print processing method according to the present invention will be described with reference to the flowchart of FIG.
[0043]
FIG. 8 is a flowchart showing an example of an image print processing procedure in the information processing apparatus according to the present invention. In addition, (S8-1)-(S8-12) show each step.
[0044]
First, when a command is input to execute printing from the input device 4, the OS 21 receives the message from the OS 21, driver 23, and application (FIG. 2) read from the auxiliary storage device 3 onto the main storage device 2. Receive. The OS 21 sends a print execution message to the currently active application 22.
[0045]
The application 22 converts the message into a command that can be recognized by the OS 21, and sends data to be printed or a message of the command. The OS 21 converts the command into a command that can be recognized by the driver 23 and sends a message.
[0046]
When a print command is sent to the driver 23, information about the device that performs printing is acquired (S8-1). Further, the mode specified at the time of printing by the user is acquired from the user interface (UI) module (S8-2).
[0047]
Next, a drawing command is received from the OS 21 (S8-3), and it is determined whether the drawing command includes compressed data whose resolution can be converted. If the compressed data is further included, the compressed data whose resolution can be changed at the time of decompression. (S8-4), if it is determined that the compressed data cannot be converted in resolution at the time of decompression, the compressed data is decompressed by an appropriate decompression method (S8-5), and the target size of the rendering command (drawing) The data is simply enlarged (to match the size of the transfer destination) to the size specified by the instruction (S8-8). Although not shown, when it is determined that the compressed data is not included, the data is simply enlarged to the target size of the rendering command (to match the size of the transfer destination) and directly transferred to the transfer destination. send.
[0048]
On the other hand, if it is determined in step (S8-4) that the compressed data format can be converted in resolution (for example, a compressed data format compressed by wavelet conversion), it is acquired in step (S8-2). The print mode is identified to determine whether it is the high speed mode or the high quality mode (S8-6). If the high speed mode is designated as the print mode, the compression data that can be converted in resolution is displayed at a low resolution. The data is decompressed (S8-7), and the data is simply enlarged to match the target size of the drawing command (to match the size of the transfer destination) (S8-8).
[0049]
On the other hand, if it is determined in step (S8-6) that the high quality mode is designated as the print mode, the device resolution information is referred to from the device information acquired in step (S8-1) (S8). -9).
[0050]
Then, compressed data that can be converted to a resolution at a resolution that matches or is close to the acquired resolution is decompressed (S8-10).
[0051]
Next, they are copied to the transfer destination (S8-11). All drawing commands are processed, and it is determined whether printing has ended (S8-12). If it is determined that printing has not ended, the process returns to step (S8-3), and if it is determined that printing has ended. Ends this processing.
[0052]
The above embodiment can be applied to both a band processing type binding printer and an unbinding printer.
[0053]
In the above embodiment, the case where the printer driver develops and transfers image data that can be directly printed by the printer has been described. However, the present invention may be applied to a configuration in which the printer driver transfers PDL data based on the page description language to the printer. Is applicable.
[0054]
In addition, the compressed data format whose resolution can be changed at the time of decompression is a compression format using DCT (discrete cosine transform) such as JEPEG, and the size of the DCT at the time of compression is (N × N), and at the time of decompression By setting the size of the IDCT to (P × P) (where N ≠ P), resolution conversion can be performed at the time of decompression. "Compressed data format".
[0055]
Furthermore, the present invention is not limited to the above embodiment, and various modifications can be made based on the spirit of the present invention, and they are not excluded from the scope of the present invention.
[0056]
The configuration of a data processing program that can be read by the information processing apparatus according to the present invention will be described below with reference to the memory map shown in FIG.
[0057]
Although not particularly illustrated, information for managing a program group stored in the storage medium, for example, version information, creator, etc. is also stored, and information depending on the OS on the program reading side, for example, a program is identified and displayed Icons may also be stored.
[0058]
Further, data depending on various programs is also managed in the directory. In addition, a program for installing various programs in the computer, and a program for decompressing when the program to be installed is compressed may be stored.
[0059]
The functions shown in FIG. 8 in the present embodiment may be performed by the host computer by a program installed from the outside. In this case, the present invention is applied even when an information group including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Is.
[0060]
As described above, a storage medium storing software program codes for realizing the functions of the above-described embodiments is supplied to the system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention can also be achieved by reading and executing the programmed program code.
[0061]
In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0062]
As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, an EEPROM, or the like is used. it can.
[0063]
Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (operating system) or the like running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.
[0064]
Further, after the program code read from the storage medium is written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that the case where the CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0065]
【The invention's effect】
As described above, according to this onset bright, with respect to compressed image data, high-speed / print result that reflects the user's print output request quality, etc. The freely print data transfer processing can be obtained freely An environment where people can do it.
[0066]
Therefore, when the user designates the high quality option or the high-speed option, there is an effect that the print result desired by the user can be obtained at high speed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an example of the configuration of an information processing system to which an information processing apparatus showing an embodiment of the present invention can be applied.
2 is a diagram illustrating a configuration example of a data processing module in the information processing apparatus illustrated in FIG. 1;
FIG. 3 is a conceptual diagram illustrating a data processing state of the driver shown in FIG.
FIG. 4 is a diagram illustrating an example of a UI displayed when executing printing that can be displayed on the output device illustrated in FIG. 1;
FIG. 5 is a diagram showing an example of a program module installation processing method that operates in the information processing apparatus according to the present invention;
6 is a diagram showing a memory map of an image processing method control program that can be read by the information processing apparatus according to the present invention and that is stored in the flexible disk shown in FIG. 5;
7 is a diagram showing a memory map of the main storage device shown in FIG. 1; FIG.
FIG. 8 is a flowchart illustrating an example of an image print processing procedure in the information processing apparatus according to the present invention.
[Explanation of symbols]
1 Central processing unit 2 Main storage device 7 Printer 21 OS
22 Application 23 Driver

Claims (4)

描画命令を取得する取得手段と、An acquisition means for acquiring a drawing command;
前記取得手段により取得された描画命令が解像度変更可能圧縮データであるか否かを判別する判別手段と、Determining means for determining whether or not the rendering command acquired by the acquiring means is resolution-changeable compressed data;
前記判別手段により解像度変更可能圧縮データでないと判別された場合、圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、When it is determined by the determination means that the compressed data is not variable in resolution, the compressed data is decompressed, the decompressed data is expanded to the target size of the drawing command, and sent to the transfer destination.
前記判別手段により解像度変更可能圧縮データであると判別され、高速モードが指定されている場合、低解像度で圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、If it is determined by the determination means that the compressed data can be changed in resolution and the high-speed mode is designated, the compressed data is decompressed at a low resolution, and the decompressed data is expanded to the target size of the drawing command, and is transferred to the transfer destination. Send,
前記判別手段により解像度変更可能圧縮データであると判別され、高品質モードが指定されている場合、デバイス情報から解像度を取得し、デバイスに適した解像度で圧縮データを解凍し、転送先に送る処理手段と、Processing for obtaining the resolution from the device information, decompressing the compressed data at a resolution suitable for the device, and sending it to the transfer destination when the discrimination means discriminates that the compressed data is variable in resolution and the high quality mode is designated. Means,
を有することを特徴とする情報処理装置。An information processing apparatus comprising:
描画命令を取得する取得ステップと、An acquisition step for acquiring a drawing instruction;
前記取得ステップにより取得された描画命令が解像度変更可能圧縮データであるか否かを判別する判別ステップと、A determination step of determining whether or not the drawing command acquired by the acquisition step is resolution-changeable compressed data;
前記判別ステップにより解像度変更可能圧縮データでないと判別された場合、圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、If it is determined in the determination step that the compressed data is not resolution-changeable, the compressed data is decompressed, the decompressed data is expanded to the target size of the drawing command, and sent to the transfer destination
前記判別ステップにより解像度変更可能圧縮データであると判別され、高速モードが指定されている場合、低解像度で圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、When the determination step determines that the compressed data can be changed in resolution and the high-speed mode is specified, the compressed data is decompressed at a low resolution, the decompressed data is expanded to the target size of the drawing command, and the transfer destination is set. Send,
前記判別ステップにより解像度変更可能圧縮データであると判別され、高品質モードが指定されている場合、デバイス情報から解像度を取得し、デバイスに適した解像度で圧縮データを解凍し、転送先に送る処理ステップと、When the determination step determines that the compressed data can be changed in resolution and the high-quality mode is designated, the process obtains the resolution from the device information, decompresses the compressed data with a resolution suitable for the device, and sends it to the transfer destination Steps,
を有することを特徴とする情報処理方法。An information processing method characterized by comprising:
描画命令を取得する取得ステップと、An acquisition step for acquiring a drawing instruction;
前記取得ステップにより取得された描画命令が解像度変更可能圧縮データであるか否かを判別する判別ステップと、A determination step of determining whether or not the drawing command acquired by the acquisition step is resolution-changeable compressed data;
前記判別ステップにより解像度変更可能圧縮データでないと判別された場合、圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、If it is determined in the determination step that the compressed data is not resolution-changeable, the compressed data is decompressed, the decompressed data is expanded to the target size of the drawing command, and sent to the transfer destination.
前記判別ステップにより解像度変更可能圧縮データであると判別され、高速モードが指定されている場合、低解像度で圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、When the determination step determines that the compressed data can be changed in resolution and the high-speed mode is specified, the compressed data is decompressed at a low resolution, the decompressed data is expanded to the target size of the drawing command, and the transfer destination is set. Send,
前記判別ステップにより解像度変更可能圧縮データであると判別され、高品質モードが指定されている場合、デバイス情報から解像度を取得し、デバイスに適した解像度で圧縮データを解凍し、転送先に送る処理ステップと、When the determination step determines that the compressed data can be changed in resolution and the high-quality mode is designated, the process obtains the resolution from the device information, decompresses the compressed data with a resolution suitable for the device, and sends it to the transfer destination Steps,
をコンピュータに実行させるためのプログラムを記録したコンピュータが読み取り可能な記憶媒体。The computer-readable storage medium which recorded the program for making a computer perform.
描画命令を取得する取得ステップと、An acquisition step for acquiring a drawing instruction;
前記取得ステップにより取得された描画命令が解像度変更可能圧縮データであるか否かを判別する判別ステップと、A determination step of determining whether or not the drawing command acquired by the acquisition step is resolution-changeable compressed data;
前記判別ステップにより解像度変更可能圧縮データでないと判別された場合、圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、If it is determined in the determination step that the compressed data is not resolution-changeable, the compressed data is decompressed, the decompressed data is expanded to the target size of the drawing command, and sent to the transfer destination
前記判別ステップにより解像度変更可能圧縮データであると判別され、高速モードが指定されている場合、低解像度で圧縮データを解凍し、解凍したデータを描画命令の目的のサイズに拡大し、転送先に送り、When the determination step determines that the compressed data can be changed in resolution and the high-speed mode is specified, the compressed data is decompressed at a low resolution, the decompressed data is expanded to the target size of the drawing command, and the transfer destination is set. Send,
前記判別ステップにより解像度変更可能圧縮データであると判別され、高品質モードが指定されている場合、デバイス情報から解像度を取得し、デバイスに適した解像度で圧縮データを解凍し、転送先に送る処理ステップと、When the determination step determines that the compressed data can be changed in resolution and the high-quality mode is designated, the process obtains the resolution from the device information, decompresses the compressed data with a resolution suitable for the device, and sends it to the transfer destination Steps,
をコンピュータに実行させるためのプログラム。A program that causes a computer to execute.
JP2002203577A 2002-07-12 2002-07-12 Information processing apparatus, information processing method, computer-readable storage medium, and program Expired - Fee Related JP4136505B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002203577A JP4136505B2 (en) 2002-07-12 2002-07-12 Information processing apparatus, information processing method, computer-readable storage medium, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002203577A JP4136505B2 (en) 2002-07-12 2002-07-12 Information processing apparatus, information processing method, computer-readable storage medium, and program

Publications (3)

Publication Number Publication Date
JP2004046557A JP2004046557A (en) 2004-02-12
JP2004046557A5 JP2004046557A5 (en) 2005-10-06
JP4136505B2 true JP4136505B2 (en) 2008-08-20

Family

ID=31709411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002203577A Expired - Fee Related JP4136505B2 (en) 2002-07-12 2002-07-12 Information processing apparatus, information processing method, computer-readable storage medium, and program

Country Status (1)

Country Link
JP (1) JP4136505B2 (en)

Also Published As

Publication number Publication date
JP2004046557A (en) 2004-02-12

Similar Documents

Publication Publication Date Title
JP4999791B2 (en) Information processing apparatus, control method thereof, and program
US6025927A (en) Image processing apparatus and method
US20060117268A1 (en) System and method for graphical element selection for region of interest compression
US6480295B1 (en) Image forming apparatus for efficiently storing developed print data depending on situations and an image forming method thereof
JP5061145B2 (en) Image processing apparatus and image processing method
US20060050308A1 (en) Information processing device capable of outputting print data to print device, and control method thereof
JP4136505B2 (en) Information processing apparatus, information processing method, computer-readable storage medium, and program
US8125680B2 (en) Image processing apparatus and control method thereof
JP2004258861A (en) Method of processing information
JPH11289416A (en) Image reader, network system using it, and recording medium
JP2004258865A (en) Method of processing information
US6281985B1 (en) Print control apparatus, print control method, and memory medium
JPH10171617A (en) Printing controller, data processing method therefor and storage medium storing computer readable program
JP3840002B2 (en) Information processing apparatus, print control apparatus, print control method, and storage medium storing computer-readable program
JPH1132207A (en) Device and method for processing image and memory medium
JP3174730B2 (en) PRINTING APPARATUS, PRINT CONTROL METHOD, AND STORAGE MEDIUM
JP4086380B2 (en) Image forming apparatus, data processing method for image forming apparatus, and storage medium storing computer-readable program
JP4078747B2 (en) Image processing device
JP3990970B2 (en) Printing apparatus, printing method, and program
JP2001282482A (en) Data processor and method for processing data
JPH1120241A (en) Print controller, print control method, and memory medium storing computer readable program
JPH1044526A (en) Printer driver, drawing processing method thereof, and memory medium storing program readable by computer
CN113885812A (en) Electronic device
JP3581539B2 (en) Communication device
JPH11353466A (en) Image processor and its method, and computer-readable memory

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050520

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050520

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071127

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080107

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080123

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080219

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080527

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080603

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees