[go: up one dir, main page]

JP6163853B2 - Program and data conversion method - Google Patents

Program and data conversion method Download PDF

Info

Publication number
JP6163853B2
JP6163853B2 JP2013095464A JP2013095464A JP6163853B2 JP 6163853 B2 JP6163853 B2 JP 6163853B2 JP 2013095464 A JP2013095464 A JP 2013095464A JP 2013095464 A JP2013095464 A JP 2013095464A JP 6163853 B2 JP6163853 B2 JP 6163853B2
Authority
JP
Japan
Prior art keywords
work instruction
instruction data
setting
job ticket
settings
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
Application number
JP2013095464A
Other languages
Japanese (ja)
Other versions
JP2014215958A (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 JP2013095464A priority Critical patent/JP6163853B2/en
Publication of JP2014215958A publication Critical patent/JP2014215958A/en
Application granted granted Critical
Publication of JP6163853B2 publication Critical patent/JP6163853B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Engineering & Computer Science (AREA)
  • Stored Programmes (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Description

本発明は、プログラム及びデータ変換方法に関する。   The present invention relates to a program and a data conversion method.

全体の作業効率を向上し、作業コストを低減する目的で、異なる機能の複数の印刷システム間において、印刷ジョブの送受信や変換を自動的に行う印刷ジョブ変換方法は従来から知られている(例えば特許文献1参照)。   For the purpose of improving the overall work efficiency and reducing the work cost, a print job conversion method for automatically transmitting / receiving and converting a print job between a plurality of printing systems having different functions is conventionally known (for example, Patent Document 1).

ジョブチケットなどの作業指示データを用いるプログラムは、作業指示データを用いて他のプログラムと連携することができる。しかし、作業指示データを用いるプログラムは作業指示データで利用可能な設定が他のプログラムと異なる場合があった。また、作業指示データを用いるプログラムは、バージョンアップ時など、作業指示データで利用可能な設定が変更される場合があった。   A program using work instruction data such as a job ticket can be linked with other programs using the work instruction data. However, a program that uses work instruction data may have different settings that can be used in the work instruction data from other programs. In addition, a program that uses work instruction data may change settings that can be used in the work instruction data, such as when upgrading.

このように、作業指示データを用いるプログラムは他のプログラムと連携しようとする場合に、作業指示データで利用可能な設定の管理が容易でなかった。   As described above, when a program using work instruction data is to be linked with another program, it is not easy to manage settings that can be used in the work instruction data.

本発明の一実施形態は上記の点に鑑みなされたもので、作業指示データで利用可能な設定の変更に、容易に対応することができるプログラム及びデータ変換方法を提供することを目的とする。   An embodiment of the present invention has been made in view of the above points, and an object thereof is to provide a program and a data conversion method that can easily cope with a change in settings that can be used in work instruction data.

上記目的を達成するため、本願請求項1は、コンピュータを、複数のプログラム間で処理を連携させる第1の作業指示データの設定の使用条件を記述した設定情報から前記第1の作業指示データの送信先のプログラムにおいて利用可能な設定候補を取得する第1の設定候補取得手段、前記第1の作業指示データとデータ形式が異なる第2の作業指示データから全ての設定を取得する第1の設定取得手段、前記第2の作業指示データから取得した設定のうち、前記第1の作業指示データの送信先のプログラムにおいて利用可能な設定候補に含まれている設定を、前記第1の作業指示データの設定とし、前記第1の作業指示データを生成する第1の作業指示データ生成手段、前記第1の作業指示データから全ての設定を取得する第2の設定取得手段、前記設定情報から前記第2の作業指示データの受信元のプログラムにおいて利用可能な設定候補を取得する第2の設定候補取得手段、前記第1の作業指示データから取得した設定のうち、前記第2の作業指示データの受信元のプログラムにおいて利用可能な設定候補に含まれている設定を、前記第2の作業指示データの設定とし、前記第2の作業指示データを生成する第2の作業指示データ生成手段として機能させるためのプログラムであることを特徴とする。 In order to achieve the above object, claim 1 of the present application claims that the first work instruction data of the first work instruction data is obtained from setting information that describes use conditions for setting the first work instruction data that causes a computer to coordinate processing among a plurality of programs. First setting candidate acquisition means for acquiring setting candidates that can be used in a transmission destination program; first setting for acquiring all settings from second work instruction data having a data format different from that of the first work instruction data Of the settings acquired from the acquisition means, the second work instruction data, the settings included in the setting candidates that can be used in the transmission destination program of the first work instruction data are the first work instruction data. set between the first first work instruction data generating means for generating a work order data, the second setting acquisition hand to get all the settings from the first work instruction data , Second setting candidate acquisition means for acquiring setting candidates usable in the program that is the source of the second work instruction data from the setting information, and among the settings acquired from the first work instruction data, the first The second work instruction for generating the second work instruction data is set as the setting of the second work instruction data as a setting included in the setting candidates that can be used in the second work instruction data receiving source program. It is a program for functioning as data generation means .

本発明の一実施形態によれば、作業指示データで利用可能な設定の変更に、容易に対応することができる。   According to one embodiment of the present invention, it is possible to easily cope with a change in settings available in work instruction data.

本実施形態に係るコンピュータシステムの一例のハードウェア構成図である。It is a hardware block diagram of an example of the computer system which concerns on this embodiment. 本実施形態に係るアプリケーションプログラム間のデータフローの一例について説明する図である。It is a figure explaining an example of the data flow between the application programs which concern on this embodiment. 本実施形態に係るアプリケーションプログラムの編集モードの一例について説明する図である。It is a figure explaining an example of the edit mode of the application program which concerns on this embodiment. 編集モード別のジョブチケットの一例について説明する図である。It is a figure explaining an example of the job ticket classified by edit mode. 本実施形態に係るアプリケーションプログラムを起動させたコンピュータシステムの一例の処理ブロック図である。It is a processing block diagram of an example of the computer system which started the application program concerning this embodiment. アプリケーションプログラムにジョブチケットが入力されたときの処理を表した一例のシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing when a job ticket is input to an application program. 設定ファイルの一例について説明する図である。It is a figure explaining an example of a setting file. 設定ファイルの各属性及び属性値の一例について説明する図である。It is a figure explaining an example of each attribute and attribute value of a setting file. アプリケーションプログラムからジョブチケットを出力するときの処理を表した一例のシーケンス図である。FIG. 10 is a sequence diagram illustrating an example of processing when a job ticket is output from an application program. ステップS3、S13の設定値候補取得処理を表した一例のフローチャートである。It is an example flowchart showing the set value candidate acquisition process of steps S3 and S13.

次に、本発明を実施するための形態を、以下の実施例に基づき図面を参照しつつ説明していく。
[第1の実施形態]
図1は本実施形態に係るコンピュータシステムの一例のハードウェア構成図である。コンピュータシステム500は、入力装置501、表示装置502、外部I/F503、RAM504、ROM505、CPU506、通信I/F507、及びHDD508などを備え、それぞれがバスBで相互に接続されている。
Next, modes for carrying out the present invention will be described based on the following embodiments with reference to the drawings.
[First Embodiment]
FIG. 1 is a hardware configuration diagram of an example of a computer system according to the present embodiment. The computer system 500 includes an input device 501, a display device 502, an external I / F 503, a RAM 504, a ROM 505, a CPU 506, a communication I / F 507, an HDD 508, and the like, which are mutually connected via a bus B.

入力装置501はキーボードやマウス、タッチパネルなどを含み、ユーザが各操作信号を入力するのに用いられる。表示装置502はディスプレイ等を含み、コンピュータシステム500による処理結果を表示する。   The input device 501 includes a keyboard, a mouse, a touch panel, and the like, and is used by a user to input each operation signal. The display device 502 includes a display and the like, and displays a processing result by the computer system 500.

通信I/F507はコンピュータシステム500をネットワーク(図示せず)に接続するインタフェースである。これにより、コンピュータシステム500は通信I/F507を介してデータ通信を行うことができる。   The communication I / F 507 is an interface that connects the computer system 500 to a network (not shown). Thereby, the computer system 500 can perform data communication via the communication I / F 507.

HDD(Hard Disk Drive)508はプログラムやデータを格納している不揮発性の記憶装置である。格納されるプログラムやデータには、例えばコンピュータシステム500全体を制御する基本プログラムであるOS(Operating System)や、OS上において各種機能を提供するアプリケーションプログラムなどがある。HDD508は格納しているプログラムやデータを所定のファイルシステム及び/又はDB(データベース)により管理している。   An HDD (Hard Disk Drive) 508 is a non-volatile storage device that stores programs and data. Examples of the stored programs and data include an OS (Operating System) that is a basic program for controlling the entire computer system 500 and application programs that provide various functions on the OS. The HDD 508 manages stored programs and data by a predetermined file system and / or DB (database).

外部I/F503は、外部装置とのインタフェースである。外部装置には、記録媒体503aなどがある。これにより、コンピュータシステム500は外部I/F503を介して記録媒体503aの読み取り及び/又は書き込みを行うことができる。記録媒体503aには、例えばフレキシブルディスク、コンパクトディスク、DVD(Digital Versatile Disk)等がある。また、記録媒体503aにはSD(Secure Digital)メモリカード、USB(Universal Serial Bus)メモリなどがある。   The external I / F 503 is an interface with an external device. The external device includes a recording medium 503a. Accordingly, the computer system 500 can read and / or write the recording medium 503a via the external I / F 503. Examples of the recording medium 503a include a flexible disk, a compact disk, a DVD (Digital Versatile Disk), and the like. The recording medium 503a includes an SD (Secure Digital) memory card, a USB (Universal Serial Bus) memory, and the like.

ROM(Read Only Memory)505は電源を切ってもプログラムやデータを保持できる不揮発性の半導体メモリ(記憶装置)である。ROM505にはコンピュータシステム500の起動時に実行されるBIOS(Basic Input/Output System)、OS設定及びネットワーク設定などのプログラムやデータが格納されている。   A ROM (Read Only Memory) 505 is a nonvolatile semiconductor memory (storage device) that can hold programs and data even when the power is turned off. The ROM 505 stores programs and data such as BIOS (Basic Input / Output System), OS settings, and network settings that are executed when the computer system 500 is started.

RAM(Random Access Memory)504は、プログラムやデータを一時保持する揮発性の半導体メモリ(記憶装置)である。CPU(Central Processing Unit)506はROM505やHDD508などの記憶装置からプログラムやデータをRAM504上に読み出し、処理を実行することで、コンピュータシステム500全体の制御や機能を実現する演算装置である。   A RAM (Random Access Memory) 504 is a volatile semiconductor memory (storage device) that temporarily stores programs and data. A CPU (Central Processing Unit) 506 is an arithmetic device that implements control and functions of the entire computer system 500 by reading programs and data from a storage device such as the ROM 505 and the HDD 508 onto the RAM 504 and executing the processing.

このようなコンピュータシステム500のハードウェア構成上で動作させることにより後述のアプリケーションプログラムは、後述するような各種処理を実現できる。   By operating on the hardware configuration of such a computer system 500, an application program described later can realize various processes described later.

図2は本実施形態に係るアプリケーションプログラム間のデータフローの一例について説明する図である。図2はアプリケーションプログラムの一例としてアプリケーションプログラム10と、2つの関連アプリケーションプログラム11、12とを表している。   FIG. 2 is a diagram for explaining an example of a data flow between application programs according to the present embodiment. FIG. 2 shows an application program 10 and two related application programs 11 and 12 as an example of the application program.

アプリケーションプログラム(以下、単にアプリと呼ぶ)10は例えばプリプレスソフトウェアである。アプリ10は関連アプリ11、12と連携し、1つ以上の処理工程を有するワークフローを生成する。アプリ10と関連アプリ11、12との連携は、ジョブチケット(図2中のJDF)と原稿データ(図2中のPDF)とが用いられる。   An application program (hereinafter simply referred to as an application) 10 is, for example, prepress software. The app 10 cooperates with the related apps 11 and 12 to generate a workflow having one or more processing steps. For the cooperation between the application 10 and the related applications 11 and 12, a job ticket (JDF in FIG. 2) and document data (PDF in FIG. 2) are used.

ジョブチケットは印刷指示データの一例である。ジョブチケットはデータ形式の一例としてのJDFにより表現されている。JDFは、例えばXMLフォーマットで記述されている。原稿データはコンテンツデータの一例である。   The job ticket is an example of print instruction data. The job ticket is expressed by JDF as an example of a data format. JDF is described in, for example, an XML format. The document data is an example of content data.

なお、アプリ10はジョブチケットで表現できない設定を、独自のデータ形式の一例としてのRJFにより管理しているものとする。関連アプリ11、12はジョブチケットで表現できる設定をJDFにより管理しているものとする。例えばアプリ10の機能が関連アプリ11、12の機能よりも先行している場合には、異なるデータ形式により設定を管理することが考えられる。   It is assumed that the application 10 manages settings that cannot be expressed by a job ticket using RJF as an example of a unique data format. Assume that the related applications 11 and 12 manage settings that can be expressed by job tickets using JDF. For example, when the function of the application 10 precedes the functions of the related applications 11 and 12, it is conceivable to manage the settings using different data formats.

アプリ10、関連アプリ11及び12は、後述のジョブチケットAPIを用いる。例えばジョブチケットAPIのバージョンによって、ジョブチケットで表現できる設定の範囲は異なっている。このように、アプリ10、関連アプリ11及び12は用いているジョブチケットAPIのバーションによってジョブチケットで利用可能な設定が異なる。   The application 10 and the related applications 11 and 12 use a job ticket API described later. For example, the setting range that can be expressed by the job ticket differs depending on the version of the job ticket API. As described above, the application 10 and the related applications 11 and 12 have different settings that can be used in the job ticket depending on the version of the job ticket API used.

アプリ10はジョブチケットで表現できない設定をRJFにより管理するため、ジョブチケットを生成するときに、関連アプリ11、12で利用できない設定を考慮する必要がある。そこで、アプリ10は関連アプリ11、12との機能差を補完するように、関連アプリ11、12との間で送受信するジョブチケットを、送信先の関連アプリ11、12に合わせて自動的に変換する。   Since the application 10 manages settings that cannot be expressed by the job ticket using the RJF, it is necessary to consider settings that cannot be used by the related applications 11 and 12 when generating the job ticket. Therefore, the application 10 automatically converts the job ticket transmitted / received to / from the related applications 11 and 12 according to the related applications 11 and 12 of the transmission destination so as to compensate for the functional difference between the related applications 11 and 12. To do.

アプリ10は関連アプリ11、12との間でジョブチケットを送受信する際、RJFとJDFとの変換を後述のように自動的に行う。したがって、ユーザはアプリ10と関連アプリ11、12との機能差を意識する必要がない。なお、アプリ10はRJFで表現できる設定のうち、JDFで表現できない設定を、後述のように原稿データ(PDF)に反映させることができる。   When the application 10 transmits / receives a job ticket to / from the related applications 11 and 12, conversion between RJF and JDF is automatically performed as described later. Therefore, the user does not need to be aware of the functional difference between the application 10 and the related applications 11 and 12. The application 10 can reflect settings that cannot be expressed in JDF among settings that can be expressed in RJF, as will be described later, in the document data (PDF).

図3は本実施形態に係るアプリケーションプログラムの編集モードの一例について説明する図である。アプリ10はジョブチケットの編集モードとしてJDFモードと旧バージョン互換モードとを有する。   FIG. 3 is a diagram for explaining an example of the editing mode of the application program according to the present embodiment. The application 10 has a JDF mode and an old version compatible mode as job ticket editing modes.

JDFモードは関連アプリ11、12で利用できない機能が制限される。したがってJDFモードではRJFで表現された設定のうち、JDFに反映できる(JDFで表現できる)設定をジョブチケットに反映させる。一方、旧バージョン互換モードはアプリ10が持つ機能を全て利用できる。したがってJDFモードではRJFで表現された設定のうち、JDFに反映できる設定をジョブチケットに反映させ、JDFに反映できない設定を後述のようにPDFに反映させる。   In the JDF mode, functions that cannot be used by the related applications 11 and 12 are limited. Therefore, in the JDF mode, among the settings expressed in RJF, settings that can be reflected in JDF (can be expressed in JDF) are reflected in the job ticket. On the other hand, the old version compatibility mode can use all the functions of the application 10. Therefore, in the JDF mode, settings that can be reflected in the JDF among the settings expressed in the RJF are reflected in the job ticket, and settings that cannot be reflected in the JDF are reflected in the PDF as described later.

アプリ10はジョブチケットの編集モードと、送信先の関連アプリ11、12のジョブチケットAPIのバージョンと、によって、生成するジョブチケットを切り替える必要がある。   The application 10 needs to switch the job ticket to be generated depending on the job ticket editing mode and the version of the job ticket API of the related applications 11 and 12 of the transmission destination.

図4は編集モード別のジョブチケットの一例について説明する図である。図4(A)はJDFモードにおいて、送信先の関連アプリ11、12で集約設定を利用することができるときのジョブチケットのイメージ図である。図4(A)のジョブチケットには、集約設定が反映されている。   FIG. 4 is a diagram for explaining an example of a job ticket for each editing mode. FIG. 4A is an image diagram of a job ticket when the aggregation setting can be used in the destination related applications 11 and 12 in the JDF mode. Aggregation settings are reflected in the job ticket in FIG.

図4(B)は旧バージョン互換モードにおいて、送信先の関連アプリ11、12で集約設定を利用できないときのジョブチケットのイメージ図である。図4(B)のジョブチケットでは集約設定が反映されず、原稿データ(PDF)に反映されている。   FIG. 4B is an image diagram of a job ticket when the aggregation setting cannot be used in the destination related applications 11 and 12 in the old version compatibility mode. In the job ticket of FIG. 4B, the aggregation setting is not reflected, but is reflected in the document data (PDF).

<ソフトウェア構成>
コンピュータシステム500はアプリ10などのプログラムを実行することにより例えば図5に示す処理ブロックを実現する。図5は本実施形態に係るアプリケーションプログラムを起動させたコンピュータシステムの一例の処理ブロック図である。アプリ10などのプログラムを起動させたコンピュータシステム500は、上位モジュール21、ジョブチケット入出力モジュール22、ジョブチケットAPI23、設定ファイル24を有している。なお、図5ではジョブチケットの入出力に関連する処理ブロックを表し、本実施形態の説明に利用しない処理ブロックを省略している。
<Software configuration>
The computer system 500 implements the processing blocks shown in FIG. 5, for example, by executing a program such as the application 10. FIG. 5 is a processing block diagram of an example of a computer system that starts an application program according to the present embodiment. A computer system 500 in which a program such as the application 10 is activated has a higher module 21, a job ticket input / output module 22, a job ticket API 23, and a setting file 24. In FIG. 5, processing blocks related to job ticket input / output are shown, and processing blocks not used in the description of the present embodiment are omitted.

上位モジュール21はジョブチケット入出力モジュール22の上層にあって、ジョブチケット入出力モジュール22に対してジョブチケットの入力要求やジョブチケットの作成要求を行う。   The upper module 21 is located above the job ticket input / output module 22 and makes a job ticket input request and a job ticket creation request to the job ticket input / output module 22.

ジョブチケット入出力モジュール22はアプリ10の内部データ(RJF)とジョブチケット(JDF)とを変換する役割を持つ。ジョブチケットの入力要求に対し、ジョブチケット入出力モジュール22はジョブチケットを内部データに変換する。また、ジョブチケット入出力モジュール22はジョブチケットの作成要求に対し、内部データをジョブチケットに変換する。このとき、ジョブチケット入出力モジュール22はジョブチケットAPI23を用いて、ジョブチケットからの設定(設定値)の読み込みや、ジョブチケットの生成を行う。   The job ticket input / output module 22 has a role of converting internal data (RJF) and job ticket (JDF) of the application 10. In response to a job ticket input request, the job ticket input / output module 22 converts the job ticket into internal data. The job ticket input / output module 22 converts internal data into a job ticket in response to a job ticket creation request. At this time, the job ticket input / output module 22 uses the job ticket API 23 to read a setting (setting value) from the job ticket and generate a job ticket.

ジョブチケットAPI23はジョブチケットからの設定の読み込みやジョブチケットの設定の生成、ジョブチケットの生成などの機能を提供する。設定ファイル24はジョブチケットの編集モードやジョブチケットAPI23のバージョンによって異なる利用可能な設定を後述のように吸収する。   The job ticket API 23 provides functions such as reading settings from a job ticket, generating job ticket settings, and generating job tickets. The setting file 24 absorbs available settings that differ depending on the job ticket editing mode and the version of the job ticket API 23 as described later.

ジョブチケットAPI23がバージョンアップすると、利用可能な設定が変化することが多いため、アプリ10のジョブチケット入出力モジュール22は関連アプリ11、12で利用可能な設定を管理することが容易でなかった。本実施形態では、設定ファイル24を利用することで、ジョブチケットにおいて利用可能な設定値の管理が容易となった。   When the job ticket API 23 is upgraded, available settings often change, so the job ticket input / output module 22 of the application 10 cannot easily manage the settings available for the related applications 11 and 12. In the present embodiment, the use of the setting file 24 facilitates management of setting values that can be used in the job ticket.

図6はアプリケーションプログラムにジョブチケットが入力されたときの処理を表した一例のシーケンス図である。   FIG. 6 is a sequence diagram illustrating an example of processing when a job ticket is input to the application program.

ステップS1において、上位モジュール21はジョブチケット入出力モジュール22に対してジョブチケット入力要求を行う。ジョブチケット入力要求には、ジョブチケットと編集モードの情報とが含まれる。   In step S <b> 1, the upper module 21 issues a job ticket input request to the job ticket input / output module 22. The job ticket input request includes a job ticket and edit mode information.

ステップS2において、ジョブチケット入出力モジュール22はジョブチケットAPI23を用いて、ジョブチケットから全ての設定を読み込む。また、ジョブチケット入出力モジュール22はステップS3において、設定ファイル24から設定値候補を次のように取得する。   In step S <b> 2, the job ticket input / output module 22 reads all settings from the job ticket using the job ticket API 23. In step S3, the job ticket input / output module 22 acquires setting value candidates from the setting file 24 as follows.

ジョブチケット入出力モジュール22は、設定ファイル24からジョブチケットの設定のキーワードと、編集モードと、ジョブチケットAPI23のバージョンとの対応を取得する。編集モード及びジョブチケットAPI23のバージョンが一致するジョブチケットの設定のキーワードが設定値候補となる。   The job ticket input / output module 22 acquires the correspondence between the job ticket setting keyword, the editing mode, and the version of the job ticket API 23 from the setting file 24. A keyword for setting a job ticket that matches the version of the edit mode and the job ticket API 23 is a set value candidate.

図7は設定ファイルの一例について説明する図である。図7の設定ファイルは、XMLフォーマットで記述されている。設定ファイル24はジョブチケットAPI23で使用するオブジェクト「Ojject」と、オブジェクトの属性「Attribute」とで構成される。各属性と属性値とは図8に示すようになる。   FIG. 7 is a diagram for explaining an example of a setting file. The setting file in FIG. 7 is described in the XML format. The setting file 24 includes an object “Object” used in the job ticket API 23 and an object attribute “Attribute”. Each attribute and attribute value are as shown in FIG.

図8は設定ファイルの各属性及び属性値の一例について説明する図である。図8に示すように属性「Class」はジョブチケットAPI23で定義されているオブジェクトの型である。   FIG. 8 is a diagram for explaining an example of each attribute and attribute value of the setting file. As shown in FIG. 8, the attribute “Class” is an object type defined by the job ticket API 23.

属性「Name」はジョブチケットAPI23で定義されている属性名であり、ジョブチケットの設定のキーワードである。属性「FunctionKey」はジョブチケットの設定に対応する内部データ(RJF)で定義されている属性名である。属性「Class」は内部データで定義されている属性の型である。   The attribute “Name” is an attribute name defined in the job ticket API 23 and is a keyword for setting a job ticket. The attribute “FunctionKey” is an attribute name defined in internal data (RJF) corresponding to the setting of the job ticket. The attribute “Class” is an attribute type defined in the internal data.

属性「JtapiVersion」は、設定を利用可能なジョブチケットAPI23のバージョンである。属性「JtapiVersion」はセミコロンで区切ることで複数設定できる。また、属性「EditMode」は設定を利用可能なジョブチケットの編集モードである。属性「EditMode」は、ジョブチケットの編集モードとしてJDFモードを表す「JDFMode」又は旧バージョン互換モードを表す「MRMode」を設定できる。また、属性「EditMode」はセミコロンで区切ることで複数設定できる。   The attribute “JtapiVersion” is a version of the job ticket API 23 that can use the setting. A plurality of attributes “JtapiVersion” can be set by separating them with a semicolon. The attribute “EditMode” is a job ticket editing mode in which settings can be used. The attribute “EditMode” can set “JDFMode” representing the JDF mode or “MRMode” representing the old version compatibility mode as the job ticket editing mode. A plurality of attributes “EditMode” can be set by separating them with a semicolon.

例えば図7の設定ファイルは、属性「EditMode」に「JDFMode」が設定されている場合、そのジョブチケットの設定が、編集モードがJDFモードであるときに設定値候補となることを意味している。   For example, in the setting file of FIG. 7, when “JDFMode” is set in the attribute “EditMode”, it means that the setting of the job ticket becomes a setting value candidate when the edit mode is the JDF mode. .

図6のステップS4に戻り、ジョブチケット入出力モジュール22はステップS2において取得した全ての設定のうち、ステップS3で取得した設定値候補に含まれている設定を内部データに変換する。   Returning to step S4 in FIG. 6, the job ticket input / output module 22 converts the settings included in the setting value candidates acquired in step S3 out of all the settings acquired in step S2 into internal data.

図9はアプリケーションプログラムからジョブチケットを出力するときの処理を表した一例のシーケンス図である。   FIG. 9 is a sequence diagram illustrating an example of processing when a job ticket is output from an application program.

ステップS11において、上位モジュール21はジョブチケット入出力モジュール22に対してジョブチケット作成要求を行う。ジョブチケット作成要求には、内部データ(RJF)と編集モードの情報とジョブチケットAPI23のバージョンの情報と、が含まれている。   In step S <b> 11, the upper module 21 makes a job ticket creation request to the job ticket input / output module 22. The job ticket creation request includes internal data (RJF), editing mode information, and job ticket API 23 version information.

ステップS12において、ジョブチケット入出力モジュール22は内部データから全ての設定を読み込む。ジョブチケット入出力モジュール22は内部データから読み込んだ設定をジョブチケットの設定に変換する。また、ステップS13において、ジョブチケット入出力モジュール22は、設定ファイル24から設定値候補をステップS3と同様に取得する。   In step S12, the job ticket input / output module 22 reads all settings from the internal data. The job ticket input / output module 22 converts the settings read from the internal data into job ticket settings. In step S13, the job ticket input / output module 22 acquires setting value candidates from the setting file 24 in the same manner as in step S3.

ステップS14に進み、ジョブチケット入出力モジュール22はステップS12で内部データから変換した全ての設定のうち、ステップS13で取得した設定値候補に含まれている設定をジョブチケットの設定として設定値を生成する。なお、ジョブチケット入出力モジュール22はステップS12で内部データから変換した全ての設定のうち、ステップS13で取得した設定値候補に含まれていない設定を除外する。なお、除外した設定は前述したように原稿データ(PDF)に反映させる。   In step S14, the job ticket input / output module 22 generates a setting value by using the setting included in the setting value candidate acquired in step S13 among all the settings converted from the internal data in step S12. To do. The job ticket input / output module 22 excludes the settings that are not included in the setting value candidates acquired in step S13 from all the settings converted from the internal data in step S12. The excluded setting is reflected in the document data (PDF) as described above.

ステップS15に進み、ジョブチケット入出力モジュール22は、ステップS14で設定値を生成した設定を反映させたジョブチケットを、ジョブチケットAPI23を用いて生成する。生成したジョブチケットは上位モジュール21に出力される。   In step S15, the job ticket input / output module 22 uses the job ticket API 23 to generate a job ticket reflecting the setting generated in step S14. The generated job ticket is output to the upper module 21.

図10はステップS3、S13の設定値候補取得処理を表した一例のフローチャートである。   FIG. 10 is a flowchart illustrating an example of setting value candidate acquisition processing in steps S3 and S13.

ステップS21において、ジョブチケット入出力モジュール22はXMLフォーマットで記述されている設定ファイル24をロードし、設定値候補リストを取得する。ステップS22において、ジョブチケット入出力モジュール22は設定値候補リストから属性「Name」が同じ設定値候補を選択する。   In step S21, the job ticket input / output module 22 loads the setting file 24 described in the XML format, and acquires a setting value candidate list. In step S <b> 22, the job ticket input / output module 22 selects a setting value candidate having the same attribute “Name” from the setting value candidate list.

ステップS22において、ジョブチケット入出力モジュール22はステップS22で選択した設定値候補リストから属性「JtapiVersion」が同じ設定値候補を選択する。また、ステップS23において、ジョブチケット入出力モジュール22はステップS23で選択した設定値候補リストから属性「EditMode」が同じ設定値候補を選択する。   In step S22, the job ticket input / output module 22 selects a setting value candidate having the same attribute “JtapiVersion” from the setting value candidate list selected in step S22. In step S23, the job ticket input / output module 22 selects a setting value candidate having the same attribute “EditMode” from the setting value candidate list selected in step S23.

ステップS23で選択した設定値候補は、ステップS3において設定ファイル24から取得する設定値候補となる。なお、ステップS21〜S23において選択されなかった設定値候補は、ステップS3において設定ファイル24から取得する設定値候補から除外される。   The set value candidates selected in step S23 are set value candidates acquired from the setting file 24 in step S3. Note that the setting value candidates not selected in steps S21 to S23 are excluded from the setting value candidates acquired from the setting file 24 in step S3.

<まとめ>
本実施形態のアプリ10はジョブチケットの編集モード及びジョブチケットAPI23のバージョンなどの条件により、ジョブチケットの設定を異ならせることができる。アプリ10は初めに設定ファイル24から全ての設定を取得し、その後、図10に示したような条件(使用条件)により実際に利用するジョブチケットの設定値を選択する。
<Summary>
The application 10 according to the present embodiment can change job ticket settings depending on conditions such as the job ticket editing mode and the version of the job ticket API 23. The application 10 first acquires all the settings from the setting file 24, and then selects the setting value of the job ticket to be actually used according to the conditions (use conditions) as shown in FIG.

本実施形態では図10に示した条件を外部の設定ファイル24に記述するため、ジョブチケットAPI23のバージョンアップ時における設定の追加や削除等のジョブチケットの変更に、容易に対応できる。   In this embodiment, since the conditions shown in FIG. 10 are described in the external setting file 24, it is possible to easily cope with job ticket changes such as addition and deletion of settings when the job ticket API 23 is upgraded.

本実施形態ではジョブチケットが入力されたアプリ10が、ジョブチケットの設定からジョブチケットの編集モード及びジョブチケットAPI23のバージョンにより利用可能な設定を選択できる。   In this embodiment, the application 10 to which a job ticket is input can select a setting that can be used according to the job ticket editing mode and the version of the job ticket API 23 from the setting of the job ticket.

また、本実施形態ではジョブチケットを出力するアプリ10が、ジョブチケットの編集モード及びジョブチケットAPI23のバージョンにより、送信先の関連アプリ11、12で利用可能な設定を選択できる。   In the present embodiment, the application 10 that outputs a job ticket can select settings that can be used by the related applications 11 and 12 of the transmission destination according to the job ticket editing mode and the version of the job ticket API 23.

このように、本実施形態ではアプリ10と関連アプリ11、12とがジョブチケットで連携しようとするとき、ジョブチケットで利用可能な設定の変更に、容易に対応することができる。   As described above, in the present embodiment, when the application 10 and the related applications 11 and 12 try to cooperate with each other with a job ticket, it is possible to easily cope with a change in settings that can be used with the job ticket.

本発明は具体的に開示された実施例に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。   The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.

なお、特許請求の範囲に記載した第1の作業指示データはジョブチケット(JDF)に相当する。第2の作業指示データは内部データ(RJF)に相当する。第1の設定候補取得手段、第1の設定手段はジョブチケット入出力モジュール22に相当する。第1の作業指示データ生成手段はジョブチケットAPI23に相当する。設定情報は設定ファイル24に相当する。受信元のプログラムはアプリ10に相当する。   Note that the first work instruction data described in the claims corresponds to a job ticket (JDF). The second work instruction data corresponds to internal data (RJF). The first setting candidate acquisition unit and the first setting unit correspond to the job ticket input / output module 22. The first work instruction data generation unit corresponds to the job ticket API 23. The setting information corresponds to the setting file 24. The reception source program corresponds to the application 10.

また、第2の設定取得手段はジョブチケットAPI23に相当する。第2の設定候補取得手段、第2の作業指示データ生成手段はジョブチケット入出力モジュール22に相当する。第1の作業指示データ生成手段の版情報はジョブチケットAPI23のバージョンに相当する。第1の編集モードはJDFモードに相当する。第2の編集モードは旧バージョン互換モードに相当する。   The second setting acquisition unit corresponds to the job ticket API 23. The second setting candidate acquisition unit and the second work instruction data generation unit correspond to the job ticket input / output module 22. The version information of the first work instruction data generation unit corresponds to the version of the job ticket API 23. The first editing mode corresponds to the JDF mode. The second editing mode corresponds to the old version compatibility mode.

10 アプリケーションプログラム
11、12 関連アプリケーションプログラム
21 上位モジュール
22 ジョブチケット入出力モジュール
23 ジョブチケットAPI
24 設定ファイル
500 コンピュータシステム
501 入力装置
502 表示装置
503 外部I/F
503a 記録媒体
504 RAM
505 ROM
506 CPU
507 通信I/F
508 HDD
B バス
10 Application Program 11, 12 Related Application Program 21 Upper Module 22 Job Ticket Input / Output Module 23 Job Ticket API
24 setting file 500 computer system 501 input device 502 display device 503 external I / F
503a Recording medium 504 RAM
505 ROM
506 CPU
507 Communication I / F
508 HDD
B bus

特開2007−156671号公報JP 2007-156671 A

Claims (4)

コンピュータを、
複数のプログラム間で処理を連携させる第1の作業指示データの設定の使用条件を記述した設定情報から前記第1の作業指示データの送信先のプログラムにおいて利用可能な設定候補を取得する第1の設定候補取得手段、
前記第1の作業指示データとデータ形式が異なる第2の作業指示データから全ての設定を取得する第1の設定取得手段、
前記第2の作業指示データから取得した設定のうち、前記第1の作業指示データの送信先のプログラムにおいて利用可能な設定候補に含まれている設定を、前記第1の作業指示データの設定とし、前記第1の作業指示データを生成する第1の作業指示データ生成手段
前記第1の作業指示データから全ての設定を取得する第2の設定取得手段、
前記設定情報から前記第2の作業指示データの受信元のプログラムにおいて利用可能な設定候補を取得する第2の設定候補取得手段、
前記第1の作業指示データから取得した設定のうち、前記第2の作業指示データの受信元のプログラムにおいて利用可能な設定候補に含まれている設定を、前記第2の作業指示データの設定とし、前記第2の作業指示データを生成する第2の作業指示データ生成手段
として機能させるためのプログラム。
Computer
A first setting candidate that can be used in a transmission destination program of the first work instruction data is obtained from setting information that describes use conditions for setting the first work instruction data for linking processes between a plurality of programs. Setting candidate acquisition means,
First setting acquisition means for acquiring all settings from second work instruction data having a data format different from that of the first work instruction data;
Of the settings acquired from the second work instruction data, a setting included in a setting candidate that can be used in the transmission program of the first work instruction data is set as the first work instruction data setting. First work instruction data generating means for generating the first work instruction data ;
Second setting acquisition means for acquiring all settings from the first work instruction data;
Second setting candidate acquisition means for acquiring setting candidates that can be used in the program from which the second work instruction data is received from the setting information;
Among the settings acquired from the first work instruction data, a setting included in a setting candidate that can be used in the program from which the second work instruction data is received is set as the second work instruction data setting. A program for functioning as second work instruction data generating means for generating the second work instruction data .
前記第1の設定候補取得手段は、前記第1の作業指示データの編集モードと、前記第1の作業指示データ生成手段の版情報と、前記設定候補と、を対応付けた前記設定情報から前記第1の作業指示データの編集モード及び前記第1の作業指示データ生成手段の版情報とに対応する前記設定候補を取得すること
を特徴とする請求項1記載のプログラム。
The first setting candidate acquisition unit is configured to calculate the first work instruction data editing mode, the version information of the first work instruction data generation unit, and the setting candidates from the setting information in association with each other. claim 1 Symbol placement program and obtains the setting candidate corresponding to the version information of the edit mode and the first work instruction data generating means of the first work instruction data.
前記第2の作業指示データで表現された設定のうち前記第1の作業指示データで表現できる設定を前記第1の作業指示データに反映させる第1の編集モードと、前記第2の作業指示データで表現された設定のうち前記第1の作業指示データで表現できる設定を前記第1の作業指示データに反映させると共に、前記第1の作業指示データで表現できない設定をコンテンツデータに反映させる第2の編集モードと、があり、
前記第2の編集モードであるときに、前記第1の作業指示データで表現できない設定をコンテンツデータに反映させるコンテンツデータ編集手段
としてコンピュータを更に機能させるための請求項記載のプログラム。
A first editing mode in which a setting that can be expressed by the first work instruction data among the settings expressed by the second work instruction data is reflected in the first work instruction data; and the second work instruction data Secondly, the setting that can be expressed by the first work instruction data is reflected in the first work instruction data, and the setting that cannot be expressed by the first work instruction data is reflected in the content data. Edit mode, and
The program according to claim 2 , further causing a computer to function as content data editing means for reflecting, in the second editing mode, settings that cannot be expressed by the first work instruction data in the content data.
コンピュータによって実行されるデータ変換方法であって、
複数のプログラム間で処理を連携させる第1の作業指示データの設定の使用条件を記述した設定情報から前記第1の作業指示データの送信先のプログラムにおいて利用可能な設定候補を取得する第1の設定候補取得ステップと、
前記第1の作業指示データとデータ形式が異なる第2の作業指示データから全ての設定を取得する第1の設定取得ステップと、
前記第2の作業指示データから取得した設定のうち、前記第1の作業指示データの送信先のプログラムにおいて利用可能な設定候補に含まれている設定を、前記第1の作業指示データの設定とし、前記第1の作業指示データを生成する第1の作業指示データ生成ステップと
前記第1の作業指示データから全ての設定を取得する第2の設定取得ステップと、
前記設定情報から前記第2の作業指示データの受信元のプログラムにおいて利用可能な設定候補を取得する第2の設定候補取得ステップと、
前記第1の作業指示データから取得した設定のうち、前記第2の作業指示データの受信元のプログラムにおいて利用可能な設定候補に含まれている設定を、前記第2の作業指示データの設定とし、前記第2の作業指示データを生成する第2の作業指示データ生成ステップと
を有することを特徴とするデータ変換方法。
A data conversion method executed by a computer,
A first setting candidate that can be used in a transmission destination program of the first work instruction data is obtained from setting information that describes use conditions for setting the first work instruction data for linking processes between a plurality of programs. A setting candidate acquisition step;
A first setting acquisition step of acquiring all settings from second work instruction data having a data format different from that of the first work instruction data;
Of the settings acquired from the second work instruction data, a setting included in a setting candidate that can be used in the transmission program of the first work instruction data is set as the first work instruction data setting. A first work instruction data generation step for generating the first work instruction data ;
A second setting acquisition step of acquiring all settings from the first work instruction data;
A second setting candidate acquisition step of acquiring a setting candidate usable in the program of the reception source of the second work instruction data from the setting information;
Among the settings acquired from the first work instruction data, a setting included in a setting candidate that can be used in the program from which the second work instruction data is received is set as the second work instruction data setting. And a second work instruction data generation step for generating the second work instruction data .
JP2013095464A 2013-04-30 2013-04-30 Program and data conversion method Expired - Fee Related JP6163853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013095464A JP6163853B2 (en) 2013-04-30 2013-04-30 Program and data conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013095464A JP6163853B2 (en) 2013-04-30 2013-04-30 Program and data conversion method

Publications (2)

Publication Number Publication Date
JP2014215958A JP2014215958A (en) 2014-11-17
JP6163853B2 true JP6163853B2 (en) 2017-07-19

Family

ID=51941622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013095464A Expired - Fee Related JP6163853B2 (en) 2013-04-30 2013-04-30 Program and data conversion method

Country Status (1)

Country Link
JP (1) JP6163853B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006053735A (en) * 2004-08-11 2006-02-23 Seiko Epson Corp Network device, program used therefor, and control method therefor
US7872765B2 (en) * 2006-02-23 2011-01-18 Ricoh Company, Ltd. Non-postscript printer description file generating tool
JP2010167710A (en) * 2009-01-23 2010-08-05 Canon Inc Image formation device and method of controlling the same
JP2011175343A (en) * 2010-02-23 2011-09-08 Canon Inc Apparatus, method and program for processing data
JP2012027737A (en) * 2010-07-23 2012-02-09 Canon Inc Job ticket conversion device and conversion method thereof
JP5867108B2 (en) * 2011-02-01 2016-02-24 株式会社リコー Print control program, print control apparatus, print control method, and printing system
JP5812695B2 (en) * 2011-06-01 2015-11-17 キヤノン株式会社 Information processing apparatus and information processing method

Also Published As

Publication number Publication date
JP2014215958A (en) 2014-11-17

Similar Documents

Publication Publication Date Title
JP6708050B2 (en) Information processing apparatus and information processing program
JP2018081345A (en) Print setting history display program, print system and server
US8767253B2 (en) Information processing apparatus and computer program product
US9607163B2 (en) Information processing apparatus, control method, and storage medium storing program
US20160070557A1 (en) Information processing apparatus, information processing method, and information processing system
US20130033725A1 (en) Information processing apparatus, control method, and storage medium
US9904499B2 (en) Information processing system for dynamically adding a process to a sequence of processes and information processing method using same
JP2015056169A (en) Output system, terminal device, program, and output method
US8842321B2 (en) Information processing apparatus, printer driver, print setting method and data structure
JP2012226582A (en) Printer driver, program, and recording medium
JP2015026215A (en) Printing system and control method thereof, information processor and control method thereof, printer and control method thereof, and program
JP6157282B2 (en) Image processing apparatus, information processing method, and program
JP5762451B2 (en) Data conversion program
JP6752651B2 (en) Information processing systems, methods and programs in information processing systems
JP2016126604A (en) Terminal device, program, information processing system and output method
JP6481508B2 (en) Terminal device, program, and output system
JP6163853B2 (en) Program and data conversion method
US10348926B2 (en) Information processing system, information processing apparatus, and information processing method
US20180143794A1 (en) Information processing apparatus, information processing system, and information processing method
JP6492948B2 (en) Information processing apparatus, output system, and program
JP2006011950A (en) Installer creating apparatus and method, and program thereof
JP6210724B2 (en) Information processing apparatus, data processing method for information processing apparatus, and program
JP2011134269A (en) Apparatus and method for processing information, program, and recording medium
JP2018107796A (en) Input/output device, program and information processing system
US11144255B2 (en) Information processing apparatus, non-transitory computer readable medium storing information processing program, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160404

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170314

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170511

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170605

R151 Written notification of patent or utility model registration

Ref document number: 6163853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees