JP2020149380A - Programs, storage programs and information processing equipment - Google Patents
Programs, storage programs and information processing equipment Download PDFInfo
- Publication number
- JP2020149380A JP2020149380A JP2019046537A JP2019046537A JP2020149380A JP 2020149380 A JP2020149380 A JP 2020149380A JP 2019046537 A JP2019046537 A JP 2019046537A JP 2019046537 A JP2019046537 A JP 2019046537A JP 2020149380 A JP2020149380 A JP 2020149380A
- Authority
- JP
- Japan
- Prior art keywords
- setting
- paper size
- printer
- setting data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 claims abstract description 86
- 230000008569 process Effects 0.000 claims description 66
- 238000012545 processing Methods 0.000 claims description 18
- 238000000605 extraction Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 9
- 238000005259 measurement Methods 0.000 claims description 6
- 239000000284 extract Substances 0.000 claims description 4
- 238000012790 confirmation Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 10
- 239000000463 material Substances 0.000 description 8
- 230000008859 change Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- TVEXGJYMHHTVKP-UHFFFAOYSA-N 6-oxabicyclo[3.2.1]oct-3-en-7-one Chemical compound C1C2C(=O)OC1C=CC2 TVEXGJYMHHTVKP-UHFFFAOYSA-N 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010561 standard procedure Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
【課題】用紙サイズの選択が可能な情報処理装置のプログラムであって、用紙サイズの選択時の使い勝手を向上させる技術を提供すること。【解決手段】PC1は、用紙サイズを含む設定データを登録DB42に登録しておき、プリンタ2に設定されている用紙サイズをプリンタ2から取得した場合に、登録DB42に記憶されている複数の設定データの中から、プリンタ2から取得した用紙サイズと同じ用紙サイズに対応する設定データを抽出し、抽出した設定データが示す印刷設定をディスプレイ19に表示する。【選択図】図1Kind Code: A1 A program for an information processing apparatus capable of selecting a paper size, and providing a technique for improving usability when selecting a paper size. Kind Code: A1 A PC registers setting data including a paper size in a registration DB in advance. Setting data corresponding to the same paper size as the paper size acquired from the printer 2 is extracted from the data, and print settings indicated by the extracted setting data are displayed on the display 19 . [Selection drawing] Fig. 1
Description
本明細書に開示される技術分野は、プリンタでの印刷に用いる設定を行うプログラムおよび情報処理装置に関する。 The technical fields disclosed herein relate to programs and information processing devices that make settings used for printing on printers.
パーソナルコンピュータ等の情報処理装置において、ユーザによる用紙サイズの選択を受け付け、その選択された用紙サイズに基づいてプリンタに対して印刷を指示する技術が知られている。例えば、特許文献1には、情報処理装置から出力された印刷データにユーザ定義の用紙サイズが指定されていた場合に、管理サーバによって適切なプリンタ用紙を選択する技術が開示されている。
In an information processing device such as a personal computer, there is known a technique of accepting a user's selection of a paper size and instructing a printer to print based on the selected paper size. For example,
ユーザが情報処理装置から用紙サイズを選択する際、必ずしもプリンタの近くにいるとは限らない。そのため、プリンタにセットされている用紙を確認できず、適切な用紙サイズを選択できないこともあり、消耗品を無駄に使用してしまう場合がある。また、プリンタの近くにいない場合、用紙を確認するためにプリンタまで移動することは、ユーザにとって手間がかかる。特許文献1では、用紙サイズの選択時の詳細に関する技術が開示されていない。
When a user selects a paper size from an information processor, he or she is not always near the printer. Therefore, it may not be possible to check the paper loaded in the printer and select an appropriate paper size, which may result in wasted consumables. Also, if you are not near the printer, moving to the printer to check the paper can be a hassle for the user.
本明細書は、用紙サイズの選択が可能な情報処理装置のプログラムであって、用紙サイズの選択時の使い勝手を向上させる技術を開示する。 This specification is a program of an information processing device capable of selecting a paper size, and discloses a technique for improving usability when selecting a paper size.
上述した課題の解決を目的としてなされた本発明のプログラムは、情報処理装置のコンピュータによって実行可能であり、プリンタでの印刷に用いる用紙サイズの設定を行うための処理を実行するプログラムであって、前記情報処理装置のメモリには、複数の設定データが記憶されており、前記設定データは、用紙サイズを含む印刷設定を示すデータであり、前記コンピュータに、前記情報処理装置の通信インタフェースを介して、前記プリンタから前記プリンタに設定されている用紙サイズを取得する取得処理と、前記複数の設定データの中から、前記取得処理にて取得した用紙サイズと同じ用紙サイズに対応する設定データを抽出する抽出処理と、前記抽出処理にて抽出された設定データが示す印刷設定を、前記情報処理装置の表示デバイスに表示させる表示処理と、を実行させる、ことを特徴とする。 The program of the present invention made for the purpose of solving the above-mentioned problems is a program that can be executed by a computer of an information processing apparatus and executes a process for setting a paper size used for printing by a printer. A plurality of setting data are stored in the memory of the information processing device, and the setting data is data indicating print settings including a paper size, and is stored in the computer via a communication interface of the information processing device. , The acquisition process for acquiring the paper size set in the printer from the printer, and the setting data corresponding to the same paper size as the paper size acquired in the acquisition process is extracted from the plurality of setting data. It is characterized in that the extraction process and the display process of displaying the print settings indicated by the setting data extracted by the extraction process on the display device of the information processing apparatus are executed.
上記構成のプログラムは、メモリに記憶される設定データの中に、プリンタに設定されている用紙サイズに対する設定データがある場合に、その設定データが示す印刷設定を表示デバイスに表示させる。これにより、プログラムは、不適切な用紙サイズが選択されている状態での印刷を回避できる可能性が高まり、ユーザが用紙サイズを確認する手間を低減することができる。 The program having the above configuration causes the display device to display the print settings indicated by the setting data when the setting data stored in the memory includes the setting data for the paper size set in the printer. As a result, the program is more likely to avoid printing when an inappropriate paper size is selected, and the user can reduce the trouble of checking the paper size.
上記装置の機能を実現するための制御方法、コンピュータプログラム、および当該コンピュータプログラムを格納するコンピュータにて読取可能な記憶媒体も、新規で有用である。 A control method for realizing the functions of the above device, a computer program, and a computer-readable storage medium for storing the computer program are also new and useful.
本明細書に開示される技術によれば、用紙サイズの選択が可能な情報処理装置のプログラムであって、用紙サイズの選択時の使い勝手を向上させる技術が実現される。 According to the technique disclosed in the present specification, a program of an information processing device capable of selecting a paper size, and a technique for improving usability at the time of selecting a paper size is realized.
以下、パーソナルコンピュータ(以下、「PC」とする)とプリンタとを含む印刷システムを具体化した実施の形態について、添付図面を参照しつつ詳細に説明する。本形態は、連続した帯状の印刷媒体に印刷するプリンタを含む印刷システムを開示するものである。 Hereinafter, an embodiment embodying a printing system including a personal computer (hereinafter referred to as “PC”) and a printer will be described in detail with reference to the accompanying drawings. The present embodiment discloses a printing system including a printer that prints on a continuous strip-shaped printing medium.
本形態の印刷システムは、図1に示すように、PC1と、プリンタ2と、サーバ3とを有し、インターネット4を介して互いに通信可能に接続されている。PC1は、プリンタ2に印刷させるための各種の処理を実行する装置である。PC1は、情報処理装置の一例である。具体的に、PC1は、サーバ3からの画像データの取得、用紙サイズの設定を含む各種印刷設定の受け付け、プリンタ2への印刷コマンドの送信等を行う。PC1に代えて、例えば、スマートフォン、タブレットコンピュータを用いることもできる。
As shown in FIG. 1, the printing system of this embodiment has a
PC1は、CPU11と、ROM12と、RAM13と、不揮発性メモリ14と、を含む制御基板10を備えている。さらに、PC1は、ネットワークインタフェース(以下、「ネットワークIF」とする)16と、USBインタフェース(以下、「USB−IF」とする)17と、ユーザインタフェース(以下、「ユーザIF」とする)18と、ディスプレイ19と、を備え、これらが制御基板10に電気的に接続されている。なお、図1中の制御基板10は、PC1の制御に利用されるハードウェアやソフトウェアを纏めた総称であって、実際にPC1に存在する単一のハードウェアを表すとは限らない。
The PC 1 includes a
CPU11は、ROM12や不揮発性メモリ14から読み出したプログラムに従って、また、ユーザの操作に基づいて、各種の処理を実行する。CPU11は、コンピュータの一例である。ROM12には、PC1を起動するための起動プログラム等が記憶されている。RAM13は、各種の処理が実行される際の作業領域として、あるいは、データを一時的に記憶する記憶領域として利用される。不揮発性メモリ14は、例えば、HDD、フラッシュメモリであり、各種のアプリケーションプログラム(以下、「アプリ」とする)等のプログラム、画像データや文書データ等のデータ、各種設定を記憶する領域として利用される。ROM12、RAM13および不揮発性メモリ14は、いずれもメモリの一例である。また、CPU11がCPUバッファを備えているものであれば、CPUバッファもメモリの一例である。
The
メモリの一例はいずれも、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non−transitoryな媒体である。non−transitoryな媒体には、上記の例の他に、CD−ROM、DVD−ROM等の記録媒体も含まれる。また、non−transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non−transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。 Any example of 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 recording media such as a CD-ROM and 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.
ネットワークIF16は、LAN、インターネット4等のネットワークを介して、外部装置との通信を行うためのハードウェアを含む。ネットワークIF16の通信方式は、無線でも有線でもよく、どのような規格の方式でもよい。USB−IF17は、USB規格に基づいた通信を行うためのハードウェアを含む。PC1とプリンタ2との通信は、ネットワークIF16を用いて行っても良いし、USB−IF17を用いて行っても良い。ネットワークIF16またはUSB−IF17は、通信インタフェースの一例である。
The network IF16 includes hardware for communicating with an external device via a network such as a LAN or the Internet 4. The communication method of the network IF16 may be wireless or wired, and may be any standard method. The USB-IF17 includes hardware for performing communication based on the USB standard. The communication between the
ユーザIF18は、キーボード、マウス等のユーザによる入力操作を受け付けるハードウェアを含む。ディスプレイ19は、情報を画面に表示するハードウェアを含む。ディスプレイ19は、表示デバイスの一例である。なお、PC1は、ユーザIF18とディスプレイ19との両方の機能を備えたタッチパネル等を有していても良い。
The user IF18 includes hardware such as a keyboard and a mouse that accepts input operations by the user. The
本形態のPC1は、不揮発性メモリ14に、汎用アプリケーションプログラム(以下「汎用アプリ」という)40と、オペレーティングシステム(以下、「OS」とする)41と、登録データベース(以下、「登録DB」とする)42と、を備えている。
The PC 1 of this embodiment has a
汎用アプリ40は、所定の形式、例えば、PDF形式のファイルの閲覧、印刷等を実行するためのプログラムであり、具体的には、Adobe Reader(登録商標)である。OS41には、プリンタ2を制御するプリンタドライバ411が組み込まれている。各プログラムの処理については、後述する。なお、プリンタドライバ411は、プログラムの一例である。
The general-
本形態のプリンタ2は、例えば、図2に示すように、印刷ヘッド21と、ロール状に巻き取られた印刷媒体22と、を内蔵し、印刷媒体22への印刷と印刷媒体22の搬送とを並行して行う、いわゆるラベルプリンタである。プリンタ2の印刷ヘッド21は、例えば、熱転写方式のものであり、発熱素子である複数の印字ピンの列を備える。プリンタ2は、印刷ヘッド21の各印字ピンを選択的に発熱させることで、印刷媒体22への印刷を行う。
For example, as shown in FIG. 2, the
プリンタ2にて印刷に用いられる印刷媒体22は、連続した帯状の基材221と、基材221の片面に貼着された印刷対象の用紙222とを含むものである。プリンタ2は、印刷媒体22を巻き出しつつ印刷ヘッド21にて用紙222に印刷する。これにより、図2に示すように、印刷媒体22のうちの印刷済みの部分が、排出口23から機外へ突出される。プリンタ2は、排出口23の近傍に、例えば、手動式のカッター24を備える。カッター24がユーザによって操作されることで、機外へ突出した部分が残りの印刷媒体22から切り取られて排出される。
The
プリンタ2にて用いられる印刷媒体22には、印刷対象の用紙222の形状によって複数の用紙種類がある。用紙種類は、例えば、無定長テープ、ダイカットラベル、マーク付きメディアである。無定長テープは、基材221と同様の連続した帯状の用紙222が基材221に貼着されているものである。例えば、印刷済みの部分をカッター24等で切り取ることで、無定長テープから所定の長さのラベルが作成される。ダイカットラベルは、所定の形状に予め形成された複数の用紙222が、基材221に所定の間隔を空けて貼着されているものである。マーク付きメディアは、印刷媒体22の長手方向に所定の間隔でマークが設けられているものであり、各用紙222は1つずつのマークを含む範囲に設定されている。この印刷媒体22は、プリンタメーカが提供する純正用紙でも、一般のロール紙など、サードパーティ製の非純正用紙でもよい。
The
なお、本形態のプリンタ2は、セットされている印刷媒体22の用紙サイズを計測して計測結果を出力するサイズ計測機能を有していてもよい。例えば、プリンタ2は、搬送経路に光センサを備え、印刷媒体22を搬送しつつ基材221上の用紙222の有無やマークの有無を光センサによって検知し、検知結果に基づいて搬送方向の長さを算出してもよい。また例えば、印刷媒体22が純正用紙である場合、プリンタ2は、用紙カセットの孔等の識別子から用紙サイズを検知してもよい。なお、プリンタ2は、ユーザ操作によって設定された用紙サイズの設定値をメモリに記憶することができる。
The
また、本形態のプリンタ2は、排出口23の外側にオプションユニット25の装着が可能なものであってもよい。オプションユニット25は、印刷後の印刷媒体22に加工を施すユニットであり、例えば、カッターオプションである。カッターオプションは、印刷済みで排出口23から排出された印刷媒体22を自動的にカットするものであり、例えば、1ラベルごとにカット、全ラベルの後端でカット、の設定が可能である。また、カッターオプションは、1ラベルごとに切り離すカット、1ラベルごとに切り目を入れるカット、の設定が可能である。カッターオプションは、例えば、ロール紙を所定の長さでカットしてラベルを作成する場合に使用する。
Further, the
プリンタ2は、PC2から受信した印刷コマンドに含まれる印刷の設定に基づいて画像を印刷媒体22に印刷する。プリンタドライバ411は、汎用アプリ40などの他のプログラムからの要求に応じて印刷設定画面を表示し、印刷の設定を受け付ける機能を有する。
The
本形態のプリンタドライバ411は、プリンタ2に対応するものであり、クロップ印刷設定画面を表示してクロップ印刷に用いる設定を行うクロップ印刷設定モードと、基本設定画面を表示してクロップ印刷以外でも用いる設定を行う基本印刷設定モードとを有する。本明細書において、クロップ印刷は、印刷対象の画像の一部を抽出し、抽出した画像をラベルに印刷することと、定義する。なお、クロップ印刷は、特有の印刷の一例である。クロップ印刷設定モードは、第1モードの一例であり、基本印刷設定モードは、第2モードの一例である。
The
本形態では、クロップ印刷は、商品ラベル又は発送ラベルの印刷に用いられる。例えば、商品ラベルをクロップ印刷する場合、図3に示すように、バーコード71の画像7を1又は2以上含む画像8の画像データから、バーコードを含む画像7の画像データ(以下「バーコード画像データ」とする)を個別に抽出し、抽出した画像7を用紙222に印刷する、ダイカットラベルへの印刷であれば、通常、1枚の用紙222に対して、1個の画像7が印刷される。なお、画像7は、例えば、バーコード71の他、商品名やコンディションなどの画像を含む。
In this embodiment, crop printing is used for printing product labels or shipping labels. For example, in the case of crop printing a product label, as shown in FIG. 3, from the image data of the
また例えば、発送ラベルをクロップ印刷する場合、商品ラベルに印刷する画像と発送ラベルに印刷する画像とを含むA4サイズの画像データから、商品ラベルに印刷する画像の画像データと発送ラベルに印刷する画像の画像データをそれぞれ抽出し、用紙222のラベルに印刷する。発送ラベルに印刷される画像の画像データも、バーコード画像データを有する。
Also, for example, when crop printing a shipping label, from A4 size image data including an image to be printed on the product label and an image to be printed on the shipping label, image data of an image to be printed on the product label and an image to be printed on the shipping label. The image data of each of the above is extracted and printed on the label of the
商品ラベル又は発送ラベルに印刷されるバーコードは、バーコードリーダによって正確に読み取ることができる必要がある。また、バーコードの画像を提供するサービス提供会社によって、商品ラベルと発送ラベルの大きさが指定されることがある。また、指定される大きさが、商品ラベルと発送ラベルとで異なることがある。また、ラベルの大きさは、商品の大きさや配送業者の規格、バーコードを印刷する位置などによって制限されることがある。よって、商品ラベルと発送ラベルのクロップ印刷に使用する用紙222は、上記制限に適した用紙サイズである必要がある。なお、基本印刷を行う場合、用紙222の用紙サイズが上記制限に適した用紙サイズである必要はない。
The barcode printed on the product label or shipping label must be accurately readable by the barcode reader. In addition, the size of the product label and the shipping label may be specified by the service provider that provides the image of the barcode. In addition, the specified size may differ between the product label and the shipping label. In addition, the size of the label may be limited by the size of the product, the standard of the delivery company, the position where the barcode is printed, and the like. Therefore, the
プリンタドライバ411は、プリンタ2と通信し、プリンタ2に設定されている用紙サイズをプリンタ2から取得する機能を有する。以下では、用紙サイズのうち、印刷媒体22の搬送方向の大きさを、「用紙長さ」とし、搬送方向に直交する方向の大きさを、「用紙幅」とする。用紙幅は、セットされた印刷媒体22によって決まる。例えば、用紙222の幅が基材221の幅よりも小さい場合、用紙幅は、用紙222の幅である。
The
用紙長さは、用紙種類や印刷データによってそれぞれ異なる。用紙種類が無定長テープの場合、用紙長さは、個々の印刷データの印刷対象となる範囲であり、印刷後に排出口23から突出される長さである。用紙種類がダイカットラベルの場合、用紙長さは、基材221上に貼着されている切断済みの用紙222の1つの長さである。用紙種類がマーク付きメディアの場合、用紙長さは、搬送方向におけるマークの間隔である。
The paper length differs depending on the paper type and print data. When the paper type is an indefinite length tape, the paper length is a range to be printed for each print data, and is a length protruding from the
プリンタドライバ411は、よく使う印刷設定を登録DB42に登録する機能を有する。プリンタドライバ411は、プリンタ2から取得した用紙サイズが登録DB42に登録されていない場合に、その用紙サイズを含む設定データを登録DB42に記憶する機能を有する。
The
登録DB42は、例えば、図4に示すように、登録番号441、用紙サイズ442、モード443、用途444、用紙種445、オートカット446等の設定値を関連付けた設定データ44を記憶している。
For example, as shown in FIG. 4, the
登録番号441は、設定データを識別する情報である。用紙サイズ442は、用紙222の用紙サイズに関する情報であり、用紙幅と用紙長さを含む。モード443は、基本印刷設定モード向けの設定データであるか、クロップ印刷設定モード向けの設定データであるかを示す情報である。用途444は、印刷物の用途を示す情報であり、例えば、商品ラベル、発送ラベルが記憶される。本形態では、用途444に商品ラベル又は発送ラベルが記憶される場合、モード443にクロップ印刷設定モードが記憶され、用途444に商品ラベル又は発送ラベルが記憶されない場合、モード443に基本印刷設定モードが記憶される。なお、用途444は、特定の印刷に用いる設定の一例である。
The
用紙種445は、用紙種類を示す情報であり、「無定長テープ」、「ダイカットラベル」、「マーク付きメディア」のいずれかの値が記憶される。オートカット446は、用紙を自動的にカットするか否かを示す情報であり、用紙を自動的に切り離すことを示す「カット」、用紙を幅方向の途中まで切断して切れ目を入れることを示す「ハーフカット」、用紙をカットしないことを示す「なし」の何れかの値が記憶される。
The
なお、設定データ44は、例えば、プリンタドライバ411のインストール時や更新時に、登録DB42に自動登録されてもよいし、ユーザIF18を用いて登録DB42に登録されてもよい。例えば、純正用紙は、前者の方法で登録DB42に登録でき、非純正用紙については、後者の方法で登録DB42に登録できる。
The setting
続いて、印刷システムの動作を説明する。例えば、ユーザは、商品毎に商品情報をPC1に入力し、サーバ3に送信する。サーバ3は、商品情報に基づいてバーコード画像データを作成し、バーコード画像データを1又は2以上含むA4サイズの画像データをPC1に返信する。ユーザが商品情報を10個入力した場合、10個のバーコード画像データを配列したA4サイズの画像データが、サーバ3からPC1に送信される。
Next, the operation of the printing system will be described. For example, the user inputs product information for each product into the
図5に示すように、PC1は、サーバ3から画像データを受信すると、汎用アプリ40を用いてラベル画像表示画面D1をディスプレイ19に表示させる。ラベル画像表示画面D1には、バーコードを含む画像7が一覧表示されている。また、ラベル画像表示画面D1には、印刷ボタンA1が表示されている。PC1は、ユーザIF18を用いて印刷ボタンA1が押下されると、汎用アプリ40を用いて印刷設定用のダイアログDL1をディスプレイ19に表示させる。ダイアログDL1には、プレビュー画像PR1と、プロパティボタンA2と、印刷ボタンA3が表示されている。
As shown in FIG. 5, when the
ユーザIF18を介してプロパティボタンA2が押下されると、汎用アプリ40は、OSのAPI(Application Programming Interface の略)を介してプリンタドライバ411を呼び出す。PC1は、この呼び出しを契機に、CPU11がプリンタドライバ411を起動させ、図6に示す印刷設定処理を実行する。
When the property button A2 is pressed via the user IF18, the general-
なお、以下の処理およびフローチャートの各処理ステップは、基本的に、各プログラムに記述された命令に従ったCPU11の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「取得」、「受付」、「制御」等の処理は、CPU11の処理を表している。CPU11による処理は、PC1のOS41のAPIを用いたハードウェア制御も含む。本明細書では、OS41の記載を省略して各プログラムの動作を説明する。すなわち、以下の説明において、「プログラムBがハードウェアCを制御する」という趣旨の記載は、「プログラムBがOS41のAPIを用いてハードウェアCを制御する」ことを指してもよい。また、プログラムに記述された命令に従ったCPU11の処理を、省略した文言で記載することがある。例えば、「CPU11が行う」、「プログラムが行う」のように記載することがある。
In addition, each processing step of the following processing and flowchart basically shows the processing of
なお、「取得」は要求を必須とはしない概念で用いる。すなわち、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 it is the matter B by the
まず、CPU11は、レジストリに記憶されている現在の印刷設定値を読み出し、RAM13に一時的に記憶させる(S12)。現在の印刷設定値は、プリンタドライバ411がインストールされたときに設定されるデフォルト設定値のままである場合もあれば、例えば、図7、図8などで変更操作を受け付け、レジストリに記憶された設定値である場合もある。なお、このレジストリに記憶される印刷設定値は、プリンタドライバ411での印刷データ、プリンタへのコマンド作成に用いられる全ての設定項目が含まれている。レジストリは、不揮発性メモリ14に設けられた、プリンタドライバ411用の記憶領域である。
First, the
それから、CPU11は、図7に示す基本設定画面D3をディスプレイ19に表示させる(S14)。基本設定画面D3は、プリンタドライバ411が基本印刷設定モードである場合に表示される。基本設定画面D3は、クロップ印刷以外の印刷でも用いる設定、つまり、クロップ印刷とそれ以外の印刷とで共用される基本の設定を受け付ける画面である。プリンタドライバ411は、印刷設定処理の開始時に基本印刷設定モードとして起動するようにプログラミングされている。
Then, the
基本設定画面D3は、基本設定タブTB31とクロップ印刷タブTB32とを備える。基本設定タブTB31は、プリンタドライバ411を基本印刷設定モードとする指示を受け付けるオブジェクトである。クロップ印刷タブTB32は、プリンタドライバ411をクロップ印刷設定モードとする指示を受け付けるオブジェクトである。プリンタドライバ411は、基本印刷設定モードのときに、クロップ印刷タブTB32が選択されると、クロップ印刷設定モードになり、図8に示すクロップ印刷設定画面D4をディスプレイ19に表示させる。
The basic setting screen D3 includes a basic setting tab TB31 and a crop printing tab TB32. The basic setting tab TB31 is an object that receives an instruction to set the
クロップ印刷設定画面D4は、クロップ印刷で用いる印刷設定を受け付ける画面である。クロップ印刷設定画面D4は、基本設定領域DA32に代えてクロップ印刷設定領域DA42が設けられている。RAM13に記憶される印刷設定値のうち、クロップ印刷に関する設定値は、クロップ印刷設定画面D4のクロップ設定欄SA41に設けられたラジオボタンR41〜R43に反映される。クロップ印刷設定画面D4にも、基本設定タブTB31とクロップ印刷タブTB32が設けられている。プリンタドライバ411は、クロップ印刷設定モードのときに、基本設定タブTB31が選択されると、基本印刷設定モードになり、図7に示す基本設定画面D3をディスプレイ19に表示させる。
The crop print setting screen D4 is a screen that accepts print settings used in crop printing. The crop print setting screen D4 is provided with a crop print setting area DA42 instead of the basic setting area DA32. Among the print setting values stored in the
尚、基本設定タブTB31が選択されても、クロップ印刷タブTB32が選択されても、RAM13の設定値が変更されるわけではない。RAM13の設定値は、新たに表示される設定画面に反映される。
Even if the basic setting tab TB31 is selected or the crop printing tab TB32 is selected, the setting value of the
例えば、レジストリに記憶されている印刷設定値に含まれる用紙種類の設定が「無定長テープ」であり、用紙サイズの設定値が用紙幅103mm、用紙長さ164mmであり、オートカットの設定値がカットであり、クロップ印刷の設定がオフであるとする。この場合、印刷設定処理開始直後に表示される基本設定画面D3は、図7に記載されるように、設定表示領域DA31、用紙選択欄SA31、用紙サイズ欄SA32、オプション欄SA34にそれらの設定値が反映される。この基本設定画面D3において、クロップ印刷タブTB32が選択されると、CPU11は、図8に示すクロップ印刷設定画面D4を表示し、クロップ印刷処理を行わないことを設定するラジオボタンR41を選択する。そして、CPU11は、基本設定画面D3に表示される用紙サイズと同じ用紙サイズを用紙サイズ欄SA42に表示させると共に、基本印刷のイメージ画像をイメージ欄SA43に表示させる。なお、基本設定画面D3にもクロップ印刷設定画面D4にも、確認ボタンA32が設けられている。
For example, the paper type setting included in the print setting values stored in the registry is "unfixed length tape", the paper size setting values are paper width 103 mm and paper length 164 mm, and the auto cut setting values. Is a cut and the crop print setting is off. In this case, the basic setting screen D3 displayed immediately after the start of the print setting process is set in the setting display area DA31, the paper selection field SA31, the paper size field SA32, and the option field SA34, as shown in FIG. Is reflected. When the crop print tab TB32 is selected on the basic setting screen D3, the
基本設定画面D3について図7を参照して具体的に説明すると、基本設定画面D3は、基本設定タブTB31とクロップ印刷タブTB32の他、設定表示領域DA31と、基本設定領域DA32と、OKボタンA31と、を備える。OKボタンA31は、印刷設定の確定を指示するボタンである。 The basic setting screen D3 will be specifically described with reference to FIG. 7. In the basic setting screen D3, in addition to the basic setting tab TB31 and the crop printing tab TB32, the setting display area DA31, the basic setting area DA32, and the OK button A31 And. The OK button A31 is a button for instructing confirmation of the print setting.
設定表示領域DA31は、RAM13に一時的に記憶されている印刷設定値を表示する領域である。基本設定領域DA32は、標準設定項目が表示される領域である。基本設定領域DA32には、用紙選択欄SA31と、用紙サイズ欄SA32と、部数欄SA33と、オプション欄SA34が表示される。
The setting display area DA31 is an area for displaying the print setting value temporarily stored in the
用紙選択欄SA31は、用紙サイズの名称の選択を受け付ける欄である。用紙選択欄SA31には、一般的な複数種の用紙サイズの名称、及び、登録DB42に登録済みであって基本印刷設定モードと関連付けられている印刷媒体22の名称が、選択肢として表示される。例えば、登録DBに登録済みの印刷媒体22の名称が選択されると、CPU11は、選択された用紙名称に対応して記憶されている印刷媒体22の用紙サイズを用紙サイズ欄SA32に表示させる。用紙選択欄SA31には、確認ボタンA32が設けられている。確認ボタンA32は、プリンタ2から用紙サイズを取得する指示を受け付けるボタンである。確認ボタンA32は、入力オブジェクトの一例である。
The paper selection field SA31 is a field for accepting selection of a paper size name. In the paper selection field SA31, the names of a plurality of general paper sizes and the names of the
用紙サイズ欄SA32は、用紙サイズを受け付ける欄である。部数欄SA33は、同じラベルを作成する部数の入力を受け付ける欄である。オプション欄SA34は、ラベル作成時にオプションユニット25を使用するか否かを示す情報の入力を受け付ける欄である。オプション欄SA34には、例えば、用紙をカットする枚数を指定する「指定枚数ごとにカット」のチェックボックスや、用紙を切り離す「最後をカット」のチェックボックスや、用紙に切り目を入れる「ハーフカット」のチェックボックスが設けられている。
The paper size column SA32 is a column for accepting the paper size. The number of copies column SA33 is a column for accepting input of the number of copies for creating the same label. The option column SA34 is a column that accepts input of information indicating whether or not to use the
図6に戻り、S16の処理は、基本設定画面D3を表示するときと、クロップ印刷設定画面D4を表示するときの両方に共通する処理である。CPU11は、ユーザIF18を用いて確認ボタンA32が押下されたか否かを判断する(S16)。CPU11は、確認ボタンA32が押下されたと判断した場合(S16:YES)、プリンタ2に設定されている用紙サイズをプリンタ2から取得する(S18)。S18の処理は取得処理の一例である。
Returning to FIG. 6, the process of S16 is a process common to both when displaying the basic setting screen D3 and when displaying the crop print setting screen D4. The
用紙サイズの取得は、例えば、プリンタドライバ411がプリンタ2に対して用紙サイズの計測指示を送信し、その計測結果を受信することにより行ってもよい。プリンタ2は、キャリブレーションを実行して用紙サイズを検出してもよいし、印刷媒体22を収容するカセットの識別子から用紙サイズを検出してもよい。これによれば、プリンタ2が用紙サイズを実測するので、PC1は、プリンタ2に現在セットされている印刷媒体22の用紙サイズを自動的に取得することができる。
The acquisition of the paper size may be performed, for example, by the
なお、PC1がプリンタ2から取得する用紙サイズは、プリンタ2に現在セットされている用紙サイズに厳密に限定されない。すなわち、プリンタドライバ411がプリンタ2に設定されている用紙サイズの送信をプリンタ2に要求した場合に、プリンタ2のメモリ内に記憶されている用紙サイズを応答してもよい。プリンタドライバ411は、プリンタ2からの応答を受信することにより、用紙サイズを取得してもよい。また例えば、プリンタ2は、用紙カセットが外されている場合、直前にセットされていたカセットに対応する用紙サイズをPC1に返信してもよい。
The paper size acquired by the
用紙サイズを取得したCPU11は、取得した用紙サイズに対応する設定データが登録DB42にあるか否かを判断する(S20)。すなわち、CPU11は、取得した用紙サイズと、図4に示す登録DB42に記憶されている用紙サイズ442とを比較し、取得した用紙サイズに最も近い用紙サイズ442を読み出す。そして、CPU11は、読み出した用紙サイズ442が取得した用紙サイズと所定の誤差範囲内であるか否かを判断する。
The
CPU11は、読み出した用紙サイズ442が取得した用紙サイズと所定の誤差範囲内でない場合、取得した用紙サイズに対応する設定データがないと判断し(S20:NO)、登録処理を実行し、取得した用紙サイズを登録DB42に追加登録する(S46)。CPU11は、登録処理後、S16に戻る。なお、登録処理は、記憶処理の一例である。登録処理については、後述する。
If the
一方、CPU11は、読み出した用紙サイズ442が取得した用紙サイズと所定の誤差範囲内であると判断した場合には、取得した用紙サイズに対応する設定データが登録DB42にあると判断する(S20:YES)。この場合、CPU11は、読み出した用紙サイズ442を含むレコードを登録DB42から読み出す(S22)。これにより、CPU11は、取得した用紙サイズと同じ用紙サイズに対応する設定データ44を登録DB42から抽出できる。なお、S20,S22の処理は、抽出処理の一例である。
On the other hand, when the
CPU11は、登録DB42から抽出した設定データ44に含まれる設定項目について、RAM13に一時記憶されている印刷設定値を、登録DB42から抽出した設定データ44の設定値で上書きする(S24)。なお、抽出した設定データ44に含まれない設定項目については、現在の設定値が維持される。
The
その後、CPU11は、RAM13に記憶されている印刷設定値に含まれるモードがクロップ印刷設定モードであるか否かを判断する(S26)。モードがクロップ印刷設定モードである場合(S26:YES)、CPU11は、図8に示すクロップ印刷設定画面D4の表示を行う(S28)。CPU11は、基本設定画面D3を表示している状態なら、クロップ印刷設定画面D4の表示に切り替え、クロップ印刷設定画面D4を表示している状態なら、クロップ印刷設定画面D4の表示を維持する。クロップ印刷設定画面には、RAM13に記憶されている印刷設定値、すなわち、抽出された設定データが示す印刷設定の設定値が反映される。S28の処理は、表示処理の一例である。基本設定画面D3を表示している状態から行われるS26,S28の処理は、切替処理の一例である。
After that, the
例えば、基本設定画面D3を表示している状態で、PC1がプリンタ2から取得した用紙サイズが、用紙幅60mm、用紙長さ30mmである場合(S18)、CPU11は、図4に示す登録DB42から登録番号「2」の設定データ44を抽出する(S20:YES、S22)。登録番号「2」の設定データは、例えば、用紙サイズ442、モード443、用途444、用紙種445、オートカット446について設定値が設定されている。そこで、CPU11は、RAM13に記憶されている印刷設定のうち、用紙サイズと、モード、用途、用紙種類、オートカットの設定値を、登録番号「2」の設定データ44に含まれる設定値で変更する(S24)。
For example, when the paper size acquired from the
この場合、RAM13に記憶される印刷設定値に含まれるモードは、登録番号「2」の設定データ44に関連付けられたモード443によって、「クロップ印刷設定モード」が設定されている。そこで、CPU11は、図7に示す基本設定画面D3を、図8に示すクロップ印刷設定画面D4に切り替える(S26:YES、S28)。このとき、CPU11は、登録番号「2」の設定データ44を反映した設定値を、クロップ印刷設定画面D4に表示させる。
In this case, the mode included in the print setting value stored in the
すなわち、RAM13に記憶されている用途、用紙サイズは、図4に示す登録DB42から抽出した登録番号「2」の設定データ44の用途444、用紙サイズ442によって、それぞれ、「商品ラベル」、「60mm×30mm」が設定されている。そこで、CPU11は、商品ラベルのクロップ印刷処理を設定するラジオボタンR42を自動的に選択し、用紙サイズ欄SA42に「60mm×30mm」表示させる。さらに、CPU11は、イメージ欄SA43に、商品ラベルのクロップ印刷をイメージさせるイメージ画像を表示させる。そして、CPU11は、設定表示領域DA31に、登録番号「2」の設定データ44が示す設定値を反映した印刷設定を表示させる。例えば、設定表示領域DA31は、確認ボタンA32の操作前、無定長テープ形式の印刷概略図を表示していたが、クロップ印刷設定画面D4に切り替えられたときに、登録番号「2」の設定データ44の用紙種445に対応して、ダイカットラベル形式の印刷概略図が表示される。用紙サイズも同様である。なお、登録番号「2」の設定データ44に含まれない設定項目については、設定データ44でRAM13の設定値を上書きする前の設定値が表示される。
That is, the usage and the paper size stored in the
図6に戻り、CPU11は、ユーザIF18を用いて、タブ選択が変更されたか否かを判断する(S30)。タブ選択が変更されない場合(S30:NO)、CPU11は、S36に進む。
Returning to FIG. 6, the
一方、CPU11は、クロップ印刷設定画面D4において、基本設定タブTB31が選択された場合、または、基本設定画面D3において、クロップ印刷タブTB32が選択された場合、タブ選択が変更されたと判断する(S30:YES)。この場合、CPU11は設定画面を切り替える。具体的には、クロップ印刷設定画面D4を基本設定画面D3に切り替える、または、基本設定画面D3をクロップ印刷設定画面D4に切り替える(S32)。そして、CPU11は、切替後の基本設定画面D3に、RAM13に一時記憶されている印刷設定値を反映する(S34)。
On the other hand, the
例えば、CPU11は、図4に示す登録DB42から登録番号「2」の設定データ44を抽出してRAM13の印刷設定値に上書きし、クロップ印刷設定画面D4を表示する(S24、S26:YES、S28)。この状態で、基本設定タブTB31を選択する操作がされたことに応じて、CPU11は、画面表示を基本設定画面D3に切り替える(S30:YES、S32)。この場合、RAM13に記憶される印刷設定値は、オートカットの設定値が「なし」であるので、オプション欄SA34は、「指定枚数ごとにカット」、「最後をカット」、「ハーフカット」のチェックボックスからチェックが自動的に外される。また同様に、用紙選択欄SA31、用紙サイズ欄SA32、設定表示領域DA31にも、登録番号「2」の設定データ44が示す印刷設定を反映した設定値が表示される(S34)。
For example, the
これに対して、基本設定画面D3においてクロップ印刷タブTB32が操作された場合(S30:YES)、CPU11は、クロップ印刷設定画面D4を表示し(S32)、RAM13の設定値を反映する(S34)。よって、ユーザは、ユーザIF18を用いて、基本設定画面D3又はクロップ印刷設定画面D4のタブTB31,TB32を選択することにより、プリンタドライバ411のモードを任意に切り替えることができる(S42:NO、S16:NO、S30:YES、S32、S34)。
On the other hand, when the crop print tab TB32 is operated on the basic setting screen D3 (S30: YES), the
図6に示すように、CPU11は、ユーザIF18を用いて、クロップ印刷設定画面D4又は基本設定画面D3において、ディスプレイ19に表示される設定値を変更する変更操作があったか否かを判断する(S36)。CPU11は、変更操作があったと判断する場合(S36:YES)、変更操作に応じて、クロップ印刷設定画面D4又は基本設定画面D3に表示される設定値を変更する(S38)。そして、CPU11は、RAM13に一時記憶されている印刷設定値を、変更された設定値で変更する(S40)。なお、CPU11は、変更操作がないと判断する場合(S36:NO)、S38,S40の処理を行わずに、S42に進む。
As shown in FIG. 6, the
CPU11は、クロップ印刷設定画面D4又は基本設定画面D3のOKボタンA31が、ユーザIF18を用いて押下されたか否かを判断する(S42)。OKボタンA31が押下されない場合(S42:NO)、CPU11は、S16の処理に戻る。
The
一方、OKボタンA31が押下された場合(S42:YES)、CPU11は、レジストリに記憶されている印刷設定値を、RAM13に一時記憶している印刷設定値で上書きし、現在の印刷設定値を更新する(S44)。その後、CPU11は、印刷設定処理を終了する。
On the other hand, when the OK button A31 is pressed (S42: YES), the
CPU11は、プリンタドライバ411による印刷設定処理が終了すると、ダイアログDL1をディスプレイ19に表示させる。CPU11は、印刷ボタンA3が押下されることにより、印刷実行指示を受け付け、汎用アプリ40からプリンタドライバ411に、A4サイズの画像データを渡す。
When the print setting process by the
CPU11は、レジストリから印刷設定値を読み出し、印刷データとコマンドを生成する。このとき、例えば、印刷設定値に含まれるクロップ印刷の設定値がオン、用途が「商品ラベル」である場合、CPU11は、A4サイズの画像データから画像7の画像データを抽出し、印刷データを生成する。そして、CPU11は、プリンタドライバ411を用いて、印刷設定値に含まれる用紙サイズの印刷領域に印刷データを収めるように画像データを生成し、プリンタ2が読み取り可能な形式に変換する。そして、PC1は、変換した画像データを含む印刷コマンドをプリンタ2に出力する。プリンタ2は、印刷コマンドに従って、1枚の用紙222に画像7を1個ずつ印刷していく。なお、用途が商品ラベルである場合、印刷コマンドに含まれるオートカットには「なし」を設定されている。よって、プリンタ2は、印刷時に印刷媒体22をカットしない。
The
なお、例えば、CPU11は、確認ボタンA32が押下されることによりプリンタ2から取得した用紙サイズが、用紙幅105mm、用紙長さ50mmである場合、図4に示す登録DB42から登録番号「4」の設定データ44を抽出し、RAM13に一時記憶する印刷設定値に上書きする(S16:YES、S18、S20:YES、S22、S24)。RAM13に一時記憶される印刷設定値は、抽出した設定データ44のモード443によって、「クロップ印刷設定モード」が設定されているので、CPU11は、クロップ印刷設定画面D4を表示する(S26:YES、S28)。この場合、CPU11は、用途444に基づいて、発送ラベルをクロップ印刷処理するラジオボタンR43を自動的に選択し、クロップ印刷設定画面D4を表示する。この他は、商品ラベルと同様に、CPU11は、クロップ印刷設定画面D4を表示する。
For example, when the paper size acquired from the
これに対して、CPU11は、例えば、プリンタ2から取得した用紙サイズが、用紙幅30mm、用紙長さ60mmである場合(S18)、図4に示す登録DB42から登録番号「1」の設定データ44を抽出する(S20:YES、S22)。そして、CPU11は、RAM13に記憶されている印刷設定のうち、用紙サイズと、モード、用途、用紙種類、オートカットの設定値を、登録番号「1」の設定データ44に含まれる設定値で変更する(S24)。CPU11は、RAM13に記憶されるモードの設定値が「基本印刷設定モード」であるので、基本設定画面D3を表示する(S48)。このとき、基本設定画面D3には、RAM13の設定値が表示される。つまり、CPU11は、登録番号「1」の設定データ44が示す印刷設定の設定値を、基本設定画面D3に表示させる。S48の処理は、表示処理の一例である。
On the other hand, when the paper size acquired from the
そのため、CPU11は、基本設定画面D3を表示したまま、設定表示領域DA31、用紙選択欄SA31、用紙サイズ欄SA32に表示される用紙サイズに関する設定値を、登録番号「1」の用紙サイズが示す用紙幅30mm、用紙長さ60mmに応じて、変更する。また例えば、設定表示領域DA31に表示される印刷概略図は、登録番号「1」の用紙種445の設定値によって、無定長テープ形式の印刷概略図からマーク付きメディア形式の印刷概略図に変更される。さらに、オプション欄SA34は、登録番号「1」のオートカット446の設定値によって、「最後をカット」のチェックボックスからチェックが自動的に外され、「ハーフカット」のチェックボックスにチェックが自動的に入れられる。
Therefore, while displaying the basic setting screen D3, the
図6に戻り、上記のようにクロップ印刷設定画面D4又は基本設定画面D3を表示したCPU11は、S30に進む。S30以降の処理は、上述したので説明を省略する。
Returning to FIG. 6, the
従って、本形態のプリンタドライバ411は、登録DB42に記憶される設定データ44の中に、プリンタ2に現在セットされている印刷媒体22の用紙サイズに対する設定データ44がある場合に(S18、S20:YES)、その設定データ44が示す印刷設定をディスプレイ19に表示させる(S22、S24、S26、S28、S48)。これにより、プリンタドライバ411は、不適切な用紙サイズが選択されている状態での印刷を回避できる可能性が高く、ユーザが用紙サイズを確認する手間を低減することができる。また、ユーザが、モードに応じて設定値を入力する手間が低減される。
Therefore, in the
次に、上述した登録処理の処理手順を、図9を参照して説明する。図9(a)に示すように、CPU11は、プリンタ2から取得した用紙サイズを登録DB42に追加するか否かを確認する追加登録確認メッセージを表示する(S62)。例えば、CPU11は、図9(b)に示すダイアログDL5を、ディスプレイ19に表示させる。ダイアログDL5には、追加登録を行う指示を受け付けるアイコンA51と、追加登録を行わない指示を受け付けるアイコンA52が表示される。確認メッセージを表示したCPU11は、追加登録指示を受け付けたか否かを判断する(S64)。
Next, the processing procedure of the above-mentioned registration process will be described with reference to FIG. As shown in FIG. 9A, the
CPU11は、ユーザIF18を用いてアイコンA51が押下された場合、追加登録指示を受け付けたと判断し(S64:YES)、用紙サイズ以外の印刷設定を取得する(S66)。用紙サイズ以外の印刷設定は、用紙サイズに応じて自動的に設定してもよいし、ユーザがユーザIF18を用いて選択するようにしてもよい。CPU11は、S66にて取得した用紙サイズ以外の印刷設定と、プリンタ2から取得した用紙サイズとを関連付けた設定データ44を登録DB42に登録し(S68)、処理を終了する。尚、CPU11は、ユーザIF18を用いてアイコンA52が押下された場合、追加登録指示を受け付けないと判断し(S64:NO)、処理を終了する。
When the icon A51 is pressed by using the user IF18, the
例えば、非純正用紙は、図4に示す登録DB42に登録されていない場合がある。この場合、CPU11は、確認ボタンA32の押下に応じて、プリンタ2から非純正用紙の用紙サイズを取得しても、取得した用紙サイズに対応する設定データを登録DB42から読み出すことができない(図6のS16:YES、S18、S20:NO)。この場合、CPU11は、ダイアログDL5のアイコンA51が押下されることにより、用紙サイズ以外の印刷設定、例えば、モード、用途、用紙種類、オートカットなどの情報をユーザIF18を介して取得する(S66)。そして、CPU11は、プリンタ2から取得した用紙サイズと、取得した用紙サイズ以外の情報とを関連付けた設定データ44を、登録DB42に記憶させる(S68)。これにより、新たに検出された非純正用紙を、登録DB42に追加登録できる。
For example, the non-genuine paper may not be registered in the
従って、プリンタドライバ411を実行するCPU11は、次回、確認ボタンA32を押下した場合に、その非純正用紙の用紙サイズに対応する設定データを登録DB42から読み出して、RAM13に一時記憶した印刷設定値を抽出した設定データの設定値によって上書きし、クロップ印刷設定画面D4又は基本設定画面D3に、追加登録した設定データが示す印刷設定を表示させることができるようになる。
Therefore, when the confirmation button A32 is pressed next time, the
なお、本実施の形態は単なる例示にすぎず、本発明を何ら限定するものではない。したがって本発明は当然に、その要旨を逸脱しない範囲内で種々の改良、変形が可能である。例えば、PCやプリンタの台数は、図示の例に限らない。また、プリンタ2の印刷方式は、熱転写方式に限らず、例えば、インクジェット方式、電子写真方式、感熱方式でもよい。また、印刷媒体22は、ラベルに限らず、例えば、単なるロール紙でもよい。さらに、クロップ印刷設定モードは、お薬手帳ラベルの印刷設定を行うモードであってもよい。
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
本発明を、ラベルプリンタ以外に、ロール紙に印刷するロール紙プリンタに適用してもよいし、カット紙に印刷するカット紙プリンタに適用してもよい。プリンタ機能だけでなく、スキャナ機能などを備えた複合機に適用してもよい。 In addition to the label printer, the present invention may be applied to a roll paper printer that prints on roll paper, or may be applied to a cut paper printer that prints on cut paper. It may be applied not only to a printer function but also to a multifunction device having a scanner function and the like.
例えば、図10に示すように、プリンタドライバ411が、起動後、プリンタ2から用紙サイズを自動的に取得するようにしてもよい。つまり、図6のS14、S16に示す処理を省略してもよい。この場合、プリンタドライバ411は、登録DB42から抽出した設定データ44のモード443がクロップ印刷設定モードである場合には(S26:YES)、クロップ印刷設定画面D4をディスプレイに表示させ(S28)、基本印刷設定モードである場合には(S26:NO)、基本設定画面D3をディスプレイに表示させる(S48)。この場合、RAM13の印刷設定値が、登録DB42から抽出された設定データ44が示す設定値で変更されている(S24)。そのため、各画面には、抽出した設定データ44が示す印刷設定が表示され、ユーザが印刷設定を入力する手間が低減される。このように用紙サイズを自動取得することで、不適切な用紙サイズが選択された状態での印刷を回避する可能性が高まる。なお、確認ボタンA32を押下するタイミングで用紙サイズを取得することにより、ユーザがプリンタ2まで移動して用紙サイズを確認する手間を意識的に省くことができる。
For example, as shown in FIG. 10, the
図10に示すように用紙サイズを自動検知する場合、例えば、基本設定画面D3のオプション欄SA34に、起動時の用紙サイズの自動検知を設定する設定項目を設け、その設定に従って用紙サイズの自動検知を行うようにしても良い。 When the paper size is automatically detected as shown in FIG. 10, for example, a setting item for setting automatic detection of the paper size at startup is provided in the option field SA34 of the basic setting screen D3, and the paper size is automatically detected according to the setting. You may try to do.
図6及び図10に示すS46の登録処理は行わなくてもよい。ただし、新たな用紙サイズが検出された場合に、登録処理を実行して、その用紙サイズに対応する設定データ44を新たに記憶することで、次回の表示では、表示処理による適切な印刷設定の表示が可能になる。
The registration process of S46 shown in FIGS. 6 and 10 may not be performed. However, when a new paper size is detected, the registration process is executed and the setting
本形態のプリンタドライバ411は、図6及び図10に示すS46を行うことで、登録DB42への登録機能を有している。しかし、登録DB42への登録は、プリンタドライバ411に限るものではない。例えば、登録DB42への登録用のアプリを設けてもよい。この場合、プリンタドライバ411から独立し、OS41の管轄外にある登録用のアプリが、図6及び図10のS46に示す登録処理を行う。登録用のアプリは、ユーザ任意のタイミングで起動され、あるいは、プリンタドライバ411が図6及び図10に示すS20の処理において設定データがないと判断したことを契機に、プリンタドライバ411から起動される。登録用のアプリは、記憶用のプログラムの一例である。
The
確認ボタンA32は、基本設定画面D3とクロップ印刷設定画面D4の両方に設けてもよい。 The confirmation button A32 may be provided on both the basic setting screen D3 and the crop print setting screen D4.
図6に示すS26、S28に示す切替処理は、省略してもよい。但し、基本設定画面D3の表示中に、例えば、登録番号「2」の設定データ44に含まれる設定値が抽出され、登録番号「2」の設定データ44に含まれるモード443の「クロップ印刷設定モード」に従って、切替処理により、クロップ印刷設定画面D4に切り替える(S26:YES、S28)ことで、クロップ印刷に適した印刷媒体22がプリンタ2にセットされていることをユーザが認識できる。
The switching process shown in S26 and S28 shown in FIG. 6 may be omitted. However, while the basic setting screen D3 is being displayed, for example, the setting value included in the setting
基本印刷設定モードとクロップ印刷設定モードの切替は、画面の切替でなく、各設定項目の入力可否によって行ってもよい。例えば、基本印刷設定モードである場合、標準設定項目を選択可能に表示し、クロップ印刷設定項目を選択不可能に表示し、クロップ印刷設定モードである場合、クロップ印刷設定項目を選択可能に表示し、クロップ印刷に用いない印刷設定項目を選択不可能に表示したりするようにしてもよい。この場合も、モード切替時にユーザに可否を入力させるようにしてもよい。 Switching between the basic print setting mode and the crop print setting mode may be performed not by switching the screen but by whether or not each setting item can be input. For example, in the basic print setting mode, the standard setting items are displayed as selectable, the crop print setting items are displayed as non-selectable, and in the crop print setting mode, the crop print setting items are displayed as selectable. , Print setting items that are not used for crop printing may be displayed so as not to be selectable. In this case as well, the user may be asked to input whether or not the mode is switched.
上記形態では、プリンタ2から印刷媒体22の幅と長さを含む用紙サイズを取得したが、幅のみを用紙サイズとして取得しても良い。
In the above embodiment, the paper size including the width and length of the
図6のS12の後、RAM13に一時記憶する印刷設定値に含まれるクロップ印刷の設定値を確認し、設定値がオフであれば、S14を実行することで、基本印刷設定モードになり、設定値がオンであれば、S28を実行することで、クロップ印刷設定モードになるようにしてもよい。なお、クロップ印刷の設定値の代わりに、用途を確認し、用途が商品ラベル又は発送ラベルである場合に、S28を実行し、クロップ印刷モードになり、それ以外の用途である場合に、S14を実行し、基本印刷設定モードになるようにしてもよい。
After S12 in FIG. 6, the crop print setting value included in the print setting value temporarily stored in the
図6のS26において、用途444が商品ラベルまたは発送ラベルであれば、クロップ印刷設定モードであると判断してもよい(S26:YES)。この場合、図4の登録DB42にモード443を設けなくてもよい。
In S26 of FIG. 6, if the
基本設定画面D3及びクロップ印刷設定画面D4に、「拡張設定」、「その他の設定」のタグがあり、それらの設定値が印刷設定に含まれてもよい。 The basic setting screen D3 and the crop print setting screen D4 have tags of "extended setting" and "other settings", and these setting values may be included in the print setting.
また、実施の形態に開示されている任意のフローチャートにおいて、任意の複数のステップにおける複数の処理は、処理内容に矛盾が生じない範囲で、任意に実行順序を変更できる、または並列に実行できる。 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
14 不揮発性メモリ
16 ネットワークIF
17 USB−IF
18 ユーザIF
19 ディスプレイ
411 プリンタドライバ
1 PC
2
14
17 USB-IF
18 User IF
19
Claims (9)
前記コンピュータに、
前記情報処理装置の通信インタフェースを介して、前記プリンタから前記プリンタに設定されている用紙サイズを取得する取得処理と、
前記複数の設定データの中から、前記取得処理にて取得した用紙サイズと同じ用紙サイズに対応する設定データを抽出する抽出処理と、
前記抽出処理にて抽出された設定データが示す印刷設定を、前記情報処理装置の表示デバイスに表示させる表示処理と、
を実行させる、
ことを特徴とするプログラム。 It is a program that can be executed by the computer of the information processing device and executes a process for setting the paper size used for printing by the printer. A plurality of setting data are stored in the memory of the information processing device. The setting data is data indicating print settings including the paper size.
On the computer
An acquisition process for acquiring the paper size set in the printer from the printer via the communication interface of the information processing device, and
Extraction processing that extracts setting data corresponding to the same paper size as the paper size acquired in the acquisition process from the plurality of setting data, and
A display process for displaying the print settings indicated by the setting data extracted in the extraction process on the display device of the information processing device, and
To execute,
A program characterized by that.
前記取得処理では、
前記通信インタフェースを介して、前記プリンタに対して計測指示を送信し、前記プリンタが前記計測指示を受信することで前記プリンタにセットされている用紙のサイズを計測した結果を、前記プリンタから受信する、
ことを特徴とするプログラム。 The program according to claim 1.
In the acquisition process,
A measurement instruction is transmitted to the printer via the communication interface, and the printer receives the measurement instruction to measure the size of the paper loaded in the printer and receives the result from the printer. ,
A program characterized by that.
前記プログラムには、特定の印刷に用いる設定を行う第1モードと、前記特定の印刷以外の印刷でも用いる設定を行う第2モードと、があり、
前記コンピュータに、
前記抽出処理にて抽出された設定データに前記特定の印刷に用いる設定が含まれており、かつ現在のモードが前記第2モードである場合に、前記第1モードに切り替える切替処理を実行させる、
ことを特徴とするプログラム。 The program according to claim 1 or 2.
The program has a first mode for setting to be used for specific printing and a second mode for setting to be used for printing other than the specific printing.
On the computer
When the setting data extracted by the extraction process includes the setting used for the specific printing and the current mode is the second mode, the switching process for switching to the first mode is executed.
A program characterized by that.
前記特定の印刷は、印刷対象の画像の一部を抽出し、抽出した画像の印刷を行うクロップ印刷であり、
前記第1モードは、前記クロップ印刷に用いる設定を行うクロップ印刷モードであり、
前記切替処理は、前記抽出処理にて抽出された設定データに前記クロップ印刷に用いる設定が含まれており、かつ現在のモードが第2モードである場合に、前記クロップ印刷モード用でない設定画面から、前記クロップ印刷モード用の設定画面に切り替えること、
を特徴とするプログラム。 The program according to claim 3.
The specific printing is crop printing in which a part of an image to be printed is extracted and the extracted image is printed.
The first mode is a crop printing mode in which settings used for the crop printing are set.
In the switching process, when the setting data extracted by the extraction process includes the setting used for the crop printing and the current mode is the second mode, the setting screen not for the crop printing mode is displayed. , Switching to the setting screen for the crop print mode,
A program featuring.
前記コンピュータに、
現在の印刷設定を示す設定画面を前記表示デバイスに表示させる場合に、前記取得処理を実行させる、
ことを特徴とするプログラム。 The program according to any one of claims 1 to 4.
On the computer
When displaying the setting screen showing the current print setting on the display device, the acquisition process is executed.
A program characterized by that.
前記コンピュータに、
現在の印刷設定を示す設定画面であって、用紙サイズの取得を示す入力オブジェクトが表示される前記設定画面を前記表示デバイスに表示させている状態で、前記入力オブジェクトに対する入力を受け付けた場合に、前記取得処理を実行させる、
ことを特徴とするプログラム。 The program according to any one of claims 1 to 4.
On the computer
When the input object for the input object is accepted while the setting screen indicating the current print setting and the input object indicating the acquisition of the paper size is displayed on the display device. To execute the acquisition process,
A program characterized by that.
前記コンピュータに、
前記抽出処理にて設定データが抽出されなかった場合に、前記取得処理にて取得した前記プリンタに設定されている用紙サイズを含む印刷設定を示す前記設定データを前記メモリに記憶する記憶処理を実行させる、
ことを特徴とするプログラム。 The program according to any one of claims 1 to 6.
On the computer
When the setting data is not extracted by the extraction process, a storage process of storing the setting data indicating the print setting including the paper size set in the printer acquired in the acquisition process in the memory is executed. Let,
A program characterized by that.
前記コンピュータに、
用紙サイズを含む印刷設定を取得し、取得した印刷設定を示す前記設定データを前記メモリに記憶する記憶処理を実行させ、前記情報処理装置は、前記プリンタから前記プリンタに設定されている用紙サイズを取得することが可能であり、さらに複数の設定データの中から、前記プリンタから取得した用紙サイズと同じ用紙サイズに対応する設定データが抽出された場合に、抽出された設定データが示す印刷設定を、前記情報処理装置の表示デバイスに表示することが可能である、
ことを特徴とする記憶用のプログラム。 It is a storage program that can be executed by the computer of the information processing device and executes a process for storing the setting of the paper size used for printing by the printer. The memory of the information processing device has a plurality of settings. Data is stored, and the setting data is data indicating print settings including paper size.
On the computer
The print setting including the paper size is acquired, and the storage process of storing the setting data indicating the acquired print setting in the memory is executed, and the information processing apparatus obtains the paper size set in the printer from the printer. It is possible to acquire, and when setting data corresponding to the same paper size as the paper size acquired from the printer is extracted from a plurality of setting data, the print setting indicated by the extracted setting data is set. , It is possible to display on the display device of the information processing device.
A program for memory that is characterized by that.
通信インタフェースと、
表示デバイスと、
コンピュータと、
を備える情報処理装置であって、
前記メモリには、複数の設定データが記憶されており、
前記設定データは、プリンタでの印刷に用いる用紙サイズを含む印刷設定を示すデータであり、
前記コンピュータは、
前記通信インタフェースを介して、前記プリンタから前記プリンタに設定されている用紙サイズを取得する取得処理と、
前記メモリに記憶される複数の設定データの中から、前記取得処理にて取得した用紙サイズと同じ用紙サイズに対応する設定データを抽出する抽出処理と、
前記抽出処理にて抽出された設定データが示す印刷設定を、前記表示デバイスに表示させる表示処理と、
を実行する、
ことを特徴とする情報処理装置。 With memory
Communication interface and
Display device and
With a computer
It is an information processing device equipped with
A plurality of setting data are stored in the memory.
The setting data is data indicating print settings including the paper size used for printing by the printer.
The computer
An acquisition process for acquiring the paper size set in the printer from the printer via the communication interface, and
An extraction process for extracting setting data corresponding to the same paper size as the paper size acquired in the acquisition process from a plurality of setting data stored in the memory.
A display process for displaying the print settings indicated by the setting data extracted by the extraction process on the display device, and
To execute,
An information processing device characterized by this.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019046537A JP7298209B2 (en) | 2019-03-13 | 2019-03-13 | Programs, programs for storage and information processing equipment |
US16/776,150 US10963193B2 (en) | 2019-03-13 | 2020-01-29 | Information processing apparatus executing setting process for printing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019046537A JP7298209B2 (en) | 2019-03-13 | 2019-03-13 | Programs, programs for storage and information processing equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020149380A true JP2020149380A (en) | 2020-09-17 |
JP7298209B2 JP7298209B2 (en) | 2023-06-27 |
Family
ID=72430551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019046537A Active JP7298209B2 (en) | 2019-03-13 | 2019-03-13 | Programs, programs for storage and information processing equipment |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7298209B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023019365A (en) * | 2021-07-29 | 2023-02-09 | ブラザー工業株式会社 | program |
CN117871135A (en) * | 2024-01-03 | 2024-04-12 | 印工社(青岛)数字科技有限公司 | Method for obtaining yield of printing machine |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09267534A (en) * | 1996-03-29 | 1997-10-14 | Tec Corp | Printer |
JP2004082528A (en) * | 2002-08-27 | 2004-03-18 | Seiko Epson Corp | Printing system |
JP2004213543A (en) * | 2003-01-08 | 2004-07-29 | Canon Inc | Printer driver |
JP2005128651A (en) * | 2003-10-21 | 2005-05-19 | Sato Corp | Printer system |
JP2007102328A (en) * | 2005-09-30 | 2007-04-19 | Seiko Epson Corp | Printing system, printing method and program |
JP2012084176A (en) * | 2012-01-18 | 2012-04-26 | Canon Inc | Image processing apparatus, image processing method and computer program |
JP2017117026A (en) * | 2015-12-22 | 2017-06-29 | キヤノン株式会社 | Printer, data processing device, control method and program |
-
2019
- 2019-03-13 JP JP2019046537A patent/JP7298209B2/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09267534A (en) * | 1996-03-29 | 1997-10-14 | Tec Corp | Printer |
JP2004082528A (en) * | 2002-08-27 | 2004-03-18 | Seiko Epson Corp | Printing system |
JP2004213543A (en) * | 2003-01-08 | 2004-07-29 | Canon Inc | Printer driver |
JP2005128651A (en) * | 2003-10-21 | 2005-05-19 | Sato Corp | Printer system |
JP2007102328A (en) * | 2005-09-30 | 2007-04-19 | Seiko Epson Corp | Printing system, printing method and program |
JP2012084176A (en) * | 2012-01-18 | 2012-04-26 | Canon Inc | Image processing apparatus, image processing method and computer program |
JP2017117026A (en) * | 2015-12-22 | 2017-06-29 | キヤノン株式会社 | Printer, data processing device, control method and program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2023019365A (en) * | 2021-07-29 | 2023-02-09 | ブラザー工業株式会社 | program |
CN117871135A (en) * | 2024-01-03 | 2024-04-12 | 印工社(青岛)数字科技有限公司 | Method for obtaining yield of printing machine |
Also Published As
Publication number | Publication date |
---|---|
JP7298209B2 (en) | 2023-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10963193B2 (en) | Information processing apparatus executing setting process for printing | |
JP7040204B2 (en) | Application program | |
US20160246555A1 (en) | Information processing device, display method for information processing device, and program | |
JP2008186148A (en) | Information processor and information processing method | |
US10152289B2 (en) | Communication apparatus that obtains application information from a communication partner apparatus existing within an effective communication range, control method therefor, and storage medium | |
JP7024270B2 (en) | Program and printing system | |
US9323484B2 (en) | Print instruction apparatus, printer, printing system, print instruction method, and non-transitory computer readable medium | |
US11192741B2 (en) | Image forming apparatus, image forming system and control method therefor | |
JP2020149380A (en) | Programs, storage programs and information processing equipment | |
JP7268413B2 (en) | program | |
US11809757B2 (en) | Non-transitory computer-readable storage medium | |
EP2085875A1 (en) | Printer | |
US9208411B2 (en) | Print controlling apparatus, print controlling method and storage medium | |
US10140560B2 (en) | Printing apparatus, control method of printing apparatus, and a storage medium | |
JP2019174951A (en) | Application program | |
JP4631905B2 (en) | Printing apparatus and printing system | |
JP7234647B2 (en) | Program and Information Processing Equipment | |
JP7218628B2 (en) | Programs, programs for storage and information processing equipment | |
JP2006018463A (en) | Data processing device, print control method in it, and program | |
US11579819B2 (en) | Storage medium, information processing apparatus, and control method of information processing apparatus | |
JP7024547B2 (en) | Application program | |
KR101154891B1 (en) | Image processing apparatus, image processing method and image forming apparatus thereof | |
EP3499472A1 (en) | Printer device | |
JP2021026267A (en) | Program and information processing device | |
JP7192516B2 (en) | Program and Information Processing Equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20221122 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230112 |
|
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: 20230516 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230529 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7298209 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |