JP2007026287A - Printer driver and control program - Google Patents
Printer driver and control program Download PDFInfo
- Publication number
- JP2007026287A JP2007026287A JP2005210020A JP2005210020A JP2007026287A JP 2007026287 A JP2007026287 A JP 2007026287A JP 2005210020 A JP2005210020 A JP 2005210020A JP 2005210020 A JP2005210020 A JP 2005210020A JP 2007026287 A JP2007026287 A JP 2007026287A
- Authority
- JP
- Japan
- Prior art keywords
- paper
- printing
- data
- print data
- 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
Abstract
Description
本発明は、物理的なソートを行うプリンタドライバ及び制御プログラムに関する。 The present invention relates to a printer driver and a control program that perform physical sorting.
従来からプリンタドライバより印刷データをプリントスプーラに転送し、プリントスプーラからプリンタ装置に何らかのインタフェースを介して印刷データを転送して印刷を行う印刷装置において、ソート印刷を実行する機構を有するプリントモニタをプリントスプーラ側に設けることにより、プリンタ装置側にソータあるいはハードディスク等の記憶装置等の何らの装置を付加することなく、ソート印刷を可能としたソート印刷装置が知られている(例えば、特許文献1参照)。
しかしながら、特許文献1に示すソート印刷装置にあっては、部単位に印刷するようにしたのみのため、排紙トレイに排出される印刷物が物理的にソートされておらずそのため印刷物を見ながら区分け作業を行わなければならないという問題がある。 However, in the sort printing apparatus shown in Patent Document 1, since printing is performed only in units of copies, the printed materials discharged to the paper discharge tray are not physically sorted, and therefore, the sorting is performed while viewing the printed materials. There is a problem that work must be done.
本発明は、このような事情に鑑みてなされたもので、縦方向用紙と横方向用紙を組み合わせて印刷することによりソート装置などを装着しなくても物理的にソート印刷を行なうことができるプリンタドライバ及び制御プログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and can perform a sort print physically without mounting a sort device or the like by printing a combination of a vertical paper and a horizontal paper. An object is to provide a driver and a control program.
本発明は、複数の給紙手段を備える印刷装置に対する用紙設定情報の送信要求に対して、該印刷装置から送信された給紙手段のそれぞれにセットされている用紙の方向の情報を受信する用紙設定情報受信手段と、印刷アプリケーションプログラムから印刷データを受信する印刷データ受信手段と、前記印刷データを解析して印刷部数を取得する印刷部数取得手段と、前記印刷部数が複数であり、かつ前記給紙手段にセットされている用紙の方向が異なる場合に、部単位の印刷が終了する度に、給紙手段を切り替えながら前記印刷データを中間言語によるデータに変換して、前記印刷装置へ送信するデータ送信手段とを備えたことを特徴とする。 The present invention relates to a paper for receiving information on the direction of the paper set in each of the paper feeding means transmitted from the printing apparatus in response to a transmission request for paper setting information to a printing apparatus having a plurality of paper feeding means. A setting information receiving means; a print data receiving means for receiving print data from a print application program; a print number acquiring means for analyzing the print data to acquire the number of print copies; When the direction of the paper set on the paper means is different, the print data is converted into data in an intermediate language while switching the paper feed means and sent to the printing apparatus each time printing of each copy is completed. And a data transmission means.
本発明は、複数の給紙手段を備える印刷装置に対する用紙設定情報の送信要求に対して、該印刷装置から送信された給紙手段のそれぞれにセットされている用紙の方向の情報を受信する用紙設定情報受信処理と、印刷アプリケーションプログラムから印刷データを受信する印刷データ受信処理と、前記印刷データを解析して印刷部数を取得する印刷部数取得処理と、前記印刷部数が複数であり、かつ前記給紙手段にセットされている用紙の方向が異なる場合に、部単位の印刷が終了する度に、給紙手段を切り替えながら前記印刷データを中間言語によるデータに変換して、前記印刷装置へ送信するデータ送信処理とをコンピュータに行わせることを特徴とする。 The present invention relates to a paper for receiving information on the direction of the paper set in each of the paper feeding means transmitted from the printing apparatus in response to a transmission request for paper setting information to a printing apparatus having a plurality of paper feeding means. A setting information reception process; a print data reception process for receiving print data from a print application program; a print number acquisition process for analyzing the print data to acquire the number of print copies; When the direction of the paper set on the paper means is different, the print data is converted into data in an intermediate language while switching the paper feed means and sent to the printing apparatus each time printing of each copy is completed. Data transmission processing is performed by a computer.
本発明によれば、ハードディスクやソータを装着することが不要であり、また印刷装置本体にオプション機能を追加することなく印刷物を物理的にソートすることができるという効果が得られる。 According to the present invention, it is unnecessary to mount a hard disk or a sorter, and it is possible to obtain an effect that the printed materials can be physically sorted without adding an optional function to the printing apparatus main body.
以下、本発明の一実施形態によるプリンタドライバを図面を参照して説明する。図1は同実施形態の構成を示すブロック図である。この図において、符号1は、印刷対象の文書等のデータを作成するために、文書作成のアプリケーション2がインストールされたパソコンである。符号3は、アプリケーション2が出力する印刷データをページ記述言語(中間言語)による印刷データに変換して印刷装置へ出力するプリンタドライバである。符号4は、プリンタドライバ3から出力する印刷データに基づいて、印刷媒体に画像を転写するプリンタである。
Hereinafter, a printer driver according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment. In this figure, reference numeral 1 denotes a personal computer in which a
符号31は、アプリケーション2から出力される印刷データを受信して保持するバッファを備えた印刷データ受信部である。符号32は、受信した印刷データのヘッダ部分を読み出し、印刷部数の情報を抽出することにより印刷部数の値を取得する印刷部数取得部である。符号33は、受信した印刷データをページ記述言語による印刷データに変換する変換部である。符号34は、プリンタ4との間で情報通信を行う通信部である。符号35は、プリンタ4に対して、用紙設定情報の送信を要求し、プリンタ4が送信した用紙設定情報を取得する用紙設定情報取得部である。
符号41は、受信した印刷データに基づいて、印刷媒体に画像を転写する印刷部である。符号42、43は、印刷媒体(以下、印刷用紙という)を収納する給紙カセットであり、印刷用紙をセットする方向を縦送り方向(印刷用紙の長辺が用紙の送り方向と平行)または横送り方向(印刷用紙の短辺が用紙の送り方向と平行)に設定可能である。符号44は、手差し用紙をセットする手差しトレイである。符号45は、印刷部41において印刷された後に排出される印刷物を受ける排紙トレイである。
次に、図1に示すプリンタドライバ3とプリンタ4の動作を説明する。初めに事前に行う必要がある準備について説明する。ユーザは、プリンタ4が備えている給紙カセットのうち、2つの給紙カセットを任意に選択し、この選択した2つの給紙カセットに同サイズの印刷用紙をセットする。このとき、2つの給紙カセットにセットする印刷用紙の方向は、一方を縦送り方向にセットし、他方を横送り方向にセットしておく。図1に示す例では、給紙カセット42に縦送り方向のA4用紙がセットされ、給紙カセット43に横送り方向のA4用紙がセットされているものとして説明する。
Next, operations of the
次に、図2を参照して、図1に示すプリンタドライバ3とプリンタ4の印刷動作を説明する。まず、ユーザは、アプリケーション2を使用して、印刷対象の文書データを作成する。そして、ユーザは、アプリケーション2上から印刷指示の操作を行う。このとき、ユーザは、用紙サイズ、印刷部数及びソート印刷を行うか否かを指示する。ここでは、用紙サイズが「A4」、印刷部数が「3部」、「ソート印刷を行う」と指示されたものとする。
Next, the printing operation of the
アプリケーション2から印刷指示を受信(ステップS1)し、ソート印刷を行うことが指示された場合、用紙設定情報取得部35は、通信部34を介して、プリンタ4に対して用紙設定情報の取得要求を送信する(ステップS2)。この要求を受信する(ステップS21)と、プリンタ4は、内部に保持している用紙設定情報をプリンタドライバ3に対して送信する(ステップS22)。この用紙設定情報は、通信部34を介して用紙設定情報取得部35が受信する(ステップS3)。ここでいう用紙設定情報とは、給紙カセット毎に、給紙カセットを識別するカセット識別情報と、この給紙カセットにセットされている印刷用紙のサイズ情報と、この印刷用紙の送り方向を識別する方向識別情報とからなる。これにより、給紙カセット42に縦送り方向のA4用紙がセットされ、給紙カセット43に横送り方向のA4用紙がセットされていることを取得することができる。
When receiving a print instruction from the application 2 (step S1) and instructing to perform sort printing, the paper setting
次に、印刷データ受信部31は、アプリケーション2から印刷データを読み込み、内部のバッファに蓄積していく(ステップS4)。印刷部数取得部32は、バッファに蓄積されている印刷データのヘッダ部分を読み取り、印刷部数の値を取得し、変換部33へ通知する(ステップS5)。変換部33は、通知された印刷部数の値が2以上であるか(複数であるか)否かを判定する(ステップS6)。この判定の結果、印刷部数が複数でない(印刷部数が「1」である)場合、変換部33は、印刷データ受信部31内のバッファに蓄積されている印刷データを順次読み出し、中間言語により印刷データへ変換し、通信部34を介してプリンタ4に対して送信する(ステップS11)。プリンタ4は、この中間言語による印刷データを順次受信し(ステップS23)、印刷部41により印刷を実行する(ステップS24)。これにより1部の印刷物が排紙トレイ45に排出されることになる。
Next, the print
一方、印刷部数が複数の場合、変換部33は、用紙設定情報取得部35内に保持されている用紙設定情報を読み出し、この読み出した用紙設定情報に基づいて、ソート印刷が可能であるか否かを判定する(ステップS7)。この判定は、印刷するべき印刷データに指定されている用紙サイズと同一のサイズの印刷用紙がセットされている給紙カセットが少なくとも2つあり、かつこの2つの給紙カセットにセットされている用紙の方向がそれぞれ異なっている場合に、ソート印刷可能と判定する。
On the other hand, when there are a plurality of print copies, the
ソート印刷可能である場合、変換部33は、読み出した用紙設定情報に基づいて、給紙元の給紙カセットを選択する(ステップS8)。このとき、変換部33は、初めに選択する給紙カセットが横送り方向の印刷用紙がセットされている給紙カセットを選択するようにする。ここでは、横送り方向のA4用紙がセットされている給紙カセット43が選択されたものとする。一方、ソート印刷ができない場合(セットされている用紙のサイズが異なる場合やセットされている用紙の方向が同じ場合など)、変換部33は、ソート印刷するための給紙カセット選択処理をスキップする。
If sort printing is possible, the
次に、変換部33は、印刷データ受信部31内のバッファに蓄積されている印刷データを順次読み出し、中間言語により印刷データへ変換し、通信部34を介してプリンタ4に対して送信する(ステップS9)。このとき、変換部33は、ソート印刷が可能であれば、ステップS8において選択した給紙カセット(ここでは、給紙カセット43)から給紙が行われるように、給紙カセット指定コマンドをプリンタ4へ送出する。また、ソート印刷ができない場合、変換部33は、印刷データで指定されている印刷用紙がセットされている給紙カセットを指定する給紙カセット指定コマンドをプリンタ4へ送出する。プリンタ4は、この中間言語による印刷データを順次受信し(ステップS23)、印刷部41により印刷を実行する(ステップS24)。これにより1部目の印刷物が排紙トレイ45に排出されることになり、ソート印刷を行う場合は、給紙カセット43から印刷用紙が給紙されて印刷が行われる。
Next, the
次に、変換部33は、指定された印刷部数を全て印刷したか否かを判定し、指定された印刷部数を全て印刷するまで、ステップS7〜S9の処理を繰り返し実行する。このとき、変換部33は、ステップS8において給紙カセットを選択する場合に、奇数番目の部単位印刷を行うときは、横送り方向の印刷用紙がセットされている給紙カセットを選択し、偶数番目の部単位印刷を行うときは、縦送り方向の印刷用紙がセットされている給紙カセットを選択されるように、部単位の印刷を終える度に、縦送り方向と横送り方向を切り替える。これにより、図1に示すように、排紙トレイ45には、1部目は横方向、2部目は縦方向、3部目は横方向で印刷物が出力されることになり物理的なソートを実現することができる。また、奇数番目の部単位印刷を実行する場合に横送り方向を選択するようにしたため、奇数の部数を印刷する場合に、横送り方向で印刷される回数が縦送り方向で印刷される回数より多くなるため、全ての部数を印刷するための用紙搬送時間を短くすることができるため、結果的に印刷時間を短くすることができる。
Next, the
なお、前述した説明においては、アプリケーション2から出力された印刷データを印刷データ受信部31内のバッファに蓄積しておき、部単位印刷が終了する度に、再度バッファに蓄えられている印刷データを読み出して、中間言語に変換してプリンタ4へ出力する例を説明したが、印刷データ受信部31には、バッファを設けずに、変換部33によって印刷データを中間言語に変換した結果をバッファに記憶するようにして、2部目以降は記憶しておいた変換後のデータを読み出して送信し、給紙カセットを指定コマンドのみをその都度送信するようにしてもよい。また、プリンタ本体に備えている給紙カセットが1つの場合は、手差しカセットと給紙カセットを切り替えて印刷を行うようにしてもよい。
In the above description, the print data output from the
このように、プリンタドライバにおいて物理的なソート機能を実現することによりプリンタを変更することなく印刷物のソートを行うことができる。また、中間言語による印刷データをプリンタに対して出力する前に、対象のプリンタから用紙設定情報を取得し、この用紙設定情報を参照して、ソート印刷が可能であるか否かを判定するようにしたため、事前の設定ミスに基づく印刷結果の不具合を防ぐことが可能となる。 As described above, by realizing the physical sorting function in the printer driver, it is possible to sort the printed matter without changing the printer. Further, before outputting print data in an intermediate language to the printer, paper setting information is acquired from the target printer, and it is determined whether sort printing is possible by referring to the paper setting information. As a result, it is possible to prevent problems in the printing result due to a setting error in advance.
なお、図1における処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりソート処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。 A program for realizing the functions of the processing unit in FIG. 1 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read by a computer system and executed to perform sort processing. May be. The “computer system” here includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
1・・・パソコン、2・・・アプリケーション、3・・・プリンタドライバ、31・・・印刷データ受信部、32・・・印刷部数取得部、33・・・変換部、34・・・通信部、35・・・用紙設定情報取得部、4・・・プリンタ、41・・・印刷部、42、43・・・給紙カセット、44・・・手差しトレイ、45・・・排紙トレイ
DESCRIPTION OF SYMBOLS 1 ... Personal computer, 2 ... Application, 3 ... Printer driver, 31 ... Print data receiving part, 32 ... Print number acquisition part, 33 ... Conversion part, 34 ...
Claims (2)
印刷アプリケーションプログラムから印刷データを受信する印刷データ受信手段と、
前記印刷データを解析して印刷部数を取得する印刷部数取得手段と、
前記印刷部数が複数であり、かつ前記給紙手段にセットされている用紙の方向が異なる場合に、部単位の印刷が終了する度に、給紙手段を切り替えながら前記印刷データを中間言語によるデータに変換して、前記印刷装置へ送信するデータ送信手段と
を備えたことを特徴とするプリンタドライバ。 In response to a paper setting information transmission request to a printing apparatus having a plurality of paper feeding means, paper setting information receiving means for receiving information on the direction of the paper set in each of the paper feeding means transmitted from the printing apparatus When,
Print data receiving means for receiving print data from the print application program;
A copy number acquisition means for analyzing the print data and acquiring the number of print copies;
When the number of print copies is plural and the direction of the paper set in the paper feed means is different, the print data is changed to data in an intermediate language while switching the paper feed means each time printing of each copy is completed. A printer driver comprising: a data transmission unit that converts the data into a printer and transmits the data to the printing apparatus.
印刷アプリケーションプログラムから印刷データを受信する印刷データ受信処理と、
前記印刷データを解析して印刷部数を取得する印刷部数取得処理と、
前記印刷部数が複数であり、かつ前記給紙手段にセットされている用紙の方向が異なる場合に、部単位の印刷が終了する度に、給紙手段を切り替えながら前記印刷データを中間言語によるデータに変換して、前記印刷装置へ送信するデータ送信処理と
をコンピュータに行わせることを特徴とする制御プログラム。
In response to a paper setting information transmission request to a printing apparatus having a plurality of paper feeding means, paper setting information reception processing for receiving information on the direction of the paper set in each of the paper feeding means transmitted from the printing apparatus When,
Print data reception processing for receiving print data from the print application program;
A print copy number acquisition process for analyzing the print data and acquiring a print copy number;
When the number of copies is plural and the direction of the paper set in the paper feeding unit is different, the print data is changed to data in an intermediate language while switching the paper feeding unit each time printing is completed. A control program for causing a computer to perform a data transmission process of converting to a printer and transmitting the data to the printing apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005210020A JP2007026287A (en) | 2005-07-20 | 2005-07-20 | Printer driver and control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005210020A JP2007026287A (en) | 2005-07-20 | 2005-07-20 | Printer driver and control program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007026287A true JP2007026287A (en) | 2007-02-01 |
Family
ID=37786932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005210020A Pending JP2007026287A (en) | 2005-07-20 | 2005-07-20 | Printer driver and control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007026287A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101028616B1 (en) | 2010-10-11 | 2011-04-08 | 정종근 | A protection net for slope |
JP5900626B2 (en) * | 2012-09-03 | 2016-04-06 | 日産自動車株式会社 | Diesel engine control device |
-
2005
- 2005-07-20 JP JP2005210020A patent/JP2007026287A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101028616B1 (en) | 2010-10-11 | 2011-04-08 | 정종근 | A protection net for slope |
JP5900626B2 (en) * | 2012-09-03 | 2016-04-06 | 日産自動車株式会社 | Diesel engine control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8139252B2 (en) | Image forming system and image forming method | |
JP2000039972A (en) | Print system and printer and print server | |
US8392630B2 (en) | Information processing apparatus having first DMA controller and second DMA controller wherein selection circuit determines which DMA will perform data transfer based on higher data transfer performance | |
US7061654B2 (en) | Image processor, image processing method and storage medium | |
JP2007026287A (en) | Printer driver and control program | |
JP7172150B2 (en) | Information processing device, communication system, image forming method, program | |
US10061550B2 (en) | Printer multifunction system having scanner controlled data transmission | |
US9558432B2 (en) | Buffer management technology in image forming apparatus | |
JP2009025952A (en) | Image forming system, image-forming program and image forming device | |
JP2004188865A (en) | Image forming device and program | |
JP2006263966A (en) | Image forming device | |
JP4481076B2 (en) | Image forming apparatus and control program | |
US20080165385A1 (en) | Multi-function device system having multi-function device and multi-function device communications management unit, multi-function device, and multi-function device communications management unit | |
CN102209170A (en) | Small AIO (all in one) printer that uses external storage for the purpose of paper collation | |
JP3684102B2 (en) | Printing apparatus, control method therefor, and computer-readable memory | |
JP2007011694A (en) | Image recording system, image recording method and image recording device | |
JP2006051660A (en) | Printing control method | |
JP2006123321A (en) | Image forming system and image forming device | |
JP2011028363A (en) | Printing system and program | |
JP2007168368A (en) | Printer controlling device, and printer device | |
JP2008118426A (en) | Image processing apparatus and program | |
JP2000099292A (en) | Method and device for processing print job | |
JP2005313463A (en) | Printer controller | |
JP2013159104A (en) | Image forming device | |
JPH04302065A (en) | Picture processing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090310 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090317 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090707 |