Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7821640B2 - Information processing systems, printers, programs - Google Patents
[go: Go Back, main page]

JP7821640B2 - Information processing systems, printers, programs - Google Patents

Information processing systems, printers, programs

Info

Publication number
JP7821640B2
JP7821640B2 JP2022040985A JP2022040985A JP7821640B2 JP 7821640 B2 JP7821640 B2 JP 7821640B2 JP 2022040985 A JP2022040985 A JP 2022040985A JP 2022040985 A JP2022040985 A JP 2022040985A JP 7821640 B2 JP7821640 B2 JP 7821640B2
Authority
JP
Japan
Prior art keywords
data
printer
information processing
layout
reference 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.)
Active
Application number
JP2022040985A
Other languages
Japanese (ja)
Other versions
JP2023135745A (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.)
Sato Corp
Original Assignee
Sato Holdings Corp
Sato 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 Sato Holdings Corp, Sato Corp filed Critical Sato Holdings Corp
Priority to JP2022040985A priority Critical patent/JP7821640B2/en
Publication of JP2023135745A publication Critical patent/JP2023135745A/en
Application granted granted Critical
Publication of JP7821640B2 publication Critical patent/JP7821640B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)

Description

本発明は、情報処理システム、プリンタ、および、プログラムに関する。 The present invention relates to an information processing system, a printer, and a program.

従来から、複数のチェーン店において商品に貼付するラベル等に印字される内容に齟齬がないように、複数のプリンタで印字する内容をサーバによって一元的に管理することが行われている。そのように一元的に管理される印字用のデータは、定期的、あるいは不定期に更新される。
例えば特許文献1には、管理サーバが、接続された代表プリンタから、この代表プリンタに記憶されている登録画像データを取得し、取得した登録画像データに基づいて、代表プリンタ以外の他のプリンタに記憶された登録画像データを更新することにより、代表プリンタが記憶する登録画像データと、他のプリンタが記憶する登録画像データとの同一性を維持することが開示されている。
Conventionally, to prevent discrepancies in the content printed on labels affixed to products at multiple chain stores, the content printed by multiple printers has been centrally managed by a server. This centrally managed printing data is updated periodically or irregularly.
For example, Patent Document 1 discloses that a management server acquires registered image data stored in a connected representative printer from the representative printer, and updates registered image data stored in printers other than the representative printer based on the acquired registered image data, thereby maintaining the identity of the registered image data stored in the representative printer and the registered image data stored in the other printers.

特開2013-210727号公報JP 2013-210727 A

ところで、複数のチェーン店の印字の内容をサーバによって一元的に管理する場合であっても、店舗によっては店舗独自の商品があり、そのような独自商品に貼付するラベルを印字するためのデータを店舗の担当者が作成してプリンタに保存する場合がある。しかし、従来、店舗が独自に作成したデータは、サーバによるデータ更新時に上書きされて削除されるという問題があった。 Even when printing content from multiple chain stores is centrally managed by a server, some stores may have unique products, and store staff may create data for printing labels to be affixed to such unique products and save it on the printer. However, in the past, there was a problem in that data created independently by stores was overwritten and deleted when the server updated the data.

そこで、本発明は、情報処理装置から受信するデータを基にプリンタのデータの更新を行う場合に、プリンタで編集されたデータが削除されることを防止することを目的とする。 The present invention aims to prevent data edited by a printer from being deleted when updating the printer's data based on data received from an information processing device.

本発明のある態様は、情報処理装置と、前記情報処理装置と通信可能なプリンタと、を含む情報処理システムである。
前記情報処理装置は、
前記プリンタによって印字を行う際のレイアウトを示すレイアウトデータと、前記レイアウトデータに対応付けられ、印字を行う際に参照される参照データと、を記憶する記憶部を備える。
前記プリンタは、
第1記憶領域と第2記憶領域を有する記憶部と、
所定のデータ更新タイミングで、前記情報処理装置から受信する前記レイアウトデータ及び前記参照データにより前記第1記憶領域にあるレイアウトデータ及び参照データを更新するデータ更新部と、
ユーザの操作入力に基づいて前記第1記憶領域にある参照データを編集し、編集後の参照データである編集済みデータを、前記第2記憶領域に記録するデータ編集部と、を備える。
One aspect of the present invention is an information processing system including an information processing device and a printer capable of communicating with the information processing device.
The information processing device includes:
The printer includes a storage unit that stores layout data indicating a layout when printing is performed by the printer, and reference data that is associated with the layout data and that is referenced when printing is performed.
The printer
a storage unit having a first storage area and a second storage area;
a data updating unit that updates the layout data and reference data in the first storage area with the layout data and reference data received from the information processing device at a predetermined data update timing;
The data editing unit edits the reference data in the first storage area based on a user's operation input, and records edited data, which is the edited reference data, in the second storage area.

本発明のある態様によれば、情報処理装置から受信するデータを基にプリンタのデータの更新を行う場合に、プリンタで編集されたデータが削除されることを防止できる。 According to one aspect of the present invention, when updating printer data based on data received from an information processing device, it is possible to prevent data edited by the printer from being deleted.

実施形態に係る情報処理システムのシステム構成図である。1 is a system configuration diagram of an information processing system according to an embodiment. 実施形態に係る情報処理装置のプロジェクトファイル作成画面の一例を示す図である。FIG. 10 is a diagram illustrating an example of a project file creation screen of the information processing apparatus according to the embodiment. 実施形態に係る情報処理装置において呼出しテーブル定義を表示する手順を示す図である。10A and 10B are diagrams showing a procedure for displaying a call table definition in the information processing device according to the embodiment. 実施形態に係る情報処理装置において呼出しテーブルを表示する手順を示す図である。10A and 10B are diagrams showing a procedure for displaying a call table in the information processing device according to the embodiment; 実施形態に係る情報処理装置において漢字テーブルと店名テーブルを表示する手順を示す図である。10A and 10B are diagrams showing a procedure for displaying a kanji table and a store name table in the information processing device according to the embodiment. 実施形態に係る情報処理装置においてサーバにプロジェクトファイルをアップロードする手順を示す図である。10 is a diagram showing a procedure for uploading a project file to a server in the information processing apparatus according to the embodiment. FIG. 実施形態に係るプリンタの操作手順を示す図である。FIG. 4 is a diagram illustrating an operation procedure of the printer according to the embodiment. 実施形態に係る情報処理システムのハードウェア構成を示す図である。FIG. 1 is a diagram illustrating a hardware configuration of an information processing system according to an embodiment. 実施形態に係る情報処理システムの機能ブロック図である。FIG. 1 is a functional block diagram of an information processing system according to an embodiment. 実施形態に係る情報処理システムにおいて、プリンタによってラベルを発行するときのシーケンスチャートの一例である。10 is an example of a sequence chart when a label is printed by a printer in the information processing system according to the embodiment. 実施形態に係るプリンタにおいて呼出しテーブルを編集するときの手順を示す図である。10A to 10C are diagrams showing a procedure for editing a call table in the printer according to the embodiment. 実施形態に係るプリンタにおいてストレージのディレクトリの構成例を示す図である。FIG. 2 is a diagram showing an example of the configuration of a directory of storage in a printer according to an embodiment. 実施形態に係る情報処理装置のプロジェクトファイル作成画面において各テーブルが選択されたときのオブジェクトプロパティ設定部の表示例を示す図である。10A and 10B are diagrams illustrating an example of a display of an object property setting section when each table is selected on a project file creation screen of the information processing apparatus according to the embodiment. 実施形態に係るプリンタがテーブルを参照するときの処理を示すフローチャートである。10 is a flowchart showing a process when the printer according to the embodiment refers to a table. 実施形態に係るプリンタにおいて自動バックアップの設定を行う手順を示す図である。10A and 10B are diagrams illustrating a procedure for setting up an automatic backup in a printer according to an embodiment. 実施形態に係るサーバにおいてストレージのディレクトリの構成例を示す図である。FIG. 2 is a diagram illustrating an example of a directory configuration of storage in a server according to an embodiment. 実施形態に係る情報処理システムにおいて編集済みテーブルの自動バックアップ処理を行うときのシーケンスチャートである。10 is a sequence chart showing an automatic backup process of an edited table in the information processing system according to the embodiment. 実施形態に係るプリンタにおいて手動バックアップの設定を行う手順を示す図である。10A and 10B are diagrams illustrating a procedure for setting up a manual backup in a printer according to an embodiment. 実施形態に係るプリンタにおいてデータのリストアを行う手順を示す図である。FIG. 10 is a diagram showing a procedure for restoring data in a printer according to an embodiment. 実施形態に係るサーバにおいてストレージのディレクトリの別の構成例を示す図である。FIG. 10 is a diagram illustrating another example of the configuration of a directory of storage in the server according to the embodiment. 実施形態に係る情報処理システムにおいて編集済みテーブルの差分データの自動バックアップ処理を行うときのシーケンスチャートである。10 is a sequence chart showing an automatic backup process of differential data of an edited table in the information processing system according to the embodiment.

本開示における「記憶装置」は、プリンタに内蔵されるメモリあるいはストレージであってもよいし、プリンタの外部の装置(例えば、HDD(Hard Disk Drive)あるいはUSB(Universal Serial Bus)ストレージ等の外部の記憶装置やデータベースサーバ)であってもよい。
本開示における「参照データ」とは、印字を行う際に参照されるデータであれば如何なるデータでもよい。例えば、印字を行う際に参照されるレイアウトデータ及びテキストを参照するデータ、印字対象の文字データを呼び出す際に参照されるデータ、印字される際に使用されるレイアウトデータの配信先を示すデータが挙げられる。また、印字を行う際に参照される設定情報等も参照データとなり得る。
The "storage device" in this disclosure may be a memory or storage built into the printer, or may be a device external to the printer (for example, an external storage device such as an HDD (Hard Disk Drive) or USB (Universal Serial Bus) storage, or a database server).
"Reference data" in this disclosure may refer to any data that is referenced when printing. Examples include data that references layout data and text that are referenced when printing, data that is referenced when retrieving character data to be printed, and data that indicates the distribution destination of layout data used when printing. Setting information that is referenced when printing can also be reference data.

(1)システム概要
以下、本発明の情報処理システムの一実施形態である情報処理システム1について、図1を参照して説明する。図1は、本実施形態に係る情報処理システム1のシステム構成図である。
(1) System Overview An information processing system 1, which is an embodiment of the information processing system of the present invention, will be described below with reference to Fig. 1. Fig. 1 is a system configuration diagram of the information processing system 1 according to this embodiment.

図1に示すように、本実施形態の情報処理システム1では、例えばインターネット、LAN(Local Area Network)等のネットワークNWを介して、コンピュータ装置2と複数のプリンタ3-A,3-B,3-C,3-D,3-E,…が、サーバ5に接続されている。
本実施形態の例では、情報処理システム1は、複数の店舗を運営する販売業者によって運用され、各店舗で販売する商品にラベルを発行するためのシステムである。なお、本実施形態では、ラベルが発行される場所が店舗である場合を例として説明するが、実際には工場等でラベルが発行される場合もある。
As shown in FIG. 1, in the information processing system 1 of this embodiment, a computer device 2 and a plurality of printers 3-A, 3-B, 3-C, 3-D, 3-E, etc. are connected to a server 5 via a network NW such as the Internet or a LAN (Local Area Network).
In this embodiment, the information processing system 1 is a system operated by a retailer that operates multiple stores, and is used to issue labels to products sold at each store. Note that, although this embodiment will be described taking as an example a case where labels are issued at a store, in reality, labels may be issued at a factory or the like.

販売業者の本部にはコンピュータ装置2が配置される。コンピュータ装置2(以下、適宜「PC2」という。)は、例えばパーソナルコンピュータやタブレット端末等のコンピュータ装置である。各店舗には、少なくとも1台のプリンタが配置される。例えば、プリンタ3-A,3-B,3-C,3-D,3-EがそれぞれA店、B店、C店、D店、E店に配置されるといった具合である。なお、以下の説明では、複数のプリンタに対して共通した事項について言及するときには、「プリンタ3」と表記する。
本部では、PC2を使用してラベルの基本的なレイアウトデザインを設計する。各店舗では、本部から提供されるラベルのレイアウトデザインを基に、商品に貼付するラベルを発行する。
A computer device 2 is located at the retailer's headquarters. The computer device 2 (hereinafter referred to as "PC2" as appropriate) is a computer device such as a personal computer or tablet terminal. At least one printer is located in each store. For example, printers 3-A, 3-B, 3-C, 3-D, and 3-E are located in stores A, B, C, D, and E, respectively. In the following description, when referring to matters common to multiple printers, the printer will be referred to as "printer 3."
The headquarters designs the basic layout design of the labels using PC 2. Each store issues labels to be affixed to products based on the label layout design provided by the headquarters.

PC2には、ラベルのレイアウトデザインについてのデータのほか、ラベルに含まれる各項目のデータ、各種設定、店舗の情報等を包含するプロジェクトファイルを作成するラベル作成アプリケーションプログラム(以下、適宜「ラベル作成アプリケーション」という。)がインストールされている。ラベル作成アプリケーションを実行することで作成されたプロジェクトファイルは、フォーマットファイルとして、PC2からプリンタ3にサーバ5を介して配信される。つまり、ユーザの所定の操作に応じてコンピュータ装置2からサーバ5に対してプロジェクトファイルがフォーマットファイルとしてアップロードされ、所定のタイミングでサーバ5からプリンタ3にダウンロードされる。 A label creation application program (hereinafter referred to as the "label creation application") is installed on PC 2. This program creates a project file that includes data about the label layout design, as well as data about each item included on the label, various settings, store information, etc. The project file created by running the label creation application is distributed as a format file from PC 2 to printer 3 via server 5. In other words, the project file is uploaded as a format file from computer device 2 to server 5 in response to a specified user operation, and then downloaded from server 5 to printer 3 at a specified time.

プリンタ3には、フォーマットファイルを基にラベルを発行するラベル発行アプリケーションプログラム(以下、適宜「ラベル発行アプリケーション」という。)がインストールされている。ラベル発行アプリケーションを実行することで、ラベルのレイアウトデザイン、ラベルに含まれる各項目のデータ等を特定する発行データを選択し、あるいは必要に応じて選択した発行データを編集し、発行データを基にラベルを発行することができる。店舗の従業員は、プリンタ3によって発行されたラベルを店舗内の商品に貼付する。
プロジェクトファイルおよび発行データについては後述する。
A label issuance application program (hereinafter referred to as the "label issuance application") that prints labels based on a format file is installed on the printer 3. By executing the label issuance application, it is possible to select printing data that specifies the label layout design and data for each item included on the label, or to edit the selected printing data as needed, and print labels based on the printing data. Store employees affix the labels printed by the printer 3 to products in the store.
Project files and publishing data are described below.

(2)ラベル発行までの流れ
次に、図2~図7を参照して、PC2によってプロジェクトファイルが作成され、プリンタ3によってラベルが発行されるまでの一連の流れについて説明する。
図2は、PC2のプロジェクトファイル作成画面の一例を示す図である。図3は、PC2において呼出しテーブル定義を表示する手順を示す図である。図4は、PC2において呼出しテーブルを表示する手順を示す図である。図5は、PC2において漢字テーブルと店名テーブルを表示する手順を示す図である。図6は、PC2においてサーバにフォーマットファイルをアップロードする手順を示す図である。図7は、プリンタ3においてラベルを発行するときの操作手順を示す図である。
(2) Flow up to Label Issuance Next, with reference to FIGS. 2 to 7, a series of flows from when a project file is created by the PC 2 to when a label is issued by the printer 3 will be described.
Fig. 2 shows an example of a project file creation screen on PC 2. Fig. 3 shows the procedure for displaying a call table definition on PC 2. Fig. 4 shows the procedure for displaying a call table on PC 2. Fig. 5 shows the procedure for displaying a kanji table and a store name table on PC 2. Fig. 6 shows the procedure for uploading a format file to a server on PC 2. Fig. 7 shows the operating procedure for printing labels on printer 3.

(2-1)プロジェクトファイルの作成
図2は、ラベル作成アプリケーションを起動したときにPC2に表示されるPC画面G1(プロジェクトファイル作成画面)の一例である。プロジェクトファイル作成画面においてユーザは、ラベルの印字有効範囲に配置すべきオブジェクトを設定することで、プリンタ3によって発行されるラベルをデザインすることができる。
(2-1) Creating a Project File Figure 2 shows an example of a PC screen G1 (project file creation screen) that is displayed on the PC 2 when the label creation application is launched. On the project file creation screen, the user can design the label to be printed by the printer 3 by setting objects to be placed in the effective print area of the label.

ラベル作成アプリケーションでは、プロジェクトファイルによってデータが管理される。プロジェクトファイルは、ラベル作成アプリケーションによって作成されたデータの管理単位を示すファイルであり、フォーマットファイルとして各プリンタ3にサーバ5を介して配信される。 In the label creation application, data is managed using project files. Project files are files that indicate the management units for data created by the label creation application, and are distributed to each printer 3 as a format file via the server 5.

図2に示すように、PC画面G1は、指示ボタン群101、オブジェクトボタン群102、デザインウィンドウ103、プロジェクト設定部104、および、オブジェクトプロパティ設定部105を含む。
プロジェクト設定部104には、プロジェクトファイルに含まれるデータが階層構造で表示される。この階層構造で示すように、プロジェクトファイルは、呼出しテーブル、レイアウトデータ、漢字テーブル、及び、店名テーブルを含む。図示しないが、プロジェクトファイルはさらに、各テーブル情報ファイルを含む。テーブル情報ファイルは、テーブルごとの各種設定に関する情報を含むファイルである。
As shown in FIG. 2, the PC screen G1 includes a group of instruction buttons 101, a group of object buttons 102, a design window 103, a project setting section 104, and an object property setting section 105.
The project setting section 104 displays the data contained in the project file in a hierarchical structure. As shown in this hierarchical structure, the project file includes a call table, layout data, a kanji table, and a store name table. Although not shown, the project file also includes table information files. The table information files are files that contain information about various settings for each table.

呼出しテーブルは、プリンタ3のラベル発行アプリケーションにおいてラベルを印字するためのデータである。呼出しテーブルは、プリンタ3によって印字を行う際に参照されるレイアウトデータ及びテキストを参照するための参照データの一例である。
レイアウトデータは、呼出しテーブルと組み合わせてプリンタ3でラベルを発行するためのデザインデータであり、例えば編集の際にPC画面G1のデザインウィンドウ103に表示される。
漢字テーブルは、入力された数値を登録された文字データに変換するためのテーブルである。漢字テーブルにおいて登録番号と対応付けて文字データを登録可能である。例えば後述する文字列オブジェクトに文字を入力する際に漢字テーブルを参照するように設定することで、文字データを入力するのに代えて登録番号を指定することが可能である。漢字テーブルは、レイアウトデータに基づいて印字を行う際にテキストを呼び出すための参照データの一例である。
店名テーブルには、フォーマットファイルの配信先の店舗に配置されているプリンタのプリンタID(プリンタ識別情報)に対応する情報が登録されている。店名テーブルは、レイアウトデータに基づいて印字を行うプリンタ3のプリンタIDを含む参照データの一例である。
The call table is data for printing labels in the label issuing application of the printer 3. The call table is an example of reference data for referencing layout data and text that are referenced when printing by the printer 3.
The layout data is design data for printing labels by the printer 3 in combination with a call table, and is displayed in the design window 103 on the PC screen G1 during editing, for example.
The kanji table is a table for converting input numerical values into registered character data. Character data can be registered in the kanji table in association with a registration number. For example, by setting the kanji table to be referenced when inputting characters into a string object (described later), it is possible to specify a registration number instead of inputting character data. The kanji table is an example of reference data for calling up text when printing based on layout data.
The store name table stores information corresponding to the printer IDs (printer identification information) of printers located in stores to which the format file is to be distributed. The store name table is an example of reference data that includes the printer IDs of printers 3 that print based on the layout data.

なお、図2では、漢字テーブルと店名テーブルがそれぞれ1つずつ設定されている場合について示しているが、その限りではない。漢字テーブルと店名テーブルはそれぞれ複数設定することができる。例えば、漢字テーブル1,漢字テーブル2,漢字テーブル3,…、店名テーブル1,店名テーブル2,店名テーブル3,…といった具合に設定可能である。 Note that while Figure 2 shows a case where one kanji table and one store name table are set, this is not the only case. Multiple kanji tables and multiple store name tables can be set. For example, it is possible to set up Kanji Table 1, Kanji Table 2, Kanji Table 3, ..., Store Name Table 1, Store Name Table 2, Store Name Table 3, ..., etc.

デザインウィンドウ103は、ラベルの作成・編集エリアに相当し、この作成・編集エリア内にオブジェクトを配置・移動する操作を行うことで、ラベルがデザインされる。つまり、デザインウィンドウ103は、ラベルのレイアウトデザインを行うウィンドウである。本実施形態の例では、「品名」項目に対応するオブジェクトOBJ1、「名称」項目に対応するオブジェクトOBJ2、「内容量」項目に対応するオブジェクトOBJ3、および、「消費期限」項目に対応する日時オブジェクトであるオブジェクトOBJ4の4つのオブジェクトを含むラベルがデザインされる場合が例示される。
ボタンb2(「入力画面」)を操作すると、デザインウィンドウ103に代えて、各オブジェクトに含まれる文字列又はコードを入力するウィンドウ(図示せず)が表示される。当該ウィンドウが表示された状態でボタンb1(「レイアウト」)を操作すると、デザインウィンドウ103に戻る。
The design window 103 corresponds to a label creation/editing area, and labels are designed by placing and moving objects within this creation/editing area. In other words, the design window 103 is a window for designing the layout of a label. In this embodiment, an example is shown in which a label is designed including four objects: object OBJ1 corresponding to the "product name" item, object OBJ2 corresponding to the "name" item, object OBJ3 corresponding to the "content volume" item, and object OBJ4, a date and time object corresponding to the "expiration date" item.
When button b2 ("input screen") is operated, a window (not shown) for inputting the character string or code contained in each object is displayed in place of the design window 103. When button b1 ("layout") is operated while this window is displayed, the display returns to the design window 103.

オブジェクトボタン群102は、デザインウィンドウ103上のオブジェクトを選択して移動させる操作、あるいは、オブジェクトを新たに設定する操作を行う部分である。オブジェクトボタン群102では、オブジェクトとして文字列オブジェクト、価格オブジェクト、バーコードオブジェクト、日時オブジェクト、グラフィックオブジェクト等が選択可能である。オブジェクトの各種設定は、オブジェクトプロパティ設定部105において行うことが可能である。
図2に示す例では、選択されているオブジェクトOBJ1に対する各種設定をオブジェクトプロパティ設定部105において行うことができる。例えば、オブジェクトプロパティ設定部105の項目名(この例では「品名」)によって、デザインウィンドウ103内のレイアウトデザイン内で使用される項目が設定される。入力方法として「固定」又は「発行時」が選択可能である。入力方法として「固定」が選択された場合には、「データ」の欄にセットされた値(この例では、「チキンカツサンド」)が印字される設定であることを示し、入力方法として「発行時」が選択された場合には、「データ」の欄にセットされた初期値がプリンタ3のラベル発行アプリケーションにおいて変更可能であることを示す。
The object button group 102 is a section for performing an operation to select and move an object on the design window 103 or an operation to set a new object. The object button group 102 allows the selection of objects such as a character string object, a price object, a barcode object, a date and time object, and a graphic object. Various settings for the object can be made in the object property setting section 105.
2, various settings for the selected object OBJ1 can be made in the object property setting unit 105. For example, the item name ("Product Name" in this example) in the object property setting unit 105 sets the item to be used in the layout design in the design window 103. "Fixed" or "At Printing" can be selected as the input method. When "Fixed" is selected as the input method, it indicates that the value set in the "Data" field ("Chicken Cutlet Sandwich" in this example) is set to be printed, and when "At Printing" is selected as the input method, it indicates that the initial value set in the "Data" field can be changed in the label printing application of the printer 3.

指示ボタン群101内のボタン操作を行うことで、プロジェクトファイルのストレージからの読み出すこと、プロジェクトファイルをストレージに保存すること、あるいは、プロジェクトファイルをフォーマットファイルとしてサーバ5にアップロードすること等が可能である。 By operating the buttons in the instruction button group 101, it is possible to read a project file from storage, save a project file to storage, or upload a project file to the server 5 as a format file.

次に、図3~図5を参照して、呼出しテーブル、漢字テーブル、及び、店名テーブルについて説明する。
ラベルに印字するためのデータを呼出しテーブルに登録するには、予めデータを定義する必要がある。そのデータ定義を行うためには、図3に示すように、プロジェクト設定部104の「呼出しテーブル」を操作する(例えば、右クリックして「定義」を選択操作する)ことで呼出しテーブル定義のウィンドウW1を表示させる。ウィンドウW1の呼出しテーブル定義データTL1には、「品名」、「名称」、「内容量」、「消費期限」の4個の項目名が定義された例が示されている。呼出しテーブル定義データTL1の各項目名に対応するレコードには、例えば「桁数」、「桁数チェック」、「文字種チェック」等の各フィールドの値が入力される。
Next, the call table, the kanji table, and the store name table will be described with reference to FIGS.
To register data to be printed on labels in the call table, the data must be defined in advance. To define the data, as shown in Figure 3, operate the "Call Table" in the project setting unit 104 (for example, by right-clicking and selecting "Define") to display the call table definition window W1. The call table definition data TL1 in window W1 shows an example in which four item names, "Product Name,""Name,""ContentAmount," and "Expiration Date," are defined. Values for fields such as "Number of Digits,""Number of Digits Check," and "Character Type Check" are entered into the records corresponding to each item name in the call table definition data TL1.

「桁数」、「桁数チェック」、「文字種チェック」等の各フィールドの値は、ラベルレイアウト、ラベル上の表示内容の整合性等の観点から、ユーザによって入力される各項目名に対応する文字列に対するチェックを行うために設けられているが、必須ではない。
「桁数」フィールドの値は、各項目名に対応する文字列の最大桁数の値を示す。「桁数チェック」フィールドの値は、呼出しテーブルにおいて項目名に対応する文字列が入力されているかのチェックの有無、あるいは、項目名に対応する文字列の桁数が「桁数」フィールドの値以下であるかについてのチェックの有無を示す。「文字種チェック」フィールドの値は、項目名に対応する文字列の文字種(数字、あるいは数字以外の文字列)のチェックの有無、チェックする場合の文字種の指定を示す。
ユーザがウィンドウW1において入力を行い、呼出しテーブル定義データTL1を作成することで、ラベルに印字するための項目名が呼出しテーブルに登録される(つまり、項目が定義される)。
The values of each field, such as "Number of digits,""Number of digits check," and "Character type check," are provided to check the character strings corresponding to each item name entered by the user from the standpoint of label layout, consistency of the content displayed on the label, etc., but are not required.
The value of the "Number of digits" field indicates the maximum number of digits in the string corresponding to each item name. The value of the "Number of digits check" field indicates whether or not to check whether the string corresponding to the item name has been entered in the call table, or whether or not to check whether the number of digits in the string corresponding to the item name is less than or equal to the value of the "Number of digits" field. The value of the "Character type check" field indicates whether or not to check the character type (numeric or non-numeric) of the string corresponding to the item name, and specifies the character type if checking.
The user inputs data in window W1 and creates call table definition data TL1, whereby the item names to be printed on the label are registered in the call table (that is, the items are defined).

呼出しテーブル定義データTL1を作成した後に、ユーザは、呼出しテーブルにおいて印字データの登録を行う。図4に示すように、プロジェクト設定部104の「呼出しテーブル」を操作する(例えば、ダブルクリックするか、あるいは右クリックして「開く」を選択操作する(図3参照))ことで呼出しテーブルTL2が表示される。
呼出しテーブルTL2には、呼出しテーブル定義データTL1(図3参照)で定義された「品名」、「名称」、「内容量」、「消費期限」の4個の項目名のフィールドに加え、「呼出しNo.」と「レイアウト指定」の各フィールドが設けられる。
After creating the call table definition data TL1, the user registers print data in the call table. As shown in Fig. 4, by operating "Call Table" in the project setting section 104 (for example, by double-clicking or right-clicking and selecting "Open" (see Fig. 3)), the call table TL2 is displayed.
The call table TL2 has fields for the four item names defined in the call table definition data TL1 (see Figure 3), namely "item name,""name,""contentvolume," and "expiration date," as well as fields for "call number" and "layout designation."

呼出しテーブルTL2の各レコードは1つのラベルを発行するためのラベルレイアウトと定義された各項目名のデータ(文字列)を示している。この各レコードのデータを以下では、「発行データ」という。ユーザは、呼出しテーブルTL2に各項目名に対応する文字列を入力することで、ラベルのレイアウトと各項目名に対応する文字列とを対応付けることができる。なお、呼出しテーブルTL2には複数のレコードを設けなくてもよく、1つのレコード(つまり、1つの発行データ)のみであってもよい。
呼出しテーブルTL2では、呼出しNo.によって発行データが特定される。プリンタ3のラベル発行アプリケーションでは、呼出しNo.によって発行データが呼び出される。
Each record in the call table TL2 indicates the label layout for printing one label and the data (character strings) for each defined item name. Hereinafter, this data for each record will be referred to as "printing data." By inputting the character strings corresponding to each item name into the call table TL2, the user can associate the label layout with the character strings corresponding to each item name. The call table TL2 does not need to have multiple records; it can have only one record (i.e., one piece of printing data).
In the call table TL2, print data is specified by a call number. In the label printing application of the printer 3, print data is called by the call number.

呼出しテーブルTL2において「レイアウト指定」フィールドの値は、デザインウィンドウ103(図2参照)で作成された1又は複数のレイアウトデータのいずれかのレイアウトデータを示す値である。この例では、「レイアウト指定」フィールドの値は、[1]内容表示ラベルと[2]期限ラベルの2つのレイアウトデータが作成済みである場合に、各発行データがこの2つのレイアウトデータのうちいずれのレイアウトデータに対応するかを示している。 In call table TL2, the value of the "Layout Designation" field indicates one or more pieces of layout data created in design window 103 (see Figure 2). In this example, if two pieces of layout data have been created, [1] Content Display Label and [2] Expiration Date Label, the value of the "Layout Designation" field indicates which of these two pieces of layout data each piece of printing data corresponds to.

例えば、図2のPC画面G1に示したデザインウィンドウ103内のラベルデザインでは、呼出しテーブルTL2の呼出しNo.:1(呼出し名:「チキンカツサンド」)のレコードに対応する発行データが表示されている。
この例では、デザインウィンドウ103のラベルデザインは、呼出しNo.:1に対応するレコードの「レイアウト指定」フィールドの値([1]内容表示ラベル)に対応する。品名に対応するオブジェクトOBJ1内の文字列は、呼出しテーブルTL2の呼出しNo.:1のレコードの「品名」フィールドの値に対応する。名称に対応するオブジェクトOBJ2内の文字列は、呼出しテーブルTL2の呼出しNo.:1のレコードの「名称」フィールドの値に対応する。内容量に対応するオブジェクトOBJ3内の文字列は、呼出しテーブルTL2の呼出しNo.:1のレコードの「内容量」フィールドの値に対応する。
For example, in the label design in the design window 103 shown on the PC screen G1 in FIG. 2, the issuing data corresponding to the record of call No.: 1 (call name: "chicken cutlet sandwich") in the call table TL2 is displayed.
In this example, the label design in the design window 103 corresponds to the value of the "Layout Designation" field of the record corresponding to call No.: 1 ([1] Content Display Label). The character string in object OBJ1 corresponding to the product name corresponds to the value of the "Product Name" field of the record of call No.: 1 in the call table TL2. The character string in object OBJ2 corresponding to the name corresponds to the value of the "Name" field of the record of call No.: 1 in the call table TL2. The character string in object OBJ3 corresponding to the content volume corresponds to the value of the "Content Volume" field of the record of call No.: 1 in the call table TL2.

呼出しNo.:1に対応するレコードの「消費期限」フィールドの値は、消費期限に対応する日時オブジェクトであるオブジェクトOBJ4内の日付の最大桁数を示す。デザインウィンドウ103のラベルデザインにおいて、消費期限に対応するオブジェクトOBJ4内の日付として、例えばPC2の基準日付あるいは現在日付が表示される。 The value of the "Best Before Date" field of the record corresponding to call number 1 indicates the maximum number of digits for the date in object OBJ4, which is the date and time object corresponding to the best before date. In the label design in design window 103, the date in object OBJ4 corresponding to the best before date is displayed as, for example, the base date or current date of PC2.

以上のようにしてPC2のユーザは、呼出しテーブルTL2にデータを登録することで、異なるレイアウトのラベルや、同一のレイアウトであるが各項目の印字内容が異なるラベルを設計することができる。例えば、図4に示す例では、呼出しNo.:1~3の各々に対応する発行データは、同一のレイアウト([1]内容表示ラベル)であるが各項目の印字内容が異なるラベルに対応する。呼出しNo.:100に対応する発行データは、呼出しNo.:1~3とは異なるレイアウト([2]期限ラベル)のラベルに対応する。 In this way, by registering data in call table TL2, the user of PC2 can design labels with different layouts, or labels with the same layout but with different printed content for each item. For example, in the example shown in Figure 4, the printing data corresponding to each of call numbers 1 to 3 corresponds to labels with the same layout ([1] content display label) but different printed content for each item. The printing data corresponding to call number 100 corresponds to a label with a different layout ([2] expiration date label) from call numbers 1 to 3.

図5に示すように、プロジェクト設定部104の「漢字テーブル」を操作する(例えば、ダブルクリックする)ことで漢字テーブルTL3を表示させることができる。
図示の例では、漢字テーブルTL3の各レコードは、「登録番号」、「文字データ」の各フィールドの値を含む。「登録番号」フィールドの値は、例えば文字列オブジェクトに文字を入力するときに指定される番号である。「文字データ」フィールドの値は、対応する登録番号が指定されたときに入力される文字データである。
As shown in FIG. 5, by operating (for example, double-clicking) "Kanji Table" in the project setting section 104, the kanji table TL3 can be displayed.
In the illustrated example, each record in the kanji table TL3 includes values in the fields "registration number" and "character data." The value in the "registration number" field is, for example, a number specified when entering characters into a character string object. The value in the "character data" field is character data entered when the corresponding registration number is specified.

図5に示すように、プロジェクト設定部104の「店名テーブル」を操作する(例えば、ダブルクリックする)ことで店名テーブルTL4を表示させることができる。
図示の例では、店名テーブルTL4の各レコードは、「登録番号」、「店名」、「住所」、「電話番号」の各フィールドの値を含む。登録番号は、フォーマットファイルの配信先となるプリンタ3を特定する値であり、プリンタID(プリンタ識別情報)と対応づけられている。店舗によっては複数のプリンタ3が配置されている場合があるため、登録番号と店名は必ずしも1対1で対応しない。図5の例では、F店に登録番号:6,7の2台のプリンタ3が配置されていることを示している。なお、図5には図示しないが、所定のユーザ操作に基づいて、店名テーブルTL4に新たな登録番号のレコードを追加し、あるいは店名テーブルTL4から既存のレコードを削除することが可能である。
店名テーブルTL4は、フォーマットファイルの配信先であるプリンタ3を特定するためのデータであり、各店舗についての「住所」および「電話番号」の各フィールドは必ずしも必要ない。
As shown in FIG. 5, by operating (for example, double-clicking) the "Store Name Table" in the project setting section 104, a store name table TL4 can be displayed.
In the illustrated example, each record in the store name table TL4 includes values in the fields of "registration number,""storename,""address," and "telephone number." The registration number is a value that identifies the printer 3 to which the format file is to be delivered, and is associated with a printer ID (printer identification information). Because some stores may have multiple printers 3, there is not necessarily a one-to-one correspondence between registration numbers and store names. The example in FIG. 5 shows that two printers 3 with registration numbers 6 and 7 are located in store F. Although not illustrated in FIG. 5, it is possible to add a record with a new registration number to the store name table TL4 or delete an existing record from the store name table TL4 based on a specific user operation.
The store name table TL4 is data for identifying the printer 3 to which the format file is to be distributed, and does not necessarily need to include the "address" and "telephone number" fields for each store.

以上説明したようにして、PC2のラベル作成アプリケーションでは、レイアウトデータ、呼出しテーブル、漢字テーブル、及び、店名テーブルが作成される。そして、指示ボタン群101内の出力ボタンを操作することで、レイアウトデータ、呼出しテーブル、漢字テーブル、店名テーブル、及び、各テーブル情報ファイルを含むプロジェクトファイルがフォーマットファイルとしてサーバ5にアップロードされる。
具体的には、指示ボタン群101内の出力ボタンを操作すると、図6に示すようにデータ出力のウィンドウW2が表示される。ウィンドウW2の出力先選択部204では、出力先としてPC2内のストレージ(「デバイスとドライブ」)又はサーバ5(「サーバ」)が選択可能である。ここで、「サーバ」を選択すると、ウィンドウW3が表示される。ウィンドウW3において、サーバ5に対応するアドレス(URL)、ログインID、および、プロジェクトファイルのファイル名を入力してOKボタンを操作することでプロジェクトファイルに対応するフォーマットファイルのアップロードが行われる(ウィンドウW4)。なお、ウィンドウW3では、安全のためにパスワードによる認証を行ってもよい。
図6に示す例では、「サンドイッチ」というファイル名のフォーマットファイルがサーバ5にアップロードされる。
As described above, the layout data, call table, kanji table, and store name table are created in the label creation application of PC 2. Then, by operating the output button in command button group 101, a project file including the layout data, call table, kanji table, store name table, and each table information file is uploaded to server 5 as a format file.
Specifically, when the output button in the instruction button group 101 is operated, a data output window W2 is displayed as shown in FIG. 6. In the output destination selection section 204 of the window W2, the storage in the PC 2 ("Devices and Drives") or the server 5 ("Server") can be selected as the output destination. If "Server" is selected, a window W3 is displayed. In the window W3, the address (URL) corresponding to the server 5, the login ID, and the file name of the project file are entered, and the OK button is pressed to upload the format file corresponding to the project file (window W4). Note that in the window W3, password authentication may be performed for security reasons.
In the example shown in FIG. 6, a format file with the file name “sandwich” is uploaded to the server 5 .

(2-2)ラベルの発行
プリンタ3においてラベルを発行するときの手順は以下のとおりである。
先ず、プリンタ3のラベル発行アプリケーションを起動させ、フォーマットファイルをサーバ5からダウンロードする操作を行う。次いで、図7のプリンタ画面g1に示すように、ダウンロードしたフォーマットファイルの中から、ユーザが発行したいラベルに対応するフォーマットファイルとして、「サンドイッチ」を選択する。
次いで表示されるプリンタ画面g2は、選択されたフォーマットファイルにおいて呼出しNo.を入力するための入力ボックスbx1を含む。ここで入力される呼出しNo.は、フォーマットファイル内の呼出しテーブル(図4参照)の呼出しNo.に対応する。例えば、入力ボックスbx1に呼出しNo.:003を入力した場合には、図4の呼出しテーブルの呼出しNo.:003に対応するレコードの発行データが呼び出され、プリンタ画面g3が表示される。
(2-2) Issuing a Label The procedure for issuing a label in the printer 3 is as follows.
First, the label printing application on the printer 3 is started and an operation is performed to download a format file from the server 5. Next, as shown on the printer screen g1 in Figure 7, from among the downloaded format files, the user selects "sandwich" as the format file corresponding to the label they wish to print.
The printer screen g2 that is then displayed includes an input box bx1 for inputting a call number in the selected format file. The call number input here corresponds to the call number in the call table (see FIG. 4) in the format file. For example, if call number 003 is input in input box bx1, the issuing data of the record corresponding to call number 003 in the call table of FIG. 4 is called up, and the printer screen g3 is displayed.

プリンタ画面g3には、初期値として呼出しNo.:003に対応する発行データの各項目の値が発行データ表示部206に表示される。発行データ表示部206では、消費期限に対応する値は、プリンタ3の基準日付である。
プリンタ画面g3において確定ボタンが操作された場合、プリンタ画面g4が表示される。プリンタ画面g4は、プレビューボタンb4、確定ボタンb5、発行枚数を入力するための入力ボックスbx2、および、入力ボックス群207を含む。
入力ボックス群207は、発行データの各項目に対応する入力ボックスからなる。ラベル作成アプリケーションにおいてデータの入力方法が「発行時」(図2のオブジェクトプロパティ設定部105参照)に設定されていた場合には、入力ボックスを選択し、例えばソフトウェアキーボードSKを操作することでユーザが文字列を編集することができる。
プリンタ画面g4において確定ボタンb5を操作することでラベルが発行される。なお、ラベル発行前にプレビューボタンb4を操作することで、ラベルのプレビュー画像を表示させることができる。
On the printer screen g3, the values of each item of the issuance data corresponding to the call number: 003 are displayed as initial values in the issuance data display section 206. In the issuance data display section 206, the value corresponding to the expiration date is the reference date of the printer 3.
When the Confirm button is pressed on the printer screen g3, the printer screen g4 is displayed. The printer screen g4 includes a preview button b4, a confirm button b5, an input box bx2 for inputting the number of sheets to be printed, and an input box group 207.
The input box group 207 consists of input boxes corresponding to the various printing data items. If the data input method in the label creation application is set to "at printing" (see the object property setting unit 105 in FIG. 2), the user can edit the character string by selecting an input box and operating the software keyboard SK, for example.
A label is printed by pressing the Confirm button b5 on the printer screen g4. Before printing a label, a preview image of the label can be displayed by pressing the Preview button b4.

後述するが、プリンタ3のユーザは、プリンタ3がダウンロードしたフォーマットファイルに含まれる呼出しテーブル、漢字テーブル、及び、店名テーブルを、それぞれ個別に編集することができる。
以下では、PC2によって配信され、プリンタ3がサーバ5からダウンロードした直後のフォーマットファイルに含まれる呼出しテーブル、漢字テーブル、及び、店名テーブルをそれぞれ、適宜、「マスタ呼出しテーブル」、「マスタ漢字テーブル」、及び、「マスタ店名テーブル」と表記する。マスタ呼出しテーブル、マスタ漢字テーブル、及び、マスタ店名テーブルを総称して「マスタファイル」ということがある。
また、プリンタ3のユーザによりマスタ呼出しテーブル、マスタ漢字テーブル、及び、マスタ店名テーブルを編集した後のテーブルをそれぞれ、適宜、「編集済み呼出しテーブル」、「編集済み漢字テーブル」、及び、「編集済み店名テーブル」と表記する。編集済み呼出しテーブル、編集済み漢字テーブル、及び、編集済み店名テーブルを総称して「編集済みテーブル」又は「マスタ編集ファイル」ということがある。
As will be described later, the user of the printer 3 can individually edit the call table, kanji table, and store name table contained in the format file downloaded by the printer 3.
In the following, the call table, kanji table, and store name table contained in the format file distributed by the PC 2 and downloaded by the printer 3 from the server 5 will be referred to as the "master call table,""master kanji table," and "master store name table," respectively, as appropriate. The master call table, master kanji table, and master store name table may be collectively referred to as the "master file."
Furthermore, the tables obtained after the user of printer 3 has edited the master call table, master kanji table, and master store name table will be referred to as the "edited call table,""edited kanji table," and "edited store name table," respectively. The edited call table, edited kanji table, and edited store name table may be collectively referred to as the "edited table" or "master edit file."

(3)情報処理システム1の構成
次に、図8を参照して、情報処理システム1に含まれるPC2、プリンタ3、および、サーバ5の構成について説明する。
(3) Configuration of Information Processing System 1 Next, the configuration of the PC 2, printer 3, and server 5 included in the information processing system 1 will be described with reference to FIG.

(3-1)PC2
図8に示すように、PC2は、制御部21、ストレージ22、操作入力部23、表示部24、LANインタフェース25、及び、USBインタフェース26を備える。
(3-1) PC2
As shown in FIG. 8, the PC 2 includes a control unit 21, a storage 22, an operation input unit 23, a display unit 24, a LAN interface 25, and a USB interface 26.

制御部21は、マイクロプロセッサを主体として構成され、PC2全体を制御する。例えば、制御部21に含まれるマイクロプロセッサは、ストレージ22に記録されているラベル作成アプリケーションプログラムをロードして実行し、その実行結果を表示部24に表示する。
ストレージ22は、不揮発性のメモリであり、例えばフラッシュメモリ等のSSD(Solid State Drive)であってもよい。ストレージ22は、ラベル作成アプリケーションプログラムのほか、ラベル作成アプリケーションを実行することで作成されたプロジェクトファイル、各店舗に配置されるプリンタ3のプリンタID(店名テーブルの登録番号に対応するプリンタID)等を記憶する。
プロジェクトファイルは、レイアウトデータ、呼出しテーブル、漢字テーブル、店名テーブル、及び、各テーブル情報ファイルを含む。ここで、呼出しテーブル、漢字テーブル、及び、店名テーブルはそれぞれ、参照データの一例である。
The control unit 21 is mainly configured with a microprocessor and controls the entire PC 2. For example, the microprocessor included in the control unit 21 loads and executes a label creation application program recorded in the storage 22, and displays the execution results on the display unit 24.
The storage 22 is a non-volatile memory and may be, for example, an SSD (Solid State Drive) such as a flash memory. In addition to the label creation application program, the storage 22 stores project files created by executing the label creation application, printer IDs of the printers 3 installed in each store (printer IDs corresponding to the registration numbers in the store name table), etc.
The project file includes layout data, a call table, a kanji table, a store name table, and each table information file, where the call table, kanji table, and store name table are each an example of reference data.

ラベル作成アプリケーションを実行することで、制御部21は、マスタファイルの編集可否を設定してもよい。マスタファイルの編集可否の設定については、後述する。 By executing the label creation application, the control unit 21 may set whether or not the master file can be edited. Setting whether or not the master file can be edited will be described later.

操作入力部23は、例えば、ポインティングデバイス、タッチパネル等の入力デバイスを含む。表示部24がタッチパネル入力用表示パネルを備える場合、表示部24は、操作入力部23の一部を構成する。
表示部24は、例えば液晶表示パネルを含み、ラベル作成アプリケーションの実行結果を表示する。
LANインタフェース25は、サーバ5との間で通信を行う通信インタフェースである。
USBインタフェース26は、プリンタ3との間で直接通信を行う場合のインタフェースである。
The operation input unit 23 includes, for example, input devices such as a pointing device, a touch panel, etc. When the display unit 24 includes a display panel for touch panel input, the display unit 24 constitutes a part of the operation input unit 23.
The display unit 24 includes, for example, a liquid crystal display panel, and displays the results of the execution of the label creation application.
The LAN interface 25 is a communication interface for communicating with the server 5 .
The USB interface 26 is an interface for direct communication with the printer 3 .

(3-2)プリンタ3
図8に示すように、プリンタ3は、制御部31、ストレージ32(記憶部の一例)、操作入力部33、表示部34、搬送部35、印字部36、LANインタフェース37、及び、USBインタフェース38を備える。
(3-2) Printer 3
As shown in FIG. 8, the printer 3 includes a control unit 31, a storage 32 (an example of a memory unit), an operation input unit 33, a display unit , a conveying unit 35, a printing unit , a LAN interface 37, and a USB interface .

制御部31は、マイクロプロセッサを主体として構成され、プリンタ3の全体を制御する。ストレージ32は、不揮発性のメモリであり、例えばフラッシュメモリ等のSSDである。
例えば、制御部31に含まれるマイクロプロセッサは、ストレージ32に記録されているファームウェアおよびラベル発行アプリケーションプログラムをロードして実行する。
制御部31は、サーバ5に対してフォーマットファイルの送信を要求し、当該要求に応じて送信されるフォーマットファイルをLANインタフェース37を介して受信し、ストレージ32に保存する。制御部31がサーバ5に対してフォーマットファイルの送信を要求するタイミングは限定するものではないが、例えば、プリンタ3の起動時、毎日の所定の時刻、あるいは、ユーザによって所定のダウンロード操作が行われたタイミング等である。
The control unit 31 is mainly configured with a microprocessor and controls the entire printer 3. The storage 32 is a non-volatile memory, for example, an SSD such as a flash memory.
For example, the microprocessor included in the control unit 31 loads and executes firmware and a label issuance application program recorded in the storage 32 .
The control unit 31 requests the server 5 to transmit a format file, receives the format file transmitted in response to the request via the LAN interface 37, and stores it in the storage 32. There are no limitations on the timing at which the control unit 31 requests the server 5 to transmit a format file, but it may be, for example, when the printer 3 is started up, at a predetermined time each day, or when a predetermined download operation is performed by the user.

ストレージ32は、ファームウェアおよびラベル発行アプリケーションプログラムのほか、プリンタ3のプリンタIDを記憶する。このプリンタIDは、PC2に記録される店名テーブルの登録番号に対応している。
ストレージ32は、サーバ5からダウンロードした1又は複数のフォーマットファイルを記憶する。
The storage 32 stores firmware, a label printing application program, and the printer ID of the printer 3. This printer ID corresponds to the registration number in the store name table recorded in the PC 2.
The storage 32 stores one or more format files downloaded from the server 5 .

制御部31は、ファームウェアを実行することで、発行データを印字用のビットマップデータ(印字データ)に変換し、印字データのライン毎のデータであるラインデータを順次、印字部36へ送出する。搬送部35および印字部36は、順次送出されるラインデータに基づいて印字を行う。
搬送部35は、図示しないプラテンローラ、モータ駆動回路、及び、ステッピングモータを含み、プリンタ3内の連続紙の搬送を行う。例えば、ファームウェアによる搬送要求に基づき、モータ駆動回路が、プラテンローラの回転を制御するステッピングモータを駆動することによって、連続紙を搬送させる。
印字部36は、図示しないサーマルヘッド及びヘッド駆動回路を含む。ヘッド駆動回路は、ラインデータに基づきサーマルヘッドの各発熱素子に選択的に電流を流すことで、連続紙のラベル上に印字を行う。
The control unit 31 executes firmware to convert the issuance data into bitmap data for printing (print data), and sequentially sends line data, which is data for each line of the print data, to the printing unit 36. The transport unit 35 and the printing unit 36 perform printing based on the line data that is sequentially sent out.
The transport unit 35 includes a platen roller, a motor drive circuit, and a stepping motor (not shown), and transports the continuous paper within the printer 3. For example, based on a transport request from the firmware, the motor drive circuit drives the stepping motor, which controls the rotation of the platen roller, to transport the continuous paper.
The printing unit 36 includes a thermal head and a head drive circuit (not shown). The head drive circuit selectively applies current to each heating element of the thermal head based on line data, thereby printing on the continuous paper label.

操作入力部33は、プリンタ3の表示パネルに設けられるタッチパネル入力とその入力回路を含む。
表示部34は、表示パネルを有し、表示パネル上にラベル発行アプリケーションの実行結果を表示する。
LANインタフェース37は、サーバ5との間で通信を行う通信インタフェースである。
USBインタフェース38は、コンピュータ装置2との間で直接通信を行う場合のインタフェースである。
The operation input unit 33 includes a touch panel input provided on the display panel of the printer 3 and its input circuit.
The display unit 34 has a display panel, and displays the execution results of the label printing application on the display panel.
The LAN interface 37 is a communication interface for communicating with the server 5 .
The USB interface 38 is an interface for direct communication with the computer device 2 .

(3-3)サーバ5
サーバ5は、制御部51、ストレージ52、および、通信部53を備える。
ストレージ52は、例えばHDD等の大容量記憶装置であり、PC2から送信されるフォーマットファイルをログインIDと対応付けて記憶する。
制御部51は、マイクロプロセッサを主体として構成され、サーバプログラムを実行することでサーバ5の全体を制御する。制御部51は、例えば、プリンタ3からの要求に応じてフォーマットファイルを送信するように通信部53を制御する。
通信部53は、PC2及びプリンタ3の各々との間で通信を行う通信インタフェースである。
(3-3) Server 5
The server 5 includes a control unit 51 , a storage 52 , and a communication unit 53 .
The storage 52 is a large-capacity storage device such as an HDD, and stores the format file sent from the PC 2 in association with the login ID.
The control unit 51 is mainly configured with a microprocessor, and executes a server program to control the entire server 5. The control unit 51 controls the communication unit 53 to transmit a format file in response to a request from the printer 3, for example.
The communication unit 53 is a communication interface that communicates with the PC 2 and the printer 3 .

図9を参照してさらに説明する。図9は、情報処理システム1のプリンタ3及びサーバ5の機能ブロック図である。
図9を参照すると、プリンタ3の制御部31は、ラベル発行アプリケーションを実行することで、データ更新部311、データ編集部312、印字制御部313、自動バックアップ処理部314、手動バックアップ処理部315、バックアップ世代設定部316、及び、リストア処理部317として機能する。
サーバ5の制御部51は、サーバプログラムを実行することで、データ記録部511、及び、データ削除部512として機能する。
Further explanation will be given with reference to Fig. 9. Fig. 9 is a functional block diagram of the printer 3 and the server 5 of the information processing system 1.
Referring to Figure 9, the control unit 31 of the printer 3 executes the label issuance application and functions as a data update unit 311, a data editing unit 312, a printing control unit 313, an automatic backup processing unit 314, a manual backup processing unit 315, a backup generation setting unit 316, and a restore processing unit 317.
The control unit 51 of the server 5 executes a server program to function as a data recording unit 511 and a data deleting unit 512 .

プリンタ3では、サーバ5からダウンロードしたフォーマットファイルを基にストレージ32に記録されたレイアウトデータ及びマスタファイル(つまり、マスタ呼出しテーブル、マスタ漢字テーブル、マスタ店名テーブル)は、定期的、又は不定期に更新される。このとき、データ更新部311は、データ更新タイミングで、コンピュータ装置2からサーバ5経由で受信するレイアウトデータ及びマスタファイルにより、ストレージ32の第1記憶領域にあるレイアウトデータ及びマスタファイルを更新する。データ更新のタイミングは限定するものではないが、例えば、プリンタ3の起動時、毎日の所定の時刻、あるいは、ユーザによって所定のダウンロード操作が行われたタイミング等である。 In printer 3, the layout data and master files (i.e., master call table, master kanji table, master store name table) recorded in storage 32 are updated regularly or irregularly based on the format file downloaded from server 5. At this time, the data update unit 311 updates the layout data and master files in the first memory area of storage 32 with the layout data and master files received from computer device 2 via server 5 at the data update timing. The timing of data updates is not limited, but may be, for example, when printer 3 is started up, at a specified time each day, or when a specified download operation is performed by the user.

ストレージ32は、ユーザがダウンロードしたフォーマットファイルに含まれるマスタファイルを編集した場合には、編集後のマスタ編集ファイル(つまり、編集済み呼出しテーブル、編集済み漢字テーブル、及び、編集済み店名テーブルの少なくともいずれか)を記憶する。このとき、マスタ編集ファイルは、ストレージ32において元となるマスタファイルが記憶されている記憶領域(第1記憶領域)とは異なる記憶領域(第2記憶領域)に記録される。すなわち、データ編集部312は、ユーザの操作入力に基づいてストレージ32の第1記憶領域にあるマスタファイルを編集し、編集後のマスタ編集ファイルを、ストレージ32の第2記憶領域に記録する。 When a user edits a master file included in a downloaded format file, storage 32 stores the edited master edit file (i.e., at least one of the edited call table, edited kanji table, and edited store name table). At this time, the master edit file is recorded in a memory area (second memory area) different from the memory area (first memory area) in storage 32 where the original master file is stored. In other words, the data editing unit 312 edits the master file in the first memory area of storage 32 based on user input, and records the edited master edit file in the second memory area of storage 32.

一実施形態では、マスタファイルの編集許否がPC2のラベル作成アプリケーションによって設定可能である。印字制御部313は、マスタファイルの編集が許可と設定されている場合には、マスタ編集ファイルに基づいて印字を行い、マスタファイルの編集が不許可と設定されている場合には、マスタファイルに基づいて印字を行う。 In one embodiment, whether or not editing of the master file is permitted can be set by the label creation application on PC2. If editing of the master file is set to permitted, the print control unit 313 prints based on the master edit file; if editing of the master file is set to not permitted, the print control unit 313 prints based on the master file.

一実施形態では、プリンタ3が故障した場合に備えて、プリンタ3のユーザが作成したマスタ編集ファイルをサーバ5及び外部のUSBストレージにバックアップすることができる。
自動バックアップ処理部314(第1バックアップ処理部の一例)は、ストレージ32にあるマスタ編集ファイルをサーバ5に定期的にバックアップする。
手動バックアップ処理部315(第2バックアップ処理部の一例)は、ストレージ32にあるマスタ編集ファイルを外部のUSBストレージに、ユーザによる操作を契機としてバックアップする。
In one embodiment, in case the printer 3 fails, the master edit file created by the user of the printer 3 can be backed up to the server 5 and external USB storage.
The automatic backup processor 314 (an example of a first backup processor) periodically backs up the master edit file in the storage 32 to the server 5 .
The manual backup processor 315 (an example of a second backup processor) backs up the master edit file in the storage 32 to an external USB storage device when triggered by a user operation.

一実施形態では、バックアップしたデータ(バックアップデータ)に基づいて、プリンタ3を復旧(リストア)させることができる。
リストア処理部317は、外部のUSBストレージ又はサーバ5に記憶されているバックアップデータに基づいてプリンタ3のリストアを行う。
In one embodiment, the printer 3 can be restored based on the backed-up data.
The restore processing unit 317 restores the printer 3 based on the backup data stored in the external USB storage or the server 5 .

後述するように、データの自動バックアップでは、サーバ5は、プリンタ3内のバックアップ対象のデータをそのまま記録するのではなく、前回のバックアップデータとの差分がある場合に記録する。バックアップ対象のデータがマスタ編集ファイルである場合、データ記録部511は、プリンタ3の最新の編集によるマスタ編集ファイルと前回の編集によるマスタ編集ファイルとの差分がある場合に、最新の編集によるマスタ編集ファイルをストレージ52に記録する。 As will be described later, when automatically backing up data, the server 5 does not simply record the data to be backed up in the printer 3, but records any differences from the previous backup data. If the data to be backed up is a master edit file, the data recording unit 511 records the master edit file resulting from the most recent edit in the storage 52 if there are differences between the master edit file resulting from the most recent edit on the printer 3 and the master edit file resulting from the previous edit.

バックアップ世代設定部316は、サーバ5のストレージ52が記憶するマスタ編集ファイルの数の最大値を、プリンタ3のユーザの操作入力に基づいて設定する。
データ削除部512は、バックアップ世代設定部316によって設定された前記最大値に基づいて、ストレージ52に過去に記録されたマスタ編集ファイルを削除する。すなわち、ストレージ52では古いバックアップデータであるマスタ編集ファイルが順次削除される。
The backup generation setting unit 316 sets the maximum number of master edit files that can be stored in the storage 52 of the server 5 based on an operation input by the user of the printer 3 .
The data deletion unit 512 deletes master edit files previously recorded in the storage 52 based on the maximum value set by the backup generation setting unit 316. That is, master edit files that are old backup data are sequentially deleted from the storage 52.

図10を参照すると、ラベルの発行動作は以下のとおりである。
ユーザの操作に応じて、PC2のラベル作成アプリケーションは、各テーブル(マスタファイル)を含むフォーマットファイルをサーバ5に送信する(ステップS2)。サーバ5は、PC2から受信したフォーマットファイルをストレージ52に保存する(ステップS4)。
サーバ5は、プリンタ3からの要求(例えばデータ更新の要求)に応じて当該フォーマットファイルをプリンタ3に送信し(ステップS6)、プリンタ3は、受信したフォーマットファイルをストレージ32に保存する(ステップS8)。
Referring to FIG. 10, the label printing operation is as follows.
In response to a user operation, the label creation application on the PC 2 sends a format file including each table (master file) to the server 5 (step S2). The server 5 stores the format file received from the PC 2 in the storage 52 (step S4).
The server 5 transmits the format file to the printer 3 in response to a request from the printer 3 (for example, a request for data update) (step S6), and the printer 3 stores the received format file in the storage 32 (step S8).

その後、プリンタ3は、図7に示したように、ユーザ操作に応じて選択されたフォーマットファイルを読み出し(ステップS10)、呼出しNo.の入力を受け付ける(ステップS12)。次いで、プリンタ3は、入力された呼出しNo.によって呼び出される発行データを、プリンタ画面g3(図7)に示したように表示し(ステップS14)、ラベルが発行可能な状態となる。いったんフォーマットファイルをサーバ5から取得すれば、プリンタ3のラベル発行アプリケーションは、オフラインの環境においても各呼出しNo.に対応するラベルを発行することができる。 Then, as shown in FIG. 7, the printer 3 reads the format file selected in response to user operation (step S10) and accepts the input of a call number (step S12). The printer 3 then displays the printing data called up by the input call number as shown on printer screen g3 (FIG. 7) (step S14), and is ready to print labels. Once the format file has been obtained from the server 5, the printer 3's label printing application can print labels corresponding to each call number even in an offline environment.

(4)編集済みテーブルの管理
次に、図11~図14を参照して、プリンタ3における編集済みテーブルの管理について説明する。
前述したように、プリンタ3は、プリンタ3がダウンロードしたフォーマットファイルには、呼出しテーブル、漢字テーブル、及び、店名テーブル(つまり、マスタファイル)が含まれる。このマスタファイルは、本部で管理するすべての店舗で汎用的に使用されるラベルに対応したデータである。他方、店舗におけるプリンタ3のユーザは、マスタファイルを編集し、マスタ編集ファイルとしてストレージ32に保存することができる。それによって店舗のユーザは、店舗独自の商品がある場合に、独自商品に貼付するラベルを印字するためのデータを作成し、保存することができる。
(4) Management of Edited Tables Next, management of edited tables in the printer 3 will be described with reference to FIGS.
As described above, the format file downloaded by the printer 3 includes a call table, a kanji table, and a store name table (i.e., a master file). This master file contains data corresponding to labels that are generally used in all stores managed by the headquarters. On the other hand, a user of the printer 3 at a store can edit the master file and save it in the storage 32 as an edited master file. This allows the store user to create and save data for printing labels to be affixed to unique products that are unique to the store.

図11に、店舗のプリンタ3のユーザが、一例として呼出しテーブル(マスタ呼出しテーブル)を編集するときの手順を示す図である。
図11を参照すると、設定に関するプリンタ画面g5において「マスタ編集」の項目を選択操作した場合、プリンタ画面g6に切り替わり、フォーマットファイルごとにマスタファイルの編集(マスタ編集)を行う画面が現れる。マスタ編集では、マスタ呼出しテーブル、マスタ漢字テーブル、及び、マスタ店名テーブルを個別に編集することができる。ここで、例えば、マスタ呼出しテーブルを編集対象として選択する操作を行うと、マスタ呼出しテーブルを編集するためのプリンタ画面g7が表示される。
プリンタ画面g7において、例えば「新規登録」を選択操作すると、マスタ呼出しテーブルに新たな呼出しNo.に対応する発行データを追加することができる。つまり、マスタ呼出しテーブルに対して新たな発行データを追加した編集済み呼出しテーブルを作成することができる。この場合、プリンタ画面g8~g9に表示されるように、発行データに含まれる各項目の値をユーザが入力することで新たな発行データを作成することが可能である。
FIG. 11 shows an example of a procedure followed by a user of the printer 3 in a store to edit a call table (master call table).
Referring to Figure 11, when the "Master Edit" item is selected on the printer screen g5 related to settings, the screen switches to printer screen g6, where a screen for editing the master file (master edit) for each format file appears. In master edit, the master call table, master kanji table, and master store name table can be edited individually. Here, for example, when the master call table is selected as the table to be edited, a printer screen g7 for editing the master call table appears.
On the printer screen g7, for example, by selecting "New Registration," it is possible to add issuance data corresponding to a new call number to the master call table. In other words, it is possible to create an edited call table in which new issuance data has been added to the master call table. In this case, as displayed on the printer screens g8 and g9, the user can create new issuance data by entering values for each item included in the issuance data.

なお、図示しないが、プリンタ画面g7において「コピーして新規登録」を選択操作した場合には、マスタ呼出しテーブルに含まれる発行データをコピーして一部の項目の値を変更することで新たな発行データを可能である。プリンタ画面g7において「変更」を選択操作した場合には、マスタ呼出しテーブルに含まれる発行データの一部の項目を変更することが可能である。プリンタ画面g7において「削除」を選択操作した場合には、マスタ呼出しテーブルに含まれる少なくとも1つの発行データを削除することが可能である。いずれの場合も、マスタファイルを編集した新たなマスタ編集ファイルが作成されることになる。
図11では、マスタ呼出しテーブルを編集するときの手順について示したが、同様にして、マスタ漢字テーブル及びマスタ店名テーブルについても個別に編集することができる。
Although not shown, when "Copy and register new" is selected on the printer screen g7, new issuance data can be created by copying the issuance data contained in the master call table and changing the values of some of the items. When "Change" is selected on the printer screen g7, some of the items of the issuance data contained in the master call table can be changed. When "Delete" is selected on the printer screen g7, at least one piece of issuance data contained in the master call table can be deleted. In either case, a new master edit file is created by editing the master file.
FIG. 11 shows the procedure for editing the master call table, but the master kanji table and the master store name table can also be edited individually in the same way.

図12に、実施形態に係るプリンタ3のストレージ32におけるディレクトリの構成例を示す。
前述したように、図11に示したようにして作成されたマスタ編集ファイルは、ストレージ32において元となるマスタファイルが記憶されている記憶領域(第1記憶領域)とは異なる記憶領域(第2記憶領域)に記録される。
FIG. 12 shows an example of the directory configuration in the storage 32 of the printer 3 according to this embodiment.
As mentioned above, the master edit file created as shown in Figure 11 is recorded in a memory area (second memory area) in storage 32 that is different from the memory area (first memory area) in which the original master file is stored.

図12に示すように、ストレージ32は、FormatFilesフォルダと、Historiesフォルダと、LocalTablesフォルダと、Logsフォルダと、Settingsフォルダとを含む。
FormatFilesフォルダは、フォーマットファイルごとに、レイアウトデータ、マスタ呼出しテーブル、マスタ漢字テーブル、及び、マスタ店名テーブルを格納するフォルダである。
Historiesフォルダは、フォーマットファイルごとの発行履歴ファイルを含むフォルダである。発行履歴ファイルには、例えば、過去のラベルの発行履歴(いつどのようなラベルを何枚発行したかという内容)のデータ等が含まれる。
LocalTablesフォルダは、フォーマットファイルごとに、編集済み呼出しテーブル、編集済み漢字テーブル、及び、編集済み店名テーブルを格納するフォルダである。
Logsフォルダは、後のトラブルシューティングのためにラベル発行アプリケーションで生じたエラー情報が記録されたフォルダである。
Settingsフォルダは、設定情報ファイルを含むフォルダである。
As shown in FIG. 12, the storage 32 includes a FormatFiles folder, a Histories folder, a LocalTables folder, a Logs folder, and a Settings folder.
The FormatFiles folder is a folder that stores layout data, a master call table, a master kanji table, and a master store name table for each format file.
The Histories folder contains a printing history file for each format file. The printing history file contains data such as the printing history of past labels (such as when, what types of labels were printed, and how many labels were printed).
The LocalTables folder is a folder that stores the edited call table, edited kanji table, and edited store name table for each format file.
The Logs folder is a folder in which error information that occurs in the label printing application is recorded for later troubleshooting.
The Settings folder is a folder that contains setting information files.

図12に示すように、ストレージ32では、マスタファイル(マスタ呼出しテーブル、マスタ漢字テーブル、及び、マスタ店名テーブル)とマスタ編集ファイル(編集済み呼出しテーブル、編集済み漢字テーブル、及び、編集済み店名テーブル)が、それぞれ異なるフォルダに保存される。つまり、マスタファイルとマスタ編集ファイルはストレージ32のそれぞれ異なる記憶領域に格納されている。
なお、マスタ編集ファイルをさらに編集した場合には、既にLocalTablesフォルダにあるマスタ編集ファイルに上書き保存される。
12, the master files (master call table, master kanji table, and master store name table) and the master edit files (edited call table, edited kanji table, and edited store name table) are stored in different folders in the storage 32. In other words, the master files and the master edit files are stored in different memory areas in the storage 32.
If the master edit file is further edited, the edited file will be overwritten and saved to the master edit file already in the LocalTables folder.

プリンタ3の制御部31は、データ更新時には、サーバ5からダウンロードしたフォーマットファイルに含まれるマスタファイルにより、ストレージ32のFormatFilesフォルダ内の対応するフォーマットファイルに含まれるマスタファイルを上書き更新する。このデータ更新時には、ストレージ32のLocalTablesフォルダ内のマスタ編集ファイルは更新されない。そのため、実施形態の情報処理システム1では、PC2からサーバ5を経由して受信するフォーマットファイルを基にプリンタ3のデータの更新を行う場合に、プリンタ3で編集されたデータであるマスタ編集ファイルが削除されることを防止できる。 When updating data, the control unit 31 of the printer 3 overwrites and updates the master file contained in the corresponding format file in the FormatFiles folder of the storage 32 with the master file contained in the format file downloaded from the server 5. When updating data in this way, the master edit file in the LocalTables folder of the storage 32 is not updated. Therefore, in the information processing system 1 of this embodiment, when updating data on the printer 3 based on a format file received from the PC 2 via the server 5, the master edit file, which is data edited on the printer 3, can be prevented from being deleted.

一実施形態では、本部においてPC2のラベル作成アプリケーションにより、店舗のプリンタ3でのマスタ編集の可否を設定できるようにしてもよい。
図13に、実施形態に係るPC2のプロジェクトファイル作成画面において各テーブルが選択されたときのオブジェクトプロパティ設定部105の表示例を示す。図13では、左から順に、プロジェクト設定部104において呼出しテーブル、漢字テーブル、及び、店名テーブルがそれぞれ選択されたときに、オブジェクトプロパティ設定部105の表示状態を示している。図13に示すように、各テーブルに対して「Printでのマスタ編集を許可」に対するボタンである編集許否ボタン211~213が設けられている。このボタンを操作することで、プリンタ3のラベル発行アプリケーションによるマスタ編集を許可するか否かについて設定することができる。
In one embodiment, the head office may use a label creation application on the PC 2 to set whether or not master editing is permitted on the printer 3 in the store.
Fig. 13 shows an example of the display of the object property setting unit 105 when each table is selected on the project file creation screen of the PC 2 according to this embodiment. Fig. 13 shows the display state of the object property setting unit 105 when, from left to right, a call table, a kanji table, and a store name table are selected in the project setting unit 104. As shown in Fig. 13, each table is provided with edit permission/deny buttons 211 to 213, which are buttons for "Allow master editing in Print." By operating these buttons, it is possible to set whether or not to allow master editing by the label issuance application of the printer 3.

編集許否ボタン211~213による設定は、各テーブル情報ファイルに含まれる編集許否フラグに反映される。プリンタ3のラベル発行アプリケーションは、サーバ5を経由して受信したフォーマットファイルに含まれる各テーブル情報ファイル内の編集許否フラグを参照して、呼出しテーブル、漢字テーブル、及び、店名テーブルについて個別に編集許否を決定する。つまり、ラベル発行アプリケーションは、各テーブル情報ファイルをサーバ5から取得し、取得した各テーブル情報ファイルに含まれる編集許否フラグが編集不可を示す場合には、マスタ編集を許可しない。
編集可否を行うことで、本部は、テーブル単位で、店舗側で編集を許可するテーブルと編集を許可しないテーブルを決定することができる。
The settings made using the edit permission buttons 211 to 213 are reflected in the edit permission flag included in each table information file. The label printing application of the printer 3 determines whether editing is permitted for the call table, kanji table, and store name table individually by referencing the edit permission flag in each table information file included in the format file received via the server 5. In other words, the label printing application obtains each table information file from the server 5, and does not permit master editing if the edit permission flag included in each obtained table information file indicates that editing is not permitted.
By allowing or disallowing editing, the headquarters can decide, on a table-by-table basis, which tables are allowed to be edited by the store and which are not.

複数の漢字テーブルあるいは複数の店名テーブルが設けられている場合には、個々のテーブルに対してマスタ編集の許否を設定することができる。例えば、漢字テーブル1,漢字テーブル2,漢字テーブル3,…が設定されている場合、対応するテーブルNo.(1,2,3,…)を指定してマスタ編集の許否を個別に設定することができる。マスタ編集の許否を個別に設定することで、店舗側で独自のラベルを発行させる自由度を柔軟に設定することができる。 If multiple kanji tables or multiple store name tables are provided, master editing permission can be set for each individual table. For example, if kanji table 1, kanji table 2, kanji table 3, etc. are set, master editing permission can be set individually by specifying the corresponding table number (1, 2, 3, etc.). By individually setting master editing permission, stores can flexibly set the freedom to issue their own unique labels.

次に、図14を参照して、プリンタ3において発行データを基にラベルを発行するときに参照すべきテーブルを決定するときの処理を示フローチャートである。図14のフローチャートは、プリンタ3の制御部31によって実行される。
図12に示したように、店舗にあるプリンタ3においてマスタファイルを編集した場合には、マスタファイルとマスタ編集ファイルとが併存することになる。その場合に、対応するフォーマットファイルから発行データを読み出してラベルを発行するときに参照すべきテーブルの優先度が、図14のフローチャートによって規定されている。
14 is a flowchart showing the process for determining the table to be referenced when printing a label based on printing data in the printer 3. The flowchart in FIG. 14 is executed by the control unit 31 of the printer 3.
As shown in Figure 12, when a master file is edited on a printer 3 in a store, the master file and the edited master file coexist. In this case, the priority of the tables to be referenced when reading printing data from the corresponding format file and printing labels is defined by the flowchart in Figure 14.

図14において、例えば図7のプリンタ画面g1によりいずれかのフォーマットファイルが選択された場合(ステップS20:YES)、制御部31は先ず、選択されたフォーマットファイルに含まれる各テーブル情報ファイルから、編集許否フラグを読み出す(ステップS22)。前述したように、編集許否フラグは、個々のテーブルについてのマスタ編集の許否を示すフラグであり、呼出しテーブル、漢字テーブル、及び、店名テーブルの各々について設定されている。 In Figure 14, if any format file is selected, for example, on the printer screen g1 in Figure 7 (step S20: YES), the control unit 31 first reads the edit permission flag from each table information file included in the selected format file (step S22). As mentioned above, the edit permission flag indicates whether master editing is permitted for each table, and is set for each of the call table, kanji table, and store name table.

編集許否フラグを参照して、ステップS24~S30の各処理が各テーブルについて順に行われる(ステップS32)。具体的には、処理対象のテーブルに対応する編集許否フラグが「許可」を示す場合、ストレージ32のLocalTablesフォルダが優先して参照される。つまり、LocalTablesフォルダ内に編集済みテーブルがある場合には(ステップS26:YES)、制御部31は、LocalTablesフォルダ内の編集済みテーブルを参照する(ステップS28)。
ステップS24において処理対象のテーブルに対応する編集許否フラグが「不許可」を示す場合、又は、LocalTablesフォルダ内に編集済みテーブルがない場合(ステップS26:NO)、制御部31は、FormatFilesフォルダのテーブル(つまり、マスタ呼出しテーブル、マスタ漢字テーブル、又は、マスタ店名テーブル)を参照する(ステップS30)。
The processes in steps S24 to S30 are performed for each table in turn, with reference to the edit permission flag (step S32). Specifically, if the edit permission flag corresponding to the table to be processed indicates "permitted," the LocalTables folder in storage 32 is referenced first. That is, if there is an edited table in the LocalTables folder (step S26: YES), control unit 31 references the edited table in the LocalTables folder (step S28).
If the edit permission flag corresponding to the table to be processed indicates "not permitted" in step S24, or if there is no edited table in the LocalTables folder (step S26: NO), the control unit 31 refers to the table in the FormatFiles folder (i.e., the master call table, master kanji table, or master store name table) (step S30).

図14のフローチャートに示したように、プリンタ3において発行データを基にラベルを発行するときには、LocalTablesフォルダに編集済みテーブルがある場合に当該編集済みテーブルが優先して参照される。そのため、店舗のプリンタ3の利用者は、本部で管理するすべての店舗で汎用的に使用されるラベルのためのデータを逐次更新しながら、汎用的に使用されるラベルとは異なるラベル(店舗独自の商品に貼付するラベル)も発行することができる。 As shown in the flowchart in Figure 14, when a label is printed based on printing data on Printer 3, if an edited table exists in the LocalTables folder, that edited table is referenced first. Therefore, users of Printer 3 in a store can update data for labels that are generally used in all stores managed by headquarters, while also printing labels that are different from the generally used labels (labels to be affixed to products specific to that store).

なお、図13を参照して説明したように、本部で、店舗側でのプリンタ3によるマスタ編集を許可するか否かについて設定を可能とすることは、以下の利点がある。
例えば、小売店によっては、ある時点からすべてのテーブルについて本部で一括管理をするという具合に運用を変更する場合がある。その場合、本部が、すべての店舗でマスタファイルを基にラベルを発行することを希望しても店舗のプリンタ3にマスタ編集ファイルがあるときには、図14のフローチャートに示したようにマスタ編集ファイルが優先して参照され、マスタファイルが参照されない。そこで、店舗側でのプリンタ3によるマスタ編集を許可するか否かについてテーブル単位で設定を本部側で可能とすることで、マスタ編集ファイルがあったとしてもマスタファイル(FormatFilesフォルダ内のデータ)を優先して参照されるように制御することができる。
As explained with reference to FIG. 13, allowing the headquarters to set whether or not to permit master editing by the printer 3 at the store has the following advantages.
For example, some retail stores may change their operations so that, at a certain point, headquarters will centrally manage all tables. In this case, even if headquarters wants all stores to issue labels based on a master file, if a master edit file exists in the store's printer 3, the master edit file will be referenced preferentially, as shown in the flowchart in Figure 14, and the master file will not be referenced. Therefore, by allowing headquarters to set, on a table-by-table basis, whether or not to allow master editing by the printer 3 at the store, it is possible to control the system so that the master file (data in the FormatFiles folder) is referenced preferentially, even if a master edit file exists.

一実施形態では、制御部31は、データ更新タイミングにおいてプリンタ3から削除したフォーマットファイルに対応するマスタ編集ファイルを、ストレージ32から削除する。
データ更新タイミングにおいて、本部が管理するすべての店舗において不要になったフォーマットファイルが削除されることがある。そのような場合、プリンタ3は、サーバ5を経由したPC2からの指示に基づき、ストレージ32に格納されているいずれかのフォーマットファイルを削除する。このとき、削除されるフォーマットファイルと、当該フォーマットファイルを基に作成されたマスタ編集ファイルとは、それぞれ異なるフォルダに格納されているため、フォーマットファイルを削除した後もそのままストレージ32に格納することは可能である。しかし、マスタ編集ファイルが単独で残っても利用できず、ストレージ32の容量を圧迫させるため削除することが好ましい。
In one embodiment, the control unit 31 deletes from the storage 32 the master edit file corresponding to the format file deleted from the printer 3 at the data update timing.
When data is updated, format files that are no longer needed at all stores managed by the headquarters may be deleted. In such cases, the printer 3 deletes one of the format files stored in the storage 32 based on instructions from the PC 2 via the server 5. At this time, the format file to be deleted and the master edit file created based on that format file are stored in different folders, so it is possible to store the format file in the storage 32 as is even after it has been deleted. However, if the master edit file remains on its own, it will be unusable and will take up space in the storage 32, so it is preferable to delete it.

以上説明したように、一実施形態の情報処理システム1によれば、プリンタ3は、サーバ5との間でデータ更新の対象となるマスタファイルと、プリンタ3のユーザによってマスタファイルに対して編集を行うことで作成されたマスタ編集ファイルとを、それぞれストレージ32の異なる記憶領域に記録する。そのため、店舗にとっては、本部との間でのマスタファイルの更新機能は維持しつつ、店舗独自の商品に使用するマスタ編集ファイルがデータ更新時にプリンタ3から削除されることを防止できる。 As described above, in one embodiment of the information processing system 1, the printer 3 records the master file that is the subject of data updates between the printer 3 and the server 5, and the master edit file created by the printer 3 user by editing the master file, in different memory areas of the storage 32. This allows the store to maintain the ability to update the master file between the printer 3 and headquarters, while preventing the master edit file used for the store's unique products from being deleted from the printer 3 when data is updated.

(5)マスタ編集ファイルのバックアップ及びリストア
次に、プリンタ3内のデータのバックアップ及びリストアについて、図15~図19を参照して説明する。
プリンタ3が故障した場合には、例えば、店舗のユーザによって作成されたマスタ編集ファイル(編集済み呼出しテーブル、編集済み漢字テーブル、及び、編集済み店名テーブル)が失われてしまうため、マスタ編集ファイルのバックアップを確実に行うことができるように構成されている。バックアップ方法として、自動バックアップと手動バックアップが用意されている。なお、後述するように、バックアップの対象となるデータは、マスタ編集ファイルに限られない。
以下の説明では、プリンタ3によるバックアップ処理によりバックアップ先のサーバ5又はUSBストレージに記録されるデータを「バックアップデータ」ということがある。
(5) Backing Up and Restoring Master Edit File Next, the backing up and restoring of data in the printer 3 will be described with reference to FIGS.
If the printer 3 breaks down, for example, the master edit files (edited call table, edited kanji table, and edited store name table) created by store users will be lost. Therefore, the system is configured to ensure that the master edit files can be backed up. Backup methods include automatic backup and manual backup. However, as will be described later, the data that can be backed up is not limited to the master edit files.
In the following description, data recorded on the backup destination server 5 or USB storage by the backup process performed by the printer 3 may be referred to as "backup data."

自動バックアップは、定期的に(例えば毎日の所定時刻)、あるいはプリンタ3の起動時にサーバ5にデータを送信、記録することにより、データのバックアップを行うことである。自動バックアップは、ユーザが意識せずに行われるため、ユーザがデータの手動バックアップをし忘れてプリンタ3の復旧に支障が生ずるということを回避できる。 Automatic backup involves backing up data by sending and recording data to the server 5 periodically (for example, at a specified time each day) or when the printer 3 is started. Because automatic backup is performed without the user's knowledge, it is possible to prevent the user from forgetting to manually back up data, which could cause problems with printer 3 recovery.

手動バックアップは、ユーザが自ら操作を行ってプリンタ3内のデータをUSBストレージに記録することにより、データのバックアップを行うことである。
手動バックアップが用意されているのは、以下の理由からである。第1に、サーバ5に接続しないでユーザがプリンタ3を使用する場合に、手動でバックアップできるようにした方がプリンタ3のユーザにとって利便性が良いためである。第2に、プリンタ3の製造会社や代理店のサービスマンが店舗のプリンタ3の故障等の原因調査に来たときに、プリンタ3のデータをUSBストレージにバックアップして持ち帰ることができるようにして、それによって迅速に解決を図ることができるようにするためである。
また、手動バックアップを行うことで、複数のプリンタ3のキッティング作業をUSBストレージを用いて行うことが容易となるという利点もある。例えば1台目のプリンタ3でデータをUSBストレージにバックアップし、USBストレージにバックアップしたデータを用いて2台目のプリンタ3をリストアする、といった作業を繰り返し行うことで多数のプリンタ3の設定を行うキッティング作業の負担が軽減する。
Manual backup is a process in which the user performs an operation to record data in the printer 3 in a USB storage, thereby backing up the data.
Manual backup is provided for the following reasons: First, it is more convenient for the user of the printer 3 to be able to perform manual backups when using the printer 3 without connecting to the server 5. Second, when a serviceman from the manufacturer or distributor of the printer 3 comes to investigate the cause of a malfunction or other problem with the printer 3 at a store, he or she can back up the data on the printer 3 to USB storage and take it home, thereby enabling a quick resolution.
Another advantage of performing manual backup is that it makes it easier to use USB storage to perform kitting work for multiple printers 3. For example, by repeatedly performing tasks such as backing up data to USB storage on the first printer 3 and then using the data backed up on the USB storage to restore data on the second printer 3, the burden of kitting work for setting up multiple printers 3 can be reduced.

後述するように、手動バックアップではバックアップ対象のデータのすべてについてバックアップを行うが、自動バックアップでは、バックアップ対象となるデータが前回のバックアップデータと差分がある場合にバックアップを行う。 As described below, manual backups back up all data that is targeted for backup, while automatic backups only back up data that is targeted for backup if there is a difference between the data targeted for backup and the previous backup data.

なお、データのバックアップ先は、USBストレージやサーバ5に限られず、プリンタ3の内部のストレージ32であってもよい。ストレージ32をデータのバックアップ先とすることで、ユーザが設定変更を誤ったり、マスタファイルを変更してしまったりした場合に容易に復帰することが可能となる。 The data backup destination is not limited to USB storage or the server 5, but may also be the internal storage 32 of the printer 3. By using the storage 32 as the data backup destination, it becomes possible to easily restore data if the user makes a mistake in changing settings or changes the master file.

(5-1)自動バックアップ
次に、自動バックアップについて、図15~図17を参照してさらに説明する。
図15に、プリンタ3での自動バックアップの設定を行う手順を示す。
図15を参照すると、設定に関するプリンタ画面g10において「外部ストレージ連携管理」の項目を選択操作した場合、プリンタ画面g11に切り替わる。次いで、「連携対象データ」の項目を選択すると、プリンタ画面g12が表示され、サーバ5とプリンタ3の間でのデータのダウンロード及びアップロードの詳細を設定することができる。なお、プリンタ画面g12は、プリンタ画面g11の「外部ストレージ連携管理」において「外部ストレージ連携」が有効になっている場合に表示可能となる。
プリンタ画面g12において、「アップロード」の項目では、「[バックアップ]マスタ編集ファイル」及び「[バックアップ]設定情報ファイル」の項目が設けられ、マスタ編集ファイルと設定情報ファイルの自動バックアップをそれぞれ有効とするか無効とするか設定するボタンが設けられる。このボタンを有効とする位置に操作することで、マスタ編集ファイルと設定情報ファイルの自動バックアップを個別に行うことができる。なお、図示しないが、自動バックアップを行うタイミング(例えば毎日の所定時刻)は、ユーザ操作によって設定可能である。
(5-1) Automatic Backup Next, automatic backup will be further explained with reference to FIGS.
FIG. 15 shows the procedure for setting up automatic backup on the printer 3.
15, when the "External Storage Linkage Management" item is selected on the printer screen g10 related to settings, the screen switches to printer screen g11. Next, when the "Linked Data" item is selected, printer screen g12 is displayed, allowing the user to set details of data download and upload between the server 5 and the printer 3. Note that printer screen g12 can be displayed when "External Storage Linkage" is enabled in "External Storage Linkage Management" on the printer screen g11.
On the printer screen g12, the "Upload" item has items for "Backup Master Edit File" and "Backup Settings Information File," and buttons are provided for enabling or disabling automatic backup of the master edit file and the settings information file. By operating these buttons to enable them, automatic backup of the master edit file and the settings information file can be performed separately. Although not shown, the timing of automatic backup (for example, a specified time each day) can be set by user operation.

自動バックアップの対象となるデータは、例えば、フォーマットファイル、マスタ編集ファイル(編集済み呼出しテーブル、編集済み漢字テーブル、編集済み店名テーブル)、及び、設定情報ファイルである。 Data that is automatically backed up includes, for example, format files, master edit files (edited call tables, edited kanji tables, edited store name tables), and setting information files.

図16に、実施形態に係るサーバ5のストレージ52におけるディレクトリの構成例を示す。
図16に示すように、ストレージ52は、FormatFilesフォルダと、Logsフォルダと、BackupFilesフォルダと、Settingsフォルダとを含む。
FormatFilesフォルダは、PC2からアップロードされたフォーマットファイルを含むフォルダである。
Logsフォルダは、プリンタ3からアップロードされた発行履歴ファイルを含むフォルダである。
BackupFilesフォルダは、サーバ5に接続可能なプリンタ3のプリンタID(例えば「0001-SX-5555」)ごとにバックアップされたデータを含むフォルダである。
Settingsフォルダは、設定情報ファイルを含むフォルダである。
FIG. 16 shows an example of the directory configuration in the storage 52 of the server 5 according to the embodiment.
As shown in FIG. 16, the storage 52 includes a FormatFiles folder, a Logs folder, a BackupFiles folder, and a Settings folder.
The FormatFiles folder is a folder that contains the format files uploaded from PC2.
The Logs folder is a folder that contains printing history files uploaded from the printer 3 .
The BackupFiles folder is a folder that contains data that has been backed up for each printer ID (for example, “0001-SX-5555”) of the printer 3 that can be connected to the server 5 .
The Settings folder is a folder that contains setting information files.

図16に示すように、BackupFilesフォルダ内には、特定のプリンタ3について、自動バックアップが行われた時刻を示すフォルダ(YYYYMMDD-hhmmssフォルダ)が自動生成される。例えば、2022年4月25日21時08分38秒に自動バックアップが行われた場合には、自動生成されるフォルダ名は、「20220425-210838」になる。
YYYYMMDD-hhmmssフォルダは、LocalTablesフォルダとSettingsフォルダを有する。LocalTablesフォルダは、フォーマットファイルごとにマスタ編集ファイルがバックアップされたデータを含む。Settingsフォルダは、バックアップされた設定情報ファイルを含む。
16, a folder (YYYYMMDD-hhmmss folder) indicating the time when an automatic backup was performed for a specific printer 3 is automatically generated in the BackupFiles folder. For example, if an automatic backup was performed at 21:08:38 on April 25, 2022, the automatically generated folder name will be "20220425-210838."
The YYYYMMDD-hhmmss folder contains a LocalTables folder and a Settings folder. The LocalTables folder contains data that has been backed up from master edit files for each format file. The Settings folder contains backed up setting information files.

自動バックアップは例えば定期的に行われるが、このときプリンタ3は、LocalTablesフォルダに保存されているマスタ編集ファイルをサーバ5にアップロードする。サーバ5は、前回アップロードされたマスタ編集ファイルと今回アップロードされたマスタ編集ファイルとの差分がある場合、今回アップロードされた時刻を示すフォルダ(YYYYMMDD-hhmmssフォルダ)を生成し、YYYYMMDD-hhmmssフォルダ内に今回アップロードされたマスタ編集ファイルを記録する(図16参照)。 Automatic backups are performed periodically, for example, and at this time the printer 3 uploads the master edit file stored in the LocalTables folder to the server 5. If there is a difference between the master edit file uploaded last time and the master edit file uploaded this time, the server 5 creates a folder indicating the time of the current upload (YYYYMMDD-hhmmss folder) and records the master edit file uploaded this time in the YYYYMMDD-hhmmss folder (see Figure 16).

次に、図17を参照して、情報処理システム1での自動バックアップの処理について説明する。
図17は、情報処理システム1において編集済みテーブルの自動バックアップ処理を行うときのシーケンスチャートである。
Next, automatic backup processing in the information processing system 1 will be described with reference to FIG.
FIG. 17 is a sequence chart showing the sequence when the information processing system 1 performs automatic backup processing of an edited table.

図17のシーケンスチャートには、プリンタ3によるデータ更新の処理も含まれている。すなわち、データ更新のタイミングにおいて、プリンタ3は、データ更新要求をサーバ5に送信する(ステップS38)。サーバ5がデータ更新要求に対して、フォーマットファイルの更新用データ(例えば更新用のマスタファイルを含む)をプリンタ3に送信し(ステップS40)、プリンタ3が更新用データに基づいてデータ更新処理を行う(ステップS42)。データ更新処理では、例えば、更新用データに含まれるマスタファイルにより、ストレージ32に格納されているマスタファイルが上書き更新される。 The sequence chart in Figure 17 also includes the data update process by the printer 3. That is, at the timing of a data update, the printer 3 sends a data update request to the server 5 (step S38). In response to the data update request, the server 5 sends update data for the format file (including, for example, a master file for update) to the printer 3 (step S40), and the printer 3 performs a data update process based on the update data (step S42). In the data update process, for example, the master file stored in the storage 32 is overwritten and updated with the master file included in the update data.

プリンタ3は、予め設定された自動バックアップの時刻になると、ストレージ32に格納されているマスタ編集ファイル及び/又は設定情報ファイルをサーバ5に送信する(ステップS44)。送信されるファイルは、図15のプリンタ画面g12の設定に従う。
サーバ5は、前回(例えば前日)の自動バックアップを行った時点のデータ(マスタ編集ファイル又は設定情報ファイル)とステップS44で受信したデータ(マスタ編集ファイル又は設定情報ファイル)との差分データがあるか判断する(ステップS46)。その結果、両方のファイル又はいずれか一方のファイルに差分があるには、サーバ5は、ステップS44でファイルを受信した時刻に基づいてYYYYMMDD-hhmmssフォルダ(図16参照)を生成し、生成したYYYYMMDD-hhmmssフォルダに、ステップS44で受信したデータ(マスタ編集ファイルと設定情報ファイル)を新たなバックアップデータとして記録する(ステップS48)。ステップS44で受信した設定情報ファイルはそのままYYYYMMDD-hhmmssフォルダに記録される。
一実施形態では、サーバ5は、古いバックアップデータを消去する(ステップS50)。すなわち、古いバックアップデータをいつまでも格納しておくとストレージ52の容量を圧迫するため、古いバックアップデータを順に消去していくことが好ましい。
At the preset automatic backup time, the printer 3 transmits the master edit file and/or the setting information file stored in the storage 32 to the server 5 (step S44). The files to be transmitted are in accordance with the settings on the printer screen g12 in FIG. 15.
The server 5 determines whether there is difference data between the data (master edit file or setting information file) at the time of the previous automatic backup (e.g., the previous day) and the data (master edit file or setting information file) received in step S44 (step S46). If there is a difference between both files or either one of the files, the server 5 creates a YYYYMMDD-hhmmss folder (see FIG. 16) based on the time the files were received in step S44, and records the data received in step S44 (master edit file and setting information file) in the created YYYYMMDD-hhmmss folder as new backup data (step S48). The setting information file received in step S44 is recorded as is in the YYYYMMDD-hhmmss folder.
In one embodiment, the server 5 erases old backup data (step S50). That is, if old backup data is stored indefinitely, it will take up space in the storage 52, so it is preferable to erase old backup data in order.

(5-2)手動バックアップ
次に、手動バックアップについて、図18を参照してさらに説明する。
図18は、プリンタ3において手動バックアップの設定を行う手順を示す図である。なお、図18に示す手順を行う際には、バックアップ先となるUSBストレージがプリンタ3に接続されていることが前提となる。
図18を参照すると、設定に関するプリンタ画面g13において「システム管理」の項目を選択操作した場合、プリンタ画面g14に切り替わる。次いで、「バックアップ・リストア」の項目を選択操作すると、プリンタ画面g15が表示される。ここで、「バックアップ」の項目を選択操作すると、プリンタ画面g16に示すように、バックアップを行う画面が表示される。プリンタ画面g16には、ユーザがコメントを入力するための入力領域301が含まれている。
(5-2) Manual Backup Next, manual backup will be further explained with reference to FIG.
18 is a diagram showing the procedure for setting up a manual backup on the printer 3. Note that when performing the procedure shown in FIG. 18, it is assumed that a USB storage device to be used as the backup destination is connected to the printer 3.
18, when the "System Management" item is selected on the printer screen g13 related to settings, the screen switches to printer screen g14. Next, when the "Backup/Restore" item is selected, printer screen g15 is displayed. Here, when the "Backup" item is selected, a screen for performing backup is displayed as shown in printer screen g16. The printer screen g16 includes an input area 301 where the user can input comments.

入力領域301におけるコメント入力は、プリンタ3をリストアする際に有用である。手動バックアップを複数回行った場合に、各回でバックアップされたデータにコメント(テキスト)を関連付けておく。すなわち、プリンタ3の制御部31は、マスタ編集ファイルのバックアップを行う際にユーザによるテキストの入力を受け付け、入力されたテキストをバックアップ対象のマスタ編集ファイルと関連付ける。それによりユーザは、バックアップデータが複数ある場合に、その中からリストア時に使用するデータをコメントの内容に応じて選択することが可能となる。例えば、コメントとして「〇〇設定後のデータ」と入力しておくことで、リストア時にデータを選択しやすくなる。 Entering a comment in the input area 301 is useful when restoring the printer 3. When manual backups are performed multiple times, a comment (text) can be associated with the data backed up each time. In other words, the control unit 31 of the printer 3 accepts text input by the user when backing up a master edit file, and associates the input text with the master edit file to be backed up. This allows the user, when there is multiple backup data, to select the data to use during restore based on the content of the comment. For example, entering "Data after XX setting" as a comment makes it easier to select data during restore.

手動バックアップの場合も自動バックアップと同様に、バックアップ先のUSBストレージにYYYYMMDD-hhmmssフォルダが生成され、YYYYMMDD-hhmmssフォルダ内にバックアップデータが記録される。その際、生成されたYYYYMMDD-hhmmssフォルダと、入力領域301に入力されたテキストとが関連付けられる。
手動バックアップは、マスタ編集ファイル及び設定情報ファイルに限定されず、すべてのフォルダが対象となる。
In the case of manual backup, as in the case of automatic backup, a YYYYMMDD-hhmmss folder is generated in the backup destination USB storage, and backup data is recorded in the YYYYMMDD-hhmmss folder. At that time, the generated YYYYMMDD-hhmmss folder is associated with the text entered in the input area 301.
Manual backup is not limited to master edit files and setting information files, but covers all folders.

(5-3)リストア
次に、自動バックアップ又は手動バックアップによりバックアップされたデータに基づいて、プリンタ3をリストア(復旧)させるときの手順について、図19を参照して説明する。図19は、プリンタ3においてデータのリストアを行う手順を示している。なお、バックアップデータがUSBストレージに格納されているときには、当該USBストレージがプリンタ3に接続されていることが前提となる。
(5-3) Restoration Next, the procedure for restoring (recovering) the printer 3 based on data backed up by automatic backup or manual backup will be described with reference to Fig. 19. Fig. 19 shows the procedure for restoring data in the printer 3. Note that when the backup data is stored in USB storage, it is assumed that the USB storage is connected to the printer 3.

図19を参照すると、設定に関するプリンタ画面g15において「リストア」の項目を選択操作した場合、プリンタ画面g17に切り替わる。プリンタ画面g17は、リストア対象のプリンタ3を選択するための選択ボタン302と、バックアップデータを選択するための選択ボタン303とをユーザが操作可能に構成される。なお、手動バックアップの安全性を確保するために、プリンタ画面g15(設定画面)は、ユーザのIDとパスワードによる認証が成功した場合に表示されるようにすることが好ましい。 Referring to Figure 19, when the "Restore" item is selected on the printer screen g15 related to settings, the screen switches to printer screen g17. The printer screen g17 is configured so that the user can operate a selection button 302 for selecting the printer 3 to be restored and a selection button 303 for selecting backup data. Note that, to ensure the security of manual backups, it is preferable that the printer screen g15 (settings screen) be displayed only after successful authentication using the user's ID and password.

選択ボタン303では、自動バックアップ先であるサーバ5のYYYYMMDD-hhmmssフォルダの名称、又は、手動バックアップ先であるUSBストレージのYYYYMMDD-hhmmssフォルダの名称及びコメントを示すテキストが選択可能である。
リストア対象のプリンタ3とバックアップデータを選択した後にOKボタンを操作すると、リストアの確認画面としてプリンタ画面g18が表示される。選択ボタン303では、選択されたYYYYMMDD-hhmmssフォルダの名称を、関連付けられたテキスト(例えば「退避」)とともに表示されるため、複数のバックアップデータが存在する場合に、ユーザが所望のバックアップデータを選択しやすい。
プリンタ画面g18には、チェックボックス群304が設けられている。チェックボックス群304により、ユーザは、YYYYMMDD-hhmmssフォルダのうちリストア時に使用するフォルダ(FormatFilesフォルダ、LocalTablesフォルダ、及び、Settingsフォルダの少なくともいずれか)を選択可能である。プリンタ画面g18においてOKボタンを操作すると、リストアが実行される。
The selection button 303 allows the user to select the name of the YYYYMMDD-hhmmss folder on the server 5, which is the automatic backup destination, or the name of the YYYYMMDD-hhmmss folder on the USB storage, which is the manual backup destination, and text indicating a comment.
After selecting the printer 3 and backup data to be restored, pressing the OK button displays the printer screen g18 as a restore confirmation screen. The select button 303 displays the name of the selected YYYYMMDD-hhmmss folder along with associated text (e.g., "Backup"), making it easy for the user to select the desired backup data when multiple backup data exist.
The printer screen g18 has a group of check boxes 304. The group of check boxes 304 allows the user to select a folder (at least one of the FormatFiles folder, LocalTables folder, and Settings folder) to be used during restore from among the YYYYMMDD-hhmmss folders. Operating the OK button on the printer screen g18 executes the restore.

なお、図19において設定に関するプリンタ画面g15には「バックアップ世代設定」の項目が設けられており、この項目を選択操作することで、サーバ5で保存するバックアップデータの世代を設定することができる。世代設定として例えば1~9のいずれかの値を選択できる。すなわち、プリンタ3の制御部31は、サーバ5のストレージ52が記憶するバックアップデータの数の最大値を、ユーザの操作入力に基づいて設定する。この最大値は、例えば自動バックアップ実行時にサーバ5に通知される。
例えば世代設定として「3」が選択されている場合、3回分のバックアップデータが保存されることを意味する。図17のステップS50では、サーバ5は、プリンタ3から取得したバックアップ世代設定の値に基づいて、消去すべきバックアップデータを決定する。すなわち、サーバ5の制御部51は、プリンタ3によって設定された上記最大値に基づいて、ストレージ52に過去に記録されたバックアップデータを削除するデータ削除部として機能する。
バックアップ世代設定は、自動バックアップ及び手動バックアップの両方に対して行うことができる。バックアップ世代設定を行うことで、リストア時に必要とされないほど古いバックアップデータをバックアップ先に記憶しておくことがなくなるため、ストレージ52又はUSBストレージの容量を圧迫させなくて済む。
In addition, the printer screen g15 for settings in FIG. 19 has an item for "Backup Generation Setting," and by selecting this item, the generation of backup data to be saved on the server 5 can be set. For example, any value from 1 to 9 can be selected as the generation setting. That is, the control unit 31 of the printer 3 sets the maximum number of backup data items to be stored in the storage 52 of the server 5 based on the user's input. This maximum value is notified to the server 5, for example, when an automatic backup is executed.
For example, if "3" is selected as the generation setting, this means that three backup data generations will be saved. In step S50 of Fig. 17, the server 5 determines the backup data to be deleted based on the value of the backup generation setting acquired from the printer 3. In other words, the control unit 51 of the server 5 functions as a data deletion unit that deletes backup data previously recorded in the storage 52 based on the maximum value set by the printer 3.
The backup generation setting can be performed for both automatic backups and manual backups. By setting the backup generation, backup data that is too old to be needed at the time of restoration is not stored in the backup destination, which prevents pressure on the capacity of the storage 52 or USB storage.

以上説明したように、一実施形態の情報処理システム1では、プリンタ3は例えば定期的にデータをサーバ5に自動バックアップするとともに、ユーザの必要に応じてユーザ自身の操作を契機としてUSBストレージにデータの手動バックアップを行うため、マスタ編集ファイル等、プリンタにおいて作成したデータのバックアップを確実に行うことができる。その際、自動バックアップでは、プリンタ3における編集によって変更になった場合に限りデータがサーバ5に保存されるため、サーバ5の容量を圧迫しないで済む、手動バックアップは、サーバ5にアクセスできないプリンタ3のユーザがプリンタ3に直接USBストレージを接続してバックアップでき、また、プリンタ3の故障診断を行うときにサービスマンがプリンタ3のデータを吸い上げる際にも便利である。 As described above, in one embodiment of the information processing system 1, the printer 3 automatically backs up data to the server 5 on a regular basis, and can also manually back up data to USB storage in response to a user's own operation as needed, ensuring that data created on the printer, such as master edit files, can be backed up reliably. With automatic backups, data is only saved to the server 5 when changes are made through editing on the printer 3, so the capacity of the server 5 is not strained. With manual backups, users of the printer 3 who cannot access the server 5 can back up data by connecting USB storage directly to the printer 3, and this is also convenient for service personnel to download data from the printer 3 when diagnosing a malfunction of the printer 3.

自動バックアップでは、マスタ編集ファイルを、差分データとしてバックアップしてもよい。すなわち、自動バックアップは例えば定期的に行われるが、このときプリンタ3は、LocalTablesフォルダに保存されているマスタ編集ファイルをサーバ5にアップロードする。サーバ5は、前回アップロードされたマスタ編集ファイルと今回アップロードされたマスタ編集ファイルとの差分を示すデータ(差分データ)を記録する。その際、サーバ5は、今回アップロードされた時刻を示すフォルダ(YYYYMMDD-hhmmssフォルダ)を生成し、YYYYMMDD-hhmmssフォルダ内に差分データを記録する。
図20では、一実施形態に係るサーバ5のストレージ52におけるディレクトリの構成例を示す。図16と異なる点は、バックアップデータとして差分データがストレージ52に格納される点にある。図20では、今回の編集済み呼出しテーブルと前回の編集済み呼出しテーブルの差分を「差分呼出しテーブル」とし、今回の編集済み漢字テーブルと前回の編集済み漢字テーブルの差分を「差分漢字テーブル」とし、今回の編集済み店名テーブルと前回の編集済み店名テーブルの差分を「差分店名テーブル」としている。
マスタファイルはサーバ5において既知であるため、マスタファイルと、毎回自動バックアップされる1又は複数の差分データとに基づいて、後述するリストア時に最新のマスタ編集ファイルを再生することができる。
In automatic backups, the master edit file may be backed up as differential data. That is, automatic backups are performed, for example, periodically, and at these times the printer 3 uploads the master edit file stored in the LocalTables folder to the server 5. The server 5 records data (differential data) indicating the difference between the master edit file uploaded last time and the master edit file uploaded this time. At this time, the server 5 creates a folder (YYYYMMDD-hhmmss folder) indicating the time of the current upload, and records the differential data in the YYYYMMDD-hhmmss folder.
Figure 20 shows an example of the directory configuration in the storage 52 of the server 5 according to one embodiment. What differs from Figure 16 is that differential data is stored in the storage 52 as backup data. In Figure 20, the difference between the current edited call table and the previous edited call table is referred to as the "differential call table," the difference between the current edited kanji table and the previous edited kanji table is referred to as the "differential kanji table," and the difference between the current edited store name table and the previous edited store name table is referred to as the "differential store name table."
Since the master file is already known to the server 5, the latest master edit file can be reproduced at the time of restoration, which will be described later, based on the master file and one or more pieces of differential data that are automatically backed up each time.

図21は、差分データをバックアップするときの自動バックアップ処理を示すシーケンスチャートである。図21において、ステップS38~S44は図17のシーケンスチャートと同じであるため重複説明を省略する。
サーバ5は、マスタ編集ファイルをプリンタ3から受信すると、既にストレージ52にバックアップされている最新のファイルとステップS44で受信したマスタ編集ファイルとの差分データを抽出する(ステップS52)。サーバ5は、ステップS44でファイルを受信した時刻に基づいてYYYYMMDD-hhmmssフォルダ(図20参照)を生成し、生成したYYYYMMDD-hhmmssフォルダに差分データを記録する(ステップS54)。ステップS44で受信した設定情報ファイルはそのままYYYYMMDD-hhmmssフォルダに記録される。
一実施形態では、サーバ5は、古い差分データを消去する(ステップS56)。すなわち、古い差分データをいつまでも格納しておくとストレージ52の容量を圧迫するため、古い差分データを順に消去していくことが好ましい。
Fig. 21 is a sequence chart showing the automatic backup process when backing up differential data. In Fig. 21, steps S38 to S44 are the same as those in the sequence chart of Fig. 17, so a duplicated explanation will be omitted.
When the server 5 receives the master edit file from the printer 3, it extracts the difference data between the latest file already backed up in the storage 52 and the master edit file received in step S44 (step S52). The server 5 creates a YYYYMMDD-hhmmss folder (see FIG. 20) based on the time the file was received in step S44, and records the difference data in the created YYYYMMDD-hhmmss folder (step S54). The setting information file received in step S44 is recorded as is in the YYYYMMDD-hhmmss folder.
In one embodiment, the server 5 erases the old differential data (step S56). That is, if old differential data is stored indefinitely, it will take up space in the storage 52, so it is preferable to erase the old differential data in order.

以上、本発明の情報処理システム、プリンタ、プログラムの一実施形態について詳細に説明したが、本発明は上記の実施形態に限定されない。また、上記の実施形態は、本発明の主旨を逸脱しない範囲において、種々の改良や変更が可能である。 The above provides a detailed description of one embodiment of the information processing system, printer, and program of the present invention, but the present invention is not limited to the above embodiment. Furthermore, the above embodiment can be subject to various improvements and modifications without departing from the spirit and scope of the present invention.

1…情報処理システム
2…コンピュータ装置
21…制御部
22…ストレージ
23…操作入力部
24…表示部
25…LANインタフェース
26…USBインタフェース
3…プリンタ
31…制御部
311…データ更新部
312…データ編集部
313…印字制御部
314…自動バックアップ処理部
315…手動バックアップ処理部
316…バックアップ世代設定部
317…リストア処理部
32…ストレージ
33…操作入力部
34…表示部
35…搬送部
36…印字部
37…LANインタフェース
38…USBインタフェース
5…サーバ
51…制御部
511…データ記録部
512…データ削除部
52…ストレージ
53…通信部
101…指示ボタン群
102…配置設定ボタン群
103…デザインウィンドウ
104…プロジェクト設定部
105…オブジェクトプロパティ設定部
204…出力先選択部
206…発行データ表示部
207…入力ボックス群
211~213…編集許否ボタン
301…入力領域
302,303…選択ボタン
304…チェックボックス群
OBJ1~OBJ4…オブジェクト
SK…ソフトウェアキーボード
TL1…呼出しテーブル定義データ
TL2…呼出しテーブル
TL3…漢字テーブル
TL4…店名テーブル
REFERENCE SIGNS LIST 1... Information processing system 2... Computer device 21... Control unit 22... Storage 23... Operation input unit 24... Display unit 25... LAN interface 26... USB interface 3... Printer 31... Control unit 311... Data update unit 312... Data editing unit 313... Printing control unit 314... Automatic backup processing unit 315... Manual backup processing unit 316... Backup generation setting unit 317... Restore processing unit 32... Storage 33... Operation input unit 34... Display unit 35... Transport unit 36... Printing unit 37... LAN interface 38... USB interface 5... Server 51... Control unit 511... Data recording unit 512... Data deletion unit 52... Storage 53... Communication unit 101... Instruction button group 102... Placement setting button group 103... Design window 104... Project setting unit 105... Object property setting unit 204...Output destination selection section 206...Issuance data display section 207...Input box group 211-213...Edit permission/denial button 301...Input area 302, 303...Selection button 304...Check box group OBJ1-OBJ4...Object SK...Software keyboard TL1...Call table definition data TL2...Call table TL3...Kanji table TL4...Store name table

Claims (10)

情報処理装置と、前記情報処理装置と通信可能なプリンタと、を含む情報処理システムであって、
前記情報処理装置は、
前記プリンタによって印字を行う際のレイアウトを示すレイアウトデータと、前記レイアウトデータに対応付けられ、印字を行う際に参照される参照データと、を記憶する記憶部を備え、
前記プリンタは、
第1記憶領域と第2記憶領域を有する記憶部と、
所定のデータ更新タイミングで、前記情報処理装置から受信する前記レイアウトデータ及び前記参照データにより前記第1記憶領域にあるレイアウトデータ及び参照データを更新するデータ更新部と、
ユーザの操作入力に基づいて前記第1記憶領域にある参照データを編集し、編集後の参照データである編集済みデータを、前記第2記憶領域に記録するデータ編集部と、を備えた、
情報処理システム。
An information processing system including an information processing device and a printer capable of communicating with the information processing device,
The information processing device includes:
a storage unit for storing layout data indicating a layout when printing is performed by the printer, and reference data associated with the layout data and referenced when printing is performed;
The printer
a storage unit having a first storage area and a second storage area;
a data updating unit that updates the layout data and reference data in the first storage area with the layout data and reference data received from the information processing device at a predetermined data update timing;
a data editing unit that edits the reference data in the first storage area based on a user's operation input and records edited data, which is the edited reference data, in the second storage area,
Information processing system.
前記情報処理装置は、前記参照データの編集可否を設定する設定部を備え、
前記データ編集部は、前記参照データの編集可否を示す設定情報を前記情報処理装置から取得し、取得した設定情報が編集不可を示す場合には、前記参照データの編集を許可しない、
請求項1に記載された情報処理システム。
the information processing device includes a setting unit that sets whether the reference data is editable;
the data editing unit acquires setting information indicating whether the reference data is editable from the information processing device, and if the acquired setting information indicates that the reference data is not editable, does not permit editing of the reference data.
2. An information processing system according to claim 1.
前記情報処理装置の記憶部は、複数の前記参照データを記憶し、
前記プリンタの記憶部の第1記憶領域は、複数の前記参照データを記憶し、
前記設定部は、複数の前記参照データの各々について個別に編集可否を設定する、
請求項2に記載された情報処理システム。
a storage unit of the information processing device stores a plurality of the reference data;
a first storage area of the storage unit of the printer stores a plurality of the reference data;
the setting unit individually sets whether or not each of the plurality of reference data is editable,
3. An information processing system according to claim 2.
前記プリンタは、
前記設定部により前記参照データの編集が可と設定されている場合には、前記第2記憶領域にある編集済みデータに基づいて印字を行い、
前記設定部により前記参照データの編集が不可と設定されている場合には、前記第1記憶領域にある参照データに基づいて印字を行う印字制御部を有する、
請求項2又は3に記載された情報処理システム。
The printer
When the setting unit has set that the reference data can be edited, printing is performed based on the edited data in the second storage area;
a print control unit that performs printing based on the reference data in the first storage area when the setting unit has set that editing of the reference data is not allowed;
4. An information processing system according to claim 2 or 3.
前記データ更新部は、前記データ更新タイミングにおいて削除したレイアウトデータに対応する編集済みデータを、前記第2記憶領域から削除する、
請求項1から4のいずれか一項に記載された情報処理システム。
the data updating unit deletes, from the second storage area, edited data corresponding to the layout data deleted at the data update timing;
5. An information processing system according to claim 1.
前記参照データは、前記プリンタによって印字を行う際に参照される印字レイアウト及びテキストを参照するためのデータである、
請求項1から5のいずれか一項に記載された情報処理システム。
The reference data is data for referencing a print layout and text that are referenced when printing by the printer.
6. An information processing system according to claim 1.
前記参照データは、前記レイアウトデータに基づいて印字を行う際にテキストを呼び出すためのデータである、
請求項1から5のいずれか一項に記載された情報処理システム。
The reference data is data for calling up text when printing based on the layout data.
6. An information processing system according to claim 1.
前記参照データは、前記レイアウトデータに基づいて印字を行うプリンタの識別情報を含むデータである、
請求項1から5のいずれか一項に記載された情報処理システム。
The reference data is data including identification information of a printer that performs printing based on the layout data.
6. An information processing system according to claim 1.
情報処理装置と通信可能なプリンタであって、
第1記憶領域と第2記憶領域を有する記憶部と、
所定のデータ更新タイミングで前記情報処理装置から、印字を行う際のレイアウトを示すレイアウトデータと、前記レイアウトデータに対応付けられ、印字を行う際に参照される参照データと、を受信し、受信した前記レイアウトデータ及び前記参照データにより前記第1記憶領域にあるレイアウトデータ及び参照データを更新するデータ更新部と、
ユーザの操作入力に基づいて前記第1記憶領域にある参照データを編集し、編集後の参照データである編集済みデータを、前記第2記憶領域に記録するデータ編集部と、
を備えたプリンタ。
A printer capable of communicating with an information processing device,
a storage unit having a first storage area and a second storage area;
a data update unit that receives, from the information processing device at a predetermined data update timing, layout data indicating a layout when printing and reference data that is associated with the layout data and is referenced when printing, and updates the layout data and reference data in the first storage area using the received layout data and reference data;
a data editing unit that edits the reference data in the first storage area based on a user's operation input and records edited data, which is the edited reference data, in the second storage area;
A printer equipped with
情報処理装置と通信可能なプリンタにおいて実行されるプログラムであって、
前記プリンタは、第1記憶領域と第2記憶領域を有する記憶部を備え、
前記プログラムは、コンピュータを、
所定のデータ更新タイミングで前記情報処理装置から、印字を行う際のレイアウトを示すレイアウトデータと、前記レイアウトデータに対応付けられ、印字を行う際に参照される参照データと、を受信し、受信した前記レイアウトデータ及び前記参照データにより前記第1記憶領域にあるレイアウトデータ及び参照データを更新するデータ更新部、及び、
ユーザの操作入力に基づいて前記第1記憶領域にある参照データを編集し、編集後の参照データである編集済みデータを、前記第2記憶領域に記録するデータ編集部、
として機能させるためのプログラム。
A program executed in a printer capable of communicating with an information processing device,
the printer includes a storage unit having a first storage area and a second storage area;
The program causes a computer to:
a data update unit that receives, from the information processing device at a predetermined data update timing, layout data indicating a layout when printing and reference data that is associated with the layout data and is referenced when printing, and updates the layout data and reference data in the first storage area using the received layout data and reference data; and
a data editing unit that edits the reference data in the first storage area based on a user's operation input and records edited data, which is the edited reference data, in the second storage area;
A program to function as a
JP2022040985A 2022-03-16 2022-03-16 Information processing systems, printers, programs Active JP7821640B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022040985A JP7821640B2 (en) 2022-03-16 2022-03-16 Information processing systems, printers, programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022040985A JP7821640B2 (en) 2022-03-16 2022-03-16 Information processing systems, printers, programs

Publications (2)

Publication Number Publication Date
JP2023135745A JP2023135745A (en) 2023-09-29
JP7821640B2 true JP7821640B2 (en) 2026-02-27

Family

ID=88146017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022040985A Active JP7821640B2 (en) 2022-03-16 2022-03-16 Information processing systems, printers, programs

Country Status (1)

Country Link
JP (1) JP7821640B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178422A (en) 2002-11-28 2004-06-24 Ishida Co Ltd Product ad creation system
JP2005267059A (en) 2004-03-17 2005-09-29 Seiko Epson Corp Network system, portable information input terminal, program, and information output terminal control method
JP2011183599A (en) 2010-03-05 2011-09-22 Toshiba Tec Corp Label printer and program
JP2012190259A (en) 2011-03-10 2012-10-04 Toshiba Corp Print support device, print support program and print support method
JP2016126508A (en) 2014-12-26 2016-07-11 マックス株式会社 Label issuing application, mobile information processing apparatus, and label printer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004178422A (en) 2002-11-28 2004-06-24 Ishida Co Ltd Product ad creation system
JP2005267059A (en) 2004-03-17 2005-09-29 Seiko Epson Corp Network system, portable information input terminal, program, and information output terminal control method
JP2011183599A (en) 2010-03-05 2011-09-22 Toshiba Tec Corp Label printer and program
JP2012190259A (en) 2011-03-10 2012-10-04 Toshiba Corp Print support device, print support program and print support method
JP2016126508A (en) 2014-12-26 2016-07-11 マックス株式会社 Label issuing application, mobile information processing apparatus, and label printer

Also Published As

Publication number Publication date
JP2023135745A (en) 2023-09-29

Similar Documents

Publication Publication Date Title
JP4405691B2 (en) Printing system
US7684066B2 (en) Information processing apparatus and method for controlling printing operations to a plurality of printers, and a program for implementing the control method
JP4224176B2 (en) Image input system
US20070216942A1 (en) Print management system, data management device and data management method
US6477548B1 (en) Server computer capable of automatically notifying updated database content to client computer, and program storage medium
US20090195831A1 (en) Data processing method and printing system
JPH08292961A (en) Document copy relation management system
JP3774684B2 (en) Information processing apparatus, printer setting method of information processing apparatus, program, and recording medium
US7573595B2 (en) Information medium issue system, issue processing method, storage medium of storing computer-readable program, and program
JP7821640B2 (en) Information processing systems, printers, programs
JP2010003127A (en) Document management device, document management system, document management method and computer program
JP2023135746A (en) Information processing systems, printers, programs
JP2004188618A (en) Printing device, program and printer driver
JP3658968B2 (en) DATA OUTPUT DEVICE, DATA OUTPUT METHOD, STORAGE MEDIUM CONTAINING DATA OUTPUT PROGRAM, AND PRINTING DEVICE
JP2009265902A (en) Document management device, document management method, information processing program, and recording medium
JP2021177356A (en) Information processing equipment, control methods and programs for information processing equipment
JP4261551B2 (en) Archive system
JP4272963B2 (en) Order processing system and order processing method
US11474911B2 (en) Information processing apparatus, control method thereof, and storage medium
EP4648398A1 (en) Image processing system, image reading apparatus, image processing program and workflow utilization program with usable settings management
JP2560640B2 (en) Menu management system
JP2001142683A (en) Creating method of program updating medium and installing method of updating program
JP2004355470A (en) Data management device and data management method
JP2000134396A (en) Image editing device and storage medium
JP2006053717A (en) Method for managing setting information of printer driver in print system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20251208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20251209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20260107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260216

R150 Certificate of patent or registration of utility model

Ref document number: 7821640

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150