JP2020204807A - program - Google Patents
program Download PDFInfo
- Publication number
- JP2020204807A JP2020204807A JP2019110889A JP2019110889A JP2020204807A JP 2020204807 A JP2020204807 A JP 2020204807A JP 2019110889 A JP2019110889 A JP 2019110889A JP 2019110889 A JP2019110889 A JP 2019110889A JP 2020204807 A JP2020204807 A JP 2020204807A
- Authority
- JP
- Japan
- Prior art keywords
- data
- database
- module
- format
- printer
- 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.)
- Granted
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 34
- 238000000034 method Methods 0.000 claims description 75
- 230000008569 process Effects 0.000 claims description 71
- 230000006854 communication Effects 0.000 claims description 25
- 238000004891 communication Methods 0.000 claims description 25
- 230000010365 information processing Effects 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 14
- 230000007175 bidirectional communication Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 12
- 230000004044 response Effects 0.000 description 7
- 238000013500 data storage Methods 0.000 description 5
- 238000004378 air conditioning Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Abstract
Description
本発明は、プリンタに入力するデータを生成する技術に関する。 The present invention relates to a technique for generating data to be input to a printer.
プリンタに入力可能な形式のデータを生成してプリンタに入力するアプリケーションが知られている(例えば、特許文献1参照)。 An application that generates data in a format that can be input to a printer and inputs the data to the printer is known (see, for example, Patent Document 1).
プリンタのモデルごとに、プリンタに入力可能なデータの構造やコードの種類などであるデータの形態が異なることがある。特許文献1は、モデルの種別に応じた形態のデータを生成する技術について、十分に開示していない。
The data form, such as the structure of data that can be input to the printer and the type of code, may differ depending on the printer model.
本発明は、プリンタの種別に応じた形態のデータを生成する技術を提供することを目的とする。 An object of the present invention is to provide a technique for generating data in a form corresponding to a type of printer.
本明細書では様々な開示を行う。開示例のプログラムは、情報処理装置のコンピュータによって実行され、かつ変換対応テーブルを有する。前記変換対応テーブルは、プリンタの種別を示す種別情報と、変換後のデータの構成と、変換後のデータの文字コードの種別とのうち少なくとも一方を特定する特定情報との対応を示すテーブルである。開示例のプログラムは、前記種別情報を取得する種別情報取得処理と、第1形式のデータである第1データを取得するデータ取得処理と、取得した前記種別情報に対応する前記特定情報を前記変換対応テーブルに基づいて特定する特定処理と、前記第1形式の前記第1データを、特定した前記特定情報に応じたデータであって、前記プリンタに入力可能な第2形式のデータである第2データに変換するデータ変換処理と、前記第2データを出力する出力処理と、を前記コンピュータに実行させる。 Various disclosures are made herein. The program of the disclosure example is executed by the computer of the information processing apparatus and has a conversion correspondence table. The conversion correspondence table is a table showing the correspondence between the type information indicating the type of the printer, the configuration of the data after conversion, and the specific information that specifies at least one of the character code types of the data after conversion. .. The program of the disclosure example has a type information acquisition process for acquiring the type information, a data acquisition process for acquiring the first data which is the data of the first format, and the conversion of the specific information corresponding to the acquired type information. The specific process specified based on the correspondence table, and the first data in the first format are the data corresponding to the specified specific information, and the second format data that can be input to the printer. The computer is made to execute a data conversion process for converting data and an output process for outputting the second data.
開示例のプログラムは、取得した種別情報に対応する特定情報を変換対応テーブルにおいて特定する。すなわち、開示例のプログラムは、プリンタの種別に応じたデータの構造や文字コードの種別を特定する。そして、開示例のプログラムは、特定情報に応じて、第1形式のデータを第2形式のデータに変換する。したがって、開示例のプログラムは、プリンタの種別に応じた形態のデータを生成することができる。 The program of the disclosure example specifies the specific information corresponding to the acquired type information in the conversion correspondence table. That is, the program of the disclosure example specifies the data structure and the character code type according to the printer type. Then, the program of the disclosure example converts the data of the first format into the data of the second format according to the specific information. Therefore, the program of the disclosure example can generate data in a form corresponding to the type of printer.
以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明される実施形態は開示例にすぎず、本発明の要旨を変更しない範囲で適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。或いは、後述の各処理は、本発明の要旨を変更しない範囲で、適宜省略或いは変更することができる。 Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It goes without saying that the embodiments described below are merely disclosure examples and can be appropriately modified without changing the gist of the present invention. For example, the execution order of each process described later can be appropriately changed without changing the gist of the present invention. Alternatively, each of the processes described below can be omitted or changed as appropriate without changing the gist of the present invention.
本実施形態では、図1に示される情報処理装置10に実装されるアプリケーション37を説明する。情報処理装置10は、携帯端末やタブレットやパーソナルコンピュータなどである。以下では、情報処理装置10が携帯端末である例を説明する。すなわち、携帯端末に実装されるアプリケーション37を説明する。
In this embodiment, the
アプリケーション37は、プリンタ11に送信される印刷データを生成するプログラムである。プリンタ11は、例えば、ラベルに印刷を行うラベルプリンタである。ただし、プリンタ11は、ラベルプリンタに限られない。
The
アプリケーション37は、画像データを変換して印刷データを生成する機能に加え、表作成プログラムが作成した表を変換して、プリンタ11に入力可能なデータを生成する機能を有する。以下、詳しく説明する。
The
プリンタ11は、図2(A)に示されるように、コントローラ51と、印刷エンジン52と、通信インタフェース53と、を備える。印刷エンジン52は、ラベルなどのシートを搬送する搬送機構と、搬送するシートに画像を印刷するヘッドと、を有する。ヘッドは、例えば、サーマルヘッドである。但し、ヘッドは、インク滴を吐出するインクジェット記録方式のヘッドなどであってもよい。通信インタフェース53は、USBケーブルやLANケーブルなどを用いて情報処理装置10と接続されてもよいし、情報処理装置10と無線接続されてもよい。プリンタ11は、通信インタフェース53を通じて情報処理装置10と通信を行う。
As shown in FIG. 2A, the
コントローラ51は、中央演算装置であるCPU61と、メモリ62と、バス63と、を備える。コントローラ51は、例えば、パターン回路基板と、パターン回路基板に実装されたマイクロコンピュータや種々のICやコンデンサやダイオードなどの種々の電子部品によって実現される。
The
CPU61、メモリ62、印刷エンジン52、通信インタフェース53は、バス63に接続されている。すなわち、CPU61は、メモリ62、印刷エンジン52、及び通信インタフェース53と、バス63を介して接続されている。
The
CPU61は、後述のOS66と制御プログラム67とを疑似的に並行して実行する。すなわち、OS66及び制御プログラム67は、いわゆるマルチタスク処理によって実行される。
The
メモリ62は、例えば、ROMやRAMやEEPROMやHDDやCPU61が備えるバッファ等である。メモリ62は、OS66及び制御プログラム67を記憶するプログラム記憶領域64と、情報やデータを記憶するデータ記憶領域65と、を有する。OS66は、オペレーティングシステムである。
The
制御プログラム67は、通信インタフェース53を通じて入力した印刷データを印刷エンジン52に入力して印刷エンジン52に印刷を実行させる機能を有する。また、制御プログラム67は、入力したデータベース(図2(C))を用いて、図2(D)に示されるラベルのテンプレートデータに、当該データベースの各レコードを順に印刷エンジン52に印刷させる機能を有する。
The
詳しく説明すると、メモリ62のデータ記憶領域65は、「TEXT1」の印刷領域を示す領域データと、「TEXT2」の印刷領域を示す領域データと、「TEXT3」の印刷領域を示す領域データと、を含むラベルのテンプレートデータを記憶する。当該テンプレートデータは、データ記憶領域65に予めデフォルトとして記憶されていてもよいし、後述のアプリケーション37やその他のプログラムによって生成されて、プリンタ11に入力されてもよい。プリンタ11に入力されるデータベースは、複数のレコードと、複数の項目とを有する。複数の項目は、「番号」、「TEXT1」、「TEXT2」、「TEXT3」である。レコードは、各項目に対応する入力フィールドに入力された種々の文字を有する。図示例では、番号「1」を有するレコードの各項目に対応する各入力フィールドには、「1階」、「空調」、「200V」の文字がそれぞれ入力されている。
More specifically, the
制御プログラム67は、例えば、番号「1」で特定されるレコードをデータベースから読み出す。そして、制御プログラム67は、読み出したレコードの項目「TEXT1」、「TEXT2」、及び「TEXT3」にそれぞれ登録された「1階」、「空調」、及び「200V」の文字を、図2(D)に示される「TEXT1」、「TEXT2」、及び「TEXT3」の印刷領域にそれぞれ配置して、印刷エンジン52に入力するデータを生成する。そして、制御プログラム67は、生成したデータを印刷エンジン52に入力し、印刷エンジン52に、ラベルへの印刷を実行させる。制御プログラム67は、例えば、番号の順にレコードを読み出してデータを生成し、或いは、ユーザの指定を受け付け、ユーザが指定した番号のレコードをデータベースから読み出して、データを生成する。
The
プリンタ11のユーザは、例えば、建物の電気設備の施工或いは保守を行う者である。ユーザは、例えば、建物に使用される電気ケーブルに貼着されるラベルを、プリンタ11を用いて作製する。ユーザは、後述の情報処理装置10のアプリケーション37を用いて一のデータベースをプリンタ11に入力し、一の建物に使用するラベルを作製する。そして、ユーザは、アプリケーション37を用いて他のデータベースをプリンタ11に入力し、他の建物に使用するラベルを作製する。
The user of the
図1(A)に示されるように、情報処理装置10は、コントローラ21と、タッチパネル22と、通信インタフェース23と、を備える。通信インタフェース23は、例えばWi−Fi(登録商標)やBluetooth(登録商標)の通信規格を用いて、或いは、NFCなどの近接無線通信の通信規格を用いて、プリンタ11と通信を行う。
As shown in FIG. 1A, the
タッチパネル22は、文字や図形などを表示する表示パネル24と、表示パネル24に重畳された透明な膜状のタッチセンサ25と、を有する。タッチセンサ25は、ユーザがタッチした表示パネル24における位置を示す位置情報を出力する。位置情報は、例えば、表示パネル24の左上端を原点とし、右向きをx軸の正の向き、下向きをy軸の正の向きとしたx−y平面上の座標(x,y)として表現できる。後述のUIモジュール41は、表示パネル24に表示されたアイコン等を示す位置情報がタッチセンサ25から入力されたことに応じて、当該アイコン等がユーザによって選択されたと判断する。ユーザは、アイコン等をタッチすることにより、文字や数値をUIモジュール41に入力する。なお、情報処理装置10は、タッチセンサ25に代えて、或いはタッチセンサ25とともに、マイクロフォンを有していてもよい。マイクロフォンは、ユーザの声を音声信号に変換してコントローラ21に入力する。情報処理装置10がパーソナルコンピュータである場合、タッチセンサ25に代えて、マウスやキーボードが情報処理装置10に接続される。
The touch panel 22 has a
コントローラ21は、中央演算処理装置であるCPU31と、メモリ32と、バス33と、を備える。CPU31は、コンピュータの一例である。コントローラ21の構成は、プリンタ11のコントローラ51の構成と概ね同じである。
The
CPU31は、OS36、後述のアプリケーション37のUIモジュール41、本体モジュール43、コモンモジュール44、及びライブラリ45を疑似的に並行して実行する。すなわち、OS36、UIモジュール41、本体モジュール43、コモンモジュール44、及びライブラリ45は、いわゆるマルチタスク処理によって実行される。ライブラリ45は、プログラム及び第1モジュールの一例である。本体モジュール43は、第2モジュールの一例である。コモンモジュール44は、第3モジュールの一例である。UIモジュール41は、第4モジュールの一例である。
The
メモリ32の構成は、プリンタ11のメモリ62の構成と概ね同じである。メモリ32は、OS36及びアプリケーション37を記憶するプログラム記憶領域34と、情報やデータを記憶するデータ記憶領域35と、を有する。
The configuration of the
OS36は、例えば、Android(登録商標)OSや、iOS(登録商標)や、WindowsPhone(登録商標)や、BlackBerryOS(登録商標)などである。 OS36 is, for example, Android (registered trademark) OS, iOS (registered trademark), Windows Phone (registered trademark), BlackBerry OS (registered trademark), and the like.
OS36は、アプリケーション37によって呼び出される第2API(Application Programming Interfaceの略)38を有するDLL(dynamic link libraryの略)及び第4API39を有するDLLを備える。第2API38は、ローカルな文字コードをユニコードに変換するためのAPIである。第4API39は、通信インタフェース23を通じてプリンタ11にデータを送信するためのAPIである。詳しくは後述する。
The
アプリケーション37は、図1(B)に示されるように、UI(User Innterfaceの略)モジュール41と、本体プログラム42と、を備える。すなわち、アプリケーション37は、ユーザの入力を受け付けるUIモジュール41と、印刷データや、プリンタ11に入力するデータベースのデータを生成する本体プログラム42と、を備える。
As shown in FIG. 1B, the
UIモジュール41は、アプリケーション37の開発者によって設計される。アプリケーション37の開発者は、AndroidOSや、iOSなど、OS36の種類に応じてUIモジュール41を設計する。UIモジュール41は、OS36が記述されたプログラム言語と同一のプログラム言語によって記述される。
The
本体プログラム42は、例えば、プリンタ11のベンダによって、アプリケーション37の開発者に提供される。すなわち、本体プログラム42は、いわゆるSDK(Software Development Kitの略)である。アプリケーション37の開発者は、プリンタ11のベンダが提供した本体プログラム42と、設計したUIモジュール41とをまとめて、アプリケーション37を開発する。本体プログラム42は、データ生成プログラムの一例である。
The
本体プログラム42は、本体モジュール43と、コモンモジュール44と、ライブラリ45と、を備える。
The
本体モジュール43は、OS36を介してUIモジュール41によって呼び出される第3API46を有する。第3API46は、UIモジュール41からデータベースのファイルパス及びデータベースの名称(以下、データベース名と記載する)の取得に用いられる。詳しくは後述する。
The
コモンモジュール44は、画像データを印刷データに変換するモジュールである。ライブラリ45は、データベースのデータの形態を、プリンタ11に入力可能な形態のデータに変換するモジュールである。また、コモンモジュール44は、ライブラリ45にデータの変換を指示するモジュールでもある。
The
ライブラリ45及びコモンモジュール44は、C++のプログラム言語で記述されている。したがって、C++で記述されたプログラムと情報やデータを受け渡し可能なプログラムであれば、ライブラリ45に情報やデータを受け渡してライブラリ45を利用することができる。すなわち、C++で記述されたコモンモジュール44は、ライブラリ45を利用することができる。なお、C++で記述されたプログラムと情報やデータを受け渡し可能なプログラムとは、Objective−Cで記述されたプログラムや、JNI(Java Native Interfaceの略)(Javaは登録商標)などのラッパを備えたプログラムである。
The
コモンモジュール44は、本体モジュール43によって呼び出される第5API49を有している。第5API49は、コモンモジュール44が、データベース名、ファイルパス(以下、第1ファイルパスと記載)、及びモデル名を本体モジュール43から取得するために用いられる。詳しくは後述する。
The
ライブラリ45は、コモンモジュール44によって呼び出される第1API47、及び変換対応テーブル48を有する。第1API47は、ライブラリ45がデータベース名、第1ファイルパス、及びモデル名をコモンモジュール44から取得するために用いられる。変換対応テーブル48は、図2(B)に示されるように、モデル名と、ローカルコード種別と、配置種別との対応を示すテーブルである。ライブラリ45は、本体モジュール43から取得したモデル名と対応するローカルコード種別及び配置種別を変換対応テーブル48において特定し、特定したローカルコード種別及び配置種別を用いて、プリンタ11に入力可能なデータベースのデータを生成する。詳しくは後述する。モデル名は、プリンタの種別を示す種別情報の一例である。
The
以下、図3、図4、及び図5を参照して、ライブラリ45が、プリンタ11に入力可能なデータの形態のデータベースを生成する処理について説明する。
Hereinafter, a process in which the
本明細書では、基本的に、アプリケーション37に記述された命令に従ったCPU31の処理を説明する。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」、「設定」等の処理は、CPU31の処理を表している。CPU31による処理は、OS36などのコントローラを介したハードウェア制御も含む。なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU31が要求することなくデータを受信するという処理も、「CPU31がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。「命令」「応答」「要求」等の処理は、「命令」「応答」「要求」等を示す情報を通信することにより行われる。また、「命令」「応答」「要求」等の文言を、「命令」「応答」「要求」等を示す情報そのものという意味で記載してもよい。
In the present specification, basically, the processing of the
また、プログラムに記述された命令に従ったCPU31の処理を、省略した文言で記載することがある。例えば、「CPU31が行う」「本体モジュール43が行う」「コモンモジュール44が行う」「ライブラリ45が行う」のように記載することがある。
Further, the processing of the
また、CPU31による、情報Aは事柄Bであることを示しているか否かを判断する処理を、「情報Aから、事柄Bであるか否かを判断する」のように概念的に記載することがある。CPU31による、情報Aが事柄Bであることを示しているか、事柄Cであるかを示しているかを判断する処理を、「情報Aから、事柄Bであるか事柄Cであるかを判断する」のように概念的に記載することがある。
Further, the process of determining whether or not the information A indicates that the information A is the matter B by the
また、本明細書中の「データ」と「情報」とは、コンピュータによって取り扱い可能なビット或いはビット列である点において共通する。「データ」とは、各ビットが示す意味内容をコンピュータが考慮することなく取り扱えるものを指す。これに対して、「情報」とは、各ビットが示す意味内容によってコンピュータの動作が分岐するものを指す。さらに、「指示」は、送信先の装置に対して次の動作を促すための制御信号であって、情報を含んでいることもあるし、それ自体が情報としての性質を有していることもある。 Further, "data" and "information" in the present specification are common in that they are bits or bit strings that can be handled by a computer. "Data" refers to data that can be handled without the computer considering the meaning and content of each bit. On the other hand, "information" refers to information in which the operation of a computer branches depending on the meaning and content indicated by each bit. Further, the "instruction" is a control signal for prompting the destination device to perform the next operation, may include information, and has the property of information itself. There is also.
上記の「データ」及び「情報」の区別は厳密なものではなく、例外的な取り扱いも許容される。例えば、データが一時的に情報として扱われてもよいし、情報が一時的にデータとして扱われてもよい。また、ある装置ではデータとして扱われるものが、他の装置では情報として扱われてもよい。さらには、データの中から情報が取り出されてもよいし、情報の中からデータが取り出されてもよい。 The above distinction between "data" and "information" is not strict, and exceptional handling is permitted. For example, the data may be temporarily treated as information, or the information may be temporarily treated as data. Further, what is treated as data in one device may be treated as information in another device. Furthermore, information may be extracted from the data, or data may be extracted from the information.
また、本明細書中の「に応じて」は、当該文字列の前に記載された条件が満たされた場合に、当該文字列の後に記載された処理が実行されることを示す。なお、処理が実行されるタイミングは、条件が満たされた後であればよく、当該条件が満たされた直後である必要は必ずしもない。 In addition, "according to" in the present specification indicates that the processing described after the character string is executed when the conditions described before the character string are satisfied. The timing at which the processing is executed may be after the condition is satisfied, and does not necessarily have to be immediately after the condition is satisfied.
アプリケーション37は、例えば、データベースを作成した表作成プログラムからの指示により、OS36によって起動される。或いは、アプリケーション37は、タッチセンサ25から入力されたユーザの起動指示により起動される。
The
起動されたアプリケーション37の本体モジュール43は、例えば、OS36が通信可能なプリンタ11の名称及びモデル名の一覧の返信を要求するコマンドをOS36に入力し、プリンタ11の名称及びモデル名の一覧をOS36から取得する(S11)。そして、本体モジュール43は、取得したプリンタ11の名称及びモデル名の一覧をタッチパネル22にOS36を介して出力する(S12)。タッチパネル22は、プリンタ11の名称及びモデル名の一覧を有する入力画面(不図示)を表示する(S13)。当該入力画面は、プリンタ11の名称及びモデル名の一覧の他、データベース名の入力を受け付けるテキストボックスなどを有する。なお、プリンタ11の名称及びモデル名を選択する入力画面と、データベース名を入力する入力画面とは、異なっていてもよい。
The
ユーザは、入力画面において、一のプリンタ11の名称及びモデル名を選択し、また、データベース名を入力する(S14)。アプリケーション37のUIモジュール41は、選択されたプリンタ11の名称及びモデル名と、データベース名とを取得する(S14)。そして、UIモジュール41は、本体モジュール43の第3API46を呼び出し(S15)、呼び出した第3API46の引数として、選択されたモデル名及びデータベース名を本体モジュール43に受け渡す(S16)。
The user selects the name and model name of one
本体モジュール43は、OS36にコマンドを入力し、データベースのファイルであるデータベースファイル、或いは当該データベースを示すファイルパスと、コード種別と、を取得する(S17)。コード種別は、データベースに使用されている文字コードの種別を示す。コード種別が示す文字コードは、例えば、JIS、Shift−JIS、ASCII、EBCDIC、ユニコード、EUC等の任意の文字コードである。なお、データベースのファイルパス或いはデータベースファイルと、コード種別とは、アプリケーション37の起動時において、OS36から本体モジュール43に受け渡されてもよい。以下では、本体モジュール43やコモンモジュール44やライブラリ45が、ファイルパスを用いてデータベースを受け渡す例を説明する。
The
上述の表作成プログラムが作成するデータベースは、例えばCSV(Comma Separated Valueの略)のデータ形式のファイルである。以下では、表作成プログラムが、CSVのデータ形式のファイルとして生成したデータベースを、CSVデータベースファイルと記載して説明する。CSVデータベースファイルは、第4形式の元データの一例である。本体モジュール43が、CSVデータベースファイル或いは第1ファイルパスを取得するステップS17の処理は、元データ取得処理の一例である。
The database created by the above-mentioned table creation program is, for example, a file in a CSV (abbreviation of Comma Separated Value) data format. In the following, a database generated by the table creation program as a CSV data format file will be described as a CSV database file. The CSV database file is an example of the original data in the fourth format. The process of step S17 in which the
本体モジュール43は、ステップS17で取得したコード種別に応じたAPIであって、OS36が提供する第2API38を呼び出し、ステップS17で取得した第1ファイルパスを第2API38を通じてOS36が提供するDLLに受け渡す。すなわち、本体モジュール43は、第1ファイルパスが示すCSVデータベースの文字コードをユニコードに変換することを、OS36が提供するDLLに指示する(S18)。当該DLLは、第1ファイルパスが示すデータベースの文字コードをユニコードに変換する。当該DLLは、ユニコードに変換したCSVデータベースであるユニコードCSVデータベースのファイルパス(以下、第2ファイルパスと記載)を本体モジュール43に受け渡す。ユニコードは、共通文字コードの一例である。なお、本体モジュール43がステップS17において取得した第1ファイルパスが示すCSVデータベースファイルがユニコードで記述されている場合、ステップS18の処理は省略される。
The
本体モジュール43は、OS36が提供する上記DLLから第2ファイルパスを取得する(S19)。そして、本体モジュール43、コモンモジュール44、及びライブラリ45は、ステップS16で取得したモデル名及びデータベース名と、ステップS19で取得した第2ファイルパスに基づいて、プリンタ11に入力可能なデータベースのデータを生成する特定形式のデータ生成処理を実行する(S20)。図4及び図5を参照して、特定形式のデータ生成処理について詳しく説明する。
The
図4に示されるように、本体モジュール43は、コモンモジュール44の第5API49を呼び出し(S31)、取得したモデル名、データベース名、及び第2ファイルパスをコモンモジュール44に受け渡す(S32)。
As shown in FIG. 4, the
コモンモジュール44は、第5API49の引数として、モデル名、データベース名、及び第2ファイルパスを取得する(S32)。コモンモジュール44は、ライブラリ45の第1API47を呼び出し(S33)、取得したモデル名、データベース名、及び第2ファイルパスをライブラリ45に受け渡す(S34)。ステップS34の処理は、受渡処理の一例である。
The
ライブラリ45は、第1API47の引数として、モデル名、データベース名、及び第2ファイルパスを取得する(S34)。ライブラリ45は、取得したモデル名と、上述の変換対応テーブル48(図2(B))とに基づいて、ローカルコード種別と、配置種別とを特定する(S35)。ローカルコード種別とは、特定のモデルのプリンタが解釈可能な文字コードの種別であり、モデル毎に異なるローカルコード種別が用意されている。以下では、ローカルコード種別が示す文字コードをローカルコードと記載して説明する。
The
ライブラリ45は、取得した第2ファイルパスが示すユニコードCSVデータベースを、特定したローカルコード種別が示す文字コードで記述されたデータベースであるローカルコードデータベースに変換する(S36)。ローカルコードは、変換後の文字コードの一例である。ライブラリ45がモデル名を取得するステップS34の処理は、種別情報取得処理の一例である。また、ライブラリ45が、ユニコードCSVデータベースを示す第2ファイルパスを取得するステップS34の処理は、データ取得処理の一例である。ユニコードCSVデータベースは、第1形式の第1データの一例である。上述の配置位置及びローカルコードは、特定情報の一例である。ライブラリ45が、ローカルコード及び配置位置を特定するステップS35の処理は、特定処理の一例である。
The
次に、ライブラリ45は、ステップS35で特定した配置種別と、配置テーブル(図5(C))とに基づいて、PD3のデータ形式のデータベースを生成する(S37)。PD3のデータ形式は、CSVデータベースである基本データの他、プリンタ11に双方向通信を指示するコマンドをヘッダに有するデータ形式である。双方向通信とは、例えば、プリンタ11の制御プログラム67が、データの一部の受信を完了したことに応じて、データの残りの一部の送信を情報処理装置10に要求し、情報処理装置10がプリンタ11に送信するデータを、プリンタ11に順次送信する場合などに用いられる。PD3のデータ形式は、第3形式の一例である。PD3のデータ形式のデータベースは、第3データの一例である。
Next, the
ライブラリ45が、PD3形式のデータベースを生成するステップS37の処理について、図5を参照して詳しく説明する。PD3形式のデータは、CSVデータベースに対応するバイナリデータである基本データや、ローカルコードの名称や、ローカルコードで記述されたデータベース名や、インデックスデータなどを有する。以下では、基本データや、ローカルコードの名称や、データベース名や、インデックスデータを、部分データと記載して説明する。部分データの配置位置は、変換後のデータの構成の一例である。
The process of step S37 in which the
PD3形式のデータは、図5(A)に示されるように、部分データを、第1配置位置から順に配置して生成される。図における第1配置位置や、第2配置位置や、第3配置位置や、第4配置位置などの配置位置に配置される部分データの種類は、プリンタ11のモデル名ごとに相違する。各配置位置に配置される部分データの種類は、図5(C)に示される配置テーブルによって決定される。
The PD3 format data is generated by arranging the partial data in order from the first arrangement position as shown in FIG. 5A. The types of partial data arranged at the first arrangement position, the second arrangement position, the third arrangement position, the fourth arrangement position, and the like in the figure differ depending on the model name of the
配置テーブルは、配置種別と、各配置位置と、部分データの種別との対応を示すテーブルである。図示例では、配置種別「k011」と、第1配置位置「ローカルコードの名称」と、第2配置位置「データベース名」と、第3配置位置「基本データ」と、第4配置位置「インデックスデータ」とが対応付けられている。 The arrangement table is a table showing the correspondence between the arrangement type, each arrangement position, and the type of partial data. In the illustrated example, the placement type "k011", the first placement position "local code name", the second placement position "database name", the third placement position "basic data", and the fourth placement position "index data". "Is associated with.
ライブラリ45は、ローカルコードデータベースに含まれる基本データ及びデータベース名や、特定したローカルコードの名称や、生成したインデックスデータを、配置テーブルが示す配置位置で配置し、PD3形式のデータベースを生成する。図5(B)は、特定した配置種別が「k011」である場合に生成されるPD3形式のデータベースを示す。
The
ライブラリ45は、図4に示されるように、ステップS37で生成したPD3形式のデータベースに基づいて、特定形式のデータベースを生成する(S38)。特定形式は、図5(D)に示されるように、PD3形式のデータベースを含むデータ形式である。特定形式のデータベースは、PD3形式のデータベースに加え、プリンタ11に片方向通信でデータを入力する指示を示すコマンドをヘッダに有する。すなわち、ライブラリ45は、双方向通信でプリンタ11に入力する形式のPD3データではなく、片方向通信でプリンタ11にデータを入力する特定形式のデータを生成する。片方向通信は、例えば、情報処理装置10が、プリンタ11に送信すべきデータを、プリンタ11に対して確認を行わずに実行する通信である。
As shown in FIG. 4, the
ライブラリ45がPD3形式のデータベース(バイナリデータ)を生成するステップS37の処理、或いは、ライブラリ45が特定形式のデータベース(バイナリデータ)を生成するステップS38の処理は、データ変換処理の一例である。PD3形式のデータベース(バイナリデータ)或いは特定形式のデータベース(バイナリデータ)は、第2形式の第2データの一例である。
The process of step S37 in which the
ステップS34からS38までの処理について、さらに具体的に説明する。コモンモジュール44は、ライブラリ45が有する第1サブAPIを呼び出し、取得したモデル名をライブラリ45に受け渡す。ライブラリ45は、受け渡されたモデル名から、第2サブAPIを生成する。第1サブAPI及び第2サブAPIは、第1API47に含まれる。
The processes from steps S34 to S38 will be described in more detail. The
第2サブAPIは、第1クラス、第2クラス、及び第3クラスを示すAPIである。第1クラスは、ユニコードCSVデータベース及びデータベース名を、ローカルコードのCSVデータベース及びデータベース名に変換するクラスである。第2クラスは、上述の配置テーブルに基づいて配置位置を決定し、決定した配置位置で上述の部分データを配置してPD3形式のデータベースを生成するクラスである。第3クラスは、PD3形式のデータベースを特定形式のデータベースに変換するクラスである。ライブラリ45は、ローカルコード種別の数に応じた数の第1クラスと、一の第2クラスと、一の第3クラスとを予め有する。ライブラリ45は、受け渡されたモデル名に基づいて特定した第1クラスと、第2クラス及び第3クラスを示す第2サブAPIをコモンモジュール44に受け渡す。
The second sub-API is an API indicating a first class, a second class, and a third class. The first class is a class that converts a Unicode CSV database and database name into a local code CSV database and database name. The second class is a class that determines the arrangement position based on the above-mentioned arrangement table, arranges the above-mentioned partial data at the determined arrangement position, and generates a PD3 format database. The third class is a class that converts a PD3 format database into a specific format database. The
コモンモジュール44は、受け渡された第2サブAPIに、取得したデータベース名及び第2ファイルパスを入力し、インスタンスを生成する。生成されたインスタンスは、ユニコードのCSVデータベース及びデータベース名を、ローカルコードのCSVデータベース及びデータベース名に変換し、部分データを、モデル名で特定される配置位置に配置してPD3形式のデータベースを生成し、生成したPD3形式のデータベースを特定形式のデータベースに変換する処理を示す。コモンモジュール44は、生成したインスタンスをライブラリ45に受け渡す(S34)。
The
ライブラリ45は、コモンモジュール44から受け渡されたインスタンスを処理し(S35〜S38)、特定形式のデータベースを生成する(S38)。第2クラスから生成されたインスタンスに基づいて実行される処理は、特定した前記特定情報が示す前記配置位置で複数の前記部分データを配置する処理の一例である。第3クラスから生成されたインスタンスに基づいて実行される処理は、配置したデータを前記第2形式の前記第2データに変換する処理の一例である。ライブラリ45は、自己が有する第2サブAPIが示すクラスから生成したインスタンスを処理するので、コモンモジュール44から受け渡されたインスタンスを確実に処理して特定形式のデータベースを生成することができる。
The
なお、第1サブAPI、第2サブAPI、第1クラス、第2クラス、及び第3クラスに基づいて上述のステップS34からS38の処理が実行される例を説明したが、他の構成によってステップS34からS38の処理が実行されてもよい。 An example in which the processes of steps S34 to S38 described above are executed based on the first sub-API, the second sub-API, the first class, the second class, and the third class has been described, but the steps are based on other configurations. The processes of S34 to S38 may be executed.
ライブラリ45は、図4に示されるように、生成した特定形式のデータベースを示すファイルパスである第3ファイルパスを、第1API47の戻り値としてコモンモジュール44に受け渡し(S39)、特定形式のデータ生成処理を終了する。コモンモジュール44は、第3ファイルパスをライブラリ45から取得し(S39)、取得した第3ファイルパスを、第5API49の戻り値として本体モジュール43に受け渡し(S40)、特定形式のデータ生成処理を終了する。本体モジュール43は、第3ファイルパスをコモンモジュール44から取得し(S40)、特定形式のデータ生成処理を終了する。ライブラリ45が、特定形式のデータをコモンモジュール44に受け渡すステップS39の処理は、出力処理の一例である。
As shown in FIG. 4, the
本体モジュール43は、図3に示されるように、特定形式のデータ生成処理(S20)の終了後、OS36が提供するDLLの第4API39(図1)を呼び出して(S21)、第3ファイルパスを第4API39に受け渡し、第3ファイルパスが示す特定形式のデータベースをプリンタ11に送信することを、OS36が提供するDLLに指示する。当該DLLは、受け渡された第3ファイルパスが示す特定形式のデータベースを、通信インタフェース23を通じて片方向通信でプリンタ11に送信する(S22)。
As shown in FIG. 3, the
プリンタ11に実装された制御プログラム67は、特定形式のデータベースを通信インタフェース53を通じて受信する(S22)。制御プログラム67は、受信した特定形式のデータベースを、プリンタ11のメモリ62に記憶させて登録する(S23)。制御プログラム67は、登録されたデータベースに基づいて、印刷処理を実行する(S24)。例えば、制御プログラム67は、データベース(図2(C))の番号「1」の印刷の指示を受け付けたことに応じて、データベースから「1階」、「空調」、及び「200V」を読み出し、読み出した「1階」、「空調」、及び「200V」を、上述の印刷領域データが示す「TEXT1」、「TEXT2」、及び「TEXT3」にそれぞれ配置して、印刷エンジン52に入力するデータを生成する。そして、制御プログラム67は、生成したデータを印刷エンジン52に入力し、印刷エンジン52に対して、ラベルに画像を印刷させる。
The
次に、アプリケーション37が、入力された画像データを変換して印刷データを生成し、生成した印刷データをプリンタ11に入力してプリンタ11に印刷を実行させる処理について、図6を参照して説明する。すなわち、アプリケーション37は、データベースをプリンタ11に入力することができ、かつ、入力された画像データから印刷データを生成してプリンタ11に入力することができるプログラムである。
Next, a process in which the
アプリケーション37は、例えば、画像データを作成したプログラムからの指示により、OS36によって起動される。或いは、アプリケーション37は、ユーザの起動指示により起動される。起動されたアプリケーション37の本体モジュール43は、上述のステップS11からS15までの処理を実行し、プリンタ11のモデル名を取得する(S41)。また、本体モジュール43は、OS36から、画像データのファイルパスを取得する(S42)。
The
本体モジュール43は、コモンモジュール44が有する不図示のAPIを呼び出し(S43)、取得したモデル名及び画像データのファイルパスをコモンモジュール44に受け渡す(S44)。
The
コモンモジュール44は、本体モジュール43からモデル名及びファイルパスを取得する(S44)。コモンモジュール44は、取得したモデル名と、取得したファイルパスが示す画像データに基づいて、印刷データを生成する(S45)。コモンモジュール44は、例えば周知の技術を用いて印刷データを生成する。コモンモジュール44は、生成した印刷データのファイルパスを、上述のAPIの戻り値として本体モジュール43に受け渡す(S46)。
The
本体モジュール43は、OS36が提供するDLLの第4API39を呼び出し(S47)、印刷データのファイルパスを当該DLLに受け渡す。当該DLLは、ファイルパスが示す印刷データを、通信インタフェース23を通じてプリンタ11に送信する(S48)。
The
プリンタ11に実装された制御プログラム67は、通信インタフェース53を通じて印刷データを受信する(S48)。制御プログラム67は、受信した印刷データを印刷エンジン52に入力し、印刷データが示す画像をラベルに印刷させる(S49)。
The
[実施形態の作用効果]
ライブラリ45は、取得したモデル名に対応するローカルコード種別の文字コードと配置位置とを変換対応テーブル48において特定する。そして、ライブラリ45は、特定した文字コードと配置位置とに基づいて、ユニコードのCSVデータベースを、特定したローカルコードの特定形式のデータベースに変換する。したがって、ライブラリ45は、プリンタ11の種別に応じて、プリンタ11に入力可能なデータの形態のデータベースを生成することができる。
[Action and effect of the embodiment]
The
また、ライブラリ45は、モデル名と配置位置とを対応付けたテーブルを有しているので、部分データの配置位置がプリンタ11の種別によって異なるPD3のデータ形式のデータベースを生成することができる。
Further, since the
また、ライブラリ45は、部分データを、特定した配置位置で配置してPD3形式のデータベースを生成するインスタンスを生成する一の第2クラスと、生成したPD3形式のデータベースを特定形式のデータベースに変換するインスタンスを生成する一の第3クラスとを有する第2サブAPIを有する。したがって、プリンタの種別ごとに、PD3形式のデータベースを生成し、生成したPD3形式のデータベースを特定形式のデータベースに変換するAPIをライブラリ45に設ける場合に比べて、ライブラリ45が有するクラスの数を低減することができる。その結果、ライブラリ45が簡素化され、携帯端末に実装することができるアプリケーション37が実現される。
In addition, the
また、ライブラリ45は、ユニコードを、プリンタ11の種別に応じたローカルコード種別の文字コードに変換するインスタンスを生成する第1クラスを有する。そして、ライブラリ45は、第1クラスに基づいて生成されたインスタンスを処理することにより、ユニコードのCSVデータベースを、プリンタ11の種別に応じた文字コードのCSVデータベースに変換することができる。したがって、ライブラリ45は、プリンタ11の種別に応じた文字コードのデータベースを生成することができる。したがって、ライブラリ45は、プリンタ11の種別に拘わらず、プリンタ11が解釈可能な文字コードで記述されたデータベースを生成することができる。
Further, the
本体モジュール43は、OS36が提供するDLLの第2API38を呼び出して、当該DLLに、表作成プログラムが作成したCSVデータベースの文字コードをユニコードのCSVデータベースに変換させる(S18)。そして、本体モジュール43は、ユニコードのCSVデータベースを、コモンモジュール44を介してライブラリ45に受け渡す。したがって、ライブラリ45に入力するCSVデータベースの文字コードをユニコードに限定することができる。したがって、種々の文字コードで記述されたCSVデータベースをライブラリ45に入力する場合に比べ、ライブラリ45で実行する処理を低減することができる。
The
アプリケーション37は、ライブラリ45に加え、コモンモジュール44を備える。したがって、アプリケーション37は、プリンタ11に入力可能な特定形式のデータベースを生成することもできるし、画像データから印刷データを生成することもできる。
The
また、ライブラリ45は、C++のプログラム言語で記述されている。したがって、C++で記述されたプログラムと情報やデータを受け渡し可能なプログラムであれば、ライブラリ45に情報やデータを受け渡してライブラリ45を利用することができる。
The
[その他の変形例]
上述の実施形態では、本体モジュール43が、ライブラリ45が生成した特定形式のデータベース(バイナリデータ)をOS36を介してプリンタ11に送信する例を説明した。しかしながら、本体モジュール43は、ライブラリ45が生成した特定形式のデータベース(バイナリデータ)をバイナリデータのまま、或いはファイル形式にして、メモリ32のデータ記憶領域35に記憶させてもよい。また、本体モジュール43は、ライブラリ45が生成した特定形式のデータベース(バイナリデータ)を、バイナリデータのまま、或いはファイル形式にして、プリンタ11以外の装置に送信してもよい。
[Other variants]
In the above-described embodiment, an example has been described in which the
上述の実施形態では、OS36が提供するDLLに、表作成プログラムが作成したCSVデータベースの文字コードをユニコードのCSVデータベースに変換させる例を説明した。しかしながら、アプリケーション37は、表作成プログラムが作成したCSVデータベースの文字コードをユニコードのCSVデータベースに変換するモジュールをさらに備えていてもよい。
In the above-described embodiment, an example in which the DLL provided by the
上述の実施形態では、ライブラリ45が、特定形式のデータベースを生成し、生成した特定形式のデータベースをコモンモジュール44に受け渡す例を説明した。しかしながら、ライブラリ45は、PD3形式のデータベースを生成し(S37)、生成したPD3形式のデータベースをコモンモジュール44に受け渡してもよい。
In the above-described embodiment, an example has been described in which the
上述の実施形態では、アプリケーション37に入力されるデータベースが、CSVデータベースである例を説明した。しかしながら、アプリケーション37に入力されるデータベースは、CSVデータベースに限定されない。
In the above-described embodiment, an example in which the database input to the
上述の実施形態では、部分データの例として、「ローカルコードの名称」、「データベース名」、「基本データ」、「インデックスデータ」を説明した。しかしながら、部分データは、例示したデータ以外のデータであってもよい。 In the above-described embodiment, "local code name", "database name", "basic data", and "index data" have been described as examples of partial data. However, the partial data may be data other than the illustrated data.
上述の実施形態では、印刷データを生成するコモンモジュール44が、データベースのデータ形式の変換をライブラリ45に指示する例を説明した。しかしながら、本体モジュール43が、データベースのデータ形式の変換をライブラリ45に直接指示してもよいし、データベースのデータ形式の変換をコモンモジュール44以外のモジュールを介してライブラリ45に指示してもよい。
In the above-described embodiment, an example in which the
上述の実施形態では、変換前のCSVデータベースファイルを示す第1ファイルパスと、変換後のユニコードCSVデータベースを示す第2ファイルパスとが相違する例を説明した。同様に、第2ファイルパスと第3ファイルパスとが相違する例を説明した。しかしながら、第1ファイルパスと第2ファイルパスとが同一のファイルパスであってもよいし、第2ファイルパスと第3ファイルパスとが同一のファイルパスであってもよい。すなわち、変換前のデータを示すファイルパスと、変換後のデータを示すファイルパスとは、同一であってもよい。 In the above-described embodiment, an example in which the first file path indicating the CSV database file before conversion and the second file path indicating the Unicode CSV database after conversion are different has been described. Similarly, an example in which the second file path and the third file path are different has been described. However, the first file path and the second file path may be the same file path, or the second file path and the third file path may be the same file path. That is, the file path indicating the data before conversion and the file path indicating the data after conversion may be the same.
10・・・情報処理装置
11・・・プリンタ
23・・・通信インタフェース
37・・・アプリケーション
38・・・第2API
41・・・UIモジュール
42・・・本体プログラム
43・・・本体モジュール
44・・・コモンモジュール
45・・・ライブラリ
46・・・第3API
47・・・第1API
48・・・変換対応テーブル
10 ...
41 ...
47 ... 1st API
48 ... Conversion compatible table
Claims (10)
前記変換対応テーブルは、プリンタの種別を示す種別情報と、変換後のデータの構成と、変換後のデータの文字コードの種別とのうち少なくとも一方を特定する特定情報との対応を示すテーブルであり、
前記種別情報を取得する種別情報取得処理と、
第1形式のデータである第1データを取得するデータ取得処理と、
取得した前記種別情報に対応する前記特定情報を前記変換対応テーブルに基づいて特定する特定処理と、
前記第1形式の前記第1データを、特定した前記特定情報に応じたデータであって、前記プリンタに入力可能な第2形式のデータである第2データに変換するデータ変換処理と、
前記第2データを出力する出力処理と、を前記コンピュータに実行させるプログラム。 A program that is executed by the computer of the information processing device and has a conversion compatible table.
The conversion correspondence table is a table showing the correspondence between the type information indicating the type of the printer, the configuration of the data after conversion, and the specific information that specifies at least one of the character code types of the data after conversion. ,
The type information acquisition process for acquiring the type information and
Data acquisition processing to acquire the first data, which is the data of the first format,
Specific processing for specifying the specific information corresponding to the acquired type information based on the conversion correspondence table, and
A data conversion process for converting the first data in the first format into second data, which is data corresponding to the specified specific information and is data in the second format that can be input to the printer.
A program that causes the computer to execute an output process for outputting the second data.
前記データの構成は、前記第1データに含まれる複数の部分データの配置位置を示しており、
前記データ変換処理は、
特定した前記特定情報が示す前記配置位置で複数の前記部分データを配置する処理と、
配置したデータを前記第2形式の前記第2データに変換する処理と、を含む請求項1に記載のプログラム。 The specific information shows the structure of the converted data.
The structure of the data indicates the arrangement position of a plurality of partial data included in the first data.
The data conversion process
A process of arranging a plurality of the partial data at the arrangement position indicated by the specified specific information, and
The program according to claim 1, further comprising a process of converting the arranged data into the second data of the second format.
前記データ変換処理は、
前記第1データの文字コードを、特定した前記特定情報が示す種別の文字コードに変換する処理と、
前記特定情報が示す種別の文字コードに変換したデータを前記第2形式の前記第2データに変換する処理と、を含む請求項1から3のいずれかに記載のプログラム。 The specific information indicates the type of character code of the converted data.
The data conversion process
A process of converting the character code of the first data into a character code of the type indicated by the specified specific information, and
The program according to any one of claims 1 to 3, comprising a process of converting data converted into a character code of the type indicated by the specific information into the second data of the second format.
前記データの構成は、前記第1データに含まれる複数の部分データの配置位置を示しており、
前記データ変換処理は、
前記第1データの文字コードを、特定した前記特定情報が示す種別の文字コードに変換する処理と、
特定した前記特定情報が示す前記配置位置で複数の前記部分データを配置して第3形式の第3データを生成する処理と、
配置したデータを前記第2形式の前記第2データに変換する処理と、を含んでおり、
前記データ変換処理を実行する第1APIを有する請求項1に記載のプログラム。 The specific information indicates the structure of the data after conversion and the type of character code of the data after conversion.
The structure of the data indicates the arrangement position of a plurality of partial data included in the first data.
The data conversion process
A process of converting the character code of the first data into a character code of the type indicated by the specified specific information, and
A process of arranging a plurality of the partial data at the arrangement position indicated by the specified specific information to generate a third data of the third format, and
It includes a process of converting the arranged data into the second data of the second format.
The program according to claim 1, which has a first API that executes the data conversion process.
前記第2データは、前記情報処理装置から前記プリンタへの片方向通信を指示するコマンドを含むデータである請求項5に記載のプログラム。 The third data is data including a command instructing bidirectional communication between the information processing device and the printer.
The program according to claim 5, wherein the second data is data including a command instructing one-way communication from the information processing device to the printer.
前記コンピュータによって実行される第2モジュールと、を備えており、
前記第2モジュールは、
第4形式のデータである元データを取得する元データ取得処理と、
共通コードに変換する第2APIであって、前記情報処理装置のOSが提供する当該第2APIに、前記元データの文字コードを共通文字コードに変換させて前記第1データを取得するデータ取得処理と、
取得した前記第1データを前記第1モジュールに取得させる受渡処理と、を前記コンピュータに実行させるデータ生成プログラム。 The first module, which is the program according to any one of claims 1 to 7,
It has a second module, which is executed by the computer.
The second module is
Original data acquisition process to acquire the original data which is the data of the 4th format,
A data acquisition process for converting the character code of the original data into a common character code and acquiring the first data in the second API provided by the OS of the information processing apparatus, which is a second API that converts to a common code. ,
A data generation program that causes the computer to execute a delivery process for causing the first module to acquire the acquired first data.
前記第2モジュールは、前記第4モジュールによって呼び出される第3APIを有しており、
前記第4モジュールは、前記第3APIを呼び出して、前記第2モジュールに前記元データを受け渡す処理を前記コンピュータに実行させる請求項8または9に記載のデータ生成プログラム。
It also has a 4th module,
The second module has a third API called by the fourth module.
The data generation program according to claim 8 or 9, wherein the fourth module calls the third API and causes the computer to execute a process of passing the original data to the second module.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019110889A JP7290073B2 (en) | 2019-06-14 | 2019-06-14 | program |
US16/891,677 US11435965B2 (en) | 2019-06-14 | 2020-06-03 | Storage medium storing program for converting first data into second data to be inputted to printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019110889A JP7290073B2 (en) | 2019-06-14 | 2019-06-14 | program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020204807A true JP2020204807A (en) | 2020-12-24 |
JP7290073B2 JP7290073B2 (en) | 2023-06-13 |
Family
ID=73838397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019110889A Active JP7290073B2 (en) | 2019-06-14 | 2019-06-14 | program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7290073B2 (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07129342A (en) * | 1993-11-04 | 1995-05-19 | Fuji Xerox Co Ltd | Control system for printer device |
JPH1195941A (en) * | 1997-09-19 | 1999-04-09 | Fujitsu Ltd | Printer system, printer unit and computer device for the same |
JP2000020259A (en) * | 1998-07-07 | 2000-01-21 | Nagano Nippon Denki Software Kk | Printer control data conversion system and recording medium where program for printer control data conversion is recorded |
US20020054345A1 (en) * | 2000-08-29 | 2002-05-09 | Casio Computer Co., Ltd. | Peripheral device, printing apparatus, data acquisition method, print support method, print support system, portable communication terminal, and printing method |
JP2002318677A (en) * | 2002-01-24 | 2002-10-31 | Seiko Epson Corp | System for mediating printing on network |
JP2005135180A (en) * | 2003-10-30 | 2005-05-26 | Teraoka Seiko Co Ltd | Printing and character printing system |
JP2005222459A (en) * | 2004-02-09 | 2005-08-18 | Fuji Xerox Co Ltd | Business form printing data preparation system |
JP2013210885A (en) * | 2012-03-30 | 2013-10-10 | Seiko Epson Corp | Print control unit, print system, and print control method |
JP2015227001A (en) * | 2014-05-30 | 2015-12-17 | ブラザー工業株式会社 | Printer |
JP2018069512A (en) * | 2016-10-27 | 2018-05-10 | セイコーエプソン株式会社 | Printer and control method for the same |
-
2019
- 2019-06-14 JP JP2019110889A patent/JP7290073B2/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07129342A (en) * | 1993-11-04 | 1995-05-19 | Fuji Xerox Co Ltd | Control system for printer device |
JPH1195941A (en) * | 1997-09-19 | 1999-04-09 | Fujitsu Ltd | Printer system, printer unit and computer device for the same |
JP2000020259A (en) * | 1998-07-07 | 2000-01-21 | Nagano Nippon Denki Software Kk | Printer control data conversion system and recording medium where program for printer control data conversion is recorded |
US20020054345A1 (en) * | 2000-08-29 | 2002-05-09 | Casio Computer Co., Ltd. | Peripheral device, printing apparatus, data acquisition method, print support method, print support system, portable communication terminal, and printing method |
JP2002175226A (en) * | 2000-08-29 | 2002-06-21 | Casio Comput Co Ltd | Slaved device, printer, method of acquiring information, method and system for supporting printing, mobile communication terminal, and printing method |
JP2002318677A (en) * | 2002-01-24 | 2002-10-31 | Seiko Epson Corp | System for mediating printing on network |
JP2005135180A (en) * | 2003-10-30 | 2005-05-26 | Teraoka Seiko Co Ltd | Printing and character printing system |
JP2005222459A (en) * | 2004-02-09 | 2005-08-18 | Fuji Xerox Co Ltd | Business form printing data preparation system |
JP2013210885A (en) * | 2012-03-30 | 2013-10-10 | Seiko Epson Corp | Print control unit, print system, and print control method |
JP2015227001A (en) * | 2014-05-30 | 2015-12-17 | ブラザー工業株式会社 | Printer |
JP2018069512A (en) * | 2016-10-27 | 2018-05-10 | セイコーエプソン株式会社 | Printer and control method for the same |
Also Published As
Publication number | Publication date |
---|---|
JP7290073B2 (en) | 2023-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10356181B2 (en) | Information processing system, information processing method and computer program product | |
JP5154533B2 (en) | Program generating apparatus and program | |
JP6729168B2 (en) | Content processing device | |
KR100886044B1 (en) | Contents editor and method of editing contents using the same, and program product | |
JP2013058090A (en) | Information processing apparatus, information processing method, and program | |
CN109976681B (en) | Information processing apparatus, image forming apparatus, and computer-readable recording medium | |
JP2021056757A (en) | Program and information processing device | |
JP2012003410A (en) | Cartoon production support system and program | |
US9134941B2 (en) | Printer | |
JP2011232971A (en) | Display picture generation program, display picture generation device, and display picture generation method | |
JP2017204209A (en) | Selection program and selection apparatus | |
JP7290073B2 (en) | program | |
JP7306088B2 (en) | program group | |
US11435965B2 (en) | Storage medium storing program for converting first data into second data to be inputted to printer | |
JP7234687B2 (en) | modules and programs | |
JP2019020892A (en) | Printing system and printer used in the same | |
JP7234688B2 (en) | Program, application, information processing device | |
JP7263837B2 (en) | Program, application, information processing device | |
JP2005107635A (en) | Electronic form input system, method and program, and medium | |
JP3710719B2 (en) | Information processing system and interface system | |
JP2007115189A (en) | Form processor, control method and program | |
JP2020144523A (en) | program | |
JP2005092522A (en) | System for transition of screen state, interface system, program for transition of screen state, program for interface system, method for transition of screen state, and interface method | |
JP4457705B2 (en) | Service processing apparatus and document processing system | |
JP3614136B2 (en) | Information transmission method and information processing apparatus with transmission function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220517 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230213 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230221 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230417 |
|
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: 20230502 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230515 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7290073 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |