JP7183688B2 - Information processing device, printing method, and program - Google Patents

Information processing device, printing method, and program Download PDF

Info

Publication number
JP7183688B2
JP7183688B2 JP2018197928A JP2018197928A JP7183688B2 JP 7183688 B2 JP7183688 B2 JP 7183688B2 JP 2018197928 A JP2018197928 A JP 2018197928A JP 2018197928 A JP2018197928 A JP 2018197928A JP 7183688 B2 JP7183688 B2 JP 7183688B2
Authority
JP
Japan
Prior art keywords
print
setting
unit
print data
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018197928A
Other languages
Japanese (ja)
Other versions
JP2019164747A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to US16/297,209 priority Critical patent/US10795622B2/en
Publication of JP2019164747A publication Critical patent/JP2019164747A/en
Application granted granted Critical
Publication of JP7183688B2 publication Critical patent/JP7183688B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Facsimiles In General (AREA)

Description

本発明は、情報処理装置、印刷方法、およびプログラムに関する。 The present invention relates to an information processing apparatus, printing method, and program.

プリンタ等の画像形成装置において、部門による印刷の管理等のため、ユーザID及びパスワードを設定可能な技術が既に知られている。 2. Description of the Related Art In image forming apparatuses such as printers, a technique is already known that enables setting of user IDs and passwords for departmental printing management.

このような画像形成装置での印刷時、プリンタ記述ファイルに記憶させたユーザID及びパスワードをプリンタドライバに読み出させ、ユーザID及びパスワードの再入力の手間を省く装置が知られている(特許文献1)。 There is known an apparatus that saves the trouble of re-entering the user ID and password by causing the printer driver to read out the user ID and password stored in the printer description file when printing with such an image forming apparatus (Patent Document 2). 1).

しかしながら、特許文献1に記載された技術では、プリンタドライバを利用しないアプリケーションから印刷を行う場合には、ユーザID及びパスワードを読み出してユーザ認証することができない。このように、従来技術では、例えばユーザID及びパスワードのような、プリンタドライバを用いる場合であれば設定可能な印刷設定等を、プリンタドライバを用いないアプリケーションから印刷を行う場合には利用することができなかった。 However, with the technique described in Japanese Patent Application Laid-Open No. 2002-200011, when printing is performed from an application that does not use a printer driver, it is not possible to read out the user ID and password and authenticate the user. As described above, in the conventional technology, print settings that can be set when using a printer driver, such as a user ID and password, can be used when printing is performed from an application that does not use a printer driver. could not.

本発明は、上述の課題に鑑みてなされたものであって、プリンタドライバを用いないアプリケーションからの印刷であってもプリンタドライバを用いる場合と同様の印刷設定を利用可能な情報処理装置、印刷方法、およびプログラムを提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an information processing apparatus and printing method that can use the same print settings as when using a printer driver even when printing from an application that does not use a printer driver. , and to provide programs.

上述した課題を解決し、目的を達成するために、本発明は、ネットワークを介して接続する機器と通信する情報処理装置であって、印刷設定に対して第1の設定値をユーザに指定させる設定指定部と、生成された印刷データに係る印刷設定に対して、前記第1の設定値が前記設定指定部により指定されたかを判定する判定部と、前記判定部で前記設定指定部により前記印刷設定に対して前記第1の設定値が指定されたと判定された印刷データを第1の印刷データとした場合に、前記第1の印刷データに係る印刷設定と、該印刷設定に対して記設定指定部により指定された前記第1の設定値とを紐付けて印刷設定情報記憶部に書き込む書き込み部と、前記第1の印刷データの前記第1の設定値を含む前記印刷設定に対応する第1の印刷コマンドを、前記第1の印刷データに追加するコマンド追加部と、前記第1の印刷コマンドが追加された前記第1の印刷データを、前記ネットワークを介して前記機器へと送信する送信部と、前記判定部で前記設定指定部により前記印刷設定に対して前記第1の設定値が指定されていないと判定された印刷データを第2の印刷データとした場合に、前記印刷設定情報記憶部に書き込まれた前記第1の設定値を前記印刷設定情報記憶部から読み出す読み出し部と、を有し、前記コマンド追加部は、前記読み出し部により読み出した前記第1の設定値を含む前記印刷設定に対応する第2の印刷コマンドを、前記第2の印刷データに追加し、前記送信部は、前記第2の印刷コマンドが追加された前記第2の印刷データを、前記ネットワークを介して前記機器へと送信するIn order to solve the above-described problems and achieve the object, the present invention provides an information processing apparatus that communicates with devices connected via a network, in which a first setting value is specified by a user for print settings. a setting designation unit for determining whether the first set value is designated by the setting designation unit for the print settings related to the generated print data ; and the determination unit print settings related to the first print data when it is determined that the first set value is specified for the print settings by the setting specifying unit as the first print data ; a writing unit that associates the first setting value specified by the setting specifying unit with the print setting and writes it into a print setting information storage unit; and the first setting value of the first print data. a command addition unit that adds a first print command corresponding to the print setting including the setting value of to the first print data; and the first print data to which the first print command is added, a transmission unit for transmitting to the device via the network; a reading unit for reading out from the print setting information storage unit the first setting value written in the print setting information storage unit when the print data is set as the print data of adding a second print command corresponding to the print setting including the first setting value read by the unit to the second print data, and the transmission unit receives the added second print command. The second print data is transmitted to the device via the network .

本発明によれば、プリンタドライバを用いないアプリケーションからの印刷であってもプリンタドライバを用いる場合と同様の印刷設定を利用できる。 According to the present invention, even when printing from an application that does not use a printer driver, it is possible to use the same print settings as when using a printer driver.

図1は、実施形態にかかるシステムの構成の一例を示す図である。1 is a diagram illustrating an example of the configuration of a system according to an embodiment; FIG. 図2は、実施形態にかかるプリンタのハードウェア構成を示すブロック図である。FIG. 2 is a block diagram of the hardware configuration of the printer according to the embodiment; 図3は、実施形態にかかるクライアントPCのハードウェア構成の一例を示す図である。3 is a diagram illustrating an example of a hardware configuration of a client PC according to the embodiment; FIG. 図4は、実施形態にかかるクライアントPCの機能構成および動作の一例を示す図である。FIG. 4 is a diagram illustrating an example of the functional configuration and operation of a client PC according to the embodiment; 図5は、「Library Validation」の基本説明図である。FIG. 5 is a basic explanatory diagram of "Library Validation". 図6は、「Library Validation」が有効な場合に印刷ダイアログが表示する印刷設定の一例を示す図である。FIG. 6 is a diagram illustrating an example of print settings displayed by the print dialog when "Library Validation" is enabled. 図7は、「Library Validation」が無効な場合に印刷ダイアログが表示する印刷設定の一例を示す図である。FIG. 7 is a diagram illustrating an example of print settings displayed by the print dialog when "Library Validation" is disabled. 図8は、実施形態にかかるDriverの機能構成の一例を示す図である。8 is a diagram illustrating an example of a functional configuration of a Driver according to the embodiment; FIG. 図9は、実施形態にかかるクライアントPCのプリンタドライバを用いた印刷動作例を示すシーケンス図である。FIG. 9 is a sequence diagram illustrating an example of printing operation using the printer driver of the client PC according to the embodiment; 図10は、UI設定判定部による判定処理のフローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a flow of determination processing by a UI setting determination unit; 図11は、実施形態にかかる印刷設定の具体例を示す図である。FIG. 11 is a diagram illustrating a specific example of print settings according to the embodiment; 図12は、実施形態にかかるPPDの印刷設定の具体例を示す図である。FIG. 12 is a diagram illustrating a specific example of PPD print settings according to the embodiment. 図13は、実施形態にかかるクライアントPCの機能構成および動作の他の例を示す図である。13 is a diagram illustrating another example of the functional configuration and operation of the client PC according to the embodiment; FIG. 図14は、実施形態にかかるクライアントPCのプリンタドライバを用いない印刷動作例を示すシーケンス図である。FIG. 14 is a sequence diagram illustrating an example of a printing operation without using the printer driver of the client PC according to the embodiment; 図15は、実施形態にかかるクライアントPCによる印刷処理の手順の一例を示すフロー図である。FIG. 15 is a flow diagram illustrating an example of a procedure of print processing by the client PC according to the embodiment; 図16は、実施形態の変形例にかかるDriverの機能構成の一例を示す図である。16 is a diagram illustrating an example of a functional configuration of a Driver according to a modification of the embodiment; FIG. 図17は、実施形態の変形例にかかるクライアントPCによる印刷処理の手順の一例を示すフロー図である。FIG. 17 is a flowchart illustrating an example of print processing procedures by a client PC according to the modification of the embodiment;

以下に、図1~図17を参照しながら、本発明にかかる情報処理装置、印刷方法、およびプログラムの実施形態を詳細に説明する。また、以下の実施形態によって本発明が限定されるものではなく、以下の実施形態における構成要素には、当業者が容易に想到できるもの、実質的に同一のもの、およびいわゆる均等の範囲のものが含まれる。さらに、以下の実施形態の要旨を逸脱しない範囲で構成要素の種々の省略、置換、変更および組み合わせを行うことができる。 Embodiments of an information processing apparatus, a printing method, and a program according to the present invention will be described in detail below with reference to FIGS. 1 to 17. FIG. In addition, the present invention is not limited by the following embodiments, and the constituent elements in the following embodiments can be easily conceived by those skilled in the art, substantially the same, and so-called equivalent ranges. is included. Furthermore, various omissions, replacements, changes and combinations of components can be made without departing from the gist of the following embodiments.

