JP2008262439A - Information processing apparatus, print document adjustment processing program, and recording medium - Google Patents
Information processing apparatus, print document adjustment processing program, and recording medium Download PDFInfo
- Publication number
- JP2008262439A JP2008262439A JP2007105515A JP2007105515A JP2008262439A JP 2008262439 A JP2008262439 A JP 2008262439A JP 2007105515 A JP2007105515 A JP 2007105515A JP 2007105515 A JP2007105515 A JP 2007105515A JP 2008262439 A JP2008262439 A JP 2008262439A
- Authority
- JP
- Japan
- Prior art keywords
- document
- data
- paper size
- size
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
【課題】本発明は、印刷対象の文書データから用紙サイズ内に収まる印刷データを生成して印刷させる情報処理装置、印刷文書調整処理プログラム及び記録媒体に関する。
【解決手段】コンピュータPcは、プリンタドライバ12が、アプリケーション11から受け取った印刷対象の文書データの文書領域と用紙の印字領域を比較して、該印刷文書データが該印字領域内に収まるか判定し、該判定結果に基づいて該印刷文書データを該印字領域内に収めるデータ加工を行い、印刷データに変換してプリンタに送信する。したがって、ページサイズの概念をもたないHTML等の文書であっても、文書データの全てを、ユーザが指定した用紙サイズの印刷用紙に印刷することができる。
【選択図】 図2The present invention relates to an information processing apparatus, a print document adjustment processing program, and a recording medium that generate and print print data that fits within a paper size from document data to be printed.
A computer Pc compares a document area of document data to be printed received from an application 11 with a print area of a paper, and determines whether the print document data fits in the print area. Based on the determination result, data processing is performed to store the print document data in the print area, and the print data is converted into print data and transmitted to the printer. Therefore, even a document such as HTML that does not have the concept of page size, all document data can be printed on printing paper of a paper size designated by the user.
[Selection] Figure 2
Description
本発明は、情報処理装置、印刷文書調整処理プログラム及び記録媒体に関し、詳細には、印刷対象の文書データから印刷対象の用紙サイズ内に収まる印刷データを生成して印刷させる情報処理装置、印刷文書調整処理プログラム及び記録媒体に関する。 The present invention relates to an information processing apparatus, a print document adjustment processing program, and a recording medium, and more particularly, to an information processing apparatus that generates print data that fits within a print target paper size from print target document data and print document The present invention relates to an adjustment processing program and a recording medium.
コンピュータ等の情報処理装置がその搭載するアプリケーションで作成されたり、アプリケーションで取得された文章、画像、図形等の文書を、プリンタ、複合装置、複写装置等の画像形成装置で印刷させる場合、該画像形成装置で解釈可能な印刷データに変換して、該画像形成装置で該印刷データに基づいて用紙に印刷出力する。 When an information processing apparatus such as a computer prints a document such as a text, an image, or a graphic created by an application installed in the application using an image forming apparatus such as a printer, a composite apparatus, or a copying apparatus, the image The image data is converted into print data that can be interpreted by the forming apparatus, and the image forming apparatus prints out the data based on the print data.
この場合、一般的には、情報処理装置が、該画像形成装置に対応したプリンタドライバを搭載して、該プリンタドライバが、情報処理装置のディスプレイに印刷設定画面を表示し、ユーザによって該印刷設定画面で用紙サイズ、印字領域等の印刷設定の設定操作が行われると、該設定された印刷設定をアプリケーションに通知して、アプリケーションが、該印刷設定に応じて文書設定を変更して変更後の文書データを印刷対象の文書データとしてプリンタドライバに渡す。そして、プリンタドライバは、アプリケーションから受け取った文書データを印刷先の画像形成装置の解釈できる形式のPDL(Page Description Language)の印刷データに変換して画像形成装置に送信して、該画像形成装置で印刷処理する。 In this case, generally, the information processing apparatus is equipped with a printer driver corresponding to the image forming apparatus, the printer driver displays a print setting screen on the display of the information processing apparatus, and the print setting is displayed by the user. When print settings such as paper size and print area are set on the screen, the print settings that have been set are notified to the application, and the application changes the document settings in accordance with the print settings and changes the settings. Document data is passed to the printer driver as document data to be printed. The printer driver converts the document data received from the application into PDL (Page Description Language) print data in a format that can be interpreted by the image forming apparatus that is the printing destination, and transmits the print data to the image forming apparatus. Print processing.
ところが、用紙に印刷する場合、該用紙に対してデータの印刷が可能な印字領域と印刷されない印刷不可能領域があり、印刷データがこの印字領域からはみ出すと、印刷データのうち該はみ出したデータ部分は、印刷されないこととなる。 However, when printing on paper, there is a print area where data can be printed on the paper and a non-printable area where printing is not possible. If the print data protrudes from this print area, the protruding data portion of the print data Will not be printed.
そこで、従来、用紙の左側から行頭までの空白の長さ識別して、該空白の長さに基づいて印刷データを行頭側にシフトして印刷することで、右側のはみ出して印刷されない印刷データを削減するページプリンタが提案されている(特許文献1参照)。 Therefore, conventionally, the length of the blank from the left side of the paper to the beginning of the line is identified, and the print data is shifted to the beginning of the line based on the length of the blank and printed, so that the print data that does not print on the right side is printed. A page printer to be reduced has been proposed (see Patent Document 1).
しかしながら、上記従来技術にあっては、印刷対象の文書データを印刷用紙の印字領域内に確実かつ適切に印刷する上で、なお、改良の必要があった。 However, in the above prior art, there is still a need for improvement in order to reliably and appropriately print the document data to be printed in the printing area of the printing paper.
すなわち、上記従来技術にあっては、単に、コンピュータ等の情報処理装置から送られてきた印刷データを用紙の左側にシフトして、該印刷データの右側のはみ出し部分が削除されるのを抑制しているのみであるため、印刷データのデータサイズが用紙の印字領域よりも大きいときには、対応することができず、印刷データが欠落した状態で印刷されてしまう。例えば、プリンタドライバがユーザによって設定された印刷用紙サイズと印字領域等の印刷設定をアプリケーションに正確に通知してもアプリケーションからプリンタドライバに渡された印刷対象の文書データのデータサイズが用紙サイズよりも大きいと、印字領域からはみ出した部分は、印刷データから欠落して印刷されない結果となる。このような問題は、例えば、HTML(Hyper Text Markup Language)文書のようにページサイズの概念を持たない文書を表示するブラウザから文書データを取得して印刷データとして画像形成装置に送る場合や画像形成装置にセットされている用紙の用紙サイズが印刷設定で指定された用紙サイズよりも小さいサイズの場合等に発生し、従来技術では、このような場合に対応することができない。 That is, in the above-described prior art, the print data sent from the information processing apparatus such as a computer is simply shifted to the left side of the sheet, and the right side protruding portion of the print data is prevented from being deleted. Therefore, when the data size of the print data is larger than the print area of the paper, it is not possible to cope with it, and the print data is printed in a missing state. For example, even if the printer driver accurately notifies the application of print settings such as the print paper size and print area set by the user, the data size of the document data to be printed passed from the application to the printer driver is larger than the paper size. If it is larger, the portion that protrudes from the print area is missing from the print data and is not printed. Such a problem occurs when, for example, document data is acquired from a browser that displays a document that does not have the concept of page size, such as an HTML (Hyper Text Markup Language) document, and sent to an image forming apparatus as print data. This occurs when the paper size of the paper set in the apparatus is smaller than the paper size specified in the print settings, and the conventional technique cannot cope with such a case.
そこで、本発明は、印刷対象の文書データの全てを印刷用紙に確実かつ適切に印刷することのできる情報処理装置、印刷文書調整処理プログラム及び記録媒体を提供することを目的としている。 SUMMARY An advantage of some aspects of the invention is that it provides an information processing apparatus, a print document adjustment processing program, and a recording medium that can reliably and appropriately print all document data to be printed on a print sheet.
請求項1記載の発明の情報処理装置は、アプリケーションから受け取った印刷対象の文書データを印刷データに変換して画像形成装置に送信する情報処理装置において、前記文書データを印刷する用紙サイズを決定させる用紙サイズ決定手段と、前記アプリケーションから受け取った文書データの文書幅と文書長さからなる文書データサイズを認識して該文書データサイズと前記用紙サイズ決定手段で決定された用紙サイズの用紙の印字領域を比較して該文書データが該印字領域内に収まるか判定する判定手段と、該判定手段の判定結果に基づいて該文書データを該印字領域内に収めるデータ加工を行うデータ加工手段とを備えていることにより、上記目的を達成している。 An information processing apparatus according to a first aspect of the invention causes an information processing apparatus that converts print target document data received from an application to print data and transmits the print data to an image forming apparatus, and determines a paper size for printing the document data. A paper size determining means, and a print area of the paper of the paper size determined by the paper data size and the paper size determining means by recognizing the document data size consisting of the document width and the document length of the document data received from the application And determining means for determining whether the document data fits in the print area, and data processing means for performing data processing for storing the document data in the print area based on the determination result of the determination means. The above-mentioned purpose is achieved.
この場合、例えば、請求項2に記載するように、前記情報処理装置は、前記画像形成装置に応じた所定の用紙サイズを文書成型用用紙サイズとして前記アプリケーションに通知して前記印刷対象の文書データとして該文書成型用用紙サイズに応じた文書データを成型させるサイズ通知手段をさらに備えていてもよい。 In this case, for example, as described in claim 2, the information processing apparatus notifies the application of a predetermined paper size according to the image forming apparatus as a document molding paper size, and the document data to be printed A size notification means for forming document data corresponding to the document forming paper size may be further provided.
また、例えば、請求項3に記載するように、前記サイズ通知手段は、前記文書成型用用紙サイズとして、前記画像形成装置で印刷可能な最大の用紙サイズを通知してもよい。 For example, the size notifying unit may notify a maximum paper size that can be printed by the image forming apparatus as the document forming paper size.
さらに、例えば、請求項4に記載するように、前記情報処理装置は、前記画像形成装置から該画像形成装置で利用可能な用紙サイズを取得する用紙サイズ取得手段を備え、前記用紙サイズ決定手段は、該用紙サイズ取得手段の取得した用紙サイズから前記印刷に利用する用紙サイズを決定させ、または/及び、前記サイズ通知手段は、該用紙サイズ取得手段の取得した用紙サイズに基づいて前記文書成型用用紙サイズを通知してもよい。 Further, for example, as described in claim 4, the information processing apparatus includes a paper size acquisition unit that acquires a paper size usable in the image forming apparatus from the image forming apparatus, and the paper size determination unit includes: Determining the paper size to be used for the printing from the paper size acquired by the paper size acquisition means, and / or the size notification means based on the paper size acquired by the paper size acquisition means. The paper size may be notified.
また、例えば、請求項5に記載するように、前記判定手段は、前記文書データサイズとして、前記アプリケーションから受け取った文書データの最大の文書幅と最大の文書長さの文書データサイズを認識してもよい。 Further, for example, as described in claim 5, the determination unit recognizes the maximum document width of the document data received from the application and the document data size of the maximum document length as the document data size. Also good.
さらに、例えば、請求項6に記載するように、前記データ加工手段は、前記文書データを前記印字領域に収まる最大サイズに縮小してもよい。 Further, for example, the data processing unit may reduce the document data to a maximum size that can be accommodated in the print area.
請求項7記載の印刷文書調整処理プログラムは、コンピュータに請求項1から請求項6のいずれかに記載の情報処理装置として機能させることにより、上記目的を達成している。 A print document adjustment processing program according to a seventh aspect achieves the above-described object by causing a computer to function as the information processing apparatus according to any one of the first to sixth aspects.
請求項8記載の記録媒体は、請求項7記載の印刷文書調整処理プログラムを記録したことにより、上記目的を達成している。 A recording medium according to an eighth aspect achieves the above object by recording the print document adjustment processing program according to the seventh aspect.
本発明によれば、アプリケーションから受け取った文書データの文書データサイズと印刷対象の用紙の印字領域を比較して、該文書データが該印字領域内に収まるか判定し、該判定結果に基づいて該文書データを該印字領域内に収めるデータ加工を行うので、印刷対象の文書データのうち印刷用紙の印字領域からはみ出したデータ部分が印刷対象から欠落してしまうことを適切に防止して、該文書データの全てを印刷用紙に確実かつ適切に印刷することができ、印刷性能を向上させることができる。 According to the present invention, the document data size of the document data received from the application is compared with the print area of the paper to be printed to determine whether the document data fits in the print area, and based on the determination result, Since the data processing for storing the document data in the print area is performed, it is possible to appropriately prevent the data portion of the document data that is to be printed out of the print area of the printing paper from being lost from the print object. All of the data can be reliably and appropriately printed on the printing paper, and the printing performance can be improved.
以下、本発明の好適な実施例を添付図面に基づいて詳細に説明する。なお、以下に述べる実施例は、本発明の好適な実施例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの態様に限られるものではない。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In addition, since the Example described below is a suitable Example of this invention, various technically preferable restrictions are attached | subjected, However, The scope of the present invention limits this invention especially in the following description. As long as there is no description of the effect, it is not restricted to these aspects.
図1〜図9は、本発明の情報処理装置、印刷文書調整処理プログラム及び記録媒体の一実施例を示す図であり、図1は、本発明の情報処理装置、印刷文書調整処理プログラム及び記録媒体の一実施例を適用した印刷システム1のシステム構成図である。
1 to 9 are diagrams showing an embodiment of an information processing apparatus, a print document adjustment processing program, and a recording medium according to the present invention. FIG. 1 shows an information processing apparatus, a print document adjustment processing program, and a recording according to the present invention. 1 is a system configuration diagram of a
図1において、印刷システム1は、LAN(Local Area Network)等の所定のネットワークNWにコンピュータ(情報処理装置)Pcとプリンタ(画像形成装置)Pr等が接続されている。なお、図1では、コンピュータPcとプリンタPrが、1ずつ接続されている状態を示しているが、コンピュータPc及びプリンタPrは複数台接続されていてもよい。また、このネットワークNWは、図示しないが、インターネット等の外部ネットワークに接続されていてもよい。
In FIG. 1, a
コンピュータPcは、通常のハードウェア構成及びソフトウェア構成のパーソナルコンピュータ等が用いられており、図2に示すように、Windows(登録商標)等のOS(Operating System)上に搭載されているアプリケーション(アプリケーションソフトウェア)11とプリンタドライバ12及び通信部13を備えている。
As the computer Pc, a personal computer having a normal hardware configuration and software configuration is used. As shown in FIG. 2, an application (application) installed on an OS (Operating System) such as Windows (registered trademark) is used. Software) 11, a
アプリケーション11は、OS上に搭載された電子メール送受信アプリケーション、文書作成ソフトウェア、図形作成ソフトウェア、表計算ソフトウェア、データベースソフトウェア及びウェブブラウザ等であり、作成されたり、インターネット等を介して取得した文書の印刷命令が発行されて、印刷設定が行われると、OSを通してプリンタドライバ12に文書データ(描画情報)と印刷設定データを渡す。
The application 11 is an e-mail transmission / reception application, document creation software, figure creation software, spreadsheet software, database software, a web browser, and the like installed on the OS, and prints a document created or acquired via the Internet or the like. When a command is issued and print settings are made, document data (drawing information) and print setting data are passed to the
コンピュータPcは、CD(Compact Disc)、MO(光磁気ディスク)、CD−ROM(Compact Disc Read Only Memory )、CD−RW(Compact Disc Rewritable )、DVD(Digital Video Disk)、メモリカード、フレキシブルディスク等の記録媒体に記録されている印刷文書調整処理プログラム及び必要なデータが図示しない読取部によって読み取られて図示しないハードディスク等の不揮発性記憶部にプリンタドライバ12として格納されて実行されることで、または、プリンタドライバ12に組み込まれた状態や単独で格納されて実行されることで、本発明の印刷文書調整処理を実行する情報処理装置として構築される。
The computer Pc is a CD (Compact Disc), MO (magneto-optical disk), CD-ROM (Compact Disc Read Only Memory), CD-RW (Compact Disc Rewritable), DVD (Digital Video Disk), memory card, flexible disk, etc. A print document adjustment processing program and necessary data recorded in the recording medium are read by a reading unit (not shown) and stored as a
プリンタドライバ12としては、文書データからネットワークNWに接続されている各プリンタPrに対応するプリンタドライバ、すなわち、そのプリンタPrが解釈して実際の印刷画像(ビデオデータ)を生成するために必要な情報のコマンド(プリンタ用の印刷データ)を生成するプリンタドライバがインストールされており、プリンタドライバ12は、アプリケーション11から渡された文書データと印刷設定データから印刷先のプリンタPrに対応する印刷データを生成して、通信部13からネットワークNWを介してプリンタPrに送信する。特に、プリンタドライバ12は、印刷設定部21と描画部22を有し、描画部22は、印字範囲判定部23とデータ加工部24を有している。
The
印刷設定部(用紙サイズ決定手段)21は、アプリケーション11から印刷要求があると、印刷設定画面をコンピュータPcのディスプレイに表示し、該印刷設定画面でユーザによって設定された印刷設定、特に、印刷用紙サイズ、印字領域(印刷可能領域)等の設定を受け取る。また、印刷設定部21は、通信部13を介して印刷先のプリンタPrから該プリンタPrで利用可能な印刷用紙サイズと印字領域の情報を取得して、印刷設定画面等に表示し、印刷先のプリンタPrで利用可能な印刷用紙サイズと印刷領域をユーザが選択設定できるようにして、該印刷設定画面等で設定された印刷用紙サイズと印字領域を印刷設定内容として受け取る。
When there is a print request from the application 11, the print setting unit (paper size determining means) 21 displays a print setting screen on the display of the computer Pc, and print settings set by the user on the print setting screen, in particular, print paper. Receives settings such as size and print area (printable area). In addition, the
描画部22は、アプリケーション11から受け取った印刷対象の文書データから印刷先のプリンタPrの解釈できる印刷データ(描画データ)を生成する。
The
描画部22の印字範囲判定部(判定手段)23は、アプリケーション11から受け取った印刷対象の文書データが印刷設定部21の取得した印刷設定内容の印刷用紙サイズの印字領域内に印刷可能な大きさであるか否かを判定し、データ加工部(データ加工手段)24は、印刷対象の文書データが印刷設定内容の印刷用紙サイズの印字領域よりも大きいときに、該文書データを該印字領域に収まる大きさに加工する。
The print range determination unit (determination unit) 23 of the
そして、描画部22は、このデータ加工部24が印刷対象の文書データの加工を行ったときには、加工後の文書データを印刷データに変換する。
When the data processing unit 24 processes the document data to be printed, the
通信部13は、上記ネットワークNWに接続され、ネットワークNW上の機器(プリンタPr)との間で、印刷データ、コマンド等の送受信を行う。特に、プリンタドライバ12の印刷設定部21からの要請に応じて、所定のコマンドを用いてネットワークNW上のプリンタPrから該プリンタPrで現在利用可能な印刷用紙サイズと印字領域を取得して、プリンタドライバ12に渡す。
The communication unit 13 is connected to the network NW and transmits / receives print data, commands, and the like to / from a device (printer Pr) on the network NW. In particular, in response to a request from the
上記プリンタPrは、例えば、レーザプリンタ等が用いられており、図3に示すように、印字部31、記憶部32及び通信部33等を備えている。プリンタPrは、図示しないが、コントローラを備えており、コントローラは、プリンタPr全体の動作を制御して、そのとき設定されている制御モード及びコンピュータPcからの制御コードに従って、コンピュータPcからの印刷データを、ビデオデータに変換して印字部31に出力して、印字部31に印刷処理を行わせるとともに、通信部33を介してコンピュータPcと通信する。
For example, a laser printer or the like is used as the printer Pr, and includes a
通信部33は、上記ネットワークNWに接続されており、ネットワーク上のホストであるコンピュータPcと通信して、印刷データの受信やコマンドの送受信を行い、また、コンピュータPcからの問い合わせを受け付けて、現在利用可能な印刷用紙サイズと印字領域を通知する。
The
記憶部32は、ハードディスク等で構成され、各種情報、特に、通信部33で受信した印刷データや該プリンタPrで利用可能な印刷用紙サイズと印字領域の一覧データが格納されている。
The
印字部31は、所定の印刷方式、例えば、電子写真方式によって画像を用紙に印刷出力し、電子写真方式の場合、回転駆動される感光体の周囲に、帯電チャージャ、書込部、現像部、転写チャージャ、クリーニング部等を備えている。印字部31は、電子写真方式の場合、回転駆動される感光体を帯電チャージャにより一様に帯電させて、一様に帯電した感光体に書込部により画像データに基づいて変調したレーザ光を照射して、静電潜像を形成する。印字部31は、該静電潜像の形成された感光体に現像部でトナーを供給してトナー画像を形成して、感光体上の画像を転写紙に転写させ、トナー画像の転写の完了した用紙を定着部で用紙に定着させることで画像形成する。
The
そして、プリンタPrは、その印字部31で印刷する用紙を用紙トレイに収納しており、この用紙トレイを、1つまたは複数備えている。各用紙トレイは、それぞれ1種類の用紙サイズの用紙を収納するが、その収納する用紙サイズは、適宜変更することができる。したがって、プリンタPrは、複数の用紙トレイを備えているときには、同時に、複数種類の用紙サイズの用紙を搭載することができ、上記記憶部32は、この用紙トレイに収納可能な用紙サイズと印字領域の一覧データを格納している。
The printer Pr stores paper to be printed by the
次に、本実施例の作用を説明する。本実施例のコンピュータPcは、搭載するアプリケーション11で作成された文書データやネットワークNWを介してインターネット上に公開されているウェブホームページ等からアプリケーション11であるウェブブラウザで閲覧しているHTML文書等の印刷対象の文書データを取得してネットワークNW上のプリンタPrで該文書データに必要な加工を施して全て適切に用紙に印刷する。 Next, the operation of this embodiment will be described. The computer Pc according to the present embodiment may be used for document data created by the installed application 11 or an HTML document that is browsed by a web browser as the application 11 from a web homepage published on the Internet via the network NW. Document data to be printed is acquired, the printer Pr on the network NW performs necessary processing on the document data, and all are appropriately printed on paper.
すなわち、プリンタPrは、図4に示すように、印字部31で印刷データを指定の用紙サイズの用紙Pに印刷する際、その用紙Pへの印刷には、該用紙Pに対して印字可能な領域である印字領域PAと、印字不可能な領域である余白領域WAと、がある。 That is, as shown in FIG. 4, when the printer Pr prints print data on a paper P having a specified paper size, the printer Pr can print on the paper P. There are a print area PA that is an area and a blank area WA that is an area that cannot be printed.
一方、図5に示すように、コンピュータPcにおいては、そのアプリケーション11で作成されたり、ホームページ等から取得された印刷対象の文書データDmに対して、一般的に、印刷設定に応じてアプリケーション11で文書設定し、この印刷対象の文書データDmには、文書幅Dhと文書長さDlからなる実際の文書領域(文書データサイズ)Dsがある。 On the other hand, as shown in FIG. 5, in the computer Pc, the application data 11 that is created by the application 11 or acquired from the homepage or the like is generally used by the application 11 according to the print setting. This document data Dm to be printed has an actual document area (document data size) Ds composed of a document width Dh and a document length Dl.
そして、プリンタドライバ12は、この印刷対象の文書データDmをプリンタPrが解釈できる印刷データに変換してプリンタPrに送り、プリンタPrで用紙Pに印刷出力する。
The
したがって、印刷対象の文書データDmの文書幅DhがプリンタPrでの用紙Pへの印字領域PAの印字幅PAh以下であり、文書データDmの文書長さDlが印字領域PAの印字長さPAl以下であると、印刷対象の文書データDmに欠落を生じさせることなく、適切に印刷することができる。 Accordingly, the document width Dh of the document data Dm to be printed is equal to or less than the print width PAh of the print area PA on the paper P in the printer Pr, and the document length Dl of the document data Dm is equal to or less than the print length PAl of the print area PA. If it is, it is possible to appropriately print without causing the document data Dm to be printed to be missing.
そこで、本実施例のプリンタドライバ12は、図6に示すように、アプリケーション11から印刷要求があると、その印刷設定部21が、印刷設定画面をコンピュータPcのディスプレイに表示して、ユーザによる印刷設定、特に、用紙サイズと印字領域の設定を促して、設定された印刷設定、特に、用紙サイズと印字領域を取得して保持し(ステップS101)、また、該印刷要求の印刷先のプリンタPrにおいて印刷可能な最大サイズの用紙サイズ(実際には、用紙サイズと印字領域)の情報を、文書成型用用紙サイズとして、印刷要求元のアプリケーション11に渡す(ステップS102)。この印刷先のプリンタPrの印刷可能最大サイズの用紙サイズの情報は、予めコンピュータPcが保持しているか、所定タイミングに通信部13を介してプリンタPrから取得してもよい。
Therefore, in the
また、アプリケーション11に印刷先のプリンタPrの印刷可能な用紙Pの最大サイズを文書成型用用紙サイズとして通知するのは、印刷対象の文書データDmが、HTML等のページの概念のないデータであっても、アプリケーション11からデータの欠落を防止しつつ可能な限り大きな文書データDmを取得するためである。 The application 11 is notified of the maximum size of the paper P that can be printed by the printer Pr as the printing destination as the document forming paper size because the document data Dm to be printed is data that does not have a page concept such as HTML. However, it is for acquiring the largest possible document data Dm from the application 11 while preventing data loss.
アプリケーション11は、受け取った用紙サイズ(文書成型用用紙サイズ)と該用紙サイズの用紙Pの印字領域等の印刷設定に合わせて、印刷対象の文書データDmの文書幅Dhと文書長さDl等を設定する文書設定(文書成型)を行って、プリンタドライバ12に渡す。このとき、アプリケーション11がウェブブラウザであって、印刷対象の文書データDmがHTML文書であると、通常、HTML文書には、ページの概念がないが、上述のように、プリンタPrの印刷可能な用紙Pの最大サイズが通知されるため、データの欠落を防止しつつ該プリンタPrの最大用紙サイズでの文書幅Dhと文書長さDlの印刷対象の文書データDmをプリンタドライバ12に渡すことができる。
The application 11 sets the document width Dh and the document length Dl of the document data Dm to be printed in accordance with the print settings such as the received paper size (document molding paper size) and the print area of the paper P of the paper size. The document setting (document molding) to be set is performed and passed to the
次に、プリンタドライバ12は、アプリケーション11から印刷対象の文書データDmを受け取ると(ステップS103)、プリンタドライバ12の描画部22の印字範囲判定部23が、該印刷対象の文書データDmの最大文書幅Dhと最大文書長さDlを求め(ステップS104)、該最大文書幅Dhと該最大文書長さDlが、上記印刷設定で設定された用紙サイズに収まるか、すなわち、該印刷設定で設定された用紙サイズの印字領域PAに収まるか否かを判断する(ステップS105)。具体的には、印字範囲判定部23は、最大文書幅Dhが、印刷設定で設定された用紙サイズの印字領域PAの印字幅PAh以下であるか、最大文書長さDlが、印字領域PAの印字長さPAl以下であるかを判定する。
Next, when the
ステップS105で、印刷対象の文書領域Dsの文書データDmが印字領域PA内に収まらないときには、描画部22のデータ加工部24が、印刷対象の文書データDmを印字領域PA内に収まるように縮小加工し(ステップS106)、描画部22が、該縮小加工した印刷対象の文書データDmを印刷データに変換して、該印刷データをプリンタPrに送信する(ステップS107)。プリンタPrは、コンピュータPcから送信されてきた印刷データを用紙Pに印刷出力する(ステップS108)。
In step S105, when the document data Dm of the document area Ds to be printed does not fit in the print area PA, the data processing unit 24 of the
ステップS105で、印刷対象の文書領域Dsの文書データDmが印字領域PA内に収まるときには、該印刷対象の文書データDmの縮小処理を行うことなく、描画部22が、該文書データDmを印刷データに変換して、該印刷データをプリンタPrに送信し(ステップS107)、プリンタPrが、コンピュータPcから送信されてきた印刷データを用紙Pに印刷出力する(ステップS108)。
When the document data Dm of the document area Ds to be printed falls within the print area PA in step S105, the
そして、描画部22のデータ加工部24は、ステップS106における印刷対象の文書データDmの縮小処理においては、印字領域PAに収まる範囲で、最大サイズに印刷対象の文書データDmを縮小する。
Then, the data processing unit 24 of the
すなわち、いま、図7に示すように、印刷対象の文書データDmの文書領域Dsが指定用紙サイズの印字領域PAよりも大きい場合、データ加工部24は、該文書データDmを縮小処理して印刷領域PAに収まる大きさに縮小するが、このとき、印刷領域PA以下であって、かつ、最大サイズに縮小する。 That is, as shown in FIG. 7, when the document area Ds of the document data Dm to be printed is larger than the print area PA of the designated paper size, the data processing unit 24 reduces the document data Dm and prints it. The image is reduced to a size that can be accommodated in the area PA, but at this time, it is smaller than the print area PA and reduced to the maximum size.
また、データ加工部24は、この印刷対象の文書データDmの縮小処理において、元の印刷対象の文書データDmの縦横比を維持した状態で縮小する。例えば、いま、図8に示すように、印刷対象の文書データDmが、文書長さDl=200、文書幅Dh=100で、印字領域PAが、印字長さPAl=160、印字幅PAh=80のとき、該文書データDmと該印字領域PAの縦横比が同じであって該文書データDmと該印字領域PAの大小比率が1:0.8であるので、該文書データDmを縦(長さ)Dl及横(幅)Dhにおいてそれぞれ80%縮小すると、印字領域PAの縦(長さ)PAl及び横(幅)PAhの大きさになるので、データ加工部24は、該文書データDmを縦横それぞれ80%の割合で縮小処理する。 Further, the data processing unit 24 reduces the document data Dm to be printed while maintaining the aspect ratio of the document data Dm to be printed. For example, as shown in FIG. 8, the document data Dm to be printed has a document length Dl = 200, a document width Dh = 100, a print area PA has a print length PAl = 160, and a print width PAh = 80. In this case, since the aspect ratio of the document data Dm and the print area PA is the same and the size ratio of the document data Dm and the print area PA is 1: 0.8, the document data Dm is S) If the size is reduced by 80% in each of Dl and width (width) Dh, the print area PA becomes the size of length (length) PAl and width (width) PAh, so that the data processing unit 24 converts the document data Dm Reduction processing is performed at a ratio of 80% in the vertical and horizontal directions.
また、図9に示すように、印刷対象の文書データDmが、文書長さDl=150、文書幅Dh=100で、印字領域PAが、印字長さPAl=160、印字幅PAh=80のときには、縦(長さ)方向においては、該文書データDmの文書長さDlが該印字領域PAの印字長さPAlよりも短く、縮小しなくても印字長さPAl以内に収まるが、横(幅)方向においては、印字対象の文書データDmの文書幅Dh(=100)が印字領域PAの印字幅PAh(=80)よりも広く文字幅Dhと印字幅PAhの比率が1:0.8であるので、80%に縮小する必要がある。ところが、横(幅)方向のみを縮小すると、印刷対象の文書データDmの縦横比が崩れた状態で印刷データに変換されることとなり、印刷イメージが崩れてしまうので、データ加工部24は、印刷対象の文書データDmを縦横それぞれ80%の割合で縮小処理する。 As shown in FIG. 9, when the document data Dm to be printed is the document length Dl = 150, the document width Dh = 100, and the print area PA is the print length PAl = 160 and the print width PAh = 80. In the vertical (length) direction, the document length Dl of the document data Dm is shorter than the print length PAl of the print area PA and can be within the print length PAl without being reduced, but the width (width) ) Direction, the document width Dh (= 100) of the document data Dm to be printed is wider than the print width PAh (= 80) of the print area PA, and the ratio of the character width Dh to the print width PAh is 1: 0.8. There is a need to reduce it to 80%. However, if only the width (width) direction is reduced, the document data Dm to be printed is converted to print data in a state where the aspect ratio is lost, and the print image is lost. The target document data Dm is reduced at a ratio of 80% vertically and horizontally.
このように、本実施例のコンピュータPcは、そのプリンタドライバ12が、アプリケーション11から受け取った印刷対象の文書データDmの文書領域(文書データサイズ)Dsと印刷対象の用紙Pの印字領域PAを比較して、該文書データDmが該印字領域PA内に収まるか判定し、該判定結果に基づいて該文書データDmを該印字領域PA内に収めるデータ加工を行っている。
As described above, in the computer Pc of this embodiment, the
したがって、印刷対象の文書データDmがページサイズの概念をもたないHTML等の文書であっても印字領域PAからはみ出してデータの欠落が発生することを適切に防止して、該印刷対象の文書データDmの全てをユーザが指定した用紙サイズの印刷用紙Pに確実かつ適切に印刷することができ、印刷性能を向上させることができる。 Therefore, even if the document data Dm to be printed is a document such as HTML that does not have the concept of page size, it is possible to appropriately prevent the data from missing from the print area PA and to prevent the document to be printed. All of the data Dm can be reliably and appropriately printed on the printing paper P having the paper size designated by the user, and the printing performance can be improved.
また、本実施例のプリンタドライバ12の印刷設定部21は、プリンタPrに応じた用紙サイズを文書成型用用紙サイズとしてアプリケーション11に通知して印刷対象の文書データDmとして該文書成型用用紙サイズに応じた文書データDmを成型させている。
In addition, the
したがって、アプリケーション11にプリンタPrに応じた用紙サイズに基づいて文書成型させて印刷対象の文書データDmとして受け取ることができ、印刷対象の文書データDmが印字領域PAからはみ出してデータの欠落が発生することをより一層確実にかつ適切に防止して、印刷性能を向上させることができる。 Therefore, the application 11 can form a document based on the paper size corresponding to the printer Pr and receive it as the document data Dm to be printed, and the document data Dm to be printed protrudes from the print area PA and data loss occurs. This can be prevented more reliably and appropriately, and the printing performance can be improved.
さらに、本実施例のプリンタドライバ12は、プリンタPrで利用可能な最大の用紙サイズを文書成型用用紙サイズとしてアプリケーション11に通知して、文書データDmを成型させている。
Furthermore, the
したがって、ページサイズの概念をもたないHTML等の文書であっても、できる限りサイズの大きい用紙サイズで文書成型させた文書データDmをアプリケーション11から受け取ることができ、文書データDmが印字領域PAからはみ出してデータの欠落が発生することをより一層確実にかつ適切に防止して、印刷性能を向上させることができる。 Therefore, even for an HTML document or the like that does not have the concept of page size, document data Dm that has been formed with a paper size that is as large as possible can be received from the application 11, and the document data Dm can be received in the print area PA. It is possible to more reliably and appropriately prevent the occurrence of data loss due to overhanging, thereby improving the printing performance.
なお、上記説明においては、予めコンピュータPc上に持っているプリンタPrの印刷用紙サイズと印字領域の情報に基づいて印刷設定画面を表示して、該印刷設定画面で、ユーザが印刷設定した印刷用紙サイズと印字領域の情報に応じて印刷対象の文書データDmに対する必要な縮小処理を行って、印字領域PAに収まる印刷データを生成しているが、現在コンピュータPc上に保持している印刷用紙サイズ及び印字領域の情報と印刷先のプリンタPrで利用可能な印刷用紙サイズ及び印字領域とが一致しているとは限らない。 In the above description, the print setting screen is displayed based on the print paper size and print area information of the printer Pr previously held on the computer Pc, and the print paper set by the user on the print setting screen is displayed. The necessary reduction processing is performed on the document data Dm to be printed according to the size and print area information to generate print data that fits in the print area PA, but the print paper size currently held on the computer Pc In addition, the print area information and the print paper size and print area that can be used by the printer Pr as the print destination do not always match.
そこで、プリンタドライバ12は、所定タイミング、例えば、コンピュータPcの電源が投入されたとき、印刷要求があったとき等に、通信部13を介してネットワークNW上のプリンタPrに対して現在利用可能な印刷用紙サイズと印字領域情報の取得要求を行い、プリンタPrの印刷設定部12が該要求に応じて記憶部32に記憶している印刷用紙サイズと印字領域情報を通信部33及びネットワークNWを介してコンピュータPcに送信してくると、プリンタドライバ12が該プリンタPrから送られてきた現在利用可能な印刷用紙サイズと印字領域情報を印刷設定画面に表示して、ユーザが該印刷設定画面で印刷用紙サイズと印字領域を設定すると、該設定された印刷用紙サイズ及び印字領域に基づいて上記必要な印刷対象の文書データDmの縮小処理を行うようにしてもよい。
Therefore, the
このようにすると、プリンタPrの現在利用可能な印刷用紙サイズと印字領域に基づいて印刷対象の文書データDmが該印字領域PAに収まるか否かをより一層適切に判定して、該文書データDmの必要な縮小処理を行うことができ、データの欠落をより一層確実に発生させることなく、適切に用紙Pの印字領域PAに印刷することができる。 In this way, it is determined more appropriately whether the document data Dm to be printed fits in the print area PA based on the currently available print paper size and print area of the printer Pr, and the document data Dm. Therefore, the necessary reduction process can be performed, and the data can be appropriately printed on the print area PA of the paper P without causing data loss more reliably.
また、プリンタドライバ12は、該プリンタPrから取得した印刷用紙サイズに基づいて文書成型用用紙サイズを通知してもよい。
Further, the
このようにすると、プリンタPrで実際に利用可能な用紙サイズに基づいてアプリケーション11に文書成型させた印刷対象の文書データDmを受け取ることができ、印刷対象の文書データDmが印字領域PAからはみ出してデータの欠落が発生してしまうことをより一層確実かつ適切に防止して、印刷性能を向上させることができる。 In this way, it is possible to receive the document data Dm to be printed, which is formed by the application 11 based on the paper size actually usable by the printer Pr, and the document data Dm to be printed protrudes from the print area PA. It is possible to more reliably and appropriately prevent the occurrence of data loss and improve printing performance.
また、上記説明においては、コンピュータPcのプリンタドライバ12で印刷対象の文書データDmが印字領域PA内に収まるか否かの判定処理と必要な印刷対象の文書データDmの縮小処理を行っている場合について説明したが、この判定処理と縮小処理は、コンピュータPcで行うものに限るものではない。
Further, in the above description, when the
例えば、プリンタがプリンタドライバを搭載しており、コンピュータ等から送信されてきた印刷対象の文書データを印刷データに変換する場合には、このプリンタのプリンタドライバとして上記印刷文書調整処理を実行するプリンタドライバを用い、または、プリンタのプリンタドライバに上記印刷文書調整処理プログラムを組み込んで、あるいは、該印刷文書調整処理プログラムを独立して搭載して、該印刷文書調整処理機能を有するプリンタドライバ、または、該印刷文書調整処理プログラムの組み込まれているプリンタドライバ、あるいは、該印刷文書調整処理プログラムが上記同様に判定処理と必要な縮小処理を行ってもよい。 For example, when a printer is equipped with a printer driver and document data to be printed transmitted from a computer or the like is converted into print data, a printer driver that executes the print document adjustment processing as the printer driver of the printer Or a printer driver having the print document adjustment processing function by incorporating the print document adjustment processing program into the printer driver of the printer or by independently mounting the print document adjustment processing program, or The printer driver in which the print document adjustment processing program is incorporated or the print document adjustment processing program may perform the determination process and the necessary reduction process in the same manner as described above.
このようにすると、判定処理機能と縮小処理機能を搭載していない通常のプリンタドライバを搭載しているコンピュータ等の情報処理装置からの文書データについても、データの欠落を発生させることなく、全ての文書データを適切に印字領域に印刷することができる。 In this way, all document data from an information processing apparatus such as a computer equipped with a normal printer driver that is not equipped with a determination processing function and a reduction processing function can be used without any data loss. Document data can be appropriately printed in the print area.
以上、本発明者によってなされた発明を好適な実施例に基づき具体的に説明したが、本発明は上記のものに限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。 The invention made by the present inventor has been specifically described based on the preferred embodiments. However, the present invention is not limited to the above, and various modifications can be made without departing from the scope of the invention. Needless to say.
本発明は、印刷対象の文書データから印刷対象の用紙サイズ内に収まる印刷データを生成して印刷させる印刷文書調整処理を行うコンピュータ等の情報処理装置、プリンタ、ファクシミリ装置、複合装置等の画像形成装置、該印刷文書調整処理を実行するプリンタドライバ等の印刷文書調整処理プログラム及び該印刷文書調整処理プログラムを記録するCD等の記録媒体に適用することができる。 The present invention relates to an image forming apparatus such as an information processing apparatus such as a computer, a printer, a facsimile apparatus, and a composite apparatus that performs print document adjustment processing for generating print data that fits within the paper size to be printed from document data to be printed. The present invention can be applied to an apparatus, a print document adjustment processing program such as a printer driver that executes the print document adjustment processing, and a recording medium such as a CD that records the print document adjustment processing program.
1 印刷システム
NW ネットワーク
Pc コンピュータ
Pr プリンタ
11 アプリケーション
12 プリンタドライバ
13 通信部
21 印刷設定部
22 描画部
23 印字範囲判定部
24 データ加工部
31 印字部
32 記憶部
33 通信部
DESCRIPTION OF
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007105515A JP2008262439A (en) | 2007-04-13 | 2007-04-13 | Information processing apparatus, print document adjustment processing program, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007105515A JP2008262439A (en) | 2007-04-13 | 2007-04-13 | Information processing apparatus, print document adjustment processing program, and recording medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2008262439A true JP2008262439A (en) | 2008-10-30 |
Family
ID=39984857
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007105515A Pending JP2008262439A (en) | 2007-04-13 | 2007-04-13 | Information processing apparatus, print document adjustment processing program, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2008262439A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012004845A (en) * | 2010-06-16 | 2012-01-05 | Brother Ind Ltd | File generation device and file generation program |
| US9594535B2 (en) | 2014-03-31 | 2017-03-14 | Brother Kogyo Kabushiki Kaisha | Image processing apparatus for printing object of original image within printable area on print medium, and non-transitory computer-readable medium |
-
2007
- 2007-04-13 JP JP2007105515A patent/JP2008262439A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012004845A (en) * | 2010-06-16 | 2012-01-05 | Brother Ind Ltd | File generation device and file generation program |
| US8982406B2 (en) | 2010-06-16 | 2015-03-17 | Brother Kogyo Kabushiki Kaisha | File-generating device |
| US9594535B2 (en) | 2014-03-31 | 2017-03-14 | Brother Kogyo Kabushiki Kaisha | Image processing apparatus for printing object of original image within printable area on print medium, and non-transitory computer-readable medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3402914B2 (en) | Print control apparatus and method | |
| JP5366513B2 (en) | Image forming apparatus and control method thereof | |
| US20090219576A1 (en) | Image forming apparatus, print control method and control program | |
| JPH10301736A (en) | Printing system, error information management method in printing system, and computer-readable recording medium recording error information management control program in printing system | |
| JP2013082130A (en) | Image forming apparatus, image formation control method, and image formation control program | |
| US20100020338A1 (en) | Printing apparatus, control method, and storage medium | |
| JP2004074783A (en) | Method of suppressing printing of nearly-blank page | |
| JP2007329919A (en) | Image forming apparatus and control method thereof | |
| JP2008030287A (en) | Printing apparatus, printing system and program | |
| US7289237B2 (en) | Print server, printing system, printing method, printing program and computer-readable recording medium containing the printing program | |
| JP2008262439A (en) | Information processing apparatus, print document adjustment processing program, and recording medium | |
| US8045211B2 (en) | Image forming device | |
| JP4143397B2 (en) | Control method for information processing apparatus | |
| US20090009800A1 (en) | Image forming apparatus and image forming method | |
| JP4174476B2 (en) | Data processing apparatus, data processing method, printer driver program, print control apparatus, print control method, and printing system | |
| US20060139675A1 (en) | Apparatus and method of changing printer driver, and printing system and method using the same | |
| JP4869009B2 (en) | Information processing apparatus and information processing method | |
| JP2006021489A (en) | Printer, control method, program, and storage medium | |
| US20070008565A1 (en) | Printing apparatus | |
| US8339650B2 (en) | Image forming apparatus, image forming method, and storage medium | |
| JP2007098613A (en) | Print control system and print control method | |
| KR20090036885A (en) | Image forming method and image forming apparatus | |
| JP2009025952A (en) | Image forming system, image-forming program and image forming device | |
| JP3583879B2 (en) | Printer control device | |
| JP4188308B2 (en) | Image processing apparatus, image processing system, and control program for image processing apparatus |