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
JPS6319359B2 - - Google Patents
[go: Go Back, main page]

JPS6319359B2 - - Google Patents

Info

Publication number
JPS6319359B2
JPS6319359B2 JP57202138A JP20213882A JPS6319359B2 JP S6319359 B2 JPS6319359 B2 JP S6319359B2 JP 57202138 A JP57202138 A JP 57202138A JP 20213882 A JP20213882 A JP 20213882A JP S6319359 B2 JPS6319359 B2 JP S6319359B2
Authority
JP
Japan
Prior art keywords
format
data
ticket
output
formats
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.)
Expired
Application number
JP57202138A
Other languages
Japanese (ja)
Other versions
JPS5994139A (en
Inventor
Toshikazu Kenju
Yotaro Hasegawa
Hiroshi Harimoto
Akihiko Takiguchi
Seitaro Myajima
Takao Ooe
Koreyuki Tanaka
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.)
Railway Technical Research Institute
Hitachi Ltd
Original Assignee
Railway Technical Research Institute
Hitachi 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 Railway Technical Research Institute, Hitachi Ltd filed Critical Railway Technical Research Institute
Priority to JP57202138A priority Critical patent/JPS5994139A/en
Publication of JPS5994139A publication Critical patent/JPS5994139A/en
Publication of JPS6319359B2 publication Critical patent/JPS6319359B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 〔発明の対象〕 本発明は、特に書式を用いて出力データの編集
を行なう書式制御方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] The present invention particularly relates to a format control method for editing output data using a format.

〔従来技術〕[Prior art]

従来の書式制御方法では、印字データの出力順
序、出力文字の種類、出力文字の数を編集処理の
順番に記憶した書式情報を必要な出力フオーマツ
トの数だけ記憶し、編集データによつて必要な書
式を選択し、この選択した書式と編集データ中の
可変データを組合せて出力データを編集する方法
を採つていた。この場合、出力フオーマツトが部
分的に変わる場合でも独立した書式情報を追加す
る必要があり、書式記憶容量が増加する欠点があ
つた。また部分的に変化する書式の追加管理も繁
雑である。
In conventional format control methods, format information that stores the output order of print data, types of output characters, and number of output characters in the order of editing processing is stored for the number of required output formats, and the required number of output formats is stored according to the editing data. The method used was to select a format and edit output data by combining the selected format with variable data in the edited data. In this case, even if the output format changes partially, it is necessary to add independent format information, resulting in an increase in format storage capacity. Additionally, additional management of partially changing formats is complicated.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、前記従来の欠点を排し、書式
による出力編集の特徴点を有効に生かし、かつ出
力フオーマツトの変化に対しては出力データ側の
変更追加のみにより対応し、新たな書式情報の追
加を必要とせずに柔軟に対処できる書式制御方法
を提供することにある。
It is an object of the present invention to eliminate the above-mentioned drawbacks of the conventional methods, to make effective use of the features of format-based output editing, and to cope with changes in output format only by adding changes to the output data side. The purpose of the present invention is to provide a format control method that can be handled flexibly without requiring any additional information.

〔発明の総括的説明〕[General description of the invention]

書式による書力編集は出力のフオーマツトを規
定する書式情報と出力の内容を規定する出力デー
タによつて行なわれる。出力データは扱かう業務
によつて変化、追加される性格のものであり、書
式は各出力データに共通的に定められるものであ
るが、データの変化に伴なつて書式の1部分に共
通になり難い部分があり、この部分的な変更を書
式の変更追加することなく、かつ出力内容に制約
を加えずに、データ側の変更のみで対処するもの
である。
Writing editing based on format is performed using format information that specifies the output format and output data that specifies the content of the output. Output data is of a nature that changes and is added depending on the work being handled, and the format is commonly defined for each output data, but as the data changes, some parts of the format may be There are some parts that are difficult to change, and these partial changes can be handled by changing only the data side without adding any changes to the format or imposing restrictions on the output content.

〔発明の実施例とその効果〕[Embodiments of the invention and their effects]

以下本発明の一実施例を図によつて説明する。
鉄道の切符の発券システムでは、発券端末からの
要求情報に従つて処理装置で発券情報が編集され
る。発券される切符は、例えば乗車券、定期券、
指定券など券の種類ごとに印字フオーマツトが個
別に定められる。この各券片対応に発券書式が準
備され、この書式と発券ごとに内容が変わる発券
データとによつて券面印字データが編集される。
An embodiment of the present invention will be described below with reference to the drawings.
In a railway ticket issuing system, ticket issuing information is edited by a processing device in accordance with request information from a ticket issuing terminal. Tickets issued include, for example, train tickets, commuter passes,
Print formats are determined individually for each type of ticket, such as reserved tickets. A ticket issuing format is prepared for each ticket piece, and the ticket print data is edited using this format and ticket issuing data whose contents change each time the ticket is issued.

第1図に示す乗車券の例でこの書式制御方法を
詳細に説明する。乗車券1を発券する発券データ
の構成を第2図Aに示し、乗車券フオーマツトの
発券書式の1部を第2図Bに示す。発券データ1
0は、乗車券用の書式20を指定する書式番号1
1と、その番号で検索された書式20が指定する
例えば乗降駅名や金額などの可変データ部21に
対応する出力文字12を予め定めたコードで配列
される。
This format control method will be explained in detail using the example of a ticket shown in FIG. The configuration of ticket issuing data for issuing the ticket 1 is shown in FIG. 2A, and part of the ticket issuing format of the ticket format is shown in FIG. 2B. Ticketing data 1
0 is form number 1 specifying form 20 for ticket
1, and the output characters 12 corresponding to the variable data section 21, such as the name of the boarding/alighting station or the amount of money, specified by the format 20 searched by the number are arranged in a predetermined code.

一方、書式20は、発券データ10の書式番号
11によつて該書式20が検索されるよう、書式
番号と記憶番地を関係づけて記憶される。書式2
0は券片の編集順に複数の出力項目が配列され
る。各項目は1項目の先頭に項目の先頭を示すコ
ード(CF)22が置かれ、このCFに続けてその
項目が当該書式に固定の情報であることを示す
C、可変データであることを示すV、改行等の制
御コード情報を示すESCなどの識別コードを配置
する。C及びVに続くコードは文字の種類や大き
さを示し、ESCに続くLF、nは改行とその改行
量を指定するものである。
On the other hand, the form 20 is stored in association with the form number and storage address so that the form 20 can be searched using the form number 11 of the ticketing data 10. Format 2
0, a plurality of output items are arranged in the order of editing of the ticket. A code (CF) 22 is placed at the beginning of each item to indicate the beginning of the item, followed by C, which indicates that the item is fixed information in the format, and variable data. Identification codes such as ESC indicating control code information such as V and line feed are placed. The codes following C and V indicate the type and size of the characters, and the LF and n following ESC specify the line feed and line feed amount.

第1図の乗車券は、発券データ10の書式番号
11によつて乗車券書式20を選択し、該書式2
0の第1項目の固定データ23によつて「乗車
券」の文字が編集され、続けて第2項目24によ
つて次の乗車駅入力部101の先頭まで改行され
る。乗車駅出力部101は書式20の第3項25
によつて可変データ5文字21が入ることを指示
され、対応のデータ12が「sp沼sp津sp」と編集
される。spは印字上何も表示されないスペースデ
ータである。以下同様にして1枚の乗車券の券面
データが編集される。他の券種の場合もまつたく
同様にして発券データと対応の書式によつて券面
データが編集される。
For the ticket shown in FIG.
The characters of "ticket" are edited by the fixed data 23 of the first item 0, and then the line is changed to the beginning of the next boarding station input section 101 by the second item 24. The boarding station output section 101 is the third item 25 of the form 20.
, the user is instructed to enter five variable data characters 21, and the corresponding data 12 is edited as "sp Numa sp Tsu sp". sp is space data that is not displayed on the printout. Thereafter, the face data of one ticket is edited in the same manner. In the case of other ticket types, the ticket face data is edited in the same manner as in the format corresponding to the ticket issuing data.

券種は同じであつても一部の編集情報が共通の
書式に一致しない場合は、次のように編集制御を
行なう。第3図に乗車券の乗車駅の印字フオーマ
ツトが第1図のものと相違する例を示す。第1図
に示す乗車券1と第3図に示す乗車券2は、券面
フオーマツトがこの乗車駅名出力部101又は2
01のみ相違し他は共通である。かかる部分的に
特殊なフオーマツトについては、書式20の第3
項25の可変データ21の編集処理で発券データ
10の可変データ12に代えて第4図に示す書式
非準拠データ13によつて書式に依らず編集す
る。発券データ10の中に書式非準拠データの開
始コードSTを検知すると、書式の当該項目の規
定に依らず、以降書式非準拠データの終了コード
EDを検知するまでは、発券データの指示するデ
ータによつて編集する。
Even if the ticket types are the same, if some of the editing information does not match the common format, editing control is performed as follows. FIG. 3 shows an example in which the printing format of the boarding station on the ticket is different from that in FIG. 1. Ticket 1 shown in FIG. 1 and ticket 2 shown in FIG.
Only 01 is different and the others are common. For such partially special formats, please refer to the third part of Form 20.
In the editing process of the variable data 21 in Item 25, the variable data 12 of the ticketing data 10 is replaced with the non-format conforming data 13 shown in FIG. 4, which is edited regardless of the format. When the start code ST of non-format data is detected in the ticketing data 10, the end code of the non-format data will be used from now on regardless of the provisions of the relevant item in the format.
Until ED is detected, editing is performed according to the data specified by the ticketing data.

第4図の例では、STコードに続くCEは次のコ
ードEと共に編集する文字サイズを指定し、次の
2分字と共に「東京」を編集する。次のESC.LF.
nによる改行指定により文字配置の基準位置を1/
2行下げ、続くCE.HによりHサイズの文字を指定
し、該文字サイズで「(山手線内)」を編集、書式
非準拠コードEDによつて書式20の第3項25
に従わない第3図の乗車駅名出力部201の編集
を終了し、再度書式20の規定による編集に戻
る。
In the example shown in FIG. 4, the CE following the ST code specifies the character size to be edited together with the next code E, and edits "Tokyo" together with the next two-part character. Next ESC.LF.
By specifying a line break with n, the standard position of character placement is set to 1/
Move down two lines, specify H size characters with the following CE.H, edit "(within the Yamanote Line)" with the specified character size, and use the format non-conformity code ED to specify the 3rd paragraph 25 of Format 20.
The editing of the boarding station name output section 201 shown in FIG.

この編集方法によれば、乗車駅名や降車駅名な
ど発券データによつていくつにも変化し得る出力
データも共通の書式を追加することなく容易に編
集することができる。
According to this editing method, it is possible to easily edit output data such as boarding station name and alighting station name, which can vary in number depending on ticketing data, without adding a common format.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、共通の書式の部分的変更や出
力フオーマツトの変更は、個々に書式を追加する
必要がなく、必然的に毎回作成する出力データ側
のみで対応できるため、書式の数を必要最小限に
押さえることができ、記憶容量の増加を排し経済
的なシステム構築が可能で、また書式の増加によ
る修正、管理の繁雑さからも逃れることができ
る。
According to the present invention, partial changes in common formats and changes in output formats do not require the addition of individual formats, and can be handled only on the output data side, which is necessarily created each time. It is possible to minimize the number of formats, eliminate the need for an increase in storage capacity, and construct an economical system, and also avoid the complexity of correction and management due to an increase in formats.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図及び第3図は乗車券面の概念図、第2図
Aは発券データの構成図、第2図Bは書式の概念
図、第4図は発券データの構成図である。 1,2……乗車券、101……乗車駅名出力
部、10……発券データ、11……書式番号デー
タ、12……可変データ、13……書式非準拠デ
ータ、20……書式、21……可変データ、22
……項目先頭符号。
1 and 3 are conceptual diagrams of the ticket surface, FIG. 2A is a configuration diagram of ticketing data, FIG. 2B is a conceptual diagram of the format, and FIG. 4 is a configuration diagram of ticketing data. 1, 2...Passenger ticket, 101... Boarding station name output section, 10...Ticket issuing data, 11...Format number data, 12...Variable data, 13...Format non-compliant data, 20...Format, 21... ...Variable data, 22
...Item start code.

Claims (1)

【特許請求の範囲】[Claims] 1 複数組の書式のうち1組の書式を指定する書
式選択情報と可変データとを含む編集データと、
書式を規定する書式データであつて、少なくと
も、書式に固有の固定データと該可変データの配
置情報とを含むものとをそれぞれ記憶し、該書式
選択情報によつて対応する書式を指定し、該指定
された書式を規定する書式データと該可変データ
とによつて出力データを編集する書式制御方法に
おいて、前記編集データは、特定のコードにより
開始、終了する書式の規定に依らない書式非準拠
データを有し、該特定コードが検知されると、前
記可変データの代わり該書式非準拠データを用い
て、出力データの編集を行うことを特徴とする書
式制御方法。
1. Edit data including format selection information and variable data that specify one set of formats among multiple sets of formats;
Format data that defines a format and includes at least fixed data specific to the format and arrangement information of the variable data is stored, the corresponding format is specified by the format selection information, and the corresponding format is specified by the format selection information. In a format control method in which output data is edited using format data that defines a specified format and the variable data, the edited data is format-noncompliant data that does not depend on format regulations and starts and ends with a specific code. A format control method, comprising: editing output data by using the format non-compliant data instead of the variable data when the specific code is detected.
JP57202138A 1982-11-19 1982-11-19 Format control method Granted JPS5994139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57202138A JPS5994139A (en) 1982-11-19 1982-11-19 Format control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57202138A JPS5994139A (en) 1982-11-19 1982-11-19 Format control method

Publications (2)

Publication Number Publication Date
JPS5994139A JPS5994139A (en) 1984-05-30
JPS6319359B2 true JPS6319359B2 (en) 1988-04-22

Family

ID=16452583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57202138A Granted JPS5994139A (en) 1982-11-19 1982-11-19 Format control method

Country Status (1)

Country Link
JP (1) JPS5994139A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH064346B2 (en) * 1984-11-29 1994-01-19 株式会社寺岡精工 Printer
JPS62241063A (en) * 1986-04-11 1987-10-21 Mitsubishi Electric Corp Sentence producing device
JPH01220066A (en) * 1988-02-29 1989-09-01 Casio Comput Co Ltd Document outputting device
JPH0749229B2 (en) * 1990-07-26 1995-05-31 カシオ計算機株式会社 Form output device
JPH0749228B2 (en) * 1990-07-26 1995-05-31 カシオ計算機株式会社 Form output device

Also Published As

Publication number Publication date
JPS5994139A (en) 1984-05-30

Similar Documents

Publication Publication Date Title
JPS63205257A (en) Printing control system
JPS6319359B2 (en)
JPH0438005B2 (en)
JPH0315231B2 (en)
JP3118310B2 (en) Print processing method of page printer
JP2614339B2 (en) Form output editing device
JPH0751374B2 (en) Document processor
JP3225980B2 (en) recoding media
JP2726464B2 (en) Ticketing machine
JPS6231375B2 (en)
JPH0858177A (en) Printer
JPS6113616B2 (en)
JPS6061793A (en) Image information synthesization system
JPS62284777A (en) Printing controlling system for variable line feed pitch business form
JPH04336667A (en) Invoice issuing system
JPS59161790A (en) Ticketing machine
JPH04220378A (en) Apparatus for distribution processing of general-purpose slip to terminal printer
JPS61148065A (en) Recorded information input/output control method
JPH06274731A (en) Betting ticket issuing machine
JPS6057889A (en) Serial character font generation system with frame specification
JPS6259808B2 (en)
JPS6020791B2 (en) Ticket printing and issuing device
JPH01128846A (en) Reduced-size printing method of printer
JPH05128294A (en) Optical character read-out device
JPS63138417A (en) Printer