[go: up one dir, main page]

JP6880392B2 - Information processing equipment and its processing method - Google Patents

Information processing equipment and its processing method Download PDF

Info

Publication number
JP6880392B2
JP6880392B2 JP2016247086A JP2016247086A JP6880392B2 JP 6880392 B2 JP6880392 B2 JP 6880392B2 JP 2016247086 A JP2016247086 A JP 2016247086A JP 2016247086 A JP2016247086 A JP 2016247086A JP 6880392 B2 JP6880392 B2 JP 6880392B2
Authority
JP
Japan
Prior art keywords
architecture
print
setting information
print setting
library
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.)
Active
Application number
JP2016247086A
Other languages
Japanese (ja)
Other versions
JP2018101303A (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 Marketing Japan Inc
Canon IT Solutions Inc
Original Assignee
Canon Marketing Japan Inc
Canon IT Solutions 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 Marketing Japan Inc, Canon IT Solutions Inc filed Critical Canon Marketing Japan Inc
Priority to JP2016247086A priority Critical patent/JP6880392B2/en
Publication of JP2018101303A publication Critical patent/JP2018101303A/en
Application granted granted Critical
Publication of JP6880392B2 publication Critical patent/JP6880392B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

印刷設定の変更を制御する情報処理装置とその処理方法。 An information processing device that controls changes in print settings and its processing method.

従来から印刷するにはプリンタドライバをインストールして、文書作成アプリケーション等で作成されたデータをGDI(Graphics Device Interface)を介して取得し、プリンタに出力することが行われている。 Conventionally, in order to print, a printer driver is installed, data created by a document creation application or the like is acquired via GDI (Graphics Device Interface), and the data is output to a printer.

ここで、上位サーバから自動で印刷を実行するために、プリンタドライバの拡張I/F(プリンタドライバSDK)を用いて印刷できるような構成が準備されている。 Here, in order to automatically execute printing from the upper server, a configuration is prepared so that printing can be performed using the extended I / F (printer driver SDK) of the printer driver.

上位サーバのアプリケーションからの印刷において、印刷設定(プリンタドライバで変更可能な印刷設定)を変更して印刷する場合には、印刷設定を含むDEVMODE構造体をSDKが参照してプリンタドライバの印刷設定を内部的に変更して、GDIから受け取った印刷データをプリンタに出力する。 When printing from a higher-level server application by changing the print settings (print settings that can be changed by the printer driver), the SDK refers to the DEVMODE structure including the print settings and sets the print settings of the printer driver. It is changed internally and the print data received from GDI is output to the printer.

近年64bit版のオペレーティングシステム(以下、64bitOS)に置き換わってきており、64bitOSでの印刷するに関する印刷設定を変更した仕組みが開示されている。(特許文献1) In recent years, it has been replaced by a 64-bit version of the operating system (hereinafter, 64-bit OS), and a mechanism for changing the print settings related to printing on the 64-bit OS is disclosed. (Patent Document 1)

特開2013−196503号公報Japanese Unexamined Patent Publication No. 2013-196503

64bitOSになっても、32bitのアプリケーションを実行できるため、上位サーバで動作しているアプリケーションは32bit用のアプリケーションを利用しているケースがある。
なお、Microsoft(登録商標)では、WOW64を提供し、64bitOS上で32bitのアプリケーションが実行できるようになっている。
Even if it becomes a 64-bit OS, a 32-bit application can be executed. Therefore, there are cases where an application running on a higher-level server uses a 32-bit application.
In addition, Microsoft (registered trademark) provides WOW64 so that a 32-bit application can be executed on a 64-bit OS.

一方プリンタドライバは、64bitOSを搭載しているPCは、64bit版のプリンタドライバをインストールしている。また、プリンタドライバSDKも同様に、64bit版であり、且つ、ライブラリであることから、32bitのアプリケーションから64bitのライブラリを呼び出すことができず、自動印刷ができない。
すなわち、印刷設定を動的に変更して、印刷することができないという問題があった。
On the other hand, as for the printer driver, a PC equipped with a 64-bit OS has a 64-bit version of the printer driver installed. Similarly, since the printer driver SDK is also a 64-bit version and is a library, a 64-bit library cannot be called from a 32-bit application, and automatic printing cannot be performed.
That is, there is a problem that the print setting cannot be dynamically changed to print.

64bitOSの仕様上、64bitのライブラリを呼び出すには64bitのアプリケーションあるいは実行形式のファイル(exeファイル)から呼び出しする必要がある。 Due to the specifications of 64-bit OS, it is necessary to call from a 64-bit application or an executable file (exe file) in order to call a 64-bit library.

これを解決するためには、プリンタドライバの印刷設定を予め変更しておくようなケースが考えられるが、マルチプロセスで印刷が実行させる場合には、プリンタドライバを都度変更させてから印刷実行すると処理速度が遅くなるという課題があった。 In order to solve this, it is conceivable to change the print settings of the printer driver in advance, but when printing is executed in multiple processes, it is processed by changing the printer driver each time and then executing printing. There was a problem that the speed became slow.

また、印刷設定を固定化することも考えられるが、印刷データごとに印刷設定を変更させたい場合には、適用が困難であった。 Further, it is conceivable to fix the print setting, but it is difficult to apply it when it is desired to change the print setting for each print data.

そこで、本発明の目的は、異なるアーキテクチャーにおける環境で、印刷設定を変更した印刷処理を行えるようにすることである。 Therefore, an object of the present invention is to enable printing processing in which print settings are changed in environments having different architectures.

第1のアーキテクチャーで構築された印刷制御アプリケーションと、前記第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムと、印刷に用いる印刷設定情報を記憶する記憶手段とを含む情報処理装置であって、前記印刷制御アプリケーションから、前記第1のアーキテクチャーのインターフェースライブラリを呼び出す呼出手段と、前記インターフェースライブラリにより、前記第1のアーキテクチャーとのインターフェースとなる、前記第2のアーキテクチャーの実行プログラムの実行要求をする実行要求手段と、前記実行要求手段により実行要求された前記実行プログラムに対して、前記インターフェースライブラリから、変更する印刷設定情報を出力する出力手段と、前記実行プログラムから、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、前記変更する印刷設定情報を用いて、前記記憶手段の印刷設定情報を変更させる変更制御手段と、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリは、拡張インターフェースとなるライブラリと、当該拡張インターフェースからの要求に従って印刷設定情報を変更可能な印刷ジョブを生成するライブラリを含み、前記実行プログラムは、前記拡張インターフェースとなるライブラリを呼び出して、前記記憶手段の印刷設定情報を変更させることを特徴とする。
A print control application built with the first architecture, an operation system of the second architecture capable of executing a program of the first architecture, and a storage means for storing print setting information used for printing. The first information processing apparatus including the above, wherein the call means for calling the interface library of the first architecture from the print control application and the interface library serve as an interface with the first architecture. An execution request means for requesting execution of an execution program of the two architectures, an output means for outputting print setting information to be changed from the interface library to the execution program requested to be executed by the execution request means, and an output means. The change control means that calls the print job generation library of the second architecture from the execution program and changes the print setting information of the storage means by using the print setting information to be changed , and the second architect. The char print job generation library includes a library that serves as an extension interface and a library that generates a print job whose print setting information can be changed according to a request from the extension interface, and the execution program includes a library that serves as the extension interface. call, characterized Rukoto to change the print setting information of the storage means.

本発明によれば、異なるアーキテクチャーにおける環境で、印刷設定を変更した印刷処理を行えるようにすることができる。 According to the present invention, it is possible to perform a print process in which print settings are changed in environments having different architectures.

本実施形態における、印刷制御システムの構成の一例を示す図であるIt is a figure which shows an example of the structure of the print control system in this embodiment. 本実施形態における、各種装置のハードウェア構成の一例を示す図であるIt is a figure which shows an example of the hardware configuration of various devices in this embodiment. 本実施形態における、プリンタ300のハードウェア構成の一例を示す図であるIt is a figure which shows an example of the hardware composition of the printer 300 in this embodiment. 本実施形態における、印刷制御サーバ200のモジュール構成を示す図であるIt is a figure which shows the module structure of the print control server 200 in this embodiment. 本実施形態における、印刷設定変更制御処理1のフローチャートを示す図であるIt is a figure which shows the flowchart of the print setting change control process 1 in this embodiment. 本実施形態における、印刷設定変更制御処理2のフローチャートを示す図であるIt is a figure which shows the flowchart of the print setting change control process 2 in this embodiment. 本実施形態における、印刷設定変更制御処理3のフローチャートを示す図であるIt is a figure which shows the flowchart of the print setting change control process 3 in this embodiment. 本実施形態における、印刷制御サーバ200の外部メモリ211(記憶部)に記憶されている印刷設定情報の一例を示す図であるIt is a figure which shows an example of the print setting information stored in the external memory 211 (storage part) of the print control server 200 in this embodiment. 本実施形態における、Devmode情報の一例を示す図であるIt is a figure which shows an example of Devmode information in this embodiment. 本実施形態における、プリンタオブジェクトに印刷設定を反映して印刷処理をする概略を示す図であるIt is a figure which shows the outline which reflects the print setting to the printer object, and performs the print process in this embodiment.

以下、図面を参照して本発明の実施形態を詳細に説明する。図1は、本発明の実施形態における、印刷制御システムの構成の一例を示す図である。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing an example of a configuration of a print control system according to an embodiment of the present invention.

図1に示す通り、本発明の印刷制御システムは、クライアント端末100と印刷制御サーバ200と、プリンタ300がネットワーク600を介して通信可能に接続されている。ネットワークはLANでもWANでもよい。 As shown in FIG. 1, in the print control system of the present invention, the client terminal 100, the print control server 200, and the printer 300 are communicably connected via the network 600. The network may be LAN or WAN.

印刷制御サーバ200は、記憶部(自身のHDDでも外部のサーバでもよい)に記憶されている文書を取得して印刷の処理を開始する。印刷処理の開始は、文書が登録されたタイミングで自動的に開始されても、クライアント端末100からの印刷開始要求に従って開始されてもよい。 The print control server 200 acquires a document stored in a storage unit (either its own HDD or an external server) and starts a printing process. The start of the print process may be automatically started at the timing when the document is registered, or may be started according to the print start request from the client terminal 100.

また、印刷制御サーバ200はクラウド環境にあってもよく、クラウド環境の印刷制御サーバから、プリンタ300に印刷を実行できる環境であってもよい。本実施形態では、印刷制御サーバ200の制御を特徴とするが、印刷制御サーバ200の機能を備えるクライアント端末100であれば、クライアント端末100で実現することも可能であることは言うまでもない。 Further, the print control server 200 may be in a cloud environment, or may be an environment in which printing can be executed on the printer 300 from the print control server in the cloud environment. The present embodiment is characterized by the control of the print control server 200, but it goes without saying that the client terminal 100 can be realized by the client terminal 100 having the function of the print control server 200.

印刷制御サーバ200のモジュール構成は図4で後述するが、印刷制御サーバ200は、第1のアーキテクチャー(例えば、32bit)で構築された印刷制御アプリケーションと、第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステム(例えば、64bit版のOS)と、印刷に用いる印刷設定情報(Devmode情報)を記憶する記憶手段とを含む情報処理装置である。 The module configuration of the print control server 200 will be described later in FIG. 4, but the print control server 200 executes a print control application constructed with the first architecture (for example, 32 bits) and a program of the first architecture. It is an information processing apparatus including an operation system of a second architecture capable of being capable (for example, a 64-bit version OS) and a storage means for storing print setting information (program information) used for printing.

また、印刷制御サーバは、印刷制御アプリケーション(例えば、32bitのアプリケーション)から、第1のアーキテクチャーのインターフェースライブラリ(例えば、32bitのDLL)を呼び出し(第1の呼出)、インターフェースライブラリ(例えば、32bitのDLL)により、第1のアーキテクチャーとのインターフェースとなる、第2のアーキテクチャー(例えば、64bit)の実行プログラム(例えば、exe)の実行要求をし(実行要求)、実行要求された実行プログラムに対して、インターフェースライブラリ(例えば、32bitのDLL)から、変更する印刷設定情報を出力し、実行プログラムから、第2のアーキテクチャーの印刷ジョブ生成ライブラリ(例えば、64bitのプリンタドライバSDK、プリンタドライバ)を呼び出して、変更する印刷設定情報を用いて、記憶手段の印刷設定情報(例えば、Devmode情報)を変更させ(変更制御)、変更制御により印刷設定情報が変更された場合に、印刷ジョブ生成ライブラリ(例えば、64bitのプリンタドライバSDK、プリンタドライバ)が、印刷制御アプリケーションにより出力されたデータと、変更された印刷設定情報とを取得して出力する(印刷データ出力)。 Further, the print control server calls (for example, a first call) an interface library of the first architecture (for example, a 32-bit DLL) from a print control application (for example, a 32-bit application), and calls an interface library (for example, a 32-bit application). By (DLL), an execution request (for example, exe) of an execution program (for example, exe) of the second architecture (for example, 64 bits), which is an interface with the first architecture, is requested (execution request), and the execution program requested to be executed is sent. On the other hand, the print setting information to be changed is output from the interface library (for example, 32 bit DLL), and the print job generation library of the second architecture (for example, 64 bit printer driver SDK, printer driver) is output from the execution program. The print setting information (for example, Devmode information) of the storage means is changed (change control) by using the print setting information to be called and changed, and when the print setting information is changed by the change control, the print job generation library ( For example, a 64-bit printer driver SDK (printer driver) acquires and outputs the data output by the print control application and the changed print setting information (print data output).

プリンタ300は、印刷制御サーバ200から、印刷ジョブ生成ライブラリ(例えば、64bitのプリンタドライバSDK、プリンタドライバ)を介して印刷データを取得して、印刷を実行する。
クライアント端末100は、印刷制御サーバ200にアクセスして、印刷する文書を指定して印刷の開始命令をすることが可能である。
The printer 300 acquires print data from the print control server 200 via a print job generation library (for example, a 64-bit printer driver SDK and a printer driver), and executes printing.
The client terminal 100 can access the print control server 200, specify a document to be printed, and issue a print start command.

なお、上述した、OSは、一例として示した通り、64bit版のオペレーティングシステムであって、Windows(登録商標)の場合WOW64のエミュレータープログラムにより、32bit版のプログラム(アプリケーション含む)を動作可能な環境となっている。WOW64を備えるオペレーティングシステムでは、具体的には、Win32APIをWin64APIに呼び変えるエミュレーションをしている。これにより、従来構築した32bit版のアプリケーション(32bit版のOS上で実行されている32bit版のアプリケーション)を64bit版のOSに移行して実行させることが可能となっている。 As shown as an example, the OS described above is a 64-bit version of the operating system, and in the case of Windows (registered trademark), the environment is such that the 32-bit version of the program (including the application) can be operated by the WOW64 emulator program. It has become. In the operating system including WOW64, specifically, the emulation that calls Win32API to Win64API is performed. This makes it possible to migrate a 32-bit version application (a 32-bit version application running on a 32-bit version OS) to a 64-bit version OS and execute it.

この時、32bit版のアプリケーションは、32bit版のOS上で実行することを目的としてプログラミングされているため、通常は、32bit版のアプリケーションからは32bit版のライブラリは呼び出せるが、64bit版のライブラリは呼び出せない構造となっている。 At this time, since the 32-bit version application is programmed for the purpose of executing on the 32-bit version OS, normally, the 32-bit version library can be called from the 32-bit version application, but the 64-bit version library can be called. It has no structure.

64bit版のライブラリを呼び出す構造にするには、32bit版のアプリケーションの改修が必要となり、32bit版のアプリケーションを利用している企業や、これらを開発する企業にとって煩雑なものとなるという性質がある。 In order to have a structure that calls the 64-bit version of the library, it is necessary to modify the 32-bit version of the application, which has the property of becoming complicated for companies using the 32-bit version of the application and companies developing these.

次に図2を参照して、本発明の実施形態における、各種装置のハードウェア構成の一例について説明する。図2は、本発明の実施形態における、各種装置のハードウェア構成の一例を示す図である。なお、図2は、図1に示した印刷制御サーバ200に適用可能な情報処理装置のハードウェア構成として説明するが、クライアント端末100のハードウェア構成としても適用可能であることは言うまでもない。 Next, with reference to FIG. 2, an example of the hardware configuration of various devices according to the embodiment of the present invention will be described. FIG. 2 is a diagram showing an example of hardware configurations of various devices according to the embodiment of the present invention. Note that FIG. 2 will be described as a hardware configuration of the information processing device applicable to the print control server 200 shown in FIG. 1, but it goes without saying that it can also be applied as a hardware configuration of the client terminal 100.

図2において、201はCPUで、システムバス204に接続される各デバイスやコントローラを統括的に制御する。また、ROM202あるいは外部メモリ211には、CPU201の制御プログラムであるBIOS(Basic Input / Output System)やオペレーティングシステムプログラム(以下、OS)や、各サーバ或いは各PCの実行する機能を実現するために必要な後述する各種プログラム等が記憶されている。 In FIG. 2, 201 is a CPU that comprehensively controls each device and controller connected to the system bus 204. Further, the ROM 202 or the external memory 211 is necessary to realize a function executed by a BIOS (Basic Input / Output System) or an operating system program (hereinafter, OS) which is a control program of the CPU 201, and each server or each PC. Various programs described later are stored.

203はRAMで、CPU201の主メモリ、ワークエリア等として機能する。CPU201は、処理の実行に際して必要なプログラム等をROM202あるいは外部メモリ211からRAM203にロードして、該ロードしたプログラムを実行することで各種動作を実現するものである。 Reference numeral 203 denotes a RAM, which functions as a main memory, a work area, and the like of the CPU 201. The CPU 201 realizes various operations by loading a program or the like necessary for executing a process from the ROM 202 or the external memory 211 into the RAM 203 and executing the loaded program.

また、205は入力コントローラで、キーボード(KB)209や不図示のマウス等のポインティングデバイス等からの入力を制御する。206はビデオコントローラで、CRTディスプレイ(CRT)210等の表示器への表示を制御する。なお、図2では、CRT210と記載しているが、表示器はCRTだけでなく、液晶ディスプレイ等の他の表示器であってもよい。これらは必要に応じて管理者が使用するものである。 Reference numeral 205 denotes an input controller, which controls input from a keyboard (KB) 209, a pointing device such as a mouse (not shown), or the like. Reference numeral 206 denotes a video controller, which controls the display on a display such as a CRT display (CRT) 210. Although it is described as CRT210 in FIG. 2, the display may be not only the CRT but also another display such as a liquid crystal display. These are used by the administrator as needed.

207はメモリコントローラで、ブートプログラム,各種のアプリケーション,フォントデータ,ユーザファイル,編集ファイル,各種データ等を記憶するハードディスク(HD)や、フレキシブルディスク(FD)、或いはPCMCIAカードスロットにアダプタを介して接続されるコンパクトフラッシュ(登録商標)メモリ等の外部メモリ211へのアクセスを制御する。 Reference numeral 207 is a memory controller, which is connected to a hard disk (HD) for storing boot programs, various applications, font data, user files, edit files, various data, etc., a flexible disk (FD), or a PCMCIA card slot via an adapter. Controls access to external memory 211 such as CompactFlash® memory.

208は通信I/Fコントローラで、ネットワーク(例えば、図1に示したLAN600)を介して外部機器と接続・通信するものであり、ネットワークでの通信制御処理を実行する。例えば、TCP/IPを用いた通信等が可能である。 Reference numeral 208 denotes a communication I / F controller, which connects and communicates with an external device via a network (for example, LAN600 shown in FIG. 1), and executes communication control processing on the network. For example, communication using TCP / IP is possible.

なお、CPU201は、例えばRAM203内の表示情報用領域へアウトラインフォントの展開(ラスタライズ)処理を実行することにより、CRT210上での表示を可能としている。また、CPU201は、CRT210上の不図示のマウスカーソル等でのユーザ指示を可能とする。 The CPU 201 enables display on the CRT 210 by, for example, executing an outline font expansion (rasterization) process in the display information area in the RAM 203. Further, the CPU 201 enables a user instruction with a mouse cursor or the like (not shown) on the CRT 210.

本発明を実現するための後述する各種プログラムは、外部メモリ211に記録されており、必要に応じてRAM203にロードされることによりCPU201によって実行されるものである。さらに、上記プログラムの実行時に用いられる定義ファイル及び各種情報テーブル等も、外部メモリ211に格納されており、これらについての詳細な説明も後述する。 Various programs described later for realizing the present invention are recorded in the external memory 211, and are executed by the CPU 201 by being loaded into the RAM 203 as needed. Further, a definition file and various information tables used when executing the above program are also stored in the external memory 211, and detailed description of these will be described later.

次に、図3を用いて、図1に示したプリンタ300のハードウェア構成について説明する。なお、本説明においては、プリンタを複合機として説明する。すなわち、シングルファンクションプリンタであっても、マルチファンクションプリンタであってもよい。
図3は、図1に示したプリンタ300としての複合機のハードウェア構成の一例を示すブロック図である。
Next, the hardware configuration of the printer 300 shown in FIG. 1 will be described with reference to FIG. In this description, the printer will be described as a multifunction device. That is, it may be a single function printer or a multifunction printer.
FIG. 3 is a block diagram showing an example of the hardware configuration of the multifunction device as the printer 300 shown in FIG.

図3において、316はコントローラユニットで、画像入力デバイスとして機能するスキャナ314や、画像出力デバイスとして機能するプリンタ部312と接続する一方、LAN(例えば、図1に示したLAN600)や公衆回線(WAN)(例えば、PSTNまたはISDN等)と接続することで、画像データやデバイス情報の入出力を行う。 In FIG. 3, 316 is a controller unit, which is connected to a scanner 314 functioning as an image input device and a printer unit 312 functioning as an image output device, while being connected to a LAN (for example, LAN 600 shown in FIG. 1) or a public line (WAN). ) (For example, PSTN or ISDN, etc.) to input and output image data and device information.

コントローラユニット316において、301はCPUで、システム全体を制御するプロセッサである。302はRAMで、CPU301が動作するためのシステムワークメモリであり、プログラムを記録するためのプログラムメモリや、画像データを一時記録するための画像メモリでもある。 In the controller unit 316, 301 is a CPU, which is a processor that controls the entire system. Reference numeral 302 denotes a RAM, which is a system work memory for operating the CPU 301, a program memory for recording a program, and an image memory for temporarily recording image data.

303はROMで、システムのブートプログラムや各種制御プログラムが格納されている。304はハードディスクドライブ(HDD)で、システムを制御するための各種プログラム,画像データ等を格納する。 Reference numeral 303 denotes a ROM, which stores a system boot program and various control programs. Reference numeral 304 denotes a hard disk drive (HDD), which stores various programs, image data, and the like for controlling the system.

307は操作部インタフェース(操作部I/F)で、操作部(キーボード)308とのインタフェース部である。また、操作部I/F307は、操作部308から入力したキー情報(例えば、スタートボタンの押下)をCPU301に伝える役割をする。 Reference numeral 307 is an operation unit interface (operation unit I / F), which is an interface unit with the operation unit (keyboard) 308. Further, the operation unit I / F 307 plays a role of transmitting the key information (for example, pressing the start button) input from the operation unit 308 to the CPU 301.

305はネットワークインタフェース(Network I/F)で、ネットワーク(LAN)600に接続し、データの入出力を行う。306はモデム(MODEM)で、公衆回線に接続し、FAXの送受信等のデータの入出力を行う。 Reference numeral 305 is a network interface (Network I / F), which is connected to a network (LAN) 600 to input / output data. Reference numeral 306 is a modem (MODEM), which is connected to a public line to input / output data such as transmission / reception of FAX.

318は外部インタフェース(外部I/F)で、USB、IEEE1394,プリンタポート,RS−232C等の外部入力を受け付けるI/F部であり、本実施形態においては認証で必要となる携帯端末のICカード(記憶媒体)の読み取り用のカードリーダ319が外部I/F部318に接続されている。そして、CPU301は、この外部I/F318を介してカードリーダ319による携帯端末のICカードからの情報読み取りを制御し、該携帯端末のICカードから読み取られた情報を取得可能である。以上のデバイスがシステムバス309上に配置される。 Reference numeral 318 is an external interface (external I / F), which is an I / F unit that accepts external inputs such as USB, IEEE1394, a printer port, and RS-232C. In this embodiment, an IC card of a mobile terminal required for authentication is used. A card reader 319 for reading the (storage medium) is connected to the external I / F unit 318. Then, the CPU 301 can control the reading of information from the IC card of the mobile terminal by the card reader 319 via the external I / F 318, and can acquire the information read from the IC card of the mobile terminal. The above devices are arranged on the system bus 309.

320はイメージバスインタフェース(IMAGE BUS I/F)であり、システムバス309と画像データを高速で転送する画像バス315とを接続し、データ構造を変換するバスブリッジである。
画像バス315は、PCIバスまたはIEEE1394で構成される。画像バス315上には以下のデバイスが配置される。
Reference numeral 320 denotes an image bus interface (IMAGE BUS I / F), which is a bus bridge that connects the system bus 309 and the image bus 315 that transfers image data at high speed and converts the data structure.
The image bus 315 is composed of a PCI bus or IEEE 1394. The following devices are arranged on the image bus 315.

310はラスタイメージプロセッサ(RIP)で、例えば、PDLコード等のベクトルデータをビットマップイメージに展開する。311はプリンタインタフェース(プリンタI/F)で、プリンタ部312とコントローラユニット316を接続し、画像データの同期系/非同期系の変換を行う。また、313はスキャナインタフェース(スキャナI/F)で、スキャナ314とコントローラユニット316を接続し、画像データの同期系/非同期系の変換を行う。 Reference numeral 310 denotes a raster image processor (RIP), which expands vector data such as a PDL code into a bitmap image. Reference numeral 311 is a printer interface (printer I / F), which connects the printer unit 312 and the controller unit 316 to perform synchronous / asynchronous conversion of image data. Further, 313 is a scanner interface (scanner I / F), which connects the scanner 314 and the controller unit 316 to perform synchronous / asynchronous conversion of image data.

317は画像処理部で、入力画像データに対し補正、加工、編集を行ったり、プリント出力画像データに対して、プリンタの補正、解像度変換等を行う。また、これに加えて、画像処理部317は、画像データの回転や、多値画像データに対してはJPEG、2値画像データはJBIG、MMR、MH等の圧縮伸張処理を行う。 Reference numeral 317 is an image processing unit, which corrects, processes, and edits the input image data, and corrects, converts the resolution, and the like on the print output image data. In addition to this, the image processing unit 317 performs compression / decompression processing of image data, JPEG for multi-valued image data, JBIG, MMR, MH, etc. for binary image data.

スキャナ部314は、原稿となる紙上の画像を照明し、CCDラインセンサで走査することで、ラスタイメージデータとして電気信号に変換する。原稿用紙は原稿フィーダのトレイにセットし、装置使用者が操作部308から読み取り起動指示することにより、CPU301がスキャナ314に指示を与え、フィーダは原稿用紙を1枚ずつフィードし原稿画像の読み取り動作を行う。 The scanner unit 314 illuminates an image on paper as a document and scans it with a CCD line sensor to convert it into an electric signal as raster image data. The manuscript paper is set in the tray of the manuscript feeder, and when the device user gives an instruction to read and start from the operation unit 308, the CPU 301 gives an instruction to the scanner 314, and the feeder feeds the manuscript paper one by one to read the manuscript image. I do.

プリンタ部312は、ラスタイメージデータを用紙上の画像に変換する部分であり、その方式は感光体ドラムや感光体ベルトを用いた電子写真方式、微少ノズルアレイからインクを吐出して用紙上に直接画像を印字するインクジェット方式等があるが、どの方式でも構わない。プリント動作の起動は、CPU301からの指示によって開始する。なお、プリンタ部312には、異なる用紙サイズまたは異なる用紙向きを選択できるように複数の給紙段を持ち、それに対応した用紙カセットがある。 The printer unit 312 is a part that converts raster image data into an image on paper, and the method is an electrophotographic method using a photoconductor drum or a photoconductor belt, and ink is ejected from a minute nozzle array and directly on the paper. There is an inkjet method for printing an image, but any method may be used. The start of the print operation is started by the instruction from the CPU 301. The printer unit 312 has a plurality of paper feed stages so that different paper sizes or different paper orientations can be selected, and has a paper cassette corresponding to the plurality of paper feed stages.

操作部308は、LCD表示部を有し、LCD上にタッチパネルシートが貼られており、システムの操作画面を表示するとともに、表示してあるキーが押されるとその位置情報を操作部I/F307を介してCPU301に伝える。また、操作部308は、各種操作キーとして、例えば、スタートキー、ストップキー、IDキー、リセットキー等を備える。 The operation unit 308 has an LCD display unit, a touch panel sheet is pasted on the LCD, displays the operation screen of the system, and when the displayed key is pressed, the position information of the operation unit I / F307 is displayed. It is transmitted to the CPU 301 via. Further, the operation unit 308 includes, for example, a start key, a stop key, an ID key, a reset key, and the like as various operation keys.

尚、表示部はプリンタによって表示性能が異なり、タッチパネルを介して操作をできるプリンタ、単に液晶画面を備え文字列を表示(印刷状態や印刷している文書名の表示)させるだけのプリンタによって本発明は構成されている。 The display performance of the display unit differs depending on the printer, and the present invention is based on a printer that can be operated via a touch panel, or a printer that simply has a liquid crystal screen and simply displays a character string (displays a printed state or a printed document name). Is configured.

ここで、操作部308のスタートキーは、原稿画像の読み取り動作を開始する時などに用いる。スタートキーの中央部には、緑と赤の2色LEDがあり、その色によってスタートキーが使える状態にあるかどうかを示す。また、操作部308のストップキーは、稼働中の動作を止める働きをする。また、操作部308のIDキーは、使用者のユーザIDを入力する時に用いる。リセットキーは、操作部からの設定を初期化する時に用いる。 Here, the start key of the operation unit 308 is used when starting the reading operation of the original image. In the center of the start key, there is a two-color LED of green and red, and the color indicates whether the start key is ready for use. Further, the stop key of the operation unit 308 functions to stop the operation during operation. Further, the ID key of the operation unit 308 is used when inputting the user ID of the user. The reset key is used to initialize the settings from the operation unit.

カードリーダ319は、CPU301からの制御により、携帯端末内に備えられたICカードに記憶されている情報を読み取り、該読み取った情報を外部I/F318を介してCPU301へ通知する。 The card reader 319 reads the information stored in the IC card provided in the mobile terminal under the control of the CPU 301, and notifies the CPU 301 of the read information via the external I / F 318.

以上のような構成によって、プリンタ300は、スキャナ314から読み込んだ画像データをLAN600上に送信したり、LAN600から受信した印刷データをプリンタ部312により印刷出力することができる。 With the above configuration, the printer 300 can transmit the image data read from the scanner 314 to the LAN 600, and the print data received from the LAN 600 can be printed out by the printer unit 312.

また、スキャナ314から読み込んだ画像データをモデム306により、公衆回線上にFAX送信したり、公衆回線からFAX受信した画像データをプリンタ部312により出力することできる。
このプリンタ300は印刷制御サーバに登録されているプリンタオブジェクト(プリンタ管理画面に表示されるアイコンに関連するプリンタ情報)に対応する。
Further, the image data read from the scanner 314 can be faxed to the public line by the modem 306, and the image data received by fax from the public line can be output by the printer unit 312.
The printer 300 corresponds to a printer object (printer information related to an icon displayed on the printer management screen) registered in the print control server.

次に、図4を用いて本実施形態における印刷制御サーバ200のモジュール構成について説明する。図4は、本実施形態における印刷制御サーバ200のモジュール構成図である。各モジュールは、印刷制御サーバ200のCPU201により実行されるものである。 Next, the module configuration of the print control server 200 according to the present embodiment will be described with reference to FIG. FIG. 4 is a module configuration diagram of the print control server 200 according to the present embodiment. Each module is executed by the CPU 201 of the print control server 200.

64bit版のオペレーティングシステム401は、印刷制御サーバ200の基本的な動作を実現するソフトウェアである。なお、このオペレーティングシステムには、WOW64といった、32bit版のアプリケーションを64bit版オペレーティングシステムで動作させるためのエミュレーションプログラムが含まれている。すなわち、第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムの一例を示すものである。 The 64-bit version of the operating system 401 is software that realizes the basic operations of the print control server 200. This operating system includes an emulation program for operating a 32-bit version of an application such as WOW64 on a 64-bit version of the operating system. That is, it shows an example of the operation system of the second architecture capable of executing the program of the first architecture.

なお、32bit版のアプリケーションやプログラムが異なるアーキテクチャーの64bitのライブラリ(DLL)を組み込み、直接呼び出すことはできない構成となっている。 The 32-bit version of the application or program incorporates a 64-bit library (DLL) with a different architecture and cannot be called directly.

32bit版の印刷制御アプリケーション402は、印刷対象の文書データを取得して、印刷を実行する32bit(第1のアーキテクチャー)で構築されたアプリケーションである。なお、第1のアーキテクチャーで構築された印刷制御アプリケーションの一例を示すものである。 The 32-bit version of the print control application 402 is an application constructed with a 32-bit (first architecture) that acquires document data to be printed and executes printing. It should be noted that this is an example of a print control application constructed by the first architecture.

32bit版の印刷制御アプリケーション402は、Devmode情報400のポインタを取得して、32bit版の連携インターフェース(DLL)403に対して、ポインタと変更する印刷設定を渡す。また、印刷設定が変更されると、印刷処理を実行するアプリケーションである。
Devmode情報400は、印刷に用いる印刷設定情報を記憶する記憶手段の一例を示すものである。
The 32-bit version print control application 402 acquires the pointer of the Devmode information 400 and passes the pointer and the print setting to be changed to the 32-bit version cooperation interface (DLL) 403. In addition, it is an application that executes a print process when the print settings are changed.
The Devmode information 400 shows an example of a storage means for storing print setting information used for printing.

32bit版の連携インターフェース(DLL)403は、32bit版の印刷制御アプリケーション402から呼び出される32bitで構築されたライブラリであり、部品化されたプログラムである。ライブラリ自体が単体で実行することはできず、アプリケーションなど実行形式のプログラム(アプリケーションやexeファイルなど)により、呼び出されてDLLのプログラムによる処理が実現できる。 The 32-bit version of the linkage interface (DLL) 403 is a library constructed with 32 bits called from the 32-bit version of the print control application 402, and is a componentized program. The library itself cannot be executed by itself, and can be called by an executable program (application, exe file, etc.) such as an application to realize processing by a DLL program.

64bit版の連携インターフェース(exe)404は、64bit(第2のアーキテクチャー)で構築された実行形式のプログラムであり、他のプログラムからの命令等により、単体で実行することができる。 The 64-bit version of the linkage interface (exe) 404 is an execution-type program constructed with 64-bit (second architecture), and can be executed independently by an instruction or the like from another program.

64bit版のプリンタドライバSDK(DLL)405は、64bit版のプリンタドライバ(DLL)406の拡張インターフェースであり、64bitで構築されたライブラリである。この拡張インターフェースを用いることで、プリンタドライバの設定画面を開くことなく印刷設定などを変更したりすることができ、動的な印刷制御を可能となる。また、64bit版のプリンタドライバSDK(DLL)405へ印刷設定を渡すことで、後述の64bit版のプリンタドライバ(DLL)406により、OSが管理するDevmode情報のプライベート領域(メーカー固有の印刷設定の領域)を変更することが可能となる。すなわち、第2のアーキテクチャーの印刷ジョブ生成ライブラリであり、拡張インターフェースとなるライブラリの一例を示すものである。 The 64-bit version of the printer driver SDK (DLL) 405 is an extension interface of the 64-bit version of the printer driver (DLL) 406, and is a library built with 64 bits. By using this extended interface, it is possible to change print settings and the like without opening the printer driver setting screen, and dynamic print control becomes possible. Further, by passing the print setting to the 64-bit version printer driver SDK (DLL) 405, the private area of the Devmode information managed by the OS (the area of the manufacturer-specific print setting) is managed by the 64-bit version printer driver (DLL) 406 described later. ) Can be changed. That is, it is a print job generation library of the second architecture, and shows an example of a library that serves as an extension interface.

64bit版のプリンタドライバ(DLL)406は、64bitで構築されたライブラリである。プリンタ300を制御するプログラムであり、対応するプリンタ300が解釈可能なプリンタ記述言語に変換する。また、設定された印刷設定情報(Devmode情報)に基づき、プリンタ300に出力する印刷データを生成する。また、Devmode情報を用いず、プリンタオブジェクトに設定された印刷設定情報を用いて印刷データを生成することも可能である。すなわち、64bit版のプリンタドライバ(DLL)406は、拡張インターフェースからの要求に従って印刷設定情報を変更可能な印刷ジョブを生成するライブラリの一例を示すものであり、印刷制御アプリケーションにより出力されたデータと、変更された印刷設定情報とを取得して出力するものである。 The 64-bit version of the printer driver (DLL) 406 is a library built with 64-bit. It is a program that controls the printer 300, and converts it into a printer description language that can be interpreted by the corresponding printer 300. In addition, print data to be output to the printer 300 is generated based on the set print setting information (Devmode information). It is also possible to generate print data using the print setting information set in the printer object without using the Devmode information. That is, the 64-bit version of the printer driver (DLL) 406 shows an example of a library that generates a print job whose print setting information can be changed according to a request from the extended interface, and includes data output by a print control application and data output by the print control application. It acquires and outputs the changed print setting information.

なお、本実施形態における、上記のモジュール構成を備える意義について詳述する。まず、32bit版のアプリケーション(exe含む)が、64bit版のライブラリを呼び出し、32bit版のアプリケーションが64bit版のライブラリを取り込むことが、アーキテクチャー上できない。一方、32bit版のアプリケーションが64bit版のアプリケーション(exe含む)を実行するように要求し、64bit版のアプリケーションを実行させることはアーキテクチャー上できるが、32bit版のアプリケーションの呼び出し機構を変更しなければならないため、32bit版の連携インターフェース(DLL)403をモジュールが必要となっている。 The significance of having the above-mentioned module configuration in the present embodiment will be described in detail. First, a 32-bit version application (including an exe) cannot call a 64-bit version library, and a 32-bit version application cannot import a 64-bit version library due to the architecture. On the other hand, it is possible in terms of architecture that a 32-bit version application requests a 64-bit version application (including an exe) to be executed and the 64-bit version application is executed, but the calling mechanism of the 32-bit version application must be changed. Therefore, a 32-bit version of the cooperation interface (DLL) 403 is required as a module.

また、64bit版の連携インターフェース(exe)404を備えることにより、64bit版のアプリケーションのプロセスで、64bit版のライブラリを取り込み、処理を実行させることが可能となる。 Further, by providing the 64-bit version of the cooperation interface (exe) 404, it is possible to take in the 64-bit version library and execute the process in the process of the 64-bit version application.

プリンタオブジェクト407は、プリンタ300に対応するプリンタ情報群であり、プリンタオブジェクトアイコンや、印刷設定を含むプリンタ情報を管理している。このプリンタオブジェクトに対しては、APIにより、Devmode情報の印刷設定を反映させることが可能であり、プリンタドライバがこの印刷設定に応じて、印刷を実行することが可能となっている。 The printer object 407 is a printer information group corresponding to the printer 300, and manages printer information including a printer object icon and print settings. For this printer object, it is possible to reflect the print setting of Devmode information by API, and the printer driver can execute printing according to this print setting.

ここで、それぞれのモジュール間の動作の概略を説明する。まず、印刷設定情報としてのDevmode情報が印刷制御サーバ200に記憶されている。このDevmode情報のポインタを32bit版の印刷制御アプリケーション402が取得する。 Here, the outline of the operation between each module will be described. First, Devmode information as print setting information is stored in the print control server 200. The 32-bit version of the print control application 402 acquires the pointer of the Devmode information.

このポインタと印刷する文書に対応する変更する印刷設定を、32bit版の印刷制御アプリケーション402から32bit版の連携インターフェース(DLL)403に受け渡す。ポインタが受け渡されると、32bit版の連携インターフェース(DLL)403は、64bit版の連携インターフェース(exe)404を呼び出し通信を確立し、ポインタと印刷設定を受け渡す。 The pointer and the print setting to be changed corresponding to the document to be printed are passed from the 32-bit version print control application 402 to the 32-bit version cooperation interface (DLL) 403. When the pointer is passed, the 32-bit version of the cooperation interface (DLL) 403 calls the 64-bit version of the cooperation interface (exe) 404 to establish communication, and passes the pointer and the print setting.

64bit版の連携インターフェース(exe)404は、実行時に64bit版のプリンタドライバSDK(DLL)405を取り込み、64bit版のプリンタドライバSDK(DLL)405へポインタと印刷設定を受け渡す。 The 64-bit version of the cooperation interface (exe) 404 takes in the 64-bit version of the printer driver SDK (DLL) 405 at the time of execution, and passes a pointer and print settings to the 64-bit version of the printer driver SDK (DLL) 405.

64bit版のプリンタドライバSDK(DLL)405は、ポインタを基にDevmode情報を読み出し、64bit版のプリンタドライバ(DLL)406に、印刷設定を含む書き換え要求を行い、64bit版のプリンタドライバ(DLL)406によりDevmode情報の変更をする。 The 64-bit version printer driver SDK (DLL) 405 reads Devmode information based on the pointer, makes a rewrite request to the 64-bit version printer driver (DLL) 406 including print settings, and makes a rewrite request including the print settings, and makes a 64-bit version printer driver (DLL) 406. To change the DLL information.

その後、64bit版のプリンタドライバ(DLL)406は、変更した結果(成功、失敗)を64bit版のプリンタドライバSDK(DLL)405に戻り値として返し、64bit版のプリンタドライバSDK(DLL)405は、同様に64bit版の連携インターフェース(exe)404に結果を戻り値として返す。 After that, the 64-bit version printer driver (DLL) 406 returns the result (success, failure) of the change to the 64-bit version printer driver SDK (DLL) 405 as a return value, and the 64-bit version printer driver SDK (DLL) 405 returns. Similarly, the result is returned as a return value to the 64-bit version of the cooperation interface (exe) 404.

64bit版の連携インターフェース(exe)404と32bit版の連携インターフェース(DLL)403は通信(パイプ通信)を確立しているため、この通信において、32bit版の連携インターフェース(DLL)403へ結果を出力する。 Since the 64-bit version of the linked interface (exe) 404 and the 32-bit version of the linked interface (DLL) 403 have established communication (pipe communication), the result is output to the 32-bit version of the linked interface (DLL) 403 in this communication. ..

32bit版の連携インターフェース(DLL)403は、32bit版の印刷制御アプリケーション402に戻り値として結果を返し、32bit版の印刷制御アプリケーション402は、結果が成功の場合に、プリンタオブジェクト407に対して、Devmode情報による印刷設定の変更要求を行う。なお、プリンタオブジェクトを利用しない設定の場合には、32bit版の印刷制御アプリケーション402がデバイスコンテキストに描画する際に、印刷データとともに、印刷設定も書き込むようにする。 The 32-bit version of the linkage interface (DLL) 403 returns a result as a return value to the 32-bit version of the print control application 402, and the 32-bit version of the print control application 402 sends a Devmode to the printer object 407 when the result is successful. Requests to change print settings based on information. In the case of the setting that does not use the printer object, when the 32-bit version of the print control application 402 draws in the device context, the print setting is written together with the print data.

32bit版の印刷制御アプリケーション402は、取得した文書データを、変更されたプリンタドライバに対応するプリンタに出力するように、オペレーティングシステム401に要求をし、オペレーティングシステムのGDIを介して、64bit版のプリンタドライバ(DLL)406が出力データを受け付ける。64bit版のプリンタドライバ(DLL)406は、プリンタオブジェクト407に設定された印刷設定、または、デバイスコンテキストに書き込まれた印刷設定を用いて、プリンタ300に対応する印刷データを生成して、プリンタ300に出力する。 The 32-bit version of the print control application 402 requests the operating system 401 to output the acquired document data to the printer corresponding to the modified printer driver, and the 64-bit version of the printer via the operating system's GDI. The driver (DLL) 406 accepts the output data. The 64-bit version of the printer driver (DLL) 406 generates print data corresponding to the printer 300 by using the print settings set in the printer object 407 or the print settings written in the device context, and causes the printer 300 to generate print data. Output.

次に、本実施形態のシステムにおける処理について図5、図6、図7のフローチャートを用いて説明する。各フローチャートに示す処理は、印刷制御サーバ200のCPU201が実行するものとする。 Next, the processing in the system of this embodiment will be described with reference to the flowcharts of FIGS. 5, 6 and 7. The processing shown in each flowchart is assumed to be executed by the CPU 201 of the print control server 200.

まず、図5を参照して、本実施形態における、64bit版の連携インターフェース(exe)404の処理まで説明する。図5は、印刷設定変更制御処理1のフローチャートの一例を示す図である。 First, with reference to FIG. 5, the processing of the 64-bit version of the cooperation interface (exe) 404 in the present embodiment will be described. FIG. 5 is a diagram showing an example of a flowchart of the print setting change control process 1.

ステップS501では、所定の文書に対する印刷制御命令を実行する。なお、所定の文書とは、上位サーバから所定のフォルダに文書が登録された場合に実行する、或いは、定時になった場合に、所定のフォルダに登録されている文書などである。また、クライアント端末100から指定された文書であってもよい。 In step S501, a print control command for a predetermined document is executed. The predetermined document is a document that is executed when a document is registered in a predetermined folder from a higher-level server, or is registered in a predetermined folder when a fixed time is reached. Further, the document may be a document specified by the client terminal 100.

ステップS502では、印刷対象の文書に対応する印刷設定を取得する。具体的には、図8の印刷設定定義情報を記憶している印刷設定テーブルを参照し、文書名(文書識別情報)に基づき印刷設定を取得する。なお、印刷設定テーブルは、テキストファイルとして印刷設定の情報を保持する形態であってもよい。 In step S502, the print settings corresponding to the document to be printed are acquired. Specifically, the print setting is acquired based on the document name (document identification information) by referring to the print setting table that stores the print setting definition information of FIG. The print setting table may be in a form of holding print setting information as a text file.

ここで、図8について、説明する。図8は、印刷制御サーバ200の外部メモリ211(記憶部)に記憶されている印刷設定情報を示す図である。 Here, FIG. 8 will be described. FIG. 8 is a diagram showing print setting information stored in the external memory 211 (storage unit) of the print control server 200.

文書ごとに、変更する印刷設定が対応付いて記憶されている。また、出力するプリンタ名が対応付いて記憶されている。801には、文書名が記憶されている。802と803が印刷設定であり、802は標準印刷設定であり、Devmode情報のパブリック領域に設定できる印刷設定が記憶されている。また、803は、拡張印刷設定であり、Devmode情報のプライベート領域に設定できる印刷設定が記憶されている。 The print settings to be changed are stored in association with each document. In addition, the printer name to be output is stored in association with it. The document name is stored in 801. 802 and 803 are print settings, 802 is a standard print setting, and print settings that can be set in the public area of Devmode information are stored. Further, 803 is an extended print setting, and a print setting that can be set in a private area of Devmode information is stored.

804は、印刷対象のプリンタ名が記憶されている。このプリンタ名はプリンタオブジェクト名称であり、プリンタオブジェクト名称を基に、対象のプリンタ300やそのプリンタドライバ、プリンタオブジェクトとして管理している印刷設定を取得できる。 In 804, the name of the printer to be printed is stored. This printer name is a printer object name, and based on the printer object name, the target printer 300, its printer driver, and the print settings managed as the printer object can be acquired.

ステップS503では、804に設定されているプリンタ名を指定して、Devmode情報のポインタを取得する。本実施形態ではポインタを用いて、Devmode情報を取得する構成としたが、Devmode構造体で得られるDevmode情報を取得するようにしてもよい。
なお、ステップS503で取得できるDevmode情報は、プリンタオブジェクトで管理する印刷設定でデフォルト設定の情報である。
In step S503, the printer name set in 804 is specified, and the pointer of the Devmode information is acquired. In the present embodiment, the Devmode information is acquired by using the pointer, but the Devmode information obtained by the Devmode structure may be acquired.
The Devmode information that can be acquired in step S503 is the default setting information in the print settings managed by the printer object.

ここで、Devmode情報について、図9を用いて説明する。Devmode情報は、64bit版のオペレーティングシステム401が管理している情報であり、Devmode構造体901として定義されている。このDevmode構造体901のポインタは、EnumPrinters等の関数を利用することで取得できる。 Here, the Devmode information will be described with reference to FIG. The Devmode information is information managed by the 64-bit version of the operating system 401, and is defined as the Devmode structure 901. The pointer of the Devmode structure 901 can be obtained by using a function such as EnumPrinters.

Devmode構造体901は、パブリック領域902とプライベート領域903に分かれており、それぞれ印刷設定等が登録される領域である。パブリック領域902は、印刷制御アプリケーション等から変更できる領域であり、標準的な印刷設定が登録されている。 The Devmode structure 901 is divided into a public area 902 and a private area 903, each of which is an area in which print settings and the like are registered. The public area 902 is an area that can be changed from a print control application or the like, and standard print settings are registered.

また、プライベート領域903は、64bit版のプリンタドライバ(DLL)406が参照できる領域であり、64bit版のプリンタドライバ(DLL)406から変更でき、メーカ独自、プリンタ独自の拡張的な印刷設定が登録されている。 Further, the private area 903 is an area that can be referred to by the 64-bit version printer driver (DLL) 406, and can be changed from the 64-bit version printer driver (DLL) 406, and the manufacturer's own and printer's own extended print settings are registered. ing.

なお、パブリック領域902は、64bit版のプリンタドライバ(DLL)406からも変更できる領域であることは言うまでもない。また、プライベート領域903は、64bit版のプリンタドライバSDK(DLL)405から変更させる構成をとることも可能である。 Needless to say, the public area 902 is an area that can be changed from the 64-bit version of the printer driver (DLL) 406. Further, the private area 903 can be changed from the 64-bit version of the printer driver SDK (DLL) 405.

すなわち、64bit版のプリンタドライバ(DLL)406と64bit版のプリンタドライバSDK(DLL)405は一体として構成することも可能である。 That is, the 64-bit version of the printer driver (DLL) 406 and the 64-bit version of the printer driver SDK (DLL) 405 can be configured as one.

ステップS504では、32bit版の印刷制御アプリケーション402に取り込まれた32bit版の連携インターフェース(DLL)403を呼び出し、Devmode情報のポインタと、変更する印刷設定を渡す。より詳細には、32bit版の連携インターフェース(DLL)403の公開関数コールを行い、その関数コール時の引数でポインタと印刷設定の引渡しをする。すなわち、印刷制御アプリケーションから、第1のアーキテクチャーのインターフェースライブラリを呼び出す第1の呼出手段の一例を示すステップである。
ステップS505では、Devmode情報のポインタと、変更する印刷設定を取得する。
In step S504, the 32-bit version cooperation interface (DLL) 403 incorporated in the 32-bit version print control application 402 is called, and the pointer of the Devmode information and the print setting to be changed are passed. More specifically, the public function call of the 32-bit version of the linkage interface (DLL) 403 is performed, and the pointer and the print setting are passed by the argument at the time of the function call. That is, it is a step showing an example of the first calling means for calling the interface library of the first architecture from the print control application.
In step S505, the pointer of the Devmode information and the print setting to be changed are acquired.

ステップS506では、64bit版の連携インターフェース(exe)404の実行要求を行い、ステップS508にて、CPU201が指定された64bit版の連携インターフェース(exe)404を実行する。すなわち、インターフェースライブラリにより、第1のアーキテクチャーとのインターフェースとなる、第2のアーキテクチャーの実行プログラムの実行要求をする実行要求手段の一例を示すステップである。 In step S506, an execution request for the 64-bit version of the linked interface (exe) 404 is made, and in step S508, the CPU 201 executes the specified 64-bit version of the linked interface (exe) 404. That is, it is a step showing an example of an execution request means for requesting execution of an execution program of the second architecture, which is an interface with the first architecture by the interface library.

64bit版の連携インターフェース(exe)404が実行されると、32bit版の連携インターフェース(DLL)403と64bit版の連携インターフェース(exe)404とでパイプによるプロセス間通信が確立される。 When the 64-bit version of the cooperation interface (exe) 404 is executed, interprocess communication by a pipe is established between the 32-bit version of the cooperation interface (DLL) 403 and the 64-bit version of the cooperation interface (exe) 404.

ステップS507では、確立されたパイプによるプロセス間通信により、64bit版の連携インターフェース(exe)404にポインタと印刷設定を出力する。すなわち、実行要求手段により実行要求された実行プログラムに対して、インターフェースライブラリから、変更する印刷設定情報を出力する出力手段の一例を示すステップである。
ステップS509では、32bit版の連携インターフェース(DLL)403からポインタと印刷設定の入力を受け付ける。
In step S507, the pointer and the print setting are output to the 64-bit version of the cooperation interface (exe) 404 by interprocess communication using the established pipe. That is, it is a step showing an example of the output means for outputting the print setting information to be changed from the interface library to the execution program requested to be executed by the execution request means.
In step S509, the input of the pointer and the print setting is received from the 32-bit version of the cooperation interface (DLL) 403.

ステップS510では、64bit版の連携インターフェース(exe)404に取り込まれた64bit版のプリンタドライバSDK(DLL)405を呼び出す。Devmode情報を変更させるべく、ポインタと印刷設定を64bit版のプリンタドライバSDK(DLL)405に渡す。すなわち、実行プログラムから、第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、変更する印刷設定情報を用いて、記憶手段の印刷設定情報を変更させる変更制御手段の一例を示すステップである。 In step S510, the 64-bit version printer driver SDK (DLL) 405 incorporated in the 64-bit version cooperation interface (exe) 404 is called. The pointer and print settings are passed to the 64-bit version of the printer driver SDK (DLL) 405 in order to change the Devmode information. That is, it is a step of showing an example of the change control means for calling the print job generation library of the second architecture from the execution program and changing the print setting information of the storage means by using the print setting information to be changed.

次に、図6を参照して、図5に続く処理について説明する。図6では、64bit版のプリンタドライバ(DLL)406でDevmode情報の書き換えまで説明する。図6は、印刷設定変更制御処理2のフローチャートの一例を示す図である。
ステップS601では、64bit版のプリンタドライバSDK(DLL)405が、ポインタと印刷設定を取得する。
Next, the process following FIG. 5 will be described with reference to FIG. In FIG. 6, the 64-bit version of the printer driver (DLL) 406 will be described up to rewriting the Devmode information. FIG. 6 is a diagram showing an example of a flowchart of the print setting change control process 2.
In step S601, the 64-bit version of the printer driver SDK (DLL) 405 acquires the pointer and print settings.

ステップS602では、64bit版のプリンタドライバSDK(DLL)405が、64bit版のプリンタドライバ(DLL)406に対して印刷設定の変更要求として、ポインタと変更する印刷設定を渡す。64bit版のプリンタドライバ(DLL)406の関数の引数としてポインタと印刷設定を渡すものとする。
ステップS603では、印刷設定の変更要求として、64bit版のプリンタドライバ(DLL)406がポインタと印刷設定を受け付ける。
In step S602, the 64-bit version printer driver SDK (DLL) 405 passes a pointer and a print setting to be changed to the 64-bit version printer driver (DLL) 406 as a print setting change request. It is assumed that a pointer and print settings are passed as arguments of the function of the 64-bit version of the printer driver (DLL) 406.
In step S603, the 64-bit version of the printer driver (DLL) 406 accepts the pointer and the print setting as a request for changing the print setting.

ステップS604では、受け付けたポインタを基に、Devmode情報を特定して、受け付けた印刷設定を元に書き換えを行う。なお、標準印刷設定については、パブリック領域902を書き換え、拡張印刷設定については、プライベート領域903を書き換える。 In step S604, Devmode information is specified based on the received pointer, and rewriting is performed based on the received print setting. The public area 902 is rewritten for the standard print setting, and the private area 903 is rewritten for the extended print setting.

次に、図7を参照して、図6に続く処理について説明する。図7では、64bit版のプリンタドライバ(DLL)406からプリンタへの出力処理まで説明する。図6は、印刷設定変更制御処理3のフローチャートの一例を示す図である。 Next, the process following FIG. 6 will be described with reference to FIG. 7. FIG. 7 describes from the 64-bit version of the printer driver (DLL) 406 to the output processing to the printer. FIG. 6 is a diagram showing an example of a flowchart of the print setting change control process 3.

まず、ステップS604で、64bit版のプリンタドライバ(DLL)406がDevmode情報を書き換えた結果(成功、失敗)を取得し、64bit版のプリンタドライバSDK(DLL)405に戻り値として返す。 First, in step S604, the 64-bit version printer driver (DLL) 406 rewrites the Devmode information (success, failure), and returns the result (success, failure) to the 64-bit version printer driver SDK (DLL) 405 as a return value.

ステップS701では、64bit版のプリンタドライバSDK(DLL)405が、書き換えた結果(成功、失敗)を取得し、64bit版の連携インターフェース(exe)404に戻り値として返す。 In step S701, the 64-bit version printer driver SDK (DLL) 405 acquires the rewritten result (success, failure) and returns it as a return value to the 64-bit version cooperation interface (exe) 404.

ステップS702では、64bit版の連携インターフェース(exe)404が、書き換えた結果(成功、失敗)を取得し、確立した通信を用いて32bit版の連携インターフェース(DLL)403に書き換えた結果(成功、失敗)を出力する。 In step S702, the 64-bit version of the linkage interface (exe) 404 acquires the rewritten result (success, failure) and rewrites it to the 32-bit version of the linkage interface (DLL) 403 using the established communication (success, failure). ) Is output.

ステップS703では、32bit版の連携インターフェース(DLL)403が戻り値として、書き換えた結果(成功、失敗)を32bit版の印刷制御アプリケーション402に返す。
ステップS704では、32bit版の印刷制御アプリケーション402により書き換えた結果(成功、失敗)を取得する。
In step S703, the 32-bit version of the linkage interface (DLL) 403 returns the rewritten result (success, failure) to the 32-bit version of the print control application 402 as a return value.
In step S704, the result (success, failure) rewritten by the 32-bit version print control application 402 is acquired.

ステップS705では、書き換え結果を判定する。書き換えが成功した(OK)場合、ステップS707へ処理を移し、書き換えが失敗した(NG)場合、ステップS706へ処理を移す。 In step S705, the rewriting result is determined. If the rewriting is successful (OK), the process is transferred to step S707, and if the rewriting is unsuccessful (NG), the process is transferred to step S706.

ステップS706では、書き換えが失敗したため、印刷のエラー通知をする。エラー通知は、管理者へのメール通知やログとして残す通知などいずれの方法を用いてもよい。
ステップS707では、書き換えが成功したため、印刷対象の文書を取得する。
ステップS708では、ポインタを基に、印刷設定が書き換えられたDevmode情報を取得する。
In step S706, since the rewriting failed, a print error notification is given. For the error notification, any method such as an email notification to the administrator or a notification to be left as a log may be used.
In step S707, since the rewriting was successful, the document to be printed is acquired.
In step S708, the Devmode information in which the print settings have been rewritten is acquired based on the pointer.

ステップS709では、取得したDevmode情報をプリンタオブジェクトの印刷設定として反映させるかを判定する。32bit版の印刷制御アプリケーション402が保持する設定値で、プリンタオブジェクト反映させるかを判断する。マルチプロセスによる印刷を実行させる場合には、プリンタオブジェクトに反映しない設定とし、マルチプロセスを用いない印刷(順次印刷処理をする)場合には、プリンタオブジェクトに反映する設定とする。プリンタオブジェクトに反映させる場合には、ステップS710へ処理を移し、プリンタオブジェクトに反映させない場合(マルチプロセスによる印刷実行)には、ステップS712へ処理を移す。すなわち、プリンタオブジェクトに印刷設定情報を反映するか否か判定する判定手段の一例を示すステップである。 In step S709, it is determined whether or not the acquired Devmode information is reflected as the print setting of the printer object. It is determined whether to reflect the printer object by the set value held by the 32-bit version print control application 402. When printing by multi-process is executed, it is set not to be reflected in the printer object, and when printing without multi-process (sequential printing processing is performed), it is set to be reflected in the printer object. If it is reflected in the printer object, the process is transferred to step S710, and if it is not reflected in the printer object (print execution by a multi-process), the process is transferred to step S712. That is, it is a step showing an example of a determination means for determining whether or not to reflect the print setting information on the printer object.

ステップS710では、印刷対象の文書に対応するプリンタのプリンタ名(図8の804)に基づき、プリンタオブジェクトに対して印刷設定を反映する。なお、プリンタオブジェクトへの印刷設定の反映は、オペレーションシステムのAPIを用いて反映する。すなわち、プリンタオブジェクトに印刷設定情報を反映すると判定された場合には、印刷制御アプリケーションがプリンタオブジェクトに対して、印刷設定情報を反映する設定処理を実行する設定処理実行手段の一例を示すステップである。
ステップS711では、印刷対象の文書データを、オペレーティングシステムのデバイスコンテキストに出力する。
In step S710, the print settings are reflected on the printer object based on the printer name (804 in FIG. 8) of the printer corresponding to the document to be printed. The print settings are reflected in the printer object using the API of the operating system. That is, it is a step showing an example of the setting process execution means for executing the setting process for reflecting the print setting information on the printer object when it is determined that the print setting information is reflected on the printer object. ..
In step S711, the document data to be printed is output to the device context of the operating system.

ステップS712では、印刷対象の文書データとDevmode情報とを、オペレーティングシステムのデバイスコンテキストに出力する。すなわち、プリンタオブジェクトに印刷設定情報を反映すると判定された場合には、印刷制御アプリケーションが、印刷対象となるデータと変更された印刷設定情報とを用いて描画処理を実行する描画処理実行手段の一例を示すステップである。 In step S712, the document data to be printed and the Devmode information are output to the device context of the operating system. That is, an example of drawing processing execution means in which the print control application executes drawing processing using the data to be printed and the changed print setting information when it is determined that the print setting information is reflected in the printer object. It is a step showing.

ステップS713では、64bit版のプリンタドライバ(DLL)406が、オペレーションシステムを介して、描画情報として印刷データを取得する。なお、ステップS712の場合には、Devmode情報も合わせて取得する。 In step S713, the 64-bit version of the printer driver (DLL) 406 acquires print data as drawing information via the operating system. In the case of step S712, Devmode information is also acquired.

ステップS714では、プリンタオブジェクトに反映された印刷設定、または、ステップS713で取得したDevmode情報(印刷設定)を反映した印刷データを生成する。すなわち、変更制御手段により印刷設定情報が変更された場合に、印刷ジョブ生成ライブラリ(プリンタドライバ)が、印刷制御アプリケーションにより出力されたデータと、変更された印刷設定情報とを取得して出力する印刷データ出力手段の一例を示すステップである。
ステップS715では、生成された印刷データを対象のプリンタに出力する。
In step S714, the print setting reflected in the printer object or the print data reflecting the Devmode information (print setting) acquired in step S713 is generated. That is, when the print setting information is changed by the change control means, the print job generation library (printer driver) acquires and outputs the data output by the print control application and the changed print setting information. This is a step showing an example of data output means.
In step S715, the generated print data is output to the target printer.

次に、図10を用いて、プリンタオブジェクトに印刷設定を反映して印刷処理をする概略について説明する。図10は、プリンタオブジェクトに印刷設定を反映して印刷処理をする概略図である。
上位プログラムは、上述の32bit版の印刷制御アプリケーション402に相当するものである。
PrinterDriverSDK(32bit)とインタフェースが同じ32bitDLLは、32bit版の連携インターフェース(DLL)403に相当するものである。
Next, with reference to FIG. 10, the outline of performing the printing process by reflecting the print settings on the printer object will be described. FIG. 10 is a schematic diagram in which a print process is performed by reflecting the print settings on the printer object.
The higher-level program corresponds to the 32-bit version of the print control application 402 described above.
The 32-bit DLL, which has the same interface as the PrinterDriverSDK (32-bit), corresponds to the 32-bit version of the linked interface (DLL) 403.

PrinterDriverSDK(64bit)を呼び出す64bitプロセスは、64bit版の連携インターフェース(exe)404に相当するものである。
PrinterDriverSDK(64bit)は、64bit版のプリンタドライバSDK(DLL)405に相当するものである。
PrinterDriver(64bit)は、64bit版のプリンタドライバ(DLL)406に相当するものである。
The 64-bit process that calls the PrinterDriverSDK (64-bit) corresponds to the 64-bit version of the linked interface (exe) 404.
The Printer Driver SDK (64-bit) corresponds to the 64-bit version of the printer driver SDK (DLL) 405.
The Printer Driver (64-bit) corresponds to the 64-bit version of the printer driver (DLL) 406.

(1)上位プログラムがOSのAPIを用いて、Devmode情報のポインタを取得する。
(2)DEVMODE拡張領域の印刷設定変更するため、上位プログラムが取得したポインタと変更する印刷設定(例えば、4in1のレイアウト情報)を、PrinterDriverSDK(32bit)とインタフェースが同じ32bitDLLに渡す。PrinterDriverSDK(32bit)と同じインタフェースとは、上位プログラムが32bit版のOS上で実行されていた場合に、利用していたPrinterDriverSDK(32bit)の関数を用いることであり、例えば、上位プログラムがもともと呼び出していたPrinterDriverSDK(32bit)の関数A(引数,引数)というインターフェースを有している。これにより、上位プログラムを修正することなく、異なるアーキテクチャーにおいてシームレスにやり取りして、動的に印刷設定を変更した印刷制御を行うことができる。
PrinterDriverSDK(32bit)とインタフェースが同じ32bitDLLは、PrinterDriverSDK(64bit)を呼び出す64bitプロセスを実行させ、ポインタと変更する印刷設定を渡す。PrinterDriverSDK(64bit)を呼び出す64bitプロセスは、PrinterDriverSDK(64bit)に、ポインタと変更する印刷設定を渡し、PrinterDriver(64bit)に印刷設定の書き換えを要求する。PrinterDriver(64bit)は、Devmode情報を変更し、変更した結果(例えば、成功を示すOK)を、それぞれのモジュールを介して上位プログラムに返す。
(1) The host program uses the API of the OS to acquire a pointer to Devmode information.
(2) In order to change the print setting of the DEVMODE extended area, the pointer acquired by the higher-level program and the print setting to be changed (for example, 4in1 layout information) are passed to the 32-bit PLL which has the same interface as the PrinterDriverSDK (32-bit). The same interface as the PrinterDriverSDK (32bit) means to use the function of the PrinterDriverSDK (32bit) that was used when the upper program was executed on the 32-bit version of the OS. For example, the upper program originally called it. It has an interface called function A (argument, argument) of the PrinterDriverSDK (32bit). As a result, it is possible to seamlessly exchange prints in different architectures and perform print control with dynamically changed print settings without modifying the host program.
The 32-bit DL, which has the same interface as the PrinterDriverSDK (32-bit), runs a 64-bit process that calls the PrinterDriverSDK (64-bit) and passes a pointer and print settings to change. The 64-bit process that calls the PrinterDriverSDK (64-bit) passes the pointer and the print settings to be changed to the PrinterDriverSDK (64-bit), and requests the PrinterDriver (64-bit) to rewrite the print settings. The PrinterDriver (64bit) changes the Devmode information and returns the result of the change (for example, OK indicating success) to the higher-level program via each module.

