JP5621627B2 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
JP5621627B2
JP5621627B2 JP2011018610A JP2011018610A JP5621627B2 JP 5621627 B2 JP5621627 B2 JP 5621627B2 JP 2011018610 A JP2011018610 A JP 2011018610A JP 2011018610 A JP2011018610 A JP 2011018610A JP 5621627 B2 JP5621627 B2 JP 5621627B2
Authority
JP
Japan
Prior art keywords
data
content
command
template
print
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
JP2011018610A
Other languages
Japanese (ja)
Other versions
JP2012159971A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2011018610A priority Critical patent/JP5621627B2/en
Publication of JP2012159971A publication Critical patent/JP2012159971A/en
Application granted granted Critical
Publication of JP5621627B2 publication Critical patent/JP5621627B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J3/00Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed
    • B41J3/36Typewriters or selective printing or marking mechanisms characterised by the purpose for which they are constructed for portability, i.e. hand-held printers or laptop printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Printers Characterized By Their Purpose (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Information Transfer Between Computers (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)

Description

本発明は、ウェブサーバ機能を備えた印刷装置に関する。   The present invention relates to a printing apparatus having a web server function.

従来、情報処理装置(例えば、PC)で作成された印刷データに基づいて、印刷媒体(例えば、テープ)に印刷を行うプリンタが知られている。このようなプリンタで印刷を行うためには、各種の専用プログラムは、あらかじめPCにインストールされている必要があった。専用プログラムとしては、テープへの印刷内容を編集するためのアプリケーションプログラムや、印刷データを生成してプリンタに転送するためのドライバプログラムなどが例示される。これらの専用プログラムは、インストール対象となるPCの機種、およびPCに搭載されているオペレーションシステム(OS)の種類などに対応していることが要求される。   2. Description of the Related Art Conventionally, printers that perform printing on a print medium (for example, a tape) based on print data created by an information processing apparatus (for example, a PC) are known. In order to perform printing with such a printer, various dedicated programs must be installed in the PC in advance. Examples of the dedicated program include an application program for editing the print contents on the tape and a driver program for generating print data and transferring it to the printer. These dedicated programs are required to correspond to the type of PC to be installed and the type of operation system (OS) installed in the PC.

また、組み込み型のウェブサーバ機能を備えたプリンタが知られている(例えば、特許文献1参照)。このようなプリンタでは、PCのウェブブラウザ上でプリンタのアドレスが指定されると、ウェブページを生成してPCのウェブブラウザに表示する。ユーザは、PCのウェブブラウザ上で、プリンタのステータス情報を閲覧したり、印刷設定を行ったりすることができる。   Also, a printer having a built-in web server function is known (for example, see Patent Document 1). In such a printer, when the printer address is designated on the PC web browser, a web page is generated and displayed on the PC web browser. The user can browse printer status information and make print settings on a PC web browser.

特開2008−217685号公報JP 2008-217685 A

しかし、プリンタのウェブサーバ機能によってウェブブラウザ上で印刷内容を編集可能にした場合でも、プリンタで使用される印刷データの生成はPC側で実行される。そのため、従来と同様に、PCやOSの機種等に対応したドライバプログラムを、あらかじめPCにインストールしておく必要があった。そのため、最適なドライバプログラムをPCにインストールする手間を生じ、ユーザの利便性を損なうおそれがあった。   However, even when the print contents can be edited on the web browser by the web server function of the printer, the print data used by the printer is generated on the PC side. For this reason, it is necessary to install a driver program corresponding to the PC or OS model in the PC in advance, as in the prior art. For this reason, it takes time to install an optimal driver program on the PC, which may impair user convenience.

本発明は、上記課題を解決するためになされたものであり、専用プログラムを情報処理装置にインストールする手間を省略して、ユーザの利便性を向上させることができる印刷装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is to provide a printing apparatus capable of improving the convenience for a user by omitting the trouble of installing a dedicated program in an information processing apparatus. And

本発明の一態様に係る印刷装置は、ウェブブラウザを備えた情報処理装置と、ネットワークを介して接続可能な印刷装置であって、長尺状のテープが収納され且つ指標部が設けられたカセットが着脱されるカセット装着部であって、前記指標部は前記テープの幅に応じたパターンでスイッチ孔を含む前記カセット装着部と、前記ウェブブラウザによって閲覧可能なウェブページを生成するウェブページ生成手段と、前記ウェブページ生成手段によって生成された前記ウェブページを、前記情報処理装置に送信するウェブページ送信手段と、前記ウェブページ上で編集された印刷内容を示すコンテンツデータを、前記情報処理装置から受信するコンテンツ受信手段と、前記ウェブページ上で入力された印刷に関連するコマンドデータを、前記情報処理装置から受信するコマンド受信手段と、前記カセット装着部に装着されている前記カセットの前記指標部に含まれる前記スイッチ孔のパターンを検出するパターン検出手段と、前記パターン検出手段によって検出された前記スイッチ孔のパターンに基づいて、前記テープの幅を特定するサイズ特定手段と、前記コマンド受信手段によって受信された前記コマンドデータが、印刷開始を指示するコマンドである場合に、前記コンテンツ受信手段によって受信された前記コンテンツデータと、前記サイズ特定手段によって特定された前記テープの幅とに基づいて、前記印刷装置で印刷可能なデータ形式を有する印刷データを生成する印刷データ生成手段と、前記印刷データ生成手段によって生成された前記印刷データに基づいて、前記テープに印刷を行う印刷手段とを備えている。 A printing apparatus according to one aspect of the present invention is an information processing apparatus provided with a web browser and a printing apparatus connectable via a network, in which a long tape is stored and an index unit is provided Is a cassette mounting part to be attached and detached, wherein the indicator part includes the cassette mounting part including a switch hole in a pattern according to the width of the tape, and a web page generating means for generating a web page that can be browsed by the web browser Web page transmission means for transmitting the web page generated by the web page generation means to the information processing apparatus, and content data indicating print contents edited on the web page from the information processing apparatus. Content receiving means for receiving, command data related to printing input on the web page, the information A command receiving means for receiving from the processing apparatus, a pattern detecting means for detecting a pattern of the switch holes that are included in the index portion of the cassette mounted on the cassette mount has been detected by said pattern detecting means and the Received by the content receiving means when the command data received by the command receiving means and the size specifying means for specifying the width of the tape based on the switch hole pattern are commands instructing printing start. Print data generation means for generating print data having a data format that can be printed by the printing device, based on the content data thus obtained and the width of the tape specified by the size specification means, and the print data generation on the basis of the print data generated by the means, the tape And a printing means for printing on.

これによれば、印刷装置で生成されたウェブページが、情報処理装置のウェブブラウザで表示される。情報処理装置では、ウェブブラウザで表示されたウェブページ上で、印刷内容を示すコンテンツデータが編集される。印刷装置では、ウェブページ上で印刷開始を指示するコマンドが入力されると、情報処理装置で編集されたコンテンツデータと印刷装置で特定されたテープの幅とに基づいて印刷データが生成されて、この印刷データに基づいてテープに印刷が行われる。したがって、印刷に関する専用プログラムが情報処理装置にインストールされていなくても、ユーザはウェブページ上でコンテンツデータの編集および印刷を実行できる。ひいては、専用プログラムを情報処理装置にインストールする手間を省略して、ユーザの利便性を向上させることができる。印刷装置で検出されたテープの幅に対応する印刷データが生成されるため、コンテンツデータの印刷サイズを最適化することができる。 According to this, the web page generated by the printing apparatus is displayed by the web browser of the information processing apparatus. In the information processing apparatus, content data indicating print contents is edited on a web page displayed by a web browser. In the printing apparatus, when a command to start printing is input on the web page, print data is generated based on the content data edited by the information processing apparatus and the tape width specified by the printing apparatus , Printing is performed on the tape based on the print data. Therefore, even if a dedicated program for printing is not installed in the information processing apparatus, the user can execute editing and printing of content data on the web page. As a result, the user's convenience can be improved by omitting the trouble of installing the dedicated program in the information processing apparatus. Since print data corresponding to the tape width detected by the printing apparatus is generated, the print size of the content data can be optimized.

上記印刷装置において、前記コンテンツデータは、文字、数字、記号の少なくとも一つを含むキャラクタデータを含み、前記印刷装置で印刷可能なフォントデータを記憶する第一記憶装置から、前記コンテンツ受信手段によって受信された前記コンテンツデータの印刷に適した前記フォントデータを読み出すフォント読出手段を備え、前記印刷データ生成手段は、前記フォント読出手段によって読み出された前記フォントデータに基づいて、前記印刷データを生成してもよい。   In the printing apparatus, the content data includes character data including at least one of a character, a number, and a symbol, and is received by the content receiving unit from a first storage device that stores font data that can be printed by the printing apparatus. Font reading means for reading out the font data suitable for printing the content data, and the print data generating means generates the print data based on the font data read by the font reading means. May be.

この場合、キャラクタデータを含むコンテンツデータが、印刷装置に記憶されているフォントデータに基づいて印刷データに変換される。したがって、印刷装置で印刷可能なフォントデータを情報処理装置に記憶させなくても、コンテンツデータに適したフォントデータで印刷することができる。   In this case, content data including character data is converted into print data based on font data stored in the printing apparatus. Therefore, it is possible to print with font data suitable for the content data without storing font data that can be printed by the printing apparatus in the information processing apparatus.

上記印刷装置において、前記コマンド受信手段によって受信された前記コマンドデータが、前記テープへの印刷態様のプレビューを指示するコマンドである場合に、前記印刷態様を画像化したプレビュー画像を生成するプレビュー画像生成手段を備え、前記ウェブページ生成手段は、前記プレビュー画像生成手段によって前記プレビュー画像が生成された場合に、前記プレビュー画像を閲覧可能に表示する前記ウェブページを生成してもよい。 In the printing apparatus, when the command data received by the command receiving unit is a command for instructing a preview of a print mode on the tape , a preview image generation that generates a preview image in which the print mode is imaged The web page generation unit may generate the web page that displays the preview image so as to be viewable when the preview image is generated by the preview image generation unit.

この場合、ウェブページ上で印刷態様のプレビューが指示された場合、印刷装置で生成されたプレビュー画像を含むウェブページが、ウェブブラウザに表示される。したがって、プレビュー画像を生成するためのプログラムを情報処理装置に記憶させなくても、ユーザはウェブブラウザ上でプレビュー画像を閲覧することができる。   In this case, when a print mode preview is instructed on the web page, a web page including a preview image generated by the printing apparatus is displayed on the web browser. Therefore, the user can view the preview image on the web browser without storing the program for generating the preview image in the information processing apparatus.

上記印刷装置において、前記コマンド受信手段によって受信された前記コマンドデータが、前記コンテンツデータの保存を指示するコマンドである場合に、前記コンテンツ受信手段によって受信された前記コンテンツデータを第二記憶装置に記憶させるコンテンツ記憶手段と、前記コマンド受信手段によって受信された前記コマンドデータが、前記コンテンツデータの読み出しを指示するコマンドである場合に、前記第二記憶装置に記憶されている前記コンテンツデータを読み出すコンテンツ読出手段とを備え、前記ウェブページ生成手段は、前記コンテンツ読出手段によって前記コンテンツデータが読み出された場合に、読み出された前記コンテンツデータを選択可能に表示する前記ウェブページを生成し、前記コンテンツ受信手段は、前記ウェブページ上で選択された前記コンテンツデータを、前記ウェブページ上で編集されたコンテンツデータとして受信してもよい。   In the printing apparatus, when the command data received by the command receiving unit is a command for instructing storage of the content data, the content data received by the content receiving unit is stored in a second storage device. Content reading means for reading out the content data stored in the second storage device when the command data received by the command receiving means is a command for instructing reading of the content data And the web page generating unit generates the web page for selectively displaying the read content data when the content data is read by the content reading unit, and the content The receiving means is the front The content data that has been selected on the web page, may be received as a content data edited on the web page.

この場合、ウェブページ上でコンテンツデータの読み出しが指示された場合、過去に編集および保存されたコンテンツデータが、ウェブページ上で選択可能に表示される。そして、ウェブページ上で選択されたコンテンツデータに基づいて、印刷データが生成される。したがって、ウェブページ上で編集されたコンテンツデータを情報処理装置に保存させなくても、過去に編集されたコンテンツデータを印刷することができる。
上記印刷装置において、前記コンテンツ記憶手段によって前記第二記憶装置に記憶される前記コンテンツデータは、前記キャラクタデータの装飾内容と前記キャラクタデータが挿入される定型書式を示すテンプレートデータとの少なくとも一つを含んでもよい。この場合、過去に編集されたキャラクタデータの装飾内容やテンプレートデータを再現可能なコンテンツデータを保存することができる。
In this case, when reading of content data is instructed on the web page, the content data edited and saved in the past are displayed on the web page so as to be selectable. Then, print data is generated based on the content data selected on the web page. Therefore, the content data edited in the past can be printed without storing the content data edited on the web page in the information processing apparatus.
In the printing apparatus, the content data stored in the second storage device by the content storage means includes at least one of decoration contents of the character data and template data indicating a fixed format into which the character data is inserted. May be included. In this case, it is possible to store content data that can reproduce the decoration content and template data of character data edited in the past.

上記印刷装置において、前記コマンド受信手段によって受信された前記コマンドデータが、前記キャラクタデータの装飾内容を指示するコマンドである場合に、前記コンテンツ受信手段によって受信された前記コンテンツデータに前記装飾内容を設定するコンテンツ装飾設定手段を備え、前記印刷データ生成手段は、前記コンテンツ装飾設定手段によって前記装飾内容が設定された前記コンテンツデータに基づいて、前記印刷データを生成してもよい。 In the printing apparatus, when the command data received by the command receiving unit is a command indicating the decoration content of the character data , the decoration content is set in the content data received by the content receiving unit. The content decoration setting means may be provided, and the print data generation means may generate the print data based on the content data in which the decoration content is set by the content decoration setting means.

この場合、ウェブページ上でキャラクタデータの装飾内容が指示された場合、その装飾内容がコンテンツデータに設定される。そして、装飾内容が設定されたコンテンツデータに基づいて、印刷データが生成される。したがって、キャラクタデータを装飾するためのプログラムを情報処理装置に記憶させなくても、キャラクタデータを自由に装飾することができる。 In this case, when the decoration content of the character data is instructed on the web page, the decoration content is set in the content data. Then, print data is generated based on the content data in which the decoration content is set. Thus, even without storing a program for decorating the character data to the information processing apparatus can freely decorate the character data.

上記印刷装置において、前記コンテンツデータは、前記キャラクタデータが挿入される定型書式を示すテンプレートデータを含み、前記コマンド受信手段によって受信された前記コマンドデータが、前記テンプレートデータを要求するコマンドである場合に、第三記憶装置に記憶されている前記テンプレートデータを読み出すテンプレート読出手段を備え、前記ウェブページ生成手段は、前記テンプレート読出手段によって前記テンプレートデータが読み出された場合に、読み出された前記テンプレートデータを選択可能に表示する前記ウェブページを生成し、前記印刷データ生成手段は、前記ウェブページ上で選択された前記テンプレートデータに前記キャラクタデータが挿入された前記コンテンツデータに基づいて、前記印刷データを生成してもよい。   In the printing apparatus, when the content data includes template data indicating a fixed format into which the character data is inserted, and the command data received by the command receiving unit is a command requesting the template data. A template reading means for reading the template data stored in the third storage device, wherein the web page generating means reads the template read when the template data is read by the template reading means. Generating the web page to display data selectably, the print data generating means, based on the content data in which the character data is inserted into the template data selected on the web page, the print data Raw It may be.

この場合、ウェブページ上でテンプレートデータの読み出しが指示された場合、テンプレートデータがウェブページ上で選択可能に表示される。そして、ウェブページ上で選択されたテンプレートデータにキャラクタデータが挿入されたコンテンツデータに基づいて、印刷データが生成される。したがって、テンプレートデータを情報処理装置に保存させなくても、テンプレートデータにキャラクタデータが挿入されたコンテンツデータを印刷することができる。   In this case, when reading of template data is instructed on the web page, the template data is displayed so as to be selectable on the web page. Then, print data is generated based on the content data in which the character data is inserted into the template data selected on the web page. Therefore, content data in which character data is inserted into template data can be printed without storing the template data in the information processing apparatus.

印刷装置20およびテープカセット30の外観図である。1 is an external view of a printing apparatus 20 and a tape cassette 30. FIG. テープカセット30の斜視図である。2 is a perspective view of a tape cassette 30. FIG. 印刷システム1の電気的構成を示すブロック図である。1 is a block diagram showing an electrical configuration of a printing system 1. FIG. PC10のブラウザ処理のフローチャートである。It is a flowchart of the browser process of PC10. 編集ページ100の具体例である。This is a specific example of the edit page 100. 他画面ブラウザ処理のフローチャートである。It is a flowchart of other screen browser processing. プレビューページ110の具体例である。This is a specific example of the preview page 110. メモリーページブラウザ処理のフローチャートである。It is a flowchart of a memory page browser process. メモリーページ120の具体例である。This is a specific example of the memory page 120. テンプレートページブラウザ処理のフローチャートである。It is a flowchart of a template page browser process. テンプレートページ130の具体例である。This is a specific example of the template page 130. 印刷装置20のサーバ処理のフローチャートである。4 is a flowchart of server processing of the printing apparatus 20. 他画面サーバ処理のフローチャートである。It is a flowchart of other screen server processing. メモリーページサーバ処理のフローチャートである。It is a flowchart of a memory page server process. テンプレートページサーバ処理のフローチャートである。It is a flowchart of a template page server process. 変形例に係る、PC10のブラウザ処理のフローチャートである。It is a flowchart of the browser process of PC10 based on a modification. 変形例に係る、印刷装置20のサーバ処理のフローチャートである。It is a flowchart of the server process of the printing apparatus 20 based on a modification.

以下、本発明を具体化した実施の形態について、図面を参照して説明する。なお、参照する図面は、本発明が採用しうる技術的特徴を説明するために用いられるものであり、記載されている装置の構成などは、それのみに限定する趣旨ではなく、単なる説明例である。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments embodying the present invention will be described below with reference to the drawings. Note that the drawings to be referred to are used for explaining the technical features that can be adopted by the present invention, and the configuration of the described apparatus is not intended to be limited thereto, but is merely an illustrative example. is there.

図1および図2を参照して、本実施形態に係る印刷装置20およびテープカセット30の概略構成について説明する。図1に示すように、印刷装置20は、長尺状のテープに印刷を行って貼付可能なラベルを作成するテーププリンタである。印刷装置20は、ネットワークに接続可能なタイプであり、キーボードやディスプレイを備えていない。   A schematic configuration of the printing apparatus 20 and the tape cassette 30 according to this embodiment will be described with reference to FIGS. 1 and 2. As shown in FIG. 1, the printing apparatus 20 is a tape printer that creates a label that can be pasted by printing on a long tape. The printing apparatus 20 is a type that can be connected to a network, and does not include a keyboard or a display.

印刷装置20は、箱状の筐体である本体部51を備える。本体部51の上面には、テープカセット30が着脱される領域であるカセット装着部52を開閉するためのカバー53が設けられている。本体部51の側面には、印刷済みのテープを外部に排出するための排出スリット54が設けられている。カセット装着部52からみて排出スリット54の手前には、印刷済みのテープを所定位置で切断するカット機構55が設けられている。   The printing apparatus 20 includes a main body 51 that is a box-shaped housing. On the upper surface of the main body 51, a cover 53 is provided for opening and closing a cassette mounting portion 52, which is an area where the tape cassette 30 is attached and detached. A discharge slit 54 for discharging the printed tape to the outside is provided on the side surface of the main body 51. A cut mechanism 55 that cuts the printed tape at a predetermined position is provided in front of the discharge slit 54 as viewed from the cassette mounting portion 52.

カセット装着部52には、印刷ヘッド(図示外)を搭載したヘッドホルダ61、後述のテープ駆動ローラ32(図2参照)を回転させるテープ駆動軸62、後述のリボン巻取スプール33(図2参照)を回転させるリボン巻取軸63などが設けられている。ヘッドホルダ61に対向して、アーム状のプラテンホルダ64が回動可能に軸支されている。プラテンホルダ64には、プラテンローラ65および可動搬送ローラ66が回転可能に軸支されている。さらに、プラテンホルダ64には、テープカセット30に収納されているテープの種類を検出する媒体センサ26(図3参照)が設けられている。本実施形態では、少なくともテープのサイズ(詳細には、テープ幅)が、テープの種類として検出される。   The cassette mounting portion 52 includes a head holder 61 on which a print head (not shown) is mounted, a tape drive shaft 62 that rotates a tape drive roller 32 (see FIG. 2) described later, and a ribbon take-up spool 33 (see FIG. 2) described later. Ribbon take-up shaft 63 and the like are provided. Opposing to the head holder 61, an arm-shaped platen holder 64 is pivotally supported. A platen roller 65 and a movable conveyance roller 66 are rotatably supported on the platen holder 64. Further, the platen holder 64 is provided with a medium sensor 26 (see FIG. 3) that detects the type of tape stored in the tape cassette 30. In the present embodiment, at least the size of the tape (specifically, the tape width) is detected as the type of tape.

図2に示すように、テープカセット30は、いわゆるラミネートタイプであり、カセットケース31内に透明なフィルムテープ41、インクリボン42、両面粘着テープ43が収納されている。両面粘着テープ43は一面に剥離紙が貼着された両面テープであり、印刷済みのフィルムテープ41の印刷面側に貼り合わされる。カセットケース31内には、両面粘着テープ43を搬送するためのテープ駆動ローラ32や、使用済みのインクリボン42を巻き取るためのリボン巻取スプール33が、回転自在に配置されている。カセットケース31を上下方向に貫通するように形成された空間は、ヘッド挿入部34である。テープカセット30の前面には、テープの種類(本実施形態では、テープ幅)に応じたパターンでスイッチ孔が形成された指標部35が設けられている。   As shown in FIG. 2, the tape cassette 30 is a so-called laminate type, and a transparent film tape 41, an ink ribbon 42, and a double-sided adhesive tape 43 are accommodated in a cassette case 31. The double-sided pressure-sensitive adhesive tape 43 is a double-sided tape having a release paper attached on one side, and is attached to the printed surface side of the printed film tape 41. Inside the cassette case 31, a tape drive roller 32 for conveying the double-sided adhesive tape 43 and a ribbon take-up spool 33 for taking up the used ink ribbon 42 are rotatably arranged. A space formed so as to penetrate the cassette case 31 in the vertical direction is a head insertion portion 34. The front surface of the tape cassette 30 is provided with an indicator portion 35 in which switch holes are formed in a pattern corresponding to the type of tape (the tape width in the present embodiment).

図1および図2に示すように、テープカセット30がカセット装着部52に装着されると、ヘッドホルダ61、テープ駆動軸62、リボン巻取軸63が、それぞれ、ヘッド挿入部34、テープ駆動ローラ32、リボン巻取スプール33にそれぞれ挿入される。この状態でカバー53が閉じられると、プラテンホルダ64がヘッドホルダ61に向けて回動する。これにより、プラテンローラ65、可動搬送ローラ66、媒体センサ26(図3参照)が、それぞれ、印刷ヘッド(図示外)、テープ駆動ローラ32、指標部35に対して付勢される。このとき、媒体センサ26によって、指標部35におけるスイッチ孔の形成パターンが検出される。印刷装置20は、媒体センサ26の検出パターンに基づいて、テープの種類(本実施形態では、テープ幅)を特定する。   As shown in FIGS. 1 and 2, when the tape cassette 30 is mounted on the cassette mounting portion 52, the head holder 61, the tape drive shaft 62, and the ribbon take-up shaft 63 are respectively connected to the head insertion portion 34 and the tape drive roller. 32 and ribbon take-up spool 33, respectively. When the cover 53 is closed in this state, the platen holder 64 rotates toward the head holder 61. As a result, the platen roller 65, the movable conveyance roller 66, and the medium sensor 26 (see FIG. 3) are urged against the print head (not shown), the tape drive roller 32, and the index unit 35, respectively. At this time, the medium sensor 26 detects the formation pattern of the switch holes in the indicator portion 35. The printing apparatus 20 specifies the type of tape (in this embodiment, the tape width) based on the detection pattern of the medium sensor 26.

印刷装置20における印刷実行時には、テープ駆動軸62を介して回転駆動されるテープ駆動ローラ32が、可動搬送ローラ66との協働によって、未使用のフィルムテープ41を引き出す。リボン巻取軸63を介して回転駆動されるリボン巻取スプール33が、印刷スピードと同期して、未使用のインクリボン42を引き出す。引き出されたフィルムテープ41およびインクリボン42は、搬送経路上で重ね合わされて、印刷ヘッド(図示外)とプラテンローラ65との間に搬送される。このとき、印刷ヘッド(図示外)は、インクリボン42を使用して、フィルムテープ41の印刷面に対して後述のコンテンツデータを印刷する。   When printing is performed in the printing apparatus 20, the tape drive roller 32 that is rotationally driven via the tape drive shaft 62 pulls out the unused film tape 41 in cooperation with the movable conveyance roller 66. The ribbon take-up spool 33 that is rotationally driven via the ribbon take-up shaft 63 pulls out the unused ink ribbon 42 in synchronization with the printing speed. The drawn film tape 41 and the ink ribbon 42 are superimposed on the transport path and transported between the print head (not shown) and the platen roller 65. At this time, the print head (not shown) uses the ink ribbon 42 to print content data to be described later on the print surface of the film tape 41.

その後、使用済みのインクリボン42は、印刷済みのフィルムテープ41から剥がされ、リボン巻取スプール33に巻き取られる。一方、テープ駆動ローラ32と可動搬送ローラ66との協働によって、未使用の両面粘着テープ43が引き出される。両面粘着テープ43は、テープ駆動ローラ32と可動搬送ローラ66との間にガイドされて巻き込まれながら、印刷済みのフィルムテープ41の印刷面に重ねられて貼着される。両面粘着テープ43が貼着された印刷済みのフィルムテープ41(つまり、印刷済テープ49)は、カット機構55によって切断されたのち、排出スリット54から排出される。これにより、コンテンツデータが印刷された貼付可能なラベルが作成される。   Thereafter, the used ink ribbon 42 is peeled off from the printed film tape 41 and taken up on the ribbon take-up spool 33. On the other hand, the unused double-sided adhesive tape 43 is pulled out by the cooperation of the tape driving roller 32 and the movable conveying roller 66. The double-sided adhesive tape 43 is overlapped and adhered to the printed surface of the printed film tape 41 while being guided and wound between the tape driving roller 32 and the movable conveying roller 66. The printed film tape 41 (that is, the printed tape 49) to which the double-sided adhesive tape 43 is attached is cut by the cutting mechanism 55 and then discharged from the discharge slit 54. As a result, an attachable label on which the content data is printed is created.

図3を参照して、本実施形態に係る印刷装置20の電気的構成、および印刷システム1の構成について説明する。本実施形態の印刷システム1は、パーソナルコンピュータ(以下、PC)10と印刷装置20とが、インターネット6を介して接続された構成を有する。印刷システム1では、ユーザがPC10のウェブブラウザ上でコンテンツデータを編集すると、印刷装置20でコンテンツデータが印刷されたラベルが作成される。コンテンツデータは、印刷媒体に印刷される内容を示すデータである。本実施形態のコンテンツデータは、文字、数字、記号の少なくとも一つを含むキャラクタデータや、キャラクタデータが挿入される定型書式を示すテンプレートデータ等を含む。   With reference to FIG. 3, the electrical configuration of the printing apparatus 20 according to the present embodiment and the configuration of the printing system 1 will be described. The printing system 1 according to the present embodiment has a configuration in which a personal computer (hereinafter referred to as a PC) 10 and a printing apparatus 20 are connected via the Internet 6. In the printing system 1, when the user edits the content data on the web browser of the PC 10, a label on which the content data is printed is created by the printing device 20. The content data is data indicating the content to be printed on the print medium. The content data of the present embodiment includes character data including at least one of letters, numbers, and symbols, template data indicating a fixed format in which character data is inserted, and the like.

PC10は、汎用のパーソナルコンピュータと同様の構成であり、CPU11、ROM12、RAM13、HDD14、操作部15、表示部16、通信インタフェイス(I/F)17などを備える。PC10は、通信I/F17を介してインターネット6に接続されている。HDD14には、少なくとも公知のウェブブラウザが記憶されている。ユーザは操作部15を使用することで、表示部16に表示されるウェブブラウザ上で各種操作が可能である。   The PC 10 has the same configuration as a general-purpose personal computer, and includes a CPU 11, a ROM 12, a RAM 13, an HDD 14, an operation unit 15, a display unit 16, a communication interface (I / F) 17, and the like. The PC 10 is connected to the Internet 6 via the communication I / F 17. The HDD 14 stores at least a known web browser. The user can perform various operations on the web browser displayed on the display unit 16 by using the operation unit 15.

印刷装置20は、CPU21、ROM22、RAM23、EEPROM24、印刷部25、媒体センサ26、通信インタフェイス(I/F)27などを備える。ROM22には、後述するウェブサーバ機能を実現するためのプログラム、印刷装置20で使用可能な印刷データを生成するためのプリンタドライバ、印刷動作を制御するためのプログラム、およびこれらのプログラムに必要な制御データなどが記憶されている。また、印刷装置20で印刷可能な複数種類のフォントデータも、ROM22に記憶されている。印刷データは、印刷対象のコンテンツデータを印刷部25で印刷可能なデータ形式に変換したデータである。   The printing apparatus 20 includes a CPU 21, a ROM 22, a RAM 23, an EEPROM 24, a printing unit 25, a medium sensor 26, a communication interface (I / F) 27, and the like. The ROM 22 includes a program for realizing a web server function to be described later, a printer driver for generating print data that can be used by the printing apparatus 20, a program for controlling a printing operation, and controls necessary for these programs. Data is stored. A plurality of types of font data that can be printed by the printing apparatus 20 are also stored in the ROM 22. The print data is data obtained by converting content data to be printed into a data format that can be printed by the printing unit 25.

EEPROM24には、先述のテンプレートデータがあらかじめ記憶されており、また後述のテキストをそれぞれ記憶するための複数の記憶領域が設けられている。RAM23には、PC10との間で送受信されるデータや、印刷部25に出力される印刷データなどが一時記憶される。印刷部25は、印刷装置20で印刷媒体の搬送および印刷を行う機構であり、先述の印刷ヘッド(図示外)、テープ駆動軸62、リボン巻取軸63などを含む。PC10は、通信I/F27を介してインターネット6に接続されている。   In the EEPROM 24, the above-described template data is stored in advance, and a plurality of storage areas for storing texts to be described later are provided. The RAM 23 temporarily stores data transmitted to and received from the PC 10, print data output to the printing unit 25, and the like. The printing unit 25 is a mechanism that transports and prints the print medium in the printing apparatus 20, and includes the above-described print head (not shown), the tape drive shaft 62, the ribbon winding shaft 63, and the like. The PC 10 is connected to the Internet 6 via the communication I / F 27.

以下では、印刷システム1で実行される処理を説明する。印刷システム1では、PC10および印刷装置20において、以下に説明する処理がそれぞれ実行される。   Hereinafter, processing executed in the printing system 1 will be described. In the printing system 1, the processes described below are executed in the PC 10 and the printing apparatus 20, respectively.

図4〜図11を参照して、PC10のブラウザ処理について説明する。本処理は、PC10でウェブブラウザが起動されて表示部16(図3参照)に表示され、印刷装置20に固有のIPアドレスへの接続が指示された場合に、CPU11(図3参照)によって実行される。   The browser processing of the PC 10 will be described with reference to FIGS. This processing is executed by the CPU 11 (see FIG. 3) when a web browser is activated on the PC 10 and displayed on the display unit 16 (see FIG. 3), and the printer 20 is instructed to connect to a unique IP address. Is done.

図4に示すように、PC10のブラウザ処理では、まず編集ページを要求するコマンドである編集ページリクエスト(以下、編集ページRQという。)が、印刷装置20に送信される(S1)。ステップS1の実行後、印刷装置20から編集ページが受信される(S3)。ステップS3で受信された編集ページが、表示部16のウェブブラウザ上に表示される(S5)。   As shown in FIG. 4, in the browser processing of the PC 10, first, an edit page request (hereinafter referred to as an edit page RQ) that is a command for requesting an edit page is transmitted to the printing apparatus 20 (S1). After execution of step S1, an edit page is received from the printing apparatus 20 (S3). The edit page received in step S3 is displayed on the web browser of the display unit 16 (S5).

本実施形態では、図5に例示する編集ページ100が、ウェブブラウザ上に表示される。編集ページ100は、コンテンツデータを編集するためのウェブページであり、テキスト入力部101、装飾ボタン102、印刷ボタン103、画面遷移ボタン104を含む。テキスト入力部101は、テキスト(つまり、一又は複数のキャラクタデータ)を入力可能な領域である。装飾ボタン102は、テキスト入力部101に入力されたテキストに設定する装飾内容(例えば、キャラクタの太字化、傾斜化、下線付与など)を指示するためのボタンである。印刷ボタン103は、編集ページ100で編集されたコンテンツデータの印刷実行を指示するためのボタンである。   In the present embodiment, the edit page 100 illustrated in FIG. 5 is displayed on the web browser. The edit page 100 is a web page for editing content data, and includes a text input unit 101, a decoration button 102, a print button 103, and a screen transition button 104. The text input unit 101 is an area in which text (that is, one or a plurality of character data) can be input. The decoration button 102 is a button for instructing decoration contents (for example, bolding, slanting, underlining, etc.) of the character set in the text input to the text input unit 101. The print button 103 is a button for instructing execution of printing of content data edited on the edit page 100.

画面遷移ボタン104は、編集ページ100から他のウェブページに遷移することを指示するためのボタンである。画面遷移ボタン104は、後述のプレビューページに遷移するためのプレビューボタン105、後述のメモリーページに遷移するためのメモリーボタン106、後述のテンプレートページに遷移するためのテンプレートボタン107を含む。なお、図5に示す例では、テンプレートボタン107に、既に選択されているテンプレートのキー値(図5では、「2」)が表示されている。   The screen transition button 104 is a button for instructing transition from the edit page 100 to another web page. The screen transition button 104 includes a preview button 105 for transitioning to a preview page described later, a memory button 106 for transitioning to a memory page described later, and a template button 107 for transitioning to a template page described later. In the example shown in FIG. 5, the key value (“2” in FIG. 5) of the already selected template is displayed on the template button 107.

図4に戻る。以下では、ウェブブラウザ上に表示された編集ページ100(図5)を参照しながら、各処理を説明する。まず装飾ボタン102が入力されたか否かが判定される(S7)。装飾ボタン102が入力された場合(S7:YES)、入力された装飾ボタン102に対応する装飾内容の設定を要求するコマンドである装飾リクエスト(以下、装飾RQという。)が、印刷装置20に送信される(S9)。例えば、ユーザが「太字」の装飾ボタン102をクリックした場合、装飾内容「太字」の設定を要求する装飾RQが送信される。   Returning to FIG. Below, each process is demonstrated, referring the edit page 100 (FIG. 5) displayed on the web browser. First, it is determined whether or not the decoration button 102 has been input (S7). When the decoration button 102 is input (S7: YES), a decoration request (hereinafter referred to as decoration RQ) that is a command for requesting setting of the decoration content corresponding to the input decoration button 102 is transmitted to the printing apparatus 20. (S9). For example, when the user clicks the “bold” decoration button 102, a decoration RQ requesting the setting of the decoration content “bold” is transmitted.

装飾ボタン102が入力されなかった場合(S7:NO)、印刷ボタン103が入力されたか否かが判定される(S11)。印刷ボタン103が入力された場合(S11:YES)、編集ページ100で編集されたコンテンツデータの印刷実行を要求するコマンドである印刷リクエスト(以下、印刷RQという。)が、印刷装置20に送信される(S13)。印刷ボタン103が入力されなかった場合(S11:NO)、テキスト入力部101にテキストが入力されたか否かが判定される(S15)。テキスト入力部101にテキストが入力された場合(S15:YES)、入力されたテキスト(つまり、キャラクタデータ)が、印刷装置20に送信される(S17)。   When the decoration button 102 is not input (S7: NO), it is determined whether the print button 103 is input (S11). When the print button 103 is input (S11: YES), a print request (hereinafter referred to as “print RQ”), which is a command for requesting printing of the content data edited on the edit page 100, is transmitted to the printing apparatus 20. (S13). When the print button 103 is not input (S11: NO), it is determined whether or not text is input to the text input unit 101 (S15). When text is input to the text input unit 101 (S15: YES), the input text (that is, character data) is transmitted to the printing apparatus 20 (S17).

テキスト入力部101にテキストが入力されなかった場合(S15:NO)、画面遷移ボタン104(つまり、プレビューボタン105、メモリーボタン106、テンプレートボタン107のいずれか)が入力されたか否かが判定される(S19)。画面遷移ボタン104が入力された場合(S19:YES)、後述の他画面ブラウザ処理が実行される(S21)。画面遷移ボタン104が入力されなかった場合(S19:NO)、編集ページが受信されたか否かが判断される(S23)。編集ページが受信された場合(S23:YES)、受信された編集ページがウェブブラウザ上に表示される(S25)。編集ページが受信されなかた場合(S23:NO)、ユーザが編集ページ100で行った操作に応じたその他の処理(例えば、印刷装置20の機能設定等)が実行される(S27)。ステップS9、S13、S17、S21、S25、S27のいずれかの実行後、処理はステップS7に戻る。   When no text is input to the text input unit 101 (S15: NO), it is determined whether or not the screen transition button 104 (that is, any one of the preview button 105, the memory button 106, and the template button 107) is input. (S19). When the screen transition button 104 is input (S19: YES), other screen browser processing described later is executed (S21). When the screen transition button 104 has not been input (S19: NO), it is determined whether an edit page has been received (S23). When the edit page is received (S23: YES), the received edit page is displayed on the web browser (S25). If the edit page has not been received (S23: NO), other processing (for example, function setting of the printing apparatus 20) according to the operation performed by the user on the edit page 100 is executed (S27). After executing any of steps S9, S13, S17, S21, S25, and S27, the process returns to step S7.

図6に示すように、他画面ブラウザ処理(S21)では、まず入力された画面遷移ボタン104がプレビューボタン105であるか否かが判定される(S31)。プレビューボタン105が入力された場合(S31:YES)、プレビューページを要求するコマンドであるプレビューページリクエスト(以下、プレビューページRQという。)が、印刷装置20に送信される(S33)。ステップS33の実行後、印刷装置20からプレビューページが受信される(S35)。ステップS35で受信されたプレビューページが、表示部16のウェブブラウザ上に表示される(S37)。   As shown in FIG. 6, in the other screen browser process (S21), it is first determined whether or not the input screen transition button 104 is the preview button 105 (S31). When the preview button 105 is input (S31: YES), a preview page request (hereinafter referred to as a preview page RQ) that is a command for requesting a preview page is transmitted to the printing apparatus 20 (S33). After execution of step S33, a preview page is received from the printing apparatus 20 (S35). The preview page received in step S35 is displayed on the web browser of the display unit 16 (S37).

本実施形態では、図7に例示するプレビューページ110が、ウェブブラウザ上に表示される。プレビューページ110は、編集ページ100で編集されたコンテンツデータに基づいて印刷媒体上に印刷される内容(つまり、印刷態様)を閲覧するためのウェブページであり、プレビュー画像111および戻るボタン112を含む。プレビュー画像111は、編集ページ100で編集されたコンテンツデータの印刷態様を画像化したものである。戻るボタン112は、元の編集ページ100に遷移することを指示するためのボタンである。図7に示す例では、図5に示す編集ページ100で編集されたコンテンツデータの印刷態様が表示されている。具体的には、プレビュー画像111は、テキスト入力部101に入力されたテキスト「Thank You」がテンプレートデータ「2」に挿入されたコンテンツデータの印刷態様を示している。   In the present embodiment, the preview page 110 illustrated in FIG. 7 is displayed on the web browser. The preview page 110 is a web page for browsing the content printed on the print medium based on the content data edited on the edit page 100 (that is, the printing mode), and includes a preview image 111 and a return button 112. . The preview image 111 is an image of the printing mode of the content data edited on the editing page 100. The return button 112 is a button for instructing transition to the original editing page 100. In the example shown in FIG. 7, the print mode of the content data edited on the edit page 100 shown in FIG. 5 is displayed. Specifically, the preview image 111 shows a printing mode of content data in which the text “Thank You” input to the text input unit 101 is inserted into the template data “2”.

図6に戻る。ウェブブラウザ上に表示されたプレビューページ110(図7)で、戻るボタン112が入力されたか否かが判定される(S39)。戻るボタン112が入力されない場合(S39:NO)、ステップS39が繰り返し実行される。そして、戻るボタン112が入力された場合(S39:YES)、編集ページ100への復帰を要求するコマンドである戻るリクエスト(以下、戻るRQという。)が、印刷装置20に送信される(S41)。   Returning to FIG. It is determined whether or not the return button 112 is input on the preview page 110 (FIG. 7) displayed on the web browser (S39). When the return button 112 is not input (S39: NO), step S39 is repeatedly executed. When the return button 112 is input (S39: YES), a return request (hereinafter referred to as a return RQ) that is a command requesting return to the edit page 100 is transmitted to the printing apparatus 20 (S41). .

ステップS31において、プレビューボタン105が入力されなかった場合(S31:NO)、入力された画面遷移ボタン104がメモリーボタン106であるか否かが判定される(S43)。メモリーボタン106が入力された場合(S43:YES)、後述のメモリーページブラウザ処理が実行される(S45)。メモリーボタン106が入力されなかった場合(S43:NO)、入力された画面遷移ボタン104がテンプレートボタン107であると判定されて、後述のテンプレートページブラウザ処理が実行される(S47)。   If the preview button 105 is not input in step S31 (S31: NO), it is determined whether or not the input screen transition button 104 is the memory button 106 (S43). When the memory button 106 is input (S43: YES), a memory page browser process described later is executed (S45). When the memory button 106 is not input (S43: NO), it is determined that the input screen transition button 104 is the template button 107, and a template page browser process described later is executed (S47).

ステップS45またはS47の実行後も、戻るRQが送信される(S41)。ステップS41の実行後、処理はブラウザ処理(図4)に戻る。なお、ステップS41で戻るRQが送信されると、印刷装置20から編集ページ100が受信されてウェブブラウザに表示される(S23:YES、S25)。これにより、ウェブブラウザの表示内容は、編集ページ100に復帰する。   Even after execution of step S45 or S47, a return RQ is transmitted (S41). After execution of step S41, the process returns to the browser process (FIG. 4). When the RQ returned in step S41 is transmitted, the editing page 100 is received from the printing apparatus 20 and displayed on the web browser (S23: YES, S25). Thereby, the display content of the web browser returns to the edit page 100.

図8に示すように、メモリーページブラウザ処理(S45)では、まずメモリーページを要求するコマンドであるメモリーページリクエスト(以下、メモリーページRQという。)が、印刷装置20に送信される(S51)。ステップS51の実行後、印刷装置20からメモリーページが受信される(S53)。ステップS53で受信されたメモリーページが、表示部16のウェブブラウザ上に表示される(S55)。   As shown in FIG. 8, in the memory page browser process (S45), a memory page request (hereinafter referred to as a memory page RQ) that is a command for requesting a memory page is first transmitted to the printing apparatus 20 (S51). After execution of step S51, a memory page is received from the printing apparatus 20 (S53). The memory page received in step S53 is displayed on the web browser of the display unit 16 (S55).

本実施形態では、図9に例示するメモリーページ120が、ウェブブラウザ上に表示される。メモリーページ120は、編集ページ100のテキスト入力部101に入力されたテキストを保存したり、既に保存済みのテキストを読み出したりするためのウェブページである。メモリーページ120は、メモリー選択部121、Saveボタン122、Callボタン123、メモリー内容表示部124、戻るボタン112を含む。メモリー選択部121は、EEPROM24に設けられた複数の記憶領域のいずれかを選択するために、各領域の選択ボタンを含んでいる。以下では、メモリー選択部121で現在選択されているEEPRPOM24の記憶領域を、対象領域とよぶ。   In this embodiment, the memory page 120 illustrated in FIG. 9 is displayed on the web browser. The memory page 120 is a web page for saving the text input to the text input unit 101 of the editing page 100 and reading the already saved text. The memory page 120 includes a memory selection unit 121, a save button 122, a call button 123, a memory content display unit 124, and a return button 112. The memory selection unit 121 includes a selection button for each area in order to select one of a plurality of storage areas provided in the EEPROM 24. Hereinafter, the storage area of the EEPRPOM 24 currently selected by the memory selection unit 121 is referred to as a target area.

本実施形態では、EEPROM24は、メモリー番号「1」〜「3」の各記憶領域を備えており、各記憶領域に対してテキストの保存および読出しを行うことができる。そして、図9に例示するように、メモリー選択部121には、メモリー番号「1」〜「3」毎の選択ボタン「1」〜「3」が設けられている。さらに、メモリー選択部121では、対象領域の選択ボタン(図9の例では、「1」の選択ボタン)が対象領域でない選択ボタン(図9の例では、「2」、「3」の選択ボタン)に対して色分けして表示されている。よって、図9に示す状態では、テキスト入力部101に入力されているテキストをEEPROM24のメモリー番号「1」の記憶領域に保存したり、メモリー番号「1」の記憶領域に記憶されているテキストをテキスト入力部101に読み出したりできる。   In the present embodiment, the EEPROM 24 includes storage areas of memory numbers “1” to “3”, and text can be stored and read from each storage area. As illustrated in FIG. 9, the memory selection unit 121 is provided with selection buttons “1” to “3” for the memory numbers “1” to “3”. Further, in the memory selection unit 121, the selection buttons for the target area (the selection button “1” in the example of FIG. 9) are the selection buttons (the selection buttons “2” and “3” in the example of FIG. 9). ) Are displayed in different colors. Therefore, in the state shown in FIG. 9, the text input to the text input unit 101 is stored in the storage area of the memory number “1” of the EEPROM 24 or the text stored in the storage area of the memory number “1” is stored. It can be read out to the text input unit 101.

メモリー内容表示部124は、対象領域に記憶されている内容を表示する領域である。図9の例では、選択ボタン「1」に対応するEEPROM24のメモリー番号「1」の記憶領域に記憶されている「Happy Holidays!」のテキストが表示されている。Saveボタン122は、メモリー選択部121で選択された記憶領域に、テキスト入力部101に入力されたテキストを保存するためのボタンである。メモリー選択部121の選択ボタンによって選択されたEEPROM24の記憶領域にテキストが何も記憶されていなければ、テキスト入力部101に入力されたテキストが保存され、既に何らかのテキストが記憶されている場合には、記憶されている既存のテキストが消去され、新たにテキスト入力101に入力されたテキストが記憶される、所謂、上書きされる。Callボタン123は、メモリー選択部121で選択されたEEPROM24の記憶領域に保存されているテキストを読み出して、テキスト入力部101に上書きするためのボタンである。   The memory content display unit 124 is an area for displaying the contents stored in the target area. In the example of FIG. 9, the text “Happy Holidays!” Stored in the storage area of the memory number “1” of the EEPROM 24 corresponding to the selection button “1” is displayed. The Save button 122 is a button for saving the text input to the text input unit 101 in the storage area selected by the memory selection unit 121. If no text is stored in the storage area of the EEPROM 24 selected by the selection button of the memory selection unit 121, the text input to the text input unit 101 is saved, and when some text is already stored. The existing text stored is erased, and the text newly input to the text input 101 is stored, so-called overwriting. The Call button 123 is a button for reading the text stored in the storage area of the EEPROM 24 selected by the memory selection unit 121 and overwriting the text input unit 101.

図8に戻る。以下では、ウェブブラウザ上に表示されたメモリーページ120(図9)を参照しながら、各処理を説明する。まずメモリー選択部121の選択ボタンが入力されたか否かが判定される(S57)。メモリー選択部121の選択ボタンが入力された場合(S57:YES)、入力された選択ボタンに対応する記憶領域を対象領域に指定するコマンドである選択リクエスト(以下、選択RQという。)が、印刷装置20に送信される(S59)。例えば、ユーザがメモリー番号「1」の選択ボタンをクリックした場合、メモリー番号「1」の記憶領域を指定する選択RQが送信される。   Returning to FIG. Hereinafter, each process will be described with reference to the memory page 120 (FIG. 9) displayed on the web browser. First, it is determined whether or not the selection button of the memory selection unit 121 has been input (S57). When the selection button of the memory selection unit 121 is input (S57: YES), a selection request (hereinafter referred to as selection RQ) that is a command for designating a storage area corresponding to the input selection button as a target area is printed. It is transmitted to the device 20 (S59). For example, when the user clicks the selection button of the memory number “1”, a selection RQ designating the storage area of the memory number “1” is transmitted.

メモリー選択部121の選択ボタンが入力されなかった場合(S57:NO)、Saveボタン122が入力されたか否かが判定される(S61)。Saveボタン122が入力された場合(S61:YES)、テキスト入力部101に入力されているテキストを対象領域に保存することを要求するコマンドである保存リクエスト(以下、保存RQという。)が、印刷装置20に送信される(S63)。Saveボタン122が入力されなかった場合(S61:NO)、Callボタン123が入力されたか否かが判定される(S65)。Callボタン123が入力された場合(S65:YES)、対象領域に記憶されているテキストをテキスト入力部101に上書きすることを要求するコマンドである読出しリクエスト(以下、読出しRQという。)が、印刷装置20に送信される(S67)。   When the selection button of the memory selection unit 121 is not input (S57: NO), it is determined whether or not the Save button 122 is input (S61). When the Save button 122 is input (S61: YES), a save request (hereinafter referred to as save RQ), which is a command requesting to save the text input in the text input unit 101 in the target area, is printed. It is transmitted to the device 20 (S63). When the Save button 122 is not input (S61: NO), it is determined whether or not the Call button 123 is input (S65). When the Call button 123 is input (S65: YES), a read request (hereinafter referred to as a read RQ) that is a command requesting that the text input unit 101 be overwritten with text stored in the target area is printed. It is transmitted to the device 20 (S67).

Callボタン123が入力されなかった場合(S65:NO)、メモリーページ120が受信されたか否かが判定される(S69)。例えば、ユーザがSAVEボタン122をクリックしてテキスト入力部101に入力されているテキストを対象領域に記憶させる場合は、メモリー内容表示部124に対象領域に記憶されたテキストが表示されるように更新されたメモリーページ120が、印刷装置20から送信される。このような場合、更新済みのメモリーページ120が受信されて、ウェブブラウザに表示される(S69:YES、S71)。   If the Call button 123 has not been input (S65: NO), it is determined whether or not the memory page 120 has been received (S69). For example, when the user clicks the SAVE button 122 to store the text input in the text input unit 101 in the target area, the memory content display unit 124 is updated so that the text stored in the target area is displayed. The memory page 120 thus transmitted is transmitted from the printing apparatus 20. In such a case, the updated memory page 120 is received and displayed on the web browser (S69: YES, S71).

メモリーページ120が受信されなかった場合(S69:NO)、戻るボタン112が入力されたか否かが判定される(S73)。戻るボタン112が入力された場合(S73:YES)、処理は他画面ブラウザ処理(図6)に戻る。なお、ステップS59、S63、S67、S71のいずれかの実行後、または戻るボタン112が入力されなかった場合(S73:NO)、処理はステップS57に戻る。   If the memory page 120 has not been received (S69: NO), it is determined whether or not the return button 112 has been input (S73). When the return button 112 is input (S73: YES), the process returns to the other-screen browser process (FIG. 6). Note that after execution of any of steps S59, S63, S67, and S71, or when the return button 112 is not input (S73: NO), the process returns to step S57.

なお、本実施形態のメモリーページブラウザ処理では、メモリーボタン106が入力された後のステップS55において、メモリーページ120が表示部16のウェブブラウザ上に表示される際には、常にデフォルト値として、メモリー選択部121の選択ボタン「1」が色分けされて表示され、EEPROM24のメモリー番号「1」が対象領域に選択されているものとしている。しかしながら、メモリーページブラウザ処理から他画面ブラウザ処理(図6参照)に戻る直前の選択ボタンの選択状態を、印刷装置20のRAM23に記憶してもよい。この場合、メモリーボタン106が入力された後のステップS55において、メモリーページ120が表示部16のウェブブラウザ上に表示される際には、RAM23に記憶している選択ボタンを選択状態に応じた色分け表示を行っても良い。   In the memory page browser process of the present embodiment, when the memory page 120 is displayed on the web browser of the display unit 16 in step S55 after the memory button 106 is input, the memory page browser process is always set as a default value. It is assumed that the selection button “1” of the selection unit 121 is displayed in different colors and the memory number “1” of the EEPROM 24 is selected as the target area. However, the selection state of the selection button immediately before returning from the memory page browser process to the other screen browser process (see FIG. 6) may be stored in the RAM 23 of the printing apparatus 20. In this case, when the memory page 120 is displayed on the web browser of the display unit 16 in step S55 after the memory button 106 is input, the selection button stored in the RAM 23 is color-coded according to the selection state. Display may be performed.

図10に示すように、テンプレートページブラウザ処理(S47)では、まずテンプレートページを要求するコマンドであるテンプレートページリクエスト(以下、テンプレートページRQという。)が、印刷装置20に送信される(S81)。ステップS81の実行後、印刷装置20からテンプレートページが受信される(S83)。ステップS83で受信されたテンプレートページが、表示部16のウェブブラウザ上に表示される(S85)。   As shown in FIG. 10, in the template page browser process (S47), first, a template page request (hereinafter referred to as a template page RQ) that is a command for requesting a template page is transmitted to the printing apparatus 20 (S81). After execution of step S81, a template page is received from the printing apparatus 20 (S83). The template page received in step S83 is displayed on the web browser of the display unit 16 (S85).

本実施形態では、図11に例示するテンプレートページ130が、ウェブブラウザ上に表示される。テンプレートページ130は、テキスト入力部101のテキストが挿入されるテンプレートを選択するためのウェブページである。テンプレートページ130は、リスト表示部131、テンプレート選択部132、確定ボタン133、対象テンプレート表示部134、戻るボタン112を含む。   In the present embodiment, the template page 130 illustrated in FIG. 11 is displayed on the web browser. The template page 130 is a web page for selecting a template into which the text of the text input unit 101 is inserted. The template page 130 includes a list display unit 131, a template selection unit 132, a confirmation button 133, a target template display unit 134, and a return button 112.

リスト表示部131は、印刷装置20に記憶されているテンプレートが一覧表示される領域であり、各テンプレートのキー値、名称、データサイズ、更新日などが表示される。テンプレート選択部132は、リスト表示部131に表示されるテンプレートのうちで、印刷に使用したいテンプレートのキー値を入力するための領域である。確定ボタン133は、テンプレート選択部132でキー値が入力されたテンプレートを、テキスト入力部101のテキストが挿入されるテンプレート(以下、対象テンプレートという。)に設定するためのボタンである。対象テンプレート表示部134は、現在の対象テンプレートのキー値が表示される領域である。   The list display unit 131 is an area in which templates stored in the printing apparatus 20 are displayed as a list, and displays the key value, name, data size, update date, and the like of each template. The template selection unit 132 is an area for inputting a key value of a template to be used for printing among templates displayed on the list display unit 131. The confirm button 133 is a button for setting a template in which a key value is input by the template selection unit 132 as a template into which text of the text input unit 101 is inserted (hereinafter referred to as a target template). The target template display unit 134 is an area where the key value of the current target template is displayed.

図11に示す例では、現在の対象テンプレートのキー値「2」が、対象テンプレート表示部134に表示されている。テンプレート選択部132には、キー値「6」が入力されている。この状態で確定ボタン133がクリックされると、対象テンプレートがキー値「6」のテンプレートに更新される。これに伴って、対象テンプレート表示部134にキー値「6」が表示される。   In the example shown in FIG. 11, the key value “2” of the current target template is displayed on the target template display unit 134. The key value “6” is input to the template selection unit 132. When the confirm button 133 is clicked in this state, the target template is updated to a template having the key value “6”. Accordingly, the key value “6” is displayed on the target template display unit 134.

図10に戻る。以下では、ウェブブラウザ上に表示されたテンプレートページ130(図11)を参照しながら、各処理を説明する。まず確定ボタン133が入力されたか否かが判定される(S87)。確定ボタン133が入力された場合(S87:YES)、対象テンプレートの設定を要求するコマンドである確定リクエスト(以下、確定RQという。)が、印刷装置20に送信される(S89)。このとき、テンプレート選択部132に入力されているキー値が、印刷装置20に送信される(S91)。   Returning to FIG. Below, each process is demonstrated, referring the template page 130 (FIG. 11) displayed on the web browser. First, it is determined whether or not the confirm button 133 has been input (S87). If the confirm button 133 is input (S87: YES), a confirm request (hereinafter referred to as confirm RQ) that is a command for requesting setting of the target template is transmitted to the printing apparatus 20 (S89). At this time, the key value input to the template selection unit 132 is transmitted to the printing apparatus 20 (S91).

確定ボタン133が入力されなかった場合(S87:NO)、テンプレートページ130が受信されたか否かが判定される(S93)。例えば、テンプレート選択部132および確定ボタン133を操作して対象テンプレートを変更した場合には、対象テンプレート表示部134が更新されたテンプレートページ130が印刷装置20から送信される。このような場合、更新済みのテンプレートページ130が受信されて、ウェブブラウザに表示される(S93:YES、S95)。   If the confirmation button 133 has not been input (S87: NO), it is determined whether or not the template page 130 has been received (S93). For example, when the target template is changed by operating the template selection unit 132 and the confirmation button 133, the template page 130 in which the target template display unit 134 is updated is transmitted from the printing apparatus 20. In such a case, the updated template page 130 is received and displayed on the web browser (S93: YES, S95).

テンプレートページ130が受信されなかった場合(S93:NO)、戻るボタン112が入力されたか否かが判定される(S97)。戻るボタン112が入力された場合(S97:YES)、処理は他画面ブラウザ処理(図6)に戻る。なお、ステップS91、S95のいずれかの実行後、または戻るボタン112が入力されなかった場合(S97:NO)、処理はステップS87に戻る。   If the template page 130 has not been received (S93: NO), it is determined whether or not the return button 112 has been input (S97). When the return button 112 is input (S97: YES), the process returns to the other-screen browser process (FIG. 6). In addition, after execution of either step S91 or S95, or when the return button 112 is not input (S97: NO), the process returns to step S87.

なお、本実施形態のテンプレートページブラウザ処理では、テンプレートボタン107が入力された後のステップS85において、テンプレートページ130が表示部16のウェブブラウザ上に表示される際には、常にデフォルト値として、対象テンプレート表示部134にはキー値「1」が表示されるものとしている。しかしながら、テンプレートページブラウザ処理から他画面ブラウザ処理(図6参照)に戻る直前に、対象テンプレート表示部134に表示されているキー値を、印刷装置20のRAM23に記憶してもよい。この場合、テンプレートボタン107が入力された後のステップS85において、テンプレートページ130が表示部16上のウェブブラウザに表示される際に、RAM23に記憶しているキー値を対象テンプレート表示部134に表示しても良い。   In the template page browser process of this embodiment, when the template page 130 is displayed on the web browser of the display unit 16 in step S85 after the template button 107 is input, the target value is always used as a default value. It is assumed that the key value “1” is displayed on the template display unit 134. However, the key value displayed on the target template display unit 134 may be stored in the RAM 23 of the printing apparatus 20 immediately before returning from the template page browser process to the other screen browser process (see FIG. 6). In this case, when the template page 130 is displayed on the web browser on the display unit 16 in step S85 after the template button 107 is input, the key value stored in the RAM 23 is displayed on the target template display unit 134. You may do it.

図12〜図15を参照して、印刷装置20のサーバ処理(つまり、ウェブサーバ機能)について説明する。本処理は、印刷装置20に固有のIPアドレスへのアクセスがあった場合に、CPU21(図3参照)によって実行される。   A server process (that is, a web server function) of the printing apparatus 20 will be described with reference to FIGS. This process is executed by the CPU 21 (see FIG. 3) when there is an access to a unique IP address of the printing apparatus 20.

図12に示すように、印刷装置20のサーバ処理では、まず編集ページRQが受信されたか否かが判定される(S101)。編集ページRQが受信された場合(S101:YES)、編集ページ100(図5参照)が生成されて、アクセス元のPC10に送信される(S103)。編集ページRQが受信されなかった場合(S101:NO)、処理はステップS101に戻る。   As shown in FIG. 12, in the server process of the printing apparatus 20, it is first determined whether an edit page RQ has been received (S101). When the edit page RQ is received (S101: YES), the edit page 100 (see FIG. 5) is generated and transmitted to the access source PC 10 (S103). If the edit page RQ has not been received (S101: NO), the process returns to step S101.

ステップS103の実行後、装飾RQが受信されたか否かが判定される(S105)。 装飾RQが受信された場合(S105:YES)、装飾内容が設定される(S107)。具体的には、PC10から受信したテキストは、後述するようにRAM23(図4参照)に記憶される。ステップS107では、装飾RQが指示する装飾内容(例えば、「太字」)が、PC10から受信したテキストに対応付けて、RAM23に設定(既に装飾内容が設定されている場合には更新)される。   After execution of step S103, it is determined whether or not a decoration RQ has been received (S105). When the decoration RQ is received (S105: YES), the decoration content is set (S107). Specifically, the text received from the PC 10 is stored in the RAM 23 (see FIG. 4) as will be described later. In step S107, the decoration content (for example, “bold”) designated by the decoration RQ is set in the RAM 23 in association with the text received from the PC 10 (updated if the decoration content has already been set).

装飾RQが受信されなかった場合(S105:NO)、印刷RQが受信されたか否かが判定される(S109)。印刷RQが受信された場合(S109:YES)、印刷装置20にセットされている印刷媒体が検出される(S111)。本実施形態では、媒体センサ26(図3参照)が検出したスイッチ孔の形成パターンに基づいて、テープカセット30(図1参照)のテープ幅が特定される。なお、ROM22(図3参照)には、スイッチ孔の形成パターンとテープ幅との対応を定義したテーブルが記憶されている。ステップS111では、このテーブルを参照してテープ幅が特定されればよい。   When the decoration RQ is not received (S105: NO), it is determined whether or not the print RQ is received (S109). When the print RQ is received (S109: YES), the print medium set in the printing apparatus 20 is detected (S111). In the present embodiment, the tape width of the tape cassette 30 (see FIG. 1) is specified based on the switch hole formation pattern detected by the medium sensor 26 (see FIG. 3). The ROM 22 (see FIG. 3) stores a table that defines the correspondence between the switch hole formation pattern and the tape width. In step S111, the tape width may be specified with reference to this table.

ステップS111の実行後、編集ページ100で編集されたコンテンツデータに基づいて、印刷データが作成される(S113)。詳細には、ROM22から印刷関連情報が読み出されて、印刷データが生成される。印刷関連情報は、印刷装置20で使用可能な印刷データの作成に必要なプログラムを含み、本実施形態では印刷装置20のプリンタドライバ(印刷装置20に固有の印刷制御データを含む。)である。さらに、ROM22に記憶されているフォントデータのうちで、RAM23に記憶されているテキストの印刷に適したフォントデータが選択される。一例として、ユーザが編集ページ100等で指定したフォントデータが、ROM22から選択される。   After execution of step S111, print data is created based on the content data edited on the edit page 100 (S113). Specifically, print-related information is read from the ROM 22 and print data is generated. The print-related information includes a program necessary for creating print data that can be used by the printing apparatus 20, and in this embodiment is a printer driver of the printing apparatus 20 (including print control data unique to the printing apparatus 20). Furthermore, font data suitable for text printing stored in the RAM 23 is selected from the font data stored in the ROM 22. As an example, font data designated by the user on the editing page 100 or the like is selected from the ROM 22.

プリンタドライバは、選択されたフォントデータを用いて、RAM23に記憶されているテキストを印刷データに変換する。このとき、RAM23に装飾内容が設定されていれば、設定された装飾内容が反映されたテキストを印刷するための印刷データが作成される。また、後述するようにRAM23に対象テンプレートが設定されていれば、対象テンプレートに挿入されたテキストを印刷するための印刷データが作成される。さらに、印刷データは、ステップS111で特定されたテープ幅に応じて、印刷サイズが調整(拡大又は縮小)される。ステップS113の実行後、ステップS113で作成された印刷データに基づいて印刷が実行される(S115)。ステップS115では、先述のように印刷部25でテープ印刷が実行され、ラベルが作成される。   The printer driver converts the text stored in the RAM 23 into print data using the selected font data. At this time, if decoration contents are set in the RAM 23, print data for printing a text reflecting the set decoration contents is created. As will be described later, if the target template is set in the RAM 23, print data for printing the text inserted in the target template is created. Further, the print size of the print data is adjusted (enlarged or reduced) according to the tape width specified in step S111. After execution of step S113, printing is executed based on the print data created in step S113 (S115). In step S115, as described above, tape printing is executed by the printing unit 25 to create a label.

具体的に、図5に示す編集ページ100で印刷ボタン103がクリックされた場合には、対象テンプレート(キー値「2」のテンプレート)に挿入されたテキスト「Thank You」の印刷データが作成されて、テープに印刷される(S109:YES〜S115)。その結果、図7に示すプレビュー画像111と同一の内容が印刷されたラベルが作成される。   Specifically, when the print button 103 is clicked on the edit page 100 shown in FIG. 5, the print data of the text “Thank You” inserted in the target template (the template with the key value “2”) is created. Then, it is printed on the tape (S109: YES to S115). As a result, a label on which the same content as the preview image 111 shown in FIG. 7 is printed is created.

印刷RQが受信されなかった場合(S109:NO)、テキストが受信されたか否かが判定される(S117)。テキストが受信された場合(S117:YES)、受信されたテキストがRAM23に記憶(既にテキストが記憶されている場合には更新)される(S119)。テキストが受信されなかった場合(S117:NO)、画面遷移RQが受信されたか否かが判定される(S121)。画面遷移RQは、先述のプレビューページRQ、メモリーページRQ、テンプレートページRQを含む、他画面を要求するコマンドの総称である。画面遷移RQが受信された場合(S121:YES)、後述の他画面サーバ処理が実行される(S123)。画面遷移RQが受信されなかった場合(S121:NO)、ユーザが編集ページ100で行った操作に応じたその他の処理(例えば、印刷装置20の機能設定等)が実行される(S125)。ステップS107、S115、S119、S123、S125のいずれかの実行後、処理はステップS103に戻る。   If the print RQ has not been received (S109: NO), it is determined whether or not text has been received (S117). When the text is received (S117: YES), the received text is stored in the RAM 23 (updated when the text is already stored) (S119). If no text has been received (S117: NO), it is determined whether a screen transition RQ has been received (S121). The screen transition RQ is a generic term for commands that request other screens, including the preview page RQ, the memory page RQ, and the template page RQ. When the screen transition RQ is received (S121: YES), other screen server processing described later is executed (S123). When the screen transition RQ is not received (S121: NO), other processing (for example, function setting of the printing apparatus 20) according to the operation performed by the user on the editing page 100 is executed (S125). After executing any of steps S107, S115, S119, S123, and S125, the process returns to step S103.

図13に示すように、他画面サーバ処理(S123)では、まず受信された画面遷移RQがプレビューページRQであるか否かが判定される(S131)。プレビューページRQが受信された場合(S131:YES)、プレビューページ110(図7参照)が生成されて、PC10に送信される(S133)。ステップS133では、RAM23に記憶されているテキスト、装飾内容、対象テンプレートに基づいてプレビュー画像111が生成されて、生成されたプレビュー画像111を含むプレビューページ110が生成される。ステップS133の実行後、戻るRQが受信されたか否かが判定される(S135)。 戻るRQが受信された場合(S135:YES)、編集ページ100(図5参照)が生成および送信される(S137)。戻るRQが受信されなかった場合(S135:NO)、処理はステップS135に戻る。   As shown in FIG. 13, in the other screen server process (S123), it is first determined whether or not the received screen transition RQ is a preview page RQ (S131). When the preview page RQ is received (S131: YES), the preview page 110 (see FIG. 7) is generated and transmitted to the PC 10 (S133). In step S133, a preview image 111 is generated based on the text, decoration content, and target template stored in the RAM 23, and a preview page 110 including the generated preview image 111 is generated. After execution of step S133, it is determined whether a return RQ has been received (S135). When the return RQ is received (S135: YES), the edit page 100 (see FIG. 5) is generated and transmitted (S137). If the return RQ has not been received (S135: NO), the process returns to step S135.

プレビューページRQが受信されなかった場合(S131:NO)、受信された画面遷移RQがメモリーページRQであるか否かが判定される(S139)。メモリーページRQが受信された場合(S139:YES)、後述のメモリーページサーバ処理が実行される(S141)。メモリーページRQが受信されなかった場合(S139:NO)、受信された画面遷移RQがテンプレートページRQであると判定されて、後述のテンプレートページサーバ処理が実行される(S143)。ステップS141またはS143の実行後も、編集ページ100(図5参照)が生成および送信される(S137)。ステップS137の実行後、処理はサーバ処理(図12)に戻る。   When the preview page RQ is not received (S131: NO), it is determined whether or not the received screen transition RQ is a memory page RQ (S139). When the memory page RQ is received (S139: YES), a memory page server process described later is executed (S141). When the memory page RQ is not received (S139: NO), it is determined that the received screen transition RQ is the template page RQ, and a template page server process described later is executed (S143). Even after execution of step S141 or S143, the edit page 100 (see FIG. 5) is generated and transmitted (S137). After execution of step S137, the process returns to the server process (FIG. 12).

図14に示すように、メモリーページサーバ処理(S141)では、まずメモリーページ120(図9参照)が生成されて、PC10に送信される(S151)。ステップS151の実行後、選択RQが受信されたか否かが判定される(S153)。選択RQが受信された場合(S153:YES)、選択RQが指示するメモリー番号の記憶領域が、対象領域として設定される(S155)。   As shown in FIG. 14, in the memory page server process (S141), first, a memory page 120 (see FIG. 9) is generated and transmitted to the PC 10 (S151). After execution of step S151, it is determined whether or not a selection RQ has been received (S153). When the selection RQ is received (S153: YES), the storage area of the memory number indicated by the selection RQ is set as the target area (S155).

選択RQが受信されなかった場合(S153:NO)、保存RQが受信されたか否かが判定される(S157)。保存RQが受信された場合(S157:YES)、RAM23に記憶されているテキストが、ステップS155で設定された対象領域に保存される(既にテキストが記憶されている場合には上書き)される(S159)。保存RQが受信されなかった場合(S157:NO)、読出しRQが受信されたか否かが判定される(S161)。読出しRQが受信された場合(S161:YES)、ステップS155で設定された対象領域に保存されているテキストが読み出されて、テキスト入力部101に上書きされる(S163)。   If the selection RQ has not been received (S153: NO), it is determined whether or not a saved RQ has been received (S157). When the save RQ is received (S157: YES), the text stored in the RAM 23 is saved in the target area set in step S155 (overwritten if the text is already stored) ( S159). If the saved RQ has not been received (S157: NO), it is determined whether or not a read RQ has been received (S161). When the read RQ is received (S161: YES), the text stored in the target area set in step S155 is read and overwritten on the text input unit 101 (S163).

読出しRQが受信されなかった場合(S161:NO)、戻るRQが受信されたか否かが判定される(S165)。 戻るRQが受信された場合(S165:YES)、処理は他画面サーバ処理(図13)に戻る。なお、ステップS155、S159、S163のいずれかの実行後、または戻るRQが受信されなかった場合(S165:NO)、処理はステップS151に戻る。   If the read RQ has not been received (S161: NO), it is determined whether a return RQ has been received (S165). When the return RQ is received (S165: YES), the process returns to the other screen server process (FIG. 13). In addition, after execution of any of step S155, S159, and S163, or when the return RQ is not received (S165: NO), a process returns to step S151.

図15に示すように、テンプレートページサーバ処理(S143)では、まずテンプレートページ130(図11参照)が生成されて、PC10に送信される(S171)。ステップS171では、EEPROM24に記憶されているテンプレートが読み出され、読み出されたテンプレートが一覧表示されたリスト表示部131を含むテンプレートページ130が生成される。   As shown in FIG. 15, in the template page server process (S143), a template page 130 (see FIG. 11) is first generated and transmitted to the PC 10 (S171). In step S171, a template stored in the EEPROM 24 is read, and a template page 130 including a list display unit 131 in which the read templates are displayed as a list is generated.

ステップS171の実行後、確定RQが受信されたか否かが判定される(S173)。確定RQが受信された場合(S173:YES)、さらにキー値が受信されて(S175)、対象テンプレートが設定される(S177)。ステップS177では、EEPROM24に記憶されているテンプレートのうちで、ステップS175で受信されたキー値のテンプレートが、対象テンプレートとしてRAM23に設定される。ステップS177の実行後、対象テンプレート表示部134に表示される対象テンプレートのキー値が更新されたテンプレートページ130が、PC10に送信される(S179)。   After execution of step S171, it is determined whether a confirmed RQ has been received (S173). When the confirmed RQ is received (S173: YES), the key value is further received (S175), and the target template is set (S177). In step S177, among the templates stored in the EEPROM 24, the key value template received in step S175 is set in the RAM 23 as a target template. After execution of step S177, the template page 130 in which the key value of the target template displayed on the target template display unit 134 is updated is transmitted to the PC 10 (S179).

確定RQが受信されなかった場合(S173:NO)、戻るRQが受信されたか否かが判定される(S181)。 戻るRQが受信された場合(S181:YES)、処理は他画面サーバ処理(図13)に戻る。なお、ステップS179の実行後、または戻るRQが受信されなかった場合(S181:NO)、処理はステップS173に戻る。   When the confirmed RQ has not been received (S173: NO), it is determined whether or not a return RQ has been received (S181). When the return RQ is received (S181: YES), the process returns to the other screen server process (FIG. 13). In addition, after execution of step S179 or when a return RQ is not received (S181: NO), the process returns to step S173.

以上説明したように、本実施形態の印字システム1では、印刷装置20で生成されたウェブページが、PC10のウェブブラウザで表示される。PC10では、ウェブブラウザで表示された編集ページ100上で、印刷内容を示すコンテンツデータが編集される。印刷装置20では、編集ページ100で印刷開始を指示するコマンドが入力されると、ROM22から読み出された印刷関連情報(プリンタドライバ)と、編集ページ100上で編集されたコンテンツデータとに基づいて、印刷データが生成される。さらに、生成された印刷データに基づいてテープに印刷が行われる。   As described above, in the printing system 1 of the present embodiment, the web page generated by the printing apparatus 20 is displayed by the web browser of the PC 10. In the PC 10, content data indicating print contents is edited on an edit page 100 displayed by a web browser. In the printing apparatus 20, when a command to start printing is input on the editing page 100, the printing related information (printer driver) read from the ROM 22 and the content data edited on the editing page 100 are used. The print data is generated. Furthermore, printing is performed on the tape based on the generated print data.

したがって、印刷に関する専用プログラムがPC10にインストールされていなくても、ユーザはウェブページ上でコンテンツデータの編集および印刷を実行できる。ひいては、専用プログラムをPC10にインストールする手間を省略して、ユーザの利便性を向上させることができる。情報処理装置の種類(PC、スマートフォン等)や搭載OS(Windows(登録商標)、MacOS等)の種類に関わらず、様々な情報処理装置でコンテンツデータの編集および印刷が実行できる。   Therefore, even if a dedicated program for printing is not installed in the PC 10, the user can edit and print content data on the web page. As a result, the user's convenience can be improved by omitting the trouble of installing the dedicated program in the PC 10. Regardless of the type of information processing device (PC, smartphone, etc.) and the type of installed OS (Windows (registered trademark), MacOS, etc.), editing and printing of content data can be executed by various information processing devices.

また、テキスト(つまり、キャラクタデータ)を含むコンテンツデータが、印刷装置20に記憶されているフォントデータに基づいて印刷データに変換される。したがって、印刷装置20で印刷可能なフォントデータをPC10に記憶させなくても、コンテンツデータに適したフォントデータで印刷することができる。   Further, content data including text (that is, character data) is converted into print data based on font data stored in the printing apparatus 20. Therefore, even if font data that can be printed by the printing apparatus 20 is not stored in the PC 10, it is possible to print with font data suitable for the content data.

また、編集ページ100でプレビューボタン105がクリックされた場合、印刷装置20で生成されたプレビュー画像111を含むプレビューページ110が、ウェブブラウザに表示される。したがって、プレビュー画像111を生成するためのプログラムをPC10に記憶させなくても、ユーザはウェブブラウザ上でプレビュー画像を閲覧することができる。   When the preview button 105 is clicked on the editing page 100, the preview page 110 including the preview image 111 generated by the printing apparatus 20 is displayed on the web browser. Therefore, the user can view the preview image on the web browser without storing the program for generating the preview image 111 in the PC 10.

また、編集ページ100でメモリーボタン106がクリックされた場合、過去に編集および保存されたテキストが、メモリーページ120で選択可能に表示される。メモリーページ120上で選択されたテキストに基づいて、印刷データが生成される。したがって、編集ページ100で編集されたテキストをPC10に保存させなくても、過去に編集されたテキストを印刷することができる。   In addition, when the memory button 106 is clicked on the edit page 100, text that has been edited and saved in the past is displayed so as to be selectable on the memory page 120. Print data is generated based on the text selected on the memory page 120. Therefore, the text edited in the past can be printed without storing the text edited on the editing page 100 in the PC 10.

また、編集ページ100で装飾ボタン102がクリックされた場合、装飾内容がテキストに設定される。装飾内容が設定されたテキストに基づいて、印刷データが生成される。したがって、テキストを装飾するためのプログラムをPC10に記憶させなくても、テキストを自由に装飾することができる。   When the decoration button 102 is clicked on the edit page 100, the decoration content is set to text. Print data is generated based on the text for which the decoration content is set. Therefore, the text can be freely decorated without storing a program for decorating the text in the PC 10.

また、編集ページ100でテンプレートボタン107が選択された場合、印刷装置20に記憶されているテンプレートデータが、テンプレートページ130で選択可能に表示される。テンプレートページ130で選択されたテンプレートデータに挿入されたテキストに基づいて、印刷データが生成される。したがって、テンプレートデータをPC10に保存させなくても、テンプレートデータにテキストが挿入されたコンテンツデータを印刷することができる。   When the template button 107 is selected on the edit page 100, the template data stored in the printing apparatus 20 is displayed on the template page 130 so as to be selectable. Print data is generated based on the text inserted into the template data selected on the template page 130. Therefore, content data in which text is inserted into the template data can be printed without saving the template data in the PC 10.

さらに、印刷装置20で検出されたテープ幅に対応する印刷サイズで印刷データが生成されるため、コンテンツデータの印刷サイズを最適化することができる。   Furthermore, since the print data is generated with a print size corresponding to the tape width detected by the printing apparatus 20, the print size of the content data can be optimized.

なお、上記実施形態において、PC10が本発明の「情報処理装置」に相当する。ステップS103、S133、S137、S151、S171、S179を実行するCPU21が、本発明の「ウェブページ生成手段」および「ウェブページ送信手段」に相当する。ステップS117を実行するCPU21が、本発明の「コンテンツ受信手段」に相当する。ステップS105、S109、S121を実行するCPU21が、本発明の「コマンド受信手段」に相当する。ステップS113を実行するCPU21が、本発明の「印刷データ生成手段」に相当する。ステップS115を実行するCPU21が、本発明の「印刷手段」に相当する。   In the above embodiment, the PC 10 corresponds to the “information processing apparatus” of the present invention. The CPU 21 that executes steps S103, S133, S137, S151, S171, and S179 corresponds to the “web page generating unit” and the “web page transmitting unit” of the present invention. The CPU 21 executing step S117 corresponds to the “content receiving unit” of the present invention. The CPU 21 that executes steps S105, S109, and S121 corresponds to the “command receiving unit” of the present invention. The CPU 21 executing step S113 corresponds to the “print data generating unit” of the present invention. The CPU 21 executing step S115 corresponds to the “printing unit” of the present invention.

ステップS113を実行するCPU21が、本発明の「フォント読出手段」に相当する。ステップS133を実行するCPU21が、本発明の「プレビュー画像生成手段」に相当する。ステップS159を実行するCPU21が、本発明の「コンテンツ記憶手段」に相当する。ステップS163を実行するCPU21が、本発明の「コンテンツ読出手段」に相当する。ステップS107を実行するCPU21が、本発明の「コンテンツ装飾設定手段」に相当する。ステップS171、S179を実行するCPU21が、本発明の「テンプレート読出手段」に相当する。ステップS111を実行するCPU21が、本発明の「媒体検出手段」に相当する。   The CPU 21 executing step S113 corresponds to “font reading means” of the present invention. The CPU 21 that executes step S133 corresponds to the “preview image generating means” of the present invention. The CPU 21 executing step S159 corresponds to the “content storage unit” of the present invention. The CPU 21 executing step S163 corresponds to the “content reading unit” of the present invention. The CPU 21 executing step S107 corresponds to the “content decoration setting unit” of the present invention. The CPU 21 executing steps S171 and S179 corresponds to the “template reading unit” of the present invention. The CPU 21 that executes step S111 corresponds to the “medium detection unit” of the present invention.

なお、本発明は、前述の実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。例えば、印刷装置20は、テーププリンタに限定されず、テープ以外の印刷媒体に印刷を行う印刷装置であってもよい。ただし、一般に、ユーザが携行できるような小型・軽量の印刷装置は、CPUやメモリ等のハードウエア資源に制約がある。ハードウエア資源に乏しい場合、印刷装置が提供するウェブサーバ機能の処理能力も小さくなる。その点、本実施形態のようなテーププリンタでは、印刷媒体であるテープの幅が小さいため、テープに印刷するコンテンツデータのサイズ(つまり、データ量)も小さい。よって、テーププリンタのような印刷装置では、ハードウエア資源に制約がある場合でも、本発明に係るウェブサーバ機能を十分に発揮することができる。   It should be noted that the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made without departing from the gist of the present invention. For example, the printing apparatus 20 is not limited to a tape printer, and may be a printing apparatus that performs printing on a printing medium other than a tape. However, in general, a small and lightweight printing apparatus that can be carried by a user is limited in hardware resources such as a CPU and a memory. When hardware resources are scarce, the processing capacity of the web server function provided by the printing apparatus is also reduced. In that respect, in the tape printer as in this embodiment, since the width of the tape that is the print medium is small, the size of the content data printed on the tape (that is, the data amount) is also small. Therefore, in a printing apparatus such as a tape printer, the web server function according to the present invention can be sufficiently exhibited even when hardware resources are limited.

例えば、編集ページ100で編集可能なコンテンツデータは、キャラクタデータおよびテンプレートデータの一方のみを含んでもよいし、画像データであってもよい。また、EEPROM24に記憶されている複数の記憶領域は、テキスト以外の情報を保存してもよい。この場合、メモリーページ120でSaveボタン122がクリックされると、テキスト入力部101に入力されたテキストのみならず、装飾ボタン102で設定された装飾内容や、テンプレートページ130で設定された現在の対象テンプレートも対象領域に保存されてもよい。この場合、編集ページ100で編集されたコンテンツデータ(テキスト、装飾内容、テンプレート)が対象領域に保存され、Callボタン123をクリックすることで保存されたコンテンツデータを読み出すことができる。   For example, the content data that can be edited on the editing page 100 may include only one of character data and template data, or may be image data. The plurality of storage areas stored in the EEPROM 24 may store information other than text. In this case, when the Save button 122 is clicked on the memory page 120, not only the text input to the text input unit 101 but also the decoration content set by the decoration button 102 and the current target set by the template page 130. A template may also be stored in the target area. In this case, the content data (text, decoration content, template) edited on the edit page 100 is stored in the target area, and the stored content data can be read by clicking the Call button 123.

また、PC10および印刷装置20で実行される処理の一部は、他の装置上で実行されてもよい。以下、印刷データの作成をPC10で実行させる変形例を、図16および図17を参照して説明する。以下では、上記実施形態と同一処理には同一符号を付して説明を省略し、上記実施形態と異なる点を中心に説明する。   Further, some of the processes executed by the PC 10 and the printing apparatus 20 may be executed on another apparatus. Hereinafter, a modified example in which the creation of print data is executed by the PC 10 will be described with reference to FIGS. 16 and 17. In the following, the same processes as those in the above embodiment will be denoted by the same reference numerals, description thereof will be omitted, and differences from the above embodiment will be mainly described.

図16に示すPC10のブラウザ処理では、装飾ボタン102が入力された場合(S7:YES)、ステップS9に代えて、装飾ボタン102で設定された装飾内容が、PC10のRAM12に記憶される(S201)。印刷ボタン103が入力された場合(S11:YES)、印刷RQが印刷装置20に送信されたのち(S13)、印刷装置20から後述の印刷関連情報が受信され(S203)、後述するように印刷データが作成される(S205)。ステップS205で作成された印刷データが印刷装置20に送信されて(S207)、処理はステップS7に戻る。テキスト入力部101にテキストが入力された場合(S15:YES)、ステップS17に代えて、入力されたテキストがRAM12に記憶され(S209)、処理はステップS7に戻る。その他の処理は、上記実施形態のブラウザ処理(図5)と同様である。   In the browser process of the PC 10 shown in FIG. 16, when the decoration button 102 is input (S7: YES), the decoration content set by the decoration button 102 is stored in the RAM 12 of the PC 10 instead of step S9 (S201). ). When the print button 103 is input (S11: YES), after the print RQ is transmitted to the printing apparatus 20 (S13), printing related information described later is received from the printing apparatus 20 (S203), and printing is performed as described later. Data is created (S205). The print data created in step S205 is transmitted to the printing apparatus 20 (S207), and the process returns to step S7. When text is input to the text input unit 101 (S15: YES), the input text is stored in the RAM 12 instead of step S17 (S209), and the process returns to step S7. Other processes are the same as the browser process (FIG. 5) of the above embodiment.

図17に示す印刷装置20のサーバ処理では、ステップS103の実行後、ステップS105、S107は実行されずに、印刷RQが受信されたか否かが判定される(S109)。印刷RQが受信された場合(S109:YES)、印刷媒体が検出される(S111)。ステップS111の実行後、ステップS113、S115に代えて、印刷関連情報がPC10に送信され(S301)、処理はステップS109に戻る。   In the server process of the printing apparatus 20 shown in FIG. 17, after execution of step S103, it is determined whether or not a print RQ has been received without executing steps S105 and S107 (S109). When the print RQ is received (S109: YES), the print medium is detected (S111). After execution of step S111, printing related information is transmitted to the PC 10 instead of steps S113 and S115 (S301), and the process returns to step S109.

本変形例の印刷関連情報は、印刷装置20のプリンタドライバ(印刷装置20に固有の印刷制御データを含む。)のほか、ステップS111で検出されたテープ幅と、印刷装置20に記憶されているフォントデータとが含まれる。また、テンプレートページ130で対象テンプレートが設定されている場合には、印刷関連情報に対象テンプレートも含まれる。   In addition to the printer driver of the printing apparatus 20 (including print control data unique to the printing apparatus 20), the printing-related information of this modification is stored in the printing apparatus 20 and the tape width detected in step S111. Font data. Further, when the target template is set on the template page 130, the target template is also included in the printing related information.

印刷RQが受信されなかった場合(S109:NO)、ステップS117に代えて、印刷データが受信されたか否かが判断される(S303)。印刷データが受信された場合(S303:YES)、受信された印刷データに基づいて印刷が実行され(S115)、処理はステップS109に戻る。印刷データが受信されなかった場合(S303:NO)、ステップS121が実行される。その他の処理は、上記実施形態のブラウザ処理(図12)と同様である。   If the print RQ has not been received (S109: NO), it is determined whether or not print data has been received instead of step S117 (S303). If print data has been received (S303: YES), printing is executed based on the received print data (S115), and the process returns to step S109. If print data has not been received (S303: NO), step S121 is executed. Other processing is the same as the browser processing (FIG. 12) of the above embodiment.

本変形例では、PC10で印刷データが作成される(S205)。ステップS205では、RAM12に記憶されたテキストが、ステップS203で受信された印刷関連情報に含まれるプリンタドライバによって、印刷装置20で使用可能な印刷データに変換される。このとき、装飾ボタン102で装飾内容が設定されていれば、RAM12に記憶されている装飾内容が設定されたテキストの印刷データが作成される。また、テンプレートページ130で対象テンプレートが設定されている場合には、印刷関連情報に含まれる対象テンプレートに挿入されたテキストの印刷データが作成される。さらに、印刷データは、ステップS111で特定されたテープ幅に応じて、印刷サイズが調整(拡大又は縮小)される。   In this modification, print data is created by the PC 10 (S205). In step S205, the text stored in the RAM 12 is converted into print data that can be used by the printing apparatus 20 by the printer driver included in the print-related information received in step S203. At this time, if the decoration content is set with the decoration button 102, the print data of the text set with the decoration content stored in the RAM 12 is created. When the target template is set on the template page 130, print data of text inserted in the target template included in the print related information is created. Further, the print size of the print data is adjusted (enlarged or reduced) according to the tape width specified in step S111.

このように、本変形例では、PC10で印刷データを作成するのに必要な印刷関連情報(プリンタドライバ、テープ幅、フォントデータ等)が、印刷RQに応じて印刷装置20から送信される(S301)。そのため、上記実施形態と同様に、印刷に関する専用プログラムがPC10にインストールされていなくても、ユーザはウェブページ上でコンテンツデータの編集および印刷を実行できる。ひいては、専用プログラムをPC10にインストールする手間を省略して、ユーザの利便性を向上させることができる。   As described above, in this modification, print-related information (printer driver, tape width, font data, etc.) necessary for creating print data on the PC 10 is transmitted from the printing apparatus 20 in accordance with the print RQ (S301). ). Therefore, as in the above embodiment, even if a dedicated program for printing is not installed in the PC 10, the user can edit and print content data on a web page. As a result, the user's convenience can be improved by omitting the trouble of installing the dedicated program in the PC 10.

1 印刷システム
6 インターネット
10 PC
11 CPU
20 印刷装置
21 CPU
22 ROM
23 RAM
24 EEPROM
25 印刷部
26 媒体センサ
30 テープカセット
35 指標部
41 フィルムテープ
100 編集ページ
110 プレビューページ
120 メモリーページ
130 テンプレートページ
1 Printing system 6 Internet 10 PC
11 CPU
20 Printing device 21 CPU
22 ROM
23 RAM
24 EEPROM
25 Print section 26 Media sensor 30 Tape cassette 35 Index section 41 Film tape 100 Edit page 110 Preview page 120 Memory page 130 Template page

Claims (7)

ウェブブラウザを備えた情報処理装置と、ネットワークを介して接続可能な印刷装置であって、
長尺状のテープが収納され且つ指標部が設けられたカセットが着脱されるカセット装着部であって、前記指標部は前記テープの幅に応じたパターンでスイッチ孔を含む前記カセット装着部と、
前記ウェブブラウザによって閲覧可能なウェブページを生成するウェブページ生成手段と、
前記ウェブページ生成手段によって生成された前記ウェブページを、前記情報処理装置に送信するウェブページ送信手段と、
前記ウェブページ上で編集された印刷内容を示すコンテンツデータを、前記情報処理装置から受信するコンテンツ受信手段と、
前記ウェブページ上で入力された印刷に関連するコマンドデータを、前記情報処理装置から受信するコマンド受信手段と、
前記カセット装着部に装着されている前記カセットの前記指標部に含まれる前記スイッチ孔のパターンを検出するパターン検出手段と、
前記パターン検出手段によって検出された前記スイッチ孔のパターンに基づいて、前記テープの幅を特定するサイズ特定手段と、
前記コマンド受信手段によって受信された前記コマンドデータが、印刷開始を指示するコマンドである場合に、前記コンテンツ受信手段によって受信された前記コンテンツデータと、前記サイズ特定手段によって特定された前記テープの幅とに基づいて、前記印刷装置で印刷可能なデータ形式を有する印刷データを生成する印刷データ生成手段と、
前記印刷データ生成手段によって生成された前記印刷データに基づいて、前記テープに印刷を行う印刷手段と
を備えたことを特徴とする印刷装置。
An information processing apparatus equipped with a web browser and a printing apparatus connectable via a network,
A cassette mounting part in which a long tape is stored and a cassette provided with an index part is attached and detached, wherein the index part includes a switch hole in a pattern according to the width of the tape; and
Web page generating means for generating a web page viewable by the web browser;
Web page transmitting means for transmitting the web page generated by the web page generating means to the information processing apparatus;
Content receiving means for receiving, from the information processing apparatus, content data indicating print contents edited on the web page;
Command receiving means for receiving command data related to printing input on the web page from the information processing apparatus;
Pattern detecting means for detecting a pattern of the switch hole included in the indicator portion of the cassette mounted on the cassette mounting portion;
Based on the switch hole pattern detected by the pattern detection means, size specifying means for specifying the width of the tape;
When the command data received by the command receiving means is a command for instructing to start printing, the content data received by the content receiving means, the width of the tape specified by the size specifying means, Print data generation means for generating print data having a data format that can be printed by the printing apparatus,
A printing apparatus comprising: a printing unit configured to print on the tape based on the print data generated by the print data generation unit.
前記コンテンツデータは、文字、数字、記号の少なくとも一つを含むキャラクタデータを含み、
前記印刷装置で印刷可能なフォントデータを記憶する第一記憶装置から、前記コンテンツ受信手段によって受信された前記コンテンツデータの印刷に適した前記フォントデータを読み出すフォント読出手段を備え、
前記印刷データ生成手段は、前記フォント読出手段によって読み出された前記フォントデータに基づいて、前記印刷データを生成することを特徴とする請求項1に記載の印刷装置。
The content data includes character data including at least one of letters, numbers, and symbols,
Font reading means for reading out the font data suitable for printing the content data received by the content receiving means from a first storage device storing font data printable by the printing device;
The printing apparatus according to claim 1, wherein the print data generation unit generates the print data based on the font data read by the font reading unit.
前記コマンド受信手段によって受信された前記コマンドデータが、前記テープへの印刷態様のプレビューを指示するコマンドである場合に、前記印刷態様を画像化したプレビュー画像を生成するプレビュー画像生成手段を備え、
前記ウェブページ生成手段は、前記プレビュー画像生成手段によって前記プレビュー画像が生成された場合に、前記プレビュー画像を閲覧可能に表示する前記ウェブページを生成することを特徴とする請求項1または2に記載の印刷装置。
When the command data received by the command receiving means is a command for instructing a preview of a print mode on the tape , a preview image generation unit that generates a preview image that is an image of the print mode is provided,
The said web page production | generation means produces | generates the said web page which displays the said preview image so that browsing is possible, when the said preview image is produced | generated by the said preview image production | generation means. Printing device.
前記コマンド受信手段によって受信された前記コマンドデータが、前記コンテンツデータの保存を指示するコマンドである場合に、前記コンテンツ受信手段によって受信された前記コンテンツデータを第二記憶装置に記憶させるコンテンツ記憶手段と、
前記コマンド受信手段によって受信された前記コマンドデータが、前記コンテンツデータの読み出しを指示するコマンドである場合に、前記第二記憶装置に記憶されている前記コンテンツデータを読み出すコンテンツ読出手段とを備え、
前記ウェブページ生成手段は、前記コンテンツ読出手段によって前記コンテンツデータが読み出された場合に、読み出された前記コンテンツデータを選択可能に表示する前記ウェブページを生成し、
前記コンテンツ受信手段は、前記ウェブページ上で選択された前記コンテンツデータを、前記ウェブページ上で編集された前記コンテンツデータとして受信することを特徴とする請求項のいずれかに記載の印刷装置。
Content storage means for storing the content data received by the content receiving means in a second storage device when the command data received by the command receiving means is a command for instructing storage of the content data; ,
Content reading means for reading the content data stored in the second storage device when the command data received by the command receiving means is a command for instructing reading of the content data;
The web page generation unit generates the web page for selectively displaying the read content data when the content data is read by the content reading unit,
The content receiving unit, the printing apparatus according to the content data selected on the web page, claim 2, characterized in that receiving by the content data edited on the web page.
前記コンテンツ記憶手段によって前記第二記憶装置に記憶される前記コンテンツデータは、前記キャラクタデータの装飾内容と前記キャラクタデータが挿入される定型書式を示すテンプレートデータとの少なくとも一つを含むことを特徴とする請求項4に記載の印刷装置。The content data stored in the second storage device by the content storage means includes at least one of decoration contents of the character data and template data indicating a fixed format into which the character data is inserted. The printing apparatus according to claim 4. 前記コマンド受信手段によって受信された前記コマンドデータが、前記キャラクタデータの装飾内容を指示するコマンドである場合に、前記コンテンツ受信手段によって受信された前記コンテンツデータに前記装飾内容を設定するコンテンツ装飾設定手段を備え、
前記印刷データ生成手段は、前記コンテンツ装飾設定手段によって前記装飾内容が設定された前記コンテンツデータに基づいて、前記印刷データを生成することを特徴とする請求項に記載の印刷装置。
Content decoration setting means for setting the decoration content in the content data received by the content receiving means when the command data received by the command receiving means is a command for instructing the decoration content of the character data With
The printing apparatus according to claim 2 , wherein the print data generation unit generates the print data based on the content data in which the decoration content is set by the content decoration setting unit.
前記コンテンツデータは、前記キャラクタデータが挿入される定型書式を示すテンプレートデータを含み、
前記コマンド受信手段によって受信された前記コマンドデータが、前記テンプレートデータを要求するコマンドである場合に、第三記憶装置に記憶されている前記テンプレートデータを読み出すテンプレート読出手段を備え、
前記ウェブページ生成手段は、前記テンプレート読出手段によって前記テンプレートデータが読み出された場合に、読み出された前記テンプレートデータを選択可能に表示する前記ウェブページを生成し、
前記印刷データ生成手段は、前記ウェブページ上で選択された前記テンプレートデータに前記キャラクタデータが挿入された前記コンテンツデータに基づいて、前記印刷データを生成することを特徴とする請求項2に記載の印刷装置。
The content data includes template data indicating a fixed format into which the character data is inserted,
Template reading means for reading the template data stored in the third storage device when the command data received by the command receiving means is a command requesting the template data;
The web page generating means generates the web page for selectively displaying the read template data when the template data is read by the template reading means,
The print data generation unit generates the print data based on the content data in which the character data is inserted into the template data selected on the web page. Printing device.
JP2011018610A 2011-01-31 2011-01-31 Printing device Active JP5621627B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011018610A JP5621627B2 (en) 2011-01-31 2011-01-31 Printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011018610A JP5621627B2 (en) 2011-01-31 2011-01-31 Printing device

Publications (2)

Publication Number Publication Date
JP2012159971A JP2012159971A (en) 2012-08-23
JP5621627B2 true JP5621627B2 (en) 2014-11-12

Family

ID=46840466

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011018610A Active JP5621627B2 (en) 2011-01-31 2011-01-31 Printing device

Country Status (1)

Country Link
JP (1) JP5621627B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0872286A (en) * 1994-09-09 1996-03-19 Sony Corp Printer
JP2959545B2 (en) * 1997-03-25 1999-10-06 セイコーエプソン株式会社 Image information input / output device, control method for image information input / output device, and image information processing system
JP4467217B2 (en) * 2001-10-29 2010-05-26 株式会社リコー Printing system, program and recording medium
JP4132029B2 (en) * 2002-07-16 2008-08-13 株式会社サイバーネット Web printing system
JP2004206524A (en) * 2002-12-26 2004-07-22 Sato Corp Issue screen management system, issue screen management method, and issue screen management program
JP2005078128A (en) * 2003-08-28 2005-03-24 Seiko Epson Corp Printing system, and data processing method for printing system, program and storage medium
JP2006011856A (en) * 2004-06-25 2006-01-12 Fuji Photo Film Co Ltd Print order reception server
JP2008152545A (en) * 2006-12-18 2008-07-03 Seiko Epson Corp Print processing system and print method
JP4497189B2 (en) * 2007-10-04 2010-07-07 ブラザー工業株式会社 Label data creation device, program, and recording medium
JP5163960B2 (en) * 2009-03-04 2013-03-13 カシオ計算機株式会社 Tape printing apparatus, method for creating a composite label in which an image and a document are combined, and a storage medium storing a composite label creation program
EP2244180B1 (en) * 2009-04-24 2015-10-07 Sanford, L. P. Printing apparatus and controller therefor

Also Published As

Publication number Publication date
JP2012159971A (en) 2012-08-23

Similar Documents

Publication Publication Date Title
US8092104B2 (en) Tape printing apparatus
US7891564B2 (en) Label creating system, terminal device and computer program product
JP5909895B2 (en) Program, portable terminal, portable terminal control method, and printing system
US20080286024A1 (en) Image Data Generating Device, Tape Printer, Printing System, and Computer Program
JP2013015950A (en) Printing system, printing data generating device, control method of printing data generating device, and program
JP2010224703A (en) Information processing apparatus, tape printer, and program
JP2017154290A (en) Printer
JP2013161273A (en) Control device, printing system, printer, method for controlling print, and program
JP2012159972A (en) Printing system
JP5104424B2 (en) Label making device
JP5621627B2 (en) Printing device
JP2010214787A (en) Printer and tape printer
JP5354267B2 (en) Tape printer, division label creation method, and storage medium storing division label creation program
JP4352591B2 (en) Data drawing apparatus and recording medium
JP6195224B2 (en) Print data editing program
US8339652B2 (en) Label creating apparatus, method for controlling label creating apparatus and computer program
JP2012139953A (en) Label forming device and control method of label forming device
JP2004216736A (en) Tape printer
JP2011095970A (en) Information processing device and control method for the same
JP2010079345A (en) Software for label creation, label creation system, and label creation device
JP5636830B2 (en) Tape printer
JP2018008476A (en) Information processing device, tape printer, method for controlling information processing device, and program thereof
JP2012038191A (en) Electronic device and method for controlling electronic device
JP6079924B2 (en) Program, portable terminal, and portable terminal control method
JP2005250686A (en) Document creation device, tape printer, program, and method for creating document

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140312

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140908

R150 Certificate of patent or registration of utility model

Ref document number: 5621627

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150