JP2006178623A - Print controller, print control method, and print control program - Google Patents

Print controller, print control method, and print control program Download PDF

Info

Publication number
JP2006178623A
JP2006178623A JP2004369426A JP2004369426A JP2006178623A JP 2006178623 A JP2006178623 A JP 2006178623A JP 2004369426 A JP2004369426 A JP 2004369426A JP 2004369426 A JP2004369426 A JP 2004369426A JP 2006178623 A JP2006178623 A JP 2006178623A
Authority
JP
Japan
Prior art keywords
paper size
print
initial
comparison
printer driver
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2004369426A
Other languages
Japanese (ja)
Inventor
Megumi Saito
めぐみ 齋藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2004369426A priority Critical patent/JP2006178623A/en
Publication of JP2006178623A publication Critical patent/JP2006178623A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that a paper size actually used in printing can not be known, unless a user checks settings or the set UI of a printer driver is displayed while considering that the desired paper size is selected. <P>SOLUTION: A message is displayed if printing is to be performed on a paper size different from the paper size preset in the printer driver. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、ユーザインターフェイスにおいて、ユーザの操作エラーを減らし意図した印刷結果をより簡単に得るための印刷制御装置、情報処理方法および印刷制御プログラムに関するものである。   The present invention relates to a print control apparatus, an information processing method, and a print control program for reducing a user operation error and obtaining an intended print result more easily in a user interface.

一般に所定の通信媒体を介して印刷装置と通信可能な印刷制御装置では、ユーザインタフェース(UI)を介して各種印刷設定を行う場合に、印刷設定はデフォルト値になっていると考えて詳細な設定を行わずに印刷指示を出すケースが少なくない。しかし、実際にはアプリケーションである程度の設定を行っているため、印刷設定の値がデフォルトではなくなっていることも多い。   In general, in a print control apparatus capable of communicating with a printing apparatus via a predetermined communication medium, when performing various print settings via a user interface (UI), the print settings are considered to be default values and detailed settings are made. There are many cases in which a print instruction is issued without performing the operation. However, since the application is actually set to some extent, the print setting value is often not the default.

そこで、プリンタドライバの設定UIを表示部に表示して、該設定UIから印刷用紙サイズを確認または選択することにより所望の印刷用紙で出力することが可能となる。
特開2002−127566
Therefore, by displaying the setting UI of the printer driver on the display unit and confirming or selecting the printing paper size from the setting UI, it is possible to output on the desired printing paper.
JP2002-127666

しかしながら、上記特許文献1では、ユーザが設定を確認もしくは所望となる用紙サイズを選択すると認識してプリンタドライバの設定UIを表示させない限り、実際にはどの用紙サイズで印刷が行われるのかを知ることはできなかった。   However, in the above-mentioned Patent Document 1, it is known which paper size is actually printed unless the user confirms the setting or selects the desired paper size and displays the setting UI of the printer driver. I couldn't.

本発明は、上記の問題点を解決するためになされたものであり、ユーザが印刷設定を確認もしくは変える必要があると認知していなくても、また、印刷設定用のUIを表示させなくても、予期せぬ用紙サイズで印刷されることを防止することができ、さらに任意の用紙サイズに変更して印刷することが可能になる機能を持った印刷制御装置および印刷制御方法および印刷制御プログラムを提供することである。   The present invention has been made in order to solve the above-described problems. Even if the user does not recognize that the print setting needs to be confirmed or changed, the print setting UI is not displayed. Can be prevented from being printed with an unexpected paper size, and can be changed to an arbitrary paper size for printing, a print control apparatus, a print control method, and a print control program. Is to provide.

上記課題を解決するために、印刷装置が解釈可能な印刷制御コマンドを生成するプリンタドライバを有する印刷制御装置であって、前記プリンタドライバに設定されている初期用紙サイズを取得する初期用紙サイズ取得手段と、前記印刷制御コマンドを生成するための印刷命令データに設定されている用紙サイズを取得する用紙サイズ取得手段と、前記初期用紙サイズ取得手段および前記用紙サイズ取得手段により取得された初期用紙サイズおよび用紙サイズを比較する比較手段と、前記比較手段により初期用紙サイズおよび用紙サイズが異なると判定された場合、メッセージを表示する表示手段を有することを特徴とする。   In order to solve the above-mentioned problem, an initial paper size acquisition unit that has a printer driver that generates a print control command that can be interpreted by the printing apparatus and that acquires an initial paper size set in the printer driver A paper size acquisition means for acquiring a paper size set in print command data for generating the print control command, an initial paper size acquired by the initial paper size acquisition means and the paper size acquisition means, and Comparing means for comparing paper sizes and display means for displaying a message when the comparing means determines that the initial paper size and the paper size are different.

以上説明したように、本発明はユーザが印刷設定を変更しなくてはならないことを認知していなくても、プリンタドライバに設定された用紙サイズとアプリケーションにおいて設定された用紙サイズが異なる場合にメッセージとして表示することで、予期せぬ用紙サイズで印刷されることを防止する。また、メッセージを表示した場合に、用紙サイズを変更する変更手段を提供することで、より確実で簡単にユーザが意図した用紙サイズの用紙に印刷を行うことができるようになる。   As described above, the present invention provides a message when the paper size set in the printer driver is different from the paper size set in the application, even if the user does not recognize that the print setting must be changed. To prevent printing with an unexpected paper size. Also, by providing a changing means for changing the paper size when the message is displayed, it becomes possible to print on the paper of the paper size intended by the user more reliably and easily.

(実施例)
図1は本発明の一実施形態を示す印刷処理システムのブロック構成図である。印刷処理システムは、ホストコンピュータ3000と、プリンタ1500より構成される。
(Example)
FIG. 1 is a block diagram of a print processing system showing an embodiment of the present invention. The print processing system includes a host computer 3000 and a printer 1500.

ホストコンピュータ3000において、1はシステムバス4に接続される各デバイスを総括的に制御するCPU、2はCPU1の主メモリ、ワークエリア等として機能するRAMである。3は各種プログラム、データを格納するROMであって、各種フォントを記憶するフォントROM3a、ブートプログラムやBIOS等を記憶するプログラムROM3b、および各種データを記憶するデータROM3cに区分けして構成されている。   In the host computer 3000, reference numeral 1 denotes a CPU that comprehensively controls each device connected to the system bus 4, and 2 denotes a RAM that functions as a main memory, work area, and the like of the CPU 1. Reference numeral 3 denotes a ROM for storing various programs and data. The ROM 3 is divided into a font ROM 3a for storing various fonts, a program ROM 3b for storing a boot program and BIOS, and a data ROM 3c for storing various data.

5はキーボードコントローラ(KBC)で、キーボード9や不図示のポインティングデバイス(マウス)からのキー入力を制御する。6はCRTコントローラ(CRTC)であり、CRTディスプレイ(CRT)10の表示を制御する。   A keyboard controller (KBC) 5 controls key input from a keyboard 9 or a pointing device (mouse) (not shown). Reference numeral 6 denotes a CRT controller (CRTC), which controls display on a CRT display (CRT) 10.

外部メモリ11(ディスクコントローラ(DKC)7によりアクセス制御される)は、ハードディスク(HD)やフロッピー(登録商標)ディスク(FD)等であり、図示の如く、オペレーティングシステムプログラム(以下OS)205をはじめ各種アプリケーション(例えば、図形、イメージ、文字、表等が混在した文書処理を行う文書処理アプリケーションプログラム)201、印刷処理関連プログラム204を記憶する他、ユーザファイル、編集ファイル等も記憶する。印刷処理関連プログラム204は、ページ記述言語を用いて記述される印刷データを生成するプログラムであって、同系列の複数のプリンタに対して共通に利用されうる。また、プリンタ制御コマンド生成モジュール(以下「プリンタドライバ」という)2041、プリンタドライバUI制御モジュール2042を含む。   The external memory 11 (access controlled by the disk controller (DKC) 7) is a hard disk (HD), floppy (registered trademark) disk (FD), or the like, and includes an operating system program (hereinafter referred to as OS) 205 as shown in the figure. In addition to storing various applications (for example, a document processing application program that performs document processing in which graphics, images, characters, tables, and the like are mixed) and a print processing related program 204, user files, editing files, and the like are also stored. The print processing related program 204 is a program for generating print data described using a page description language, and can be used in common for a plurality of printers of the same series. Also, a printer control command generation module (hereinafter referred to as “printer driver”) 2041 and a printer driver UI control module 2042 are included.

8はプリンタコントローラ(PRTC)であり、双方向性インタフェース21を介してプリンタ1500に接続され、プリンタ1500との通信制御処理を行う。   A printer controller (PRTC) 8 is connected to the printer 1500 via the bidirectional interface 21 and performs communication control processing with the printer 1500.

外部メモリ11に記憶されたアプリケーションは、RAM2にロードされてCPU1により実行されることになる。また、CPU1は、例えばRAM2へのアウトラインフォントの展開(ラスタライズ)処理を実行し、CRT10上でのWYSIWYG(What you see is What you get)を可能としている。さらに、CPU1は、CRT10上の不図示のマウスカーソル等で指示されたコマンドに基づいて登録された種々のウインドウを開き、種々のデータ処理を実行する。ユーザは印刷を実行する際、印刷設定設定画面(プリンタドライバUI制御モジュール2042により制御される)を開き、プリンタの設定や、印刷モードの選択を含むプリンタドライバ2041に対する印刷処理の設定を行うことができる。   The application stored in the external memory 11 is loaded into the RAM 2 and executed by the CPU 1. Further, the CPU 1 executes, for example, outline font development (rasterization) processing on the RAM 2 to enable WYSIWYG (What you see what you get) on the CRT 10. Further, the CPU 1 opens various windows registered based on commands instructed by a mouse cursor (not shown) on the CRT 10 and executes various data processing. When the user executes printing, the user can open a print setting setting screen (controlled by the printer driver UI control module 2042), and perform print processing settings for the printer driver 2041 including printer settings and print mode selection. it can.

プリンタ1500において、12はプリンタ1500の全体を制御するCPUである。19はCPU12の主メモリ、ワークエリア等として機能するとともに、出力情報展開領域、環境データ格納領域、NVRAM等に用いられるRAMであり、図示しない増設ポートに接続されるオプションRAMによりメモリ容量を拡張することができるように構成されている。13はROMであり、各種フォントを記憶するフォントROM13a、制御プログラム等を記憶するプログラムROM13b、および各種データを記憶するデータROM13cより構成される。   In the printer 1500, reference numeral 12 denotes a CPU that controls the entire printer 1500. A RAM 19 functions as a main memory, work area, and the like for the CPU 12, and is used for an output information expansion area, an environment data storage area, an NVRAM, and the like. It is configured to be able to. A ROM 13 includes a font ROM 13a for storing various fonts, a program ROM 13b for storing control programs and the like, and a data ROM 13c for storing various data.

外部メモリ14(メモリコントローラ(MC)20によりアクセスを制御される)は、オプションとして接続されるハードディスク(HD)、フロッピー(登録商標)ディスク(FD)、ICカード等であり、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。ハードディスク等の外部メモリ14が接続されていない場合には、ROM13のデータROM13cに、ホストコンピュータ3000で利用される情報等を記憶することになる。なお、外部メモリ14は1個に限らず、複数備えるものであってもよく、例えば、内蔵フォントに加えてオプションフォントカード、言語系の異なるプリンタ制御言語を解釈するプログラム等を格納した外部メモリを複数接続できるように構成されていてもよい。   The external memory 14 (access is controlled by the memory controller (MC) 20) is an optional hard disk (HD), floppy (registered trademark) disk (FD), IC card, etc., font data, emulation program Stores form data and the like. When the external memory 14 such as a hard disk is not connected, information used in the host computer 3000 is stored in the data ROM 13c of the ROM 13. The number of external memories 14 is not limited to one, and a plurality of external memories 14 may be provided. For example, an external memory storing an optional font card, a program for interpreting a printer control language having a different language system, etc. in addition to a built-in font You may be comprised so that two or more can be connected.

操作部1501にはユーザからの操作を受け付ける操作パネルが設けられ、その操作パネルには操作のためのスイッチおよびLED表示器等が配されている(図示は省略)。また、図示しないNVRAMを有し、操作パネル1501からのプリンタモード設定情報を記憶するようにしてもよい。   The operation unit 1501 is provided with an operation panel that receives an operation from the user, and an operation switch, an LED display, and the like are arranged on the operation panel (not illustrated). Further, an NVRAM (not shown) may be provided to store printer mode setting information from the operation panel 1501.

プリンタCPU12は、ROM13のプログラムROM13bに記憶された制御プログラム等に基づき、印刷部インタフェース16を介してシステムバス15に接続される印刷部(プリンタエンジン)17に出力情報としての画像信号を出力する。また、CPU12は入力部18を介してホストコンピュータ3000との通信処理が可能となっており、プリンタ1500内の情報等をホストコンピュータ3000に通知可能に構成されている。   The printer CPU 12 outputs an image signal as output information to a printing unit (printer engine) 17 connected to the system bus 15 via the printing unit interface 16 based on a control program stored in the program ROM 13 b of the ROM 13. The CPU 12 can communicate with the host computer 3000 via the input unit 18 and can notify the host computer 3000 of information in the printer 1500 and the like.

図2は、所定のアプリケーションおよび印刷処理関連プログラムを起動して、ホストコンピュータ3000上のRAM2にロードされた状態のRAM2のメモリマップを示している。RAM2には、図示の如く、BIOS208、OS207をはじめ、アプリケーション201、印刷処理関連プログラム206、および印刷処理関連プログラムに関連する関連データ205がロードされており、さらに空きメモリ領域202も確保されている。これにより、アプリケーション201および印刷処理関連プログラム204は実行可能状態にある。また、後述するがアプリケーションからのDevmodeを保持するアプリケーションDevmode領域203および印刷処理関連プログラムの初期設定等を保持するレジストリ領域204も確保されている。   FIG. 2 shows a memory map of the RAM 2 in a state where a predetermined application and a print processing related program are activated and loaded into the RAM 2 on the host computer 3000. As shown in the figure, the RAM 2 is loaded with a BIOS 208, an OS 207, an application 201, a print processing related program 206, and related data 205 related to the print processing related program, and a free memory area 202 is also secured. . Thereby, the application 201 and the print processing related program 204 are in an executable state. Further, as will be described later, an application Devmode area 203 that holds Devmode from the application and a registry area 204 that holds initial settings of the print processing related program and the like are also secured.

印刷処理関連プログラム204におけるプリンタドライバUI制御モジュール2042は、ユーザによる印刷設定指令に応じてCRT10に印刷設定画面を表示しユーザからの設定を可能にする。なお、Devmodeとは、図10に示すような構造であり、本実施形態を実現している印刷システムにおいて、OS、アプリケーション、及び、プリンタドライバで共通に使用するメモリブロックであり、OS、アプリケーション、及びプリンタドライバが参照可能な領域であるPublic領域と、プリンタドライバのみが参照するPrivate領域からなっている。また、このDevmodeはアプリケーションからOSを介して、プリンタドライバに渡され、プリンタドライバのユーザーインタフェース上でユーザが行った設定が保持されるものである。   The printer driver UI control module 2042 in the print processing related program 204 displays a print setting screen on the CRT 10 in accordance with a print setting command from the user, and enables the setting from the user. Note that Devmode is a memory block having a structure as shown in FIG. 10 and commonly used by the OS, application, and printer driver in the printing system that implements the present embodiment. And a public area that can be referred to by the printer driver, and a private area that is referenced only by the printer driver. The Devmode is passed from the application to the printer driver via the OS, and holds settings made by the user on the user interface of the printer driver.

アプリケーション201はキーボード9等の入力装置からの指示を受けると図3に示すような印刷指示画面を表示部であるCRT10に表示させる。詳細には、キーボード9などの入力装置による指示をキーボードコントローラ5が指示を解釈して、CPU1が認識することにより実行される。また、プリンタ名301から出力するために選択された印刷装置を認識する。また、図3にある302の「プロパティ」ボタンが押されたことを認識すると、プリンタドライバに「プロパティ」ボタンが押されたことが伝わり、プリンタドライバ2041は図4に示すような印刷設定画面401をCRT10に表示させる。ここで、任意の印刷設定を行い、OKボタン401を押して印刷設定を確定させる。図3にある印刷指示画面上のOKボタン303が押されたことを認識することで、印刷処理関連プログラム204を構成するプリンタドライバ2041がアプリケーションからの印刷命令データをプリンタが読み取り可能なページ記述言語からなるプリンタ制御コマンドに変換する。   When the application 201 receives an instruction from an input device such as the keyboard 9, the application 201 displays a print instruction screen as shown in FIG. 3 on the CRT 10 as a display unit. Specifically, an instruction from an input device such as a keyboard 9 is executed when the keyboard controller 5 interprets the instruction and the CPU 1 recognizes the instruction. Also, the printer selected for output from the printer name 301 is recognized. When it is recognized that the “Property” button 302 in FIG. 3 has been pressed, the printer driver is notified that the “Property” button has been pressed, and the printer driver 2041 displays the print setting screen 401 as shown in FIG. Is displayed on the CRT 10. Here, arbitrary print settings are performed, and an OK button 401 is pressed to confirm the print settings. Recognizing that the OK button 303 on the print instruction screen shown in FIG. 3 has been pressed, the printer driver 2041 constituting the print processing related program 204 can read the print command data from the application by the printer. Is converted to a printer control command.

続いて、印刷指示をするために図3の印刷指示画面を表示することが指示された場合の処理について図8のフローチャートを用いて説明する。なお、本願におけるフローチャートの各ステップはホストコンピュータにあるCPUが処理することにより実行される。   Next, processing in the case where an instruction to display the print instruction screen of FIG. 3 in order to issue a print instruction will be described with reference to the flowchart of FIG. Each step of the flowchart in the present application is executed by processing by a CPU in the host computer.

アプリケーション201は、キーボード9などの入力装置から印刷指示画面を表示する指示を受信した場合、プリンタドライバに対してDevmodeの取得を要求する(S101)。S101により、アプリケーションからのDevmode取得要求を受けたプリンタドライバは、レジストリ204からDevmodeを読み出して、読み出した情報をアプリケーションに渡す(S102)。詳細には、アプリケーション201からの取得要求を受けたプリンタドライバがレジストリ204に保持されているプリンタドライバの初期設定を読み出し、プリンタドライバが読み出した初期設定情報をアプリケーションに渡すことで実現される。   When the application 201 receives an instruction to display a print instruction screen from an input device such as the keyboard 9, the application 201 requests the printer driver to acquire Devmode (S101). Upon receiving the Devmode acquisition request from the application in S101, the printer driver reads Devmode from the registry 204 and passes the read information to the application (S102). Specifically, the printer driver that has received the acquisition request from the application 201 reads the initial setting of the printer driver held in the registry 204, and passes the initial setting information read by the printer driver to the application.

S102によりプリンタドライバから取得したDevmodeをアプリケーション201が取得し(S103)、Devmodeを作成する(S104)。詳細には、プリンタドライバから受信したプリンタドライバの初期設定情報に対して、アプリケーションにおいて設定された印刷設定情報を上書きすることにより、アプリケーションがDevmodeを作成が実現される。   The application 201 acquires the Devmode acquired from the printer driver in S102 (S103), and creates the Devmode (S104). More specifically, the application creates the Devmode by overwriting the print setting information set in the application with the initial setting information of the printer driver received from the printer driver.

S104により作成されたDevmodeをアプリケーションはプリンタドライバに対して渡し(S105)、プリンタドライバはアプリケーションからのDevmodeを受信して保持する(S106)。詳細には、アプリケーションから受信したDevmodeをプリンタドライバは、図2にあるアプリケーションDevmode領域203に記憶することによりアプリケーションにおいて設定された印刷設定情報を保持することが可能となる。そして、アプリケーションは、S105の処理を終えると図3に示すアプリケーション指示画面300を表示する(S107)。   The application transfers the Devmode created in S104 to the printer driver (S105), and the printer driver receives and holds the Devmode from the application (S106). Specifically, the printer driver can store the print setting information set in the application by storing the Devmode received from the application in the application Devmode area 203 shown in FIG. Then, the application displays the application instruction screen 300 shown in FIG. 3 after completing the process of S105 (S107).

続いて、S107により表示された印刷指示画面300にある「OK」ボタン303が押されることにより、印刷処理関連プログラム204は、図5のフローチャートに従ってプリンタドライバのデフォルトの用紙サイズと、印刷命令データが保持している用紙サイズが同じか否かの判定処理に入る。その際の、処理の流れについて説明する。   Subsequently, when the “OK” button 303 on the print instruction screen 300 displayed in S107 is pressed, the print processing related program 204 displays the default paper size of the printer driver and the print command data according to the flowchart of FIG. Processing for determining whether or not the held paper sizes are the same is entered. The flow of processing at that time will be described.

印刷処理関連プログラム204は、プリンタドライバ2041に設定されているデフォルトの印刷用紙サイズを取得する(S502)。詳細には、印刷処理関連プログラムが、図2に示されているプリンタドライバの初期設定が保持されているレジストリ領域204を参照することにより、プリンタドライバに設定されている初期設定の印刷用紙サイズを認識することができる。   The print processing related program 204 acquires the default print paper size set in the printer driver 2041 (S502). Specifically, the print processing related program refers to the registry area 204 in which the initial settings of the printer driver shown in FIG. 2 are stored, so that the initial print paper size set in the printer driver is set. Can be recognized.

続いて、印刷処理関連プログラム204は、アプリケーションからの印刷命令データが保持している印刷用紙サイズを取得する(S503)。詳細には、アプリケーションにおいて設定された印刷設定情報は、上述の図8のフローチャートで説明した処理の流れにより、図2におけるアプリケーションDevmode領域203に保持されているので、印刷処理関連プログラム204がアプリケーションDevmode領域203を参照することにより、アプリケーションからの印刷命令データが保持している印刷用紙サイズを取得することができる。   Subsequently, the print processing related program 204 acquires the print paper size held in the print command data from the application (S503). Specifically, since the print setting information set in the application is held in the application Devmode area 203 in FIG. 2 according to the flow of processing described in the flowchart of FIG. 8 described above, the print processing related program 204 is executed by the application Devmode. By referring to the area 203, it is possible to acquire the print paper size held in the print command data from the application.

印刷処理関連プログラム204は、図4における印刷設定画面401が表示されたか否かの判定を行う(S504)。S504により印刷設定画面401が表示された場合、ユーザがどの用紙サイズで印刷するかを詳細に設定しているため、図6に示すようなメッセージを表示させる必要はなくなるので、S510へと進み、図5における処理を終了する。   The print processing related program 204 determines whether or not the print setting screen 401 in FIG. 4 has been displayed (S504). When the print setting screen 401 is displayed in S504, since the user has set in detail what paper size to print, there is no need to display a message as shown in FIG. 6, so the process proceeds to S510. The process in FIG. 5 ends.

また、S504により印刷設定画面401が表示されなかった場合、印刷処理関連プログラム204は、S502およびS502で取得した各印刷用紙サイズの比較処理を行う(S505)。S504により印刷設定画面401が表示されなかった場合、ユーザがどの用紙サイズで印刷するかを詳細に設定していないため、実際に出力される用紙サイズをユーザが認識しない可能性があるためにS505における比較処理が行われることとなる。   If the print setting screen 401 is not displayed in step S504, the print processing related program 204 performs a comparison process for each print paper size acquired in steps S502 and S502 (S505). If the print setting screen 401 is not displayed in S504, the user does not set in detail which paper size to print, and the user may not recognize the actual output paper size. The comparison process is performed.

ここで、S502からS505の処理について図10を用いて詳細に説明する。プリンタドライバに対してされている初期印刷設定はレジストリ1102のDevmode1105に保持されている。そして、アプリケーションからの印刷命令データには印刷すべき描画データと印刷設定情報であるDevmode1103がセットになって1100のような形式でプリンタドライバに渡され、プリンタドライバはアプリケーションから受信した印刷命令データ1100におけるDevmode1103を図2にあるアプリケーションDevmode領域203に保持する。なお、この際にプリンタドライバに設定されていたDevmode1104は1103の情報に上書きされている。そして印刷処理関連プログラムは図4における印刷設定画面401が表示された場合は、その旨を示すフラグを立てておく。このフラグが立っていれば、ユーザは印刷設定画面401によりユーザが用紙サイズを認識可能であるため、S505における比較処理は必要なくなる。また、フラグが立っていなければ、ユーザが用紙サイズを認識していない可能性があるため、S505における比較処理へと進む。この比較処理は、印刷処理関連プログラムがアプリケーションDevmode領域203に保持されているDevmode1104とレジストリ204に保持されているDevmode1105を比較することによりS504における比較処理が実行されることとなる。   Here, the processing from S502 to S505 will be described in detail with reference to FIG. Initial print settings made for the printer driver are held in Devmode 1105 of registry 1102. Then, drawing data to be printed and Devmode 1103 which is print setting information are combined into the print command data from the application and passed to the printer driver in a format such as 1100. The printer driver receives the print command data 1100 received from the application. Is stored in the application Devmode area 203 shown in FIG. Note that Devmode 1104 set in the printer driver at this time is overwritten with information 1103. When the print setting screen 401 in FIG. 4 is displayed, the print processing related program sets a flag indicating that fact. If this flag is set, the user can recognize the paper size on the print setting screen 401, so that the comparison process in S505 is not necessary. If the flag is not set, the user may not recognize the paper size, and the process proceeds to the comparison process in S505. In this comparison processing, the comparison processing in S504 is executed by comparing the Devmode 1104 held in the application Devmode area 203 with the Devmode 1105 held in the registry 204 by the print processing related program.

S504の判定の結果、印刷処理関連プログラム204がS502およびS503により取得した印刷用紙サイズが同じであると判定した場合、印刷処理関連プログラム204が、該印刷用紙サイズに基づいて印刷制御コマンドを生成し、ホストコンピュータ(情報処理装置)と接続されているプリンタ1500に対して印刷制御コマンドを送出して、印刷を実行させる。   As a result of the determination in S504, when the print processing related program 204 determines that the print paper sizes acquired in S502 and S503 are the same, the print processing related program 204 generates a print control command based on the print paper size. Then, a print control command is sent to the printer 1500 connected to the host computer (information processing apparatus) to execute printing.

S504の判定の結果、S502およびS503により取得した印刷用紙サイズが異なると判定した場合、印刷処理関連プログラムを構成するプリンタドライバUI制御モジュール2042が図6のような用紙サイズ設定ユーザインタフェース(UI)を表示する(S505)。ここで図6の用紙サイズ設定UIについて説明する。この用紙サイズ設定UIには、アプリケーションにより設定された印刷用紙サイズ(本実施例では「A5」)が表示される。さらに、用紙変更ボタン602、印刷実行ボタン603、キャンセルボタン604が表示されている。   As a result of the determination in S504, if it is determined that the print paper sizes acquired in S502 and S503 are different, the printer driver UI control module 2042 constituting the print processing related program displays a paper size setting user interface (UI) as shown in FIG. It is displayed (S505). Here, the paper size setting UI of FIG. 6 will be described. In this paper size setting UI, a printing paper size (“A5” in this embodiment) set by the application is displayed. Further, a paper change button 602, a print execution button 603, and a cancel button 604 are displayed.

印刷実行ボタン603は、印刷を実行するためのものであり、印刷実行ボタン603が押された場合、図6の用紙サイズ設定UIに表示されている印刷用紙サイズ(本実施例では「A5」)で印刷が行われる。キャンセルボタン604は、図5における処理フローを無効化するものであり、印刷処理のキャンセル処理が行われる。用紙変更ボタン602は、アプリケーションからの印刷命令データが保持する印刷用紙サイズを変更するためのものであり、用紙変更ボタン602が押されたことに応じて、図7に示すような用紙サイズ変更UIが表示される。   The print execution button 603 is for executing printing. When the print execution button 603 is pressed, the print paper size displayed in the paper size setting UI in FIG. 6 (“A5” in this embodiment). Printing is performed. A cancel button 604 is for invalidating the processing flow in FIG. 5, and cancel processing of printing processing is performed. The paper change button 602 is used to change the print paper size held in the print command data from the application. When the paper change button 602 is pressed, a paper size change UI as shown in FIG. Is displayed.

印刷処理関連プログラム204は、図6において用紙変更ボタン602が押されたことを認識した場合(S506)、図7のような用紙サイズ選択UIを表示し、図7における印刷用紙サイズ701から選択された用紙サイズを認識する(S507)。詳細には、ポインティングデバイス等により図7の701から選択された印刷用紙サイズを、KBC5を介して印刷処理関連プログラム204が認識することにより実現される。なお、S507で用紙変更ボタン602が押されなかった場合、図5における処理を終了する。   When the print processing related program 204 recognizes that the paper change button 602 is pressed in FIG. 6 (S506), it displays a paper size selection UI as shown in FIG. 7 and is selected from the print paper size 701 in FIG. The paper size is recognized (S507). Specifically, this is realized by the print processing related program 204 recognizing the print paper size selected from 701 in FIG. 7 by the pointing device or the like via the KBC 5. If the paper change button 602 is not pressed in S507, the process in FIG.

S508により印刷用紙サイズの変更処理が行われた場合(S509)、印刷処理関連プログラムは、S508で認識した用紙サイズで印刷を実行する。詳細には、印刷処理関連プログラムが認識した用紙サイズをアプリケーションDevmode領域203に書き込むことにより、プリンタドライバは最終的にどの用紙サイズを使用するべきかを認識することが可能となる。   When the print paper size changing process is performed in S508 (S509), the print processing related program executes printing with the paper size recognized in S508. Specifically, by writing the paper size recognized by the print processing related program in the application Devmode area 203, the printer driver can finally recognize which paper size should be used.

本実施例により、プリンタドライバに予め設定されている用紙サイズとアプリケーションで設定された用紙サイズが異なると判定された場合、図6のような用紙サイズ設定UIが表示されるため、ユーザは図3の印刷指示画面から図4の印刷設定画面を表示しなくとも予めプリンタドライバに設定されている用紙サイズとは異なるサイズで印刷が行われようとしていることが認識でき、予期せぬ用紙サイズで印刷が行われることを防ぐことができる。   According to this embodiment, when it is determined that the paper size preset in the printer driver is different from the paper size set by the application, the paper size setting UI as shown in FIG. 6 is displayed. Even if the print setting screen of FIG. 4 is not displayed from the print instruction screen, it can be recognized that printing is being performed at a size different from the paper size previously set in the printer driver, and printing is performed at an unexpected paper size. Can be prevented.

さらに、図4における印刷設定画面401が表示された場合は、ユーザがどの用紙サイズで印刷するかを詳細に設定しているため、プリンタドライバに予め設定されていた用紙サイズと異なる用紙サイズが設定されたとしても図6のようなUIは表示されなくなるため、ユーザにとって不要なメッセージが表示されないように制御することも可能となる。   Furthermore, when the print setting screen 401 in FIG. 4 is displayed, since the user has set in detail which paper size to print, a paper size different from the paper size previously set in the printer driver is set. Even if it is done, since the UI as shown in FIG. 6 is not displayed, it is possible to control so that a message unnecessary for the user is not displayed.

なお、本実施例では、図4における印刷設定画面401が表示された場合は、図5におけるS505以降を行わないことを記載したが、印刷設定画面401が表示されたとしても、念のためにS505以降の処理を行うようにしても構わない。また、印刷設定画面401において何らかの設定変更が行われた段階で、S505以降の処理を行わないようにしても構わない。   In the present embodiment, it is described that when the print setting screen 401 in FIG. 4 is displayed, S505 and subsequent steps in FIG. 5 are not performed. However, even if the print setting screen 401 is displayed, just in case. You may make it perform the process after S505. In addition, when any setting is changed on the print setting screen 401, the processing after S505 may not be performed.

なお、本発明は、上記形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体(又は記録媒体)を、システム又は装置に供給し、そのシステム又は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出して実行することによっても達成されることは云うまでもない。   In the present invention, a storage medium (or recording medium) storing software program codes for realizing the functions of the above embodiments is supplied to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores it. Needless to say, this can also be achieved by reading and executing the program code stored in the medium.

この場合、記憶媒体から読み出されたプログラムコード自体が上記実施の形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、上記実施の形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部又は全部を行い、その処理によって上記実施の形態の機能が実現される場合も含まれることは云うまでもない。   In this case, the program code itself read from the storage medium realizes the functions of the above embodiments, and the storage medium storing the program code constitutes the present invention. Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that a case where the function of the above-described embodiment is realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わる記憶媒体に書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは云うまでもない。   Furthermore, after the program code read from the storage medium is written to the storage medium provided in the function expansion card inserted into the computer or the function expansion unit connected to the computer, the program code is read based on the instruction of the program code. It goes without saying that the case where the CPU of the function expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

また、本発明は、上記実施の形態の機能を実現するソフトウェアのプログラムコードがネットワークを介して配信されることにより、システム又は装置のハードディスクやメモリ等の記憶手段又はCD−RW、CD−R等の記憶媒体に格納され、そのシステム又は装置のコンピュータ(又はCPUやMPU)が当該記憶手段や当該記憶媒体に格納されたプログラムコードを読み出して実行することによっても、達成されることは云うまでもない。   In addition, the present invention distributes the program code of software that implements the functions of the above-described embodiments via a network, so that storage means such as a hard disk or memory of a system or apparatus, CD-RW, CD-R, etc. Needless to say, this can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage means or the storage medium. Absent.

印刷処理システムのブロック構成図Block diagram of the print processing system RAM2のメモリマップを示す図The figure which shows the memory map of RAM2 アプリケーションが表示する印刷指示画面の一例を示す図The figure which shows an example of the printing instruction | indication screen which an application displays 印刷設定画面の一例を示す図Figure showing an example of the print settings screen 印刷用紙サイズ表示方法を示すフローチャートFlow chart showing printing paper size display method メッセージ画面の一例を示す図Figure showing an example of the message screen 用紙サイズ変更を行うUI図UI diagram for changing the paper size アプリケーションおよびプリンタドライバの処理フローチャートApplication and printer driver processing flowchart 各印刷用紙サイズの比較処理の詳細図Detailed view of the comparison process for each paper size 印刷設定を保存する構造体の模式図Schematic diagram of a structure that stores print settings

符号の説明Explanation of symbols

1 CPU
2 RAM
5 KBC
6 CRTC
1 CPU
2 RAM
5 KBC
6 CRTC

Claims (12)

印刷装置が解釈可能な印刷制御コマンドを生成するプリンタドライバを有する印刷制御装置であって、
前記プリンタドライバに設定されている初期用紙サイズを取得する初期用紙サイズ取得手段と、
前記印刷制御コマンドを生成するための印刷命令データに設定されている用紙サイズを取得する用紙サイズ取得手段と、
前記初期用紙サイズ取得手段および前記用紙サイズ取得手段により取得された初期用紙サイズおよび用紙サイズを比較する比較手段と、
前記比較手段により初期用紙サイズおよび用紙サイズが異なると判定された場合、メッセージを表示する表示手段を有することを特徴とする印刷制御装置。
A print control apparatus having a printer driver that generates a print control command interpretable by the printing apparatus,
Initial paper size acquisition means for acquiring an initial paper size set in the printer driver;
Paper size acquisition means for acquiring the paper size set in the print command data for generating the print control command;
A comparison means for comparing the initial paper size and the paper size acquired by the initial paper size acquisition means and the paper size acquisition means;
A printing control apparatus, comprising: a display unit configured to display a message when the comparison unit determines that the initial paper size and the paper size are different.
印刷設定を行うための印刷設定画面を表示したか否かを判定する判定手段を有し、前記判定手段により前記印刷設定画面が表示された場合、前記比較手段による比較を行わないことを特徴とする請求項1に記載の印刷制御装置。   And a determination unit that determines whether or not a print setting screen for performing print settings is displayed. When the print setting screen is displayed by the determination unit, the comparison unit does not perform comparison. The printing control apparatus according to claim 1. 用紙サイズの変更を行うための用紙サイズ変更手段を有し、前記比較手段により初期用紙サイズおよび用紙サイズが異なると判定された場合、前記用紙サイズ変更手段による変更処理が行われることを特徴とする請求項1または2に記載の印刷制御装置。   A paper size changing unit for changing the paper size is provided, and when the comparison unit determines that the initial paper size and the paper size are different, the changing process by the paper size changing unit is performed. The print control apparatus according to claim 1 or 2. 前記表示手段により表示されるメッセージには、前記用紙サイズ取得手段により取得した用紙サイズを表示することを特徴とする請求項1乃至3のいずれか1つに記載の印刷制御装置。   4. The print control apparatus according to claim 1, wherein the message displayed by the display unit displays a paper size acquired by the paper size acquisition unit. 印刷装置が解釈可能な印刷制御コマンドを生成するプリンタドライバを有する印刷制御装置における印刷制御方法であって、
前記プリンタドライバに設定されている初期用紙サイズを取得する初期用紙サイズ取得工程と、
前記印刷制御コマンドを生成するための印刷命令データに設定されている用紙サイズを取得する用紙サイズ取得工程と、
前記初期用紙サイズ取得工程および前記用紙サイズ取得工程により取得された初期用紙サイズおよび用紙サイズを比較する比較工程と、
前記比較工程により初期用紙サイズおよび用紙サイズが異なると判定された場合、メッセージを表示する表示工程を有することを特徴とする印刷制御方法。
A printing control method in a printing control apparatus having a printer driver that generates a printing control command interpretable by the printing apparatus,
An initial paper size acquisition step of acquiring an initial paper size set in the printer driver;
A paper size acquisition step of acquiring the paper size set in the print command data for generating the print control command;
A comparison step of comparing the initial paper size and the paper size acquired by the initial paper size acquisition step and the paper size acquisition step;
A printing control method comprising a display step of displaying a message when it is determined that the initial paper size and the paper size are different in the comparison step.
印刷設定を行うための印刷設定画面を表示したか否かを判定する判定工程を有し、前記判定工程により前記印刷設定画面が表示された場合、前記比較工程による比較を行わないことを特徴とする請求項5に記載の印刷制御方法。   A determination step of determining whether or not a print setting screen for performing print settings is displayed, and when the print setting screen is displayed by the determination step, the comparison by the comparison step is not performed. The printing control method according to claim 5. 用紙サイズの変更を行うための用紙サイズ変更工程を有し、前記比較工程により初期用紙サイズおよび用紙サイズが異なると判定された場合、前記用紙サイズ変更工程による変更処理が行われることを特徴とする請求項5または6に記載の印刷制御方法。   A paper size changing step for changing the paper size is provided, and when the comparison step determines that the initial paper size and the paper size are different, the changing process by the paper size changing step is performed. The printing control method according to claim 5 or 6. 前記表示工程により表示されるメッセージには、前記用紙サイズ取得工程により取得した用紙サイズを表示することを特徴とする請求項5乃至7のいずれか1つに記載の印刷制御方法。   The print control method according to any one of claims 5 to 7, wherein the message displayed in the display step displays the paper size acquired in the paper size acquisition step. 印刷装置が解釈可能な印刷制御コマンドを生成するプリンタドライバを有する印刷制御装置における印刷制御プログラムであって、
前記プリンタドライバに設定されている初期用紙サイズを取得する初期用紙サイズ取得ステップと、
前記印刷制御コマンドを生成するための印刷命令データに設定されている用紙サイズを取得する用紙サイズ取得ステップと、
前記初期用紙サイズ取得ステップおよび前記用紙サイズ取得ステップにより取得された初期用紙サイズおよび用紙サイズを比較する比較ステップと、
前記比較ステップにより初期用紙サイズおよび用紙サイズが異なると判定された場合、メッセージを表示する表示ステップを有することを特徴とするコンピュータで読取可能な印刷制御プログラム。
A print control program in a print control apparatus having a printer driver that generates a print control command interpretable by the printing apparatus,
An initial paper size acquisition step for acquiring an initial paper size set in the printer driver;
A paper size acquisition step for acquiring a paper size set in the print command data for generating the print control command;
A comparison step for comparing the initial paper size and the paper size acquired by the initial paper size acquisition step and the paper size acquisition step;
A computer-readable print control program comprising a display step of displaying a message when it is determined that the initial paper size and the paper size are different in the comparison step.
印刷設定を行うための印刷設定画面を表示したか否かを判定する判定ステップを有し、前記判定ステップにより前記印刷設定画面が表示された場合、前記比較ステップによる比較を行わないことを特徴とする請求項9に記載の印刷制御プログラム。   A determination step of determining whether or not a print setting screen for performing print settings is displayed, and when the print setting screen is displayed by the determination step, the comparison by the comparison step is not performed. The printing control program according to claim 9. 用紙サイズの変更を行うための用紙サイズ変更ステップを有し、前記比較ステップにより初期用紙サイズおよび用紙サイズが異なると判定された場合、前記用紙サイズ変更ステップによる変更処理が行われることを特徴とする請求項9または10に記載の印刷制御プログラム。   A paper size changing step for changing the paper size is provided, and when the comparison step determines that the initial paper size and the paper size are different, the changing process by the paper size changing step is performed. The print control program according to claim 9 or 10. 前記表示ステップにより表示されるメッセージには、前記用紙サイズ取得ステップにより取得した用紙サイズを表示することを特徴とする請求項9乃至11のいずれか1つに記載の印刷制御プログラム。   12. The print control program according to claim 9, wherein the message displayed in the display step displays the paper size acquired in the paper size acquisition step.
JP2004369426A 2004-12-21 2004-12-21 Print controller, print control method, and print control program Withdrawn JP2006178623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004369426A JP2006178623A (en) 2004-12-21 2004-12-21 Print controller, print control method, and print control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004369426A JP2006178623A (en) 2004-12-21 2004-12-21 Print controller, print control method, and print control program

Publications (1)

Publication Number Publication Date
JP2006178623A true JP2006178623A (en) 2006-07-06

Family

ID=36732697

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004369426A Withdrawn JP2006178623A (en) 2004-12-21 2004-12-21 Print controller, print control method, and print control program

Country Status (1)

Country Link
JP (1) JP2006178623A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009031233A1 (en) * 2007-09-07 2009-03-12 Fujitsu Limited Data processor and data processing program
US8472055B2 (en) 2009-02-06 2013-06-25 Seiko Epson Corporation Process executing method, program thereof, and print instructing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009031233A1 (en) * 2007-09-07 2009-03-12 Fujitsu Limited Data processor and data processing program
US8472055B2 (en) 2009-02-06 2013-06-25 Seiko Epson Corporation Process executing method, program thereof, and print instructing device
US8836985B2 (en) 2009-02-06 2014-09-16 Seiko Epson Corporation Process executing method, program thereof, and print instructing device

Similar Documents

Publication Publication Date Title
JP4785578B2 (en) Information processing apparatus and method
KR100838871B1 (en) Information processing apparatus and method, and storage medium
EP2441017B1 (en) Image processing apparatus, image processing method, and storage medium
JP5704834B2 (en) Information processing apparatus, control method, and program
JP2009188816A (en) Printer driver and image forming apparatus
JP2006309724A (en) Information processing apparatus, information processing method, program, and storage medium
JP2023001176A (en) Information processing device and program
JP2002091728A (en) Information processor, printing system and command generating method
US20130176597A1 (en) Information processing apparatus, information processing method, and storage medium storing a program thereof
JP4702948B2 (en) Information processing apparatus, method, and storage medium for customizing device driver
JP2009003712A (en) Printing system and control method
JP2006171861A (en) Information processor, printing method, recording medium and program
JP2006178623A (en) Print controller, print control method, and print control program
JP2017083996A (en) Information processing device, control method and program thereof
JP2008269260A (en) Data processor, data processing method and program
JP2015176231A (en) Information processing apparatus, information processing method, and information processing system
JP2009289121A (en) Information processor, output device, output processing method and program
JP2008020994A (en) Printer driver software and computer
JP2008217433A (en) Information processor, information processing method, program, and storage medium
JP2006338166A (en) Information processor, its control method and program
JP2003044240A (en) Printer driver, information processor, printing system, printing device and storage medium
JP2006228103A (en) Information processor
JP2006085253A (en) Information processor and print control method and computer-readable storage medium with program stored and program
JP2004213305A (en) Printing control system, information processor, printing control method, and program
KR20020001978A (en) Method for performing preview function in printer driver

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080304