(システムの全体構成)
図1は、実施形態にかかるシステム1の構成の一例を示す図である。実施形態にかかるシステム1が有する情報処理装置としてのクライアントPC200は、ネットワークを介して接続する機器としてのプリンタ100と通信するクライアントPC200であって、印刷設定に対する設定値を指定させる設定指定部としての印刷ダイアログ240と、印刷設定と設定値とが紐付けて記憶される印刷設定情報記憶部としてのプリントキュー記憶部212と、印刷データを生成するデータ生成部としてのアプリケーション250a,250bと、印刷設定に対して設定値が指定されているか否かを判定する判定部としてのUI設定判定部D2と、印刷設定と設定値とを紐付けてプリントキュー記憶部212に書き込む書き込み部としてのPPD書き込み部D1と、印刷設定に対応する設定値をプリントキュー記憶部212から読み出す読み出し部としてのPPD読み出し部D3と、設定値を含む印刷設定に対応する印刷コマンドが追加された印刷データを機器へと送信する送信部としての通信実行部216と、を備える。以下に、実施形態のシステム1の詳細について説明する。
(Overall system configuration)
FIG. 1 is a diagram illustrating an example of the configuration of a system 1 according to an embodiment. A client PC 200 as an information processing apparatus included in the system 1 according to the embodiment is a client PC 200 that communicates with a printer 100 as a device connected via a network. A print dialog 240, a print queue storage unit 212 as a print setting information storage unit in which print settings and setting values are linked and stored, applications 250a and 250b as data generation units for generating print data, and print settings. A UI setting determination unit D2 as a determination unit that determines whether or not a setting value is specified for the print setting, and a PPD writing unit as a writing unit that writes the print setting and the setting value to the print queue storage unit 212 in association with each other. D1, a PPD reading unit D3 as a reading unit that reads setting values corresponding to the print settings from the print queue storage unit 212, and print data added with print commands corresponding to the print settings including the setting values are transmitted to the device. and a communication executing unit 216 as a transmitting unit. Details of the system 1 of the embodiment will be described below.

図1に示すように、実施形態のシステム1は、クライアントPC(Personal Computer)200と、プリンタ100とを備える。クライアントPC200とプリンタ100とはネットワーク90を介して互いに接続されている。ネットワーク90は、例えば、企業のオフィスなどで用いられる社内LAN(Local Area Network)等の社内コンピュータネットワークである。 As shown in FIG. 1 , the system 1 of the embodiment includes a client PC (Personal Computer) 200 and a printer 100 . Client PC 200 and printer 100 are connected to each other via network 90 . The network 90 is, for example, an in-house computer network such as an in-house LAN (Local Area Network) used in a company office.

機器(より具体的には、画像形成装置)としてのプリンタ100は、例えば印刷機能を有する。情報処理装置としてのクライアントPC200は、ネットワーク90を介してプリンタ100に画像データ等の印刷データ及び印刷設定を送信して印刷を実行させる。図1の例では、クライアントPC200及びプリンタ100の台数が各1台である場合を例示しているが、これに限らず、クライアントPC200及びプリンタ100の台数は任意である。 A printer 100 as a device (more specifically, an image forming apparatus) has, for example, a printing function. The client PC 200 as an information processing apparatus transmits print data such as image data and print settings to the printer 100 via the network 90 to execute printing. In the example of FIG. 1, one client PC 200 and one printer 100 are provided, but the number of client PCs 200 and printers 100 is not limited to this.

(プリンタのハードウェア構成)
図2は、実施形態にかかるプリンタ100のハードウェア構成を示すブロック図である。図2に示すように、プリンタ100は、コントローラ110とエンジン部(Engine)160とをPCI(Peripheral Component Interface)バスで接続した構成を有する。
(Printer hardware configuration)
FIG. 2 is a block diagram showing the hardware configuration of the printer 100 according to the embodiment. As shown in FIG. 2, the printer 100 has a configuration in which a controller 110 and an engine 160 are connected by a PCI (Peripheral Component Interface) bus.

エンジン部160は、PCIバスに接続可能なプリンタエンジンであり、例えば白黒プロッタ、1ドラムカラープロッタ、4ドラムカラープロッタを有する。なお、このエンジン部160には、プロッタなどのいわゆるエンジン部分に加えて、誤差拡散やガンマ変換などの画像処理部分が含まれる。 The engine unit 160 is a printer engine connectable to the PCI bus, and has, for example, a black-and-white plotter, a 1-drum color plotter, and a 4-drum color plotter. The engine section 160 includes an image processing section such as error diffusion and gamma conversion in addition to a so-called engine section such as a plotter.

コントローラ110は、プリンタ100全体の制御と描画、通信、プリンタ100が備える操作表示装置120からの入力を制御する。具体的には、コントローラ110は、CPU(Central Processing Unit)111と、ノースブリッジ(NB)113と、システムメモリ(MEM-P)112と、サウスブリッジ(SB)114と、ローカルメモリ(MEM-C)117と、ASIC(Application Specific Integrated Circuit)116と、ハードディスクドライブ(HDD)103とを有する。 The controller 110 controls the overall control of the printer 100 , drawing, communication, and input from the operation display device 120 provided in the printer 100 . Specifically, the controller 110 includes a CPU (Central Processing Unit) 111, a northbridge (NB) 113, a system memory (MEM-P) 112, a southbridge (SB) 114, and a local memory (MEM-C ) 117 , an ASIC (Application Specific Integrated Circuit) 116 , and a hard disk drive (HDD) 103 .

CPU111は、プリンタ100の全体制御を行う。CPU111は、NB113と、MEM-P112と、SB114とからなるチップセットを介して他の機器と接続される。NB113とASIC116との間は、AGP(Accelerated Graphics Port)バス115で接続されている。ASIC116は、例えば、セントロニクスケーブルを介して、直接的にクライアントPC200に接続されてもよい。 A CPU 111 performs overall control of the printer 100 . The CPU 111 is connected to other devices via a chipset consisting of an NB 113, a MEM-P 112, and an SB 114. FIG. An AGP (Accelerated Graphics Port) bus 115 is connected between the NB 113 and the ASIC 116 . ASIC 116 may be directly connected to client PC 200 via, for example, a Centronics cable.

NB113は、CPU111とMEM-P112、SB114、AGPバス115とを接続するブリッジであり、MEM-P112に対する読み書きなどを制御するメモリコントローラと、PCIマスタおよびAGPターゲットとを有する。 The NB 113 is a bridge that connects the CPU 111, the MEM-P 112, the SB 114, and the AGP bus 115, and has a memory controller that controls reading and writing with respect to the MEM-P 112, a PCI master, and an AGP target.

SB114は、NB113とPCIデバイス、周辺デバイスとを接続するブリッジである。SB114には、PCIバスを介してNB113が接続されている。PCIバスには、クライアントPC200と相互通信するネットワークインターフェース(I/F)170なども接続される。 The SB 114 is a bridge that connects the NB 113 with PCI devices and peripheral devices. The SB 114 is connected to the NB 113 via the PCI bus. A network interface (I/F) 170 for mutual communication with the client PC 200 is also connected to the PCI bus.

MEM-P112は、プログラムやデータの格納用メモリ、プログラムやデータの展開用メモリ、プリンタ100の描画用メモリなどとして用いるシステムメモリである。MEM-P112は、ROM(Read Only Memory)112aと、RAM(Random Access Memory)112bとを有する。 The MEM-P 112 is a system memory used as a memory for storing programs and data, a memory for developing programs and data, a drawing memory for the printer 100, and the like. The MEM-P 112 has a ROM (Read Only Memory) 112a and a RAM (Random Access Memory) 112b.

ROM112aは、プログラムやデータの格納用メモリとして用いる読み出し専用のメモリであり、RAM112bは、プログラムやデータの展開用メモリ、プリンタ100の描画用メモリなどとして用いる書き込みおよび読み出し可能なメモリである。 The ROM 112a is a read-only memory used as a memory for storing programs and data, and the RAM 112b is a writable and readable memory used as a memory for developing programs and data, a drawing memory for the printer 100, and the like.

ASIC116は、画像処理用のハードウェア要素を有する画像処理用途向けのIC(Integrated Circuit)であり、AGPバス115、PCIバス、HDD103およびMEM-C117をそれぞれ接続するブリッジの役割を有する。ASIC116は、PCIターゲットおよびAGPマスタと、ASIC116の中核をなすアービタ(ARB)と、MEM-C117を制御するメモリコントローラと、複数のDMAC(Direct Memory Access Controller)と、PCIユニットとからなる。DMACは、ハードウェアロジックなどにより画像データの回転などを行う。PCIユニットは、エンジン部160との間でPCIバスを介したデータ転送を行う。 The ASIC 116 is an image processing IC (Integrated Circuit) having hardware elements for image processing, and serves as a bridge connecting the AGP bus 115, PCI bus, HDD 103 and MEM-C 117, respectively. The ASIC 116 consists of a PCI target and AGP master, an arbiter (ARB) that forms the core of the ASIC 116, a memory controller that controls the MEM-C 117, a plurality of DMACs (Direct Memory Access Controllers), and a PCI unit. The DMAC rotates image data by hardware logic or the like. The PCI unit transfers data to and from the engine section 160 via the PCI bus.

ASIC116には、PCIバスを介してFCU(Facsimile Control Unit)130、USB(Universal Serial Bus)140、IEEE1394(Institute of Electrical and Electronics Engineers 1394)インターフェース150が接続される。操作表示装置120はASIC116に直接接続されている。 An FCU (Facsimile Control Unit) 130, a USB (Universal Serial Bus) 140, and an IEEE 1394 (Institute of Electrical and Electronics Engineers 1394) interface 150 are connected to the ASIC 116 via a PCI bus. Operation display device 120 is directly connected to ASIC 116 .

MEM-C117は、コピー用画像バッファ、符号バッファとして用いられる。 The MEM-C 117 is used as a copy image buffer and code buffer.

HDD103は、画像データの蓄積、プログラムの蓄積、フォントデータの蓄積、フォームの蓄積を行うストレージである。HDD103は、プリンタ100で実行されるアプリケーションのライセンスファイルを保存する。 The HDD 103 is a storage that stores image data, programs, font data, and forms. The HDD 103 stores license files for applications executed by the printer 100 .

AGPバス115は、グラフィック処理を高速化するために提案されたグラフィックスアクセラレーターカード用のバスインターフェースである。AGPバス115は、MEM-P112に高スループットで直接アクセスすることにより、グラフィックスアクセラレーターカードを高速にする。 The AGP bus 115 is a bus interface for graphics accelerator cards proposed to speed up graphics processing. The AGP bus 115 speeds up the graphics accelerator card by directly accessing the MEM-P 112 with high throughput.

(クライアントPCのハードウェア構成)
図3は、実施形態にかかるクライアントPC200のハードウェア構成の一例を示す図である。図3に示すように、クライアントPC200は、CPU201、RAM202、ROM203、HDD204、機器I/F205、ネットワークI/F208を有し、これらはシステムバスで互いに接続されている。機器I/F205には、表示部206及び操作部207が接続されている。
(Hardware configuration of client PC)
FIG. 3 is a diagram showing an example of the hardware configuration of the client PC 200 according to the embodiment. As shown in FIG. 3, the client PC 200 has a CPU 201, a RAM 202, a ROM 203, an HDD 204, a device I/F 205, and a network I/F 208, which are interconnected via a system bus. A display unit 206 and an operation unit 207 are connected to the device I/F 205 .

