JP2008158851A - Printing system and printing method - Google Patents

Printing system and printing method Download PDF

Info

Publication number
JP2008158851A
JP2008158851A JP2006347641A JP2006347641A JP2008158851A JP 2008158851 A JP2008158851 A JP 2008158851A JP 2006347641 A JP2006347641 A JP 2006347641A JP 2006347641 A JP2006347641 A JP 2006347641A JP 2008158851 A JP2008158851 A JP 2008158851A
Authority
JP
Japan
Prior art keywords
information
print medium
customer
bill
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006347641A
Other languages
Japanese (ja)
Inventor
Yuko Watanabe
祐子 渡辺
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006347641A priority Critical patent/JP2008158851A/en
Publication of JP2008158851A publication Critical patent/JP2008158851A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a printing system, capable of reducing an operator's burden in creation of a bill. <P>SOLUTION: The printing system comprises a claim DB storing claim information for each customer; a customer DB storing customer information including name data, address data and bill format data; a layout information creation part 102 creating, based on a content of the customer information, layout information for printing a bill with an address of the bill being matched to a predetermined condition; a bill information creation part 103 creating bill information based on the claim information, the customer information and the created layout information; a printing medium selection part 104 selecting, based on the bill format data contained in the customer information and the bill information, one printing medium from two or more kinds of printing media; and a printing part 105 making the selected printing medium print the bill information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、顧客に発送する請求書を作成するための印刷システム及び印刷方法に関する。   The present invention relates to a printing system and a printing method for creating a bill to be sent to a customer.

企業等においては、定期的に、各顧客毎の請求書を作成し、一括して発送するのが一般的である。その際、親展性が確保でき、また、封書に比べ低コストで郵送できる、いわゆる圧着式葉書が多用されている。   In companies and the like, it is common to create invoices for each customer on a regular basis and send them out collectively. At that time, so-called crimped postcards that can ensure confidentiality and can be mailed at a lower cost than sealed letters are often used.

また、大量の請求書を発送する企業等においては、通常、手書きではなく、プリンタを使って、電子データとして管理している各顧客への請求情報を所定の印刷媒体に印刷することで請求書を作成している。   In addition, companies that send out large amounts of invoices usually use a printer instead of handwriting to print the invoice information for each customer managed as electronic data on a predetermined print medium. Have created.

従来のこの種の印刷方式では、請求内容を印刷する印刷媒体が、予め決められた請求書の様式に対応するものに固定されていた。そうすると、例えば、決められた請求書の様式が圧着式葉書の場合では、印刷すべき情報量が多いと、複数枚の印刷媒体に印刷してしまい、結局、複数枚の圧着式葉書を封書で郵送しなければならない、といった不都合が生じていた。   In this type of conventional printing method, the print medium on which the contents of the claim are printed is fixed to a form corresponding to a predetermined invoice form. Then, for example, when the determined invoice format is a crimping postcard, if there is a large amount of information to be printed, it will be printed on a plurality of print media. There was an inconvenience such as mailing.

また、従来の印刷方式では、請求先(宛名)の印刷において、自動的にその表示態様を調整することができなかった。したがって、宛名の構成文字数が多いと、請求書における宛名の表示許容範囲に収まるように印刷できず、結果として、手書きで対応しなければならない場合もあった。   Further, in the conventional printing method, the display mode cannot be automatically adjusted when printing a billing address (address). Therefore, if the number of constituent characters of the address is large, printing cannot be performed so as to be within the display allowable range of the address in the invoice, and as a result, it may be necessary to deal with handwriting.

尚、請求書等の郵送書類を郵送コスト低減の観点から効率的に発送する技術が、特許文献1に提案されているが、上記の不都合を解消する方策については開示乃至示唆がない。
特開2004−302497号公報
A technique for efficiently sending mail documents such as bills from the viewpoint of reducing mail costs has been proposed in Patent Document 1, but there is no disclosure or suggestion of a measure for solving the above inconvenience.
JP 2004-302497 A

本発明は、上記問題を解決すべくなされたものであり、顧客に発送する請求書を自動的に好適な態様で作成することができ、作業者の負担を大幅に軽減させ得る印刷システム及び印刷方法を提供することを目的とする。   The present invention has been made to solve the above problems, and can automatically create a bill to be sent to a customer in a suitable mode, and can greatly reduce the burden on the operator and printing. It aims to provide a method.

本発明に係る印刷システムは、顧客毎の請求情報が記憶されている請求データベースと、名称データと、住所データと、請求書様式データと、を含む顧客情報が記憶されている顧客データベースと、請求書を発送すべき顧客に対応する請求情報を前記請求データベースから取得する請求情報取得手段と、請求書を発送すべき顧客に対応する顧客情報を前記顧客データベースから取得する顧客情報取得手段と、取得した前記顧客情報に含まれる前記名称データと、前記住所データと、に基づいて、請求書の宛名を所定の条件に合致させて印刷するためのレイアウト情報を作成するレイアウト情報作成手段と、取得した前記請求情報と、取得した前記顧客情報と、作成した前記レイアウト情報と、に基づいて請求書情報を作成する請求書情報作成手段と、取得した前記顧客情報に含まれる前記請求書様式データに基づいて、複数種類の印刷媒体の中から一の印刷媒体を選択する印刷媒体選択手段と、前記選択した印刷媒体に前記請求書情報を印刷する印刷手段と、を備えることを特徴とする。   A printing system according to the present invention includes a billing database in which billing information for each customer is stored, a customer database in which customer information including name data, address data, and bill form data is stored, and billing Billing information acquisition means for acquiring billing information corresponding to a customer to whom a document should be sent out from the billing database; customer information acquisition means for acquiring customer information corresponding to a customer to which a bill should be sent out from the customer database; Layout information creating means for creating layout information for printing by matching the address of the invoice to a predetermined condition based on the name data and the address data included in the customer information acquired, and Bill information creation for creating bill information based on the bill information, the acquired customer information, and the created layout information A print medium selection unit that selects one print medium from a plurality of types of print media based on the bill form data included in the acquired customer information; and the bill on the selected print medium Printing means for printing information.

また、本発明に係る印刷方法は、顧客毎の請求情報が記憶されている請求データベースから請求書を発送すべき顧客に対応する請求情報を取得する請求情報取得工程と、名称データと、住所データと、請求書様式データと、を含む顧客情報が記憶されている顧客データベースから請求書を発送すべき顧客に対応する顧客情報を取得する顧客情報取得工程と、取得した前記顧客情報に含まれる前記名称データと、前記住所データと、に基づいて、請求書の宛名を所定の条件に合致させて印刷するためのレイアウト情報を作成するレイアウト情報作成工程と、取得した前記請求情報と、取得した前記顧客情報と、作成した前記レイアウト情報と、に基づいて請求書情報を作成する請求書情報作成工程と、取得した前記顧客情報に含まれる前記請求書様式データに基づいて、複数種類の印刷媒体の中から一の印刷媒体を選択する印刷媒体選択工程と、前記選択した印刷媒体に前記請求書情報を印刷する印刷工程と、を備えることを特徴とする。   In addition, the printing method according to the present invention includes a billing information obtaining step for obtaining billing information corresponding to a customer to whom a bill should be sent out from a billing database in which billing information for each customer is stored, name data, and address data. A customer information acquisition step of acquiring customer information corresponding to a customer to whom the invoice is to be sent from a customer database in which customer information including bill form data is stored, and the customer information included in the acquired customer information Based on the name data and the address data, a layout information creating step for creating layout information for printing the invoice address in accordance with a predetermined condition, the acquired billing information, and the acquired billing information Invoice information creating step for creating invoice information based on the customer information and the created layout information, and the bill included in the acquired customer information A printing medium selection step of selecting one printing medium from a plurality of types of printing media based on the format data; and a printing step of printing the bill information on the selected printing medium. To do.

上記構成の印刷システム又は印刷方法では、顧客の所望する請求書の様式に対応する印刷媒体が自動的に選択でき、また、請求書の宛名を好適な態様で印刷することができる。   In the printing system or printing method configured as described above, a print medium corresponding to a customer's desired bill format can be automatically selected, and the bill address can be printed in a suitable manner.

