Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7199819B2 - PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM - Google Patents
[go: Go Back, main page]

JP7199819B2 - PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM - Google Patents

PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM Download PDF

Info

Publication number
JP7199819B2
JP7199819B2 JP2018066119A JP2018066119A JP7199819B2 JP 7199819 B2 JP7199819 B2 JP 7199819B2 JP 2018066119 A JP2018066119 A JP 2018066119A JP 2018066119 A JP2018066119 A JP 2018066119A JP 7199819 B2 JP7199819 B2 JP 7199819B2
Authority
JP
Japan
Prior art keywords
definition
supplier
form design
print layout
design data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018066119A
Other languages
Japanese (ja)
Other versions
JP2019175381A (en
Inventor
貴詞 鈴木
英晴 永井
剛光 上野
Original Assignee
株式会社オービック
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 株式会社オービック filed Critical 株式会社オービック
Priority to JP2018066119A priority Critical patent/JP7199819B2/en
Publication of JP2019175381A publication Critical patent/JP2019175381A/en
Application granted granted Critical
Publication of JP7199819B2 publication Critical patent/JP7199819B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Facsimiles In General (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

本発明は、印字レイアウト切替装置、印字レイアウト切替方法、及び印字レイアウト切替プログラムに関する。 The present invention relates to a print layout switching device, a print layout switching method, and a print layout switching program.

例えば、取引先毎にデザインの要求が変化する対外帳票においては、それぞれ出力する帳票デザインを分けたい場面が発生する。従来の帳票印刷システムとして、例えば、特許文献1がある。特許文献1の帳票印刷システム10では、コンピュータ12の記憶装置16には、帳票印刷プログラム18、帳票定義ファイル20、印刷色変換ファイル22、線幅変換ファイル24、および、帳票内容ファイル26が記録される。線幅変換ファイル24には、帳票定義情報に含まれる罫線幅に対応して、プリンタに対して指示すべき罫線幅を表す線幅変換情報がプリンタ機種毎に格納される。帳票印刷プログラム18は帳票定義ファイル20に基づき帳票印刷データを作成するが、その際、線幅変換ファイル24に格納された、該当するプリンタ機種についての線幅変換情報に基づいて、帳票定義情報に含まれる罫線幅を変換する。 For example, in the case of external forms whose design requirements change for each business partner, there arises a situation where it is desired to divide the form design to be output. As a conventional form printing system, for example, there is Japanese Unexamined Patent Application Publication No. 2002-100000. In the form printing system 10 of Patent Document 1, a form printing program 18, a form definition file 20, a print color conversion file 22, a line width conversion file 24, and a form content file 26 are recorded in the storage device 16 of the computer 12. be. In the line width conversion file 24, line width conversion information representing the ruled line width to be instructed to the printer is stored for each printer model in correspondence with the ruled line width included in the form definition information. The form print program 18 creates form print data based on the form definition file 20. At that time, the form definition information is converted based on the line width conversion information for the corresponding printer model stored in the line width conversion file 24. Converts the included border width.

特開2004-38506号公報JP-A-2004-38506

しかしながら、従来のシステム構造では、帳票定義と印刷プログラムが1:1に紐付けられていたため、各取引先毎に出力する帳票デザインを分ける場合、各取引先毎に要件を満たした印刷プログラムを開発する必要があり、大幅なコストが発生していた。 However, in the conventional system structure, the form definition and the printing program were linked 1:1, so if the form design to be output for each business partner was different, a printing program that met the requirements for each business partner was developed. had to be done, resulting in significant costs.

本発明は、上記に鑑みてなされたものであり、各取引先毎の要件を満たした帳票デザインの出力を1つの印刷プログラムで実行できるようにすることで、開発コストを低減した印字レイアウト切替装置、印字レイアウト切替方法、及び印字レイアウト切替プログラムを提供することを目的とする。 The present invention has been made in view of the above, and a print layout switching device that reduces development costs by enabling a single print program to output a form design that satisfies the requirements of each customer. , a print layout switching method, and a print layout switching program.

上述した課題を解決し、目的を達成するために、本発明は、制御部と記憶部を備えた印字レイアウト切替装置であって、前記記憶部は、1つの印刷プログラムに対して、複数の定義NOと、各定義NOについての定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録した帳票定義テーブルと、取引先コードと、取引先名と、定義NOとを関連づけて登録した取引先マスタと、を備え、前記制御部は、前記印刷プログラムを起動し、ユーザ入力される取引先CDをキーとして、前記取引先マスタから定義NOを取得し、取得した定義NOをキーとして、前記帳票定義テーブルから帳票デザイン特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、帳票印字データを出力することを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention provides a print layout switching device comprising a control section and a storage section, wherein the storage section stores a plurality of definitions for one print program. A form definition table in which NO is associated with a definition name for each definition number and form design data specifying information for reading form design data, and a supplier code, supplier name, and definition number are associated with each other. and a registered supplier master, wherein the control unit starts the print program, acquires the definition number from the supplier master using the supplier CD input by the user as a key, and uses the acquired definition number as a key. , the form design specifying information is acquired from the form definition table, the form design data is read by the acquired form design specifying information, and the form print data is output.

また、本実施の形態によれば、前記帳票デザインデータは、各取引先の定型フォームであることにしてもよい。 Further, according to this embodiment, the form design data may be a standard form of each business partner.

また、上述した課題を解決し、目的を達成するために、本発明は、制御部と記憶部を備えた情報処理装置で実行される印字レイアウト切替方法であって、前記記憶部は、1つの印刷プログラムに対して、複数の定義NOと、各定義NOについての定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録した帳票定義テーブルと、取引先コードと、取引先名と、定義NOとを関連づけて登録した取引先マスタと、を備え、前記制御部で実行される、前記印刷プログラムを起動し、ユーザ入力される取引先CDをキーとして、前記取引先マスタから定義NOを取得し、取得した定義NOをキーとして、前記帳票定義テーブルから帳票デザイン特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、帳票印字データを出力するステップを含むことを特徴とする。 Further, in order to solve the above-described problems and achieve the object, the present invention provides a print layout switching method executed by an information processing apparatus having a control section and a storage section, wherein the storage section comprises one A form definition table in which a plurality of definition numbers, definition names for each definition number and form design data specifying information for reading form design data are associated and registered for a printing program, a supplier code, and a supplier and a supplier master registered in association with a name and a definition number. Obtaining a definition number, using the obtained definition number as a key to obtain form design specific information from the form definition table, reading form design data based on the obtained form design specific information, and outputting form print data. It is characterized by

また、上述した課題を解決し、目的を達成するために、本発明は、制御部と記憶部を備えた情報処理装置に実行させるための印字レイアウト切替プログラムであって、前記記憶部は、1つの印刷プログラムに対して、複数の定義NOと、各定義NOについての定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録した帳票定義テーブルと、取引先コードと、取引先名と、定義NOとを関連づけて登録した取引先マスタと、を備え、前記制御部で実行される、前記印刷プログラムを起動し、ユーザ入力される取引先CDをキーとして、前記取引先マスタから定義NOを取得し、取得した定義NOをキーとして、前記帳票定義テーブルから帳票デザイン特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、帳票印字データを出力するステップを前記制御部に実行させるための印字レイアウト切替プログラムであることを特徴とする。 Further, in order to solve the above-described problems and achieve the object, the present invention provides a print layout switching program to be executed by an information processing apparatus having a control section and a storage section, wherein the storage section comprises: A form definition table in which a plurality of definition numbers, definition names for each definition number and form design data specifying information for reading form design data are associated and registered for one printing program, a supplier code, and a transaction a supplier name and a definition number registered in association with each other; the printing program executed by the control unit is started; obtaining the definition number from the table, using the obtained definition number as a key, obtaining the form design specific information from the form definition table, reading the form design data based on the obtained form design specific information, and outputting the form print data. It is characterized by being a print layout switching program to be executed by the control unit.

本発明によれば、取引先毎の要件を満たした帳票デザインの出力を1つの印刷プログラムで実行できるようにすることで、開発コストを低減することが可能となるという効果を奏する。 According to the present invention, it is possible to reduce the development cost by enabling a single printing program to output a form design that satisfies the requirements of each client.

図1は、本実施の形態に係る印字レイアウト切替装置の構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of a print layout switching device according to this embodiment. 図2は、帳票定義テーブルの構成例を示す図である。FIG. 2 is a diagram showing a configuration example of a form definition table. 図3は、取引先マスタの構成例を示す図である。FIG. 3 is a diagram showing a configuration example of a supplier master. 図4は、本実施の形態における印字レイアウト切替装置の全体の処理の一例を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining an example of the overall processing of the print layout switching device according to the present embodiment. 図5は、A社向け請求書を出力する流れを説明するための図である。FIG. 5 is a diagram for explaining the flow of outputting an invoice for company A. As shown in FIG. 図6は、C社向け請求書を出力する流れを説明するための図である。FIG. 6 is a diagram for explaining the flow of outputting an invoice for company C. As shown in FIG.

以下に、本発明に係る印字レイアウト切替装置、印字レイアウト切替方法、及び印字レイアウト切替プログラムの実施の形態を、図面に基づいて詳細に説明する。なお、本実施形態によりこの発明が限定されるものではない。 BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a print layout switching device, a print layout switching method, and a print layout switching program according to the present invention will be described below in detail with reference to the drawings. In addition, this invention is not limited by this embodiment.

[1.概要]
例えば、取引先毎にデザインの要求が変化する対外帳票においては、それぞれ出力する帳票データを分けたい場面が発生する。しかしながら、従来のシステム構造では、帳票定義と印刷プログラムが1:1に紐付けられていたため、各取引先毎に出力する帳票デザインを分ける場合、各取引先毎に要件を満たした印刷プログラムを開発する必要があり、大幅なコストが発生していた。
[1. overview]
For example, in the case of external forms whose design requirements change for each business partner, there arises a situation in which it is desirable to separate the form data to be output. However, in the conventional system structure, the form definition and the printing program were linked 1:1, so if the form design to be output for each business partner was different, a printing program that met the requirements for each business partner was developed. had to be done, resulting in significant costs.

そこで、本実施の形態では、1つの印刷プログラムと帳票定義を別管理し、割当設定を取引先毎に持たせることで1つの印刷プログラムに対して、複数の帳票定義の割当を可能とした。これにより、各取引先の要件を満たした帳票デザインの出力を1つのプログラムで行うことが可能となるため、開発コストの削減が可能となる。 Therefore, in the present embodiment, one print program and one form definition are separately managed, and each business partner has an allocation setting, thereby making it possible to allocate a plurality of form definitions to one print program. As a result, it is possible to output a form design that satisfies the requirements of each business partner with a single program, so development costs can be reduced.

[2.構成]
本実施の形態に係る印字レイアウト切替装置100の構成について、図1を参照して説明する。図1は、本実施の形態に係る印字レイアウト切替装置100の構成の一例を示すブロック図である。
[2. Constitution]
A configuration of the print layout switching device 100 according to the present embodiment will be described with reference to FIG. FIG. 1 is a block diagram showing an example of the configuration of a print layout switching device 100 according to this embodiment.

印字レイアウト切替装置100は、市販のデスクトップ型パーソナルコンピュータである。なお、印字レイアウト切替装置100は、デスクトップ型パーソナルコンピュータのような据置型情報処理装置に限らず、市販されているノート型パーソナルコンピュータ、PDA(Personal Digital Assistants)、スマートフォン、タブレット型パーソナルコンピュータなどの携帯型情報処理装置であってもよい。 The print layout switching device 100 is a commercially available desktop personal computer. Note that the print layout switching device 100 is not limited to a stationary information processing device such as a desktop personal computer, but can also be used in mobile devices such as commercially available notebook personal computers, PDAs (Personal Digital Assistants), smart phones, and tablet personal computers. type information processing device.

印字レイアウト切替装置100は、図1に示すように、制御部102と通信インターフェース部104と記憶部106と入出力インターフェース部108と、を備えている。印字レイアウト切替装置100が備えている各部は、任意の通信路を介して通信可能に接続されている。 The print layout switching device 100 includes a control section 102, a communication interface section 104, a storage section 106, and an input/output interface section 108, as shown in FIG. Each unit included in the print layout switching device 100 is communicably connected via an arbitrary communication path.

通信インターフェース部104は、ルータ等の通信装置および専用線等の有線または無線の通信回線を介して、印字レイアウト切替装置100をネットワーク300に通信可能に接続する。通信インターフェース部104は、他の装置と通信回線を介してデータを通信する機能を有する。ここで、ネットワーク300は、印字レイアウト切替装置100と端末装置とを相互に通信可能に接続する機能を有し、例えばインターネットやLAN(Local Area Network)等である。なお、後述する記憶部106に格納されるデータは、サーバに格納されてもよい。 The communication interface unit 104 communicably connects the print layout switching device 100 to the network 300 via a communication device such as a router and a wired or wireless communication line such as a dedicated line. The communication interface unit 104 has a function of communicating data with another device via a communication line. Here, the network 300 has a function of connecting the print layout switching device 100 and the terminal device so that they can communicate with each other, and is, for example, the Internet or a LAN (Local Area Network). Note that data stored in the storage unit 106, which will be described later, may be stored in a server.

入出力インターフェース部108には、入力装置112および出力装置114が接続されている。出力装置114には、モニタ(家庭用テレビを含む)の他、スピーカやプリンタを用いることができる。入力装置112には、キーボード、マウス、およびマイクの他、マウスと協働してポインティングデバイス機能を実現するモニタを用いることができる。なお、以下では、出力装置114をモニタ114とし、入力装置112をキーボード112またはマウス112として記載する場合がある。また、ユーザが出力装置(モニタ)114の画面に表示して、入力装置112で操作することを、「UIを介したユーザ操作」と記載する場合がある。 An input device 112 and an output device 114 are connected to the input/output interface section 108 . The output device 114 can be a monitor (including a home television), a speaker, or a printer. The input device 112 can be a keyboard, a mouse, a microphone, or a monitor that cooperates with the mouse to provide a pointing device function. Note that, hereinafter, the output device 114 may be referred to as the monitor 114 and the input device 112 may be referred to as the keyboard 112 or the mouse 112 . Also, a user's display on the screen of the output device (monitor) 114 and operation with the input device 112 may be described as "user operation via UI".

記憶部106には、各種のデータベース、テーブル、およびファイルなどが格納される。記憶部106には、OS(Operating System)と協働してCPU(Central Processing Unit)に命令を与えて各種処理を行うためのコンピュータプログラムが記録される。記憶部106として、例えば、RAM(Random Access Memory)・ROM(Read Only Memory)等のメモリ装置、ハードディスクのような固定ディスク装置、フレキシブルディスク、および光ディスク等を用いることができる。 The storage unit 106 stores various databases, tables, files, and the like. The storage unit 106 stores a computer program for performing various processes by giving commands to a CPU (Central Processing Unit) in cooperation with an OS (Operating System). As the storage unit 106, for example, memory devices such as RAM (Random Access Memory) and ROM (Read Only Memory), fixed disk devices such as hard disks, flexible disks, and optical disks can be used.

記憶部106は、帳票定義テーブル106a及び取引先マスタ106b等を格納する。図2は、帳票定義テーブル106aの構成例を示す図である。図3は、取引先マスタ106bの構成例を示す図である。 The storage unit 106 stores a form definition table 106a, a supplier master 106b, and the like. FIG. 2 is a diagram showing a configuration example of the form definition table 106a. FIG. 3 is a diagram showing a configuration example of the supplier master 106b.

帳票定義テーブル106aは、図2に示すように、1つの印刷プログラムと、同一帳票を別デザインの帳票として管理するための複数の定義NOと、各定義NOの定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録する。帳票デザインデータ特定情報は、帳票デザインデータを読み出すための情報であり、帳票デザインデータ自体、帳票デザインデータを読み出すためのパスやファイル等(例えば、「.dll」)とすることができる。 The form definition table 106a, as shown in FIG. 2, is for reading out one printing program, a plurality of definition numbers for managing the same form as a form with a different design, and the definition name and form design data for each definition number. is registered in association with the form design data specification information. The form design data specifying information is information for reading out the form design data, and can be the form design data itself, a path or file (for example, ".dll") for reading out the form design data.

図2に示す帳票定義テーブル106aの例では、印刷プログラム「Print.Seikyuusho.exe」に4つの定義NOが登録されており、定義NO「0」、定義名「請求書(オリジナル)」、帳票デザインデータ特定情報「バイナリデータ0」と、定義NO「1」、定義名「A社様:請求書」、帳票デザインデータ特定情報「バイナリデータ1」と、定義NO「2」、定義名「B社様:請求書」、帳票デザインデータ特定情報「バイナリデータ2」と、定義NO「3」、定義名「C社様:請求書」、帳票デザインデータ特定情報「バイナリデータ3」が登録されている。 In the example of the form definition table 106a shown in FIG. 2, four definition numbers are registered in the print program “Print. Data specification information "binary data 0", definition number "1", definition name "A company: invoice", form design data specification information "binary data 1", definition number "2", definition name "B company Company: invoice", form design data specific information "binary data 2", definition No. "3", definition name "Company C: invoice", form design data specific information "binary data 3" are registered. .

帳票デザインデータ特定情報の「バイナリデータ1」は請求書(オリジナル)の帳票デザインデータ、「バイナリデータ2」は、A社仕様請求書の帳票デザインデータ、「バイナリデータ3」は、B社仕様請求書の帳票デザインデータ、「バイナリデータ0」は、C社仕様請求書の帳票デザインデータである。 "Binary data 1" of the form design data specific information is the invoice (original) form design data, "Binary data 2" is the form design data of the invoice specified by company A, and "Binary data 3" is the invoice specified by company B. The form design data of the bill, "binary data 0", is the form design data of the invoice specified by C company.

なお、ここでは、帳票デザインデータ特定情報をバイナリデータ(binary data)としているが帳票デザインデータを取得できる値(情報)であればなんでもよく、例えば、帳票デザインを記録したWordファイルやExcelファイルのフォルダーパスとしてもよい。 In this case, the form design data specifying information is binary data, but any value (information) that can acquire the form design data can be used. It can be a path.

例えば、帳票デザインデータは、ユーザがオリジナルデータを元に、各場面に適したデザインに編集して、帳票定義テーブル106aに登録することにしてもよい。 For example, the form design data may be edited by the user based on the original data into a design suitable for each scene and registered in the form definition table 106a.

取引先マスタ106bは、各取引先に対して、作成した帳票定義を割り当てるためのマスタである。取引先マスタ106bは、図3に示すように、取引先CDと、取引先名と、定義NOを対応づけて登録する。図3に示す例では、取引先CD「A0001」、取引先名「A社」、定義NO「1」と、取引先CD「B0001」、取引先名「B社」と、定義NO「2」と、取引先CD「C0001」、取引先名「C社」、定義NO「3」と、取引先CD「D0001」、取引先名「D社」、定義NO「0」とが登録されている。 The supplier master 106b is a master for allocating the created form definition to each supplier. As shown in FIG. 3, the supplier master 106b registers supplier CDs, supplier names, and definition numbers in association with each other. In the example shown in FIG. 3, supplier CD "A0001", supplier name "A company", definition NO "1", supplier CD "B0001", supplier name "B company" and definition NO "2" , supplier CD "C0001", supplier name "C company", definition No. "3" and supplier CD "D0001", supplier name "D company", definition No. "0" are registered. .

制御部102は、印字レイアウト切替装置100を統括的に制御するCPU等である。制御部102は、OS等の制御プログラム・各種の処理手順等を規定したプログラム・所要データなどを格納するための内部メモリを有し、格納されているこれらのプログラムに基づいて種々の情報処理を実行する。制御部102は、機能概念的に、メンテ部102aと、プログラム実行部102bと、を備えている。 The control unit 102 is a CPU or the like that comprehensively controls the print layout switching device 100 . The control unit 102 has an internal memory for storing a control program such as an OS, a program defining various processing procedures, required data, and the like, and performs various information processing based on these stored programs. Run. The control unit 102 functionally and conceptually includes a maintenance unit 102a and a program execution unit 102b.

メンテ部102aは、ユーザの指示に応じて、マスタ・テーブルのメンテ画面(不図示)を出力装置114に表示し、当該メンテ画面上でのユーザの操作に応じて、帳票定義テーブル106a及び取引先マスタ106b等のデータの入力・変更・追加等の編集や登録を行う。 The maintenance unit 102a displays a maintenance screen (not shown) of the master table on the output device 114 in accordance with the user's instruction, and in response to the user's operation on the maintenance screen, the form definition table 106a and the supplier Editing and registration such as input, change, addition, etc. of data in the master 106b and the like are performed.

プログラム実行部102bは、プログラムを起動して実行するためのものである。プログラム実行部102bは、UIを介したユーザ操作に応答して、印刷プログラムを起動し、画面に取引先CDの入力欄を表示し、印刷時に、ユーザ入力される取引先CDをキーとして、取引先マスタ106bから定義NOを取得し、取得した定義NOをキーとして、帳票定義テーブル106aの帳票デザインデータ特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、印字データと帳票デザインデータをバインドした帳票印字データをプリンタ114から出力する。 The program execution unit 102b is for starting and executing a program. The program execution unit 102b activates the print program in response to a user operation via the UI, displays an input field for the supplier CD on the screen, and when printing, uses the supplier CD entered by the user as a key to print the transaction. The definition number is acquired from the destination master 106b, the form design data specifying information of the form definition table 106a is acquired using the acquired definition number as a key, and the form design data is read according to the acquired form design specifying information, and the print data and the form are read. The form print data bound with the design data is output from the printer 114 .

[3.処理の具体例]
図1~図6を参照して、本実施の形態における印字レイアウト切替装置100の処理の具体例を説明する。まず、図1~図4を参照して、本実施の形態における印字レイアウト切替装置100の全体の処理の概略を説明する。図4は、本実施の形態における印字レイアウト切替装置100の全体の処理の一例を説明するためのフローチャートである。
[3. Specific example of processing]
A specific example of the processing of the print layout switching device 100 according to the present embodiment will be described with reference to FIGS. 1 to 6. FIG. First, referring to FIGS. 1 to 4, the outline of the overall processing of print layout switching device 100 according to the present embodiment will be described. FIG. 4 is a flow chart for explaining an example of the overall processing of the print layout switching device 100 according to the present embodiment.

図4において、プログラム実行部102bは、UIを介したユーザ操作に応答して、印刷プログラムを起動する(ステップS1)。プログラム実行部102bは、表示画面に取引先CDの入力エリアを表示する(ステップS2)。ユーザは入力エリアに取引先CDを入力する(ステップS3)。プログラム実行部102bは、取引先CDをキーとして、取引先マスタ106bから定義NOを取得する(ステップS4)。取得した定義NOをキーとして、帳票定義テーブル106aの帳票デザインデータ特定情報を取得し、プログラム実行部102bは、取得した帳票デザイン特定情報により帳票デザインデータを読み込む(ステップS5)。 In FIG. 4, the program execution unit 102b starts a print program in response to a user's operation via the UI (step S1). The program execution unit 102b displays an input area for the supplier CD on the display screen (step S2). The user inputs the supplier CD in the input area (step S3). The program execution unit 102b acquires the definition NO from the supplier master 106b using the supplier CD as a key (step S4). Using the acquired definition number as a key, the form design data specifying information of the form definition table 106a is acquired, and the program execution unit 102b reads the form design data according to the acquired form design specifying information (step S5).

プログラム実行部102bは、対象の印字データと読み込んだ帳票デザインデータをバインドした帳票印字データをプリンタ114から出力する(ステップS6)。 The program execution unit 102b outputs from the printer 114 form print data in which the target print data and the read form design data are bound (step S6).

図5は、A社向け請求書を出力する際の流れを説明するための図である。(S1)起動ファイル「Print.Seikyuusho.exe」を起動する。(S2、S3)表示画面の取引先コードの入力エリアで取引先CD「A0001」を入力する。(S4)取引先CD「A0001」をキーとして、取引先マスタ106bから定義NO「1」を取得する。(S5)取得した定義NO「1」をキーとして、帳票定義テーブル106aを参照し、帳票デザインデータ特定情報「バイナリデータ1」により帳票デザインデータ(A社向け請求書の帳票)を読み出す。帳票デザインデータと印字データをバインドした帳票印字データを作成する。(S6)帳票印字データをプリンタ114から出力する。 FIG. 5 is a diagram for explaining the flow of outputting an invoice for company A. As shown in FIG. (S1) Start the startup file "Print.Seikyusho.exe". (S2, S3) Enter supplier CD "A0001" in the supplier code entry area on the display screen. (S4) Using the customer CD "A0001" as a key, the definition NO "1" is acquired from the customer master 106b. (S5) Using the acquired definition number "1" as a key, the form definition table 106a is referred to, and the form design data (invoice form for company A) is read according to the form design data specifying information "binary data 1". Create form print data by binding form design data and print data. (S6) The form print data is output from the printer 114. FIG.

図6は、C社向け請求書を出力する際の流れを説明するための図である。(S1)起動ファイル「Print.Seikyuusho.exe」を起動する。(S2、S3)表示画面の取引先コードの入力エリアで取引先CD「C0001」を入力する。(S4)取引先CD「C0001」をキーとして、取引先マスタ106cを参照して、定義NO「3」を取得する。(S5)取得した定義NO「3」をキーとして、帳票定義テーブル106aを参照して、帳票デザインデータ特定情報「バイナリデータ3」により帳票デザインデータ(C社向け請求書の帳票)を読み出す。帳票デザインデータと印字データをバインドした帳票印字データを作成する。(S6)帳票印字データをプリンタ114から出力する。 FIG. 6 is a diagram for explaining the flow of outputting an invoice for company C. As shown in FIG. (S1) Start the startup file "Print.Seikyusho.exe". (S2, S3) Enter supplier CD "C0001" in the supplier code entry area on the display screen. (S4) Using supplier CD "C0001" as a key, reference is made to supplier master 106c to obtain definition No. "3". (S5) Using the acquired definition number "3" as a key, the form definition table 106a is referred to, and the form design data (invoice form for company C) is read according to the form design data specifying information "binary data 3". Create form print data by binding form design data and print data. (S6) The form print data is output from the printer 114. FIG.

以上説明したように、本実施の形態によれば、1つの印刷プログラムに対して、複数の定義NOと、各定義NOについての定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録した帳票定義テーブル106aと、取引先コードと、取引先名と、定義NOとを関連づけて登録した取引先マスタ106bと、前記印刷プログラムを起動し、ユーザ入力される取引先CDをキーとして、取引先マスタ106bから定義NOを取得し、取得した定義NOをキーとして、帳票定義テーブル106aから帳票デザイン特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、帳票印字データを出力することとしたので、取引先毎の要件を満たした帳票デザインの出力を1つの印刷プログラムで実行できるようにすることで、開発コストを低減することが可能となる。 As described above, according to the present embodiment, a plurality of definition numbers, definition names for each definition number, and form design data specifying information for reading out form design data are stored for one printing program. A form definition table 106a registered in association, a supplier master 106b registered in association with a supplier code, a supplier name, and a definition number, and the printing program is started, and the supplier CD input by the user is entered as a key. , obtains the definition number from the supplier master 106b, obtains the form design specific information from the form definition table 106a using the obtained definition number as a key, reads the form design data based on the obtained form design specific information, and prints the form. Since the data is output, the development cost can be reduced by enabling the output of the form design that satisfies the requirements of each business partner with one printing program.

また、本実施の形態によれば、前記帳票デザインデータは、各取引先の定型フォームであることとしたので、各取引先の帳票デザインの出力を1つの印刷プログラムで実行することが可能となる。 Further, according to the present embodiment, the form design data is a standard form of each customer, so that the form design of each customer can be output by one printing program. .

なお、本実施の形態では、各取引先の請求書の帳票を出力する場合について説明したが、請求書に限られず、見積書等の他の書類についても適用可能である。 In the present embodiment, the case of outputting invoice forms for each customer has been described, but the present invention is not limited to invoices and can also be applied to other documents such as quotations.

[4.他の実施形態]
本発明は、上述した実施の形態以外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実施形態にて実施されてよいものである。
[4. Other embodiments]
The present invention may be implemented in various different embodiments other than the embodiments described above within the scope of the technical idea described in the claims.

例えば、実施の形態において説明した各処理のうち、自動的に行われるものとして説明した処理の全部または一部を手動的に行うこともでき、あるいは、手動的に行われるものとして説明した処理の全部または一部を公知の方法で自動的に行うこともできる。 For example, among the processes described in the embodiments, all or part of the processes described as being automatically performed can be manually performed, or the processes described as being performed manually can be performed manually. All or part of this can also be done automatically by known methods.

また、本明細書中や図面中で示した処理手順、制御手順、具体的名称、各処理の登録データや検索条件等のパラメータを含む情報、画面例、データベース構成については、特記する場合を除いて任意に変更することができる。 In addition, unless otherwise specified, the processing procedures, control procedures, specific names, information including parameters such as registration data and search conditions for each process, screen examples, and database configurations shown in this specification and drawings can be changed arbitrarily.

また、印字レイアウト切替装置100に関して、図示の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。 Also, with respect to the print layout switching device 100, each illustrated component is functionally conceptual, and does not necessarily need to be physically configured as illustrated.

例えば、印字レイアウト切替装置100が備える処理機能、特に制御部102にて行われる各処理機能については、その全部または任意の一部を、CPUおよび当該CPUにて解釈実行されるプログラムにて実現してもよく、また、ワイヤードロジックによるハードウェアとして実現してもよい。尚、プログラムは、本実施形態で説明した処理を情報処理装置に実行させるためのプログラム化された命令を含む一時的でないコンピュータ読み取り可能な記録媒体に記録されており、必要に応じて印字レイアウト切替装置100に機械的に読み取られる。すなわち、ROMまたはHDD(Hard Disk Drive)などの記憶部などには、OSと協働してCPUに命令を与え、各種処理を行うためのコンピュータプログラムが記録されている。このコンピュータプログラムは、RAMにロードされることによって実行され、CPUと協働して制御部を構成する。 For example, the processing functions of the print layout switching device 100, particularly the processing functions performed by the control unit 102, are implemented in whole or in part by a CPU and a program interpreted and executed by the CPU. Alternatively, it may be implemented as hardware using wired logic. The program is recorded on a non-temporary computer-readable recording medium containing programmed instructions for causing the information processing apparatus to execute the processing described in this embodiment, and the print layout can be switched as necessary. It is read mechanically by the device 100 . That is, a storage unit such as a ROM or HDD (Hard Disk Drive) stores a computer program for giving commands to the CPU in cooperation with the OS to perform various processes. This computer program is executed by being loaded into the RAM and constitutes a control section in cooperation with the CPU.

また、このコンピュータプログラムは、印字レイアウト切替装置100に対して任意のネットワークを介して接続されたアプリケーションプログラムサーバに記憶されていてもよく、必要に応じてその全部または一部をダウンロードすることも可能である。 Also, this computer program may be stored in an application program server connected to the print layout switching device 100 via any network, and all or part of it can be downloaded as necessary. is.

また、本実施形態で説明した処理を実行するためのプログラムを、一時的でないコンピュータ読み取り可能な記録媒体に格納してもよく、また、プログラム製品として構成することもできる。ここで、この「記録媒体」とは、メモリーカード、USB(Universal Serial Bus)メモリ、SD(Secure Digital)カード、フレキシブルディスク、光磁気ディスク、ROM、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable and Programmable Read Only Memory)、CD-ROM(Compact Disk Read Only Memory)、MO(Magneto-Optical disk)、DVD(Digital Versatile Disk)、および、Blu-ray(登録商標) Disc等の任意の「可搬用の物理媒体」を含むものとする。 Also, the program for executing the processing described in this embodiment may be stored in a non-temporary computer-readable recording medium, or may be configured as a program product. Here, the term "recording medium" refers to memory cards, USB (Universal Serial Bus) memories, SD (Secure Digital) cards, flexible disks, magneto-optical disks, ROMs, EPROMs (Erasable Programmable Read Only Memory), EEPROMs (registered (trademark) (Electrically Erasable and Programmable Read Only Memory), CD-ROM (Compact Disk Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk), and Disc (registered trademark) such as Blu- shall include any "portable physical medium".

また、「プログラム」とは、任意の言語または記述方法にて記述されたデータ処理方法であり、ソースコードまたはバイナリコード等の形式を問わない。なお、「プログラム」は必ずしも単一的に構成されるものに限られず、複数のモジュールやライブラリとして分散構成されるものや、OSに代表される別個のプログラムと協働してその機能を達成するものをも含む。なお、実施形態に示した各装置において記録媒体を読み取るための具体的な構成および読み取り手順ならびに読み取り後のインストール手順等については、周知の構成や手順を用いることができる。 A "program" is a data processing method written in any language or writing method, regardless of the format such as source code or binary code. In addition, the "program" is not necessarily limited to a single configuration, but is distributed as multiple modules or libraries, or cooperates with a separate program represented by the OS to achieve its function. including things. It should be noted that well-known configurations and procedures can be used for the specific configuration and reading procedure for reading the recording medium in each device shown in the embodiments, the installation procedure after reading, and the like.

記憶部106に格納される各種のデータベース等は、RAM、ROM等のメモリ装置、ハードディスク等の固定ディスク装置、フレキシブルディスク、および、光ディスク等のストレージ手段であり、各種処理やウェブサイト提供に用いる各種のプログラム、テーブル、データベース、および、ウェブページ用ファイル等を格納する。 The various databases and the like stored in the storage unit 106 are storage means such as memory devices such as RAM and ROM, fixed disk devices such as hard disks, flexible disks, and optical disks, and are used for various processes and website provision. programs, tables, databases, and files for web pages.

また、印字レイアウト切替装置100は、既知のパーソナルコンピュータまたはワークステーション等の情報処理装置として構成してもよく、また、任意の周辺装置が接続された当該情報処理装置として構成してもよい。また、印字レイアウト切替装置100は、当該装置に本実施形態で説明した処理を実現させるソフトウェア(プログラムまたはデータ等を含む)を実装することにより実現してもよい。 The print layout switching device 100 may be configured as an information processing device such as a known personal computer or workstation, or may be configured as the information processing device to which any peripheral device is connected. Also, the print layout switching device 100 may be realized by installing software (including programs, data, etc.) for realizing the processing described in the present embodiment.

更に、装置の分散・統合の具体的形態は図示するものに限られず、その全部または一部を、各種の付加等に応じてまたは機能負荷に応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。すなわち、上述した実施形態を任意に組み合わせて実施してもよく、実施形態を選択的に実施してもよい。 Furthermore, the specific forms of distribution and integration of devices are not limited to those shown in the figures, and all or part of them can be functionally or physically arranged in arbitrary units according to various additions or functional loads. It can be distributed and integrated. In other words, the embodiments described above may be arbitrarily combined and implemented, or the embodiments may be implemented selectively.

100 印字レイアウト切替装置
102 制御部
102a メンテ部
102b プログラム実行部
104 通信インターフェース部
106 記憶部
106a 帳票定義テーブル
106b 取引先マスタ
108 入出力インターフェース部
112 入力装置
114 出力装置
200 端末装置
300 ネットワーク
100 print layout switching device
102 control unit
102a maintenance department
102b program execution unit
104 communication interface unit
106 storage unit
106a Form definition table
106b Supplier Master
108 input/output interface
112 input device
114 output device 200 terminal device 300 network

Claims (4)

制御部と記憶部を備えた印字レイアウト切替装置であって、
前記記憶部は、
印刷を実行するための起動ファイルと、複数の定義NOと、各定義NOについての定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録した帳票定義テーブルと、
取引先コードと、取引先名と、定義NOとを関連づけて登録した取引先マスタと、
を備え、
前記制御部は、
前記起動ファイルを起動し、ユーザ入力される取引先CDをキーとして、前記取引先マスタから定義NOを取得し、取得した定義NOをキーとして、前記帳票定義テーブルから帳票デザイン特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、帳票印字データを出力するプログラム実行部を備えたことを特徴とする印字レイアウト切替装置。
A print layout switching device comprising a control unit and a storage unit,
The storage unit
a form definition table registered in association with a startup file for executing printing, a plurality of definition numbers, definition names for each definition number and form design data specifying information for reading form design data;
a supplier master in which a supplier code, supplier name, and definition number are associated and registered;
with
The control unit
activating the startup file, acquiring the definition number from the supplier master using the supplier CD entered by the user as a key, acquiring form design specific information from the form definition table using the acquired definition number as a key, A print layout switching device, comprising: a program execution unit that reads form design data based on acquired form design specifying information and outputs form print data.
前記帳票デザインデータは、各取引先の定型フォームであることを特徴とする請求項1に記載の印字レイアウト切替装置。 2. The print layout switching device according to claim 1, wherein the form design data is a standard form for each business partner. 制御部と記憶部を備えた情報処理装置が実行する印字レイアウト切替方法であって、
前記記憶部は、
印刷を実行するための起動ファイルと、複数の定義NOと、各定義NOについての定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録した帳票定義テーブルと、
取引先コードと、取引先名と、定義NOとを関連づけて登録した取引先マスタと、
を備え、
前記制御部において実行される、
前記起動ファイルを起動し、ユーザ入力される取引先CDをキーとして、前記取引先マスタから定義NOを取得し、取得した定義NOをキーとして、前記帳票定義テーブルから帳票デザイン特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、帳票印字データを出力するステップを含むことを特徴とする印字レイアウト切替方法。
A print layout switching method executed by an information processing apparatus having a control unit and a storage unit,
The storage unit
a form definition table registered in association with a startup file for executing printing, a plurality of definition numbers, definition names for each definition number and form design data specifying information for reading form design data;
a supplier master in which a supplier code, supplier name, and definition number are associated and registered;
with
Executed in the control unit,
activating the startup file, acquiring the definition number from the supplier master using the supplier CD entered by the user as a key, acquiring form design specific information from the form definition table using the acquired definition number as a key, A print layout switching method, comprising: reading form design data based on acquired form design specifying information and outputting form print data.
制御部と記憶部を備えた情報処理装置に実行させるための印字レイアウト切替プログラムであって、
前記記憶部は、
印刷を実行するための起動ファイルと、複数の定義NOと、各定義NOについての定義名及び帳票デザインデータを読み出すための帳票デザインデータ特定情報とを関連づけて登録した帳票定義テーブルと、
取引先コードと、取引先名と、定義NOとを関連づけて登録した取引先マスタと、
を備え、
前記制御部において、
前記起動ファイルを起動し、ユーザ入力される取引先CDをキーとして、前記取引先マスタから定義NOを取得し、取得した定義NOをキーとして、前記帳票定義テーブルから帳票デザイン特定情報を取得し、取得した帳票デザイン特定情報により帳票デザインデータを読み込んで、帳票印字データを出力するステップを実行させるための印字レイアウト切替プログラム。
A print layout switching program to be executed by an information processing apparatus having a control unit and a storage unit,
The storage unit
a form definition table registered in association with a startup file for executing printing, a plurality of definition numbers, definition names for each definition number and form design data specifying information for reading form design data;
a supplier master in which a supplier code, supplier name, and definition number are associated and registered;
with
In the control unit,
activating the startup file , acquiring the definition number from the supplier master using the supplier CD entered by the user as a key, acquiring form design specific information from the form definition table using the acquired definition number as a key, A print layout switching program for executing a step of reading form design data based on the acquired form design specifying information and outputting form print data.
JP2018066119A 2018-03-29 2018-03-29 PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM Active JP7199819B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018066119A JP7199819B2 (en) 2018-03-29 2018-03-29 PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018066119A JP7199819B2 (en) 2018-03-29 2018-03-29 PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM

Publications (2)

Publication Number Publication Date
JP2019175381A JP2019175381A (en) 2019-10-10
JP7199819B2 true JP7199819B2 (en) 2023-01-06

Family

ID=68167456

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018066119A Active JP7199819B2 (en) 2018-03-29 2018-03-29 PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM

Country Status (1)

Country Link
JP (1) JP7199819B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022863A (en) 1999-07-06 2001-01-26 Fuji Fp:Kk Internet edi system and edi method
JP2004362172A (en) 2003-06-03 2004-12-24 Tb Kk Business form print support program and computer readable recording medium for recording it
JP2008158727A (en) 2006-12-22 2008-07-10 Nittetsu Hitachi Systems Engineering Inc Electronic business form system
JP2010039943A (en) 2008-08-07 2010-02-18 Ricoh Co Ltd Layout printing system, layout document browsing method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001022863A (en) 1999-07-06 2001-01-26 Fuji Fp:Kk Internet edi system and edi method
JP2004362172A (en) 2003-06-03 2004-12-24 Tb Kk Business form print support program and computer readable recording medium for recording it
JP2008158727A (en) 2006-12-22 2008-07-10 Nittetsu Hitachi Systems Engineering Inc Electronic business form system
JP2010039943A (en) 2008-08-07 2010-02-18 Ricoh Co Ltd Layout printing system, layout document browsing method, and program

Also Published As

Publication number Publication date
JP2019175381A (en) 2019-10-10

Similar Documents

Publication Publication Date Title
US9952819B2 (en) Method and system of automated generation of user form interface
JP6142527B2 (en) Setting information management program, information processing apparatus, and setting information management method
JP6002302B2 (en) Web application generation system, Web application generation system control method, Web application generation system program, Web application generation device, Web application generation device control method, and Web application generation device program
JP2016177613A (en) Information processing system, information processing apparatus, and information processing method
MXPA06000646A (en) Systems and methods for reconciling image metadata.
US11138148B2 (en) Information processing apparatus, control method, and storage medium
JP7199819B2 (en) PRINT LAYOUT SWITCHING DEVICE, PRINT LAYOUT SWITCHING METHOD, AND PRINT LAYOUT SWITCHING PROGRAM
JP2021073556A (en) Display definition creation device, display definition creation method, and display definition creation program
JP7348995B2 (en) Print layout switching device, print layout switching method, and print layout switching program
JP2011233104A (en) Information processing system, information processor, information processing method, program, and recording medium
JP6978282B2 (en) Information processing device, form output method, and program
JP7320478B2 (en) SCREEN DISPLAY CONTROL DEVICE, SCREEN DISPLAY CONTROL METHOD AND SCREEN DISPLAY CONTROL PROGRAM
CN116888945A (en) Information processing device, information processing method, program and information processing system
JP7764321B2 (en) Report data generation device, report data generation method, and report data generation program
JP6983649B2 (en) Budget data creation device, budget data creation method and budget data creation program
JP7642459B2 (en) SECURITY MANAGEMENT DEVICE, SECURITY MANAGEMENT METHOD, AND SECURITY MANAGEMENT PROGRAM
JP6927771B2 (en) Sales management equipment, sales management methods, and sales management programs
JP7245309B2 (en) Information processing device, form output method, and program
JP2021077234A (en) Unit price estimation device, method for estimating unit price, and unit price estimation program
JP2022019197A (en) Specification reference work support device, specification reference work support method and specification reference work support program
JP7170925B1 (en) CONTRACT RENEWAL MANAGEMENT DEVICE, CONTRACT RENEWAL MANAGEMENT METHOD, AND CONTRACT RENEWAL MANAGEMENT PROGRAM
JP2017174130A (en) Accounting data preparation device, accounting data preparation method, and accounting data preparation program
JP5963313B2 (en) Information processing apparatus, method, and program
JP6011075B2 (en) INSTALLATION INFORMATION GENERATION METHOD, INSTALLATION INFORMATION GENERATION PROGRAM, AND INSTALLATION INFORMATION GENERATION DEVICE
JP7716269B2 (en) Information processing device, information processing method, and information processing program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220729

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221104

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221221

R150 Certificate of patent or registration of utility model

Ref document number: 7199819

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250