CPU201は演算手段であり、クライアントPC200全体の動作を統括的に制御する。RAM202は、情報の高速な読み書きが可能な揮発性の記憶媒体であり、CPU201が情報を処理する際の作業領域として用いられる。ROM203は、読み出し専用の不揮発性の記憶媒体であり、ファームウェア等のプログラムが格納されている。 A CPU 201 is a computing means and controls the overall operation of the client PC 200 . The RAM 202 is a volatile storage medium from which information can be read and written at high speed, and is used as a working area when the CPU 201 processes information. The ROM 203 is a read-only non-volatile storage medium, and stores programs such as firmware.

HDD204は、情報の読み書きが可能な不揮発性の記憶媒体であり、OS(Operating System)や各種の制御プログラム、アプリケーションプログラム等が格納される。HDD204は、クライアントPC200の各種機能を実現するために必要なファイルやデータ等を格納する。 The HDD 204 is a nonvolatile storage medium from which information can be read and written, and stores an OS (Operating System), various control programs, application programs, and the like. The HDD 204 stores files and data necessary for realizing various functions of the client PC 200 .

機器I/F205は、表示部206及び操作部207の各々をシステムバスに接続するインターフェースである。表示部206は、各種の情報を表示する視覚的ユーザインターフェースであり、例えばLCD(Liquid Crystal Display)などで構成される。操作部207は、キーボードやマウス等、ユーザがクライアントPC200に対して各種の情報を入力することを可能にするユーザインタ-フェースである。 A device I/F 205 is an interface that connects each of the display unit 206 and the operation unit 207 to the system bus. A display unit 206 is a visual user interface that displays various types of information, and is configured by, for example, an LCD (Liquid Crystal Display). An operation unit 207 is a user interface such as a keyboard and a mouse that allows the user to input various information to the client PC 200 .

ネットワークI/F208は、クライアントPC200をネットワーク90に接続するインターフェースである。 Network I/F 208 is an interface that connects client PC 200 to network 90 .

このようなハードウェア構成において、ROM203に格納されたプログラムや、HDD204又は図示しない光学ディスク等の記憶媒体からRAM202にロードされたプログラムに従ってCPU201が演算を行うことにより、ソフトウェア制御部が構成される。このようにして構成されたソフトウェア制御部と、ハードウェアとの組み合わせによって、クライアントPC200の機能を実現する機能ブロックが構成される。 In such a hardware configuration, the CPU 201 performs calculations according to programs stored in the ROM 203 and programs loaded from the HDD 204 or a storage medium such as an optical disk (not shown) to the RAM 202, thereby configuring the software control unit. A functional block that implements the functions of the client PC 200 is configured by combining the software control unit configured in this manner with hardware.

なお、クライアントPC200用プログラムは、インストール可能な形式又は実行可能な形式のファイルで、記録メディア等のコンピュータで読み取り可能な記録媒体に記録して流通させるようにしてもよい。 The program for the client PC 200 may be recorded in a computer-readable recording medium such as a recording medium as a file in an installable format or an executable format and distributed.

(クライアントPCの機能構成)
図4は、実施形態にかかるクライアントPC200の機能構成および動作の一例を示す図である。図4に示すように、クライアントPC200は、OS220上に、PDE(Print Dialog Extension)230と、印刷ダイアログ240と、アプリケーション250a及び後述するアプリケーション250bと、印刷システム(CUPS:Common Unix(登録商標) Printing System)210とを有する。
(Functional configuration of client PC)
FIG. 4 is a diagram showing an example of the functional configuration and operation of the client PC 200 according to the embodiment. As shown in FIG. 4, the client PC 200 includes a PDE (Print Dialog Extension) 230, a print dialog 240, an application 250a and an application 250b described later, and a printing system (CUPS: Common Unix (registered trademark) Printing System) on an OS 220. System) 210.

印刷システム210は、生成部211と、プリントキュー記憶部(Config Files)212と、スプーラ(cupsd)213と、変換情報記憶部(mime.convs,mime.types)214と、変換部215と、通信実行部216とを有している。 The printing system 210 includes a generation unit 211, a print queue storage unit (Config Files) 212, a spooler (cupsd) 213, a conversion information storage unit (mime.convs, mime.types) 214, a conversion unit 215, and communication and an execution unit 216 .

生成部211は、Autosetup Toolの一態様であり、プリントキューを作成するために、プリントキュー記憶部212を書き換えるプログラムである。生成部211は、例えば、プリントキューを生成する際に、接続先のプリンタ100のIPアドレスを調べて、プリントキューにIPアドレスを対応付けた対応情報をプリントキュー記憶部212に保存する。なお、生成部211は、USB、Bluetooth(登録商標)などのように、インターネットプロトコルではない印刷プロトコルの場合には、プリントキューにIPアドレスがないことを記述した対応情報をプリントキュー記憶部212に保存する。Autosetup Toolは、一般的にプリンタベンダが開発して提供される。 The generation unit 211 is one aspect of the Autosetup Tool, and is a program that rewrites the print queue storage unit 212 in order to create a print queue. For example, when generating a print queue, the generation unit 211 checks the IP address of the connected printer 100 and stores correspondence information in which the IP address is associated with the print queue in the print queue storage unit 212 . Note that in the case of a print protocol other than the Internet protocol, such as USB and Bluetooth (registered trademark), the generation unit 211 stores correspondence information describing that the print queue does not have an IP address in the print queue storage unit 212. save. The Autosetup Tool is generally developed and provided by a printer vendor.

印刷設定情報記憶部としてのプリントキュー記憶部212には、例えば、印刷システム210や、使用する印刷プロトコルとプロトコル上の接続先のアドレスとを含むプリンタの設定が保存されている。また、プリントキュー記憶部212は、PostScript(登録商標)プリンタの機種ごとの情報が記録されているプリンタ記述ファイル(PPD:PostScript Printer Description)を保持している。PPDは、印刷時にPostScriptプリンタのドライバが参照する。 A print queue storage unit 212 as a print setting information storage unit stores, for example, printer settings including the printing system 210, a print protocol to be used, and a connection destination address on the protocol. The print queue storage unit 212 also holds a printer description file (PPD: PostScript Printer Description) in which information for each model of PostScript (registered trademark) printer is recorded. The PPD is referenced by the PostScript printer driver when printing.

スプーラ213は、cupsdの一態様であり、印刷を実行した時に、アプリケーション250aから受け取った印刷データの形式から、プリントキュー記憶部212に記載されたプリンタ100に出力する印刷データの形式に変換するため、変換情報記憶部214を参照して、処理コストの低いフィルタパイプラインを形成し、印刷データをフィルタパイプラインに流す。「フィルタパイプラインを形成する」とは、印刷データを流すフィルタ(例えば変換部215のFilter、Driver、通信実行部216のBackends)を順番に並べることを意味する。フィルタ(Filter)には、ドライバ(Driver)とバックエンド(Backends)も含まれる。なお、処理コストの情報として、例えば、処理負荷、画質が劣化しない、処理効率が良いなどの項目が総合的に評価されて個々のフィルタに重み付け値が付与されており、この重み付け値が最小となるような順にフィルタを並べると処理コストの低いフィルタパイプラインを形成することができる。 The spooler 213 is one aspect of cupsd, and converts the format of print data received from the application 250a into the format of print data to be output to the printer 100 described in the print queue storage unit 212 when printing is executed. , the conversion information storage unit 214 is referred to form a filter pipeline with a low processing cost, and the print data is sent to the filter pipeline. “Forming a filter pipeline” means arranging filters (for example, the Filter and Driver of the conversion unit 215 and the Backends of the communication execution unit 216) that flow print data in order. Filters also include Drivers and Backends. As the processing cost information, for example, items such as processing load, no deterioration of image quality, good processing efficiency, etc. are comprehensively evaluated and a weighting value is assigned to each filter. A filter pipeline with low processing cost can be formed by arranging the filters in such an order that

変換情報記憶部214は、mime.convs、mime.typesの一態様であり、フィルタパイプラインを形成するための情報として、印刷システム210により初めから保持されている。印刷システム210が有しているFilterごとに、入力データ形式、出力データ形式、処理コストの情報などが保存されている。例えば、Mac OS X(登録商標)の場合では、/usr/share/cups/mime/apple.convsと、/usr/share/cups/mime/mime.convsとが、これに相当する。mime.typesには、印刷データのファイルタイプを判別するための規則が定義されている。例えば、Mac OS X(登録商標)の場合では、/usr/share/cups/mime/apple.typesと、/usr/share/cups/mime/mime.typesとが、これに相当する。 The conversion information storage unit 214 stores mime. convs, mime. It is one aspect of types, and is originally held by the printing system 210 as information for forming a filter pipeline. Information such as an input data format, an output data format, and a processing cost is saved for each filter of the printing system 210 . For example, in the case of Mac OS X (registered trademark), /usr/share/cups/mime/apple. convs and /usr/share/cups/mime/mime. convs corresponds to this. mime. Types defines a rule for determining the file type of print data. For example, in the case of Mac OS X (registered trademark), /usr/share/cups/mime/apple. types and /usr/share/cups/mime/mime. types corresponds to this.

変換部215は、Filter A~Hと、Driver a~dとを有している。Filterは、印刷データの形式を変換する。印刷システム210は、様々な入力形式と出力形式に対応するため、初めから様々なFilterを有している。例えば、PDFデータからPostScriptデータへ変換するFilter、PDFデータからRasterデータへ変換するFilter、Rasterデータからtiffデータに変換するFilterなどである。例えば、Mac OS X(登録商標)の場合、印刷システム210が、最初から有しているFilterは、/usr/libexec/cups/filter/に格納されている。 The conversion unit 215 has Filters A to H and Drivers a to d. Filter converts the format of print data. The printing system 210 has various filters from the beginning in order to support various input formats and output formats. For example, there is a filter that converts PDF data into PostScript data, a filter that converts PDF data into raster data, and a filter that converts raster data into tiff data. For example, in the case of Mac OS X (registered trademark), filters that the printing system 210 originally has are stored in /usr/libexec/cups/filter/.

Driverは、一般的にプリンタベンダにより提供され、Filterによるデータ変換が終わった後に、プリンタベンダ独自の印刷データ形式に変換したり、プリンタベンダ独自の印刷コマンドを印刷データに付加したりするFilterである。印刷する際に、どのDriverを使うかはプリントキューの中に定義されている。 A driver is generally provided by a printer vendor, and is a filter that converts data into a print data format unique to the printer vendor or adds a print command unique to the printer vendor to print data after data conversion by the filter is completed. . Which driver is used when printing is defined in the print queue.

送信部としての通信実行部216は、複数のBackendsから構成されている。図4の例では、通信実行部216は、Backends USB~Backends SMBを含んでいる。通信実行部216に含まれる各Backendsは、プリンタ100との通信を行う通信モジュールの機能を有している。通信実行部216に含まれる各Backendsは、それぞれが独立した実行ファイルである。また、通信実行部216に含まれる各Backendsは、それぞれが各通信プロトコルに対応付いている。すなわち、1つの通信プロトコルには対応する1つのBackendsがある。 The communication executing section 216 as a transmitting section is composed of a plurality of Backends. In the example of FIG. 4, the communication execution unit 216 includes Backends USB to Backends SMB. Each Backend included in the communication execution unit 216 has the function of a communication module that communicates with the printer 100 . Each Backends included in the communication execution unit 216 is an independent execution file. Each Backend included in the communication execution unit 216 is associated with each communication protocol. That is, one communication protocol has one corresponding Backends.

データ生成部としてのアプリケーション250aは、OS220にインストールされて用いられる一般的なアプリケーションである。アプリケーション250aは、後述するアプリケーション250bと異なり、プリンタドライバを用いて印刷を実行する。 The application 250a as a data generator is a general application installed in the OS 220 and used. The application 250a executes printing using a printer driver, unlike the application 250b described later.

第一の設定指定部としての印刷ダイアログ240は、OS220により提供される。印刷ダイアログ240は、印刷設定である各種印刷設定項目(例えば両面印刷など)の設定値の入力等、ユーザが利用したいプリンタ機能を選択するためのユーザインターフェースを提供する。ユーザインターフェースとしては、基本的には、PPDに記載されている内容がOS220により表示される。 A print dialog 240 as a first setting designation section is provided by the OS 220 . The print dialog 240 provides a user interface for selecting a printer function that the user wants to use, such as inputting setting values for various print setting items (for example, double-sided printing) that are print settings. As a user interface, the OS 220 basically displays the contents described in the PPD.

PDE230は、プリンタベンダが提供するプラグインモジュールであり、プリンタベンダが独自のユーザインターフェースを提供するためのモジュールである。PDE230は、よりリッチなユーザインターフェースを提供する場合に、プラグインによって印刷ダイアログ240を拡張することで、印刷ダイアログ240の一部(第二の設定指定部)として表示される。PDE230によりPPDの設定を拡張することができる。例えば、一例としてユーザIDおよびパスワードなどによるユーザ認証がある。ユーザ認証の拡張は、情報の流出を抑制するためや、部門による印刷の管理等のために行われる。 The PDE 230 is a plug-in module provided by the printer vendor, and is a module for the printer vendor to provide its own user interface. When providing a richer user interface, the PDE 230 is displayed as part of the print dialog 240 (second setting designation section) by extending the print dialog 240 with a plug-in. PDE 230 allows the setting of the PPD to be extended. For example, one example is user authentication using a user ID and password. The expansion of user authentication is performed for the purpose of suppressing leakage of information, management of printing by departments, and the like.

ここで、図5~図7を用いて、制御部によるアプリケーション250aと印刷ダイアログ240とPDE230との制御の例を「Library Validation」を例に説明する。「Library Validation」は、セキュリティ強化を目的としたmacOSが提供する仕組みであり、アプリ製作者がアプリに電子署名をする場合において有効に設定されるものである。 Here, an example of control of the application 250a, the print dialog 240, and the PDE 230 by the control unit will be described using "Library Validation" as an example, using FIGS. 5 to 7. FIG. "Library Validation" is a mechanism provided by macOS for the purpose of strengthening security, and is set to be effective when an application creator electronically signs an application.

図5は、「Library Validation」の基本説明図である。図5に示すようにアプリケーション250aに対し「Library Validation」が有効に設定されていると、そのアプリケーション250aからは同じ署名のモジュールか、もしくはApple社製のモジュールしか起動することができなくなる。図5に示す例では、「Library Validation」が有効なA社製のアプリケーション250aから印刷ダイアログ240のようなApple社製のモジュールは呼び出せるが、A社の署名がないB社製のモジュールは呼び出せない。また、「Library Validation」が有効なA社製のアプリケーションから呼び出されたApple社製のモジュールから、A社の署名がないC社製のモジュール(例えばPDE230など)は呼び出せない。つまり、「Library Validation」が有効なアプリケーション250aからは、PDE230で拡張したユーザインタフェース(UI)を表示することができない。「Library Validation」が有効な場合と無効な場合のそれぞれの印刷ダイアログ240における印刷設定の表示制御について次に示す。 FIG. 5 is a basic explanatory diagram of "Library Validation". As shown in FIG. 5, when "Library Validation" is enabled for an application 250a, only a module with the same signature or a module manufactured by Apple Inc. can be activated from that application 250a. In the example shown in FIG. 5, an application 250a made by company A whose "Library Validation" is valid can call modules made by Apple such as the print dialog 240, but cannot call modules made by company B without the signature of company A. . In addition, a module manufactured by Company C (for example, PDE230) without a signature of Company A cannot be called from a module manufactured by Apple, which is called from an application manufactured by Company A in which "Library Validation" is valid. In other words, the user interface (UI) extended by the PDE 230 cannot be displayed from the application 250a for which "Library Validation" is valid. Display control of print settings in the print dialog 240 when "Library Validation" is valid and when "Library Validation" is invalid will be described below.

図6は、「Library Validation」が有効な場合に印刷ダイアログ240が表示する印刷設定の一例を示す図である。印刷ダイアログ240は、「Library Validation」の設定に関係なくPPDを参照し、PPDの印刷設定である、一例としてUserID(PPD)、両面、カラーなどの印刷設定項目を表示する。また、「Library Validation」が有効に設定されていることにより、印刷ダイアログ240はPDE230をロードすることができないため、PPDが提供する印刷設定項目のみを表示する。例えば、UserIDには、PPDが提供するUserID(PPD)を表示する。 FIG. 6 is a diagram showing an example of print settings displayed by the print dialog 240 when "Library Validation" is enabled. The print dialog 240 refers to the PPD regardless of the "Library Validation" setting, and displays print setting items such as UserID (PPD), duplex, and color, which are the print settings of the PPD. In addition, since "Library Validation" is set to valid, the print dialog 240 cannot load the PDE 230, so only the print setting items provided by the PPD are displayed. For example, UserID displays UserID (PPD) provided by PPD.

図7は、「Library Validation」が無効な場合に印刷ダイアログ240が表示する印刷設定の一例を示す図である。印刷ダイアログ240は、「Library Validation」の設定に関係なくPPDを参照し、「Library Validation」が有効な場合と同様に印刷ダイアログ240に印刷設定を表示する。また、ここでは「Library Validation」が無効に設定されているため、印刷ダイアログ240は、PDE230をロードする。このため、印刷ダイアログ240は、PDE230の印刷設定も表示することができる。なお、そのままではPPDとPDE230とから提供された同じ印刷設定項目について二つ表示されてしまうことになるので、PDE230は印刷ダイアログ240のPPDから提供された同じ印刷設定項目の値を非表示にする制御を行う。例えば、図7に示すように、UserIDはPDE230から提供されるUserID(PDE)とPPDから提供されるUserID(PPD)とで二つ表示されることになるため、PDE230は印刷ダイアログ240のUserID(PPD)を非表示にする制御を行う。その結果、UserIDとして、PDE230が提供するものだけが表示される。 FIG. 7 is a diagram showing an example of print settings displayed by the print dialog 240 when "Library Validation" is disabled. The print dialog 240 refers to the PPD regardless of the "Library Validation" setting, and displays the print settings in the print dialog 240 in the same manner as when "Library Validation" is enabled. Also, since “Library Validation” is disabled here, the print dialog 240 loads the PDE 230 . As such, the print dialog 240 can also display the print settings of the PDE 230 . As it is, the same print setting item provided from the PPD and the PDE 230 will be displayed twice, so the PDE 230 hides the value of the same print setting item provided from the PPD in the print dialog 240. control. For example, as shown in FIG. 7, two UserIDs are displayed, the UserID (PDE) provided by the PDE 230 and the UserID (PPD) provided by the PPD. PPD) is hidden. As a result, only the UserID provided by the PDE 230 is displayed.

ここで、図8を用い、変換部215が有するDriverの構成例について説明する。 Here, a configuration example of the Driver included in the conversion unit 215 will be described with reference to FIG. 8 .

図8は、実施形態にかかるDriverの機能構成の一例を示す図である。図8に示すように、各々のDriver a~dは、PPD書き込み部D1、UI設定判定部D2、PPD読み出し部D3、及びコマンド追加部D4を有する。 8 is a diagram illustrating an example of a functional configuration of a Driver according to the embodiment; FIG. As shown in FIG. 8, each of Drivers a to d has a PPD writing section D1, a UI setting determining section D2, a PPD reading section D3, and a command adding section D4.

判定部としてのUI設定判定部D2は、ユーザID、パスワード、両面印刷、用紙サイズなどの印刷設定(印刷設定項目)ごとに、OS220が提供する印刷ダイアログ240とPDE230とによって印刷設定(印刷設定項目)に設定値が指定されているかを判定する。 The UI setting determination unit D2 serving as a determination unit determines print settings (print setting items) using the print dialog 240 provided by the OS 220 and the PDE 230 for each print setting (print setting item) such as a user ID, password, double-sided printing, and paper size. ) is specified.

設定値が指定されていれば、UI設定判定部D2は、印刷設定をPPDに書き込むよう、PPD書き込み部D1に指示する。書き込み部としてのPPD書き込み部D1は、PPDに印刷設定を保存する。 If the setting values are specified, the UI setting determination unit D2 instructs the PPD writing unit D1 to write the print settings to the PPD. A PPD writing unit D1 as a writing unit stores print settings in a PPD.

設定値が指定されていなければ、UI設定判定部D2は、印刷設定をPPDから読み出すよう、PPD読み出し部D3に指示する。読み出し部としてのPPD読み出し部D3は、PPDから印刷設定を読み出し、読み出した印刷設定を現在の印刷設定、つまり、今回の印刷に使用する印刷設定に反映させる。 If the setting values are not specified, the UI setting determination unit D2 instructs the PPD reading unit D3 to read the print settings from the PPD. A PPD reading unit D3 as a reading unit reads print settings from the PPD and reflects the read print settings on the current print settings, that is, the print settings to be used for printing this time.

すべての印刷設定(印刷設定項目)に対して処理が終わると、UI設定判定部D2は、印刷設定(印刷設定項目)に対応する印刷コマンドの追加をコマンド追加部D4に指示する。追加部としてのコマンド追加部D4は、印刷設定(印刷設定項目)に対応する印刷コマンドを印刷データに追加し、通信実行部216のBackendsへと送る。 When the processing for all print settings (print setting items) is completed, the UI setting determination unit D2 instructs the command addition unit D4 to add print commands corresponding to the print settings (print setting items). A command addition unit D<b>4 as an addition unit adds print commands corresponding to print settings (print setting items) to print data, and sends the print data to Backends of the communication execution unit 216 .

(クライアントPCのプリンタドライバを用いた動作)
次に、図4および図9を用い、実施形態のクライアントPC200のプリンタドライバを用いた動作について説明する。図9は、実施形態にかかるクライアントPC200のプリンタドライバを用いた印刷動作例を示すシーケンス図である。
(Operation using printer driver of client PC)
Next, operations using the printer driver of the client PC 200 according to the embodiment will be described with reference to FIGS. 4 and 9. FIG. FIG. 9 is a sequence diagram showing an example of printing operation using the printer driver of the client PC 200 according to the embodiment.

図4に示す一般的なアプリケーション250aにおいて印刷が実行されると、印刷ダイアログ240及びPDE230が、順次、呼び出される(図9 1~1.1)。なお、一例を挙げて説明した「Library Validation」が有効な場合には、PDE230の呼出しは行われないものとする。PDE230は、ユーザインターフェースで設定されたユーザIDおよびパスワード等を含む設定値を印刷ダイアログ240へと返す。アプリケーション250aでは、印刷データが生成される(図9 2)。印刷設定と印刷データとは、スプーラ213へと送られる(図9 3)。 When printing is executed in the general application 250a shown in FIG. 4, the print dialog 240 and the PDE 230 are called in sequence (FIGS. 91-1.1). It should be noted that the PDE 230 is not called when the "Library Validation" explained with an example is valid. The PDE 230 returns to the print dialog 240 the setting values including the user ID and password set on the user interface. The application 250a generates print data (FIG. 92). The print settings and print data are sent to the spooler 213 (FIG. 93).

スプーラ213は、フィルタパイプラインを形成する(図9 3.1~3.2)。印刷データは、変換部215のFilterによりファイル形式を変換される(図9 3.2.1~3.2.2)。また、Driverでは、独自の印刷データ形式に印刷データを変換する。 Spooler 213 forms the filter pipeline (FIG. 9 3.1-3.2). The file format of the print data is converted by the filter of the conversion unit 215 (3.2.1 to 3.2.2 in FIG. 9). Also, the Driver converts the print data into a unique print data format.

DriverのUI設定判定部D2は、ユーザインターフェースでユーザIDおよびパスワード等の印刷設定が指定されたか否かを判定する(図9 3.2.2.1)。より具体的には、UI設定判定部D2は、印刷ダイアログ240またはPDE230の印刷設定項目で印刷設定が指定されたか否かを判定する。この判定処理について、後に図10を用いて説明する。プリンタドライバを用いて印刷を実行するアプリケーション250aにおいては、ユーザインターフェースで設定されたユーザIDおよびパスワード等の設定値を含む印刷設定(図11、図12参照)が存在するため、PPD書き込み部D1はかかる印刷設定(印刷設定項目の設定値)をPPDに保存する(図9 3.2.2.2)。コマンド追加部D4は、印刷データにコマンドを追加する(図9 3.2.2.3)。Driverは、全ての印刷設定(印刷設定項目)に対し、このシーケンスを繰り返す。 The UI setting determination unit D2 of the Driver determines whether or not print settings such as a user ID and password have been specified through the user interface (3.2.2.1 in FIG. 9). More specifically, the UI setting determination unit D2 determines whether print settings have been specified in the print setting items of the print dialog 240 or the PDE 230 . This determination processing will be described later with reference to FIG. In the application 250a that executes printing using the printer driver, there are print settings (see FIGS. 11 and 12) that include set values such as a user ID and password set on the user interface. Such print settings (set values of print setting items) are saved in the PPD (3.2.2.2 in FIG. 9). The command adding unit D4 adds commands to the print data (3.2.2.3 in FIG. 9). The Driver repeats this sequence for all print settings (print setting items).

その後、印刷データは、通信実行部216に含まれるBackendsによりプリンタ100へと送信され印刷される(図9 3.2.2.3.1)。 After that, the print data is sent to the printer 100 and printed by Backends included in the communication execution unit 216 (3.2.2.3.1 in FIG. 9).

図10は、UI設定判定部D2による判定処理のフローの一例を示す図である。UI設定判定部D2は、PDE230から提供されたUI(PDE230)で印刷設定が指定されたかどうかを次のように判定する。 FIG. 10 is a diagram showing an example of the flow of determination processing by the UI setting determination unit D2. The UI setting determination unit D2 determines whether or not print settings are designated by the UI (PDE 230) provided from the PDE 230 as follows.

先ず、ステップS11において、UI設定判定部D2は、受け取った引数を調べ、com.ricoh.printsettings.11AUserID(図11参照)に値が設定されているかを判定する。com.ricoh.printsettings.11AUserIDに値が設定されている場合(Yes)、UI(PDE230)で値が設定されたものとしてUI設定判定部D2が判断し、この判定処理を終了する。 First, in step S11, the UI setting determination unit D2 examines the received argument, and determines whether the com. ricoh. printsettings. 11 Determine whether a value is set in AUUserID (see FIG. 11). com. ricoh. printsettings. If a value is set in 11AU UserID (Yes), the UI setting determination unit D2 determines that a value has been set in the UI (PDE 230), and terminates this determination process.

com.ricoh.printsettings.11AUserIDに値が設定されていない場合は(No)、PDE230で値が設定されていない。従って、ステップS12において、UI設定判定部D2は、RIUserIDStrings(図12参照)の値を調べ、PPDから提供されたUI(PPD)で値が設定されているかどうかを判定する。なお、RIUserIDStringsにはPPDで指定された値が設定されるが、User IDのような文字列を入力するコントロールに対するPPDの振る舞いとして、デフォルト値を空にすることができない。このため、「None」などをデフォルト値として設定している。つまり、ユーザがUIでUser IDを指定していない場合にも、RIUserIDStringsの値は空にならずにデフォルト値を示す。そのため、UI設定判定部D2は、RIUserIDStringsの値がデフォルト値と等しくない場合に(No)、UI(PPD)で値が設定されたものと判断し、この判定処理を終了する。また、UI設定判定部D2は、RIUserIDの値がデフォルト値と等しい場合には(Yes)、UI(PPD)で値が設定されていないものとして判断し、この判定処理を終了する。 com. ricoh. printsettings. If no value has been set in 11AUUserID (No), no value has been set in the PDE 230 . Therefore, in step S12, the UI setting determination unit D2 checks the value of RIUserIDStrings (see FIG. 12) and determines whether the value is set in the UI (PPD) provided by the PPD. Note that RIUserIDStrings is set to a value specified by the PPD, but the default value cannot be empty due to the behavior of the PPD for controls for entering character strings such as User ID. Therefore, "None" or the like is set as a default value. That is, even if the user does not specify a User ID on the UI, the value of RIUserIDStrings is non-empty and indicates a default value. Therefore, if the value of RIUserIDStrings is not equal to the default value (No), the UI setting determination unit D2 determines that the value has been set in the UI (PPD), and terminates this determination process. If the value of RIUserID is equal to the default value (Yes), the UI setting determination unit D2 determines that the value is not set in the UI (PPD), and terminates this determination process.

ここで、図11に、スプーラ213が、Filter、Driver、Backendsへ渡す印刷設定の具体例を示す。図11は、実施形態にかかる印刷設定の具体例を示す図である。Filter、Driver、Backendsは、コマンドラインの引数として図11に示す値をスプーラ213より受け取る。 Here, FIG. 11 shows a specific example of print settings passed by the spooler 213 to the Filter, Driver, and Backends. FIG. 11 is a diagram illustrating a specific example of print settings according to the embodiment; Filter, Driver, and Backends receive the values shown in FIG. 11 from the spooler 213 as command line arguments.

「argv[N]」のNは、何番目の引数であるかに対応している。5番目の引数である「argv[5]」には、ユーザインターフェースで指定された全ての印刷設定が列挙されている。最終行の「com.ricoh.printsettings.11AUserID=userid」は、プリンタベンダであるリコー社が定義した「11AUserID」というキーワードに対して「userid」という値が設定されていることを示す。「com.ricoh.printsettings.11AUserID」は、プラグインで指定する「ユーザID」という印刷設定(印刷設定項目)である。一方、「RIUserID」はPPD側で指定する「ユーザID」である。 N in "argv[N]" corresponds to what number the argument is. The fifth argument "argv[5]" lists all print settings specified in the user interface. "com.ricoh.printsettings.11AUuserID=userid" on the last line indicates that the value "userid" is set for the keyword "11AUuserID" defined by Ricoh, the printer vendor. "com.ricoh.printsettings.11AUUserID" is a print setting (print setting item) of "user ID" specified by the plug-in. On the other hand, "RIUserID" is a "user ID" specified on the PPD side.

また、図12に、印刷設定が保存されたPPDを示す。図12は、実施形態にかかるPPDの印刷設定の具体例を示す図である。PPDは、プリンタ固有の情報が記載されたテキストファイルである。Mac OS X(登録商標)の場合では、/etc/cups/ppdのディレクトリにプリントキューに対応したPPDが作成される。印刷設定の保存は、このプリントキューごとに紐付いたPPDに対して行われる。 Also, FIG. 12 shows a PPD in which print settings are saved. FIG. 12 is a diagram illustrating a specific example of PPD print settings according to the embodiment. A PPD is a text file that describes printer-specific information. In the case of Mac OS X (registered trademark), a PPD corresponding to the print queue is created in the /etc/cups/ppd directory. The print settings are saved in the PPD associated with each print queue.

PPDの文法では、アスタリスク(*)で始まる文字列はキーワードと呼ばれる。キーワードは、PPD仕様として予め定義されたものと、プリンタベンダやユーザが一定のルールの下で自由に定義したものとがある。例えば、「*PPD-Adobe」は、PPDが準拠するPPD仕様のバージョンを示す。キーワードの後ろにコロン(:)を挟んで値を指定することで、キーワードに値を紐付けることができる。これを利用して、PPDに印刷設定が保存される。なお、「*%」で始まる行はコメントとして無視される。 In the PPD grammar, strings beginning with an asterisk (*) are called keywords. Keywords include those predefined as PPD specifications and those freely defined by printer vendors or users under certain rules. For example, "*PPD-Adobe" indicates the version of the PPD specification that the PPD complies with. By specifying the value with a colon (:) after the keyword, the value can be associated with the keyword. Using this, the print settings are saved in the PPD. Lines starting with "*%" are ignored as comments.

図12の2行目「*RIUserIDString: userid」は、印刷設定がPPDに保存された例である。「*RIUserIDString」はユーザIDを意味するキーワードであり、「userid」はユーザIDとして指定された値である。 The second line "*RIUserIDString: userid" in FIG. 12 is an example of the print settings saved in the PPD. "*RIUserIDString" is a keyword meaning a user ID, and "userid" is a value specified as a user ID.

Driverは、キーワードを介してPPDから各々の印刷設定の値を読み書きすることができる。 The Driver can read and write the value of each print setting from the PPD via a keyword.

(クライアントPCのプリンタドライバを用いない動作)
次に、図13および図14を用いて、実施形態にかかるクライアントPC200のプリンタドライバを用いない動作について説明する。図13は、実施形態にかかるクライアントPC200の機能構成および動作の他の例を示す図である。図14は、実施形態にかかるクライアントPC200のプリンタドライバを用いない印刷動作例を示すシーケンス図である。
(Operation without using printer driver of client PC)
Next, the operation of the client PC 200 according to the embodiment without using the printer driver will be described with reference to FIGS. 13 and 14. FIG. FIG. 13 is a diagram showing another example of the functional configuration and operation of the client PC 200 according to the embodiment. FIG. 14 is a sequence diagram showing an example of printing operation without using the printer driver of the client PC 200 according to the embodiment.

図12に示すデータ生成部としてのアプリケーション250bは、プリンタドライバを使用しないアプリケーションである。アプリケーション250bにおいて印刷が実行されると、印刷ダイアログ240を呼び出さずに、アプリケーション250b自身が印刷設定および印刷データを、直接、スプーラ213へと送信する(図14 1~4)。この場合、印刷ダイアログ240を呼び出さないので、印刷ダイアログ240のプラグインで表示するプリンタドライバの機能は利用できない。つまり、アプリケーション250bからスプーラ213へと送信される印刷設定の中に、ユーザIDおよびパスワードなどの設定値は含まれない。なお、印刷ダイアログ240が呼び出されない代わりに、アプリケーション250b自身が印刷設定を行う画面を表示する場合がある。 An application 250b as a data generator shown in FIG. 12 is an application that does not use a printer driver. When printing is executed in the application 250b, the application 250b itself sends the print settings and print data directly to the spooler 213 without calling the print dialog 240 (1 to 4 in FIG. 14). In this case, since the print dialog 240 is not called, the functions of the printer driver displayed by the plug-in of the print dialog 240 cannot be used. In other words, the print settings sent from the application 250b to the spooler 213 do not include setting values such as the user ID and password. Instead of calling the print dialog 240, the application 250b itself may display a screen for print settings.

スプーラ213は、フィルタパイプラインを形成する(図14 4.1~4.2)。印刷データは、変換部215のFilterによりファイル形式を変換される(図14 4.2.1~4.2.2)。また、Driverでは、独自の印刷データ形式に印刷データを変換する。 The spooler 213 forms a filter pipeline (Fig. 14 4.1-4.2). The file format of the print data is converted by the filter of the converter 215 (4.2.1 to 4.2.2 in FIG. 14). Also, the Driver converts the print data into a unique print data format.

DriverのUI設定判定部D2は、ユーザインターフェースでユーザIDおよびパスワード等の印刷設定が指定されたか否かを判定する(図14 4.2.2.1)。プリンタドライバを用いず印刷を実行するアプリケーション250bにおいては、印刷設定が設定値を含まない場合、PPD読み出し部D3はPPDからユーザIDおよびパスワード等を含む印刷設定を読み出す(図14 4.2.2.2)。印刷設定が設定値を含む場合、PPD書き込み部D1は、かかる印刷設定をPPDに保存する。コマンド追加部D4は、印刷データにコマンドを追加する(図14 4.2.2.3)。Driverは、全印刷設定に対し、このシーケンスを繰り返す。 The UI setting determination unit D2 of the Driver determines whether or not print settings such as a user ID and password have been specified through the user interface (4.2.2.1 in FIG. 14). In the application 250b that executes printing without using a printer driver, if the print settings do not include setting values, the PPD reading unit D3 reads the print settings including the user ID and password from the PPD (see 4.2.2 in FIG. 14). .2). If the print settings include setting values, the PPD writing unit D1 saves the print settings in the PPD. The command adding unit D4 adds commands to the print data (4.2.2.3 in FIG. 14). The Driver repeats this sequence for all print settings.

その後、印刷データは、通信実行部216に含まれるBackendsによりプリンタ100へと送信され印刷される(図14 4.2.2.3.1)。 After that, the print data is sent to the printer 100 and printed by Backends included in the communication execution unit 216 (4.2.2.3.1 in FIG. 14).

(クライアントPCによる印刷処理)
次に、図15を用いて、実施形態のクライアントPC200による印刷処理の例について説明する。図15は、実施形態にかかるクライアントPC200による印刷処理の手順の一例を示すフロー図である。
(Print processing by client PC)
Next, an example of print processing by the client PC 200 according to the embodiment will be described with reference to FIG. FIG. 15 is a flowchart showing an example of print processing procedures by the client PC 200 according to the embodiment.

まず、アプリケーション250aからの印刷処理について説明する。 First, print processing from the application 250a will be described.

図15に示すように、ステップS101aにおいて、アプリケーション250aから印刷が実行されると、ステップS102aにおいて、印刷ダイアログ240からユーザIDおよびパスワード設定を含めた印刷設定が行われる。ステップS103aにおいて、アプリケーション250aは印刷データを生成し、生成した印刷データをスプーラ213へと送る。 As shown in FIG. 15, when printing is executed from the application 250a in step S101a, print settings including user ID and password settings are performed from the print dialog 240 in step S102a. In step S<b>103 a , the application 250 a generates print data and sends the generated print data to the spooler 213 .

ステップS104において、スプーラ213は、アプリケーション250aからの印刷データをFilterへと渡す。ステップS105において、Filterは、印刷データの形式を変換する。 In step S104, the spooler 213 passes the print data from the application 250a to the filter. In step S105, the filter converts the format of the print data.

ステップS106において、DriverのUI設定判定部D2は、ユーザインターフェースで印刷設定が指定されたか否かを判定する。今回はアプリケーション250aからの印刷であるので(Yes)、ステップS107において、PPD書き込み部D1は、印刷設定をPPDに保存する。ステップS109において、コマンド追加部D4は、印刷データにコマンドを追加する。Driverは、全印刷設定に対し、ステップS106~S109のステップを繰り返す。 In step S106, the UI setting determination unit D2 of the Driver determines whether or not print settings have been specified through the user interface. Since the printing is from the application 250a this time (Yes), in step S107, the PPD writing unit D1 saves the print settings in the PPD. In step S109, the command addition section D4 adds a command to the print data. The Driver repeats steps S106 to S109 for all print settings.

ステップS110において、Driverは、印刷データをBackendsへと渡す。 In step S110, the Driver passes the print data to Backends.

ステップS111において、Backendsは、印刷データをプリンタ100へと送信する。以上により、アプリケーション250aからの印刷処理が終了する。 In step S111, Backends transmits the print data to the printer 100. FIG. Thus, the print processing from the application 250a ends.

次に、アプリケーション250bからの印刷処理について説明する。 Next, print processing from the application 250b will be described.

引き続き図15に示すように、ステップS101bにおいて、アプリケーション250bから印刷が実行されると、ステップS102bにおいて、例えば、アプリケーション250bにより提供される印刷ダイアログが表示され、印刷設定がなされる。かかる印刷設定には、ユーザIDおよびパスワード設定は含まれない。ステップS103bにおいて、アプリケーション250bは印刷データを生成し、生成した印刷データをスプーラ213へと送る。 As shown in FIG. 15, when printing is executed from the application 250b in step S101b, for example, a print dialog provided by the application 250b is displayed and print settings are made in step S102b. Such print settings do not include user ID and password settings. In step S<b>103 b , the application 250 b generates print data and sends the generated print data to the spooler 213 .

ステップS104において、スプーラ213は、アプリケーション250bからの印刷データをFilterへと渡す。ステップS105において、Filterは、印刷データの形式を変換する。 In step S104, the spooler 213 passes the print data from the application 250b to Filter. In step S105, the filter converts the format of the print data.

ステップS106において、DriverのUI設定判定部D2は、ユーザインターフェースで印刷設定が指定されたか否かを判定する。今回はアプリケーション250bからの印刷であり、印刷設定がされない場合があるので、この場合(No)、ステップS108において、PPD読み出し部D3は、印刷設定をPPDから読み出す。ステップS109において、コマンド追加部D4は、印刷データにコマンドを追加する。Driverは、全印刷設定に対し、ステップS106~S109のステップを繰り返す。 In step S106, the UI setting determination unit D2 of the Driver determines whether or not print settings have been specified through the user interface. Since this time the printing is from the application 250b and the print settings may not be made, in this case (No), the PPD reading unit D3 reads the print settings from the PPD in step S108. In step S109, the command addition section D4 adds a command to the print data. The Driver repeats steps S106 to S109 for all print settings.

ステップS110において、Driverは、印刷データをBackendsへと渡す。 In step S110, the Driver passes the print data to Backends.

ステップS111において、Backendsは、印刷データをプリンタ100へと送信する。以上により、アプリケーション250bからの印刷処理が終了する。 In step S111, Backends transmits the print data to the printer 100. FIG. Thus, the print processing from the application 250b ends.

例えば、特許文献1の情報処理装置においては、プリンタドライバでユーザIDとパスワードとが設定されると、これらをログインユーザの情報と関連付けてPPDに保存する。次回の印刷からは、当該ログインユーザが印刷を行うときは、保存されたユーザIDとパスワードとをプリンタドライバが読み出して設定することで、これらを印刷のたびに毎回ユーザに設定させる手間を省く。しかしながら、プリンタドライバを使わないアプリケーションからの印刷の場合、プリンタドライバが呼び出されず、保存されたユーザIDとパスワードとを読み出すことはできない。 For example, in the information processing apparatus disclosed in Patent Document 1, when a user ID and password are set by a printer driver, they are stored in a PPD in association with login user information. From the next printing, when the logged-in user performs printing, the printer driver reads and sets the saved user ID and password, thereby saving the trouble of having the user set them each time printing is performed. However, when printing from an application that does not use the printer driver, the printer driver is not called and the saved user ID and password cannot be read.

実施形態のクライアントPC200においては、Driverがユーザインターフェースから印刷設定がされているか否かを判定し、されていない場合であっても、PPDから印刷設定を読み出し、これを現在の印刷設定に反映させる。これにより、プリンタドライバを利用しないアプリケーションからの印刷であってもユーザ認証を行うことができる。よって、ユーザが、より広く、かつ、容易に、ユーザ認証機能を利用することができる。 In the client PC 200 of the embodiment, the driver determines from the user interface whether or not print settings have been made, and if not, reads the print settings from the PPD and reflects them in the current print settings. . As a result, user authentication can be performed even when printing from an application that does not use a printer driver. Therefore, the user can use the user authentication function more widely and easily.

(変形例)
上述の実施形態では、DriverのUI設定判定部D2が印刷設定の有無を判定していた。実施形態の変形例のクライアントPCにおいては、PPDにフラグが立っているか否かにより、PPDから印刷設定を読み出すか否かを判定する点が、上述の実施形態とは異なる。
(Modification)
In the above-described embodiment, the UI setting determination unit D2 of the Driver determines the presence or absence of print settings. The client PC of the modification of the embodiment differs from the above-described embodiment in that it determines whether or not to read print settings from the PPD depending on whether a flag is set in the PPD.

実施形態の変形例のクライアントPCにおいては、プリンタドライバを使用しないアプリケーション250bから印刷が実行された場合、PPDにフラグが立つよう構成される。また、図16に示すように、実施形態の変形例のDriverは、例えば、UI設定判定部D2の代わりに、または、UI設定判定部D2に加えて、フラグ判定部としてのPPDフラグ判定部D5を有する。 The client PC according to the modification of the embodiment is configured such that when printing is executed from an application 250b that does not use a printer driver, a flag is set in the PPD. Further, as shown in FIG. 16, the Driver of the modified example of the embodiment includes, for example, a PPD flag determination unit D5 as a flag determination unit instead of or in addition to the UI setting determination unit D2. have

図17のステップS206において、PPDフラグ判定部D5は、PPDにフラグが立っているか否かを判定する。PPDにフラグが立っていなければ(No)、プリンタドライバを用いるアプリケーション250aからの印刷であり、ユーザインターフェースで印刷設定がされているものと判定する。そして、PPD書き込み部D1が、かかる設定をPPDに保存する。 In step S206 of FIG. 17, the PPD flag determination unit D5 determines whether or not the PPD is flagged. If the flag is not set in the PPD (No), it is determined that the printing is from the application 250a using the printer driver and that the print settings have been made through the user interface. Then, the PPD writing unit D1 saves such settings in the PPD.

PPDにフラグが立っていれば(Yes)、プリンタドライバを用いないアプリケーション250bからの印刷であり、ユーザインターフェースで印刷設定がされていないものと判定する。そして、PPD読み出し部D3が、PPDから印刷設定を読み出す。 If the flag is set in the PPD (Yes), it is determined that the printing is from the application 250b that does not use the printer driver and that the print settings have not been made through the user interface. Then, the PPD reading unit D3 reads the print settings from the PPD.

実施形態の変形例のクライアントPCにおいては、Driverを用いたユーザ認証の機能を、例えば、隠し機能として利用することができる。 In the client PC of the modified example of the embodiment, the function of user authentication using the Driver can be used as a hidden function, for example.

(その他の変形例)
上述の実施形態では、画像形成装置をプリンタ100であるとしたが、これに限られない。画像形成装置は、例えば、複写機、スキャナ、ファクシミリ等であってもよく、あるいは、印刷機能、複写機能、スキャナ機能、及びファクシミリ機能のうち少なくとも2つの機能を有する複合機(MFP:Multifunction Peripheral)であってもよい。
(Other modifications)
In the above-described embodiment, the image forming apparatus is the printer 100, but it is not limited to this. The image forming apparatus may be, for example, a copier, a scanner, a facsimile, etc., or a multifunction peripheral (MFP) having at least two functions out of a print function, a copy function, a scanner function, and a facsimile function. may be

上述の実施形態では、プリンタドライバを用いない場合にも利用可能な印刷設定として、主にユーザ認証に関する設定値を例に挙げたが、これに限られない。プリンタドライバ等のドライバを用いない場合にも利用可能な画像形成時(画像出力時)の設定としては、プリンタ100等の画像形成装置において用いられうる設定が種々含まれる。 In the above-described embodiment, as print settings that can be used even when a printer driver is not used, setting values related to user authentication have been mainly exemplified, but the present invention is not limited to this. Various settings that can be used in an image forming apparatus such as the printer 100 are included as settings for image formation (during image output) that can be used even when a driver such as a printer driver is not used.

実施形態のコンピュータで実行されるプログラムは、ROM等に予め組み込まれて提供される。また、上記プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD-ROM、フレキシブルディスク(FD)、CD-R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供されてもよい。 A program executed by the computer of the embodiment is preinstalled in a ROM or the like and provided. In addition, the above program is recorded in a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, a DVD (Digital Versatile Disk), etc. as a file in an installable format or an executable format. may be provided

さらに、実施形態で実行されるプログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成してもよい。また、実施形態で実行されるプログラムをインターネット等のネットワーク経由で提供または配布するように構成してもよい。 Furthermore, the program executed in the embodiment may be stored on a computer connected to a network such as the Internet, and provided by being downloaded via the network. Also, the program executed in the embodiment may be configured to be provided or distributed via a network such as the Internet.

1 システム
90 ネットワーク
100 プリンタ
110 コントローラ
160 エンジン部
200 クライアントPC
210 印刷システム
211 生成部
212 プリントキュー記憶部
213 スプーラ
214 変換情報記憶部
215 変換部
216 通信実行部
220 OS
230 PDE
240 印刷ダイアログ
250a,250b アプリケーション
D1 PPD書き込み部
D2 UI設定判定部
D3 PPD読み出し部
D4 コマンド追加部
D5 PPDフラグ判定部
1 system 90 network 100 printer 110 controller 160 engine section 200 client PC
210 printing system 211 generation unit 212 print queue storage unit 213 spooler 214 conversion information storage unit 215 conversion unit 216 communication execution unit 220 OS
230 PDEs
240 Print dialog 250a, 250b Application D1 PPD writing unit D2 UI setting determination unit D3 PPD reading unit D4 Command addition unit D5 PPD flag determination unit

特開2015-111376号公報JP 2015-111376 A

Claims (5)

ネットワークを介して接続する機器と通信する情報処理装置であって、
印刷設定に対して第1の設定値をユーザに指定させる設定指定部と、
生成された印刷データに係る印刷設定に対して、前記第1の設定値が前記設定指定部により指定されたかを判定する判定部と、
前記判定部で前記設定指定部により前記印刷設定に対して前記第1の設定値が指定されたと判定された印刷データを第1の印刷データとした場合に、前記第1の印刷データに係る印刷設定と、該印刷設定に対して記設定指定部により指定された前記第1の設定値とを紐付けて印刷設定情報記憶部に書き込む書き込み部と、
前記第1の印刷データの前記第1の設定値を含む前記印刷設定に対応する第1の印刷コマンドを、前記第1の印刷データに追加するコマンド追加部と、
前記第1の印刷コマンドが追加された前記第1の印刷データを、前記ネットワークを介して前記機器へと送信する送信部と、
前記判定部で前記設定指定部により前記印刷設定に対して前記第1の設定値が指定されていないと判定された印刷データを第2の印刷データとした場合に、前記印刷設定情報記憶部に書き込まれた前記第1の設定値を前記印刷設定情報記憶部から読み出す読み出し部と、
を有し、
前記コマンド追加部は、前記読み出し部により読み出した前記第1の設定値を含む前記印刷設定に対応する第2の印刷コマンドを、前記第2の印刷データに追加し、
前記送信部は、前記第2の印刷コマンドが追加された前記第2の印刷データを、前記ネットワークを介して前記機器へと送信する
情報処理装置。
An information processing device that communicates with a device connected via a network,
a setting designation unit that causes a user to designate a first setting value for print settings;
a determination unit that determines whether the first setting value is specified by the setting specifying unit for print settings related to the generated print data ;
When print data for which the setting specifying unit determines that the first setting value is specified for the print setting by the determination unit is set as first print data, printing according to the first print data a writing unit that associates a setting with the first setting value specified by the setting specifying unit for the print setting and writes the setting into a print setting information storage unit;
a command addition unit that adds a first print command corresponding to the print settings including the first set value of the first print data to the first print data;
a transmission unit configured to transmit the first print data to which the first print command is added to the device via the network;
When print data for which the setting specifying unit determines that the first setting value is not specified for the print settings in the determination unit is set as second print data, the print setting information storage unit stores: a reading unit that reads the written first setting value from the print setting information storage unit;
has
The command addition unit adds a second print command corresponding to the print setting including the first setting value read by the read unit to the second print data,
The transmission unit transmits the second print data to which the second print command is added to the device via the network.
Information processing equipment.
プリンタドライバを使用しないアプリケーションから印刷が実行されたことを示すフラグが立っているか否かを判定するフラグ判定部と、
記フラグが立っていない場合には、プリンタドライバを使用するアプリケーションからの前記第1の印刷データであり、前記書き込み部が前記第1の印刷データに係る印刷設定と該印刷設定に対して前記設定指定部により指定された第1の設定値とを紐付けて前記印刷設定情報記憶部に書き込み、

前記フラグが立っている場合には、プリンタドライバを使用しないアプリケーションからの前記第2の印刷データであり、前記読み出し部が前記印刷設定に対応する前記第1の設定値を前記印刷設定情報記憶部から読み出す、
請求項1に記載の情報処理装置。
a flag determination unit that determines whether a flag indicating that printing has been executed from an application that does not use a printer driver is set ;
If the flag is not set, the first print data is from an application using a printer driver, and the writing unit writes the print settings related to the first print data and the print settings. writing to the print setting information storage unit in association with the first setting value specified by the setting specifying unit ;

When the flag is set, the second print data is from an application that does not use a printer driver, and the reading unit stores the first setting values corresponding to the print settings in the print setting information storage unit. read from
The information processing device according to claim 1 .
前記第1の設定値はユーザ認証のための値である、
請求項1または請求項2に記載の情報処理装置。
the first setting value is a value for user authentication,
The information processing apparatus according to claim 1 or 2.
ネットワークを介して接続する機器と通信する情報処理装置で実行される印刷方法であって、
定指定部が、印刷設定に対して第1の設定値をユーザに指定させる設定指定ステップと、
データ生成部によって印刷データが生成されると、判定部が、生成された印刷データに係る印刷設定に対して、前記第1の設定値が前記設定指定部により指定されたかを判定する判定ステップと、
書き込み部が、前記判定部で前記設定指定部により前記印刷設定に対して前記第1の設定値が指定されたと判定された印刷データを第1の印刷データとした場合に前記第1の印刷データに係る印刷設定と、該印刷設定に対して前記設定指定部により指定された前記第1の設定値とを紐付けて印刷設定情報記憶部に書き込む書き込みステップ
コマンド追加部が、前記第1の印刷データの前記第1の設定値を含む前記印刷設定に対応する第1の印刷コマンドを、前記第1の印刷データに追加するコマンド追加ステップと、
送信部が、前記第1の印刷コマンドが追加された前記第1の印刷データを、前記ネットワークを介して前記機器へと送信する送信ステップと、
読み出し部が、前記判定部で前記設定指定部により前記印刷設定に対して前記第1の設定値が指定されていないと判定された印刷データを第2の印刷データとした場合に、前記印刷設定情報記憶部に書き込まれた前記第1の設定値を前記印刷設定情報記憶部から読み出す読み出しステップ
とを含み
前記コマンド追加ステップにおいて前記コマンド追加部は、前記読み出し部により読み出した前記第1の設定値を含む前記印刷設定に対応する第2の印刷コマンドを、前記第2の印刷データに追加し、
前記送信ステップにおいて前記送信部は、前記第2の印刷コマンドが追加された前記第2の印刷データを、前記ネットワークを介して前記機器へと送信する
印刷方法。
A printing method executed by an information processing device communicating with a device connected via a network,
a setting specifying step in which the setting specifying unit causes the user to specify a first setting value for the print setting;
When the print data is generated by the data generation unit, the determination unit determines whether the first setting value is designated by the setting designation unit for print settings related to the generated print data. a determination step to
When the writing unit determines, as first print data , print data for which the setting specifying unit determines that the first setting value is specified for the print settings , the first printing is performed. a writing step of linking print settings related to data and the first setting values specified by the setting specifying unit for the print settings and writing them into a print setting information storage unit;
a command addition step in which a command adding unit adds a first print command corresponding to the print settings including the first set value of the first print data to the first print data;
a transmission step in which a transmission unit transmits the first print data to which the first print command is added to the device via the network;
When the print data determined by the determination unit that the first setting value is not specified for the print setting by the setting specifying unit is set as the second print data , the reading unit determines the print setting. a reading step of reading the first setting value written in the information storage unit from the print setting information storage unit;
and
In the command adding step, the command adding unit adds a second print command corresponding to the print setting including the first setting value read by the reading unit to the second print data,
In the sending step, the sending unit sends the second print data to which the second print command is added to the device via the network.
printing method.
コンピュータに、
定指定部により刷設定に対して第1の設定値をユーザに指定させる設定指定ステップと、
印刷データが生成されると、生成された印刷データに係る印刷設定に対して、前記第1の設定値が前記設定指定部により指定されたかを判定する判定ステップと、
前記印刷設定に対して前記第1の設定値が指定されたと判定された印刷データを第1の印刷データとした場合に前記第1の印刷データに係る印刷設定と、該印刷設定に対して指定された前記第1の設定値とを紐付けて印刷設定情報記憶部に書き込む書き込みステップ
前記第1の印刷データの前記第1の設定値を含む前記印刷設定に対応する第1の印刷コマンドを、前記第1の印刷データに追加するコマンド追加ステップと、
前記第1の印刷コマンドが追加された前記第1の印刷データを、ネットワークを介して接続する機器へと送信する送信ステップと、
前記設定指定部により前記印刷設定に対して前記第1の設定値が指定されていないと判定された印刷データを第2の印刷データとした場合に、前記印刷設定情報記憶部に書き込まれた前記第1の設定値を前記印刷設定情報記憶部から読み出す読み出しステップ
とを実行させ
さらに、
前記コマンド追加ステップにおいて、読み出した前記第1の設定値を含む前記印刷設定に対応する第2の印刷コマンドを、前記第2の印刷データに追加するステップと、
前記送信ステップにおいて、前記第2の印刷コマンドが追加された前記第2の印刷データを、前記ネットワークを介して前記機器へと送信するステップと、
を実行させるためのプログラム。
to the computer,
a setting specifying step of causing a user to specify a first setting value for print settings by a setting specifying unit;
a determination step of determining, when the print data is generated , whether the first setting value has been designated by the setting designation unit for the print settings related to the generated print data ;
When print data for which it is determined that the first set value is specified for the print settings is the first print data , print settings for the first print data and print settings for the print settings a writing step of writing the specified first setting value in association with the print setting information storage unit;
a command addition step of adding to the first print data a first print command corresponding to the print settings including the first setting value of the first print data;
a transmission step of transmitting the first print data to which the first print command is added to a device connected via a network;
When the print data determined by the setting specifying unit that the first setting value is not specified for the print setting is used as the second print data , the print data written in the print setting information storage unit reading a first setting value from the print setting information storage unit;
and
moreover,
adding a second print command corresponding to the print setting including the read first setting value to the second print data in the command adding step;
in the transmitting step, transmitting the second print data to which the second print command is added to the device via the network;
program to run the
JP2018197928A 2018-03-14 2018-10-19 Information processing device, printing method, and program Active JP7183688B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/297,209 US10795622B2 (en) 2018-03-14 2019-03-08 Information processing apparatus, printing method, and computer-readable medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018047337 2018-03-14
JP2018047337 2018-03-14

Publications (2)

Publication Number Publication Date
JP2019164747A JP2019164747A (en) 2019-09-26
JP7183688B2 true JP7183688B2 (en) 2022-12-06

Family

ID=68064932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018197928A Active JP7183688B2 (en) 2018-03-14 2018-10-19 Information processing device, printing method, and program

Country Status (1)

Country Link
JP (1) JP7183688B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7524585B2 (en) 2020-04-03 2024-07-30 ブラザー工業株式会社 Program, information processing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165261A (en) 2009-01-16 2010-07-29 Canon Inc Printing control device and control method thereof
JP2013240929A (en) 2012-05-21 2013-12-05 Canon Inc Printer, method of controlling printer, and program
JP2015090667A (en) 2013-11-07 2015-05-11 キヤノン株式会社 Print control unit, data processing method of print control unit, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010165261A (en) 2009-01-16 2010-07-29 Canon Inc Printing control device and control method thereof
JP2013240929A (en) 2012-05-21 2013-12-05 Canon Inc Printer, method of controlling printer, and program
JP2015090667A (en) 2013-11-07 2015-05-11 キヤノン株式会社 Print control unit, data processing method of print control unit, and program

Also Published As

Publication number Publication date
JP2019164747A (en) 2019-09-26

Similar Documents

Publication Publication Date Title
JP5677047B2 (en) Printing system, information processing apparatus, printing method, and program
US8640148B2 (en) Information processing apparatus, information processing method and storage medium
US20140293312A1 (en) Information processing apparatus, print control program and print system
US8760680B2 (en) Data processing apparatus, method, and storage medium
US10750051B2 (en) Image forming apparatus and controlling method of printing based on selection of an object associated with user name and network domain name obtained from print data
JP6379824B2 (en) Program, information processing apparatus, screen display method, and image processing system
JP5047067B2 (en) Information processing apparatus, data output system, data generation program, and recording medium therefor
JP2012078998A (en) Print system, print method, print server, control method and program
US20090073483A1 (en) Print instruction apparatus, printing apparatus, printing system, print instruction method and computer readable medium
US20130222829A1 (en) Information processing apparatus, control method, and storage medium
JP2012174048A (en) Data processing program and data processor
US10353646B2 (en) Information processing apparatus, information processing system, and information processing method
JP7255117B2 (en) Information processing device, printing method, and program
JP7183688B2 (en) Information processing device, printing method, and program
US12086492B2 (en) Storage medium, information processing apparatus, and control method
US20230102837A1 (en) Non-transitory computer-readable medium storing support program
US10795622B2 (en) Information processing apparatus, printing method, and computer-readable medium
JP7351126B2 (en) Information processing system, server device and information processing method
JP7200632B2 (en) Printing Systems, Printers and Support Programs
JP2012054901A (en) Customization system, image formation device, information processing device and customization program
JP2014056424A (en) Printing control device, printing control method, and printing control system
JP6519942B2 (en) Image forming apparatus and program
JP2014029633A (en) Information processing device and printing system
US20240281176A1 (en) Information processing apparatus, control method of information processing apparatus, and non-transitory computer-readable storage medium
US10965838B2 (en) Image forming apparatus, method for controlling image forming apparatus, and non-transitory storage medium for restricting a function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210726

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220524

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220725

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221107

R151 Written notification of patent or utility model registration

Ref document number: 7183688

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151