また、上記構成の印刷システム又は印刷方法において、前記印刷媒体の種類には、少なくとも、葉書による請求書の発送に対応する第1の印刷媒体と、葉書による請求書の発送に対応し、前記第1の印刷媒体より印刷可能領域が大きい第2の印刷媒体と、封書による請求書の発送に対応する第3の印刷媒体と、があり、前記顧客情報に含まれる前記請求書様式データが示す請求書の様式が、葉書による請求書の発送に対応する場合には、前記請求書情報に基づいて、前記第1の印刷媒体、前記第2の印刷媒体又は前記第3の印刷媒体の中から最も適したものが選択されるのが好ましい。   In the printing system or the printing method having the above-described configuration, the type of the print medium includes at least a first print medium corresponding to sending a bill by postcard, and sending a bill by postcard, A bill that is indicated by the bill form data included in the customer information, and includes a second print medium having a printable area larger than that of the first print medium and a third print medium corresponding to sending the bill by sealed letter. If the form of the letter corresponds to the delivery of the bill by postcard, the most important of the first print medium, the second print medium, or the third print medium based on the bill information. A suitable one is preferably selected.

上記の場合、前記請求書情報の印刷上の表示サイズに基づいて、前記第1の印刷媒体、前記第2の印刷媒体又は前記第3の印刷媒体の中から最も適したものを選択してもよい。   In the above case, the most suitable one of the first print medium, the second print medium, and the third print medium may be selected based on the display size of the bill information on printing. Good.

また、前記顧客情報に含まれる前記請求書様式データが示す請求書の様式と、前記印刷媒体選択手段により選択された印刷媒体に対応する請求書の様式が異なる場合、その旨を当該顧客に通知する通知手段(通知工程)を更に備える構成にしてもよい。   In addition, if the bill format indicated by the bill format data included in the customer information is different from the bill format corresponding to the print medium selected by the print medium selection means, the customer is notified of the fact. You may make it the structure further provided with the notification means (notification process) to perform.

以上の如く、本発明によれば、顧客に発送する請求書を自動的に好適な態様で作成することができるので、作業者の負担の大幅な軽減が期待できる。   As described above, according to the present invention, an invoice to be sent to a customer can be automatically created in a suitable mode, so that the burden on the operator can be greatly reduced.

以下、本発明に係る印刷システムの一実施形態について図面を参照して説明する。   Hereinafter, an embodiment of a printing system according to the present invention will be described with reference to the drawings.

図1に示すように、この印刷システムは、印刷装置1と、データベースサーバ2と、これらを接続するイントラネット等のネットワーク3と、から構成される。   As shown in FIG. 1, this printing system includes a printing apparatus 1, a database server 2, and a network 3 such as an intranet connecting them.

印刷装置1は、企業等における請求書の発行業務を行う部門等に設置され、各顧客に発送する請求書の印刷を行う。印刷装置1は、インクジェット方式やレーザ方式等で所定の印刷媒体に印刷を行うプリンタ10と、該プリンタ10を制御する印刷制御装置11と、から構成される。   The printing apparatus 1 is installed in a department or the like that issues a bill in a company or the like, and prints a bill to be sent to each customer. The printing apparatus 1 includes a printer 10 that performs printing on a predetermined print medium using an inkjet method, a laser method, or the like, and a print control device 11 that controls the printer 10.

プリンタ10には、複数の給紙トレイ(図示せず)が設けられ、印刷制御装置11からの指示に従い自動的に印刷媒体の種類を切り替えられる構成となっている。本実施形態では、通常の場合、3種類の印刷媒体P1〜P3が使用され、それぞれ対応する給紙トレイ(例えば、給紙トレイ1〜3)にセットされている。   The printer 10 is provided with a plurality of paper feed trays (not shown), and can automatically switch the type of print medium in accordance with an instruction from the print control device 11. In the present embodiment, normally, three types of print media P1 to P3 are used and set in the corresponding paper feed trays (for example, the paper feed trays 1 to 3).

印刷媒体P1及びP2は、いわゆる圧着式葉書を構成する印刷媒体である。印刷媒体P1は、A5判(即ち、通常葉書の略2倍)の大きさを有する、コピー用紙より厚手な上質紙等である。印刷媒体P1は、図2(a)に示すように、片面(A面及びB面)に請求書情報(請求書の宛名と、請求内容と、から構成される情報をいう。以下同じ。)が印刷される。印刷媒体P1のA面及び/又はB面の全領域又は一部の領域には、所定の加圧式接着剤の層が設けられている。したがって、図2(b)の如くA面とB面を対向させるように、2つ折りにして、図示しない圧着機により圧着すれば、A面とB面が接着する。このようにすれば、印刷媒体P1で構成された圧着式葉書を成形できる。   The print media P1 and P2 are print media constituting so-called pressure-bonding postcards. The print medium P1 is high-quality paper having a size of A5 size (that is, approximately twice as large as a normal postcard) and thicker than copy paper. As shown in FIG. 2A, the print medium P1 has invoice information (referred to as information consisting of the address of the invoice and the contents of the invoice) on one side (A side and B side). Is printed. A predetermined pressure-sensitive adhesive layer is provided on all or a part of the A surface and / or B surface of the print medium P1. Therefore, as shown in FIG. 2 (b), when the A surface and the B surface are opposed to each other and folded by a crimping machine (not shown), the A surface and the B surface are bonded. If it does in this way, the compression type postcard comprised with the printing medium P1 can be shape | molded.

印刷媒体P2は、印刷媒体P1と同様の材質を有するが、図3に示すように、通常葉書を幅方向(短手方向)に3枚並べた程度の大きさを有する。また、印刷媒体P2には、両面(即ち、A面及びB面並びにC面及びD面)に亘って請求書情報が印刷される。印刷媒体P2のA面及び/又はB面の全領域又は一部の領域、C面及び/又はD面の全領域又は一部の領域には、印刷媒体P1と同様の加圧式接着剤の層が設けられている。したがって、A面とB面、C面とD面を対向させるように、3つ折りにして、図示しない圧着機により圧着すれば、A面とB面、C面とD面が接着する。このようにすれば、印刷媒体P2で構成された圧着式葉書を成形できる。   The print medium P2 has the same material as the print medium P1, but as shown in FIG. 3, the print medium P2 has a size such that three normal postcards are arranged in the width direction (short direction). The invoice information is printed on both sides of the print medium P2 (that is, the A side and the B side and the C side and the D side). A pressure-sensitive adhesive layer similar to that of the print medium P1 is formed on the entire area or a partial area of the A surface and / or B surface of the print medium P2, or the entire area or a partial area of the C surface and / or D surface. Is provided. Therefore, if the A surface and the B surface and the C surface and the D surface are opposed to each other and are folded in three and are crimped by a crimping machine (not shown), the A surface and the B surface, and the C surface and the D surface are bonded. If it does in this way, the compression type postcard comprised with the printing medium P2 can be shape | molded.

印刷媒体P3は、図4に示すようなA4判のコピー用紙であり、片面あるいは両面に請求書情報が印刷される。請求書情報が印刷された印刷媒体P3(即ち、請求書)は、3つ折り等されて長形3号等の定形封筒に入れられて発送される。その際、必要に応じて一の封筒に複数枚の印刷媒体P3が入れられる場合もある。   The print medium P3 is an A4 size copy sheet as shown in FIG. 4, and the invoice information is printed on one side or both sides. The print medium P3 on which the invoice information is printed (that is, the invoice) is folded in three and placed in a fixed envelope such as a long size 3 and shipped. At that time, a plurality of print media P3 may be put in one envelope as needed.

プリンタ10は、以上の印刷媒体P1〜P3がセットされる給紙トレイ(給紙トレイ1〜3)のほかに、印刷媒体P1〜P3とは異なる印刷媒体をセットするための給紙トレイ(例えば、給紙トレイ4)を備えている。したがって、顧客が所望する請求書の様式に対応する印刷媒体が、印刷媒体P1〜P3とは異なる場合であっても、その印刷媒体を給紙トレイ4にセットして請求書情報を印刷すれば、顧客が所望する請求書の様式で発送することができる。   In addition to the paper feed trays (paper feed trays 1 to 3) on which the above print media P1 to P3 are set, the printer 10 has a paper feed tray (for example, a paper feed tray for setting print media different from the print media P1 to P3). , A paper feed tray 4). Therefore, even if the print medium corresponding to the bill format desired by the customer is different from the print media P1 to P3, if the print medium is set in the paper feed tray 4 and the bill information is printed, , Can be shipped in the form of bill desired by the customer.

印刷制御装置11は、図5に示すように、装置本体20と、入力部30と、モニタ40と、を備える。また、装置本体20は、制御部21と、記憶部22と、通信部23と、を備える。   As shown in FIG. 5, the print control apparatus 11 includes an apparatus main body 20, an input unit 30, and a monitor 40. The apparatus body 20 includes a control unit 21, a storage unit 22, and a communication unit 23.

制御部21は、当該制御、演算の主体であるマイクロコンピュータと、印刷処理に関する制御用プログラム等が記憶されるROMと、各種データの一時的な保存等に使用されるRAM(何れも図示せず)と、をその内部に備え、当該印刷制御装置11及びプリンタ10の制御を行う。   The control unit 21 includes a microcomputer that is a main body of the control and calculation, a ROM that stores a control program related to print processing, and a RAM that is used for temporary storage of various data (none of which are shown). ) And control the print control apparatus 11 and the printer 10.

記憶部22は、ハードディスク等の記憶装置から構成され、印刷処理で使用される各種のデータテーブル等が記憶されている。また、データベースサーバ2から取得したデータの一時的な保存等にも使用される。通信部23は、ネットワークカード等の通信機器を備え、印刷制御装置11とネットワーク3とを接続し、データベースサーバ2との通信を行う。また、図示しないインターネットに接続し、インターネットに接続する任意の外部機器との通信もできるように構成されている。   The storage unit 22 includes a storage device such as a hard disk, and stores various data tables used in the printing process. It is also used for temporary storage of data acquired from the database server 2. The communication unit 23 includes a communication device such as a network card, connects the print control apparatus 11 and the network 3, and communicates with the database server 2. Further, it is configured to connect to the Internet (not shown) and to communicate with any external device connected to the Internet.

入力部30は、オペレータが操作指令等の入力を行うための入力装置(例えば、キーボードやマウス等)である。モニタ40は、オペレータからの操作指令等を受け付けるための入力画面や処理結果等を表示する出力装置である。尚、モニタ40をタッチパネル方式にして、オペレータの指や専用の入力ペン等を使用して操作指令を入力するようにしてもよい。   The input unit 30 is an input device (for example, a keyboard or a mouse) for an operator to input an operation command or the like. The monitor 40 is an output device that displays an input screen for receiving an operation command or the like from an operator, a processing result, and the like. Note that the monitor 40 may be a touch panel type, and an operation command may be input using an operator's finger, a dedicated input pen, or the like.

図1に戻り、データベースサーバ2は、顧客データベース(顧客DB)200と、請求データベース(請求DB)201と、様式データベース(様式DB)202と、を備え、印刷制御装置11からのデータ要求に応答して、顧客DB200,請求DB201,様式DB202に格納されている情報を検索し、策出した情報を印刷制御装置11に提供する。また、外部からの情報に基づいて、顧客DB200,請求DB201,様式DB202の情報を更新する。   Returning to FIG. 1, the database server 2 includes a customer database (customer DB) 200, a billing database (billing DB) 201, and a style database (style DB) 202, and responds to a data request from the print control apparatus 11. Then, information stored in the customer DB 200, the billing DB 201, and the style DB 202 is searched, and the devised information is provided to the print control apparatus 11. Further, the information in the customer DB 200, the billing DB 201, and the style DB 202 is updated based on information from the outside.

顧客DB200は、顧客に関する情報(顧客情報)が記録されているデータベースである。顧客情報は、図6に示すように、顧客コード、顧客名、顧客事業所名、住所、メールアドレス及び様式コードからなるデータ項目を備えている。「顧客コード」には、データ管理上、顧客を一意に識別するために割り振られた数桁のコード(数値やアルファベット等で構成される。)がテキストデータで格納される。「顧客名」には、顧客の正式名称を示すテキストデータが格納される。「顧客事業所名」には、請求書の受取先を更に特定する必要がある場合に、「○○支店」、「○○支社」、「○○部」等の受取先の詳細を示すテキストデータが格納される。また、顧客における取引関係者(顧客担当者)の氏名等を示すテキストデータも「顧客事業所名」に格納される(例えば、“○○支店 山田”等)。   The customer DB 200 is a database in which information about customers (customer information) is recorded. As shown in FIG. 6, the customer information includes data items including a customer code, a customer name, a customer office name, an address, a mail address, and a form code. In the “customer code”, a code of several digits (consisting of numerical values, alphabets, etc.) allocated to uniquely identify a customer for data management is stored as text data. In the “customer name”, text data indicating the official name of the customer is stored. "Customer office name" is a text that shows details of recipients such as "XX branch", "XX branch office", "XX department" when it is necessary to further specify the recipient of the invoice Data is stored. In addition, text data indicating the name of the transaction related person (customer contact person) in the customer is also stored in the “customer office name” (for example, “XX branch Yamada”).

「住所」には、請求書の発送先の住所を示すテキストデータが格納される。「メールアドレス」には、顧客担当者のパソコン、携帯情報端末、携帯電話等の電子メールアドレスを示すテキストデータが格納される。「様式コード」は、発送する請求書の様式を一意に識別するためのコード(例えば、2桁の数値で構成される。)が、テキストデータあるいはバイナリデータで格納される。「様式コード」の詳細については、後述する。   In the “address”, text data indicating the address to which the invoice is sent is stored. In the “mail address”, text data indicating an electronic mail address of a personal computer, a portable information terminal, a mobile phone or the like of a customer representative is stored. In the “style code”, a code for uniquely identifying a form of a bill to be sent (for example, a two-digit numerical value) is stored as text data or binary data. Details of the “style code” will be described later.

請求DB201は、顧客が商品を購入した場合や顧客に保守サービスを提供した場合等の代価を請求するための情報(請求情報)が記録されているデータベースである。請求情報は、図7に示すように、顧客コード、合計金額、支払期日、発送状況及び取引明細情報(1〜n)からなるデータ項目を備えている。「合計金額」には、今回(例えば、今月分等)、顧客に請求する金額の合計(例えば、円単位)を示すデータが格納される。「支払期日」には、顧客に対して要求する当該請求に対する支払い期限(月・日)を示すデータが格納される。「発送状況」には、当該請求情報に係る請求書が発送済みであるか否かを示すデータが格納される。本実施形態では、未発送の場合は、“00”が、発送済みである場合は、“01”を示すデータが格納される。「合計金額」、「支払期日」及び「発送状況」のデータ格納形式は、テキストであってもバイナリであってもよい。   The billing DB 201 is a database in which information (billing information) for charging a price such as when a customer purchases a product or provides a maintenance service to the customer is recorded. As shown in FIG. 7, the billing information includes data items including a customer code, a total amount, a payment date, a shipping status, and transaction details information (1 to n). The “total amount” stores data indicating the total amount (for example, in units of yen) of the amount charged to the customer this time (for example, this month). In “Payment due date”, data indicating a payment due date (month / day) for the request requested from the customer is stored. The “shipping status” stores data indicating whether or not the bill related to the billing information has been shipped. In the present embodiment, “00” is stored in the case of non-shipping, and data indicating “01” is stored in the case of shipping. The data storage format of “total amount”, “payment date”, and “shipment status” may be text or binary.

取引明細情報は、請求内容を詳細に示す情報であり、当該請求に係る伝票毎に区分されて(1〜n)データが格納される。取引明細情報は、伝票No.、取引日、商品名、数量、単価、金額及び消費税からなるデータ項目を備えている。「伝票No.」には、当該商品等の取引における伝票に割り振られたユニークな番号を示すデータが格納される。「取引日」には、購入等(注文も含む。以下同じ。)された月・日を示すデータが格納される。「商品名」には、購入等された商品等(提供されたサービスも含む。以下同じ。)の名称や型番を示すテキストデータが格納される。「数量」には、購入等された商品等の数量を示すデータが格納される。「単価」には、商品等の税抜き単価を円単位で示すデータが格納される。「金額」には、「数量」の格納データが示す数と「単価」の格納データが示す金額との乗算値を示すデータが格納される。「消費税」には、「金額」の格納データが示す金額の消費税分の金額を示すデータが格納される。「伝票No.」、「取引日」、「数量」、「単価」、「金額」及び「消費税」のデータ格納形式は、テキストであってもバイナリであってもよい。   The transaction details information is information indicating the details of the billing, and is classified for each slip relating to the billing (1-n) and stores data. The transaction details information is a slip number. , Data items including transaction date, product name, quantity, unit price, amount, and consumption tax are provided. “Voucher No.” stores data indicating a unique number assigned to the voucher in the transaction of the product or the like. The “transaction date” stores data indicating the month / day of purchase (including the order; the same applies hereinafter). Stored in the “product name” is text data indicating the name and model number of the purchased product or the like (including provided services; the same applies hereinafter). The “quantity” stores data indicating the quantity of purchased goods and the like. The “unit price” stores data indicating the unit price without tax of products in units of yen. In “Amount”, data indicating a multiplication value of the number indicated by the storage data of “Quantity” and the amount indicated by the storage data of “Unit Price” is stored. In “consumption tax”, data indicating the amount of consumption tax of the amount indicated by the storage data of “amount” is stored. The data storage format of “slip No.”, “transaction date”, “quantity”, “unit price”, “amount”, and “consumption tax” may be text or binary.

様式DB202は、請求書の様式に関する情報が記録されているデータベースである。図8に示すように、様式DB202は、様式コード及び様式名からなるデータ項目を備えたレコードで構成されている。図8において、様式コード“00”の“葉書”は、圧着式葉書を構成する印刷媒体P1又は印刷媒体P2を使用した請求書であることを意味する。様式コード“01”の“汎用”は、印刷媒体P3を使用した請求書であることを意味する。印刷媒体P3を使用する請求書は、上述したように、所定の封筒に入れられ、封書にて発送される。   The form DB 202 is a database in which information on the form of the invoice is recorded. As shown in FIG. 8, the format DB 202 is composed of records having data items including format codes and format names. In FIG. 8, “postcard” of the format code “00” means a bill using the printing medium P1 or the printing medium P2 constituting the crimping type postcard. “General-purpose” of the format code “01” means that the bill uses the print medium P3. As described above, the bill using the print medium P3 is put in a predetermined envelope and sent out in a sealed letter.

様式コード“02”以降は、印刷媒体P1〜P3を使用しない請求書であることを意味する。例えば、様式コード“02”の“特殊A”は、B5判のコピー用紙を使用した請求書であることを意味し、様式コード“03”の“特殊B”は、B6判のコピー用紙を使用した請求書であることを意味する。   After the form code “02”, it means that the bill does not use the print media P1 to P3. For example, “special A” with form code “02” means that the invoice uses B5-size copy paper, and “special B” with form code “03” uses B6-size copy paper. Means that it is a bill.

印刷装置1の印刷制御装置11が備える制御部21は、機能的には、図9に示すように、請求情報取得部100と、顧客情報取得部101と、レイアウト情報作成部102と、請求書情報作成部103と、印刷媒体選択部104と、印刷部105と、通知部106と、を備える。   As shown in FIG. 9, the control unit 21 included in the print control device 11 of the printing apparatus 1 functionally includes a billing information acquisition unit 100, a customer information acquisition unit 101, a layout information creation unit 102, and a bill. An information creation unit 103, a print medium selection unit 104, a printing unit 105, and a notification unit 106 are provided.

請求情報取得部100は、定周期的(例えば、毎月の所定日時等)あるいはオペレータの指示に応答して起動し、データベースサーバ2から請求書を発送すべき顧客についての請求情報を取得する処理を行う。   The billing information acquisition unit 100 is started periodically or in response to an operator's instruction (for example, a predetermined date / time of each month), and acquires billing information about a customer to which a bill should be sent from the database server 2. Do.

顧客情報取得部101は、請求情報取得部100によって取得された請求情報に対応する顧客についての顧客情報をデータベースサーバ2から取得する処理を行う。   The customer information acquisition unit 101 performs processing for acquiring customer information about the customer corresponding to the billing information acquired by the billing information acquisition unit 100 from the database server 2.

レイアウト情報作成部102は、顧客情報取得部101によって取得された顧客情報を基に、請求書に印刷する宛名の表示態様(レイアウト)についての情報(レイアウト情報)を作成する処理を行う。本実施形態では、請求書の宛名は、住所、顧客名、事業所名で構成される(但し、事業所名については、取得した顧客情報に該当データが含まれている場合にのみ印刷される)。尚、ここでいう宛名には、葉書、封筒のいわゆる宛名面(別納・後納マークを表示する面)に表示される部分は含まない。   The layout information creation unit 102 performs processing for creating information (layout information) about the display mode (layout) of the address to be printed on the invoice based on the customer information acquired by the customer information acquisition unit 101. In this embodiment, the address of the invoice is composed of an address, a customer name, and a business name (however, the business name is printed only when the acquired customer information includes the corresponding data. ). Note that the address mentioned here does not include a portion displayed on a so-called address side of a postcard or envelope (a surface on which a separate / postpay mark is displayed).

レイアウト情報作成部102は、顧客情報から顧客名、事業所名(設定されている場合のみ)及び住所についての情報を抽出し、抽出したこれらの情報(テキストデータ)を基に、予め決められたレイアウト条件に従って、印刷する宛名のレイアウト情報を作成する。   The layout information creation unit 102 extracts information on the customer name, business office name (only when set) and address from the customer information, and is determined in advance based on the extracted information (text data). According to the layout condition, the layout information of the address to be printed is created.

本実施形態のレイアウト条件を以下に示す。
(1)文字サイズは、大(例えば、12ポイント。1ポイントは、約0.35mmの文字高さ。)と小(例えば、9ポイント)の2種類を使用する。
(2)表示項目は、住所、顧客名、事業所名の順番にする。
(3)事業所名がある場合には、事業所名の後に、事業所名がない場合には、顧客名の後に“様”を付加する。また、“様”が付加された項目(顧客名あるいは事業所名)の構成文字数は、1文字分増加する。
(4)1行当たりの文字数は、文字サイズ大の場合は、22文字以内であり、文字サイズ小の場合は、30文字以内とする。
(5)住所と顧客名、顧客名と事業所名との間は改行(行分け)する。
(6)住所は3行以内とし、顧客名と事業所名についてはそれぞれ2行以内とする。また、住所については、郵便番号のみの表示で1行使用する。
(7)文字サイズは大を標準とするが、上記(6)の条件を満たさない場合は、当該項目については文字サイズ小で印刷する。
(8)顧客名、事業所名については、文字サイズを同一にする。
(9)顧客名、事業所名について、文字サイズ小で印刷する場合には、住所についても文字サイズ小で印刷する。
The layout conditions of this embodiment are shown below.
(1) Two types of character sizes are used, for example, large (for example, 12 points. 1 point is a character height of about 0.35 mm) and small (for example, 9 points).
(2) Display items are in the order of address, customer name, and office name.
(3) If there is a business name, add “sama” after the business name if there is no business name. Further, the number of constituent characters of the item (customer name or establishment name) to which “sama” is added increases by one character.
(4) The number of characters per line is 22 characters or less when the character size is large, and 30 characters or less when the character size is small.
(5) A line feed (line separation) is made between the address and customer name, and between the customer name and establishment name.
(6) The address must be within 3 lines, and the customer name and business name must be within 2 lines each. As for the address, one line is used for displaying only the zip code.
(7) Although the standard character size is large, if the above condition (6) is not satisfied, the item is printed with a small character size.
(8) The character size should be the same for the customer name and business name.
(9) When printing the customer name and business name with a small character size, the address is also printed with the small character size.

上記のレイアウト条件に従って作成されたレイアウト情報を使用して印刷された宛名の一例を図10に示す。図10(a)は、住所が2行、顧客名及び事業所名がそれぞれ1行で、何れの項目についても文字サイズ大で印刷されたケースを示す。図10(b)は、住所が3行、顧客名が1行、事業所名が2行で、何れの項目についても文字サイズ大で印刷されたケースを示す。   FIG. 10 shows an example of the address printed using the layout information created according to the above layout conditions. FIG. 10A shows a case where the address is two lines, the customer name and the business office name are each one line, and each item is printed with a large character size. FIG. 10B shows a case where the address is 3 lines, the customer name is 1 line, and the business establishment name is 2 lines, and each item is printed with a large character size.

図10(c)は、住所が3行、顧客名及び事業所名がそれぞれ1行で、住所については、文字サイズ小(上記条件(7)参照)、顧客名及び事業所名については、文字サイズ大で印刷されたケースを示す。図10(d)は、住所が2行、顧客名が1行、事業所名が2行で、何れの項目についても文字サイズ小で印刷されたケースを示す(上記条件(8)、(9)参照)。   In FIG. 10C, the address is 3 lines, the customer name and the establishment name are each 1 line, the address is small in size (see condition (7) above), and the customer name and the establishment name are characters. The case printed in large size is shown. FIG. 10D shows a case where the address is two lines, the customer name is one line, and the business establishment name is two lines, and each item is printed with a small character size (the above conditions (8), (9 )reference).

再度図9に戻り、制御部21の機能についての説明を続ける。請求書情報作成部103は、顧客情報と、請求情報と、作成したレイアウト情報と、に基づいて、印刷媒体に印刷する請求書情報を作成する。   Returning to FIG. 9 again, the description of the function of the control unit 21 will be continued. The invoice information creation unit 103 creates invoice information to be printed on a print medium based on the customer information, the billing information, and the created layout information.

印刷媒体選択部104は、顧客情報取得部101によって取得された顧客情報と、請求書情報作成部103によって作成された請求書情報と、に基づいて請求書情報を印刷する印刷媒体を決定する処理を行う。以下、その処理手順について説明する。先ず、印刷媒体選択部104は、顧客情報から様式コードを抽出する。この抽出した様式コードが、葉書を示すものである場合(即ち、“00”である場合)は、印刷媒体選択部104は、更に、請求書情報を解析し、その結果を基に、予め決められた選択条件に従って、印刷媒体P1、印刷媒体P2又は印刷媒体P3の中から最も請求書情報の印刷に適した印刷媒体を選択する。   The print medium selection unit 104 determines a print medium for printing the invoice information based on the customer information acquired by the customer information acquisition unit 101 and the invoice information generated by the invoice information generation unit 103. I do. The processing procedure will be described below. First, the print medium selection unit 104 extracts a form code from customer information. When the extracted form code indicates a postcard (that is, “00”), the print medium selection unit 104 further analyzes the invoice information and determines in advance based on the result. According to the selected selection condition, the most suitable print medium for printing the bill information is selected from the print medium P1, the print medium P2, or the print medium P3.

本実施形態では、請求書情報の印刷上の表示サイズ(縦横サイズ)に着目して、印刷媒体P1、印刷媒体P2又は印刷媒体P3の中から最適なものを選択する。具体的には、印刷媒体選択部104は、所定の文字サイズ(例えば、大(12ポイント))で印刷する場合における(但し、宛名部分については、レイアウト情報で示される文字サイズに従う。)請求書情報の印刷上の表示サイズを求める。そして、その縦サイズが、第1の基準サイズ(例えば、14cm)以内である場合には、印刷媒体P1を選択し、それより大きく、第2の基準サイズ(例えば、28cm)以内ならば印刷媒体P2を選択し、更にそれより大きい場合には、印刷媒体P3を選択する。また、横サイズが、第3の基準サイズ(例えば、19.5cm)以上ならば、縦サイズの大きさにかかわらず、印刷媒体P3を選択する。   In the present embodiment, paying attention to the display size (vertical / horizontal size) of the invoice information, the optimum one is selected from the print medium P1, the print medium P2, and the print medium P3. Specifically, the print medium selection unit 104 is a bill for printing in a predetermined character size (for example, large (12 points)) (however, the address portion follows the character size indicated by the layout information). Obtain the display size of information on printing. If the vertical size is within the first reference size (for example, 14 cm), the print medium P1 is selected, and if it is larger than the second reference size (for example, 28 cm), the print medium is selected. If P2 is selected and larger than that, the print medium P3 is selected. If the horizontal size is not less than the third reference size (for example, 19.5 cm), the print medium P3 is selected regardless of the vertical size.

尚、このほか、請求書情報の内容(例えば、取引明細情報の数や各種金額の大きさ等)を使用して、最適な印刷媒体を選択してもよい。   In addition, the optimal print medium may be selected using the contents of the invoice information (for example, the number of transaction details information, the size of various amounts, etc.).

一方、抽出した様式コードが、汎用を示すものである場合(即ち、“01”である場合)は、印刷媒体選択部104は、印刷媒体として、印刷媒体P3を選択する。   On the other hand, when the extracted form code indicates general purpose (that is, “01”), the print medium selection unit 104 selects the print medium P3 as the print medium.

また、抽出した様式コードが、これら以外を示す場合(即ち、“02”以降である場合)は、印刷媒体選択部104は、当該様式コードに対応する様式名(例えば、“特殊A”等)、あるいは、対応する印刷媒体の名称(例えば、“B5判用紙”等)をモニタ40に表示させる。このようにして、オペレータに請求書の様式が特殊であること(即ち、印刷媒体P1〜P3以外の印刷媒体に請求書情報を印刷する必要があること)を報知する。印刷媒体P1〜P3以外の印刷媒体は、かかる表示(報知)を確認したオペレータにより、プリンタ10の給紙トレイ4にセットされる。   When the extracted form code indicates something other than these (that is, after “02”), the print medium selection unit 104 displays the form name corresponding to the form code (for example, “special A” or the like). Alternatively, the name of the corresponding print medium (for example, “B5 size paper”) is displayed on the monitor 40. In this way, the operator is notified that the form of the invoice is special (that is, the invoice information needs to be printed on a print medium other than the print media P1 to P3). Print media other than the print media P1 to P3 are set on the paper feed tray 4 of the printer 10 by an operator who has confirmed such display (notification).

印刷部105は、プリンタ10を制御して、作成した請求書情報を決定した印刷媒体に出力(印刷)させる処理を行う。   The printing unit 105 controls the printer 10 to perform processing for outputting (printing) the created bill information to the determined print medium.

通知部106は、顧客情報に格納されている様式コードに対応しない様式で請求書を発送する場合に、その旨を顧客に通知する処理を行う。本実施形態では、様式コードが、葉書を示すものでありながら、印刷媒体選択部104により印刷媒体P3が選択された場合(即ち、封書で発送される場合)に、顧客に対して通知が行われる。具体的には、通知部106は、所定内容(封書で発送する旨)をメール本文に記載した電子メールを作成し、作成した電子メールを当該顧客情報に含まれるメールアドレス宛に通信部23を介して送信する。   The notification unit 106 performs a process of notifying the customer when the invoice is sent in a format that does not correspond to the format code stored in the customer information. In the present embodiment, when the print medium P3 is selected by the print medium selection unit 104 (that is, when the form code indicates a postcard) (that is, when the form code is sent in a sealed letter), the customer is notified. Is called. Specifically, the notification unit 106 creates an e-mail in which a predetermined content (to be shipped in a sealed letter) is written in the mail body, and sends the created e-mail to the e-mail address included in the customer information. Send through.

また、顧客情報に格納されている様式コードに対応しない様式で請求書を発送する場合において、印刷制御装置11からの要求(更新要求)により、データベースサーバ2が、顧客DB200の当該顧客情報における「様式コード」の格納データを、印刷媒体選択部104により選択された印刷媒体に対応する請求書の様式を示すコード(即ち、“01”)に変更するようにしてもよい。   Further, when the invoice is sent in a format that does not correspond to the format code stored in the customer information, the database server 2 causes the request (update request) from the print control device 11 to “ The stored data of “form code” may be changed to a code indicating the form of the bill corresponding to the print medium selected by the print medium selection unit 104 (ie, “01”).

次に、本実施形態の印刷システムにおける請求情報取得処理の手順を図11のフローチャートを参照して説明する。定周期的あるいはオペレータの指示に応答して起動した請求情報取得部100は、先ず、記憶部22に記憶されている顧客コードテーブルを取得する。顧客コードテーブルとは、取引関係にある全ての顧客コード(内容は上述した通り)が格納されているデータテーブルであり、予め記憶部22に記憶されている。請求情報取得部100は、顧客コードテーブルに格納されている顧客コードを先頭(例えば、“0001”)から順に取り出し(ステップS1101でYES)、取り出した顧客コードに対応する請求情報をデータベースサーバ2に要求するためのデータ(請求情報要求データ)を作成する(ステップS1102)。そして、作成した請求情報要求データを通信部23を介して、データベースサーバ2に送信する(ステップS1103)。全ての顧客コードを取り出して処理した場合(ステップS1101でNO)は、本処理を終了する。   Next, a billing information acquisition process procedure in the printing system of this embodiment will be described with reference to the flowchart of FIG. The billing information acquisition unit 100 started periodically or in response to an operator instruction first acquires a customer code table stored in the storage unit 22. The customer code table is a data table in which all customer codes having the business relationship (the contents are as described above) are stored, and are stored in the storage unit 22 in advance. The billing information acquisition unit 100 sequentially retrieves customer codes stored in the customer code table from the top (for example, “0001”) (YES in step S1101), and stores billing information corresponding to the retrieved customer codes in the database server 2. Data for requesting (billing information request data) is created (step S1102). Then, the created billing information request data is transmitted to the database server 2 via the communication unit 23 (step S1103). If all customer codes have been extracted and processed (NO in step S1101), this process ends.

データベースサーバ2は、印刷制御装置11からの請求情報要求データを受信すると、これに含まれる顧客コードをキーにして、請求DB201を検索し、該当する請求情報(のレコード)を策出する。そして、当該請求情報の「発送状況」項目をチェックし、未発送の場合(即ち、“00”が設定されている場合)は、取得OKであることを示す情報と、当該請求情報と、を含む応答メッセージを作成し、印刷制御装置11に送信する。一方、発送済みである場合(即ち、“01”が設定されている場合)は、取得NGであることを示す情報を含む応答メッセージを作成し、印刷制御装置11に送信する。   Upon receiving the billing information request data from the print control apparatus 11, the database server 2 searches the billing DB 201 using the customer code included therein as a key, and devise the corresponding billing information (record). Then, the “shipping status” item of the billing information is checked, and when it has not been dispatched (that is, when “00” is set), information indicating that the acquisition is OK and the billing information are A response message including the message is generated and transmitted to the print control apparatus 11. On the other hand, if it has already been shipped (that is, if “01” is set), a response message including information indicating that it is acquisition NG is created and transmitted to the print control apparatus 11.

データベースサーバ2からの応答メッセージを受信すると(ステップS1104でYES)、請求情報取得部100はその内容の解析を行う。その結果、取得OKである場合(ステップS1105でYES)には、当該応答メッセージから請求情報を取り出し、記憶部22に格納する(ステップS1106)。一方、取得NGである場合(ステップS1105でNO)には、ステップS1101に戻り、上記処理を繰り返す。   When the response message from the database server 2 is received (YES in step S1104), the billing information acquisition unit 100 analyzes the content. As a result, if the acquisition is OK (YES in step S1105), the billing information is extracted from the response message and stored in the storage unit 22 (step S1106). On the other hand, when it is acquisition NG (NO in step S1105), the process returns to step S1101 to repeat the above processing.

ステップS1106の処理後、請求情報取得部100は印刷状況のチェックを行う。その結果、印刷待ちの請求情報が、所定件数(例えば、10件分)に達していない場合(ステップS1107でNO)には、ステップS1101からの処理を繰り返し行う。一方、印刷待ちの請求情報が、所定件数に達している場合(ステップS1107でYES)には、請求情報取得部100は、印刷が進行して印刷待ち件数が所定件数未満となるまで、処理を所定時間中断する(ステップS1108)。   After the processing in step S1106, the billing information acquisition unit 100 checks the printing status. As a result, if the billing information waiting for printing has not reached a predetermined number (for example, 10) (NO in step S1107), the processing from step S1101 is repeated. On the other hand, if the billing information waiting for printing has reached the predetermined number (YES in step S1107), the billing information acquisition unit 100 continues the process until the printing progresses and the number of waiting for printing becomes less than the predetermined number. The operation is interrupted for a predetermined time (step S1108).

次に、本実施形態の印刷システムにおける顧客情報取得処理の手順を図12のフローチャートを参照して説明する。顧客情報取得部101は、請求情報取得部100によって請求情報が所定件数(例えば、10件)取得された場合に起動し、以下に示す一連の処理を行う。先ず、顧客情報取得部101は、記憶部22に格納されている請求情報から顧客コードを取得し、当該顧客コードに対応する顧客情報をデータベースサーバ2に要求するためのデータ(顧客情報要求データ)を作成する(ステップS1201)。そして、この作成した顧客情報要求データを通信部23を介して、データベースサーバ2に送信する(ステップS1202)。   Next, the procedure of customer information acquisition processing in the printing system of this embodiment will be described with reference to the flowchart of FIG. The customer information acquisition unit 101 is activated when a predetermined number (for example, 10) of billing information is acquired by the billing information acquisition unit 100 and performs the following series of processing. First, the customer information obtaining unit 101 obtains a customer code from the billing information stored in the storage unit 22, and data for requesting customer information corresponding to the customer code to the database server 2 (customer information request data). Is created (step S1201). Then, the created customer information request data is transmitted to the database server 2 via the communication unit 23 (step S1202).

データベースサーバ2は、印刷制御装置11からの顧客情報要求データを受信すると、これに含まれる顧客コードをキーにして、顧客DB200を検索し、該当する顧客情報(のレコード)を策出する。そして、当該顧客情報を含む応答メッセージを作成し、印刷制御装置11に送信する。   Upon receiving the customer information request data from the print control apparatus 11, the database server 2 searches the customer DB 200 using the customer code included therein as a key, and devises the corresponding customer information (record). Then, a response message including the customer information is created and transmitted to the print control apparatus 11.

顧客情報取得部101は、データベースサーバ2から顧客情報の要求に対する応答メッセージを受信すると(ステップS1203でYES)、当該応答メッセージから顧客情報を取り出し、記憶部22に格納する(ステップS1204)。顧客情報取得部101は、記憶部22に格納されている処理対象の請求情報がなくなるまで(ステップS1205でNO)、上記処理を繰り返し行う。   When the customer information acquisition unit 101 receives a response message to the customer information request from the database server 2 (YES in step S1203), the customer information acquisition unit 101 extracts the customer information from the response message and stores it in the storage unit 22 (step S1204). The customer information acquisition unit 101 repeats the above processing until there is no processing target billing information stored in the storage unit 22 (NO in step S1205).

続いて、本実施形態の印刷システムにおける印刷処理の手順を図13のフローチャートを参照して説明する。印刷処理は、顧客情報取得部101による顧客情報の取得後に開始される。先ず、レイアウト情報作成部102により印刷する宛名のレイアウト情報を作成する処理が行われる(ステップS1301)。レイアウト情報作成部102は、記憶部22に格納されている顧客情報から顧客名、事業所名(設定されている場合のみ)及び住所に関するデータを抽出し、抽出したこれらのデータを基に、上述したレイアウト条件に従って、印刷する宛名のレイアウト情報を作成する。この作成したレイアウト情報は、請求書情報作成部103に提供される。   Next, a printing process procedure in the printing system according to the present embodiment will be described with reference to a flowchart of FIG. The printing process is started after the customer information acquisition unit 101 acquires customer information. First, the layout information creation unit 102 creates a layout information for the address to be printed (step S1301). The layout information creation unit 102 extracts data on the customer name, the name of the business establishment (only when set) and the address from the customer information stored in the storage unit 22, and based on these extracted data, The layout information for the address to be printed is created according to the layout conditions. The created layout information is provided to the bill information creation unit 103.

次に、請求書情報作成部103により、顧客情報と、請求情報と、レイアウト情報と、に基づいて印刷内容となる請求書情報が作成される(ステップS1302)。請求書情報が作成されると、印刷媒体選択部104により、請求書情報を印刷する印刷媒体を決定する処理が行われる(ステップS1303)。印刷媒体選択部104は、顧客情報に含まれる様式コードと、請求書情報と、に基づき、上述した選択条件に従って、請求書情報を印刷する印刷媒体の決定を行う。この決定結果は、給紙トレイの番号(1〜4)で示され、印刷部105に提供される。また、印刷媒体選択部104は、印刷媒体P1〜P3以外の印刷媒体を選択した場合には、上述したように、その旨をモニタ40を介して報知する。そして、この場合の印刷媒体は、オペレータにより給紙トレイ4にセットされる。   Next, the invoice information creation unit 103 creates invoice information as print contents based on the customer information, the invoice information, and the layout information (step S1302). When the bill information is created, the print medium selection unit 104 performs a process of determining a print medium on which the bill information is printed (step S1303). The print medium selection unit 104 determines a print medium on which the bill information is printed according to the above-described selection conditions based on the form code included in the customer information and the bill information. The determination result is indicated by the number (1 to 4) of the paper feed tray and is provided to the printing unit 105. In addition, when a print medium other than the print media P1 to P3 is selected, the print medium selection unit 104 notifies the fact via the monitor 40 as described above. The print medium in this case is set on the paper feed tray 4 by the operator.

印刷媒体が決定されると、印刷部105は、作成した請求書情報及び給紙トレイを指定する信号を含む印刷制御信号をプリンタ10に送信する(ステップS1304)。プリンタ10は、指定された給紙トレイから印刷媒体を取り出し、請求書情報を印刷する(ステップS1305)。以上のようにして、印刷された請求書の例を図14に示す。この例では、印刷媒体P1に請求情報が印刷された様子が示されている。   When the print medium is determined, the printing unit 105 transmits to the printer 10 a print control signal including the created bill information and a signal designating the paper feed tray (step S1304). The printer 10 takes out the print medium from the designated paper feed tray and prints the bill information (step S1305). An example of an invoice printed as described above is shown in FIG. In this example, the billing information is printed on the print medium P1.

以上説明したように、本実施形態に係る印刷システムは、好適な態様で請求書を発送するために、自動的に最適な印刷媒体を選択することができるので、例えば、一の請求書の発送において、複数毎の圧着葉書を作成してしまうといった不都合がなくなり、作業者の負担が軽減される。   As described above, the printing system according to the present embodiment can automatically select an optimal print medium in order to send out a bill in a preferable manner. In this case, there is no inconvenience of creating a plurality of crimped postcards, and the burden on the operator is reduced.

また、請求書の宛名の表示態様を調整して印刷できるので、宛名の印刷文字数が多い場合であっても、宛名の表示許容範囲に収まるように印刷することができる。さらに、宛名を構成する住所、顧客名、事業所名等の各項目の表示バランスを考慮して印刷するので、視認性のよい、ユーザフレンドリーな請求書を作成できる。   In addition, since the display form of the address of the invoice can be adjusted and printed, even when the number of print characters of the address is large, it is possible to print so as to be within the display allowable range of the address. Furthermore, printing is performed in consideration of the display balance of each item such as the address, customer name, and establishment name constituting the address, so that a user-friendly bill with good visibility can be created.

尚、本発明は、上記実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲での種々の変更は勿論可能である。   In addition, this invention is not limited to the said embodiment, Of course, the various change in the range which does not deviate from the summary of this invention is possible.

例えば、特殊な印刷媒体、即ち、印刷媒体P1〜P3以外の印刷媒体についても、プリンタ10に常備させ、印刷制御装置11からの指示に従い自動的に切り替えて印刷できる構成にしてもよい。   For example, a special print medium, that is, a print medium other than the print mediums P1 to P3 may be provided in the printer 10 and automatically switched in accordance with an instruction from the print control device 11 to perform printing.

また、請求書を発送する葉書として、2つ折り又は3つ折りの圧着式葉書が上記実施形態で例示されているが、葉書の種類に限定はなく、例えば、いわゆる保護シール付の葉書等も採用することができる。   Further, as the postcard for sending out the invoice, a two-fold or three-fold crimped postcard is exemplified in the above embodiment, but the type of the postcard is not limited, and for example, a postcard with a so-called protective seal is also adopted. be able to.

本発明の一実施形態に係る印刷システムの構成を示す図である。1 is a diagram illustrating a configuration of a printing system according to an embodiment of the present invention. 印刷媒体P1を説明するための図である。It is a figure for demonstrating the printing medium P1. 印刷媒体P2を説明するための図である。It is a figure for demonstrating the printing medium P2. 印刷媒体P3を説明するための図である。It is a figure for demonstrating the printing medium P3. 図1の印刷制御装置の内部構成を示すブロック図である。FIG. 2 is a block diagram illustrating an internal configuration of the print control apparatus in FIG. 1. 顧客情報の構成を示す図である。It is a figure which shows the structure of customer information. 請求情報の構成を示す図である。It is a figure which shows the structure of billing information. 様式DBの構成を示す図である。It is a figure which shows the structure of style DB. 図5の制御部の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the control part of FIG. 宛名の印刷レイアウト例を示す図である。It is a figure which shows the example of a printing layout of an address. 請求情報を取得する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of acquiring billing information. 顧客情報を取得する際の処理手順を示すフローチャートである。It is a flowchart which shows the process sequence at the time of acquiring customer information. 印刷処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a printing process. 印刷媒体P1に請求情報が印刷された様子を示す図である。It is a figure which shows a mode that billing information was printed on the printing medium P1.

符号の説明Explanation of symbols

1 印刷装置
2 データベースサーバ
3 ネットワーク
10 プリンタ
11 印刷制御装置
20 装置本体
21 制御部
22 記憶部
23 通信部
30 入力部
40 モニタ
100 請求情報取得部
101 顧客情報取得部
102 レイアウト情報作成部
103 請求書情報作成部
104 印刷媒体選択部
105 印刷部
106 通知部
200 顧客DB
201 請求DB
202 様式DB
P1〜P3 印刷媒体
DESCRIPTION OF SYMBOLS 1 Printing apparatus 2 Database server 3 Network 10 Printer 11 Print control apparatus 20 Main body 21 Control part 22 Storage part 23 Communication part 30 Input part 40 Monitor 100 Claim information acquisition part 101 Customer information acquisition part 102 Layout information creation part 103 Invoice information Creation unit 104 Print medium selection unit 105 Printing unit 106 Notification unit 200 Customer DB
201 Claim DB
202 Style DB
P1 to P3 print media

Claims (8)

顧客毎の請求情報が記憶されている請求データベースと、
名称データと、住所データと、請求書様式データと、を含む顧客情報が記憶されている顧客データベースと、
請求書を発送すべき顧客に対応する請求情報を前記請求データベースから取得する請求情報取得手段と、
請求書を発送すべき顧客に対応する顧客情報を前記顧客データベースから取得する顧客情報取得手段と、
取得した前記顧客情報に含まれる前記名称データと、前記住所データと、に基づいて、請求書の宛名を所定の条件に合致させて印刷するためのレイアウト情報を作成するレイアウト情報作成手段と、
取得した前記請求情報と、取得した前記顧客情報と、作成した前記レイアウト情報と、に基づいて請求書情報を作成する請求書情報作成手段と、
取得した前記顧客情報に含まれる前記請求書様式データに基づいて、複数種類の印刷媒体の中から一の印刷媒体を選択する印刷媒体選択手段と、
前記選択した印刷媒体に前記請求書情報を印刷する印刷手段と、
を備えることを特徴とする印刷システム。
A billing database that stores billing information for each customer;
A customer database in which customer information including name data, address data, and invoice form data is stored;
Billing information acquisition means for acquiring billing information corresponding to a customer to whom a bill should be sent from the billing database;
Customer information acquisition means for acquiring customer information corresponding to a customer to whom an invoice is to be sent from the customer database;
Layout information creating means for creating layout information for printing by matching the address of the invoice to a predetermined condition based on the name data included in the acquired customer information and the address data;
Bill information creating means for creating bill information based on the acquired bill information, the acquired customer information, and the created layout information;
Print medium selecting means for selecting one print medium from a plurality of types of print media based on the bill form data included in the acquired customer information;
Printing means for printing the bill information on the selected print medium;
A printing system comprising:
前記印刷媒体の種類には、少なくとも、葉書による請求書の発送に対応する第1の印刷媒体と、葉書による請求書の発送に対応し、前記第1の印刷媒体より印刷可能領域が大きい第2の印刷媒体と、封書による請求書の発送に対応する第3の印刷媒体と、があり、
前記顧客情報に含まれる前記請求書様式データが示す請求書の様式が、葉書による請求書の発送に対応する場合、前記印刷媒体選択手段は、前記請求書情報に基づいて、前記第1の印刷媒体、前記第2の印刷媒体又は前記第3の印刷媒体の中から最も適したものを選択する、
ことを特徴とする請求項1に記載の印刷システム。
The type of the print medium includes at least a first print medium corresponding to sending a bill by postcard and a second printable area corresponding to sending a bill by postcard and having a printable area larger than that of the first print medium. And a third print medium corresponding to the sending out of the invoice by sealed letter,
When the form of the invoice indicated by the invoice form data included in the customer information corresponds to the delivery of the invoice by a postcard, the print medium selecting means performs the first printing based on the invoice information. Selecting the most suitable medium, the second print medium or the third print medium;
The printing system according to claim 1.
前記印刷媒体選択手段は、前記請求書情報の印刷上の表示サイズに基づいて、前記第1の印刷媒体、前記第2の印刷媒体又は前記第3の印刷媒体の中から最も適したものを選択する、
ことを特徴とする請求項2に記載の印刷システム。
The print medium selection unit selects the most suitable one from the first print medium, the second print medium, and the third print medium based on the display size of the bill information on printing. To
The printing system according to claim 2.
前記顧客情報に含まれる前記請求書様式データが示す請求書の様式と、前記印刷媒体選択手段により選択された印刷媒体に対応する請求書の様式が異なる場合、その旨を当該顧客に通知する通知手段を更に備える、
ことを特徴とする請求項2又は3に記載の印刷システム。
A notification for notifying the customer when the bill format indicated by the bill format data included in the customer information is different from the bill format corresponding to the print medium selected by the print medium selection means. Further comprising means,
The printing system according to claim 2 or 3, wherein
顧客毎の請求情報が記憶されている請求データベースから請求書を発送すべき顧客に対応する請求情報を取得する請求情報取得工程と、
名称データと、住所データと、請求書様式データと、を含む顧客情報が記憶されている顧客データベースから請求書を発送すべき顧客に対応する顧客情報を取得する顧客情報取得工程と、
取得した前記顧客情報に含まれる前記名称データと、前記住所データと、に基づいて、請求書の宛名を所定の条件に合致させて印刷するためのレイアウト情報を作成するレイアウト情報作成工程と、
取得した前記請求情報と、取得した前記顧客情報と、作成した前記レイアウト情報と、に基づいて請求書情報を作成する請求書情報作成工程と、
取得した前記顧客情報に含まれる前記請求書様式データに基づいて、複数種類の印刷媒体の中から一の印刷媒体を選択する印刷媒体選択工程と、
前記選択した印刷媒体に前記請求書情報を印刷する印刷工程と、
を備えることを特徴とする印刷方法。
A billing information acquisition step for acquiring billing information corresponding to a customer to which a bill should be sent out from a billing database in which billing information for each customer is stored;
A customer information acquisition step of acquiring customer information corresponding to a customer to whom an invoice is to be sent from a customer database in which customer information including name data, address data, and invoice form data is stored;
A layout information creating step for creating layout information for printing by matching the address of the invoice with a predetermined condition based on the name data included in the acquired customer information and the address data;
A bill information creating step for creating bill information based on the obtained bill information, the obtained customer information, and the created layout information;
A print medium selection step of selecting one print medium from a plurality of types of print media based on the bill form data included in the acquired customer information;
A printing step of printing the bill information on the selected print medium;
A printing method comprising:
前記印刷媒体の種類には、少なくとも、葉書による請求書の発送に対応する第1の印刷媒体と、葉書による請求書の発送に対応し、前記第1の印刷媒体より印刷可能領域が大きい第2の印刷媒体と、封書による請求書の発送に対応する第3の印刷媒体と、があり、
前記顧客情報に含まれる前記請求書様式データが示す請求書の様式が、葉書による請求書の発送に対応する場合、前記印刷媒体選択工程では、前記請求書情報に基づいて、前記第1の印刷媒体、前記第2の印刷媒体又は前記第3の印刷媒体の中から最も適したものが選択される、
ことを特徴とする請求項5に記載の印刷方法。
The type of the print medium includes at least a first print medium corresponding to sending a bill by postcard and a second printable area corresponding to sending a bill by postcard and having a printable area larger than that of the first print medium. And a third print medium corresponding to the sending out of the invoice by sealed letter,
When the form of the invoice indicated by the invoice form data included in the customer information corresponds to the delivery of the invoice by postcard, in the print medium selection step, the first printing is performed based on the invoice information. The most suitable medium is selected from the medium, the second print medium, or the third print medium.
The printing method according to claim 5.
前記印刷媒体選択工程では、前記請求書情報の印刷上の表示サイズに基づいて、前記第1の印刷媒体、前記第2の印刷媒体又は前記第3の印刷媒体の中から最も適したものが選択される、
ことを特徴とする請求項6に記載の印刷方法。
In the print medium selection step, the most suitable one is selected from the first print medium, the second print medium, and the third print medium based on the display size of the bill information on printing. To be
The printing method according to claim 6.
前記顧客情報に含まれる前記請求書様式データが示す請求書の様式と、前記印刷媒体選択工程で選択された印刷媒体に対応する請求書の様式が異なる場合、その旨を当該顧客に通知する通知工程を更に備える、
ことを特徴とする請求項6又は7に記載の印刷方法。
Notification that notifies the customer when the form of the invoice indicated by the invoice form data included in the customer information is different from the form of the invoice corresponding to the print medium selected in the print medium selection step Further comprising a step,
The printing method according to claim 6 or 7, characterized by the above.
JP2006347641A 2006-12-25 2006-12-25 Printing system and printing method Pending JP2008158851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006347641A JP2008158851A (en) 2006-12-25 2006-12-25 Printing system and printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006347641A JP2008158851A (en) 2006-12-25 2006-12-25 Printing system and printing method

Publications (1)

Publication Number Publication Date
JP2008158851A true JP2008158851A (en) 2008-07-10

Family

ID=39659680

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006347641A Pending JP2008158851A (en) 2006-12-25 2006-12-25 Printing system and printing method

Country Status (1)

Country Link
JP (1) JP2008158851A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157131A (en) * 2008-12-27 2010-07-15 Canon Inc Image forming apparatus, print method, print program, and print system
JP2019067313A (en) * 2017-10-04 2019-04-25 株式会社寺岡精工 Print data output device, printing system, and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010157131A (en) * 2008-12-27 2010-07-15 Canon Inc Image forming apparatus, print method, print program, and print system
JP2019067313A (en) * 2017-10-04 2019-04-25 株式会社寺岡精工 Print data output device, printing system, and program
JP6990910B2 (en) 2017-10-04 2022-01-12 株式会社寺岡精工 Print data output device and program

Similar Documents

Publication Publication Date Title
US9070142B2 (en) Order fulfillment system and method for printing products including individualized information
US8296183B2 (en) System and method for dynamic layout intelligence
US20030004997A1 (en) Method for online personalization of greeting cards
US20060010054A1 (en) Purchase order and purchase order response interactive forms
US20020178078A1 (en) System and method for retaining clients by automated services fulfillment
US8564808B2 (en) Systems and methods for processing of variable documents
JP2008210144A (en) Bill issuing system and bill issuing method
MXPA03008533A (en) Method and system for point of purchase sign creation and delivery.
JP2008158851A (en) Printing system and printing method
JP2009234047A (en) Notebook slip used in distribution system
CN102645860A (en) Image forming apparatus, consumables ordering system and consumables ordering method
JPS5819976A (en) Slip processing device
JP2013114448A (en) Leaflet creation system, leaflet creation method, and program
WO2000075823A1 (en) Information management device
US20060116928A1 (en) Distribution advertisement management system, method, computer-readable recording medium and computer data signal embedded in carrier
JP7356639B1 (en) Data processing device, data processing method and program
JP7432193B1 (en) Program, information processing method, and information processing device
JP6754915B1 (en) Receipt data management device and its program, and receipt data management method
JP2002014899A (en) Mail printing system, method for controlling the same, and computer readable memory
JP2006309374A (en) Gift selecting system
JP2004341867A (en) Enclosure determination method and enclosure management system
JP2006113631A (en) Communication support method and system
JP2002056345A (en) Information integrating system
JP2022123729A (en) Information processing apparatus, information processing method and program
JP2002245128A (en) System and program for publishing advertisement