(3)上位プログラムは、OSのAPIを用いて、変更されたDevmode情報をプリンタオブジェクトに反映する。 (3) The host program reflects the changed Devmode information on the printer object using the API of the OS.

(4)プリンタオブジェクトの印刷設定を変更後、印刷対象のドキュメントの印刷処理を実行し、プリンタオブジェクトに対応するプリンタ300に、変更された印刷設定が適用された印刷データを出力する。
これにより、異なるアーキテクチャーを用いた構成においても、動的に変更された印刷設定を用いた印刷が可能となる。
(4) After changing the print setting of the printer object, the print process of the document to be printed is executed, and the print data to which the changed print setting is applied is output to the printer 300 corresponding to the printer object.
This enables printing with dynamically changed print settings, even in configurations using different architectures.

以上、本実施形態について説明したが、本実施形態によれば、異なるアーキテクチャーにおける環境で、印刷設定を変更した印刷処理を行えるようにすることができる。 Although the present embodiment has been described above, according to the present embodiment, it is possible to perform a print process in which the print settings are changed in an environment having a different architecture.

特に、32bit版の連携インターフェース(DLL)403を備えることで、32bit版の印刷制御アプリケーション402の構成を変更することなく、動的に印刷設定を変更した印刷処理が可能となる。 In particular, by providing the 32-bit version of the cooperation interface (DLL) 403, it is possible to perform a printing process in which the print settings are dynamically changed without changing the configuration of the 32-bit version of the print control application 402.

また、64bit版の連携インターフェース(exe)404を備えることで、64bit版のオペレーティングシステム401において、異なるアーキテクチャー(32bit)から、64bit版の連携インターフェース(exe)404を実行させることができ、シームレスに印刷設定を受け渡し、DLLである64bit版のプリンタドライバでDevmode情報を書き換えることができる。このように、異なるアーキテクチャーで動的にDevmode情報を書き換えることで、印刷設定を変更した印刷処理をスムーズに行うことが可能となる。 Further, by providing the 64-bit version of the cooperation interface (exe) 404, the 64-bit version of the cooperation interface (exe) 404 can be seamlessly executed from a different architecture (32-bit) in the 64-bit version of the operating system 401. The print settings can be passed and the Devmode information can be rewritten with the 64-bit version printer driver that is a DLL. In this way, by dynamically rewriting the Devmode information with different architectures, it is possible to smoothly perform the print process in which the print settings are changed.

また、デバイスコンテキストに印刷対象のデータと書き換えられたDevmode情報を書き込むことで、マルチプロセスによる印刷処理においても、適切な印刷設定が反映された印刷データを生成することができ、効率的な印刷処理を実現することができる。 Further, by writing the data to be printed and the rewritten Devmode information in the device context, it is possible to generate print data reflecting appropriate print settings even in the print process by multi-process, and the efficient print process. Can be realized.

尚、本発明は、例えば、システム、装置、方法、プログラム若しくは記憶媒体等としての実施形態も可能であり、具体的には、複数の機器から構成されるシステムに適用してもよいし、また、1つの機器からなる装置に適用してもよい。 The present invention can be, for example, an embodiment as a system, an apparatus, a method, a program, a storage medium, or the like, and specifically, may be applied to a system composed of a plurality of devices. It may be applied to a device consisting of one device.

なお、本発明は、前述したモジュールを、装置に直接、或いは遠隔から供給するものを含む。そして、装置のコンピュータが前記供給されたプログラムコードを読み出して実行することによっても達成される場合も本発明に含まれる。 The present invention includes a module that supplies the above-mentioned module directly or remotely to the device. The present invention also includes cases where the computer of the device can also read and execute the supplied program code.

したがって、コンピュータで実現するために、前記コンピュータにインストールされるプログラムコード自体も本発明を実現するものである。つまり、本発明は、本発明を実現するためのコンピュータプログラム自体も含まれる。 Therefore, in order to realize it on a computer, the program code itself installed on the computer also realizes the present invention. That is, the present invention also includes the computer program itself for realizing the present invention.

プログラムを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、MO、CD−ROM、CD−R、CD−RWなどがある。また、磁気テープ、不揮発性のメモリカード、ROM、DVD(DVD−ROM,DVD−R)などもある。 Recording media for supplying programs include, for example, flexible disks, hard disks, optical disks, optical magnetic disks, MOs, CD-ROMs, CD-Rs, CD-RWs, and the like. There are also magnetic tapes, non-volatile memory cards, ROMs, DVDs (DVD-ROM, DVD-R) and the like.

その他、プログラムの供給方法としては、クライアントコンピュータのブラウザを用いてインターネットのホームページに接続する。そして、前記ホームページから本発明のコンピュータプログラムそのもの、若しくは圧縮され自動インストール機能を含むファイルをハードディスク等の記録媒体にダウンロードすることによっても供給できる。 In addition, as a program supply method, a browser of a client computer is used to connect to an Internet homepage. Then, the computer program itself of the present invention or a compressed file including the automatic installation function can be supplied from the homepage by downloading it to a recording medium such as a hard disk.

また、記録媒体から読み出されたプログラムが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によっても前述した実施形態の処理が実現されてもよい。 Further, the program read from the recording medium is written to the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer. After that, based on the instruction of the program, the function expansion board, the CPU provided in the function expansion unit, or the like may perform a part or all of the actual processing, and the processing of the above-described embodiment may be realized by the processing.

尚、前述した実施形態は、本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。即ち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。 It should be noted that the above-described embodiments merely show examples of embodiment in carrying out the present invention, and the technical scope of the present invention should not be construed in a limited manner by these. That is, the present invention can be implemented in various forms without departing from the technical idea or its main features.

100 クライアント端末
200 印刷制御サーバ
300 プリンタ
600 ネットワーク(LAN)
201 CPU
401 64bit版のオペレーティングシステム
402 32bit版の印刷制御アプリケーション
403 32bit版の連携インターフェース(DLL)
404 64bit版の連携インターフェース(exe)
405 64bit版のプリンタドライバSDK(DLL)
406 64bit版のプリンタドライバ(DLL)
407 プリンタオブジェクト
100 Client terminal 200 Print control server 300 Printer 600 Network (LAN)
201 CPU
401 64-bit version operating system 402 32-bit version print control application 403 32-bit version linkage interface (DLL)
404 64-bit version cooperation interface (exe)
405 64-bit version printer driver SDK (DLL)
406 64-bit version printer driver (DLL)
407 Printer object

Claims (7)

第1のアーキテクチャーで構築された印刷制御アプリケーションと、前記第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムと、印刷に用いる印刷設定情報を記憶する記憶手段とを含む情報処理装置であって、
前記印刷制御アプリケーションから、前記第1のアーキテクチャーのインターフェースライブラリを呼び出す呼出手段と、
前記インターフェースライブラリにより、前記第1のアーキテクチャーとのインターフェースとなる、前記第2のアーキテクチャーの実行プログラムの実行要求をする実行要求手段と、
前記実行要求手段により実行要求された前記実行プログラムに対して、前記インターフェースライブラリから、変更する印刷設定情報を出力する出力手段と、
前記実行プログラムから、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、前記変更する印刷設定情報を用いて、前記記憶手段の印刷設定情報を変更させる変更制御手段と
前記第2のアーキテクチャーの印刷ジョブ生成ライブラリは、拡張インターフェースとなるライブラリと、当該拡張インターフェースからの要求に従って印刷設定情報を変更可能な印刷ジョブを生成するライブラリを含み、
前記実行プログラムは、前記拡張インターフェースとなるライブラリを呼び出して、前記記憶手段の印刷設定情報を変更させることを特徴とする情報処理装置。
A print control application built with the first architecture, an operating system of the second architecture capable of executing a program of the first architecture, and a storage means for storing print setting information used for printing. An information processing device that includes
A calling means for calling the interface library of the first architecture from the print control application, and
An execution request means for requesting execution of an execution program of the second architecture, which is an interface with the first architecture by the interface library.
An output means for outputting print setting information to be changed from the interface library to the execution program requested to be executed by the execution request means.
A change control means that calls the print job generation library of the second architecture from the execution program and changes the print setting information of the storage means by using the print setting information to be changed .
The print job generation library of the second architecture includes a library that serves as an extension interface and a library that generates a print job whose print setting information can be changed according to a request from the extension interface.
The execution program calls the library to be the expansion interface, the information processing apparatus according to claim Rukoto to change the print setting information of the storage means.
第1のアーキテクチャーで構築された印刷制御アプリケーションと、前記第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムと、印刷に用いる印刷設定情報を記憶する記憶手段とを含む情報処理装置であって、
前記印刷制御アプリケーションから、前記第1のアーキテクチャーのインターフェースライブラリを呼び出す呼出手段と、
前記インターフェースライブラリにより、前記第1のアーキテクチャーとのインターフェースとなる、前記第2のアーキテクチャーの実行プログラムの実行要求をする実行要求手段と、
前記実行要求手段により実行要求された前記実行プログラムに対して、前記インターフェースライブラリから、変更する印刷設定情報を出力する出力手段と、
前記実行プログラムから、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、前記変更する印刷設定情報を用いて、前記記憶手段の印刷設定情報を変更させる変更制御手段と、
前記呼出手段による呼び出しは、前記第1のアーキテクチャーのインターフェースライブラリの関数コールによる、前記記憶手段の印刷設定情報のポインタと、変更する印刷設定情報とを引き渡すことを特徴とする情報処理装置。
A print control application built with the first architecture, an operating system of the second architecture capable of executing a program of the first architecture, and a storage means for storing print setting information used for printing. An information processing device that includes
A calling means for calling the interface library of the first architecture from the print control application, and
An execution request means for requesting execution of an execution program of the second architecture, which is an interface with the first architecture by the interface library.
An output means for outputting print setting information to be changed from the interface library to the execution program requested to be executed by the execution request means.
A change control means that calls the print job generation library of the second architecture from the execution program and changes the print setting information of the storage means by using the print setting information to be changed.
The call by the calling means is an information processing apparatus characterized in that the pointer of the print setting information of the storage means and the print setting information to be changed are passed by the function call of the interface library of the first architecture.
第1のアーキテクチャーで構築された印刷制御アプリケーションと、前記第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムと、印刷に用いる印刷設定情報を記憶する記憶手段とを含む情報処理装置であって、
前記印刷制御アプリケーションから、前記第1のアーキテクチャーのインターフェースライブラリを呼び出す呼出手段と、
前記インターフェースライブラリにより、前記第1のアーキテクチャーとのインターフェースとなる、前記第2のアーキテクチャーの実行プログラムの実行要求をする実行要求手段と、
前記実行要求手段により実行要求された前記実行プログラムに対して、前記インターフェースライブラリから、変更する印刷設定情報を出力する出力手段と、
前記実行プログラムから、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、前記変更する印刷設定情報を用いて、前記記憶手段の印刷設定情報を変更させる変更制御手段と、
前記変更制御手段による制御により、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリで印刷設定情報が変更できた場合に、プリンタオブジェクトに印刷設定情報を反映するか否か判定する判定手段と、
前記プリンタオブジェクトに印刷設定情報を反映すると判定された場合には、前記印刷制御アプリケーションがプリンタオブジェクトに対して、前記印刷設定情報を反映する設定処理を実行する設定処理実行手段と
を更に備えることを特徴とする情報処理装置。
A print control application built with the first architecture, an operating system of the second architecture capable of executing a program of the first architecture, and a storage means for storing print setting information used for printing. An information processing device that includes
A calling means for calling the interface library of the first architecture from the print control application, and
An execution request means for requesting execution of an execution program of the second architecture, which is an interface with the first architecture by the interface library.
An output means for outputting print setting information to be changed from the interface library to the execution program requested to be executed by the execution request means.
A change control means that calls the print job generation library of the second architecture from the execution program and changes the print setting information of the storage means by using the print setting information to be changed.
When the print setting information can be changed in the print job generation library of the second architecture by the control by the change control means, the determination means for determining whether or not the print setting information is reflected in the printer object, and the determination means.
When it is determined that the print setting information is reflected in the printer object, the print control application further includes a setting process execution means for executing the setting process for reflecting the print setting information for the printer object. An information processing device that features it.
前記プリンタオブジェクトに印刷設定情報を反映すると判定された場合には、前記印刷制御アプリケーションが、印刷対象となるデータと前記印刷設定情報とを用いて描画処理を実行する描画処理実行手段
を更に備えることを特徴とする請求項3に記載の情報処理装置。
When it is determined that the print setting information is reflected in the printer object, the print control application further includes a drawing process execution means for executing the drawing process using the data to be printed and the print setting information. The information processing apparatus according to claim 3.
第1のアーキテクチャーで構築された印刷制御アプリケーションと、前記第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムと、印刷に用いる印刷設定情報を記憶する記憶手段とを含む情報処理装置の処理方法であって、
前記印刷制御アプリケーションから、前記第1のアーキテクチャーのインターフェースライブラリを呼び出す呼出ステップと、
前記インターフェースライブラリにより、前記第1のアーキテクチャーとのインターフェースとなる、前記第2のアーキテクチャーの実行プログラムの実行要求をする実行要求ステップと、
前記実行要求ステップにより実行要求された前記実行プログラムに対して、前記インターフェースライブラリから、変更する印刷設定情報を出力する出力ステップと、
前記実行プログラムから、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、前記変更する印刷設定情報を用いて、前記記憶手段の印刷設定情報を変更させる変更制御ステップと、を含み、
前記第2のアーキテクチャーの印刷ジョブ生成ライブラリは、拡張インターフェースとなるライブラリと、当該拡張インターフェースからの要求に従って印刷設定情報を変更可能な印刷ジョブを生成するライブラリを有し、
前記実行プログラムは、前記拡張インターフェースとなるライブラリを呼び出して、前記記憶手段の印刷設定情報を変更させることを特徴とする処理方法。
A print control application built with the first architecture, an operating system of the second architecture capable of executing a program of the first architecture, and a storage means for storing print setting information used for printing. It is a processing method of an information processing device including
A call step for calling the interface library of the first architecture from the print control application, and
An execution request step for requesting execution of an execution program of the second architecture, which is an interface with the first architecture by the interface library,
An output step that outputs print setting information to be changed from the interface library to the execution program requested to be executed by the execution request step.
The execution program includes a change control step of calling the print job generation library of the second architecture and changing the print setting information of the storage means by using the print setting information to be changed.
The print job generation library of the second architecture has a library that serves as an extension interface and a library that generates a print job whose print setting information can be changed according to a request from the extension interface.
The execution program is a processing method characterized in that the library serving as the extension interface is called to change the print setting information of the storage means.
第1のアーキテクチャーで構築された印刷制御アプリケーションと、前記第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムと、印刷に用いる印刷設定情報を記憶する記憶手段とを含む情報処理装置の処理方法であって、
前記印刷制御アプリケーションから、前記第1のアーキテクチャーのインターフェースライブラリを呼び出す呼出ステップと、
前記インターフェースライブラリにより、前記第1のアーキテクチャーとのインターフェースとなる、前記第2のアーキテクチャーの実行プログラムの実行要求をする実行要求ステップと、
前記実行要求ステップにより実行要求された前記実行プログラムに対して、前記インターフェースライブラリから、変更する印刷設定情報を出力する出力ステップと、
前記実行プログラムから、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、前記変更する印刷設定情報を用いて、前記記憶手段の印刷設定情報を変更させる変更制御ステップと、を含み
前記呼出ステップによる呼び出しは、前記第1のアーキテクチャーのインターフェースライブラリの関数コールによる、前記記憶手段の印刷設定情報のポインタと、変更する印刷設定情報とを引き渡すことを特徴とする処理方法
A print control application built with the first architecture, an operating system of the second architecture capable of executing a program of the first architecture, and a storage means for storing print setting information used for printing. It is a processing method of an information processing device including
A call step for calling the interface library of the first architecture from the print control application, and
An execution request step for requesting execution of an execution program of the second architecture, which is an interface with the first architecture by the interface library,
An output step that outputs print setting information to be changed from the interface library to the execution program requested to be executed by the execution request step.
The calling step includes a change control step of calling the print job generation library of the second architecture from the execution program and changing the print setting information of the storage means by using the print setting information to be changed. The call by is a processing method characterized in that the pointer of the print setting information of the storage means and the print setting information to be changed are passed by the function call of the interface library of the first architecture.
第1のアーキテクチャーで構築された印刷制御アプリケーションと、前記第1のアーキテクチャーのプログラムを実行することが可能な第2のアーキテクチャーのオペレーションシステムと、印刷に用いる印刷設定情報を記憶する記憶手段とを含む情報処理装置の処理方法であって、
前記印刷制御アプリケーションから、前記第1のアーキテクチャーのインターフェースライブラリを呼び出す呼出ステップと、
前記インターフェースライブラリにより、前記第1のアーキテクチャーとのインターフェースとなる、前記第2のアーキテクチャーの実行プログラムの実行要求をする実行要求ステップと、
前記実行要求ステップにより実行要求された前記実行プログラムに対して、前記インターフェースライブラリから、変更する印刷設定情報を出力する出力ステップと、
前記実行プログラムから、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリを呼び出して、前記変更する印刷設定情報を用いて、前記記憶手段の印刷設定情報を変更させる変更制御ステップと
前記変更制御ステップによる制御により、前記第2のアーキテクチャーの印刷ジョブ生成ライブラリで印刷設定情報が変更できた場合に、プリンタオブジェクトに印刷設定情報を反映するか否か判定する判定ステップと、
前記プリンタオブジェクトに印刷設定情報を反映すると判定された場合には、前記印刷制御アプリケーションがプリンタオブジェクトに対して、前記印刷設定情報を反映する設定処理を実行する設定処理実行ステップと
を含むことを特徴とする処理方法。
A print control application built with the first architecture, an operating system of the second architecture capable of executing a program of the first architecture, and a storage means for storing print setting information used for printing. It is a processing method of an information processing device including
A call step for calling the interface library of the first architecture from the print control application, and
An execution request step for requesting execution of an execution program of the second architecture, which is an interface with the first architecture by the interface library,
An output step that outputs print setting information to be changed from the interface library to the execution program requested to be executed by the execution request step.
A change control step of calling the print job generation library of the second architecture from the execution program and changing the print setting information of the storage means by using the print setting information to be changed .
When the print setting information can be changed in the print job generation library of the second architecture by the control by the change control step, a determination step of determining whether or not to reflect the print setting information in the printer object, and a determination step.
When it is determined that the print setting information is reflected in the printer object, the print control application performs a setting process execution step for executing the setting process for reflecting the print setting information on the printer object. A processing method characterized by including.
JP2016247086A 2016-12-20 2016-12-20 Information processing equipment and its processing method Active JP6880392B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016247086A JP6880392B2 (en) 2016-12-20 2016-12-20 Information processing equipment and its processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016247086A JP6880392B2 (en) 2016-12-20 2016-12-20 Information processing equipment and its processing method

Publications (2)

Publication Number Publication Date
JP2018101303A JP2018101303A (en) 2018-06-28
JP6880392B2 true JP6880392B2 (en) 2021-06-02

Family

ID=62715558

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016247086A Active JP6880392B2 (en) 2016-12-20 2016-12-20 Information processing equipment and its processing method

Country Status (1)

Country Link
JP (1) JP6880392B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5532317B2 (en) * 2010-05-17 2014-06-25 ブラザー工業株式会社 Data structure of image formation control program, image formation program, and image formation setting information
JP2012146240A (en) * 2011-01-14 2012-08-02 Canon Inc Data communication method between application program and printer driver, and program

Also Published As

Publication number Publication date
JP2018101303A (en) 2018-06-28

Similar Documents

Publication Publication Date Title
JP5854654B2 (en) Printing system, printing method, print server, control method, and program
JP5763904B2 (en) Printing system, printing method, print server, control method therefor, and program
US20160241724A1 (en) Information processing system, information processing apparatus, and information processing method
JP5797052B2 (en) Printing system, server device, information processing method, and program
JP2013050935A (en) Printing control device, printing control program, and printing control method
JP2012074006A (en) Document management system, image processing apparatus, information processing apparatus, document management method, control method and program
JP6989749B2 (en) Image forming equipment, systems, control methods, and programs
JP4817994B2 (en) Data management system
JP2012181694A (en) Information processor, print system, control method and program
US20250085902A1 (en) Computer-readable storage medium, information processing device, and method for printing composite image
JP2018034375A (en) Output system, output device, control method, and program
US7511843B2 (en) Data processing apparatus and method
JP6880392B2 (en) Information processing equipment and its processing method
US10540129B2 (en) Information processing device, information processing system, and information processing method for executing script included in print information
JP6864241B2 (en) Image processing system, image processing device, control method, and program
JP2012166396A (en) Image forming system, image forming device, and control method and program of the same
JP2011013837A (en) Print system and print controller
JP2015122601A (en) Image forming apparatus, control method of the same, and program
JP2005063128A (en) Printing terminal and printing data output device
JP2012181695A (en) Information processor, print system, control method and program
JP6972281B2 (en) Image forming apparatus, control method of image forming apparatus, and program
JP2013119237A (en) Image forming apparatus, control method for image forming apparatus, and computer program
JP2012221198A (en) Printing system
JP2018110289A (en) Image processing device, processing method thereof, and program
JP5499704B2 (en) Color palette display control method, color palette display control device, color palette display control program, and storage medium

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20180703

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20181031

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20190111

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200929

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201120

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: 20210330

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210412

R151 Written notification of patent or utility model registration

Ref document number: 6880392

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250