JP6357957B2 - Print data transmission apparatus, program, and print data generation method - Google Patents
Print data transmission apparatus, program, and print data generation method Download PDFInfo
- Publication number
- JP6357957B2 JP6357957B2 JP2014161017A JP2014161017A JP6357957B2 JP 6357957 B2 JP6357957 B2 JP 6357957B2 JP 2014161017 A JP2014161017 A JP 2014161017A JP 2014161017 A JP2014161017 A JP 2014161017A JP 6357957 B2 JP6357957 B2 JP 6357957B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- printer driver
- data
- user
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims description 30
- 238000000034 method Methods 0.000 title claims description 21
- 238000007639 printing Methods 0.000 claims description 64
- 230000010365 information processing Effects 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000008878 coupling Effects 0.000 claims description 2
- 238000010168 coupling process Methods 0.000 claims description 2
- 238000005859 coupling reaction Methods 0.000 claims description 2
- 230000003213 activating effect Effects 0.000 claims 1
- 230000004913 activation Effects 0.000 claims 1
- 238000010017 direct printing Methods 0.000 description 26
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 4
- 238000007792 addition Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Description
本発明は、印刷装置にダイレクトプリントを行わせるための印刷データを生成するプログラム、印刷データ送信装置、印刷データ生成方法に関する。 The present invention relates to a program for generating print data for causing a printing apparatus to perform direct printing, a print data transmission apparatus, and a print data generation method.
PC(Personal Computer)端末からプリンタにデータを送信して印刷を行う場合、大別すると「プリンタドライバによる印刷」と「ダイレクトプリント」の2つの印刷方法がある。 When printing is performed by transmitting data from a PC (Personal Computer) terminal to a printer, there are roughly two printing methods: “printing by a printer driver” and “direct printing”.
プリンタドライバによる印刷では、PC端末にインストールされたプリンタドライバによって、電子文書などのファイルをプリンタが認識可能なデータ、例えばPDL(Page Description Language)データに変換してからプリンタへ送信することで印刷を実行する。 In printing using a printer driver, a printer driver installed on a PC terminal converts a file such as an electronic document into data that the printer can recognize, such as PDL (Page Description Language) data, and then sends the data to the printer. Run.
ダイレクトプリントでは、PC端末にインストールされたダイレクトプリントアプリが、PDLデータに変換することなく、直接ファイルをプリンタへ送信する。そして、プリンタは受信したファイルを解釈し印刷を実行する。ダイレクトプリントを行う場合の例として、たとえば特許文献1および特許文献2などがある。 In direct printing, a direct print application installed in a PC terminal directly transmits a file to a printer without converting it into PDL data. Then, the printer interprets the received file and executes printing. Examples of direct printing include Patent Document 1 and Patent Document 2, for example.
特許文献1には、ダイレクトプリントアプリが、ファイルの送信先のプリンタに対応するUI(User Interface)やモジュールを備えており、ダイレクトプリントを行う場合であっても、ユーザの所望する印刷条件にて印刷を実行することができる方法が記載されている(特許文献1参照)。 In Patent Document 1, the direct print application includes a UI (User Interface) and a module corresponding to a printer that is a file transmission destination. Even when direct printing is performed, the direct print application can satisfy the printing conditions desired by the user. A method capable of executing printing is described (see Patent Document 1).
特許文献1では、ダイレクトプリントに係る印刷条件の設定を行う場合、ファイルの送信先としてユーザが希望する印刷装置の機種に対応するプログラム(たとえばUI等)やモジュールを要する。すなわち、ファイルの送信先となるプリンタの機種に対応するダイレクトプリント用のプログラムやモジュール等を用意してプリンタの機種ごとに対応させなければ、ユーザの望む印刷条件でダイレクトプリントを実行することができない。 In Patent Document 1, when setting the printing conditions for direct printing, a program (for example, UI or the like) or a module corresponding to the model of the printing apparatus desired by the user as a file transmission destination is required. In other words, direct printing cannot be executed under the printing conditions desired by the user unless a program or module for direct printing corresponding to the model of the printer that is the file transmission destination is prepared for each model of printer. .
また、メーカにおいては、新規の機種のプリンタを開発する場合に、その機種に対応するUIやモジュールを含むダイレクトプリントアプリを合わせて開発しなければならず、開発コストが高くなるという問題がある。 In addition, when a manufacturer develops a new type of printer, a direct print application including a UI and a module corresponding to the model must be developed, which causes a problem that the development cost increases.
本発明は、上記の問題を解決しようとするものであり、ダイレクトプリントを実行する場合に、機種ごとに対応させることなく、異なる機種に対して印刷設定が可能な印刷データ送信装置、プログラム、印刷データ生成方法を提供することを目的としている。 The present invention is intended to solve the above-described problem. When direct printing is performed, a print data transmission device, a program, and a print that can be set for different models without corresponding to each model. It aims to provide a data generation method.
かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。 The gist of the present invention for achieving the object lies in the inventions of the following items.
[1]印刷装置に接続可能な情報処理装置にファイルを送信させるプログラムであって、
前記情報処理装置を、
前記プログラムと別体のプリンタドライバのユーザI/Fを起動させ、
前記プリンタドライバのユーザI/Fで受け付けた印刷設定の内容を示す印刷設定情報を前記プリンタドライバから取得し、
印刷対象のファイルの指定をユーザから受け付けて、該指定されたファイルを取得し、
前記プリンタドライバから取得した印刷設定情報に基づいてダミーの印刷ジョブを生成し、
前記プリンタドライバに、前記生成した印刷ジョブに対応するプリントファイルを生成させ、
前記プリントファイルからPJLデータを抽出し、
前記取得したファイルに前記PJLデータを付加して印刷装置へ送信する
ように動作させる
ことを特徴とするプログラム。
[1] A program for sending a file to an information processing apparatus connectable to a printing apparatus,
The information processing apparatus;
Start the user I / F of the printer driver separate from the program,
Print setting information indicating the contents of the print settings received by the user I / F of the printer driver is acquired from the printer driver;
Accepts the specification of the file to be printed from the user, obtains the specified file,
Generate a dummy print job based on the print setting information acquired from the printer driver,
Causing the printer driver to generate a print file corresponding to the generated print job;
Extract PJL data from the print file,
Program for causing operated to transmit Previous Symbol printing apparatus adds the PJL data to the acquired file.
上記[1]および下記[5]、[9]の発明では、当該プログラムから、当該プログラムとは別のプリンタドライバのユーザI/Fを呼び出して起動し、そのユーザI/Fにユーザから印刷設定を受け付けさせる。そして、該ユーザI/Fが受け付けた印刷設定の内容を示す印刷設定情報を取得し、印刷設定情報に基づいてダミーの印刷ジョブを生成し、プリンタドライバに該印刷ジョブに対応するプリントファイルを生成させる。そして、その生成されたプリントファイルからPJLデータを抽出し、これを印刷対象のファイルに付加して印刷装置に送信する。
既存のプリンタドライバのユーザI/Fを使用して印刷設定を受け付けるので、プリンタドライバが既に用意されている機種については、当該プログラムが自前でユーザI/Fを用意することなく、詳細な印刷設定を伴うダイレクトプリントを行うことができる。
また、印刷設定情報に対応するPJLデータをプリンタドライバに生成させるので、当該プログラムは印刷設定情報をPJLデータに変換する機能を自前で備える必要がなく、プログラムを簡略、小型にすることができる。なお、ダミーの印刷ジョブは、描画データが無い、もしくは、描画データの内容を問わない印刷ジョブでよい。
In the inventions [1] and [ 5 ] and [ 9 ] below, the program calls and activates a user I / F of a printer driver different from the program, and the user sets print settings to the user I / F. To accept. Then, print setting information indicating the contents of the print setting accepted by the user I / F is acquired, a dummy print job is generated based on the print setting information, and a print file corresponding to the print job is generated in the printer driver. Let Then, PJL data is extracted from the generated print file, added to the file to be printed, and transmitted to the printing apparatus.
Since the print settings are received using the user interface of the existing printer driver, the detailed print settings of the model for which the printer driver has already been prepared without the user preparing the user interface by itself. Can be printed directly.
Further, since the PJL data corresponding to the print setting information is generated by the printer driver, the program does not need to have a function for converting the print setting information into the PJL data, and the program can be simplified and reduced in size. Note that the dummy print job may be a print job that has no drawing data or does not matter the contents of the drawing data.
なお、プリンタドライバは、予め情報処理装置にインストールされているものでもよいし、必要に応じて外部から取得してもよいし、サーバにあるものを遠隔から使用してもよい。 The printer driver may be installed in advance in the information processing apparatus, may be acquired from the outside as necessary, or may be remotely used from a server.
[2]前記プリンタドライバの選択をユーザから受け付ける
ことを特徴とする[1]に記載のプログラム。
[2] The program according to [1], wherein selection of the printer driver is received from a user.
上記発明では、利用可能なプリンタドライバが複数ある場合、ユーザは、その中のいずれかに対応する機種のプリンタを、印刷設定を伴うダイレクトプリントの印刷先に選択することができる。 In the above invention, when there are a plurality of available printer drivers, the user can select a printer of a model corresponding to any of them as a print destination for direct printing with print settings.
[3]前記プリンタドライバは、前記情報処理装置にインストールされているプリンタドライバである
ことを特徴とする[1]または[2]に記載のプログラム。
[3] The program according to [1] or [2], wherein the printer driver is a printer driver installed in the information processing apparatus.
[4]前記ダミーの印刷ジョブは、描画データのないジョブである
ことを特徴とする[1]乃至[3]のいずれか1つに記載のプログラム。
[ 4 ] The program according to any one of [1] to [3], wherein the dummy print job is a job without drawing data.
上記発明では、プリントファイルを生成するプリンタドライバの処理負担を減らすことができる。また、生成されるプリントファイルのサイズを最小にできる。 In the above invention, it is possible to reduce the processing load on the printer driver that generates the print file. In addition, the size of the generated print file can be minimized.
[5]プリンタドライバのユーザI/Fを起動し、前記ユーザI/Fで受け付けた印刷設定の内容を示す印刷設定情報を前記プリンタドライバから取得する印刷設定情報取得部と、
印刷対象のファイルの指定をユーザから受け付けるファイル指定部と、
前記指定されたファイルを取得するファイル取得部と、
前記プリンタドライバから取得した印刷設定情報に基づいてダミーの印刷ジョブを生成し、前記プリンタドライバに、前記生成した印刷ジョブに対応するプリントファイルを生成させる疑似ファイル生成部と、
前記プリントファイルからPJLデータを抽出し、前記取得したファイルに付加する結合部と、
前記結合部によって前記PJLデータが付加された前記ファイルを印刷装置へ送信するデータ出力部と、
を有する
ことを特徴とする印刷データ送信装置。
[ 5 ] A print setting information acquisition unit that activates the user I / F of the printer driver and acquires print setting information indicating the contents of the print setting received by the user I / F from the printer driver;
A file specification section for accepting designation of a file to be printed from a user;
A file acquisition unit for acquiring the specified file;
A pseudo file generation unit that generates a dummy print job based on print setting information acquired from the printer driver, and causes the printer driver to generate a print file corresponding to the generated print job;
A coupling unit that extracts PJL data from the print file and adds the PJL data to the acquired file;
A data output unit for transmitting the file to which the PJL data has been added by the combining unit to a printing apparatus;
A print data transmitting apparatus comprising:
[6]前記プリンタドライバの選択をユーザから受け付ける選択部をさらに有する
ことを特徴とする[5]に記載の印刷データ送信装置。
[ 6 ] The print data transmitting apparatus according to [ 5 ], further including a selection unit that receives selection of the printer driver from a user.
[7]前記プリンタドライバは、当該印刷データ送信装置にインストールされているプリンタドライバである
ことを特徴とする[5]または[6]に記載の印刷データ送信装置。
[ 7 ] The print data transmission apparatus according to [ 5 ] or [ 6 ], wherein the printer driver is a printer driver installed in the print data transmission apparatus.
[8]前記ダミーの印刷ジョブは、描画データのないジョブである
ことを特徴とする[5]乃至[7]のいずれか1つに記載の印刷データ送信装置。
[ 8 ] The print data transmitting apparatus according to any one of [5] to [7], wherein the dummy print job is a job without drawing data.
[9]プリンタドライバのユーザI/Fを起動させる起動ステップと、
前記プリンタドライバのユーザI/Fで受け付けた印刷設定の内容を示す印刷設定情報を前記プリンタドライバから取得する印刷設定情報取得ステップと、
印刷対象のファイルの指定をユーザから受け付け、該指定されたファイルを取得するファイル取得ステップと、
前記プリンタドライバから取得した印刷設定情報に基づいてダミーの印刷ジョブを生成し、前記プリンタドライバに、前記生成した印刷ジョブに対応するプリントファイルを生成させ、該プリントファイルからPJLデータを抽出する変換ステップと、
前記プリントファイルからPJLデータを抽出し、前記取得したファイルに付加する結合ステップと、
前記PJLデータが付加された前記ファイルを印刷装置へ送信する送信ステップと、
を有する
ことを特徴とする印刷データ生成方法。
[ 9 ] a starting step of starting the user I / F of the printer driver;
A print setting information acquisition step for acquiring, from the printer driver, print setting information indicating the contents of the print settings received by the user I / F of the printer driver;
A file acquisition step for accepting designation of a file to be printed from a user and obtaining the designated file;
A conversion step of generating a dummy print job based on the print setting information acquired from the printer driver, causing the printer driver to generate a print file corresponding to the generated print job, and extracting PJL data from the print file When,
Extracting PJL data from the print file and adding it to the acquired file;
A transmission step of transmitting the file with the PJL data added thereto to a printing apparatus;
A print data generation method characterized by comprising:
[10]前記プリンタドライバの選択をユーザから受け付ける選択ステップをさらに有する
ことを特徴とする[9]に記載の印刷データ生成方法。
[ 10 ] The print data generation method according to [ 9 ], further including a selection step of accepting selection of the printer driver from a user.
[11]前記ダミーの印刷ジョブは、描画データのないジョブである
ことを特徴とする[9]または[10]に記載の印刷データ生成方法。
[ 11 ] The print data generation method according to [9] or [10] , wherein the dummy print job is a job without drawing data.
本発明に係る印刷データ送信装置、プログラム、印刷データ生成方法によれば、ダイレクトプリントを実行する場合に、機種ごとに対応させることなく、異なる機種に対して印刷設定を行うことができる。 According to the print data transmission device, the program, and the print data generation method according to the present invention, when direct printing is executed, print settings can be made for different models without corresponding to each model.
以下、図面に基づき本発明の実施の形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の印刷データ送信装置としての役割を果たすクライアント端末40を含む印刷システム5を示している。印刷システム5は、LAN(Local Area Network)3等のネットワークを通じて、クライアント端末40と、印刷装置(プリンタ)としての役割を果たす複数の画像形成装置10(10A、10B)が接続されて構成される。以後、画像形成装置10A、10Bを総称する、もしくは任意の1台を指す場合は、画像形成装置10(プリンタ)と記すものとする。 FIG. 1 shows a printing system 5 including a client terminal 40 that serves as a print data transmission apparatus of the present invention. The printing system 5 is configured by connecting a client terminal 40 and a plurality of image forming apparatuses 10 (10A, 10B) serving as printing apparatuses (printers) through a network such as a LAN (Local Area Network) 3. . Hereinafter, the image forming apparatuses 10 </ b> A and 10 </ b> B will be collectively referred to as “image forming apparatus 10 (printer)”.
画像形成装置10は、原稿を光学的に読み取ってその複製画像を記録紙に印刷するコピージョブ、読み取った原稿の画像データをファイルにして保存したり外部装置へ送信したりするスキャンジョブ、クライアント端末40から受信した印刷データに係る画像を記録紙に印刷して出力する印刷ジョブなどのジョブを実行する機能を備えた、所謂、複合機である。 The image forming apparatus 10 includes a copy job that optically reads a document and prints a duplicate image on a recording sheet, a scan job that stores image data of the read document as a file, and transmits the file to an external device, a client terminal This is a so-called multi-function machine having a function of executing a job such as a print job for printing an image related to print data received from 40 on a recording sheet and outputting the image.
クライアント端末40は、ディスプレイ等の表示部46(図2参照)、キーボードやマウスといった操作部47(図2参照)等を備えた、所謂、PC端末である。クライアント端末40は、ユーザから受けた操作に従って、印刷データをプリンタ(本発明の実施の形態では画像形成装置10)に送信する印刷データ送信装置としての機能を果たす。 The client terminal 40 is a so-called PC terminal including a display unit 46 (see FIG. 2) such as a display, an operation unit 47 (see FIG. 2) such as a keyboard and a mouse, and the like. The client terminal 40 functions as a print data transmission apparatus that transmits print data to a printer (the image forming apparatus 10 in the embodiment of the present invention) in accordance with an operation received from a user.
クライアント端末40は、「プリンタドライバ60(図3参照)による印刷」と「ダイレクトプリント」の双方での印刷が可能であり、いずれで印刷を行うかをユーザが選択することができる。 The client terminal 40 can perform both “printing by the printer driver 60 (see FIG. 3)” and “direct printing”, and the user can select which printing is performed.
プリンタドライバ60(図3参照)による印刷とは、所謂、一般的な印刷であり、送信先となるプリンタに対応するプリンタドライバ60のユーザI/F(Interface)で受けた印刷設定の内容に基づいて、印刷対象のファイルを、Postscript(登録商標)等のPDL(Page Description Language)で記述されたプリントデータに変換してからプリンタへ送信し、印刷するものである。 Printing by the printer driver 60 (see FIG. 3) is so-called general printing, and is based on the contents of print settings received by the user I / F (Interface) of the printer driver 60 corresponding to the printer as the transmission destination. The file to be printed is converted into print data described in PDL (Page Description Language) such as Postscript (registered trademark), and then sent to the printer for printing.
ダイレクトプリントとは、印刷対象のファイルをプリンタに送信して印刷させるものである。本実施の形態では、ユーザから各種の印刷設定を受け、その印刷設定の内容を示す情報をファイルに付加したものをプリンタに送信する。 Direct printing is to send a file to be printed to a printer for printing. In the present embodiment, various print settings are received from the user, and information indicating the contents of the print settings added to a file is transmitted to the printer.
図2は、クライアント端末40の電気的な概略構成を示している。クライアント端末40は、当該クライアント端末40の動作を制御するCPU(Central Processing Unit)41と、このCPU41に接続されたROM(Read Only Memory)42と、RAM(Random Access Memory)43と、不揮発メモリ44と、ハードディスク装置45と、表示部46と、操作部47と、ネットワークI/F部48とを備えて構成されている。 FIG. 2 shows an electrical schematic configuration of the client terminal 40. The client terminal 40 includes a CPU (Central Processing Unit) 41 that controls the operation of the client terminal 40, a ROM (Read Only Memory) 42 connected to the CPU 41, a RAM (Random Access Memory) 43, and a nonvolatile memory 44. A hard disk device 45, a display unit 46, an operation unit 47, and a network I / F unit 48.
CPU41はOSプログラムをベースとし、その上で、ミドルウェアやアプリケーションプログラムなどが実行される。ROM42には各種のプログラムが格納されており、これらのプログラムに従ってCPU41が処理を実行することで印刷データの送信などクライアント端末40の各機能が実現される。RAM43はCPU41がプログラムを実行する際に各種のデータを一時的に格納するワークメモリなどとして使用される。 The CPU 41 is based on an OS program, on which middleware and application programs are executed. Various programs are stored in the ROM 42, and each function of the client terminal 40 such as transmission of print data is realized by the CPU 41 executing processes according to these programs. The RAM 43 is used as a work memory for temporarily storing various data when the CPU 41 executes a program.
不揮発メモリ44は、電源がオフにされても記憶が保持できる書き換え可能なメモリ(フラッシュメモリ)である。不揮発メモリ44には、装置固有の情報や各種の設定情報などが記憶される。ハードディスク装置45は、大容量の不揮発の記憶装置であり、OSプログラムや各種アプリケーションプログラム、PDF(Portable Document Format)ファイル70(図3参照)などのような印刷対象となるファイル、ジョブに係る情報履歴、などが保存される。 The nonvolatile memory 44 is a rewritable memory (flash memory) that can retain memory even when the power is turned off. The nonvolatile memory 44 stores device-specific information and various setting information. The hard disk device 45 is a large-capacity nonvolatile storage device, and is an OS program, various application programs, a PDF (Portable Document Format) file 70 (see FIG. 3) and other files to be printed, information history regarding jobs , Etc. are saved.
本発明の実施の形態では、ハードディスク装置45に、「プリンタドライバ60による印刷」を行うためのプログラムであるプリンタドライバ60と、「ダイレクトプリント」を行うためのプログラムであるダイレクトプリントアプリ50(図3参照)が格納されている。なお、本発明の実施の形態ではプリンタドライバ60として、対応する機種が異なる複数種類のプリンタドライバプログラムがインストールされている。 In the embodiment of the present invention, the printer driver 60 that is a program for performing “printing by the printer driver 60” and the direct print application 50 that is a program for performing “direct printing” are stored in the hard disk device 45 (FIG. 3). Reference) is stored. In the embodiment of the present invention, a plurality of types of printer driver programs with different corresponding models are installed as the printer driver 60.
表示部46は、液晶ディスプレイ(LCD…Liquid Crystal Display)などで構成され、各種の操作、設定に係る内容を表示する機能を果たす。操作部47は、ユーザからのジョブの投入や設定の変更など、各種の操作を受け付ける機能を果たす。操作部47は、キーボードと、マウス等のポインティングデバイスによって構成される。 The display unit 46 is configured by a liquid crystal display (LCD) and the like, and fulfills a function of displaying contents related to various operations and settings. The operation unit 47 has a function of accepting various operations such as a job input from a user and a setting change. The operation unit 47 includes a keyboard and a pointing device such as a mouse.
ネットワークI/F部48は、LAN3を通じて外部の装置(画像形成装置10)と通信を行う。 The network I / F unit 48 communicates with an external apparatus (image forming apparatus 10) through the LAN 3.
本発明のダイレクトプリントアプリ50は、印刷データの送信先となるプリンタの機種に対応するプリンタドライバ60のユーザI/Fを起動し、該ユーザI/Fにユーザから印刷設定を受け付けさせ、その受け付けた印刷設定の内容(印刷条件)を示す印刷設定情報をプリンタドライバ60から取得し、該印刷設定情報を付加したファイルをプリンタに送信することで、ユーザの指示した印刷設定が反映された印刷を、プリンタに実行させる。 The direct print application 50 of the present invention activates the user I / F of the printer driver 60 corresponding to the model of the printer that is the transmission destination of the print data, causes the user I / F to accept print settings from the user, and accepts the print settings. The print setting information indicating the contents of the print settings (print conditions) is acquired from the printer driver 60, and the file to which the print setting information is added is transmitted to the printer, so that the print setting instructed by the user is reflected. , Let the printer run.
図3を参照しつつ、ダイレクトプリントアプリ50の動作をより詳細に説明する。 The operation of the direct print application 50 will be described in more detail with reference to FIG.
図3は、ダイレクトプリントアプリ50およびプリンタドライバ60の機能構成、およびダイレクトアプリ50を用いてダイレクトプリントを行う場合のデータの流れを示している。ダイレクトプリントアプリ50は、UI管理部51と、ジョブ生成部52と、ダイレクトプリント処理部53を有する。プリンタドライバ60は、UI部61と、描画部62を有する。 FIG. 3 shows a functional configuration of the direct print application 50 and the printer driver 60 and a data flow when direct printing is performed using the direct application 50. The direct print application 50 includes a UI management unit 51, a job generation unit 52, and a direct print processing unit 53. The printer driver 60 includes a UI unit 61 and a drawing unit 62.
ダイレクトプリントアプリ50は、印刷先のプリンタの選択を受け付ける。ここでは、画像形成装置10A、10Bのいずれかの指定を受ける。UI管理部51は、選択されたプリンタの機種に対応するプリンタドライバ60のユーザI/Fを、OSのライブラリを使用して、起動する(S1)。プリンタドライバ60のユーザI/Fを起動すると、各種の印刷設定をユーザから受け付けるためのユーザI/F(印刷設定画面)が表示部46に表示される。このユーザI/Fは、プリンタドライバ60を使用して印刷する場合に表示されるものと同一である。 The direct print application 50 accepts selection of a printer as a printing destination. Here, one of the image forming apparatuses 10A and 10B is designated. The UI management unit 51 activates the user I / F of the printer driver 60 corresponding to the selected printer model using the OS library (S1). When the user I / F of the printer driver 60 is activated, a user I / F (print setting screen) for receiving various print settings from the user is displayed on the display unit 46. This user I / F is the same as that displayed when printing using the printer driver 60.
プリンタドライバ60のUI部61は、表示部46に表示したユーザI/Fにて、ユーザから各種の印刷設定を受け付ける。ダイレクトプリントアプリ50のUI管理部51は、プリンタドライバ60のユーザI/Fが受け付けた印刷設定の内容(印刷条件)を示す印刷設定情報80をプリンタドライバ60のUI部61から取得する(S2)。印刷設定情報80は、DevModeやPrintTicket(図中ではDM/PTと記す)などのデータ構造で記述されている。 The UI unit 61 of the printer driver 60 receives various print settings from the user through the user I / F displayed on the display unit 46. The UI management unit 51 of the direct print application 50 acquires, from the UI unit 61 of the printer driver 60, print setting information 80 indicating the contents of the print settings (printing conditions) received by the user I / F of the printer driver 60 (S2). . The print setting information 80 is described in a data structure such as DevMode and PrintTicket (denoted as DM / PT in the figure).
次に、ジョブ生成部52が、印刷設定情報80(DM/PT)に基づいてダミーの印刷ジョブを生成する。ダミーの印刷ジョブは、印刷設定情報80が示す印刷設定の内容で印刷することを指示した印刷ジョブであって、描画データ(画像データ)が付与されていない、もしくは描画内容を問わないダミーの描画データが付与された印刷ジョブである。本発明の実施の形態では、描画データが付与されていない印刷ジョブをダミーの印刷ジョブとして生成する。ジョブ生成部52は、生成したダミーの印刷ジョブを、該印刷ジョブに基づいて印刷装置に送信する印刷データをファイル出力する指示とともに(「ファイルへ出力」を指定して)プリンタドライバ60に送信する(S3)。 Next, the job generation unit 52 generates a dummy print job based on the print setting information 80 (DM / PT). The dummy print job is a print job instructed to be printed with the contents of the print setting indicated by the print setting information 80, and is a dummy drawing to which drawing data (image data) is not given or regardless of the drawing contents. A print job with data attached. In the embodiment of the present invention, a print job to which drawing data is not assigned is generated as a dummy print job. The job generation unit 52 transmits the generated dummy print job to the printer driver 60 together with an instruction to output print data to be transmitted to the printing apparatus based on the print job as a file (specifying “output to file”). (S3).
プリンタドライバの描画部62は、ダイレクトプリントアプリ50から受けたダミーの印刷ジョブに基づいて、Prnファイル71を作成し、出力する(S4)。Prnファイル71の出力先のフォルダおよびファイル名は、ジョブ生成部52から指定されたものに従う。 The drawing unit 62 of the printer driver creates and outputs a Prn file 71 based on the dummy print job received from the direct print application 50 (S4). The output destination folder and file name of the Prn file 71 are in accordance with those specified by the job generation unit 52.
ジョブ生成部52は、プリンタドライバ60が作成したPrnファイル71が指定したフォルダに出力されたら、そのPrnファイル71から、PJL(Printer Job Language)データ81を抽出する(S5)。PJLデータ81は、印刷設定情報80(DM/PT)の形式が変換されたデータであり、変換前の印刷設定情報80(DM/PT)と同内容の印刷条件が記載されている。なお、ジョブ生成部52は、該抽出後に、抽出元のPrnファイル71を消去する。 When the Prn file 71 created by the printer driver 60 is output to the designated folder, the job generation unit 52 extracts PJL (Printer Job Language) data 81 from the Prn file 71 (S5). The PJL data 81 is data obtained by converting the format of the print setting information 80 (DM / PT), and describes the same print conditions as the print setting information 80 (DM / PT) before conversion. Note that the job generation unit 52 deletes the extraction source Prn file 71 after the extraction.
ダイレクトプリント処理部53は、印刷対象となるファイルの指定を受け付け、そのファイルを取得し、該ファイルにPJLデータ81を付加したものを、印刷先のプリンタ(ここでは、画像形成装置10A、10Bのいずれか)に送信する。ここでは、印刷対象のファイルはPDFファイル70とする。PDFファイル70はハードディスク装置45に保存されていてもよいし、外部に保存されていてもよい。ダイレクトプリント処理部53は、ユーザから指定されたPDFファイル70をその保存場所から取得する。 The direct print processing unit 53 receives designation of a file to be printed, obtains the file, adds the PJL data 81 to the file, and prints the printer (in this case, the image forming apparatuses 10A and 10B). To any). Here, the file to be printed is a PDF file 70. The PDF file 70 may be stored in the hard disk device 45 or may be stored outside. The direct print processing unit 53 acquires the PDF file 70 designated by the user from the storage location.
なお、印刷設定情報80(DM/PT)、PJLデータ81は、それぞれ、その取得時に印刷先に指定されていたプリンタに対応付けて保存しておき、次にそのプリンタが印刷先に指定されたダイレクトプリントを行う際に再利用する。具体的には、印刷設定情報80(DM/PT)の示す印刷条件をデフォルト値として表示部46にユーザI/Fを表示させたり、ユーザが前回と同じ設定で印刷することを選択した場合に、保存してあるPJLデータ81をそのままファイルに付加して送信したりする。 The print setting information 80 (DM / PT) and the PJL data 81 are stored in association with the printer designated as the print destination at the time of acquisition, and then the printer is designated as the print destination. Reuse when performing direct printing. Specifically, when the user I / F is displayed on the display unit 46 with the print condition indicated by the print setting information 80 (DM / PT) as a default value, or when the user selects to print with the same setting as the previous time. The stored PJL data 81 is added to the file as it is and transmitted.
図4は、ダイレクトプリントを行う場合に、ダイレクトプリントアプリ50が表示部46に表示する画面の一例であるプリンタ設定画面110を示す。プリンタ設定画面110に設けられたプリンタ一覧111には、送信先として登録されているプリンタの一覧が表示される。ユーザは、印刷データの送信先として、該一覧の中からいずれかのプリンタを選択する。図中では、選択されているプリンタは、プリンタ名を点線で囲んで表示している。ここでは、クライアント端末40にプリンタドライバ60がインストールされているプリンタがプリンタ一覧111に表示される。 FIG. 4 shows a printer setting screen 110 that is an example of a screen that the direct print application 50 displays on the display unit 46 when direct printing is performed. A printer list 111 provided on the printer setting screen 110 displays a list of printers registered as transmission destinations. The user selects one of the printers from the list as the transmission destination of the print data. In the figure, the selected printer displays the printer name surrounded by a dotted line. Here, a printer in which the printer driver 60 is installed in the client terminal 40 is displayed in the printer list 111.
プリンタ追加釦112は、新たなプリンタをプリンタ一覧111に登録するための釦である。プリンタ編集釦113は、プリンタ一覧111に登録されているプリンタに係る情報を編集するための釦である。 The printer addition button 112 is a button for registering a new printer in the printer list 111. The printer edit button 113 is a button for editing information related to a printer registered in the printer list 111.
印刷条件設定釦114は、印刷設定を行う画面に遷移するための釦である。印刷条件設定釦114が選択されたら、選択されているプリンタに対応するプリンタドライバ60のユーザI/Fが起動され、その画面が表示部46に表示される。 The print condition setting button 114 is a button for transitioning to a screen for performing print settings. When the print condition setting button 114 is selected, the user I / F of the printer driver 60 corresponding to the selected printer is activated, and the screen is displayed on the display unit 46.
ファイル選択釦115は、印刷対象のファイルを選択する画面に遷移するための釦である。 The file selection button 115 is a button for making a transition to a screen for selecting a file to be printed.
印刷条件詳細欄116には、選択されているプリンタについて、設定されている印刷条件(新たな設定条件が設定されるまでは、該プリンタに対する前回の印刷で使用された印刷条件)が表示される。印刷条件は、PJLデータ81や印刷設定情報80(DM/PT)に基づいて表示される。 The print condition details field 116 displays the print conditions that have been set for the selected printer (the print conditions that were used in the previous printing for the printer until a new setting condition was set). . The print condition is displayed based on the PJL data 81 and the print setting information 80 (DM / PT).
図5は、印刷条件設定釦114が選択された場合に表示部46に表示されるユーザI/Fの一例である印刷条件設定画面100を示す。該印刷条件設定画面100は、プリンタドライバ60が有するユーザI/Fであり、ダイレクトプリントアプリ50はこれをOSのライブラリを使用して起動している。ユーザは、プリンタドライバ60のユーザI/Fである印刷条件設定画面100にて印刷設定を行う。 FIG. 5 shows a printing condition setting screen 100 as an example of a user I / F displayed on the display unit 46 when the printing condition setting button 114 is selected. The print condition setting screen 100 is a user I / F included in the printer driver 60, and the direct print application 50 is activated using an OS library. The user performs print settings on the print condition setting screen 100 which is the user I / F of the printer driver 60.
プリンタドライバ60は、OK釦101が選択されたら、印刷条件の設定を確定し、印刷条件設定画面100を閉じる。キャンセル釦102が選択されたら設定中の印刷条件を無効として印刷条件設定画面100を閉じる。 When the OK button 101 is selected, the printer driver 60 determines the print condition setting and closes the print condition setting screen 100. When the cancel button 102 is selected, the print condition being set is invalidated and the print condition setting screen 100 is closed.
図6は、印刷設定情報80であるPrint Ticketのデータ構造の一例を示す。 FIG. 6 shows an example of the data structure of the Print Ticket that is the print setting information 80.
図7は、Prnファイル71の例を示す。Prnファイル71は、PJLデータ81と画像情報82(描画データ)で構成される。図7では、Prnファイル71の元となったダミーの印刷ジョブは描画データのないジョブなので、画像情報82の領域には描画データを示す情報はない。 FIG. 7 shows an example of the Prn file 71. The Prn file 71 includes PJL data 81 and image information 82 (drawing data). In FIG. 7, the dummy print job that is the basis of the Prn file 71 is a job without drawing data, and therefore there is no information indicating drawing data in the area of the image information 82.
図8は、図7のPrnファイル71から抽出されたPJLデータ81を示す。 FIG. 8 shows PJL data 81 extracted from the Prn file 71 of FIG.
図9は、ダイレクトプリントアプリ50が生成してプリンタへ送信する印刷データ(送信用データ90)の一例を示す。送信用データ90は印刷対象となるファイルであるPDFファイル70に、図3のS5で抽出したPJLデータ81を付加したものである。図中では、送信用データ90の上部(ヘッダ部分)がPJLデータ81であり、その下方にPDFファイル70がつながっている。 FIG. 9 shows an example of print data (transmission data 90) generated by the direct print application 50 and transmitted to the printer. The transmission data 90 is obtained by adding the PJL data 81 extracted in S5 of FIG. 3 to the PDF file 70 that is a file to be printed. In the figure, the upper part (header part) of the transmission data 90 is PJL data 81, and the PDF file 70 is connected to the lower part thereof.
図10は、クライアント端末40のダイレクトプリントアプリ50が行う処理の詳細を示すフローチャートである。CPU41は、ROM42に記憶されたプログラムを実行することにより、図10に示す処理を実現する。クライアント端末40は、初めに、ユーザから、印刷データの送信先のプリンタの選択を受け付ける(ステップS101)。具体的には、図4のプリンタ設定画面110にて、プリンタ一覧111に表示されているプリンタの中からいずれか1つの選択を受ける。 FIG. 10 is a flowchart showing details of processing performed by the direct print application 50 of the client terminal 40. The CPU 41 implements the process shown in FIG. 10 by executing a program stored in the ROM 42. First, the client terminal 40 accepts selection of a printer to which print data is to be transmitted from the user (step S101). Specifically, one of the printers displayed in the printer list 111 is selected on the printer setting screen 110 in FIG.
プリンタ設定画面110にて印刷条件設定釦114が選択された場合、すなわち、ユーザが印刷条件の設定を行う場合は(ステップS102;Yes)、保存されている印刷設定情報80(DM/PT)の中に、ステップS101で選択されたプリンタに対応するものがあるか否かを調べる(ステップS103)。 When the print condition setting button 114 is selected on the printer setting screen 110, that is, when the user sets the print condition (step S102; Yes), the stored print setting information 80 (DM / PT) is stored. It is checked whether there is a printer corresponding to the printer selected in step S101 (step S103).
選択されているプリンタに対応する印刷設定情報80(DM/PT)が保存されている場合は(ステップS103;Yes)、その印刷設定情報80(DM/PT)を引数にして、選択されているプリンタに対応するプリンタドライバ60のユーザI/Fを起動して(ステップS104)、ステップS106進む。 If the print setting information 80 (DM / PT) corresponding to the selected printer is stored (step S103; Yes), the print setting information 80 (DM / PT) is selected as an argument. The user I / F of the printer driver 60 corresponding to the printer is activated (step S104), and the process proceeds to step S106.
ステップS105でプリンタドライバ60のユーザI/Fを起動すると、該プリンタドライバのユーザI/F画面が、引数で渡した印刷設定情報80(DM/PT)の示す印刷条件が設定された状態で、表示部46に表示される。ユーザはこのユーザI/F画面を使用して各種の印刷条件の設定を行う。選択されているプリンタで前回ダイレクトプリントを実行した時と同じ印刷条件が初期設定された状態でプリンタドライバ60のユーザI/F画面が表示されるので、ユーザは必要な箇所だけ変更すれば済み、利便性が向上する。 When the user I / F of the printer driver 60 is activated in step S105, the user interface screen of the printer driver 60 is in a state where the printing conditions indicated by the print setting information 80 (DM / PT) passed as an argument are set. It is displayed on the display unit 46. The user uses this user I / F screen to set various printing conditions. Since the user I / F screen of the printer driver 60 is displayed with the same print conditions as when the direct print was previously executed on the selected printer being initialized, the user only has to change the necessary part. Convenience is improved.
選択されているプリンタに対応する印刷設定情報80(DM/PT)がない場合は(ステップS103;No)、選択されているプリンタに対応するプリンタドライバ60のユーザI/Fを引数なしで起動して(ステップS105)、ステップS106進む。これにより、選択されているプリンタに対応するプリンタドライバ60のユーザI/F画面がデフォルトの状態で表示部46に表示される(ステップS105)。ユーザはこのユーザI/F画面を使用して必要な印刷条件の設定を一から行う。 If there is no print setting information 80 (DM / PT) corresponding to the selected printer (step S103; No), the user I / F of the printer driver 60 corresponding to the selected printer is started without an argument. (Step S105), the process proceeds to step S106. As a result, the user I / F screen of the printer driver 60 corresponding to the selected printer is displayed on the display unit 46 in a default state (step S105). The user uses the user I / F screen to set necessary printing conditions from scratch.
プリンタドライバ60のユーザI/F画面で設定を受け付けたら、具体的には図5の印刷条件設定画面100にてOK釦101が選択されたら、ダイレクトプリントアプリ50は、その確定した印刷条件を示す印刷設定情報80(DM/PT)をOSのライブラリを使用して取得し、該取得した印刷設定情報80(DM/PT)を選択中のプリンタに対応付けて保存する(ステップS106)。選択中のプリンタに対応する前回の印刷設定情報80(DM/PT)が存在する場合は、その印刷設定情報80(DM/PT)に新たな印刷設定情報80(DM/PT)を上書き保存する。 When the setting is accepted on the user I / F screen of the printer driver 60, specifically, when the OK button 101 is selected on the printing condition setting screen 100 in FIG. 5, the direct print application 50 indicates the determined printing condition. The print setting information 80 (DM / PT) is acquired using the OS library, and the acquired print setting information 80 (DM / PT) is stored in association with the selected printer (step S106). If the previous print setting information 80 (DM / PT) corresponding to the selected printer exists, the new print setting information 80 (DM / PT) is overwritten and saved in the print setting information 80 (DM / PT). .
次に、ステップS106で取得した印刷設定情報80(DM/PT)を引数にして、ダミーの印刷ジョブを作成し、該ジョブを「ファイルへ出力」を指定してプリンタドライバ60に送信する。これによりプリンタドライバ60は、該ダミーの印刷ジョブに対応するPrnファイル71を生成し、指定された場所に保存する(ステップS107)。 Next, a dummy print job is created using the print setting information 80 (DM / PT) acquired in step S106 as an argument, and the job is transmitted to the printer driver 60 by designating “output to file”. As a result, the printer driver 60 generates a Prn file 71 corresponding to the dummy print job and stores it in the designated location (step S107).
ダイレクトプリントアプリ50は、そのPrnファイル71を読み出し、該Prnファイル71から、PJLデータ81を抽出し、これを選択中のプリンタに対応付けて保存する(ステップS108)。選択中のプリンタに対応する前回のPJLデータ81が存在する場合は、そのPJLデータ81に新たなPJLデータ81を上書き保存する。 The direct print application 50 reads the Prn file 71, extracts PJL data 81 from the Prn file 71, and stores it in association with the selected printer (step S108). If the previous PJL data 81 corresponding to the selected printer exists, the new PJL data 81 is overwritten and saved on the PJL data 81.
PJLデータ81を保存したら、これに対応する印刷条件が印刷条件詳細欄116に表示される。ユーザは、印刷条件設定釦114を選択することで、再度、印刷条件を設定し直すこともできる。 When the PJL data 81 is stored, the corresponding printing conditions are displayed in the printing condition details column 116. The user can set the printing conditions again by selecting the printing condition setting button 114.
次に、印刷に使用するファイルの選択(PDFファイル70)を受ける(ステップS109)。印刷に使用するファイルの選択を受けたら、ダイレクトプリントアプリ50はそのファイルの実体を取得する。そして、ステップS108で保存したPJLデータ81を該ファイルに付加し、これを選択されたプリンタに送信して(ステップS110)、本処理を終了する。 Next, selection of a file to be used for printing (PDF file 70) is received (step S109). When receiving a selection of a file to be used for printing, the direct print application 50 acquires the substance of the file. Then, the PJL data 81 saved in step S108 is added to the file, and this is transmitted to the selected printer (step S110), and this process is terminated.
なお、ステップS101にて選択されたプリンタに対応するPJLデータ81が既に保存されている場合、該PJLデータ81が示す印刷条件と同じ印刷条件で印刷するならば、印刷条件の設定操作を受けることなく、そのPJLデータ81を再利用してダイレクトプリントを行うことができる。 If PJL data 81 corresponding to the printer selected in step S101 has already been saved, if printing is performed under the same printing conditions as indicated by the PJL data 81, a print condition setting operation is received. Instead, the PJL data 81 can be reused to perform direct printing.
ステップS101にてプリンタを選択したとき、そのプリンタに対応するPJLデータ81が既に保存されていたら、対応する印刷条件が印刷条件詳細欄116に表示される。ユーザはこの表示を見て印刷条件を変更するか否かを判断し、変更不要であれば、印刷条件の設定をスキップすることができる。 When the printer is selected in step S101, if the PJL data 81 corresponding to the printer has already been saved, the corresponding print condition is displayed in the print condition detail column 116. The user determines whether or not to change the printing condition by looking at this display, and if the change is unnecessary, the setting of the printing condition can be skipped.
具体的には、プリンタを選択した後、印刷条件設定釦114を押下せずに、ファイル選択釦115を押下する。ダイレクトプリントアプリ50はこの操作をユーザから受けたら、すなわち、新たに印刷条件の設定を行わず、印刷条件詳細欄116に表示されている印刷条件でダイレクトプリントを実行する場合は(ステップS102;No)、ステップS109に進む。 Specifically, after selecting the printer, the file selection button 115 is pressed without pressing the print condition setting button 114. When the direct print application 50 receives this operation from the user, that is, when new printing conditions are not set and direct printing is executed under the printing conditions displayed in the printing condition detail field 116 (step S102; No) ), The process proceeds to step S109.
そして、ステップS109で印刷対象のファイル(PDFファイル70)の選択を受けたら、そのファイルを取得すると共に、ステップS101で選択されたプリンタに対応するPJLデータ81を保存先から読み出し取得する。そして、該PJLデータ81を該ファイルに付加したものを選択中のプリンタに送信して(ステップS110)、本処理を終了する。一度ダイレクトプリントを実行したプリンタで、再度ダイレクトプリントを実行する場合、再度設定を受けなくとも前回と同様の印刷条件でダイレクトプリントを実行することができるのでユーザの利便性が高くなる。 When a file to be printed (PDF file 70) is selected in step S109, the file is acquired and PJL data 81 corresponding to the printer selected in step S101 is read from the storage destination and acquired. Then, the PJL data 81 added to the file is transmitted to the selected printer (step S110), and this process is terminated. When direct printing is performed again with a printer that has already performed direct printing, direct printing can be performed under the same printing conditions as before without receiving the setting again, which increases user convenience.
なお、ステップS101にてプリンタの選択を受けた場合に、そのプリンタに対応するPJLデータ81が無い場合、すなわち、該プリンタで初めてダイレクトプリントを実行する場合は、新たな印刷条件の設定を強制し、PJLデータ81を作成させる。具体的には、たとえば、新たな印刷条件が設定されるまでは、ファイル選択釦115を選択できないようにする。 When a printer is selected in step S101, if there is no PJL data 81 corresponding to the printer, that is, if direct printing is performed for the first time with the printer, setting of new printing conditions is forced. , PJL data 81 is created. Specifically, for example, the file selection button 115 cannot be selected until a new printing condition is set.
このように、ダイレクトプリントアプリ50は、プリンタドライバ60のユーザI/Fを使用して印刷条件の設定を受け付けるので、印刷設定を受けるためのユーザI/Fに関して、機種対応する必要がない。すなわち、送信先となるプリンタの機種に対応するダイレクトプリント用のプログラムやモジュール等を用意してプリンタの機種ごとに対応させなくても、ユーザの望む印刷条件でダイレクトプリントを実行することができる。 As described above, since the direct print application 50 receives the setting of the printing condition using the user I / F of the printer driver 60, the user I / F for receiving the printing setting does not need to correspond to the model. That is, it is possible to execute direct printing under printing conditions desired by the user without preparing a program or module for direct printing corresponding to the printer model as a transmission destination and making it correspond to each printer model.
メーカにおいては、プリンタの機種別にダイレクトプリントアプリ50を開発する必要がなく、開発工数が軽減される。また、ユーザにおいては、機種別にダイレクトプリントアプリ50をインストールしなくて済むため利便性が向上する。 The manufacturer does not need to develop the direct print application 50 for each printer model, and the development man-hour is reduced. Further, since the user does not have to install the direct print application 50 for each model, convenience is improved.
さらに、印刷設定情報80(DM/PT)からPJLデータ81を生成する処理についても、プリントドライバ60に行わせるので、ダイレクトプリントアプリ50は印刷設定情報をPJLデータ81に変換する機能を自前で備える必要がなく、プログラムを簡略、小型にすることができる。特に、描画データのないダミーの印刷ジョブをプリンタドライバ60に投げてPrnファイル71を生成させる場合は、Prnファイル71を生成するプリンタドライバ60の処理負担を減らすことができる。また、生成されるPrnファイル71のサイズを最小にできる。 Furthermore, since the print driver 60 also performs processing for generating the PJL data 81 from the print setting information 80 (DM / PT), the direct print application 50 has a function of converting the print setting information into the PJL data 81 by itself. There is no need, and the program can be simplified and miniaturized. In particular, when a dummy print job without drawing data is thrown to the printer driver 60 to generate the Prn file 71, the processing load on the printer driver 60 that generates the Prn file 71 can be reduced. Further, the size of the generated Prn file 71 can be minimized.
以上、本発明の実施の形態を図面によって説明してきたが、具体的な構成は実施の形態に示したものに限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。 The embodiment of the present invention has been described with reference to the drawings. However, the specific configuration is not limited to that shown in the embodiment, and there are changes and additions within the scope of the present invention. Are also included in the present invention.
実施の形態では画像形成装置10は2台であったが、プリンタの数はこれに限らない。1台でもよいし、3台以上でもよい。1台の場合であっても、ダイレクトプリントアプリ50はその機種専用である必要がないので、機種を問わずに利用することができる。 In the embodiment, there are two image forming apparatuses 10, but the number of printers is not limited to this. One may be sufficient and three or more may be sufficient. Even in the case of a single printer, the direct print application 50 does not need to be dedicated to the model, and can be used regardless of the model.
本発明の実施の形態では、印刷データ送信装置としての役割を果たすクライアント端末40はPC端末であったが、印刷データ送信装置はPC端末に限らず、他の装置であってもよい。たとえば、スマートフォンなどであってもよい。また、本発明は、情報処理装置を印刷データ送信装置として動作させるプログラムや、印刷データ生成方法であってもよい。 In the embodiment of the present invention, the client terminal 40 serving as a print data transmission device is a PC terminal. However, the print data transmission device is not limited to a PC terminal, and may be another device. For example, it may be a smartphone. The present invention may also be a program for causing an information processing apparatus to operate as a print data transmission apparatus, or a print data generation method.
本発明の実施の形態では、プリンタドライバ60は、クライアント端末40にインストールされていたが、必要に応じて外部から取得してもよい。 In the embodiment of the present invention, the printer driver 60 is installed in the client terminal 40, but may be acquired from the outside as necessary.
実施の形態では、ダミーの印刷ジョブを生成し、PJLデータ81の生成をプリントドライバ60に行わせたが、ダイレクトプリントアプリ50が自前のプログラムで印刷設定情報80(DM/PT)からPJLデータ81を生成するように構成されてもよい。 In the embodiment, a dummy print job is generated and the PJL data 81 is generated by the print driver 60. However, the direct print application 50 uses the PJL data 81 from the print setting information 80 (DM / PT) with its own program. May be configured to generate.
3…LAN
5…印刷システム
10(10A、10B)…画像形成装置
40…クライアント端末
41…CPU
42…ROM
43…RAM
44…不揮発メモリ
45…ハードディスク装置
46…表示部
47…操作部
48…ネットワークI/F部
50…ダイレクトプリントアプリ
51…UI管理部
52…ジョブ生成部
53…ダイレクトプリント処理部
60…プリンタドライバ
61…UI部
62…描画部
70…PDFファイル
71…Prnファイル
80…印刷設定情報(DM/PT)
81…PJLデータ
82…画像情報
90…送信用データ
100…印刷条件設定画面
101…OK釦
102…キャンセル釦
110…プリンタ設定画面
111…プリンタ一覧
112…プリンタ追加釦
113…プリンタ編集釦
114…印刷条件設定釦
115…ファイル選択釦
116…印刷条件詳細欄
3 ... LAN
5 ... Printing system 10 (10A, 10B) ... Image forming apparatus 40 ... Client terminal 41 ... CPU
42 ... ROM
43 ... RAM
44 ... Non-volatile memory 45 ... Hard disk device 46 ... Display unit 47 ... Operation unit 48 ... Network I / F unit 50 ... Direct print application 51 ... UI management unit 52 ... Job generation unit 53 ... Direct print processing unit 60 ... Printer driver 61 ... UI unit 62 ... drawing unit 70 ... PDF file 71 ... Prn file 80 ... print setting information (DM / PT)
81 ... PJL data 82 ... Image information 90 ... Transmission data 100 ... Print condition setting screen 101 ... OK button 102 ... Cancel button 110 ... Printer setting screen 111 ... Printer list 112 ... Printer add button 113 ... Printer edit button 114 ... Print conditions Setting button 115 ... File selection button 116 ... Print condition details column
Claims (11)
前記情報処理装置を、
前記プログラムと別体のプリンタドライバのユーザI/Fを起動させ、
前記プリンタドライバのユーザI/Fで受け付けた印刷設定の内容を示す印刷設定情報を前記プリンタドライバから取得し、
印刷対象のファイルの指定をユーザから受け付けて、該指定されたファイルを取得し、
前記プリンタドライバから取得した印刷設定情報に基づいてダミーの印刷ジョブを生成し、
前記プリンタドライバに、前記生成した印刷ジョブに対応するプリントファイルを生成させ、
前記プリントファイルからPJLデータを抽出し、
前記取得したファイルに前記PJLデータを付加して印刷装置へ送信する
ように動作させる
ことを特徴とするプログラム。 A program for sending a file to an information processing device connectable to a printing device,
The information processing apparatus;
Start the user I / F of the printer driver separate from the program,
Print setting information indicating the contents of the print settings received by the user I / F of the printer driver is acquired from the printer driver;
Accepts the specification of the file to be printed from the user, obtains the specified file,
Generate a dummy print job based on the print setting information acquired from the printer driver,
Causing the printer driver to generate a print file corresponding to the generated print job;
Extract PJL data from the print file,
Program for causing operated to transmit Previous Symbol printing apparatus adds the PJL data to the acquired file.
ことを特徴とする請求項1に記載のプログラム。 The program according to claim 1, wherein selection of the printer driver is received from a user.
ことを特徴とする請求項1または2に記載のプログラム。 The program according to claim 1, wherein the printer driver is a printer driver installed in the information processing apparatus.
ことを特徴とする請求項1乃至3のいずれか1つに記載のプログラム。 The program according to any one of claims 1 to 3, wherein the dummy print job is a job without drawing data.
印刷対象のファイルの指定をユーザから受け付けるファイル指定部と、
前記指定されたファイルを取得するファイル取得部と、
前記プリンタドライバから取得した印刷設定情報に基づいてダミーの印刷ジョブを生成し、前記プリンタドライバに、前記生成した印刷ジョブに対応するプリントファイルを生成させる疑似ファイル生成部と、
前記プリントファイルからPJLデータを抽出し、前記取得したファイルに付加する結合部と、
前記結合部によって前記PJLデータが付加された前記ファイルを印刷装置へ送信するデータ出力部と、
を有する
ことを特徴とする印刷データ送信装置。 A print setting information acquisition unit that activates a user I / F of the printer driver and acquires print setting information indicating the contents of the print setting received by the user I / F from the printer driver;
A file specification section for accepting designation of a file to be printed from a user;
A file acquisition unit for acquiring the specified file;
A pseudo file generation unit that generates a dummy print job based on print setting information acquired from the printer driver, and causes the printer driver to generate a print file corresponding to the generated print job;
A coupling unit that extracts PJL data from the print file and adds the PJL data to the acquired file;
A data output unit for transmitting the file to which the PJL data has been added by the combining unit to a printing apparatus;
A print data transmitting apparatus comprising:
ことを特徴とする請求項5に記載の印刷データ送信装置。 The print data transmission apparatus according to claim 5 , further comprising a selection unit that receives a selection of the printer driver from a user.
ことを特徴とする請求項5または6に記載の印刷データ送信装置。 The print data transmission apparatus according to claim 5 or 6 , wherein the printer driver is a printer driver installed in the print data transmission apparatus.
ことを特徴とする請求項5乃至7のいずれか1つに記載の印刷データ送信装置。 The print data transmission apparatus according to claim 5 , wherein the dummy print job is a job without drawing data.
前記プリンタドライバのユーザI/Fで受け付けた印刷設定の内容を示す印刷設定情報を前記プリンタドライバから取得する印刷設定情報取得ステップと、
印刷対象のファイルの指定をユーザから受け付け、該指定されたファイルを取得するファイル取得ステップと、
前記プリンタドライバから取得した印刷設定情報に基づいてダミーの印刷ジョブを生成し、前記プリンタドライバに、前記生成した印刷ジョブに対応するプリントファイルを生成させ、該プリントファイルからPJLデータを抽出する変換ステップと、
前記プリントファイルからPJLデータを抽出し、前記取得したファイルに付加する結合ステップと、
前記PJLデータが付加された前記ファイルを印刷装置へ送信する送信ステップと、
を有する
ことを特徴とする印刷データ生成方法。 An activation step for activating the user I / F of the printer driver;
A print setting information acquisition step for acquiring, from the printer driver, print setting information indicating the contents of the print settings received by the user I / F of the printer driver;
A file acquisition step for accepting designation of a file to be printed from a user and obtaining the designated file;
A conversion step of generating a dummy print job based on the print setting information acquired from the printer driver, causing the printer driver to generate a print file corresponding to the generated print job, and extracting PJL data from the print file When,
Extracting PJL data from the print file and adding it to the acquired file;
A transmission step of transmitting the file with the PJL data added thereto to a printing apparatus;
A print data generation method characterized by comprising:
ことを特徴とする請求項9に記載の印刷データ生成方法。 The print data generation method according to claim 9 , further comprising a selection step of accepting selection of the printer driver from a user.
ことを特徴とする請求項9または10に記載の印刷データ生成方法。 The print data generation method according to claim 9 or 10 , wherein the dummy print job is a job without drawing data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014161017A JP6357957B2 (en) | 2014-08-07 | 2014-08-07 | Print data transmission apparatus, program, and print data generation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014161017A JP6357957B2 (en) | 2014-08-07 | 2014-08-07 | Print data transmission apparatus, program, and print data generation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2016038691A JP2016038691A (en) | 2016-03-22 |
JP6357957B2 true JP6357957B2 (en) | 2018-07-18 |
Family
ID=55529725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014161017A Expired - Fee Related JP6357957B2 (en) | 2014-08-07 | 2014-08-07 | Print data transmission apparatus, program, and print data generation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6357957B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7147286B2 (en) * | 2018-06-20 | 2022-10-05 | コニカミノルタ株式会社 | Information processing device, print data creation method and program |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4055745B2 (en) * | 2004-06-17 | 2008-03-05 | コニカミノルタビジネステクノロジーズ株式会社 | Apparatus, method and program for image processing, and apparatus, method and program for file creation |
KR20080066226A (en) * | 2007-01-11 | 2008-07-16 | 삼성전자주식회사 | Image forming apparatus, host apparatus connected thereto and direct printing control method of host apparatus |
JP4483970B2 (en) * | 2008-04-03 | 2010-06-16 | 村田機械株式会社 | Print control apparatus and print control program |
JP2009258966A (en) * | 2008-04-16 | 2009-11-05 | Canon Inc | Display controller and display control method |
JP2010266995A (en) * | 2009-05-13 | 2010-11-25 | Seiko Epson Corp | Printing apparatus and image processing system |
JP5700938B2 (en) * | 2010-02-17 | 2015-04-15 | キヤノン株式会社 | Information processing apparatus, information processing method, and program |
JP2012137927A (en) * | 2010-12-27 | 2012-07-19 | Ricoh Co Ltd | Information processing apparatus, program and storage medium |
JP5924992B2 (en) * | 2012-03-09 | 2016-05-25 | キヤノン株式会社 | Information processing apparatus, information processing method and program |
JP2014120051A (en) * | 2012-12-18 | 2014-06-30 | Canon Inc | Information processing device, program, and control method |
-
2014
- 2014-08-07 JP JP2014161017A patent/JP6357957B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2016038691A (en) | 2016-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7480375B2 (en) | Information processing device, control method, and program | |
JP7086754B2 (en) | Information processing equipment, control method of information processing equipment, and computer program | |
JP5677047B2 (en) | Printing system, information processing apparatus, printing method, and program | |
JP4565505B2 (en) | PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM | |
EP2629192A2 (en) | Information processing apparatus, information processing method, and program | |
US8605316B2 (en) | Information processing apparatus and control method thereof, and storage medium | |
US9830544B2 (en) | Image processing apparatus, control method, and storage medium for executing print processing using a password including selecting a personal identification code type that indicates a purpose for using the password | |
CN111251732B (en) | Control method and storage medium | |
US20250013409A1 (en) | Information processing apparatus, method for controlling information processing apparatus, and storage medium | |
JP2009163711A (en) | Information processing apparatus, control method for information processing apparatus, program, and recording medium | |
KR20110026721A (en) | Print control device, image forming device and print control method | |
US8683330B2 (en) | Processing print data using a user interface before transmitting the print data to a printer | |
US9552332B2 (en) | Information processing apparatus having improved preview function | |
JP6357957B2 (en) | Print data transmission apparatus, program, and print data generation method | |
JP2011054013A (en) | Information processing apparatus, program, and computer readable recording medium | |
JP7328405B2 (en) | Information processing apparatus, information processing apparatus control method, and print setting application | |
JP5042926B2 (en) | Print setting device, program, and recording medium | |
US20240256199A1 (en) | Information processing apparatus capable of implementing mixed-sheet printing in which predetermined print setting is different among pages, control method for information processing apparatus, and storage medium | |
JP7585823B2 (en) | Support Programs | |
KR101046581B1 (en) | Image processing apparatus and image processing method for easy setting of printing conditions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170718 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180221 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180306 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180420 |
|
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: 20180522 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180604 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6357957 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |