JP2021026266A - Program and information processing device - Google Patents
Program and information processing device Download PDFInfo
- Publication number
- JP2021026266A JP2021026266A JP2019140868A JP2019140868A JP2021026266A JP 2021026266 A JP2021026266 A JP 2021026266A JP 2019140868 A JP2019140868 A JP 2019140868A JP 2019140868 A JP2019140868 A JP 2019140868A JP 2021026266 A JP2021026266 A JP 2021026266A
- Authority
- JP
- Japan
- Prior art keywords
- paper
- information
- paper information
- database
- registration
- 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
- 230000010365 information processing Effects 0.000 title claims description 31
- 238000007639 printing Methods 0.000 claims abstract description 25
- 238000000034 method Methods 0.000 claims description 93
- 238000004891 communication Methods 0.000 claims description 14
- 238000000605 extraction Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 claims description 11
- 238000012937 correction Methods 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000012217 deletion Methods 0.000 description 10
- 230000037430 deletion Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000010561 standard procedure Methods 0.000 description 1
Images
Landscapes
- Facsimiles In General (AREA)
- Record Information Processing For Printing (AREA)
Abstract
Description
本明細書に開示される技術分野は、用紙サイズが定義された用紙情報の登録に用いるプログラムおよび情報処理装置に関するものである。 The technical fields disclosed in this specification relate to programs and information processing devices used for registering paper information in which paper sizes are defined.
パーソナルコンピュータ等の情報処理装置において、用紙サイズが定義された用紙情報を記憶することが可能であり、アプリケーションプログラムからその用紙情報を用いて印刷設定を行う技術が知られている。例えば、特許文献1には、クライアント端末にて用紙情報の設定画面を表示し、定義された用紙サイズをプリンタのプロパティとして登録する技術が開示されている。 In an information processing device such as a personal computer, it is possible to store paper information in which a paper size is defined, and a technique is known in which print settings are made using the paper information from an application program. For example, Patent Document 1 discloses a technique of displaying a paper information setting screen on a client terminal and registering a defined paper size as a property of a printer.
同じ用紙サイズが定義された用紙情報が複数登録されることがある。しかしながら、同じ用紙サイズが定義された用紙情報が複数登録されている場合、その複数の用紙情報をユーザが所望する通りに的確に利用できないことがある。例えば第1の用紙種と第2の用紙種とで同じ用紙サイズが定義された用紙情報がそれぞれ登録されている場合に、第2の用紙種の用紙情報の利用をユーザが所望し、その用紙サイズを選択しても、第1の用紙種の用紙情報が利用されることがある。この場合、プリンタによる印刷物がユーザの所望するものにならない可能性が高い。あるいはプリンタに不具合を発生させる原因となってしまう可能性もある。 Multiple paper information with the same paper size defined may be registered. However, when a plurality of paper information having the same paper size defined is registered, the plurality of paper information may not be accurately used as desired by the user. For example, when paper information in which the same paper size is defined for the first paper type and the second paper type is registered, the user desires to use the paper information of the second paper type, and the paper is used. Even if the size is selected, the paper information of the first paper type may be used. In this case, there is a high possibility that the printed matter produced by the printer will not be what the user wants. Alternatively, it may cause a malfunction in the printer.
本明細書は、用紙サイズが定義された用紙情報の登録を行う技術であって、前記課題を解決する技術を開示する。 The present specification discloses a technique for registering paper information in which a paper size is defined, and a technique for solving the above-mentioned problems.
この課題の解決を目的としてなされたプログラムは、情報処理装置のコンピュータが実行可能なプログラムであって、前記コンピュータに、用紙サイズが定義された用紙情報をデータベースに登録することを指示する登録指示を、前記情報処理装置の入力インタフェースを介して受け付けた場合に、前記登録指示によって指示された前記用紙情報を前記データベースに登録する登録処理を実行させ、前記データベースは、複数の前記用紙情報を登録しておくことが可能であり、さらに前記データベースは、前記情報処理装置に組み込まれているアプリケーションプログラムによって参照され、前記アプリケーションプログラムは、前記データベースに登録されている前記用紙情報のうちいずれかを選択し、選択した前記用紙情報によって定義される用紙サイズの用紙への印刷を、前記情報処理装置の通信インタフェースを介して前記情報処理装置と接続されるプリンタへ指示することが可能であり、さらに前記コンピュータに、前記登録処理において、前記データベースに登録されている既存の前記用紙情報である既存用紙情報の中から、前記登録指示の対象となった用紙情報である新規用紙情報と同じ用紙サイズを定義する用紙情報である特定用紙情報の抽出を試行する抽出処理を実行させ、前記抽出処理にて前記特定用紙情報が抽出された場合に、抽出された前記特定用紙情報と前記新規用紙情報との少なくとも一方を、定義する用紙サイズを変更するように修正する修正処理を実行させた上で前記新規用紙情報を登録させる、ことを特徴としている。 The program made for the purpose of solving this problem is a program that can be executed by a computer of an information processing apparatus, and gives a registration instruction instructing the computer to register paper information in which a paper size is defined in a database. When the information is received via the input interface of the information processing apparatus, the registration process of registering the paper information instructed by the registration instruction in the database is executed, and the database registers a plurality of the paper information. Further, the database is referred to by an application program incorporated in the information processing apparatus, and the application program selects one of the paper information registered in the database. It is possible to instruct a printer connected to the information processing device to print on a paper having a paper size defined by the selected paper information via the communication interface of the information processing device, and further, the computer. In the registration process, the same paper size as the new paper information, which is the paper information subject to the registration instruction, is defined from the existing paper information, which is the existing paper information registered in the database. When an extraction process is executed to try to extract specific paper information which is paper information, and the specific paper information is extracted by the extraction process, at least one of the extracted specific paper information and the new paper information. Is characterized in that the new paper information is registered after executing a correction process for modifying the defined paper size.
本明細書に開示されるプログラムを実行することで、情報処理装置は、用紙情報をデータベースに登録する指示を受け付けた場合、登録対象の新規の用紙情報と同じ用紙サイズを定義する既存の用紙情報の抽出を試行し、抽出された場合、新規の用紙情報と既存の用紙情報との少なくとも一方の用紙サイズを変更して新規の用紙情報をデータベースに登録する。これにより、既存の用紙情報と新規の用紙情報とは、互いに異なる用紙サイズの用紙情報として両方がデータベースに登録される。従って、同じ用紙サイズの用紙情報がデータベースに登録されることはなく、アプリケーションプログラムにてユーザに選択された用紙情報が印刷物の生成時に用いられることから、ユーザの所望の印刷物を得られる可能性が高い。 By executing the program disclosed in the present specification, when the information processing apparatus receives an instruction to register the paper information in the database, the existing paper information that defines the same paper size as the new paper information to be registered. When the new paper information and the existing paper information are extracted, the new paper information is registered in the database by changing the paper size of at least one of the new paper information and the existing paper information. As a result, both the existing paper information and the new paper information are registered in the database as paper information having different paper sizes. Therefore, the paper information of the same paper size is not registered in the database, and the paper information selected by the user in the application program is used at the time of generating the printed matter, so that the user's desired printed matter may be obtained. high.
上記プログラムの機能を実現する情報処理装置、プログラムの機能を実現するための制御方法、プログラムを格納するコンピュータにて読取可能な記憶媒体も、新規で有用である。 An information processing device that realizes the function of the program, a control method for realizing the function of the program, and a storage medium that can be read by a computer that stores the program are also new and useful.
本明細書に開示される技術によれば、用紙サイズが定義された用紙情報の登録を行う技術であって、ユーザが登録された用紙情報を選択して印刷を行った際に、所望の印刷物を得られる可能性を高められる技術が実現される。 According to the technique disclosed in the present specification, it is a technique for registering paper information in which a paper size is defined, and when a user selects and prints the registered paper information, a desired printed matter is printed. Technology that can increase the possibility of obtaining
以下、パーソナルコンピュータ(以下、「PC」とする)を具体化した実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、連続した帯状の印刷媒体、いわゆるロール紙に印刷するプリンタに接続されるPCを開示するものである。 Hereinafter, embodiments embodying a personal computer (hereinafter referred to as “PC”) will be described in detail with reference to the accompanying drawings. The present embodiment discloses a PC connected to a printer that prints on continuous strip-shaped printing media, so-called roll paper.
本形態の印刷システムは、図1に示すように、互いに通信可能に接続されたPC1とプリンタ2とを含む。PC1は、プリンタ2に印刷させるための各種のアプリケーションプログラム(以下、「アプリ」とする)を実行可能な装置である。PC1は、情報処理装置の一例である。PC1に代えて、例えば、スマートフォン、タブレットコンピュータであっても良い。
As shown in FIG. 1, the printing system of this embodiment includes a PC 1 and a
PC1は、図1に示すように、CPU11と、メモリ12と、を含む制御基板10を備えている。さらに、PC1は、ユーザインタフェース(以下、「ユーザIF」とする)20と、通信インタフェース(以下、「通信IF」とする)30と、を備え、これらが制御基板10に電気的に接続されている。なお、図1中の制御基板10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。
As shown in FIG. 1, the PC 1 includes a
CPU11は、メモリ12から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。CPU11は、コンピュータの一例である。メモリ12は、ROM、RAMを含み、さらにHDD、フラッシュメモリ等の不揮発性メモリを含み、各種のプログラムやデータを記憶する。メモリ12は、メモリの一例である。また、CPU11がCPUバッファを備えているものであれば、CPUバッファもメモリの一例である。
The
メモリの一例はいずれも、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non−transitoryな媒体である。non−transitoryな媒体には、上記の例の他に、CD−ROM、DVD−ROM等の記録媒体も含まれる。また、non−transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non−transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。 Any example of the memory may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, the non-transitory medium also includes a recording medium such as a CD-ROM or a DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, an electric signal that carries a program downloaded from a server on the Internet is a computer-readable signal medium, which is a kind of computer-readable medium, but is a storage that can be read by a non-transitory computer. Not included in the medium.
ユーザIF20は、ユーザによる入力操作を受け付けるキーボードやマウス等と、情報を表示するディスプレイ等と、のハードウェアを含む。ユーザIF20は、入力インタフェースの一例である。ユーザIF20は、操作受付機能と表示機能との両方を備えたタッチパネル等を含んでいても良い。
The user IF 20 includes hardware such as a keyboard and a mouse that accept input operations by the user, a display that displays information, and the like. The user IF20 is an example of an input interface. The
通信IF30は、プリンタ2等の外部装置との通信を行うためのハードウェアを含む。通信IF30の通信方式は、無線でも有線でもよく、また、LAN、Wi−Fi(登録商標)、Bluetooth(登録商標)、USB等、どのような規格の方式でもよい。
The communication IF 30 includes hardware for communicating with an external device such as a
本形態のPC1のメモリ12には、図1に示すように、オペレーティングシステム(以下、「OS」とする)41と、コンテンツアプリ42と、印刷管理プログラム43と、用紙登録アプリ44と、が組み込まれている。コンテンツアプリ42は、印刷対象の画像を作成および編集するプログラム群である。コンテンツアプリ42は、ユーザの指示に基づいて、文書コンテンツ、図表コンテンツ、プレゼンテーションコンテンツなどのコンテンツを作成、編集する。コンテンツアプリ42は、さらに、作成したコンテンツの印刷指示を受け付ける。コンテンツアプリ42は、アプリケーションプログラムの一例である。
As shown in FIG. 1, the
印刷管理プログラム43は、コンテンツアプリ42等のアプリにて受け付けた印刷指示に基づいて、印刷データの生成や生成した印刷データのプリンタ2への送信を行うプログラム群である。印刷管理プログラム43には、印刷設定に用いるための各種の情報を記憶する設定情報431が含まれる。
The
設定情報431には、PC1に接続されている各プリンタに固有の情報が含まれ、例えば、プリンタ2にて選択可能な用紙に関する用紙情報が記憶される。設定情報431は、データベースの一例である。設定情報431に記憶される用紙情報には用紙サイズの情報や用紙種類の情報が含まれる。用紙情報によって定義される用紙サイズは、A4やB5等の定型サイズであってもよいし、幅と長さとを含むユーザ定義サイズであっても良い。
The setting
用紙登録アプリ44は、プリンタ2等にて使用する各種の用紙について、新規の用紙情報の登録指示や既存の用紙情報の削除指示を受け付け、受け付けた指示に基づいて設定情報431を更新するプログラムである。用紙登録アプリ44は、プログラムの一例である。用紙登録アプリ44には、用紙情報保管領域441が含まれる。
The
コンテンツアプリ42は、印刷実行の指示を受け付ける前に、例えば、用紙情報を含む印刷設定のユーザによる指定を受け付ける。コンテンツアプリ42は、印刷管理プログラム43に登録されている用紙の用紙情報を設定情報431から取得し、取得した情報に基づいて、例えば、用紙の選択肢を表示することで、用紙の選択を受け付ける。さらに、コンテンツアプリ42は、印刷実行の指示を受け付けた場合、選択された用紙の用紙情報を含む印刷設定の情報と印刷対象の画像の情報とを印刷管理プログラム43に渡す。
The
コンテンツアプリ42と印刷管理プログラム43とは、OS41の種類に応じたものが使用可能である。例えば、OS41としてLinux(登録商標)を使用するPC1では、コンテンツアプリ42としては、例えば、LibreOfficeが使用可能であり、印刷管理プログラム43としては、例えば、CUPS(Common Unix Printing System)(登録商標)が使用可能である。CUPSは、OS41の一部として組み込まれている。そして、CUPSは、設定情報431として、ファイル形式のPPD(PostScript Printer Description)を含む。
As the
なお、OS41は、Linuxに限らず、例えば、Windows(登録商標)、MacOS(登録商標)、iOS(登録商標)、Android(登録商標)でも良い。その場合、コンテンツアプリ42は、例えば、Microsoft Office(登録商標)でも良い。また、設定情報431は、ファイル形式でなくても良く、コンテンツアプリ42や印刷管理プログラム43から参照可能な情報であればよい。
The
本形態のプリンタ2は、例えば、熱転写方式の印刷ヘッドを備え、ロール状に巻き取られたラベル紙を収容し、ラベル紙を巻き出しつつ印刷を行う、いわゆるラベルプリンタである。ラベル紙は、ロール紙の一例である。プリンタ2にて印刷に用いられるラベル紙の種類としては、例えば、長尺テープ、ダイカットラベル、マーク付きメディアがある。長尺テープは、連続した剥離紙の一面に、剥離紙と同様に連続した帯状の用紙が貼着されているものである。ダイカットラベルは、所定の形状に予め整形された用紙が、連続した剥離紙の一面に所定の間隔を空けて貼着されているものである。マーク付きメディアは、ラベル紙の搬送方向に所定の間隔で、予め所定のマークが設けられている用紙である。
The
プリンタ2にて受け付ける印刷ジョブの印刷設定には、用紙情報として、用紙の種類の情報と用紙サイズの情報とが含まれる。プリンタ2による印刷対象の用紙はラベル紙であることから、用紙サイズの情報には、ラベル幅とラベル長さとの情報が含まれる。ラベル幅とラベル長さとの組み合わせは、用紙サイズのうちの縦方向と横方向との組み合わせに該当する。ラベル幅は、剥離紙に貼着されている用紙のうち、ラベル紙の搬送される方向に直交する方向のサイズであり、ラベル紙ごとに特定されている。ラベル長さは、作成されるラベルのうち、ラベル紙の搬送される方向のサイズである。
The print setting of the print job accepted by the
用紙が長尺テープであれば、ラベル長さは、比較的自由に設定可能である。つまり、長尺テープを用いる場合の用紙サイズは、ラベル幅はラベル用紙に応じて特定されており、ラベル長さは特定されていない。長尺テープは、第2の用紙種の一例である。一方、用紙がダイカットラベルであれば、用紙サイズのラベル幅とラベル長さとは、いずれも、ラベル用紙に応じて特定されている。また、マーク付きメディアを用いてラベルを作成する場合、マークの間隔に応じて、通常各ラベルにそれぞれマークが含まれるようにラベル長さが設定される。そのため、マーク付きメディアの用紙サイズは、ラベル用紙に応じて特定されている。ダイカットラベルとマーク付きメディアとは、第1の用紙種の一例である。 If the paper is a long tape, the label length can be set relatively freely. That is, in the paper size when the long tape is used, the label width is specified according to the label paper, and the label length is not specified. The long tape is an example of the second paper type. On the other hand, if the paper is a die-cut label, the label width and the label length of the paper size are both specified according to the label paper. When a label is created using marked media, the label length is usually set so that each label contains a mark according to the interval between the marks. Therefore, the paper size of the marked media is specified according to the label paper. The die-cut label and the marked media are examples of the first paper type.
プリンタ2は、例えば、透過センサを備え、透過センサの検出位置における用紙の有無を検出する。さらに、プリンタ2は、透過センサの出力に基づいて、検出位置に存在するものが用紙と剥離紙との重ね合わせであるか剥離紙のみであるかを検出できる。これにより、プリンタ2は、自身に収容されている用紙の種類やラベル幅の情報を取得できる。なお、プリンタ2にて用いる用紙は、カートリッジに内蔵されているものでも良く、その場合、プリンタ2は、カートリッジの形状等に基づいて、用紙の種類等の情報をカートリッジから取得しても良い。
The
そして、プリンタ2は、取得した情報と印刷設定の用紙情報とが合致していない場合、例えば、用紙の種類が異なる場合や、ラベル幅が異なる場合には、用紙エラーを返信して印刷を実行しない。プリンタ2は、例えば、ダイカットラベルが収容されている状態で、用紙の種類として長尺テープが設定された印刷設定を含む印刷ジョブを受信した場合、印刷設定のラベル幅やラベル長さが収容されているダイカットラベルと同じであっても、用紙エラーを返信する。一方、プリンタ2は、収容されている用紙が長尺テープであれば、ラベル幅が一致していればラベル長さにかかわらず用紙エラーとはしない。
Then, when the acquired information and the paper information of the print setting do not match, for example, when the paper type is different or the label width is different, the
続いて、本形態の用紙登録アプリ44による処理について説明する。なお、以下の処理およびフローチャートの各処理ステップは、基本的に、各プログラムに記述された命令に従ったCPU11の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」等の処理は、CPU11の処理を表している。CPU11による処理は、PC1のOS41のAPIを用いたハードウェア制御も含む。本明細書では、OS41の記載を省略して各プログラムの動作を説明する。すなわち、以下の説明において、「プログラムBがハードウェアCを制御する」という趣旨の記載は、「プログラムBがOS41のAPIを用いてハードウェアCを制御する」ことを指してもよい。また、プログラムに記述された命令に従ったCPU11の処理を、省略した文言で記載することがある。例えば、「CPU11が行う」、「プログラムが行う」のように記載することがある。
Subsequently, the processing by the
なお、「取得」は要求を必須とはしない概念で用いる。すなわち、CPU11が要求することなくデータを受信するという処理も、「CPU11がデータを取得する」という概念に含まれる。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。また、「要求する」、「指示する」とは、要求していることを示す情報や、指示していることを示す情報を相手に出力することを示す概念である。また、要求していることを示す情報や指示していることを示す情報のことを、単に、「要求」、「指示」とも記載する。
Note that "acquisition" is used in a concept that does not require a request. That is, the process of receiving data without the
また、CPU11による、情報Aは事柄Bであることを示しているか否かを判断する処理を、「情報Aから、事柄Bであるか否かを判断する」のように概念的に記載することがある。CPU11による、情報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
まず、用紙登録アプリ44による用紙情報編集処理の手順について、図2のフローチャートを参照して説明する。用紙情報編集処理は、用紙登録アプリ44の起動を契機に、PC1のCPU11にて実行される。
First, the procedure of the paper information editing process by the
用紙情報編集処理では、CPU11は、まず、図3に示すように、メニュー画面60をユーザIF20に表示させる(S101)。メニュー画面60は、例えば、新規登録ボタン601と、既存削除ボタン602と、が表示され、各ボタンへの操作を受け付ける画面である。そして、CPU11は、新規登録ボタン601への操作を受け付けたか否かを判断する(S102)。新規登録ボタン601への操作を受け付けたと判断した場合(S102:YES)、CPU11は、用紙登録処理を実行する(S103)。
In the paper information editing process, the
用紙登録処理の手順について、図4のフローチャートを参照して説明する。用紙登録処理は、新規の用紙情報を設定情報431に登録する処理である。
The procedure of the paper registration process will be described with reference to the flowchart of FIG. The paper registration process is a process of registering new paper information in the setting
用紙登録処理では、CPU11は、例えば、図5に示すように、用紙登録画面61をユーザIF20に表示させ、各欄への入力を受け付ける(S201)。図5に示す用紙登録画面61は、ラベル紙を用いてラベルを作成するための用紙情報を登録する画面の例である。用紙登録画面61は、例えば用紙名611、用紙種類612、用紙サイズ613、余白サイズ614、の各項目への入力を受け付ける画面である。用紙登録画面61には、さらに、追加ボタン615と、キャンセルボタン616と、が表示される。
In the paper registration process, for example, as shown in FIG. 5, the
用紙名611は、設定情報431に登録される用紙の名称である。用紙種類612は、登録される用紙の種類である。プリンタ2にて用いる用紙種類612としては、前述したように、長尺テープ、ダイカットラベル、マーク付きメディア、がある。用紙サイズ613は、用紙名611の名称で登録される用紙のサイズであり、ラベル幅に相当する幅の情報とラベル長さに相当する長さの情報とを含む。余白サイズ614は、用紙の四方に設定される余白のサイズである。プリンタ2は、用紙サイズ613の範囲から余白を除いた部分に画像を印刷する。用紙種類612や余白サイズ614の情報は、特定情報の一例である。
The
追加ボタン615は、用紙登録画面61に入力されている各情報を用紙情報として設定情報431に登録する登録指示を受け付けるボタンである。キャンセルボタン616は、用紙登録処理を終了する指示を受け付けるボタンである。
The
そして、CPU11は、追加ボタン615が押下されたか否かを判断する(S202)。追加ボタン615の押下は、登録指示の一例であり、追加ボタン615の押下を受け付ける処理は、受付処理の一例である。
Then, the
追加ボタン615が押下されたと判断した場合(S202:YES)、CPU11は、登録指示の対象となった新規の用紙情報と同じ用紙サイズが定義されている用紙情報が既に設定情報431に登録されているか否かを判断する(S203)。新規の用紙情報は、用紙登録画面61に表示中の用紙情報であり、新規の用紙情報の用紙サイズは、用紙サイズ613として表示中の幅と長さである。S203は、抽出処理の一例である。S203では、CPU11は、設定情報431から、新規の用紙情報と同じ用紙サイズの用紙情報の抽出を試行する。
When it is determined that the
なお、S203では、CPU11は、正確に同じではなくても、印刷管理プログラム43にて同じと見なされる用紙サイズであればYESと判断する。印刷管理プログラム43は、用紙サイズの近い用紙を同じ用紙サイズの用紙と見なす場合がある。
In S203, the
登録されていると判断した場合(S203:YES)、CPU11は、同じ用紙サイズで既に登録済みの用紙情報である既存の用紙情報の用紙種類が長尺テープであるか否かを判断する(S204)。既存の用紙情報は、特定用紙情報の一例である。長尺テープであると判断した場合(S204:YES)、CPU11は、その既存の用紙情報の用紙サイズのうち長さの情報を変更して(S205)、設定情報431を修正する。S205は、修正処理の一例である。CPU11は、その既存の用紙情報の長さを、例えば、5cm程度増やす。なお、増やす量は一例であり、S205では、CPU11は、既存の用紙情報の長さを、新規の用紙情報とは異なる用紙サイズであると印刷管理プログラム43にて判断される程度まで大きくすれば良い。
When it is determined that the paper is registered (S203: YES), the
一方、既存の用紙情報の用紙種類が長尺テープではないと判断した場合(S204:NO)、CPU11は、新規の用紙情報として用紙種類612に表示されている情報が長尺テープを示す情報であるか否かを判断する(S206)。長尺テープであると判断した場合(S206:YES)、CPU11は、新規の用紙情報として用紙サイズ613に表示されている長さの情報を変更する(S207)。既存の用紙情報が長尺テープではなく、新規の用紙情報が長尺テープであれば、新規の用紙情報の長さをS205の場合と同様に大きくする。S207は、修正処理の一例である。
On the other hand, when it is determined that the paper type of the existing paper information is not the long tape (S204: NO), the
なお、本形態のプリンタ2は、印刷設定に設定されている用紙サイズのうち、ラベル紙のラベル長さの方向に対応する長さの情報が、印刷対象の画像データの画像の長さより長い場合、画像の末尾以降の空白部分を自動的に削除する機能を有している。そのため、プリンタ2においてその機能が有効になっていると、用紙サイズの長さを長くして印刷した場合に画像の末尾以降の空白部分は、プリンタ2によって自動的に除去される。従って、印刷設定の用紙の長さを大きくしても、ユーザの元々の希望の長さのラベルが作成される可能性が高い。
In the
新規の用紙情報の用紙種類612も長尺テープではないと判断した場合(S206:NO)、CPU11は、既存の用紙情報を用紙情報保管領域441に保管し、設定情報431から除去する(S208)。S208は、除去処理の一例である。用紙情報保管領域441は、情報処理装置の記憶領域の一例である。新規の用紙情報も既存の用紙情報も長尺テープではない場合、例えば、ダイカットラベルとマーク付きメディアであれば、いずれのサイズも変更できない。
When it is determined that the
新規の用紙情報と同じ用紙サイズの用紙情報が登録されていないと判断した場合(S203:NO)、または、S205、S207、S208のいずれかの後、CPU11は、新規の用紙を設定情報431に追加して登録する(S209)。S209は、登録処理の一例である。これにより、コンテンツアプリ42の印刷設定にて表示される用紙の選択肢に、新規の用紙情報が加わる。
When it is determined that the paper information of the same paper size as the new paper information is not registered (S203: NO), or after any of S205, S207, and S208, the
コンテンツアプリ42には、同じ用紙サイズが定義されている複数の用紙情報を、用紙種類が異なっていても区別しないものがある。このようなコンテンツアプリ42は、同じ用紙サイズであって用紙種類が異なる複数の用紙情報が設定情報431に登録されている場合、それぞれを別の選択肢として表示したとしても、同じ印刷設定であると見なす。このコンテンツアプリ42は、同じ用紙サイズの複数の選択肢のうちのどれが選択されても、そのうちの同じ1つの印刷設定のみを印刷管理プログラム43に渡す。
Some
このようなコンテンツアプリ42では、例えば、図6に示すように、65mm×100mmの長尺テープである用紙Aの用紙情報と、65mm×100mmのダイカットラベルである用紙Bの用紙情報とが設定情報431に登録されている場合、ユーザが用紙Aを選択しても用紙Bを選択しても、用紙Aの用紙情報が印刷管理プログラム43に渡される場合がある。つまり、ユーザがコンテンツアプリ42では用紙Bを選択しても、コンテンツアプリ42は用紙Aの用紙情報を印刷管理プログラム43に渡す場合があり、印刷管理プログラム43は、コンテンツアプリ42から渡された用紙Aの用紙情報を用いて印刷ジョブを生成する。その結果、ユーザの選択した印刷設定と異なる印刷設定での印刷ジョブが生成される可能性がある。
In such a
ユーザの選択した印刷設定と異なる印刷設定での印刷ジョブがプリンタ2に送信されると、印刷ジョブの印刷設定に含まれる用紙情報と、ユーザによってプリンタ2にセットされた用紙の用紙情報とが、異なることとなり、プリンタ2にて用紙エラーとなる可能性がある。なお、印刷管理プログラム43は、一部または全部が同じ用紙情報が異なる用紙名で設定情報431に複数登録されている場合、区別して扱うことができる。
When a print job with a print setting different from the print setting selected by the user is sent to the
本形態の用紙登録アプリ44は、同じ用紙サイズの情報を含む複数の用紙情報を設定情報431に登録しない。用紙登録アプリ44は、少なくとも一方が長尺テープであれば、その用紙サイズの長さの情報を変更することで、同じ用紙サイズではない用紙情報を生成する。例えば、図6で用紙Aの用紙情報が登録済みであって、用紙Bの用紙情報が用紙登録画面61に表示されている状態で追加ボタン615への操作を受け付けた場合、図7に示すように、用紙Aの長さの情報を変更して用紙Bの用紙情報を登録する。
The
これにより、コンテンツアプリ42は、用紙Aの用紙情報と用紙Bの用紙情報とを異なる用紙情報として区別する。つまり、コンテンツアプリ42は、ユーザが用紙Aを選択した場合には用紙Aの用紙情報を、ユーザが用紙Bを選択した場合には用紙Bの用紙情報を、印刷管理プログラム43に渡す。従って、プリンタ2に送信される印刷ジョブの用紙情報は、プリンタ2にセットされた用紙の用紙情報と一致し、用紙エラーとはならない。なお、プリンタ2は、用紙種類が長尺テープである場合のラベル長さは制限しないことから、用紙Aの長さを変更した印刷ジョブを受け取っても用紙エラーとはしない。なお、用紙登録アプリ44は、新規と既存との両方とも長尺テープである場合、新規の用紙情報を変更しても良い。
As a result, the
また、本形態の用紙登録アプリ44は、いずれも長尺テープではない場合、新規の用紙情報の方が使用される可能性が高いことから、既存の用紙情報を設定情報431から一旦除去する。例えば、図6の用紙Aが長尺テープでなくマーク付きメディアであった場合には、用紙Aの用紙情報を除去して、用紙Bの用紙情報を登録する。なおこの場合、用紙情報を除去したことを示すメッセージをユーザIF20に表示させても良い。
Further, the
用紙登録処理の説明に戻る。追加ボタン615が押下されていないと判断した場合(S202:NO)、CPU11は、キャンセルボタン616が押下されたか否かを判断する(S210)。S209の後、またはキャンセルボタン616が押下されていないと判断した場合(S210:NO)、CPU11は、S201に戻り、ユーザによる指示を更に受け付ける。一方、キャンセルボタン616が押下されたと判断した場合(S210:YES)、CPU11は、用紙登録画面61を閉じて、用紙登録処理を終了し、図2の用紙情報編集処理に戻る。
Return to the explanation of the paper registration process. When it is determined that the
図2の用紙情報編集処理の説明に戻る。新規登録ボタン601への操作を受け付けていないと判断した場合(S102:NO)、CPU11は、既存削除ボタン602への操作を受け付けたか否かを判断する(S104)。既存削除ボタン602への操作を受け付けたと判断した場合(S104:YES)、CPU11は、用紙削除処理を実行する(S105)。
Returning to the description of the paper information editing process of FIG. When it is determined that the operation to the
用紙削除処理の手順について、図8のフローチャートを参照して説明する。用紙削除処理は、設定情報431に登録されている用紙情報を削除する処理である。
The procedure of the paper deletion process will be described with reference to the flowchart of FIG. The paper deletion process is a process for deleting the paper information registered in the setting
用紙削除処理では、CPU11は、設定情報431に登録されている既存の用紙情報から、用紙名の情報を読み出し、ユーザIF20に一覧表示させ(S301)、削除対象とする用紙名の選択を受け付ける。そして、CPU11は、用紙名が選択されたか否かを判断する(S302)。
In the paper deletion process, the
用紙名の選択を受け付けていないと判断した場合(S302:NO)、CPU11は、用紙削除処理の終了指示を受け付けたか否かを判断する(S303)。例えば、表示中の選択画面を閉じる指示を受け付けた場合、CPU11は、用紙削除処理の終了指示を受け付けたと判断する。終了指示も受け付けていないと判断した場合(S303:NO)、CPU11は、S302に戻って用紙名の選択か終了指示かのいずれかを受け付けるまで待機する。
When it is determined that the selection of the paper name is not accepted (S302: NO), the
用紙名が選択されたと判断した場合(S302:YES)、CPU11は、選択された用紙名に関連付けて記憶されている用紙情報を、設定情報431から読み出す(S304)。そして、CPU11は、読み出した用紙情報から、選択された用紙の用紙サイズの情報を取得する(S305)。さらに、CPU11は、用紙情報保管領域441に、S305にて取得した用紙サイズと同じ用紙サイズが定義された用紙情報が保管されているか否かを判断する(S306)。用紙情報保管領域441への用紙情報の保管は、前述した用紙登録処理のS208にて行われる。
When it is determined that the paper name has been selected (S302: YES), the
同じ用紙サイズの用紙情報が保管されていると判断した場合(S306:YES)、保管されている用紙情報を設定情報431に登録する(S307)。すなわち、CPU11は、用紙情報保管領域441に退避していた用紙情報を、設定情報431に復帰させる。S307は、再登録処理の一例である。復帰させた後、CPU11は、用紙情報保管領域441から、この用紙の情報を削除する。
When it is determined that the paper information of the same paper size is stored (S306: YES), the stored paper information is registered in the setting information 431 (S307). That is, the
S307の後、または、同じ用紙サイズの用紙情報が保管されていないと判断した場合(S306:NO)、CPU11は、選択中の用紙情報を設定情報431から削除する(S308)。S308の後、または、終了指示を受け付けたと判断した場合(S303:YES)、CPU11は、用紙削除処理を終了して、用紙情報編集処理に戻る。
After S307, or when it is determined that the paper information of the same paper size is not stored (S306: NO), the
図2の用紙情報編集処理の説明に戻る。S103の後、または、S105の後、または、既存削除ボタン602への操作を受け付けていないと判断した場合(S104:NO)、CPU11は、用紙登録アプリ44の終了指示を受け付けたか否かを判断する(S106)。終了指示を受け付けていないと判断した場合(S106:NO)、CPU11は、S102に戻って、新規登録ボタン601への操作、既存削除ボタン602への操作、終了指示のいずれかを受け付けるまで待機する。終了指示を受け付けたと判断した場合(S106:YES)、CPU11は、用紙情報編集処理を終了する。
Returning to the description of the paper information editing process of FIG. After S103, after S105, or when it is determined that the operation to the existing delete
次に、コンテンツアプリ42を用いて、プリンタ2に印刷を実行させる場合のPC1の動作について、図9を参照して説明する。ユーザは、コンテンツアプリ42を起動し、印刷対象の画像と印刷設定とを選択する。コンテンツアプリ42は、印刷設定の設定指示として、用紙の選択指示を受け付けると、設定情報431を参照して登録されている用紙情報の用紙名を読み出し(矢印A)、用紙情報の選択肢として表示させる。なお、設定情報431に登録されている用紙情報は、例えば、前述した用紙登録アプリ44による用紙登録処理にて登録されたものである(矢印B)。
Next, the operation of the PC 1 when the
コンテンツアプリ42は、表示させた選択肢から用紙名が選択された場合、選択された用紙名の用紙情報を含む印刷設定の情報を生成する。設定情報431に登録されている各用紙の用紙サイズは全て異なるので、同じ用紙サイズが複数登録されている場合にそのうちの1つしか応答しないコンテンツアプリ42であっても、他の用紙情報を印刷管理プログラム43に渡すことはない。そして、コンテンツアプリ42は、画像の選択と印刷指示とを受け付けた場合、選択された画像の画像データと印刷設定とを印刷管理プログラム43に渡す(矢印C、D)。
When a paper name is selected from the displayed options, the
印刷管理プログラム43は、受け取った画像データをラスタライズして印刷データを生成する。印刷管理プログラム43は、生成した印刷データとコンテンツアプリ42から受け取った印刷設定とに基づいて印刷ジョブを生成し、生成した印刷ジョブを通信IF30を介してプリンタ2に送信する(矢印E)。これにより、プリンタ2は、印刷ジョブに基づく印刷を実行し、ラベルが作成される。
The
以上、詳細に説明したように、本明細書に記載の用紙登録アプリ44によれば、用紙情報の登録指示を受け付けた場合、登録指示の対象となった新規の用紙情報の用紙サイズと用紙サイズが同じ既存の用紙情報が設定情報431に有れば、少なくとも一方の用紙サイズを変更する。これにより、同じ用紙サイズの用紙情報が設定情報431に含まれることはなく、コンテンツアプリ42は、両方の用紙を区別して印刷管理プログラム43に渡すことができる。従って、ユーザが登録した用紙情報と異なる用紙情報を用いた印刷となる状況が回避され、ユーザの所望の印刷物を得られる可能性が高まる。
As described in detail above, according to the
さらに、本形態では、ロール状のラベル紙への印刷に用いる用紙情報を修正対象とし、ラベル紙では長さ方向のサイズが限定されないことから、用紙サイズの長さの情報を修正しても印刷可能である。さらに、印刷データの長さ方向の末尾に空白が含まれる場合、その空白部分を削除する機能を有するプリンタ2を用いているので、用紙サイズの長さの情報を増やしてもその増加は空白部分となって印刷時に除去される。従って、印刷物としては用紙サイズを増やさない場合と同じになり、変更された用紙サイズであってもユーザが所望する印刷物を得られる。
Further, in this embodiment, the paper information used for printing on the roll-shaped label paper is the correction target, and since the size in the length direction is not limited in the label paper, printing is performed even if the length information of the paper size is corrected. It is possible. Further, when a blank is included at the end of the print data in the length direction, since the
さらに、本形態では、新規の用紙情報と既存の用紙情報との何れかの用紙種類がダイカットラベルやマーク付きメディアであれば、長尺テープの方の用紙サイズを変更する。ダイカットラベルやマーク付きメディアは幅と長さとが特定されていることから、長さ方向のサイズが特定されていない長尺テープの用紙サイズを変更することで、変更による印刷への影響を低減できる。さらに、両方が長尺テープであれば、既存の用紙情報の用紙サイズを変更する。新規の用紙情報の方が重要性が高い傾向にあることから、既存の用紙情報の用紙サイズを変更する方がよりユーザが所望の印刷物を得られる可能性が高まる。なお、新規の用紙情報の用紙サイズを変更しても良い。 Further, in this embodiment, if either the new paper information or the existing paper information is a die-cut label or a media with a mark, the paper size of the long tape is changed. Since the width and length of die-cut labels and marked media are specified, the effect of the change on printing can be reduced by changing the paper size of the long tape whose size in the length direction is not specified. .. Furthermore, if both are long tapes, the paper size of the existing paper information is changed. Since new paper information tends to be more important, changing the paper size of existing paper information increases the possibility that the user can obtain the desired printed matter. The paper size of the new paper information may be changed.
さらに、本形態では、新規の用紙情報と既存の用紙情報との両方の用紙種類がダイカットラベルやマーク付きメディアであれば、既存の用紙情報を保管して設定情報431から除去する。両方とも用紙サイズの変更が不可であれば、新規の用紙情報の方が重要性が高い傾向にあることから、既存の用紙情報をデータベースから除去することで、新規の用紙情報に基づいた印刷物が得られない状況を回避できる。さらに、既存の用紙情報を保管しておけば、後から復帰させることができる。本形態では、新規の用紙情報の削除を受け付けた場合、保管されている既存の用紙情報を自動的に復帰させるので、ユーザの利便性が高まる。
Further, in the present embodiment, if the paper types of both the new paper information and the existing paper information are die-cut labels or marked media, the existing paper information is stored and removed from the setting
本形態では、新規の用紙情報と既存の用紙情報との少なくとも一方の用紙種類が長尺テープであれば、その用紙情報の用紙サイズを変更するとしたが、用紙種類にかかわらず、既存の用紙情報を除去する構成としても良い。具体的には、用紙登録処理のS204〜S207を省略し、S203にてYESと判断した場合にはS208に進むとしても良い。このような構成であっても、用紙サイズが重複する複数の用紙情報が登録されている状態とはならず、新規の用紙情報が設定情報431に登録される。従って、既存の用紙情報が選択される可能性が無くなり、新規の用紙情報での印刷を確実に行うことができる。
In this embodiment, if at least one of the new paper information and the existing paper information is a long tape, the paper size of the paper information is changed. However, regardless of the paper type, the existing paper information It may be configured to remove. Specifically, S204 to S207 of the paper registration process may be omitted, and if YES is determined in S203, the process may proceed to S208. Even with such a configuration, a plurality of paper information having overlapping paper sizes is not registered, and new paper information is registered in the setting
なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、PCやプリンタの台数は、図示の例に限らない。また、プリンタ2の印刷方式は、熱転写方式に限らず、例えば、感熱方式、インクジェット方式、電子写真方式でもよい。また、印刷媒体は、ラベル用紙に限らず、例えば、単なるロール紙でもよく、プリンタは、ラベルプリンタに限らない。
It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Therefore, as a matter of course, the present invention can be improved and modified in various ways without departing from the gist thereof. For example, the number of PCs and printers is not limited to the illustrated example. Further, the printing method of the
また、例えば、本形態では、コンテンツアプリ42が印刷管理プログラム43に印刷指示を渡すことで、プリンタ2に印刷ジョブが送信されるとしたが、これに限らない。例えば、印刷管理プログラム43は、OS41に含まれていても良い。その場合、コンテンツアプリ42は、OS41に印刷指示を渡し、OS41が印刷ジョブを生成してプリンタ2に送信する。また、コンテンツアプリ42が印刷管理プログラム43の機能をも備えていても良い。その場合、コンテンツアプリ42は、自身で印刷ジョブを生成し、プリンタ2に直接印刷ジョブを送信する。上記のどの例でも、コンテンツアプリ42がプリンタ2に印刷を指示する構成に該当する。
Further, for example, in the present embodiment, the
また、本形態では、設定情報431は印刷管理プログラム43に含まれ、用紙情報保管領域441は用紙登録アプリ44に含まれるとしたが、含まれていなくても良い。いずれも、各プログラムから参照可能な形式で記憶されているデータであればよい。
Further, in the present embodiment, the setting
また、本形態では、新規の用紙情報と既存の用紙情報とのいずれも長尺テープである場合、既存または新規の用紙情報の用紙サイズを変更するとしたが、フレームの設定や余白の大きさなどの他の情報に基づいて、いずれを変更するかを決定しても良い。また、用紙サイズを大きくするとしたが、小さくしても良い。また、用紙サイズを変更した場合、変更したことを報知するメッセージを表示させても良い。 Further, in this embodiment, when both the new paper information and the existing paper information are long tapes, the paper size of the existing or new paper information is changed, but the frame setting, the size of the margin, etc. You may decide which to change based on other information. Further, although the paper size is increased, it may be decreased. Further, when the paper size is changed, a message notifying that the change has been made may be displayed.
また、本形態では、新規の用紙情報と既存の用紙情報との両方の用紙種類がダイカットラベルやマーク付きメディアであれば、既存の用紙情報を保管して除去するとしたが、保管はしなくても良い。つまり、完全に削除しても良い。ただし、保管しておく方が、後に復帰できることから好ましい。 Further, in this embodiment, if the paper types of both the new paper information and the existing paper information are die-cut labels or marked media, the existing paper information is stored and removed, but it is not stored. Is also good. That is, it may be completely deleted. However, it is preferable to store it because it can be restored later.
また、本形態にて図示した画面の例はいずれも一例であり、図示の例に限らない。例えば、用紙登録アプリ44は、用紙登録処理にて、図5に示した用紙登録画面61のような入力を受け付けるための画面を表示しなくても良く、コマンドライン等の入力に基づいて、用紙情報の登録指示を受け付けても良い。
Moreover, the example of the screen illustrated in this embodiment is only an example, and is not limited to the illustrated example. For example, the
また、本形態では、コンテンツアプリ42は、設定情報431に登録されている用紙情報に基づいて、印刷用紙の選択肢を表示するとしたが、登録されている用紙情報のみでなく、自身の備える情報に基づく用紙情報も選択肢として表示しても良い。
Further, in the present embodiment, the
また、本形態では、プリンタ2は余白を除去する機能を有しているとしたが、有していなくても良い。この場合、ラベル長さが画像の長さよりも長ければ、後端に空白のある印刷物が作成されるものの、空白部分を切り取ることで所望の印刷物となる可能性が高い。あるいは、印刷管理プログラム43が空白部分を除去する機能を有していても良い。この場合、印刷管理プログラム43は、空白部分を除去した印刷データを生成し、プリンタ2に渡しても良い。
Further, in the present embodiment, it is said that the
また、例えば、プリンタ2のベンダが作成した印刷データ作成プログラムがPC1にインストールされており、印刷管理プログラム43は、その印刷データ作成プログラムに印刷データを生成させるとしても良い。その場合、その印刷データ作成プログラムは、空白部分を除去した印刷データを生成して、印刷管理プログラム43に渡すとしても良い。また、その場合、用紙登録アプリ44は、その印刷データ作成プログラムに設定情報431を登録し、コンテンツアプリ42は、印刷管理プログラム43を介してプリンタ2が選択されると、印刷データ作成プログラムに登録された設定情報431を取得する構成となっていても良い。
Further, for example, a print data creation program created by the vendor of the
また、実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。 Further, in any flowchart disclosed in the embodiment, the plurality of processes in the arbitrary plurality of steps can be arbitrarily changed in the execution order or executed in parallel as long as the processing contents do not conflict with each other.
また、実施の形態に開示されている処理は、単一のCPU、複数のCPU、ASICなどのハードウェア、またはそれらの組合せで実行されてもよい。また、実施の形態に開示されている処理は、その処理を実行するためのプログラムを記録した記録媒体、または方法等の種々の態様で実現することができる。 Further, the process disclosed in the embodiment may be executed by a single CPU, a plurality of CPUs, hardware such as an ASIC, or a combination thereof. In addition, the process disclosed in the embodiment can be realized in various aspects such as a recording medium or a method in which a program for executing the process is recorded.
1 PC
2 プリンタ
11 CPU
12 メモリ
20 ユーザIF
30 通信IF
44 用紙登録アプリ
1 PC
2
12
30 Communication IF
44 Paper registration app
Claims (11)
前記コンピュータに、
用紙サイズが定義された用紙情報をデータベースに登録することを指示する登録指示を、前記情報処理装置の入力インタフェースを介して受け付けた場合に、前記登録指示によって指示された前記用紙情報を前記データベースに登録する登録処理を実行させ、前記データベースは、複数の前記用紙情報を登録しておくことが可能であり、さらに前記データベースは、前記情報処理装置に組み込まれているアプリケーションプログラムによって参照され、前記アプリケーションプログラムは、前記データベースに登録されている前記用紙情報のうちいずれかを選択し、選択した前記用紙情報によって定義される用紙サイズの用紙への印刷を、前記情報処理装置の通信インタフェースを介して前記情報処理装置と接続されるプリンタへ指示することが可能であり、
さらに前記コンピュータに、前記登録処理において、
前記データベースに登録されている既存の前記用紙情報である既存用紙情報の中から、前記登録指示の対象となった用紙情報である新規用紙情報と同じ用紙サイズを定義する用紙情報である特定用紙情報の抽出を試行する抽出処理を実行させ、
前記抽出処理にて前記特定用紙情報が抽出された場合に、抽出された前記特定用紙情報と前記新規用紙情報との少なくとも一方を、定義する用紙サイズを変更するように修正する修正処理を実行させた上で前記新規用紙情報を登録させる、
ことを特徴とするプログラム。 A program that can be executed by the computer of the information processing device.
On the computer
When a registration instruction instructing to register the paper information in which the paper size is defined in the database is received via the input interface of the information processing apparatus, the paper information instructed by the registration instruction is stored in the database. The registration process for registration is executed, and the database can register a plurality of the paper information. Further, the database is referred to by an application program incorporated in the information processing apparatus, and the application is referred to. The program selects one of the paper information registered in the database, and prints on paper of the paper size defined by the selected paper information via the communication interface of the information processing device. It is possible to instruct the printer connected to the information processing device,
Further, in the registration process on the computer,
Specific paper information that defines the same paper size as the new paper information that is the target of the registration instruction from the existing paper information that is the existing paper information registered in the database. Execute the extraction process to try the extraction of
When the specific paper information is extracted by the extraction process, at least one of the extracted specific paper information and the new paper information is corrected so as to change the defined paper size. After that, register the new form information,
A program characterized by that.
前記修正処理では、
ロール紙に対応する前記用紙情報を修正対象とし、定義する前記用紙サイズのうちロール紙の長さ方向に対応する方向のサイズを増やすことで前記用紙サイズを変更し、前記長さ方向は、前記プリンタが前記ロール紙を搬送する方向であり、前記プリンタは、前記ロール紙に画像を印刷する際、印刷対象の画像の前記長さ方向の末尾以降の空白部分を削除する機能を有する、
ことを特徴とするプログラム。 In the program according to claim 1,
In the correction process,
The paper information corresponding to the roll paper is targeted for correction, and the paper size is changed by increasing the size of the defined paper size in the direction corresponding to the length direction of the roll paper, and the length direction is the said. This is the direction in which the printer conveys the roll paper, and when printing an image on the roll paper, the printer has a function of deleting a blank portion after the end of the image to be printed in the length direction.
A program characterized by that.
前記用紙情報は、用紙種の情報と関連付けられ、
前記用紙種には、用紙サイズのうち縦方向と横方向との両方のサイズが特定される第1の用紙種と、用紙サイズのうち縦方向と横方向との一方が特定されて他方が特定されていない第2の用紙種とが含まれ、
前記修正処理では、
前記特定用紙情報と前記新規用紙情報とのうち、前記第2の用紙種と関連付けられた用紙情報がある場合、その用紙情報によって定義される用紙サイズの、特定されていない方向のサイズを変更する、
ことを特徴とするプログラム。 In the program according to claim 1 or 2.
The paper information is associated with the paper type information and
For the paper type, one of the first paper type in which both the vertical direction and the horizontal direction are specified, and one of the paper sizes in the vertical direction and the horizontal direction is specified and the other is specified. Includes a second paper type that is not
In the correction process,
If there is paper information associated with the second paper type among the specific paper information and the new paper information, the size of the paper size defined by the paper information in the unspecified direction is changed. ,
A program characterized by that.
前記修正処理では、
前記特定用紙情報と前記新規用紙情報との両方が、前記第2の用紙種と関連付けられた用紙情報である場合、前記特定用紙情報によって定義される用紙サイズを変更する、
ことを特徴とするプログラム。 In the program according to claim 3,
In the correction process,
When both the specific paper information and the new paper information are paper information associated with the second paper type, the paper size defined by the specific paper information is changed.
A program characterized by that.
前記コンピュータに、前記登録処理において、
前記特定用紙情報と前記新規用紙情報との両方とも、前記第2の用紙種と関連付けられた用紙情報でない場合、前記修正処理を実行させず、前記登録処理にて前記新規用紙情報を前記データベースに登録させ、さらに前記特定用紙情報を前記データベースから除去する除去処理を実行させる、
ことを特徴とするプログラム。 In the program according to claim 3 or 4.
In the registration process on the computer
If neither the specific paper information nor the new paper information is the paper information associated with the second paper type, the correction process is not executed and the new paper information is stored in the database in the registration process. Registration is performed, and a removal process for removing the specific paper information from the database is executed.
A program characterized by that.
前記除去処理では、
前記特定用紙情報を前記情報処理装置の記憶領域に記憶した後、前記特定用紙情報を前記データベースから除去する、
ことを特徴とするプログラム。 In the program according to claim 5.
In the removal process,
After storing the specific paper information in the storage area of the information processing apparatus, the specific paper information is removed from the database.
A program characterized by that.
さらに前記コンピュータに、
前記特定用紙情報が前記記憶領域に記憶された状態で、登録された前記新規用紙情報が前記データベースから削除された場合、前記記憶領域に記憶された前記特定用紙情報を前記データベースに登録する再登録処理を実行させる、
ことを特徴とするプログラム。 In the program according to claim 6,
Further to the computer
When the new paper information registered is deleted from the database while the specific paper information is stored in the storage area, the specific paper information stored in the storage area is registered in the database again. To execute the process,
A program characterized by that.
前記登録処理では、
特定情報が設定されている状態で、前記登録指示を受け付けた場合に、前記登録指示によって指示された前記用紙情報を前記特定情報と関連付けて前記データベースに登録し、前記データベースには、同じ用紙サイズが定義されている場合であっても前記特定情報が異なる場合は、それぞれ別の用紙情報として登録される、
ことを特徴とするプログラム。 In the program according to any one of claims 1 to 7.
In the registration process,
When the registration instruction is received while the specific information is set, the paper information instructed by the registration instruction is registered in the database in association with the specific information, and the same paper size is stored in the database. If the specific information is different even if is defined, they are registered as different form information.
A program characterized by that.
前記コンピュータに、
用紙サイズが定義された用紙情報をデータベースに登録することを指示する登録指示を、前記情報処理装置の入力インタフェースを介して受け付けた場合に、前記登録指示によって指示された前記用紙情報を前記データベースに登録する登録処理を実行させ、前記データベースは、複数の前記用紙情報を登録しておくことが可能であり、さらに前記データベースは、前記情報処理装置に組み込まれているアプリケーションプログラムによって参照され、前記アプリケーションプログラムは、前記データベースに登録されている前記用紙情報のうちいずれかを選択し、選択した前記用紙情報によって定義される用紙サイズの用紙への印刷を、前記情報処理装置の通信インタフェースを介して前記情報処理装置と接続されるプリンタへ指示することが可能であり、
さらに前記コンピュータに、前記登録処理において、
前記データベースに登録されている既存の前記用紙情報である既存用紙情報の中から、前記登録指示の対象となった用紙情報である新規用紙情報と同じ用紙サイズを定義する用紙情報である特定用紙情報の抽出を試行する抽出処理を実行させ、
前記抽出処理にて前記特定用紙情報が抽出された場合に、前記新規用紙情報を前記データベースに登録させ、前記特定用紙情報を前記データベースから除去させる、
ことを特徴とするプログラム。 A program that can be executed by the computer of the information processing device.
On the computer
When a registration instruction instructing to register the paper information in which the paper size is defined in the database is received via the input interface of the information processing apparatus, the paper information instructed by the registration instruction is stored in the database. The registration process for registration is executed, and the database can register a plurality of the paper information. Further, the database is referred to by an application program incorporated in the information processing apparatus, and the application is referred to. The program selects one of the paper information registered in the database, and prints on paper of the paper size defined by the selected paper information via the communication interface of the information processing device. It is possible to instruct the printer connected to the information processing device,
Further, in the registration process on the computer,
Specific paper information that defines the same paper size as the new paper information that is the target of the registration instruction from the existing paper information that is the existing paper information registered in the database. Execute the extraction process to try the extraction of
When the specific paper information is extracted by the extraction process, the new paper information is registered in the database and the specific paper information is removed from the database.
A program characterized by that.
通信インタフェースと、
データベースを記憶するメモリと、
コンピュータと、
を備える情報処理装置であって、
前記コンピュータは、
用紙サイズが定義された用紙情報を前記データベースに登録することを指示する登録指示を、前記入力インタフェースを介して受け付ける受付処理と、
前記受付処理にて前記登録指示を受け付けた場合に、前記登録指示によって指示された前記用紙情報を前記データベースに登録する登録処理と、を実行し、前記データベースは、複数の前記用紙情報を登録しておくことが可能であり、さらに前記データベースは、前記情報処理装置に組み込まれているアプリケーションプログラムによって参照され、前記アプリケーションプログラムは、前記データベースに登録されている前記用紙情報のうちいずれかを選択し、選択した前記用紙情報によって定義される用紙サイズの用紙への印刷を、前記通信インタフェースを介して前記情報処理装置と接続されるプリンタへ指示することが可能であり、
さらに前記コンピュータは、前記登録処理において、
前記データベースに登録されている既存の前記用紙情報である既存用紙情報の中から、前記登録指示の対象となった用紙情報である新規用紙情報と同じ用紙サイズを定義する用紙情報である特定用紙情報の抽出を試行する抽出処理を実行し、
前記抽出処理にて前記特定用紙情報が抽出された場合に、抽出された前記特定用紙情報と前記新規用紙情報との少なくとも一方を、定義する用紙サイズを変更するように修正する修正処理を実行させた上で前記新規用紙情報を登録する、
ことを特徴とする情報処理装置。 Input interface and
Communication interface and
Memory to store the database and
With a computer
It is an information processing device equipped with
The computer
A reception process for accepting a registration instruction for registering paper information for which a paper size is defined in the database via the input interface, and
When the registration instruction is received in the reception process, the registration process of registering the paper information instructed by the registration instruction in the database is executed, and the database registers a plurality of the paper information. Further, the database is referred to by an application program incorporated in the information processing apparatus, and the application program selects one of the paper information registered in the database. , It is possible to instruct the printer connected to the information processing apparatus to print on the paper of the paper size defined by the selected paper information via the communication interface.
Further, the computer is used in the registration process.
Specific paper information that defines the same paper size as the new paper information that is the target of the registration instruction from the existing paper information that is the existing paper information registered in the database. Execute the extraction process to try to extract the
When the specific paper information is extracted by the extraction process, at least one of the extracted specific paper information and the new paper information is corrected so as to change the defined paper size. After that, register the new form information,
An information processing device characterized by this.
通信インタフェースと、
データベースを記憶するメモリと、
コンピュータと、
を備える情報処理装置であって、
前記コンピュータは、
用紙サイズが定義された用紙情報を前記データベースに登録することを指示する登録指示を、前記入力インタフェースを介して受け付ける受付処理と、
前記受付処理にて前記登録指示を受け付けた場合に、前記登録指示によって指示された前記用紙情報を前記データベースに登録する登録処理と、を実行し、前記データベースは、複数の前記用紙情報を登録しておくことが可能であり、さらに前記データベースは、前記情報処理装置に組み込まれているアプリケーションプログラムによって参照され、前記アプリケーションプログラムは、前記データベースに登録されている前記用紙情報のうちいずれかを選択し、選択した前記用紙情報によって定義される用紙サイズの用紙への印刷を、前記通信インタフェースを介して前記情報処理装置と接続されるプリンタへ指示することが可能であり、
さらに前記コンピュータは、前記登録処理において、
前記データベースに登録されている既存の前記用紙情報である既存用紙情報の中から、前記登録指示の対象となった用紙情報である新規用紙情報と同じ用紙サイズを定義する用紙情報である特定用紙情報の抽出を試行する抽出処理を実行し、
前記抽出処理にて前記特定用紙情報が抽出された場合に、前記新規用紙情報を前記データベースに登録し、前記特定用紙情報を前記データベースから除去する、
ことを特徴とする情報処理装置。 Input interface and
Communication interface and
Memory to store the database and
With a computer
It is an information processing device equipped with
The computer
A reception process for accepting a registration instruction for registering paper information for which a paper size is defined in the database via the input interface, and
When the registration instruction is received in the reception process, the registration process of registering the paper information instructed by the registration instruction in the database is executed, and the database registers a plurality of the paper information. Further, the database is referred to by an application program incorporated in the information processing apparatus, and the application program selects one of the paper information registered in the database. , It is possible to instruct the printer connected to the information processing apparatus to print on the paper of the paper size defined by the selected paper information via the communication interface.
Further, the computer is subjected to the registration process.
Specific paper information that defines the same paper size as the new paper information that is the target of the registration instruction from the existing paper information that is the existing paper information registered in the database. Execute the extraction process to try to extract the
When the specific paper information is extracted by the extraction process, the new paper information is registered in the database and the specific paper information is removed from the database.
An information processing device characterized by this.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019140868A JP7415358B2 (en) | 2019-07-31 | 2019-07-31 | Programs and information processing equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019140868A JP7415358B2 (en) | 2019-07-31 | 2019-07-31 | Programs and information processing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021026266A true JP2021026266A (en) | 2021-02-22 |
JP7415358B2 JP7415358B2 (en) | 2024-01-17 |
Family
ID=74664725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019140868A Active JP7415358B2 (en) | 2019-07-31 | 2019-07-31 | Programs and information processing equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7415358B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006244035A (en) | 2005-03-02 | 2006-09-14 | Canon Inc | Print control system |
JP2008242950A (en) | 2007-03-28 | 2008-10-09 | Brother Ind Ltd | Image forming system and control program |
JP2010102398A (en) | 2008-10-21 | 2010-05-06 | Riso Kagaku Corp | Printer driver program, printing controller and printing system |
JP2014063386A (en) | 2012-09-21 | 2014-04-10 | Canon Marketing Japan Inc | Printing management server, method for controlling printing management server, and program |
JP6415059B2 (en) | 2013-03-18 | 2018-10-31 | キヤノン株式会社 | Printing apparatus, control method therefor, and program |
-
2019
- 2019-07-31 JP JP2019140868A patent/JP7415358B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP7415358B2 (en) | 2024-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2610732B1 (en) | Print control device and computer-readable storage medium storing a program | |
US11048457B2 (en) | Non-transitory computer-readable medium storing computer-readable instructions | |
JP6418123B2 (en) | Information processing apparatus, tape printing apparatus, and display control method for information processing apparatus | |
JP6844474B2 (en) | Printer driver and information processing device | |
US11005946B2 (en) | Non-transitory storage medium storing instructions for creating two-dimensional-code | |
JP2013015951A (en) | Display device, portable terminal, control method of display device and program | |
JP6812783B2 (en) | Image processing device | |
JP2016010948A (en) | Display control device, image processing apparatus, control method, and program | |
JP7415358B2 (en) | Programs and information processing equipment | |
JP2021117805A (en) | Program and information processing device | |
JP7354655B2 (en) | Programs and information processing equipment | |
JP2019053403A (en) | Program and printing system | |
US10908852B2 (en) | Image processing apparatus receiving, generating, processing, and outputting print data | |
JP2021033419A (en) | program | |
JP7396017B2 (en) | Driver program and registration program | |
JP7119576B2 (en) | Application program and printer control module | |
JP7192516B2 (en) | Program and Information Processing Equipment | |
US20210321008A1 (en) | Print control method and non-transitory computer-readable storage medium storing print control program | |
US10831414B2 (en) | Image forming apparatus, image forming system, and image forming method for printing a data file determined to be printed | |
JP6977574B2 (en) | Programs and information processing equipment | |
JP6950372B2 (en) | Print data generator and print data generator | |
JP6115402B2 (en) | Program and information processing apparatus | |
JP2021057677A (en) | Program set and driver program | |
JP6083458B2 (en) | Display device, portable terminal, display device control method and program | |
JP2024016506A (en) | program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220705 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230912 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20231102 |
|
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: 20231205 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20231218 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7415358 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |