JP7400011B2 - electronic equipment, programs - Google Patents

electronic equipment, programs Download PDF

Info

Publication number
JP7400011B2
JP7400011B2 JP2022079388A JP2022079388A JP7400011B2 JP 7400011 B2 JP7400011 B2 JP 7400011B2 JP 2022079388 A JP2022079388 A JP 2022079388A JP 2022079388 A JP2022079388 A JP 2022079388A JP 7400011 B2 JP7400011 B2 JP 7400011B2
Authority
JP
Japan
Prior art keywords
print
label
field
data
printing
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.)
Active
Application number
JP2022079388A
Other languages
Japanese (ja)
Other versions
JP2022111130A (en
JP2022111130A5 (en
Inventor
剛 川口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP2022079388A priority Critical patent/JP7400011B2/en
Publication of JP2022111130A publication Critical patent/JP2022111130A/en
Publication of JP2022111130A5 publication Critical patent/JP2022111130A5/en
Application granted granted Critical
Publication of JP7400011B2 publication Critical patent/JP7400011B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Labeling Devices (AREA)

Description

本発明の実施形態は、電子機器、プログラムに関する。 Embodiments of the present invention relate to electronic devices and programs .

従来、商品に関する複数の項目について表形式でラベルに印字するラベルプリンタが知られている。ラベルプリンタは、例えば、予め設定された複数の印字欄(項目)が設けられたラベルフォーマットに従って、それぞれの印字欄に印刷する文字等のデータを枠内に配置して印刷する。 Conventionally, label printers are known that print a plurality of items related to a product on a label in a table format. For example, a label printer prints data such as characters to be printed in each printing field arranged in a frame according to a label format in which a plurality of preset printing fields (items) are provided.

近年では、印字欄に印字するデータの量に応じて、印字欄のサイズを可変にする機能を持つラベルプリンタが知られている。例えば、予め設定されたラベルフォーマットにおける印字欄のサイズに対して、印字欄に印字する文字数が少ない場合に生じる空白部分を詰めて、印字欄のサイズを小さくして印字する。これにより、ラベルに無駄な空白部分を生じないようにすることができる。また、ロール状に巻回されたラベル用紙に対してラベルを印字して、1ラベル毎にカットするラベルプリンタの場合、ラベル用紙の消費を低減することができる。 In recent years, label printers have been known that have a function of changing the size of a print field depending on the amount of data to be printed in the print field. For example, with respect to the size of the print field in a preset label format, the blank space that occurs when the number of characters to be printed in the print field is small is filled in to reduce the size of the print field and print. Thereby, it is possible to prevent wasteful blank areas from occurring on the label. Further, in the case of a label printer that prints labels on a roll of label paper and cuts each label individually, consumption of label paper can be reduced.

しかしながら、印字欄に印字するデータの量に応じて空白部分を詰めるようにサイズを調整した場合、複数の印字欄にそれぞれ印字されるデータの相対的な位置関係が、予め設定されたラベルフォーマットにおける位置関係と異なってしまうことがある。すなわち、ラベルフォーマットが示すイメージ通りのラベルを印字することができなくなってしまう。 However, if the size is adjusted to close the blank space according to the amount of data printed in the print field, the relative positional relationship of the data printed in each of the multiple print fields will be different from the preset label format. The positional relationship may differ. In other words, it becomes impossible to print a label exactly as the image indicated by the label format.

特開2016-027964号公報Japanese Patent Application Publication No. 2016-027964

本発明が解決しようとする課題は、印字欄のサイズの変更に伴うデータの配置の変更を、別の印字欄との相対位置に基づいて調整することが可能な電子機器、プログラムを提供することである。 The problem to be solved by the present invention is to provide an electronic device and a program that can adjust the change in the arrangement of data due to a change in the size of a print field based on the relative position with another print field. It is.

実施形態によれば、ラベルプリンタにおいてラベルを印刷するためのラベルフォーマットの設定をする電子機器は、表示手段と入力手段と調整手段を有する。表示手段は、複数の印字欄が配置されたラベルフォーマットを表示するラベルフォーマットエリアと、前記ラベルフォーマットに設定された複数の印字欄のそれぞれに入力すべき内容が一覧形式によって表示される印字欄一覧エリアとが同一画面に含まれる、ラベルフォーマット作成用の設定画面を表示させる。入力手段は、前記ラベルフォーマットエリアの前記印字欄別に、印字対象とするデータを入力する。調整手段は、前記入力手段により入力されたデータに応じて、前記印字欄とは異なる他の印字欄である基準印字欄のサイズを変更し、前記基準印字欄のサイズを変更した後のデータの配置を基準として、前記印字欄の印字されるデータの配置を調整する。 According to an embodiment, an electronic device for setting a label format for printing a label in a label printer includes a display means, an input means , and an adjustment means . The display means includes a label format area that displays a label format in which a plurality of print columns are arranged, and a print column list that displays contents to be input in each of the plurality of print columns set in the label format in a list format. Display the settings screen for creating a label format, which includes the area on the same screen. The input means inputs data to be printed for each of the print fields in the label format area. The adjustment means changes the size of a reference print field, which is another print field different from the print field, according to the data input by the input means, and adjusts the size of the data after changing the size of the reference print field. The arrangement of the data to be printed in the printing column is adjusted based on the arrangement.

本実施形態におけるラベルプリンタの構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of a label printer in this embodiment. 本実施形態におけるラベルフォーマットの設定処理における設定画面の一例を示す図。The figure which shows an example of the setting screen in the setting process of the label format in this embodiment. 図2に示すラベルフォーマットエリアに表示されるラベルフォーマットの詳細を示す図。3 is a diagram showing details of a label format displayed in the label format area shown in FIG. 2. FIG. 本実施形態における印字欄一覧エリアと印字欄プロパティエリアの具体例を示す図。FIG. 7 is a diagram showing a specific example of a print field list area and a print field property area in the present embodiment. 本実施形態におけるラベルプリンタの印字処理を示すフローチャート。5 is a flowchart showing the printing process of the label printer in this embodiment. 印字処理における可変長印刷用データ生成処理を示すフローチャート。5 is a flowchart showing variable length printing data generation processing in printing processing. 可変長印刷をしない場合のラベルの印字例を示す図。The figure which shows the printing example of the label when variable length printing is not performed. 印字欄のそれぞれに生じた空白部分を詰めたラベルの印字イメージを示す図。The figure which shows the printing image of the label which filled up the blank space which occurred in each printing field. 印字欄の印字データの配置を変更する例を示す図。FIG. 7 is a diagram showing an example of changing the arrangement of print data in a print column.

以下、本実施形態について、図面を参照しながら説明する。
図1は、本実施形態におけるラベルプリンタ10の構成を示すブロック図である。本実施形態におけるラベルプリンタ10は、ラベルフォーマットに設定された印字欄に印字するデータの量に応じて、印字欄のサイズを変更してラベルを印刷する機能を有する。
This embodiment will be described below with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of a label printer 10 in this embodiment. The label printer 10 in this embodiment has a function of printing a label by changing the size of the printing field according to the amount of data to be printed in the printing field set in the label format.

ラベルプリンタ10は、装置本体の上面にタッチパネル12を配し、例えば正面にラベル発行口を備える。ラベルプリンタ10は、装置本体にラベル用紙を収容するためのフォルダと、プリンタ14とを内蔵する。ラベル用紙は、例えばライナレスラベル(台紙を使用しないラベル)であり、帯状のラベルがロール状に巻回されている。 The label printer 10 has a touch panel 12 on the top surface of the device body, and has a label issuing port on the front, for example. The label printer 10 includes a printer 14 and a folder for storing label sheets in the main body of the apparatus. The label paper is, for example, a linerless label (a label that does not use a liner), and is a strip-shaped label wound into a roll.

プリンタ14は、用紙搬送機構と印字機構とを備える。用紙搬送機構は、搬送モータ、搬送路、巻取ローラ等を含む。印字機構は、サーマルヘッド等の印字ヘッドとプラテンローラとを対向して配置する。用紙搬送機構は、搬送モータの作用によりフォルダに収容されたラベル用紙を繰り出し、このラベル用紙のラベルを印字ヘッドとプラテンローラとの間に導く。印字機構は、印字ヘッドとプラテンローラとの間に導かられたラベルに対し印字ヘッドを駆動して商品名、バーコード等の商品ラベルの印字データを印刷する。用紙搬送機構は、ラベル用紙をラベル発行口まで搬送し、1枚のラベル毎にカットしてラベルを発行する。 The printer 14 includes a paper transport mechanism and a printing mechanism. The paper conveyance mechanism includes a conveyance motor, a conveyance path, a take-up roller, and the like. In the printing mechanism, a printing head such as a thermal head and a platen roller are arranged to face each other. The paper transport mechanism feeds out the label paper stored in the folder by the action of the transport motor, and guides the label of the label paper between the print head and the platen roller. The printing mechanism drives the print head to the label guided between the print head and the platen roller, and prints print data of the product label, such as a product name and a bar code. The paper transport mechanism transports the label paper to the label issuing port, cuts each label one by one, and issues the labels.

本実施形態におけるラベルプリンタ10は、ラベル用紙の搬送方向に、ラベルフォーマットに設定された印字欄の空白部分を詰めるようにサイズを変更することで、1枚のラベルのサイズを小さくすることができる。すなわち、ラベル用紙の消費を低減することができる。 The label printer 10 in this embodiment can reduce the size of one label by changing the size in the transport direction of the label paper so as to fill in the blank space of the print field set in the label format. . That is, consumption of label paper can be reduced.

ラベルプリンタ10は、CPU(Central Processing Unit)101、フラッシュROM(Read Only Memory)102、RAM(Random Access Memory)103、時計部104、通信インタフェース105、タッチパネルコントローラ106、プリンタドライバ107及びI/O(Input/Output)ポート108を備える。またラベルプリンタ10は、アドレスバス,データバス等のバスライン109を備え、このバスライン109に、CPU101、フラッシュROM102、RAM103、時計部104、通信インタフェース105、タッチパネルコントローラ106、プリンタドライバ107及びI/Oポート108を接続して、制御回路を構成する。制御回路は、装置本体11の内部に実装されている。 The label printer 10 includes a CPU (Central Processing Unit) 101, a flash ROM (Read Only Memory) 102, a RAM (Random Access Memory) 103, a clock section 104, a communication interface 105, a touch panel controller 106, a printer driver 107, and an I/O ( Input/Output) port 108. The label printer 10 also includes a bus line 109 such as an address bus and a data bus, and this bus line 109 includes a CPU 101, a flash ROM 102, a RAM 103, a clock section 104, a communication interface 105, a touch panel controller 106, a printer driver 107, and an I/O bus line 109. A control circuit is configured by connecting the O port 108. The control circuit is mounted inside the device main body 11.

CPU101は、オペレーティングシステムやアプリケーションプログラムに従って、ラベルプリンタ10としての各種の機能を実現するべく各部を制御する。 The CPU 101 controls each part to realize various functions of the label printer 10 according to the operating system and application programs.

フラッシュROM102は、オペレーティングシステムやアプリケーションプログラムを記憶する。またフラッシュROM102は、CPU101が各種の処理を行う上で使用するデータや、CPU101での処理によって生成されたデータを保存する。フラッシュROM102には、例えばラベルプリンタ10において印字されるラベルのラベルフォーマットに関するデータなどが記憶される。 Flash ROM 102 stores an operating system and application programs. Further, the flash ROM 102 stores data used by the CPU 101 to perform various processes and data generated by processing by the CPU 101. The flash ROM 102 stores, for example, data regarding the label format of the label printed by the label printer 10.

RAM103は、CPU101が処理を実行する上で必要なデータを記憶する。またRAM103は、CPU101によって情報が適宜書き換えられるワークエリアとしても利用される。RAM103には、例えば印字欄のサイズを変更する際に、印字欄に印字するデータの配置を調整する際に基準とする基準印字欄が、印字欄に対して設定された設定データが記憶される。なお、設定データは、フラッシュROM102に記憶されるようにしても良い。 The RAM 103 stores data necessary for the CPU 101 to execute processing. The RAM 103 is also used as a work area where information is appropriately rewritten by the CPU 101. In the RAM 103, for example, when changing the size of a print field, a reference print field is used as a reference when adjusting the arrangement of data to be printed in the print field, and setting data set for the print field is stored. . Note that the setting data may be stored in the flash ROM 102.

時計部104は、ラベルプリンタ10の時刻情報源である。ラベルプリンタ10は、時計部104によって計時される時刻情報から現在の日付及び時刻を取得する。 The clock unit 104 is a time information source for the label printer 10. The label printer 10 acquires the current date and time from time information measured by the clock unit 104.

通信インタフェース105は、LAN(Local Area Network)等のネットワークを介して接続されるサーバ20との間でデータ通信を行う。サーバ20は、店舗の各POS(Point Of Sales)端末で売上登録された各商品の販売データを収集し、売上実績データを集計する、いわゆるPOSサーバを含む。サーバ20は、POSサーバ以外のサーバを含んでもよい。 The communication interface 105 performs data communication with the server 20 connected via a network such as a LAN (Local Area Network). The server 20 includes a so-called POS server that collects sales data of each product whose sales are registered at each POS (Point Of Sales) terminal in the store and totals sales performance data. The server 20 may include servers other than the POS server.

タッチパネルコントローラ106は、タッチパネル12を制御する。タッチパネル12は、フラット型の液晶ディスプレイ12aと、このディスプレイ12aの画面に重ねて配置されるタッチセンサ12bとからなる。タッチパネルコントローラ106は、ディスプレイ12aに画像を表示させる。タッチパネルコントローラ106は、タッチセンサ12bの信号により、画面上のタッチ位置を、例えばX軸とY軸とからなる二次元座標系によって特定する。 Touch panel controller 106 controls touch panel 12 . The touch panel 12 includes a flat liquid crystal display 12a and a touch sensor 12b placed over the screen of the display 12a. Touch panel controller 106 causes display 12a to display an image. The touch panel controller 106 specifies the touch position on the screen using, for example, a two-dimensional coordinate system consisting of an X axis and a Y axis, based on a signal from the touch sensor 12b.

プリンタドライバ107は、プリンタ14の印字動作を制御する。プリンタドライバ107は、用紙搬送機構の一部である搬送モータを駆動するモータドライバと、印字機構の一部である印字ヘッドを駆動するヘッドドライバとを含む。 The printer driver 107 controls the printing operation of the printer 14. The printer driver 107 includes a motor driver that drives a transport motor that is part of a paper transport mechanism, and a head driver that drives a print head that is part of a print mechanism.

I/Oポート108は、各種センサ15やUSB(Universal Serial Bus)インタフェース等の入力インタフェース(図示せず)を通じて入力される信号を入力する。またI/Oポート108は、各種LED16に対して駆動信号を出力する。センサ15は、ラベル用紙の有無を検出する用紙有無センサ、ラベル用紙の紙詰まりを検出する紙詰まりセンサ等を含む。LED16は、電源ランプ、エラーランプ、警告ランプ等を含む。 The I/O port 108 receives signals input through various sensors 15 and an input interface (not shown) such as a USB (Universal Serial Bus) interface. The I/O port 108 also outputs drive signals to the various LEDs 16. The sensor 15 includes a paper presence/absence sensor that detects the presence or absence of label paper, a paper jam sensor that detects a paper jam of label paper, and the like. The LED 16 includes a power lamp, an error lamp, a warning lamp, and the like.

次に、ラベルプリンタ10においてラベルを印刷するためのラベルフォーマットの設定について説明する。
ラベルフォーマットの設定は、例えばサーバ20あるいはパーソナルコンピュータなどのラベルプリンタ10とは別の電子機器、あるいはラベルプリンタ10において実行される。サーバ20などの電子機器は、設定プログラムに基づいて、後述するラベルフォーマットの設定処理を実行して設定データを生成する。設定データは、データ通信あるいはUSBメモリなどの可搬型の記憶媒体を介してラベルプリンタ10に入力される。
Next, setting of a label format for printing a label in the label printer 10 will be explained.
Setting of the label format is executed in an electronic device other than the label printer 10, such as the server 20 or a personal computer, or in the label printer 10, for example. The electronic device such as the server 20 generates setting data by executing a label format setting process, which will be described later, based on the setting program. Setting data is input to the label printer 10 via data communication or a portable storage medium such as a USB memory.

また、ラベルプリンタ10において、ラベルフォーマットの設定が実行される場合、タッチパネル12に対する入力操作に応じて、フラッシュROM102に記憶された設定プログラムを起動して設定処理を実行する。設定処理により設定された設定データは、フラッシュROM102あるいはRAM103に記憶され、ラベルの印刷時に参照される。 Furthermore, when setting a label format in the label printer 10, a setting program stored in the flash ROM 102 is activated in response to an input operation on the touch panel 12 to execute setting processing. The setting data set by the setting process is stored in the flash ROM 102 or RAM 103, and is referenced when printing a label.

図2は、本実施形態におけるラベルフォーマットの設定処理における設定画面の一例を示す図である。
図2に示すように、ラベルフォーマット作成のタグを指定することにより、ラベルフォーマット作成用の設定画面D1が表示される。設定画面D1には、ラベルフォーマットエリアAR1、印字欄一覧エリアAR2、印字欄プロパティエリアAR3が設けられている。
FIG. 2 is a diagram showing an example of a setting screen in the label format setting process in this embodiment.
As shown in FIG. 2, by specifying a tag for label format creation, a setting screen D1 for label format creation is displayed. The setting screen D1 is provided with a label format area AR1, a print column list area AR2, and a print column property area AR3.

ラベルフォーマットエリアAR1には、複数の印字欄(入力項目)が配置されたラベルフォーマットが、例えば表形式によって表示される。印字欄一覧エリアAR2には、ラベルフォーマットに設定された複数の印字欄のそれぞれに入力すべき内容(オブジェクト)が一覧形式によって表示される。印字欄プロパティエリアAR3には、印字欄一覧エリアAR2において選択された印字欄についての各種設定内容(プロパティ)が表示される。 In the label format area AR1, a label format in which a plurality of print fields (input items) are arranged is displayed, for example, in a table format. In the print field list area AR2, contents (objects) to be input into each of the plurality of print fields set in the label format are displayed in a list format. In the print field property area AR3, various setting contents (properties) for the print field selected in the print field list area AR2 are displayed.

設定プログラムには、予め複数の基本ラベルフォーマットが用意されている。フォーマット番号(「フォーマットNo.」)を指定することにより、設定画面D1には、該当する基本ラベルフォーマットを設定対象とした内容が各エリアAR1~AR3にそれぞれ表示される。図2に示す例では、「フォーマットNo.」が「12」、「フォーマット名称」が「食品加工ラベル(値段無)」の基本ラベルフォーマットを設定対象とした設定画面D1が表示されている。 A plurality of basic label formats are prepared in advance in the setting program. By specifying a format number ("Format No."), contents for the corresponding basic label format to be set are displayed in each of the areas AR1 to AR3 on the setting screen D1. In the example shown in FIG. 2, a setting screen D1 is displayed in which the basic label format whose "format number" is "12" and whose "format name" is "food processing label (no price)" is to be set.

図3は、図2に示すラベルフォーマットエリアAR1に表示されるラベルフォーマットの詳細を示す図である。
ラベルフォーマットエリアAR1には、複数の印字欄が設定されたラベルフォーマットが表示されている。ラベルフォーマットは、表形式によって表示されているため、表の矩形枠が1つの印字欄を示している。また、各印字欄には、印字欄に印字するデータ(文字等)の配置を示す配置枠が表示される。
FIG. 3 is a diagram showing details of the label format displayed in the label format area AR1 shown in FIG. 2.
A label format in which a plurality of print fields are set is displayed in the label format area AR1. Since the label format is displayed in a table format, a rectangular frame in the table indicates one print field. Furthermore, in each print field, an arrangement frame is displayed that indicates the arrangement of data (characters, etc.) to be printed in the print field.

図3において、例えば「[タイトル]添加物」に対応する印字欄PA1については、データの配置を示す配置枠CA1が表示されている。また、「添加物」に対応する印字欄PA2については、データの配置を示す配置枠CA2が表示されている。 In FIG. 3, for example, for the print column PA1 corresponding to "[Title] Additives", an arrangement frame CA1 indicating the arrangement of data is displayed. Furthermore, regarding the print column PA2 corresponding to "additives", an arrangement frame CA2 indicating the arrangement of data is displayed.

また、各印字欄の配置枠には、印字対象として入力すべき内容(オブジェクト)が表示されている。配置枠に表示された入力すべきタ内容の表示をもとに、印字対象とする具体的な文字等のデータを入力(設定)することができる。例えば、配置枠CA1には「[タイトル]添加物」が表示されており、添加物のタイトルとする文字が設定されることを示している。また、配置枠CA2には、「添加物」が表示されており、添加物を示す文字が設定されることを示している。 Further, contents (objects) to be input as printing objects are displayed in the arrangement frame of each printing field. Data such as specific characters to be printed can be input (set) based on the display of the data to be input displayed in the arrangement frame. For example, “[Title] Additive” is displayed in the arrangement frame CA1, indicating that characters are set as the title of the additive. Further, "additive" is displayed in the arrangement frame CA2, indicating that characters indicating the additive are set.

従って、ラベルフォーマットエリアAR1の配置枠CA1を選択して、添加物のタイトルとする文字列、例えば「原材料名」を入力することができる。同様にして、配置枠CA2を選択して、添加物を示す文字列、例えば「原材料名:ご飯、牛カルビ(牛カルビ、胡麻、焼肉のたれ)、卵焼き…」を入力することができる。 Therefore, by selecting the arrangement frame CA1 in the label format area AR1, it is possible to input a character string to be used as the title of the additive, for example, "raw material name". Similarly, it is possible to select the arrangement frame CA2 and input a character string indicating an additive, for example, "Raw material name: rice, beef short ribs (beef short ribs, sesame seeds, yakiniku sauce), tamagoyaki...".

なお、図3に示す印字欄と配置枠は、それぞれ矩形枠によって明示されているが、矩形枠以外の表示形態によって個々に範囲が明示されても良い。例えば、印字欄と配置枠に相当範囲を、矩形枠の4つの頂点の位置を示すマークで示したり、背景の表示色の違いによって示したりすることも可能である。 Note that although the print field and arrangement frame shown in FIG. 3 are each clearly indicated by a rectangular frame, the range may be clearly indicated individually by a display form other than the rectangular frame. For example, it is possible to indicate the corresponding range of the print field and the arrangement frame by marks indicating the positions of the four vertices of the rectangular frame, or by different display colors of the background.

図4は、本実施形態における印字欄一覧エリアAR2と印字欄プロパティエリアAR3の具体例を示す図である。
図4(A)に示すように、印字欄一覧エリアAR2には、ラベルフォーマットエリアAR1に表示されたラベルフォーマットに設けられた印字欄のそれぞれに入力すべき内容(オブジェクト)を示す印字欄一覧が表示されている。印字欄一覧では、1つの入力欄について、設定済みを示すマークが表示される設定済み表示エリア、入力欄に入力されたデータに応じて印字欄のサイズ(データの配置)を可変とする設定がされていることを表示する可変設定表示エリア、及び入力すべき内容(オブジェクト)を表示するオブジェクト名表示エリアが設けられている。1画面中の印字一覧に全ての印字欄のオブジェクトを表示できない場合には、例えば印字欄一覧の右側に設けられたボタンあるいはスライダに対する操作に応じて印字欄一覧をスクロールさせることができる。
FIG. 4 is a diagram showing a specific example of the print column list area AR2 and the print column property area AR3 in this embodiment.
As shown in FIG. 4(A), the print field list area AR2 includes a list of print fields indicating the contents (objects) to be input into each of the print fields provided in the label format displayed in the label format area AR1. Displayed. In the print field list, for one input field, there is a set display area where a mark indicating that it has been set is displayed, and a setting where the size of the print field (data arrangement) can be changed depending on the data entered in the input field. There are provided a variable setting display area that displays what is being done, and an object name display area that displays the content (object) to be input. If the objects of all print fields cannot be displayed in the print list on one screen, the print field list can be scrolled, for example, by operating a button or slider provided on the right side of the print field list.

図4(A)に示す印字欄一覧に表示された何れかの印字欄(オブジェクト)を選択することで、印字欄プロパティエリアAR3に選択した印字欄(オブジェクト)の各種設定内容(プロパティ)を表示させることができる。図4(A)では、「No.0038」の「[タイトル]添加物」の印字欄(オブジェクト)30が選択された状態を示している。 By selecting any print field (object) displayed in the print field list shown in Figure 4(A), various setting contents (properties) of the selected print field (object) are displayed in the print field property area AR3. can be done. FIG. 4A shows a state in which the print column (object) 30 of "[Title] Additive" of "No. 0038" is selected.

図4(B)に示すように、印字欄プロパティエリアAR3には、印字欄一覧エリアAR2において選択された「[タイトル]添加物」の印字欄(オブジェクト)30についての各種設定内容(プロパティ)が表示されている。 As shown in FIG. 4(B), the print field property area AR3 contains various setting contents (properties) for the print field (object) 30 of "[Title] Additive" selected in the print field list area AR2. Displayed.

図4(B)に示すプロパティでは、例えば、「[タイトル]添加物」の印字欄のラベルフォーマットにおける基準位置40、印字欄に対して入力された印字データ41(「原材料名」)、印字欄のサイズ(データの配置)が変更される場合にデータの配置を調整するための設定項目42などが設けられている。 The properties shown in FIG. 4(B) include, for example, the reference position 40 in the label format of the print field for "[Title] Additives", the print data 41 ("raw material name") input for the print field, the print field Setting items 42 and the like are provided for adjusting the data arrangement when the size (data arrangement) is changed.

基準位置40は、ラベルフォーマットの左上隅を座標基準(原点)(X0,Y0)とした、印字欄の基準座標(基準X座標、基準Y座標)が設定されている。なお、ラベルフォーマットの横方向をX座標系、縦方向をY座標とする。なお、ラベル用紙(ライナレスラベル)の搬送方向は、図3に示すラベルフォーマットの縦方向とする。従って、縦方向(Y座標方向)に空白部分を詰めるように印字欄のサイズを小さくすることで、ラベルを小さく(ライナレスラベルの消費を少なく)することができる。 The reference position 40 is set to the reference coordinates (reference X coordinate, reference Y coordinate) of the print field, with the upper left corner of the label format as the coordinate reference (origin) (X0, Y0). Note that the horizontal direction of the label format is the X coordinate system, and the vertical direction is the Y coordinate system. Note that the transport direction of the label paper (linerless label) is the vertical direction of the label format shown in FIG. 3. Therefore, by reducing the size of the print field by filling up the blank space in the vertical direction (Y coordinate direction), the label can be made smaller (reducing the consumption of linerless labels).

設定項目42には、例えば「相対座標」「基準印字欄」「配置(X)」「配置(Y)」「X座標(mm)」「Y座標(mm)」が含まれている。 The setting items 42 include, for example, "relative coordinates", "reference print field", "layout (X)", "layout (Y)", "X coordinate (mm)", and "Y coordinate (mm)".

「相対座標」は、印字欄のサイズの変更に伴って印字されるデータの配置を変更する場合に、基準印字欄に基づくデータの配置の変更について有効または無効が設定される。「相対座標」を有効に設定した場合、「基準印字欄」として設定された他の印字欄の位置に基づいてデータの配置が調整される。無効に設定した場合、基準座標(基準X座標、基準Y座標)で指定した位置を基準にデータが配置(印字)される。「基準印字欄」は、印字欄のサイズの変更に伴って印字されるデータの配置を変更する場合に基準とする他の印字欄が設定される。図4(B)に示す例では、「基準印字欄」として「添加物」が設定されている。従って、「添加物」のデータが入力される印字欄(印字欄PA2)の位置、あるいは印字欄に印字されるデータの配置(配置枠CA2)を基準として、「[タイトル]添加物」の印字欄に印字されるデータの配置が調整される。 "Relative coordinates" is set to be valid or invalid for changing the data layout based on the reference print field when changing the layout of data to be printed due to a change in the size of the print field. When "relative coordinates" is enabled, the arrangement of data is adjusted based on the position of other print fields set as "reference print fields". When set to invalid, data is arranged (printed) based on the position specified by the reference coordinates (reference X coordinate, reference Y coordinate). In the "reference print field", another print field is set as a reference when changing the arrangement of data to be printed due to a change in the size of the print field. In the example shown in FIG. 4(B), "Additive" is set as the "Reference Print Field". Therefore, based on the position of the printing field (printing field PA2) where the data of "Additives" is input, or the arrangement of the data printed in the printing field (arrangement frame CA2), "[Title] Additives" is printed. The arrangement of the data printed in the column is adjusted.

「配置(X)」と「配置(Y)」は、印字欄におけるデータを印字するそれぞれの方向の配置が設定される。「配置(X)」については、例えば設定値として「左揃え」「中央揃え」「右揃え」の何れかが設定される。「配置(Y)」については、例えば設定値として「上揃え」「上下中央揃え」「下揃え」の何れかが設定される。「基準印字欄」に基づいてデータの配置が調整される場合には、「基準印字欄」として設定された他の印字欄に印字されるデータの位置を基準とする配置が指定される。 In "Arrangement (X)" and "Arrangement (Y)", the arrangement in each direction in which data is printed in the print column is set. For "Alignment (X)", for example, one of "Left Alignment", "Center Alignment", and "Right Alignment" is set as a setting value. For "Arrangement (Y)," for example, one of "top alignment," "vertical center alignment," and "bottom alignment" is set as a setting value. When the arrangement of data is adjusted based on the "reference print field", the arrangement is specified based on the position of data printed in another print field set as the "reference print field".

「X座標(mm)」と「Y座標(mm)」は、印字欄におけるデータを印字するそれぞれの方向の配置を調整するための数値が設定される。「X座標(mm)」は、「配置(X)」として設定された配置に応じた位置から、X座標方向に何mmの位置に配置するかを指定する。「Y座標(mm)」は、「配置(Y)」として設定された配置に応じた位置から、Y座標方向に何mmの位置に配置するかを指定する。例えば、図4(B)に示す例では、「X座標(mm)」について「-7mm」が設定され、「Y座標(mm)」について「-3mm」が設定されている。 The "X coordinate (mm)" and the "Y coordinate (mm)" are set as numerical values for adjusting the arrangement in each direction in which data is printed in the print field. "X coordinate (mm)" specifies how many mm in the X coordinate direction the object is to be placed from the position according to the arrangement set as "arrangement (X)". "Y coordinate (mm)" specifies how many mm in the Y coordinate direction to place the object from the position according to the arrangement set as "arrangement (Y)". For example, in the example shown in FIG. 4(B), "-7 mm" is set for "X coordinate (mm)" and "-3 mm" is set for "Y coordinate (mm)".

「基準印字欄」に基づいてデータの配置が調整される場合には、「配置(X)」「配置(Y)」「X座標(mm)」「Y座標(mm)」を含む配置設定に基づいて、印字欄におけるデータ印字する位置(配置枠の位置)が調整される。 When the data arrangement is adjusted based on the "Standard printing field", the arrangement settings including "Arrangement (X)", "Arrangement (Y)", "X coordinate (mm)" and "Y coordinate (mm)" Based on this, the position where data is printed in the print field (the position of the arrangement frame) is adjusted.

こうして、設定画面D1において設定された内容は、「フォーマットNo.12」「食品加工ラベル(値段無)」のラベルフォーマットの設定データとして記憶される。設定データは、ラベルプリンタ10に送信され、フラッシュROM102あるいはRAM103に記憶される。設定データは、ラベルプリンタ10においてラベルの印字対象とするラベルフォーマットの設定に応じて呼び出され、ラベルの印刷時に参照される。 In this way, the contents set on the setting screen D1 are stored as setting data of the label format of "Format No. 12" and "Food processing label (no price)". The setting data is sent to the label printer 10 and stored in the flash ROM 102 or RAM 103. The setting data is called up in the label printer 10 according to the setting of the label format to be printed on the label, and is referred to when printing the label.

次に、本実施形態におけるラベルプリンタ10の印字動作について、フローチャートを参照しながら説明する。図5は、本実施形態におけるラベルプリンタ10の印字処理を示すフローチャート、図6は、印字処理における可変長印刷用データ生成処理を示すフローチャートである。 Next, the printing operation of the label printer 10 in this embodiment will be explained with reference to a flowchart. FIG. 5 is a flowchart showing the printing process of the label printer 10 in this embodiment, and FIG. 6 is a flowchart showing the variable length printing data generation process in the printing process.

ラベルプリンタ10では、印字対象とするラベルフォーマット(フォーマット番号)が、例えばタッチパネル12に対する操作者による操作によって指定される。CPU101は、指定されたラベルフォーマットに応じて、フラッシュROM102あるいはRAM103からラベルフォーマットに対応する設定データを呼び出して、印字対象として設定する(Act1)。また、CPU101は、印字対象として設定されたラベルフォーマットに基づいて、それぞれの印字欄に入力された印字データを配置枠内に設定する(Act2)。 In the label printer 10, a label format (format number) to be printed is specified by an operator's operation on the touch panel 12, for example. Depending on the designated label format, the CPU 101 reads setting data corresponding to the label format from the flash ROM 102 or RAM 103 and sets it as a printing target (Act 1). Further, the CPU 101 sets the print data input in each print field in the arrangement frame based on the label format set as the print target (Act 2).

ここで、CPU101は、印字欄に印字するデータの量に応じて、印字欄のサイズを変更する可変長印刷を実行する設定がされているかを判別する。可変長印刷の設定は、例えばラベルフォーマット作成時に設定画面D1においてラベルフォーマットと対応づけて設定されていても良いし、ラベルの印刷を実行する際に操作者によるタッチパネル12に対する操作によって設定されても良い。また、ラベルプリンタ10のラベル印刷に関係する基本設定において、可変長印刷を「する/しない」が設定されていても良い。 Here, the CPU 101 determines whether settings have been made to execute variable length printing in which the size of the print field is changed depending on the amount of data to be printed in the print field. The variable length printing settings may be set in association with the label format on the setting screen D1 when creating the label format, for example, or may be set by the operator's operation on the touch panel 12 when printing the label. good. Furthermore, in the basic settings related to label printing of the label printer 10, variable length printing may be set to "enable/disable".

CPU101は、可変長印刷を実行する設定がされていない場合(Act3、NO)、通常印刷用データを生成する(Act4)。すなわち、印字欄に入力された印字データを配置枠内に設定した結果、空白部分が存在していたとしても印字欄のサイズを変更しない。 If the CPU 101 is not set to execute variable length printing (Act 3, NO), the CPU 101 generates normal printing data (Act 4). That is, even if a blank portion exists as a result of setting the print data input to the print field within the layout frame, the size of the print field is not changed.

CPU101は、通常印刷用データを生成して、プリンタドライバ107を通じてプリンタ14にラベルの印字を実行させる(Act6)。プリンタ14は、1枚分のラベルの印字が完了するとカットして印字済みラベルを排出する(Act7)。 The CPU 101 generates normal printing data and causes the printer 14 to print a label through the printer driver 107 (Act 6). When the printing of one label is completed, the printer 14 cuts the label and discharges the printed label (Act 7).

図7は、可変長印刷をしない場合のラベルの印字例を示している。
図7に示す例では、「添加物」の印字欄CA2に対して印字データを設定した場合に、配置枠CA2のサイズに対してデータ量が少ないために空白部分が生じている。可変長印刷をしないため空白部分が生じていてもそのままラベルフォーマットのままで印字が実行される。
FIG. 7 shows an example of label printing when variable length printing is not performed.
In the example shown in FIG. 7, when print data is set for the print column CA2 of "Additives", a blank portion occurs because the amount of data is small relative to the size of the arrangement frame CA2. Since variable length printing is not performed, printing is performed in the same label format even if there is a blank area.

一方、CPU101は、可変長印刷を実行する設定がされている場合(Act3、YES)、可変長印刷用データ生成処理を実行する(Act5)。 On the other hand, if the CPU 101 is set to perform variable length printing (Act 3, YES), the CPU 101 executes variable length printing data generation processing (Act 5).

可変長印刷用データ生成処理では、CPU101は、ラベルフォーマットに設定された複数の印字欄のそれぞれについて、印字欄のサイズと印字欄に印字するデータの配置を変更し(Act20~30)、変更後の印字欄及びデータの配置に応じた印刷用データを生成する(Act31)。 In the variable length printing data generation process, the CPU 101 changes the size of the print field and the arrangement of data to be printed in the print field for each of the plurality of print fields set in the label format (Acts 20 to 30), and Print data is generated according to the print field and data arrangement (Act 31).

まず、CPU101は、処理対象とする1つの印字欄を選択し(Act21)、この印字欄に印字データを配置した結果、空白部分が生じているか判別する。ここで、空白部分がない場合には(Act22、NO)、CPU101は、印字欄のサイズを変更しないものとして、印字欄と印字データの配置をラベルフォーマットのままとする。 First, the CPU 101 selects one print field to be processed (Act 21), and determines whether a blank portion is generated as a result of arranging print data in this print field. Here, if there is no blank space (Act 22, NO), the CPU 101 assumes that the size of the print field is not changed and leaves the layout of the print field and print data in the label format.

一方、空白部分がある場合には(Act22、YES)、CPU101は、横方向(X座標方向)の並びに他の印字欄があるかラベルフォーマットをもとに判別する。すなわち、処理対象とする印字欄と共に空白部分を詰めることができる印字欄があるかを判別する。 On the other hand, if there is a blank space (Act 22, YES), the CPU 101 determines based on the horizontal direction (X coordinate direction) and whether there are other print fields based on the label format. That is, it is determined whether or not there is a print field whose blank space can be filled together with the print field to be processed.

ここで、他の印字欄がない場合には(Act23,NO)、CPU101は、処理対象とする印字欄の位置(サイズ)を、空白部分を詰めるように変更する(Act24)。この結果、印字欄のサイズをラベル用紙(ライナレスラベル)の搬送方向に小さくすることができる。 Here, if there are no other print fields (Act 23, NO), the CPU 101 changes the position (size) of the print field to be processed so as to close the blank space (Act 24). As a result, the size of the print field can be reduced in the transport direction of the label paper (linerless label).

また、他の印字欄がある場合には(Act23,NO)、CPU101は、処理対象とする印字欄の位置(サイズ)を、他の印字欄に存在する空白部分と共通する範囲の空白部分を詰めるように変更する(Act24)。この結果、処理対象としている印字欄と、この印字欄と横方向に並んだ他の印字欄のサイズをラベル用紙(ライナレスラベル)の搬送方向に小さくすることができる。 In addition, if there are other print fields (Act 23, NO), the CPU 101 determines the position (size) of the print field to be processed by selecting a blank area that is common to the blank areas existing in other print fields. Change to make it smaller (Act 24). As a result, it is possible to reduce the size of the print field to be processed and other print fields arranged horizontally with this print field in the transport direction of the label paper (linerless label).

例えば、図7に示すラベルの場合、横方向に配列された印字欄PA1,PA2のそれぞれに空白部分が生じている。従って、印字欄PA1,PA2のそれぞれに生じた空白部分を詰めるように、印字欄PA1,PA2のサイズを変更することができる。 For example, in the case of the label shown in FIG. 7, blank portions occur in each of the print fields PA1 and PA2 arranged in the horizontal direction. Therefore, the sizes of the print fields PA1 and PA2 can be changed so as to fill in the blank spaces that appear in each of the print fields PA1 and PA2.

図8は、印字欄PA1,PA2のそれぞれに生じた空白部分を詰めたラベルの印字イメージを示している。図8に示すように、印字欄PA1,PA2の空白部分を詰めることによりラベル全体のサイズを変更できる。しかし、印字欄PA1に対して入力された印字データ「原材料名」の配置が印字欄PA1の下部になる。 FIG. 8 shows a printed image of a label in which the blank areas generated in each of the printing fields PA1 and PA2 are filled in. As shown in FIG. 8, the size of the entire label can be changed by filling in the blank areas of the print fields PA1 and PA2. However, the layout of the print data "raw material name" input to the print field PA1 is at the bottom of the print field PA1.

CPU101は、処理対象とする印字欄に対して、設定項目42の「相対座標」が「有効」に設定されていない場合(Act25、NO)、基準印字欄に基づくデータの配置を変更しないものと判別する。CPU101は、全ての印字欄についての処理を終了すると(Act30、YES)、印刷用データを生成して(Act31)、プリンタドライバ107を通じてプリンタ14にラベルの印字を実行させる(Act6)。この場合、図8に示すような、印字欄PA1の印字データの配置が、印字欄のサイズの変更に伴って調整されていないラベルが印字される。 If the "relative coordinates" of the setting item 42 is not set to "valid" for the print field to be processed (Act 25, NO), the CPU 101 does not change the arrangement of data based on the reference print field. Discern. When the CPU 101 finishes processing all the print fields (Act 30, YES), it generates printing data (Act 31) and causes the printer 14 to print the label through the printer driver 107 (Act 6). In this case, a label is printed, as shown in FIG. 8, in which the arrangement of the print data in the print field PA1 has not been adjusted in accordance with the change in the size of the print field.

一方、CPU101は、処理対象とする印字欄に対して、設定項目42の「相対座標」が「有効」に設定されている場合(Act25、YES)、基準印字欄に基づくデータの配置を変更するものと判別する。 On the other hand, if the "relative coordinates" of the setting item 42 is set to "valid" for the print field to be processed (Act 25, YES), the CPU 101 changes the arrangement of data based on the reference print field. distinguish it from something.

CPU101は、処理対象とする印字欄に対して、設定項目42の「基準印字欄」に設定された他の印字欄を判別する(Act26)。例えば、図4(B)に示す設定項目42では、印字欄PA1に対して「基準印字欄」として「添加物」(印字欄PA2)が設定されていることが判別される。 The CPU 101 determines other print fields set in the "reference print field" of the setting item 42 with respect to the print field to be processed (Act 26). For example, in the setting item 42 shown in FIG. 4(B), it is determined that "additive" (printed field PA2) is set as the "standard printed field" for the printed field PA1.

さらに、CPU101は、処理対象とする印字欄に対して、設定項目42の「配置(X)」「配置(Y)」に設定された配置に応じて、印字データの配置を変更する際の基準点を設定する(Act27)。CPU101は、基準印字欄に対して設定された基準点をもとに、サイズ変更後の印字欄における印字データの配置(印字位置)を変更する(Act28)。 Furthermore, the CPU 101 sets standards for changing the layout of print data in accordance with the layout set in the setting item 42 "Arrangement (X)" and "Arrangement (Y)" for the print field to be processed. Set a point (Act 27). The CPU 101 changes the arrangement (print position) of the print data in the size-changed print field based on the reference point set for the reference print field (Act 28).

例えば、図4(B)に示す設定項目42では、印字欄PA1に対して、「配置(X)」について「左揃え」、「配置(Y)」について「上下中央揃え」が設定されている。この場合、基準印字欄の印字データの配置に対して、「左揃え」「上下中央揃え」とするように印字データの配置を調整するため、基準印字欄とする印字欄PA2の印字データの配置(印字欄のサイズ変更後の配置枠CA2)に対して「左辺」の「上下中央」の位置を基準点として設定する。 For example, in the setting item 42 shown in FIG. 4(B), "Align left" for "Alignment (X)" and "Align vertically and center" for "Arrangement (Y)" are set for print field PA1. . In this case, in order to adjust the layout of the print data in the standard print field so that it is "aligned to the left" or "aligned to the top and bottom center," the layout of the print data in the print field PA2, which is to be the standard print field, is adjusted. For (arrangement frame CA2 after changing the size of the print field), the position of the "vertical center" of the "left side" is set as the reference point.

例えば、「配置(X)」については、「左揃え」「中央揃え」「右揃え」が設定される。「左揃え」が設定されている場合には、前述のように基準印字欄の印字データの配置に対して「左辺」に設定し、同様にして「中央揃え」の場合には「左右中央」、「右揃え」の場合には「右辺」に設定する。 For example, for "Alignment (X)", "Align left", "Align center", and "Align right" are set. If "Left Alignment" is set, set it to "Left Side" for the layout of the print data in the reference print field as described above, and similarly, if "Center Alignment" is set, set it to "Left Side Center". , for "right alignment", set it to "right side".

また、「配置(Y)」については、「上揃え」「上下中央揃え」「下揃え」が設定される。「上下中央揃え」が設定されている場合には、前述のように基準印字欄の印字データの配置に対して「上下中央」に設定し、同様にして「上揃え」の場合には「上端」に設定し、「下揃え」の場合には「下端」に設定する。 Further, for "Arrangement (Y)", "Top Alignment", "Vertical Center Alignment", and "Bottom Alignment" are set. If "vertical center alignment" is set, set "vertical center" for the layout of the print data in the reference print field as described above, and similarly, if "top alignment" is set, "top edge alignment" is set. ”, and for “bottom alignment”, set it to “bottom edge”.

すなわち、「配置(X)」「配置(Y)」の設定の組合せに応じて、印字欄のサイズ変更後の配置枠の4つの頂点、各辺の中点の何れかに、印字データの配置に応じた基準点を設定する。こうして、「配置(X)」「配置(Y)」が示す配置に応じて基準点を設定することで、基準点から印字データの配置を調整するための「X座標(mm)」と「Y座標(mm)」の指定を容易にすることができる。すなわち、基準印字欄に対する相対位置の指定をイメージしやすくしている。 In other words, depending on the combination of "Placement (X)" and "Placement (Y)" settings, the print data can be placed at either the four vertices or the midpoint of each side of the layout frame after changing the size of the print field. Set a reference point according to the In this way, by setting the reference point according to the arrangement indicated by "Placement (X)" and "Placement (Y)", "X coordinate (mm)" and "Y Coordinates (mm)" can be easily specified. In other words, the designation of the relative position with respect to the reference printing field is made easier to visualize.

図9は、印字欄PA1の印字データの配置(配置枠CA1)を変更する例を示している。
図9に示すように、サイズが変更された印字欄PA2の印字データの配置F1(配置枠CA2)に対して、「左辺」の「上下中央」の位置に基準点P1が設定されている。
FIG. 9 shows an example of changing the arrangement of print data in the print field PA1 (arrangement frame CA1).
As shown in FIG. 9, a reference point P1 is set at the "vertical center" position of the "left side" for the print data arrangement F1 (arrangement frame CA2) of the print field PA2 whose size has been changed.

CPU101は、サイズを変更した後の印字欄PA1の印字データの配置F2(配置枠CA1)を(操作点P2)、設定項目42の「X座標(mm)」について設定された「-7mm」、「Y座標(mm)」について設定された「-3mm」に応じて変更する。すなわち、図9に示すように、基準点P1からX座標方向に「-7mm」、Y座標方向に「-3mm」の位置に変更する。 The CPU 101 sets the print data layout F2 (arrangement frame CA1) of the print field PA1 after changing the size (operation point P2) to "-7 mm" set for the "X coordinate (mm)" of the setting item 42, Change according to "-3mm" set for "Y coordinate (mm)". That is, as shown in FIG. 9, the position is changed to "-7 mm" in the X-coordinate direction and "-3 mm" in the Y-coordinate direction from the reference point P1.

なお、図9に示す例では、印字欄PA1の印字データの配置F2(配置枠CA1)に対する操作点P2を左上の頂点に設定している。操作点P2は、設定項目42における設定内容に関係なく固定としても良いし、基準点P1と同様に「配置(X)」「配置(Y)」に応じて設定しても良い。 In the example shown in FIG. 9, the operating point P2 for the print data arrangement F2 (arrangement frame CA1) in the print column PA1 is set at the top left vertex. The operating point P2 may be fixed regardless of the settings in the setting item 42, or may be set according to "placement (X)" and "placement (Y)" similarly to the reference point P1.

CPU101は、全ての印字欄についての処理を終了すると(Act30、YES)、印刷用データを生成して(Act31)、プリンタドライバ107を通じてプリンタ14にラベルの印字を実行させる(Act6)。この場合、図9に示すような、印字欄PA1の印字データの配置が、空白部分を削除するための印字欄のサイズの変更に伴って調整されたラベルが印字される。すなわち、空白部分が削除された小さなラベルとすることでラベル用紙の消費を削減すると共に、基準印字欄が設定された対応関係にある印字欄間の印字データの相対的な位置関係のバランスを維持することができる。 When the CPU 101 finishes processing all the print fields (Act 30, YES), it generates printing data (Act 31) and causes the printer 14 to print the label through the printer driver 107 (Act 6). In this case, as shown in FIG. 9, a label is printed in which the arrangement of the print data in the print field PA1 is adjusted in accordance with the change in the size of the print field to delete blank areas. In other words, the consumption of label paper is reduced by creating a small label with the blank area removed, and the balance in the relative positional relationship of the print data between the corresponding print fields for which the reference print field is set is maintained. be able to.

なお、前述した説明では、1つの印字欄に対して1つの基準印字欄が設定されているが、複数の印字欄に対して共通する1つの基準印字欄が設定されていても良い。 Note that in the above description, one reference print field is set for one print field, but one reference print field common to a plurality of print fields may be set.

また、前述した説明では、空白部分を詰める方向を縦方向(ライナレスラベル搬送方向)としているが、横方向とすることも可能である。また、何れの方向に空白を詰めるかを、基準印字欄と同様にして設定することも可能である。 Further, in the above description, the direction in which blank areas are filled is the vertical direction (linerless label transport direction), but it is also possible to fill in the blank space in the horizontal direction. Furthermore, it is also possible to set in which direction blanks are to be filled in in the same manner as for the reference print field.

また、前述した説明では、図8に示すように、基準印字欄とする「添加物」の印字欄における印字データの配置F1をもとに、「[タイトル]添加物」の印字欄の印字データの配置F2を調整しているが、基準印字欄とする「添加物」のサイズ変更後の配置、すなわち「添加物」に対応する印字欄PA1の範囲を示す矩形枠の配置を基準として調整するようにしても良い。 In addition, in the above explanation, as shown in FIG. The arrangement F2 is adjusted based on the arrangement after changing the size of "Additives" which is the reference printing field, that is, the arrangement of the rectangular frame indicating the range of the printing field PA1 corresponding to "Additives". You can do it like this.

また、前述した説明では、印字欄に生じる空白部分を詰めるように印字欄のサイズを変更(小さく)するのに伴って、印字データの配置を基準印字欄に基づいて調整する場合について説明しているが、印字欄のサイズを大きくする変更する場合に適用することも可能である。例えば、印字欄に対して入力された印字データのデータ量が多いために、印字欄のサイズを大きくする変更がされる場合に、前述と同様に基準印字欄をもとに印字データの配置を変更することができる。 In addition, the above explanation describes the case where the layout of the print data is adjusted based on the standard print field as the size of the print field is changed (reduced) to fill up the blank space that occurs in the print field. However, it can also be applied when changing the size of the print field. For example, if the size of the print field is changed due to a large amount of print data input to the print field, the layout of the print data is changed based on the standard print field as described above. Can be changed.

このようにして、本実施形態におけるラベルプリンタ10では、基準印字欄を設定しておくことで、印字データのデータ量に応じて印字欄のサイズ(位置)を変更した後の印字データの配置を基準印字欄との相対位置に基づいて調整することが可能となる。 In this way, in the label printer 10 according to the present embodiment, by setting the reference print field, the arrangement of the print data after changing the size (position) of the print field according to the amount of print data can be adjusted. Adjustment can be made based on the relative position with respect to the reference printing field.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and changes can be made without departing from the gist of the invention. These embodiments and their modifications are included within the scope and gist of the invention, as well as within the scope of the invention described in the claims and its equivalents.

また、前述した実施の形態において記載した処理は、コンピュータに実行させることのできるプログラムとして、例えば磁気ディスク(フレキシブルディスク、ハードディスク等)、光ディスク(CD-ROM、DVD等)、半導体メモリなどの記録媒体に書き込んで各種装置に提供することができる。また、通信媒体により伝送して各種装置に提供することも可能である。コンピュータは、記録媒体に記録されたプログラムを読み込み、または通信媒体を介してプログラムを受信し、このプログラムによって動作が制御されることにより、上述した処理を実行する。 Furthermore, the processes described in the above-described embodiments can be performed on a recording medium such as a magnetic disk (flexible disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), a semiconductor memory, etc., as a program that can be executed by a computer. It can be written to and provided to various devices. It is also possible to transmit the information via a communication medium and provide it to various devices. A computer reads a program recorded on a recording medium or receives a program via a communication medium, and its operations are controlled by the program, thereby executing the above-described processes.

10…ラベルプリンタ、12…タッチパネル、14…プリンタ、101…CPU、102…フラッシュROM、103…RAM、104…時計部、105…通信インタフェース。 DESCRIPTION OF SYMBOLS 10... Label printer, 12... Touch panel, 14... Printer, 101... CPU, 102... Flash ROM, 103... RAM, 104... Clock part, 105... Communication interface.

Claims (5)

ラベルプリンタにおいてラベルを印刷するためのラベルフォーマットの設定をする電子機器において、
複数の印字欄が配置されたラベルフォーマットを表示するラベルフォーマットエリアと、前記ラベルフォーマットに設定された複数の印字欄のそれぞれに入力すべき内容が一覧形式によって表示される印字欄一覧エリアとが同一画面に含まれる、ラベルフォーマット作成用の設定画面を表示させる表示手段と、
前記ラベルフォーマットエリアの前記印字欄別に、印字対象とするデータを入力する入力手段と、
前記入力手段により入力されたデータに応じて、前記印字欄とは異なる他の印字欄である基準印字欄のサイズを変更し、前記基準印字欄のサイズを変更した後のデータの配置を基準として、前記印字欄の印字されるデータの配置を調整する調整手段と、
を有する電子機器。
In electronic equipment that sets the label format for printing labels on a label printer,
The label format area that displays a label format in which multiple print fields are arranged is the same as the print field list area that displays the contents to be entered in each of the multiple print fields set in the label format in a list format. a display means included in the screen for displaying a setting screen for creating a label format;
input means for inputting data to be printed for each of the printing fields in the label format area;
In accordance with the data input by the input means, change the size of a reference print field that is another print field different from the print field, and use the data arrangement after changing the size of the reference print field as a reference. , adjustment means for adjusting the arrangement of data to be printed in the printing field;
Electronic equipment with
前記設定画面には、前記印字欄一覧エリアにおいて選択された印字欄について、前記入力手段により入力されたデータに応じて前記印字欄の印字されるデータの配置を調整する場合の前記基準印字欄を設定する設定項目を含む、請求項1記載の電子機器。The setting screen includes the reference printing field for adjusting the arrangement of data printed in the printing field in accordance with the data input by the input means for the printing field selected in the printing field list area. The electronic device according to claim 1, comprising setting items to be set. 前記表示手段は、前記設定項目に、前記印字欄のサイズの変更に伴って印字されるデータの配置を変更する場合に、前記基準印字欄に基づくデータの配置の変更について有効または無効が設定される項目を設ける、請求項2記載の電子機器。 The display means may set in the setting item whether or not to enable or disable changing the data arrangement based on the reference printing field when changing the arrangement of data to be printed in accordance with a change in the size of the printing field. The electronic device according to claim 2, further comprising an item. 前記表示手段は、前記印字欄一覧エリアに、複数の印字欄のそれぞれについて、印字欄に入力されたデータに応じて印字欄のサイズを可変とする設定がされていることを表示する可変設定表示エリアを設ける、請求項1記載の電子機器。 The display means includes a variable setting display for displaying, in the print field list area, that the size of the print field is set to be variable in accordance with data input to the print field for each of the plurality of print fields. The electronic device according to claim 1, further comprising an area. ラベルプリンタにおいてラベルを印刷するためのラベルフォーマットの設定をするコンピュータを、
複数の印字欄が配置されたラベルフォーマットを表示するラベルフォーマットエリアと、前記ラベルフォーマットに設定された複数の印字欄のそれぞれに入力すべき内容が一覧形式によって表示される印字欄一覧エリアとが同一画面に含まれる、ラベルフォーマット作成用の設定画面を表示させる表示手段と、
前記ラベルフォーマットエリアの前記印字欄別に、印字対象とするデータを入力する入力手段と、
前記入力手段により入力されたデータに応じて、前記印字欄とは異なる他の印字欄である基準印字欄のサイズを変更し、前記基準印字欄のサイズを変更した後のデータの配置を基準として、前記印字欄の印字されるデータの配置を調整する調整手段と、して機能させるためのプログラム。
A computer that configures the label format for printing labels on a label printer.
The label format area that displays a label format in which multiple print fields are arranged is the same as the print field list area that displays the contents to be entered in each of the multiple print fields set in the label format in a list format. a display means included in the screen for displaying a setting screen for creating a label format;
input means for inputting data to be printed for each of the printing fields in the label format area ;
In accordance with the data input by the input means, change the size of a reference print field that is another print field different from the print field, and use the data arrangement after changing the size of the reference print field as a reference. and a program for functioning as an adjusting means for adjusting the arrangement of data to be printed in the printing field .
JP2022079388A 2018-01-19 2022-05-13 electronic equipment, programs Active JP7400011B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022079388A JP7400011B2 (en) 2018-01-19 2022-05-13 electronic equipment, programs

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018006943A JP2019123198A (en) 2018-01-19 2018-01-19 Label printer
JP2022079388A JP7400011B2 (en) 2018-01-19 2022-05-13 electronic equipment, programs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018006943A Division JP2019123198A (en) 2018-01-19 2018-01-19 Label printer

Publications (3)

Publication Number Publication Date
JP2022111130A JP2022111130A (en) 2022-07-29
JP2022111130A5 JP2022111130A5 (en) 2022-09-01
JP7400011B2 true JP7400011B2 (en) 2023-12-18

Family

ID=67397633

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2018006943A Pending JP2019123198A (en) 2018-01-19 2018-01-19 Label printer
JP2022079388A Active JP7400011B2 (en) 2018-01-19 2022-05-13 electronic equipment, programs

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2018006943A Pending JP2019123198A (en) 2018-01-19 2018-01-19 Label printer

Country Status (1)

Country Link
JP (2) JP2019123198A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005329653A (en) 2004-05-20 2005-12-02 Ishida Co Ltd Output device and program
JP2007118258A (en) 2005-10-25 2007-05-17 Ishida Co Ltd Label editing device, label printer, and label editing method
JP2010260221A (en) 2009-04-30 2010-11-18 Max Co Ltd Label printer and information processor
JP2015033809A (en) 2013-08-09 2015-02-19 株式会社イシダ Label printing device
JP2015212034A (en) 2014-05-01 2015-11-26 株式会社寺岡精工 Label issuing device
JP2016027964A (en) 2015-11-11 2016-02-25 株式会社寺岡精工 Mountless label printer
JP2016144915A (en) 2015-02-09 2016-08-12 株式会社イシダ Label issuing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9521280B2 (en) * 2013-12-04 2016-12-13 Hellermanntyton Corporation Systems and methods for display of regulatory information related to labeling

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005329653A (en) 2004-05-20 2005-12-02 Ishida Co Ltd Output device and program
JP2007118258A (en) 2005-10-25 2007-05-17 Ishida Co Ltd Label editing device, label printer, and label editing method
JP2010260221A (en) 2009-04-30 2010-11-18 Max Co Ltd Label printer and information processor
JP2015033809A (en) 2013-08-09 2015-02-19 株式会社イシダ Label printing device
JP2015212034A (en) 2014-05-01 2015-11-26 株式会社寺岡精工 Label issuing device
JP2016144915A (en) 2015-02-09 2016-08-12 株式会社イシダ Label issuing device
JP2016027964A (en) 2015-11-11 2016-02-25 株式会社寺岡精工 Mountless label printer

Also Published As

Publication number Publication date
JP2022111130A (en) 2022-07-29
JP2019123198A (en) 2019-07-25

Similar Documents

Publication Publication Date Title
US20140293336A1 (en) Print system and information processing device
JP7400011B2 (en) electronic equipment, programs
JP6012341B2 (en) Method and apparatus for forming a barcode on a substrate
US8395805B2 (en) Information processing apparatus related to electronic sticky note, document processing apparatus, printing apparatus and media storing programs
JP2016126507A (en) Label generating application, storage medium storing label generating application, information processor and label printer
JP6241057B2 (en) Label editing device
JP6310867B2 (en) Office computer and program
JP2018199269A (en) Printer and control method for printer
US10241728B2 (en) Printing apparatus and method for controlling printing apparatus
JP5750463B2 (en) Label printer and its control program
JP2014151552A (en) Label preparing device and label preparing program
JP6544470B2 (en) Label issuing device and label printing method
JP6088990B2 (en) Label printer and its control program
JP7469792B2 (en) Printing System
JP6205295B2 (en) Label issuing device and control program therefor
US11847514B2 (en) Information processing device, printing apparatus, and method of controlling information processing device
JP7468551B2 (en) Editing method, program, and information processing device
JP2022039530A (en) Article data processing device and label issuing device
JP2012206277A (en) Duplex printing apparatus and duplex printing method
US20140071496A1 (en) Printer, and printing method and program executed by printer
JP6318275B2 (en) Label printer and its control program
JP2017126104A (en) Display device, tape printer, and method for controlling display of display device
JP2014054846A (en) Control device, control method for control device, and program
JP2013184332A (en) Printer and program
JP2023043348A (en) Program, information processing system, and information processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220610

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220824

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20230104

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230809

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231206

R150 Certificate of patent or registration of utility model

Ref document number: 7400011

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150