JP2014215665A - Printing control method and printing control device - Google Patents

Printing control method and printing control device Download PDF

Info

Publication number
JP2014215665A
JP2014215665A JP2013090119A JP2013090119A JP2014215665A JP 2014215665 A JP2014215665 A JP 2014215665A JP 2013090119 A JP2013090119 A JP 2013090119A JP 2013090119 A JP2013090119 A JP 2013090119A JP 2014215665 A JP2014215665 A JP 2014215665A
Authority
JP
Japan
Prior art keywords
print
printing
format information
image
printing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013090119A
Other languages
Japanese (ja)
Other versions
JP2014215665A5 (en
JP6186836B2 (en
Inventor
英雄 中村
Hideo Nakamura
英雄 中村
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2013090119A priority Critical patent/JP6186836B2/en
Publication of JP2014215665A publication Critical patent/JP2014215665A/en
Publication of JP2014215665A5 publication Critical patent/JP2014215665A5/ja
Application granted granted Critical
Publication of JP6186836B2 publication Critical patent/JP6186836B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

PROBLEM TO BE SOLVED: To enable checking of the result of printing based on a printing format with a simple structure and easily and without installing special software.SOLUTION: In a printing control method, an XML document which is a markup document is input and converted based on prestored print format information. A Web page 29 is displayed on a Web browser 37. The Web page 29 includes a control script for displaying a print image 73a obtained by converting the markup document converted based on the print format information, based on model dependent information for a predetermined print device 11 having intelligent functions.

Description

本発明は、入力されたマークアップ文書に基づく印刷に係る印刷制御方法および印刷制御装置に関するものである。   The present invention relates to a print control method and a print control apparatus related to printing based on an input markup document.

従来、この種の印刷システム(ネットワークシステム)として、印刷装置と、印刷装置に接続されたコンピューターと、コンピューターにインターネットまたはイントラネットを介してネットワーク接続されたサーバーと、を備えたものが知られている(特許文献1参照)。このコンピューターは、XMLドキュメント(マークアップ文書)を入力するXMLドキュメント入力部と、出力フォーマット情報(印刷フォーマット情報)に基づいて、入力したXMLドキュメントを、出力フォーマット情報を反映したXMLドキュメントに変換する第1変換部と、機種依存情報に基づいて、変換したXMLドキュメントを印刷装置が処理可能な処理コマンドから成るバイナリデータに変換する第2変換部と、を備えている。また、XMLドキュメント入力部、第1変換部および第2変換部は、全てコンピューターに組み込まれたXMLパーサーにより機能するものである。これらにより、コンピューターにおいて、プリンタードライバーをインストールすることなく、印刷装置の利用が可能となる。これによって、プリンタードライバーを提供してコンピューターにインストールさせる場合に生じる問題、すなわち、OS(Operating System)毎のプリンタードライバーを提供する必要があるという問題や、コンピューターに、プリンタードライバーをインストールする手間がかかるという問題を解消している。   Conventionally, as this kind of printing system (network system), a printing apparatus, a computer connected to the printing apparatus, and a server connected to the computer via the Internet or an intranet via a network are known. (See Patent Document 1). The computer converts an input XML document into an XML document reflecting the output format information based on the XML document input unit for inputting the XML document (markup document) and the output format information (print format information). And a second conversion unit that converts the converted XML document into binary data including processing commands that can be processed by the printing apparatus based on the model-dependent information. The XML document input unit, the first conversion unit, and the second conversion unit all function by an XML parser incorporated in the computer. As a result, the printer can be used in the computer without installing a printer driver. As a result, there is a problem that occurs when a printer driver is provided and installed on a computer, that is, a problem that it is necessary to provide a printer driver for each OS (Operating System), and that it takes time to install the printer driver on the computer. The problem is solved.

特開2007−207141号公報JP 2007-207141 A

しかしながら、上記従来の印刷システムでは、プリンタードライバーを省略した結果、コンピューターにより、出力フォーマットを作成するのが煩雑となっているという問題が生じる。
すなわち、出力フォーマットを作成するには、基本的に、編集した出力フォーマットによって、どのような印刷結果が得られるかを確認し、これをフィードバックして、出力フォーマットを編集することを繰り返す必要がある。しかしながら、上記従来の印刷システムでは、編集した出力フォーマットによって、どのような印刷結果が得られるかを確認するのに、実際に印刷処理を実行してみるしか方法がなかった。そのため、出力フォーマットを編集する都度、印刷処理を実行して、印刷結果を確認する他なく、出力フォーマットの作成作業が著しく煩雑となっていた。
これに対し、メーカー側から出力フォーマット作成専用の編集ソフトウェアを提供し、コンピューターにインストールさせることも考えられるが、かかる場合、プリンタードライバーを提供する場合と同様に、OS毎の当該編集ソフトウェアを提供する必要があるという問題や、コンピューターに、当該編集ソフトウェアをインストールする手間がかかるという問題が生じる。
However, in the conventional printing system, as a result of omitting the printer driver, there is a problem that it is complicated to create an output format by a computer.
In other words, in order to create an output format, basically, it is necessary to confirm what kind of print result is obtained by the edited output format, feed back this, and repeatedly edit the output format. . However, in the above conventional printing system, there is only a method of actually executing a printing process in order to confirm what kind of printing result is obtained by the edited output format. Therefore, every time the output format is edited, the print processing is executed and the print result is confirmed, and the creation of the output format is extremely complicated.
On the other hand, it may be possible to provide editing software dedicated to output format creation from the manufacturer and install it on a computer. In such a case, the editing software for each OS is provided in the same manner as when a printer driver is provided. There arises a problem that it is necessary and a problem that it takes time to install the editing software on the computer.

本発明は、特段のソフトウェアをインストールすることなく、簡単な構成で且つ容易に、印刷フォーマットに基づく印刷結果を確認することができる印刷制御方法および印刷制御装置を提供することを課題としている。   An object of the present invention is to provide a print control method and a print control apparatus capable of easily confirming a print result based on a print format with a simple configuration without installing special software.

本発明の印刷制御方法は、マークアップ文書を入力し、入力されたマークアップ文書を、予め記憶された印刷フォーマット情報に基づいて変換し、印刷フォーマット情報に基づいて変換されたマークアップ文書を、予め定められた印刷装置の機種依存情報に基づいて変換した印刷イメージを表示する制御スクリプトを備えたページを、Webブラウザーで表示させることを特徴とする。   The print control method of the present invention inputs a markup document, converts the input markup document based on prestored print format information, and converts the markup document converted based on the print format information. A page having a control script for displaying a print image converted based on model-dependent information of a predetermined printing apparatus is displayed on a Web browser.

本発明の印刷制御装置は、マークアップ文書を入力する入力部と、印刷フォーマットに係る印刷フォーマット情報及び印刷装置の機種に依存する機種依存情報を記憶する記憶部と、入力部に入力されたマークアップ文書を、記憶部に記憶された印刷フォーマット情報に基づいて変換する変換部と、変換部で変換されたマークアップ文書を、機種依存情報に基づいて変換した印刷イメージをWebブラウザーで表示する表示部と、を有することを特徴とする。   The print control apparatus of the present invention includes an input unit that inputs a markup document, a storage unit that stores print format information related to the print format and model-dependent information that depends on the model of the printing apparatus, and a mark that is input to the input unit A conversion unit that converts an up-document based on print format information stored in the storage unit, and a display that displays a print image obtained by converting the markup document converted by the conversion unit based on model-dependent information on a Web browser And a portion.

本発明の構成によれば、上記ページ(いわゆるWebページ)の制御スクリプトにより、印刷フォーマットを反映した印刷イメージを表示するため、実際に印刷処理を実行しなくとも、印刷結果を確認することができ、印刷フォーマットの作成作業を容易に行うことができる。さらに、汎用のWebブラウザーがインストールされていれば、特段のソフトウェアをインストールすることなく、上記印刷イメージを表示することができるので、簡単な構成で且つ容易に、印刷結果を確認することができる。   According to the configuration of the present invention, since the print image reflecting the print format is displayed by the control script of the above page (so-called Web page), the print result can be confirmed without actually executing the print process. Thus, the creation of the print format can be easily performed. Furthermore, if a general-purpose web browser is installed, the print image can be displayed without installing special software, so the print result can be easily confirmed with a simple configuration.

この場合、制御スクリプトは、マークアップ言語で記述された印刷フォーマット情報をインポートして記憶することが好ましい。   In this case, the control script preferably imports and stores print format information described in a markup language.

本発明の構成によれば、上記ページの制御スクリプトにより、印刷フォーマットのサンプルをインポートすることができるので、ユーザーが、印刷フォーマットを一から作成する必要がない。これにより、印刷フォーマットの作成における利便性を向上することができる。   According to the configuration of the present invention, since the print format sample can be imported by the control script for the page, it is not necessary for the user to create the print format from scratch. Thereby, the convenience in creating a print format can be improved.

また、印刷イメージは、印刷装置の動作を示すアイコンを表示することが好ましい。   The print image preferably displays an icon indicating the operation of the printing apparatus.

本発明の構成によれば、ユーザーは、アイコンを確認することで、どのような動作を行うかを確認することができる。例えば、印字に付随して、用紙カット動作を行う場合には、用紙カット動作を示すアイコンを表示することで、ユーザーがそれを確認することができる。なお、「印刷装置の動作」としては、例えば、用紙カット動作、ブザー音出力動作およびキャッシュドロアーのドロアキック動作等が挙げられる。   According to the configuration of the present invention, the user can confirm what operation is performed by confirming the icon. For example, when a paper cutting operation is performed in association with printing, the user can confirm this by displaying an icon indicating the paper cutting operation. Examples of the “operation of the printing apparatus” include a sheet cutting operation, a buzzer sound output operation, and a cash drawer drawer kick operation.

さらに、印刷イメージは、コード画像またはロゴ画像が含まれているとき、コード画像またはロゴ画像の印字位置を示すアイコンを表示することが好ましい。   Furthermore, when the print image includes a code image or a logo image, it is preferable to display an icon indicating a print position of the code image or the logo image.

本発明の構成によれば、コード画像やロゴ画像そのものではなく、これらの印字位置を示すアイコンを表示することで、マークアップ文書を印刷イメージに変換するときの変換処理を簡易化することができる。これにより、印刷イメージを表示するまでにかかる時間(処理時間)を削減することができ、上記ページの利便性をより向上することができる。なお、コード画像とは、バーコード画像および二次元コード画像等を含む画像である。   According to the configuration of the present invention, the conversion process when converting a markup document into a print image can be simplified by displaying icons indicating the print positions instead of the code image or the logo image itself. . Thereby, the time (processing time) required to display the print image can be reduced, and the convenience of the page can be further improved. The code image is an image including a barcode image and a two-dimensional code image.

一方、制御スクリプトは、印刷フォーマット情報に基づいて変換されたマークアップ文書を、印刷装置に送信することが好ましい。   On the other hand, it is preferable that the control script transmits the markup document converted based on the print format information to the printing apparatus.

本発明の構成によれば、変換後のマークアップ文書を印刷装置に送信するので、印刷装置により、変換後のマークアップ文書を、機種依存情報に基づいて変換して印刷することができる。つまり、変換後のマークアップ文書を用いて、作成した印刷フォーマットによるテスト印刷を実行することができ、より実際の印刷に近い形で、作成した印刷フォーマットを反映した印刷結果を確認することができる。   According to the configuration of the present invention, since the converted markup document is transmitted to the printing apparatus, the converted markup document can be converted and printed based on the model-dependent information by the printing apparatus. In other words, using the converted markup document, it is possible to execute test printing in the created print format, and confirm the print result reflecting the created print format in a form closer to actual printing. .

また、制御スクリプトは、マークアップ文書を、印刷装置に送信することが好ましい。   The control script preferably transmits the markup document to the printing apparatus.

本発明の構成によれば、変換前のマークアップ文書を印刷装置に送信するので、印刷装置により、変換前のマークアップ文書を、印刷フォーマットおよび機種依存情報に基づいて変換して印刷することができる。つまり、作成した印刷フォーマットによる本印刷を実行することができる。   According to the configuration of the present invention, since the markup document before conversion is transmitted to the printing apparatus, the markup document before conversion can be converted and printed based on the print format and the model-dependent information by the printing apparatus. it can. That is, it is possible to execute the main printing with the created printing format.

本発明の一実施形態に係る印刷システムのシステム構成図である。1 is a system configuration diagram of a printing system according to an embodiment of the present invention. Webサーバーおよびホストコンピューターの制御構成を示した制御ブロック図である。It is the control block diagram which showed the control structure of the web server and the host computer. インテリジェント機能付き印刷装置の制御構成を示した制御ブロック図である。FIG. 2 is a control block diagram illustrating a control configuration of a printing apparatus with an intelligent function. (a)は、Webページを示した図であり、(b)は、リクエスト画面を示した図面である。(A) is a diagram showing a Web page, and (b) is a diagram showing a request screen. (a)は、変換操作画面を示した図であり、(b)は、プレビュー表示画面を示した図である。(A) is the figure which showed the conversion operation screen, (b) is the figure which showed the preview display screen. (a)は、テスト印刷指示画面を示した図であり、(b)は、スタイルシート確認画面を示した図である。(A) is a diagram showing a test print instruction screen, (b) is a diagram showing a style sheet confirmation screen. (a)は、本印刷指示画面を示した図であり、(b)は、設定画面を示した図である。(A) is the figure which showed this printing instruction | indication screen, (b) is the figure which showed the setting screen. 制御スクリプトの機能構成を示した機能ブロック図である。It is the functional block diagram which showed the function structure of the control script. 制御装置の機能構成を示した機能ブロック図である。It is the functional block diagram which showed the function structure of the control apparatus.

以下、添付の図面を参照して、本発明の一実施形態に係る印刷制御方法、コンピューターおよび印刷システムについて説明する。本実施形態では、本発明を適用した印刷システムを例示する。この印刷システムは、POS(Point Of Sales System)システムの一部を構成するものであり、決済処理データや注文データに基づいて、レシートや注文伝票を印刷するものである。また、この印刷システムは、プリンタードライバーに相当するXML(Extensible Markup Language)Webサービスプリント機能を印刷装置に搭載したものである。つまり、ホストコンピューター側に、専用のプリンタードライバーをインストールすることなく、Webブラウザーを用いて印刷装置を動作させることができる構成を有している。以下、XMLWebサービスプリント機能を搭載した印刷装置を「インテリジェント機能付き印刷装置」と称する。これに対し、XMLWebサービスプリント機能を搭載していない印刷装置を、単に「印刷装置」と称する。なお、請求項にいう「印刷装置」は、インテリジェント機能付き印刷装置11を指す。   Hereinafter, a printing control method, a computer, and a printing system according to an embodiment of the present invention will be described with reference to the accompanying drawings. In this embodiment, a printing system to which the present invention is applied is exemplified. This printing system forms part of a POS (Point Of Sales System) system, and prints receipts and order slips based on payment processing data and order data. In addition, this printing system has an XML (Extensible Markup Language) Web service print function equivalent to a printer driver installed in a printing apparatus. That is, the printing apparatus can be operated using a Web browser without installing a dedicated printer driver on the host computer side. Hereinafter, a printing apparatus equipped with the XML Web service print function is referred to as a “printing apparatus with an intelligent function”. In contrast, a printing apparatus not equipped with the XML Web service print function is simply referred to as a “printing apparatus”. The “printing device” in the claims refers to the printing device 11 with an intelligent function.

図1に示すように、印刷システム1は、印刷を実施するインテリジェント機能付き印刷装置11と、インテリジェント機能付き印刷装置11に接続されると共に、印刷指示を行うホストコンピューター(印刷制御装置)12と、ホストコンピューター12に接続されたWeb(World wide Web)サーバー13と、で構成されている。インテリジェント機能付き印刷装置11は、印刷装置16と、印刷装置16を制御する制御装置17とで構成されている。   As shown in FIG. 1, a printing system 1 includes a printing apparatus 11 with an intelligent function that performs printing, a host computer (printing control apparatus) 12 that is connected to the printing apparatus 11 with an intelligent function and issues a print instruction, And a Web (World Wide Web) server 13 connected to the host computer 12. The intelligent function-equipped printing apparatus 11 includes a printing apparatus 16 and a control device 17 that controls the printing apparatus 16.

インテリジェント機能付きの印刷装置11とホストコンピューター12とは、有線/無線ローカルエリアネットワーク(LAN)を介して接続されている。また、ホストコンピューター12とWebサーバー13とは、インターネットまたはイントラネットのネットワークNWを介して接続されている。なお、ホストコンピューター12は、決済処理データや注文データを生成するPOS端末やオーダリング端末である。一方、インテリジェント機能付き印刷装置11は、会計レシートや注文伝票を発行するプリンターである。   The intelligent printing device 11 and the host computer 12 are connected via a wired / wireless local area network (LAN). Further, the host computer 12 and the Web server 13 are connected via the Internet or an intranet network NW. The host computer 12 is a POS terminal or ordering terminal that generates payment processing data and order data. On the other hand, the printing apparatus 11 with an intelligent function is a printer that issues an accounting receipt and an order slip.

続いて、図2および図3を参照して、Webサーバー13、ホストコンピューター12およびインテリジェント機能付き印刷装置11の制御構成について説明する。図2に示すように、Webサーバー13は、制御部21、通信部22および記憶部23の他、一般的なコンピューターに搭載される不図示のハードウェア構成を有している。制御部21は、CPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)等により構成されている。記憶部23は、例えばHDD(Hard Disk Drive)であり、HTTP(Hypertext Transfer Protocol)サーバー26および印刷指示用のWebアプリケーション27を記憶している。   Next, the control configuration of the Web server 13, the host computer 12, and the intelligent function printing apparatus 11 will be described with reference to FIGS. As shown in FIG. 2, the Web server 13 has a hardware configuration (not shown) mounted on a general computer in addition to the control unit 21, the communication unit 22, and the storage unit 23. The control unit 21 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The storage unit 23 is, for example, an HDD (Hard Disk Drive), and stores an HTTP (Hypertext Transfer Protocol) server 26 and a web application 27 for print instructions.

通信部22は、ホストコンピューター12との通信を行うインターフェースである。このWebサーバー13とホストコンピューター12との通信は、HTTPサーバー26によりHTTPに基づいて行われる。すなわち、Webサーバー13は、ホストコンピューター12(Webブラウザー37)からのHTTPリクエストを受け付け、このHTTPリクエストに含まれるURL(Uniform Resource Locator)に基づいて、Webアプリケーション27が提供するWebページ(ページ)29(図4(a)参照)をホストコンピューター12に送信する。   The communication unit 22 is an interface that communicates with the host computer 12. Communication between the Web server 13 and the host computer 12 is performed by the HTTP server 26 based on HTTP. That is, the Web server 13 receives an HTTP request from the host computer 12 (Web browser 37), and a Web page (page) 29 provided by the Web application 27 based on a URL (Uniform Resource Locator) included in the HTTP request. (See FIG. 4A) is transmitted to the host computer 12.

このWebページ29には、制御スクリプトが組み込まれている。厳密には、制御スクリプトは、Webページ29を制御するページ制御スクリプトと、印刷指示等を行う印刷制御スクリプトとにより構成されている。詳細は後述するが、ホストコンピューター12は、当該制御スクリプトにより印刷指示や印刷設定を行う。すなわち、当該制御スクリプトが、プリンタードライバーの役割を担っている。また、当該制御スクリプトが、印刷フォーマットを編集する印刷フォーマット編集ツールとして機能している。   A control script is incorporated in the web page 29. Strictly speaking, the control script is composed of a page control script for controlling the Web page 29 and a print control script for giving a print instruction or the like. Although details will be described later, the host computer 12 performs a print instruction and print setting by the control script. That is, the control script plays the role of a printer driver. The control script functions as a print format editing tool for editing the print format.

ホストコンピューター12は、制御部31、表示部32、通信部33、記憶部34および操作部35を備えている。制御部31は、CPU、ROM、RAM等を有し、ホストコンピューター12全体を制御する。   The host computer 12 includes a control unit 31, a display unit 32, a communication unit 33, a storage unit 34, and an operation unit 35. The control unit 31 includes a CPU, a ROM, a RAM, and the like, and controls the entire host computer 12.

記憶部34は、例えばHDDであり、Webブラウザー37を記憶している。本実施形態では、Webブラウザー37として、プラグインモジュールをサポートしない単機能ブラウザー(標準のブラウザー)を用いる。制御部31は、このWebブラウザー37により、通信部33を介してWebサーバー13にアクセスし、Webアプリケーション27が提供するWebページ29を取得する。また、制御部31は、Webページ29に組み込まれたページ制御スクリプトによってユーザーの印刷指示操作を受け付けると、同じくWebページ29に組み込まれた印刷制御スクリプトを実行してXML文書(マークアップ文書:印刷データ)を生成し、インテリジェント機能付き印刷装置11(制御装置17)に送信する。XML文書とは、XML言語で記述されたドキュメントである。   The storage unit 34 is, for example, an HDD, and stores a web browser 37. In this embodiment, a single-function browser (standard browser) that does not support plug-in modules is used as the Web browser 37. The control unit 31 uses the web browser 37 to access the web server 13 via the communication unit 33 and acquires the web page 29 provided by the web application 27. When the control unit 31 receives a user's print instruction operation using a page control script incorporated in the Web page 29, the control unit 31 also executes the print control script incorporated in the Web page 29 to execute an XML document (markup document: print). Data) is generated and transmitted to the printing device 11 with intelligent function (control device 17). An XML document is a document described in the XML language.

表示部32は、取得したWebページ29を、Webブラウザー37で表示すると共に、Webブラウザー37の操作に伴う各種通知画面や設定画面を表示する。操作部35は、表示したWebページ29において、印刷指示等の各種操作に用いられる。なお、表示部32と操作部35とを、別々のハードウェアで構成しても良いし、タッチパネルで一体に構成しても良い。   The display unit 32 displays the acquired web page 29 on the web browser 37 and also displays various notification screens and setting screens associated with the operation of the web browser 37. The operation unit 35 is used for various operations such as a print instruction on the displayed Web page 29. The display unit 32 and the operation unit 35 may be configured by separate hardware or may be configured integrally by a touch panel.

通信部33は、Webサーバー13および制御装置17と通信を行うインターフェースである。具体的には、ホストコンピューター12は、通信部33により、Webサーバー13からWebページ29を取得すると共に、制御装置17に対し、XML文書を送信する。   The communication unit 33 is an interface that communicates with the Web server 13 and the control device 17. Specifically, the host computer 12 acquires a Web page 29 from the Web server 13 through the communication unit 33 and transmits an XML document to the control device 17.

次に、インテリジェント機能付き印刷装置11の制御構成について説明する。図3に示すように、インテリジェント機能付き印刷装置11は、印刷装置16と制御装置17とを組み合わせたものである。また、本実施形態の制御装置17は、印刷装置16に着脱自在に装着されたインターフェースボードにより構成されている。なお、制御装置17を、別体の制御ボックスとして印刷装置16に外付け(接続)する構成であっても良い。   Next, the control configuration of the printing apparatus 11 with intelligent functions will be described. As shown in FIG. 3, the intelligent function-equipped printing apparatus 11 is a combination of a printing apparatus 16 and a control apparatus 17. In addition, the control device 17 of the present embodiment is configured by an interface board that is detachably attached to the printing device 16. The control device 17 may be externally connected (connected) to the printing device 16 as a separate control box.

制御装置17は、制御部41、ボード側インターフェース42、記憶部43および通信部44を備えている。制御部41は、CPU等を有し、制御装置17全体を制御する。ボード側インターフェース42は、印刷装置16(装置側インターフェース55)との通信を行う。   The control device 17 includes a control unit 41, a board side interface 42, a storage unit 43, and a communication unit 44. The control unit 41 includes a CPU and the like, and controls the entire control device 17. The board side interface 42 communicates with the printing device 16 (device side interface 55).

制御装置17は、ホストコンピューター12から受信したXML文書を、印刷装置16で処理可能な印刷制御コマンド(ESC/POS(登録商標)コマンド)に変換して、印刷装置16に送信する。   The control device 17 converts the XML document received from the host computer 12 into a print control command (ESC / POS (registered trademark) command) that can be processed by the printing device 16 and transmits it to the printing device 16.

印刷装置16は、制御部51、記憶部52、印刷機構53、バッファー54および装置側インターフェース55を備えている。制御部51は、CPU等を有し、印刷装置16を制御する。   The printing device 16 includes a control unit 51, a storage unit 52, a printing mechanism 53, a buffer 54, and a device-side interface 55. The control unit 51 includes a CPU and the like and controls the printing device 16.

印刷機構53は、印刷ヘッド、用紙送り機構、用紙切断機構などを含み、制御部51の制御下で印刷動作を行う。なお、印刷方式は、インクジェット方式やレーザー方式など、その種類は問わない。   The printing mechanism 53 includes a print head, a paper feeding mechanism, a paper cutting mechanism, and the like, and performs a printing operation under the control of the control unit 51. In addition, the printing system does not ask | require the kind, such as an inkjet system and a laser system.

バッファー54は、受信データである印刷制御コマンドを一時的に格納しておく受信バッファーである。一方、印刷機構53は、バッファー54に格納されているデータを順次読みだして印刷を行う。装置側インターフェース55は、制御装置17(ボード側インターフェース42)との通信を行う。印刷装置16は、装置側インターフェース55を介して制御装置17から印刷制御コマンドを受信し、これに基づいて印刷を行う。   The buffer 54 is a reception buffer that temporarily stores print control commands that are reception data. On the other hand, the printing mechanism 53 sequentially reads out the data stored in the buffer 54 and performs printing. The device side interface 55 communicates with the control device 17 (board side interface 42). The printing device 16 receives a print control command from the control device 17 via the device-side interface 55, and performs printing based on this command.

ここで図4ないし図8を参照して、Webアプリケーション27により提供される印刷フォーマット編集用のWebページ29および、当該Webページ29に組み込まれた制御スクリプトについて説明する。図4(a)に示すように、Webページ29は、複数のタブ61〜67と、選択された各タブ61〜67に対応する画面を表示する画面表示領域68とを有している。   Here, with reference to FIG. 4 to FIG. 8, a web page 29 for print format editing provided by the web application 27 and a control script incorporated in the web page 29 will be described. As shown in FIG. 4A, the Web page 29 has a plurality of tabs 61 to 67 and a screen display area 68 that displays a screen corresponding to each selected tab 61 to 67.

複数のタブ61〜67には、リクエストタブ61、変換タブ62、プレビュータブ63、テスト印刷タブ64、スタイルシートタブ65、印刷タブ66および設定タブ67が含まれている。すなわち、Webページ29では、リクエストタブ61が選択された場合、画面表示領域68にリクエスト画面71(図4(b)参照)を表示する。変換タブ62が選択された場合、画面表示領域68に変換操作画面72(図5(a)参照)を表示する。プレビュータブ63が選択された場合、画面表示領域68にプレビュー表示画面73(図5(b)参照)を表示する。テスト印刷タブ64が選択された場合、画面表示領域68にテスト印刷指示画面74(図6(a)参照)を表示する。スタイルシートタブ65が選択された場合、画面表示領域68にスタイルシート確認画面75(図6(b)参照)を表示する。印刷タブ66が選択された場合、画面表示領域68に本印刷指示画面76(図7(a)参照)を表示する。設定タブ67が選択された場合、画面表示領域68に設定画面77(図7(b)参照)を表示する。なお、図4(a)では、画面表示領域68における画面表示を省略しているが、デフォルトの状態では、変換タブ62が選択された状態となっているものとする。   The plurality of tabs 61 to 67 include a request tab 61, a conversion tab 62, a preview tab 63, a test print tab 64, a style sheet tab 65, a print tab 66, and a setting tab 67. That is, on the Web page 29, when the request tab 61 is selected, the request screen 71 (see FIG. 4B) is displayed in the screen display area 68. When the conversion tab 62 is selected, a conversion operation screen 72 (see FIG. 5A) is displayed in the screen display area 68. When the preview tab 63 is selected, a preview display screen 73 (see FIG. 5B) is displayed in the screen display area 68. When the test print tab 64 is selected, a test print instruction screen 74 (see FIG. 6A) is displayed in the screen display area 68. When the style sheet tab 65 is selected, a style sheet confirmation screen 75 (see FIG. 6B) is displayed in the screen display area 68. When the print tab 66 is selected, a main print instruction screen 76 (see FIG. 7A) is displayed in the screen display area 68. When the setting tab 67 is selected, a setting screen 77 (see FIG. 7B) is displayed in the screen display area 68. In FIG. 4A, screen display in the screen display area 68 is omitted, but it is assumed that the conversion tab 62 is selected in the default state.

図4(b)に示すように、リクエスト画面71は、XML文書を入力する入力画面である。リクエスト画面71は、入力欄71aを有し、決済処理データや注文データのXML文書が当該入力欄71aに入力される。   As shown in FIG. 4B, the request screen 71 is an input screen for inputting an XML document. The request screen 71 has an input field 71a, and an XML document of settlement processing data and order data is input to the input field 71a.

図5(a)に示すように、変換操作画面72は、印刷フォーマットに係る印刷フォーマット情報を入力する入力/編集画面である。変換操作画面72は、画面中の右側に広く配置されると共に、編集中の印刷フォーマット情報を表示する編集領域72aと、画面中の左側に配置されると共に、印刷設定要素や印字要素を印刷フォーマット情報に追加する各種要素追加アイコン72bと、を有している。各種要素追加アイコン72bによる印刷設定要素や印字要素の追加と、追加した印刷設定要素や印字要素の設定とを繰り返し行うことで、印刷フォーマット情報が編集されて作成される。これにより、印刷フォーマット情報が入力される。なお、同図に示すように、印字要素には、バーコード画像や二次元コード画像、ロゴ画像等の画像要素が含まれている。以下、バーコード画像および二次元コード画像をまとめて、単にコード画像と呼称する。   As shown in FIG. 5A, the conversion operation screen 72 is an input / edit screen for inputting print format information relating to a print format. The conversion operation screen 72 is widely arranged on the right side of the screen, and an editing area 72a for displaying the print format information being edited, and is arranged on the left side of the screen, and print setting elements and print elements are displayed in the print format. Various element addition icons 72b to be added to the information are included. The print format information is edited and created by repeatedly adding the print setting element and the print element using the various element addition icons 72b and setting the added print setting element and the print element. Thereby, the print format information is input. As shown in the figure, the printing element includes image elements such as a barcode image, a two-dimensional code image, and a logo image. Hereinafter, the barcode image and the two-dimensional code image are collectively referred to as a code image.

なお、同図に示すように、変換操作画面72には、印刷フォーマットのサンプルをインポートするインポートボタン72cが設けられている。例えば、インポートボタン72cがクリックされると、マークアップ言語で記述された印刷フォーマットのサンプルを選択する選択画面(図示省略)を表示する。ユーザーによって当該選択画面における複数のサンプルの中から1のサンプルが選択されると、選択した当該サンプルをインポートする。当該インポートによって、編集領域72a上に、インポートしたサンプルの印刷フォーマット情報が反映される。   As shown in the figure, the conversion operation screen 72 is provided with an import button 72c for importing a print format sample. For example, when the import button 72c is clicked, a selection screen (not shown) for selecting a print format sample described in a markup language is displayed. When one sample is selected from a plurality of samples on the selection screen by the user, the selected sample is imported. By this import, the print format information of the imported sample is reflected on the editing area 72a.

図5(b)に示すように、プレビュー表示画面73は、プレビュー画像である印刷イメージ73aを表示する。印刷イメージ73aは、リクエスト画面71で入力されたXML文書に、印刷フォーマット情報および機種依存情報を反映した印刷結果のイメージである。また、同図に示すように、印刷イメージ73aの一部として、インテリジェント機能付き印刷装置11の、用紙カット動作等の印字に関係しない動作を示すアイコン73bで表示する。また、同図に示すように、印刷イメージ73aと共に、印刷結果の幅寸法73cをドット数で表示することが好ましい。なお、コード画像やロゴ画像は、画像そのものを表示するのではなく、当該画像の印字位置を示すアイコンを表示する。   As shown in FIG. 5B, the preview display screen 73 displays a print image 73a that is a preview image. The print image 73 a is an image of a print result in which print format information and model-dependent information are reflected in the XML document input on the request screen 71. Further, as shown in the figure, as a part of the print image 73a, an icon 73b indicating an operation not related to printing, such as a sheet cutting operation, of the printing apparatus 11 with the intelligent function is displayed. Further, as shown in the figure, it is preferable to display the width dimension 73c of the printing result with the number of dots together with the printing image 73a. The code image and the logo image do not display the image itself, but display an icon indicating the print position of the image.

図6(a)に示すように、テスト印刷指示画面74は、テスト印刷を指示する操作画面である。テスト印刷指示画面74は、テスト印刷に際して送信するXML文書(印刷フォーマット情報を反映したもの)を表示するXML文書表示領域74aと、テスト印刷を指示する送信ボタン74bと、を有している。また、同図に示すように、インテリジェント機能付き印刷装置11のステータスイベント情報を表示するステータス表示領域74cと、ステータスイベント情報を消去する消去ボタン74dとを有することが好ましい。   As shown in FIG. 6A, the test print instruction screen 74 is an operation screen for instructing test printing. The test print instruction screen 74 has an XML document display area 74a for displaying an XML document (which reflects print format information) to be transmitted at the time of test printing, and a transmission button 74b for instructing test printing. Further, as shown in the figure, it is preferable to have a status display area 74c for displaying status event information of the printing apparatus 11 with an intelligent function and a delete button 74d for deleting status event information.

図6(b)に示すように、スタイルシート確認画面75は、印刷フォーマット情報(スタイルシート)をXML言語で表示する。なお、表示した印刷フォーマット情報は編集不能となっている。   As shown in FIG. 6B, the style sheet confirmation screen 75 displays print format information (style sheet) in the XML language. The displayed print format information is not editable.

図7(a)に示すように、本印刷指示画面76は、本印刷を指示する操作画面である。本印刷指示画面76は、本印刷に際して送信するXML文書(印刷フォーマット情報を反映していないもの)を表示するXML文書表示領域76aと、本印刷を指示する送信ボタン76bと、を有している。また、同図に示すように、インテリジェント機能付き印刷装置11からのレスポンスメッセージを表示するメッセージ表示領域76cと、レスポンスメッセージを消去する消去ボタン76dとを有することが好ましい。   As shown in FIG. 7A, the main print instruction screen 76 is an operation screen for instructing main print. The main print instruction screen 76 has an XML document display area 76a for displaying an XML document (not reflecting print format information) to be transmitted at the time of main print, and a send button 76b for instructing main print. . Further, as shown in the figure, it is preferable to have a message display area 76c for displaying a response message from the printing apparatus 11 with an intelligent function, and a delete button 76d for deleting the response message.

図7(b)に示すように、設定画面77は、プレビュー表示や印刷に係る各種設定を行う画面である。設定画面77では、プレビュー表示に係る設定として、印刷装置16の機種設定と、用紙サイズ(幅寸法)の設定(用紙サイズが可変可能な機種に限る)と、を行うことができる。一方、印刷に係る設定として、インテリジェント機能付き印刷装置11のIP(Internet Protocol)アドレスの設定と、印刷する印刷装置16のデバイス識別子(ID)の設定と、印刷タイムアウトの設定と、インテリジェント機能付き印刷装置11のステータス監視の有無の設定と、を行うことができる。   As shown in FIG. 7B, the setting screen 77 is a screen for performing various settings related to preview display and printing. On the setting screen 77, settings relating to the preview display can be made by setting the model of the printing apparatus 16 and setting the paper size (width dimension) (limited to models that can change the paper size). On the other hand, as settings relating to printing, setting of an IP (Internet Protocol) address of the printing apparatus 11 with intelligent function, setting of a device identifier (ID) of the printing apparatus 16 to be printed, setting of print timeout, and printing with intelligent function The presence / absence of status monitoring of the apparatus 11 can be set.

続いて図8を参照して、Webページ29の制御スクリプトの機能構成について説明する。図8は、当該制御スクリプトの機能ブロック図である。図8に示すように、制御スクリプトは、主な機能構成として、印刷フォーマット情報入力部81、印刷フォーマット情報記憶部82、印刷フォーマット情報登録部83、XML文書入力部(入力部)84、変換部85、変換後文書記憶部86、機種依存情報記憶部87、印刷イメージ表示部(表示部)88、変換後文書送信部89および変換前文書送信部90を備えている。請求項にいう「記憶部」は、印刷フォーマット記憶部82および機種依存情報記憶部87で構成されている。   Next, the functional configuration of the control script of the Web page 29 will be described with reference to FIG. FIG. 8 is a functional block diagram of the control script. As shown in FIG. 8, the control script has, as main functional components, a print format information input unit 81, a print format information storage unit 82, a print format information registration unit 83, an XML document input unit (input unit) 84, and a conversion unit. 85, a post-conversion document storage unit 86, a model-dependent information storage unit 87, a print image display unit (display unit) 88, a post-conversion document transmission unit 89, and a pre-conversion document transmission unit 90. The “storage unit” described in the claims includes a print format storage unit 82 and a model-dependent information storage unit 87.

印刷フォーマット情報入力部81は、変換操作画面72によりユーザー操作を受け付け、ユーザー操作に従って印刷フォーマット情報を入力する。また、印刷フォーマット情報入力部81は、ユーザー操作に従って、印刷フォーマットのサンプルをインポートする。印刷フォーマット情報記憶部82は、入力(またはインポート)した印刷フォーマット情報を記憶する。   The print format information input unit 81 receives a user operation through the conversion operation screen 72 and inputs the print format information according to the user operation. The print format information input unit 81 imports a sample print format in accordance with a user operation. The print format information storage unit 82 stores the input (or imported) print format information.

印刷フォーマット情報登録部83は、入力した印刷フォーマット情報を、インテリジェント機能付き印刷装置11に登録する。例えば、制御装置17をサーバーとする登録用のWebページ29に、当該印刷フォーマット情報をアップロードする形で、印刷フォーマット情報を登録する。かかる場合、制御装置17は、ネットワークNWに接続されている必要がある。なお、当該印刷フォーマット情報を直接、制御装置17に送信して、印刷フォーマット情報を登録する構成であっても良い。または、印刷フォーマット情報をWebサーバー13上に一旦登録し、制御装置17がこれを読み出す形で、印刷フォーマット情報を登録する構成であっても良い。   The print format information registering unit 83 registers the input print format information in the intelligent function printing apparatus 11. For example, the print format information is registered in the form of uploading the print format information to the registration Web page 29 using the control device 17 as a server. In such a case, the control device 17 needs to be connected to the network NW. The print format information may be directly transmitted to the control device 17 to register the print format information. Alternatively, the printing format information may be registered in such a manner that the printing format information is once registered on the Web server 13 and is read by the control device 17.

XML文書入力部84は、リクエスト画面71によりユーザー操作を受け付け、ユーザー操作に従って、決済処理データや注文データのXML文書を入力する。変換部85は、入力された印刷フォーマット情報に基づいて、入力されたXML文書を、当該印刷フォーマット情報を反映したXML文書に変換する。なお、印刷フォーマットのサンプルがインポートされている場合には、インポートされた当該サンプルに基づいて、入力されたXML文書を変換する。   The XML document input unit 84 receives a user operation from the request screen 71 and inputs an XML document of payment processing data or order data according to the user operation. The conversion unit 85 converts the input XML document into an XML document reflecting the print format information based on the input print format information. When a sample of the print format is imported, the input XML document is converted based on the imported sample.

変換後文書記憶部86は、変換部85によって変換された変換後のXML文書を記憶する。機種依存情報記憶部87は、各種印刷装置16の機種依存情報を記憶する。機種依存情報は、印刷装置16の機種に依存する情報である。   The converted document storage unit 86 stores the converted XML document converted by the conversion unit 85. The model-dependent information storage unit 87 stores model-dependent information of various printing apparatuses 16. The model-dependent information is information that depends on the model of the printing apparatus 16.

印刷イメージ表示部88は、機種依存情報に基づいて、変換後文書記憶部86に記憶された変換後のXML文書を印刷イメージ73aに変換し、プレビュー表示画面73上に表示する。ここでは、設定画面77で設定された機種の機種依存情報や用紙サイズを用いて、印刷イメージ73aを生成する。また、上述した通り、インテリジェント機能付き印刷装置11で、印字に付随して印字に関係しない動作を行う場合には、印刷イメージ73aの一部として、当該動作を示すアイコン73bを表示する。また、コード画像やロゴ画像等の画像要素を印字する場合(印字要素として当該画像要素が含まれているとき)には、これらに代え、印刷イメージ73aの一部として、これらの画像の印字位置を示すと共にこれらの画像に対応したアイコンを表示する。   The print image display unit 88 converts the converted XML document stored in the converted document storage unit 86 into a print image 73 a based on the model-dependent information, and displays it on the preview display screen 73. Here, the print image 73a is generated using the model-dependent information and the paper size of the model set on the setting screen 77. Further, as described above, when the printing apparatus 11 with an intelligent function performs an operation not related to printing accompanying printing, an icon 73b indicating the operation is displayed as a part of the print image 73a. Further, when printing image elements such as code images and logo images (when the image elements are included as print elements), the print positions of these images are used as a part of the print image 73a instead. And icons corresponding to these images are displayed.

変換後文書送信部89は、テスト印刷に用いる変換後のXML文書を、インテリジェント機能付き印刷装置11(制御装置17)に送信するものである。すなわち、変換後文書送信部89は、テスト印刷指示画面74によりユーザー操作(送信ボタン74bのクリック:テスト印刷の指示)を受け付け、ユーザー操作に従って、変換後文書記憶部86に記憶された変換後のXML文書を、インテリジェント機能付き印刷装置11に送信する。   The converted document transmission unit 89 transmits the converted XML document used for the test printing to the printing device 11 with the intelligent function (control device 17). That is, the converted document transmission unit 89 accepts a user operation (click on the transmission button 74b: test print instruction) from the test print instruction screen 74, and the converted document stored in the converted document storage unit 86 according to the user operation. The XML document is transmitted to the intelligent function printing apparatus 11.

変換前文書送信部90は、本印刷に用いる変換前のXML文書を、インテリジェント機能付き印刷装置11(制御装置17)に送信するものである。すなわち、変換前文書送信部90は、本印刷指示画面76によりユーザー操作(送信ボタン76bのクリック:本印刷の指示)を受け付け、ユーザー操作に従って、XML文書入力部84により入力された変換前のXML文書を、インテリジェント機能付き印刷装置11に送信する。   The pre-conversion document transmission unit 90 transmits the pre-conversion XML document used for the main printing to the intelligent function printing apparatus 11 (control apparatus 17). That is, the pre-conversion document transmission unit 90 receives a user operation (clicking on the transmission button 76b: main print instruction) from the main print instruction screen 76, and the pre-conversion XML input by the XML document input unit 84 according to the user operation. The document is transmitted to the printing apparatus 11 with intelligent function.

このような構成により、制御スクリプトは、印刷フォーマット情報入力部81により、ユーザー操作に従って、印刷フォーマット情報を入力する。印刷フォーマット情報が入力されたら、印刷フォーマット情報記憶部82に当該印刷フォーマット情報を記憶する。一方、XML文書入力部84により、ユーザー操作に従って、決済処理データや注文データのXML文書を入力する。XML文書が入力されたら、変換部85により、当該XML文書を、印刷フォーマット情報に基づいて変換し、変換後のXML文書を変換後文書記憶部86に記憶する。そして、印刷イメージ表示部88により、機種依存情報に基づいて、変換後のXML文書を印刷イメージ73aに変換してこれを表示する。さらに、変換後文書送信部89により、ユーザー操作に従って、変換後のXML文書を送信してテスト印刷を指示する。また、テスト印刷により問題がない場合は、印刷フォーマット情報登録部83により、印刷フォーマット情報記憶部82に記憶されている印刷フォーマット情報を、インテリジェント機能付き印刷装置11に登録する。その後、変換前文書送信部90により、ユーザー操作に従って、変換前のXML文書を送信して本印刷を指示する。   With such a configuration, the control script inputs the print format information by the print format information input unit 81 according to the user operation. When the print format information is input, the print format information is stored in the print format information storage unit 82. On the other hand, the XML document input unit 84 inputs an XML document of payment processing data or order data in accordance with a user operation. When the XML document is input, the conversion unit 85 converts the XML document based on the print format information, and stores the converted XML document in the converted document storage unit 86. Then, the print image display unit 88 converts the converted XML document into a print image 73a based on the model-dependent information and displays it. Further, the converted document transmission unit 89 transmits the converted XML document in accordance with a user operation to instruct test printing. If there is no problem with the test printing, the print format information registration unit 83 registers the print format information stored in the print format information storage unit 82 in the printing apparatus 11 with an intelligent function. Thereafter, the pre-conversion document transmission unit 90 transmits the pre-conversion XML document according to the user operation, and instructs the main printing.

次に図9を参照して、制御装置17の機能構成について説明する。図9は、制御装置17の機能ブロック図である。図9に示すように、制御装置17は、主な機能構成として、印刷フォーマット情報記憶部96、機種依存情報記憶部97、テスト印刷制御部98および本印刷制御部99を備えている。   Next, the functional configuration of the control device 17 will be described with reference to FIG. FIG. 9 is a functional block diagram of the control device 17. As shown in FIG. 9, the control device 17 includes a print format information storage unit 96, a model-dependent information storage unit 97, a test print control unit 98, and a main print control unit 99 as main functional configurations.

印刷フォーマット情報記憶部96は、印刷フォーマット情報登録部83により登録された印刷フォーマット情報を記憶する。機種依存情報記憶部97は、各種印刷装置16の機種依存情報を記憶する。   The print format information storage unit 96 stores the print format information registered by the print format information registration unit 83. The model-dependent information storage unit 97 stores model-dependent information of various printing apparatuses 16.

テスト印刷制御部98は、テスト印刷に係る印刷制御コマンドを、印刷装置16に送信する。具体的には、テスト印刷制御部98は、変換後文書送信部89により送信された変換後のXML文書を受信すると共に、機種依存情報記憶部97から、印刷装置16の機種依存情報を読み出す。そして、読み出した機種依存情報に基づいて、受信したXML文書を印刷制御コマンドに変換し、印刷装置16に送信する。これにより、印刷装置16にテスト印刷を実施させる。   The test print control unit 98 transmits a print control command related to test printing to the printing apparatus 16. Specifically, the test print control unit 98 receives the converted XML document transmitted by the converted document transmission unit 89 and reads the model-dependent information of the printing device 16 from the model-dependent information storage unit 97. The received XML document is converted into a print control command based on the read model-dependent information and transmitted to the printing apparatus 16. This causes the printing device 16 to perform test printing.

本印刷制御部99は、本印刷に係る印刷制御コマンドを、印刷装置16に送信する。具体的には、本印刷制御部99は、変換前文書送信部90により送信された変換前のXML文書を受信すると共に、印刷フォーマット情報記憶部96から印刷フォーマット情報を読み出す。その後、読み出した印刷フォーマット情報に基づいて、受信したXML文書を、当該印刷フォーマット情報を反映したXML文書に変換する。そして、機種依存情報記憶部97から機種依存情報を読み出し、読み出した機種依存情報に基づいて、変換後のXML文書を印刷制御コマンドに変換し、印刷装置16に送信する。これにより、印刷装置16に本印刷を実施させる。   The main print control unit 99 transmits a print control command related to the main print to the printing apparatus 16. Specifically, the print control unit 99 receives the pre-conversion XML document transmitted by the pre-conversion document transmission unit 90 and reads the print format information from the print format information storage unit 96. Thereafter, based on the read print format information, the received XML document is converted into an XML document reflecting the print format information. Then, the model-dependent information is read from the model-dependent information storage unit 97, the converted XML document is converted into a print control command based on the read model-dependent information, and transmitted to the printing device 16. As a result, the printing apparatus 16 performs the main printing.

以上のような構成によれば、Webページ29の制御スクリプトにより、印刷フォーマット情報を反映した印刷イメージ73aを表示するため、実際に印刷処理を実行しなくとも、印刷結果を確認することができ、印刷フォーマットの作成作業を容易に行うことができる。さらに、ホストコンピューター12に汎用のWebブラウザー37がインストールされていれば、特段のソフトウェアをインストールすることなく、上記印刷イメージ73aを表示することができるので、簡単な構成で且つ容易に、印刷結果を確認することができる。   According to the above configuration, the print image 73a reflecting the print format information is displayed by the control script of the Web page 29, so that the print result can be confirmed without actually executing the print process. It is possible to easily create a print format. Furthermore, if the general-purpose web browser 37 is installed in the host computer 12, the print image 73a can be displayed without installing special software, so the print result can be easily displayed with a simple configuration. Can be confirmed.

また、Webページ29の制御スクリプトにより、印刷フォーマットのサンプルをインポートすることができるので、ユーザーが、印刷フォーマットを一から作成する必要がない。これにより、印刷フォーマットの作成における利便性を向上することができる。   Further, since the print format sample can be imported by the control script of the Web page 29, the user does not need to create the print format from scratch. Thereby, the convenience in creating a print format can be improved.

さらに、印刷イメージ73aの一部として、印字に関係しない動作を示すアイコン73bを表示するため、ユーザーは、印字に付随して、印字以外にどのような動作を行うかを確認することができる。なお、印字に関係しない動作として、用紙カット動作を例示したが、その他、ブザー音出力動作やキャッシュドロアーのドロアキック動作等が挙げられる。   Further, since an icon 73b indicating an operation not related to printing is displayed as a part of the print image 73a, the user can confirm what operation is performed in addition to printing accompanying the printing. The operation not related to printing is exemplified by the paper cutting operation, but other operations include a buzzer sound output operation and a cash drawer drawer kick operation.

またさらに、印刷イメージ73aの一部として、コード画像やロゴ画像そのものではなく、これらの印字位置を示すアイコンを表示することにより、XML文書を印刷イメージ73aに変換するときの変換処理を簡易化することができる。これにより、印刷イメージ73aを表示するまでにかかる時間(処理時間)を削減することができ、Webページ29の利便性をより向上することができる。なお、コード画像やロゴ画像だけでなく、変換操作画面72で印字要素として追加する画像要素全てを、その印字位置を示すアイコンで表示するようにしても良い。   Furthermore, by displaying icons indicating the print positions instead of the code image or the logo image itself as a part of the print image 73a, the conversion process when converting the XML document into the print image 73a is simplified. be able to. Thereby, the time (processing time) required to display the print image 73a can be reduced, and the convenience of the Web page 29 can be further improved. In addition to the code image and the logo image, all image elements to be added as print elements on the conversion operation screen 72 may be displayed with icons indicating their print positions.

また、変換後のマークアップ文書をインテリジェント機能付き印刷装置11に送信することにより、変換後のマークアップ文書を用いて、作成した印刷フォーマットによるテスト印刷を実行することができ、より実際の印刷に近い形で、作成した印刷フォーマットを反映した印刷結果を確認することができる。   In addition, by transmitting the converted markup document to the printing apparatus 11 with an intelligent function, it is possible to execute test printing using the created print format by using the converted markup document, and for more actual printing. It is possible to confirm the print result reflecting the created print format in a close manner.

さらに、変換前のマークアップ文書をインテリジェント機能付き印刷装置11に送信するので、変換前のマークアップ文書により、作成した印刷フォーマットによる本印刷を実行することができる。   Furthermore, since the markup document before conversion is transmitted to the printing apparatus 11 with an intelligent function, it is possible to execute the main printing with the created print format using the markup document before conversion.

なお、本実施形態においては、便宜上、ホストコンピューター12とインテリジェント機能付き印刷装置11とが1対1の印刷システム1を例示したが、ホストコンピューター12とインテリジェント機能付き印刷装置11とが、多対1の印刷システム1に本発明を適用しても良いし、ホストコンピューター12とインテリジェント機能付き印刷装置11とが、1対多の印刷システム1に本発明を適用しても良い。さらに、ホストコンピューター12とインテリジェント機能付き印刷装置11とが、多対多の印刷システム1に本発明を適用しても良い。ひいては、1つの制御装置17に対し、複数の印刷装置16(親端末および子端末)を備えた構成であっても良い。例えば、印刷システム1が、1つのホストコンピューター12と、1つのWebサーバー13と、1つの制御装置17と、複数の印刷装置16とから成る構成であっても良い。   In the present embodiment, for convenience, the host computer 12 and the printing apparatus 11 with intelligent functions are illustrated as a one-to-one printing system 1, but the host computer 12 and the printing apparatus 11 with intelligent functions are many-to-one. The present invention may be applied to the printing system 1, or the host computer 12 and the intelligent function printing apparatus 11 may apply the present invention to the one-to-many printing system 1. Further, the host computer 12 and the intelligent function printing apparatus 11 may apply the present invention to the many-to-many printing system 1. As a result, the structure provided with the some printer 16 (parent terminal and child terminal) with respect to the one control apparatus 17 may be sufficient. For example, the printing system 1 may be configured by one host computer 12, one Web server 13, one control device 17, and a plurality of printing devices 16.

1:印刷システム、 11:インテリジェント機能付き印刷装置、 12:ホストコンピューター、 17:制御装置、 29:Webページ、 37:Webブラウザー、 73a:印刷イメージ、 73b:アイコン、 82:印刷フォーマット記憶部、 84:XML文書入力部、 85:変換部、 87:機種依存情報記憶部、 88:印刷イメージ表示部   1: Printing system 11: Printing device with intelligent function 12: Host computer 17: Control device 29: Web page 37: Web browser 73a: Print image 73b: Icon 82: Print format storage unit 84 : XML document input unit, 85: Conversion unit, 87: Model-dependent information storage unit, 88: Print image display unit

Claims (7)

マークアップ文書を入力し、
入力された前記マークアップ文書を、予め記憶された印刷フォーマット情報に基づいて変換し、
前記印刷フォーマット情報に基づいて変換されたマークアップ文書を、予め定められた印刷装置の機種依存情報に基づいて変換した印刷イメージを表示する制御スクリプトを備えたページを、Webブラウザーで表示させることを特徴とする印刷制御方法。
Enter the markup document,
Converting the input markup document based on pre-stored print format information;
Causing a web browser to display a page having a control script for displaying a print image obtained by converting a markup document converted based on the print format information based on predetermined model-dependent information of a printing apparatus. A printing control method.
前記制御スクリプトは、マークアップ言語で記述された前記印刷フォーマット情報をインポートして記憶する請求項1に記載の印刷制御方法。   The print control method according to claim 1, wherein the control script imports and stores the print format information described in a markup language. 前記印刷イメージは、前記印刷装置の動作を示すアイコンを表示する請求項1または2に記載の印刷制御方法。   The print control method according to claim 1, wherein the print image displays an icon indicating an operation of the printing apparatus. 前記印刷イメージは、コード画像またはロゴ画像が含まれているとき、前記コード画像または前記ロゴ画像の印字位置を示すアイコンを表示する請求項1ないし3のいずれか1項に記載の印刷制御方法。   The print control method according to claim 1, wherein the print image includes an icon indicating a print position of the code image or the logo image when the code image or the logo image is included. 前記制御スクリプトは、
前記印刷フォーマット情報に基づいて変換されたマークアップ文書を、前記印刷装置に送信する請求項1ないし4のいずれか1項に記載の印刷制御方法。
The control script is
5. The print control method according to claim 1, wherein a markup document converted based on the print format information is transmitted to the printing apparatus. 6.
前記制御スクリプトは、
前記マークアップ文書を、前記印刷装置に送信する請求項1ないし5のいずれか1項に記載の印刷制御方法。
The control script is
The print control method according to claim 1, wherein the markup document is transmitted to the printing apparatus.
マークアップ文書を入力する入力部と、
印刷フォーマットに係る印刷フォーマット情報及び印刷装置の機種に依存する機種依存情報を記憶する記憶部と、
前記入力部に入力された前記マークアップ文書を、前記記憶部に記憶された前記印刷フォーマット情報に基づいて変換する変換部と、
前記変換部で変換されたマークアップ文書を、前記機種依存情報に基づいて変換した印刷イメージをWebブラウザーで表示する表示部と、
を有することを特徴とする印刷制御装置。
An input section for inputting a markup document;
A storage unit for storing print format information related to the print format and model-dependent information depending on the model of the printing apparatus;
A conversion unit that converts the markup document input to the input unit based on the print format information stored in the storage unit;
A display unit that displays, on a web browser, a print image obtained by converting the markup document converted by the conversion unit based on the model-dependent information;
A printing control apparatus comprising:
JP2013090119A 2013-04-23 2013-04-23 Print control method, print control apparatus, and control script Expired - Fee Related JP6186836B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013090119A JP6186836B2 (en) 2013-04-23 2013-04-23 Print control method, print control apparatus, and control script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013090119A JP6186836B2 (en) 2013-04-23 2013-04-23 Print control method, print control apparatus, and control script

Publications (3)

Publication Number Publication Date
JP2014215665A true JP2014215665A (en) 2014-11-17
JP2014215665A5 JP2014215665A5 (en) 2016-05-26
JP6186836B2 JP6186836B2 (en) 2017-08-30

Family

ID=51941402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013090119A Expired - Fee Related JP6186836B2 (en) 2013-04-23 2013-04-23 Print control method, print control apparatus, and control script

Country Status (1)

Country Link
JP (1) JP6186836B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020046741A (en) * 2018-09-14 2020-03-26 キヤノン株式会社 Information processing device, control method of information processing device and program

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003085509A1 (en) * 2002-04-10 2003-10-16 Matsushita Electric Industrial Co., Ltd. Content generator, receiver, printer, content printing system
JP2007124151A (en) * 2005-10-26 2007-05-17 Canon Inc Image processing apparatus, and image processing method
JP2007207141A (en) * 2006-02-06 2007-08-16 Seiko Epson Corp Computer device driver implementation method, and computer
JP2011151849A (en) * 2005-05-20 2011-08-04 Ricoh Co Ltd Image handling apparatus, image processing system, image processing control method, and image processing control program
JP2011238136A (en) * 2010-05-12 2011-11-24 Canon Inc Information processing device, linkage function setting control method and program
JP2012084154A (en) * 2010-10-13 2012-04-26 Toshiba Corp Print setting device, image forming device and print setting method
JP2012173839A (en) * 2011-02-18 2012-09-10 Seiko Epson Corp Network system and method for authenticating network system
JP2013003799A (en) * 2011-06-15 2013-01-07 Konica Minolta Business Technologies Inc Client server system comprising web application and client device in client server system
JP2013073314A (en) * 2011-09-27 2013-04-22 Canon Inc Print relay system, printing system, control method and computer program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003085509A1 (en) * 2002-04-10 2003-10-16 Matsushita Electric Industrial Co., Ltd. Content generator, receiver, printer, content printing system
JP2011151849A (en) * 2005-05-20 2011-08-04 Ricoh Co Ltd Image handling apparatus, image processing system, image processing control method, and image processing control program
JP2007124151A (en) * 2005-10-26 2007-05-17 Canon Inc Image processing apparatus, and image processing method
JP2007207141A (en) * 2006-02-06 2007-08-16 Seiko Epson Corp Computer device driver implementation method, and computer
JP2011238136A (en) * 2010-05-12 2011-11-24 Canon Inc Information processing device, linkage function setting control method and program
JP2012084154A (en) * 2010-10-13 2012-04-26 Toshiba Corp Print setting device, image forming device and print setting method
JP2012173839A (en) * 2011-02-18 2012-09-10 Seiko Epson Corp Network system and method for authenticating network system
JP2013003799A (en) * 2011-06-15 2013-01-07 Konica Minolta Business Technologies Inc Client server system comprising web application and client device in client server system
JP2013073314A (en) * 2011-09-27 2013-04-22 Canon Inc Print relay system, printing system, control method and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020046741A (en) * 2018-09-14 2020-03-26 キヤノン株式会社 Information processing device, control method of information processing device and program
JP7187226B2 (en) 2018-09-14 2022-12-12 キヤノン株式会社 Program, storage medium, information processing device, and control method for information processing device

Also Published As

Publication number Publication date
JP6186836B2 (en) 2017-08-30

Similar Documents

Publication Publication Date Title
US10089560B2 (en) ePOS printing
JP5691361B2 (en) Network system, client, client control method and program
US9189177B2 (en) Content outputting method, content server and mediation server
JP6171530B2 (en) Printing control apparatus, printing system, and printing control method
JP5519081B2 (en) Virtual input / output device for printer
JP5870904B2 (en) Printing system, printer driver program, and control method
JP2014115907A (en) Information processing system and control method for the same and program
JP2009116874A (en) Approach for managing print error using print agent
JP6737170B2 (en) Server device, image processing unit and program
JP2011128732A (en) Information processor and method for controlling the same, and program
JP6186836B2 (en) Print control method, print control apparatus, and control script
WO2020158715A1 (en) Support program, information processing device, and printing method
JP6488933B2 (en) Paper information creation tool and paper information creation method
JP2011054013A (en) Information processing apparatus, program, and computer readable recording medium
JP2020030697A (en) Information processing apparatus, terminal device, setting screen display system, and setting screen display method
JP2015060291A (en) Program, information processing apparatus, and information processing system
JP2015156077A (en) Information processing system, control method thereof and program, and information management server, control method thereof and program
JP2006235912A (en) Remote print system, client, information apparatus and remote print program
JP2004005015A (en) Search method, search program and information processor
JP2016009364A (en) Information processing system, control method for information processing system, and program
JP2005084854A (en) Merchandise ordering/order-receiving system, server computer and merchandise shipping state notifying method
JP2006244034A (en) Electronic document reception system
JP2011028572A (en) Print system, and information processing apparatus and method

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160330

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170314

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170511

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170717

R150 Certificate of patent or registration of utility model

Ref document number: 6186836

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees