JPS5933586A - Print control system - Google Patents

Print control system

Info

Publication number
JPS5933586A
JPS5933586A JP57143701A JP14370182A JPS5933586A JP S5933586 A JPS5933586 A JP S5933586A JP 57143701 A JP57143701 A JP 57143701A JP 14370182 A JP14370182 A JP 14370182A JP S5933586 A JPS5933586 A JP S5933586A
Authority
JP
Japan
Prior art keywords
character
data
line
print
bar graph
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
JP57143701A
Other languages
Japanese (ja)
Inventor
Keiji Azuma
東 慶二
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric 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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP57143701A priority Critical patent/JPS5933586A/en
Publication of JPS5933586A publication Critical patent/JPS5933586A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/10Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers by matrix printers

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Recording Measured Values (AREA)

Abstract

PURPOSE:To simplify a processing program and to speed up a bar graph forming processing, by printing out a bar line at each item in a print line direction and printing out a character of an item in lateral direction so as to print out the bar graph. CONSTITUTION:A data read out at a character code buffer section 201 is divided into a character code CC and a control code including a V-H conversion control signal VHC at a gate circuit 202. The code CC is given to a character generator 203 to produce a character pattern data CP, the signal VHC is given to the gate circuit 204 for the switching control of gate output terminals A, B. When the signal VHC is zero, the data CP is transmitted from the output terminal A to a line buffer section 207 as it is, and when 1, the data is transmitted to a conversion circuit 205 via the output terminal, where the longitudinal and lateral signals are converted and transmitted to a buffer section 207 via a gate circuit 206. When the print data for one line's share is stored, the data is given to a print section 300 and printed out in the unit of line.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は棒グラフ印刷機能をもつシリアルドツトプリン
タに用いて好適する印字制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a print control system suitable for use in a serial dot printer having a bar graph printing function.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

一般に、第1図に示すような横軸に項目(図ではA、B
、C,・・・)をとる棒グラフ全すべて人手によシ作図
する際は、横軸の各項目(A。
Generally, items are shown on the horizontal axis (A, B in the figure) as shown in Figure 1.
, C, ...) when manually drawing each item on the horizontal axis (A.

B、C,・・・)単位で棒線を描く。このような棒グラ
フを電子割算機の処理の下に、端末となる印字装置Δに
てプリントアウトしようとした場合、従来でり:、印字
装置が通常、最上行から最下行に向けて順次印字処胛を
行なうことがら、J行印字毎に横軸の全項目(A、n、
C,・・・)についてデータを印字しkけり、ばならな
因。したがって1行印字ブσに横軸の全項目(A、n、
C。
Draw a bar line in units of B, C,...). If you try to print out such a bar graph using the terminal printing device Δ under the processing of an electronic divider, the printing device normally prints sequentially from the top line to the bottom line. All items on the horizontal axis (A, n,
If the data is printed for C,...), then there is a problem. Therefore, all items on the horizontal axis (A, n,
C.

・・・)についてのF!lq:f:行なって印字を行な
うが、若しくは1行分或いtよ1工″f分の印字データ
を予め計算して作っておき、行単位で印字しなk)lL
ばならない。このため、従来では、棒グラフ処理のため
の70ログラムが非常に複雑となり、グロダラムの作成
、及び処理にそノシぞり、多くの時間を費さなければな
らないという欠点があった。
...) about F! lq:f: Print by printing, or calculate and create print data for one line or t + 1"f in advance and print it line by line.k)lL
Must be. For this reason, in the past, the 70 logograms for bar graph processing were extremely complex, and a large amount of time had to be spent creating and processing the graphograms.

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

本発明は上記実情に鑑みなされたもので、棒グラフを各
項目単位で印字処理できるようにして、項目単位の処理
プログラムを必要項目数に応じ複数回繰返し使用するこ
とにより、プログラムの簡素化、及びこれに伴う処理の
高速化が実現できる印字制御方式を提供することを目的
とする。
The present invention has been made in view of the above circumstances, and it is possible to print bar graphs for each item and to repeatedly use the processing program for each item multiple times depending on the number of items required, thereby simplifying the program and It is an object of the present invention to provide a printing control method that can realize faster processing.

〔発明の概要〕[Summary of the invention]

本発明は、印字制御部に、上位装置からの指示に従い、
指定さtlだ文字パターンを縦横変換する機能部を設け
て、棒グラフ印字作成時に、その処理を項目単位で行な
い、各項目毎の棒線を印字行方向に打出すとともに、項
目等の文字を横tJちすることによシ、棒グラフを用紙
上にプリントアウトするようにしたもので、プリントア
ウトされた用紙を横位置状態におくことによって前述の
第1図に示烙れるような棒グラフを得ることができる。
The present invention allows the print control unit to, according to instructions from a host device,
A functional unit that converts the specified tl character pattern vertically and horizontally is provided, and when creating a bar graph printout, this process is performed for each item, and the bar line for each item is printed in the direction of the print line, and the characters such as items are converted horizontally. By doing so, a bar graph is printed out on a sheet of paper, and by placing the printed sheet in a horizontal position, a bar graph as shown in the above-mentioned Figure 1 can be obtained. I can do it.

このように、棒グラフを各項目毎に印字処理することか
ら、項目単位の処理グログラムを必要項目数に応じて複
数回使用すればよく、これによってプログラムを簡素化
でき、処理が高速化できる。
In this way, since the bar graph is printed for each item, the processing grogram for each item can be used multiple times depending on the number of required items, thereby simplifying the program and speeding up the processing.

〔発明の実施例〕[Embodiments of the invention]

以下図面を参照して本発明の一実施例を説明する。第2
図は本発明の一実施例を示すブロック図である。図中1
00はシステム全体の制御を司る処理装置、200はこ
の処理装置io。
An embodiment of the present invention will be described below with reference to the drawings. Second
The figure is a block diagram showing one embodiment of the present invention. 1 in the diagram
00 is a processing device that controls the entire system, and 200 is this processing device io.

の制御対象下におかれたシリアルドツトプリンタの印字
制御部、300は同プリンタの印字部である。
The print control unit 300 of the serial dot printer is controlled by the printer.

上記処理装置100からは、印字制御部200に対し、
印字文字コード(CC)列と、これに付随して、文字i
jターンの縦横変換有無を指示する1ビツトの制御信号
(以下V−H−Hコンパージコントロール信号と称す)
 VHCを含む制御コードが送られる。201乃至20
7は印字制御部200の構成要素をなすもので、201
は処理装置100よシ送出された文字コードCC及びこ
れに付随する制御コードを所定単位例えば1行革位のコ
ード列をもって貯える文字コー)e バッファ部、20
2はこの文字コードバッファ部20ノの読出し時におい
て文字コードccと制御コードとを振分けるダート回路
、203はこのダート回路202を経た文字コードcc
を順次所定ドツトマトリクス(ここでは24X24ドツ
トとする。)単位をもって文字パターンデータCPに変
換するだめのキャラクタジェネレータである。204は
キャラクタジェネレータ203より発生された24X2
4ドツトの文字パターンデータCPを上記ダート回路2
02より出力される制御コードに含まれるV−Hコンバ
ージョンコントロール信号VHCの内容にもとづいて振
分けるケ9−ト回路であり、ここでは文字パターンの縦
横変換無しを示すVHC=”0#の際に、出力端Aに文
字・ぐターンデータCPを出力し、文字ノやターンの縦
横変換有無を示すVHC=″′l#の際に出力端Bに文
字パターンデータCPを出力する。205は上記ダート
回路203の出力端Bより出力される文字・やターンデ
ータCPを受けて、このパターンを縦横変換するV−H
コンバージ、ン回路であり、ここでは24X24ドツト
のノ4ターンメモリを持ち、書込み時と読出し時の行列
方向を変えることによって文字パターンの縦横変換を行
なう。206はダート回路204の出力端Aよ多出力さ
れる文字パターンデータCPとV−Hコンパージ4フ回
路205よ多出力される縦横変換された文字・やターン
データとを同一信号ライン上に論理和出力するためのダ
ート回路であり、207はこのダート回路206を経た
文字ノ9ターンデータを1行革位をもって貯え、印字部
300に送出するラインバッファ部である。
From the processing device 100, to the print control unit 200,
Print character code (CC) string and accompanying character i
A 1-bit control signal that indicates whether or not to convert the J-turn vertically and horizontally (hereinafter referred to as the V-H-H compurge control signal)
A control code containing VHC is sent. 201 to 20
7 constitutes a component of the print control unit 200, and 201
is a character code buffer section (20) that stores the character code CC sent from the processing device 100 and its accompanying control code in a predetermined unit, for example, a code string of one line.
2 is a dart circuit that distributes the character code cc and control code when reading the character code buffer section 20; 203 is a character code cc that has passed through the dart circuit 202;
This is a character generator that sequentially converts character pattern data CP into character pattern data CP in units of a predetermined dot matrix (here, 24×24 dots). 204 is 24X2 generated from the character generator 203
The 4-dot character pattern data CP is sent to the above dart circuit 2.
This is a gate circuit that performs distribution based on the contents of the VH conversion control signal VHC included in the control code output from 02. , outputs character/turn data CP to output terminal A, and outputs character pattern data CP to output terminal B when VHC=''l#, which indicates whether or not vertical/horizontal conversion of characters or turns is performed. 205 is a V-H which receives the character/turn data CP output from the output terminal B of the dart circuit 203 and converts this pattern vertically and horizontally.
This is a convergence circuit, which has a 24x24 dot four-turn memory, and converts the character pattern vertically and horizontally by changing the row and column direction during writing and reading. 206 logically ORs the character pattern data CP output from the output terminal A of the dart circuit 204 and the vertically and horizontally converted character/turn data output from the VH compurge circuit 205 on the same signal line. A dart circuit is used for outputting the data, and 207 is a line buffer section that stores the 9-turn data of the character that has passed through the dart circuit 206 at one-line intervals and sends it to the printing section 300.

第3図及び第4図はそれぞれ一実施例における動作概念
図であシ、第3図は棒グラフ印刷時における文字・やタ
ーンの縦横変換例、第4図は棒グラフ印刷例をそれぞれ
示す。尚、図中、7Uはス4−スを示し、Ll  + 
L2 1・・・は印字行位置を示す。
3 and 4 are conceptual diagrams of operations in one embodiment, respectively. FIG. 3 shows an example of vertical/horizontal conversion of characters and turns when printing a bar graph, and FIG. 4 shows an example of printing a bar graph. In addition, in the figure, 7U indicates space 4-space, and Ll +
L2 1... indicates the print line position.

ここで、第2図乃至第4図を参照しながら−実施例の動
作を説明する。処理装置100は棒グラフ印刷処理時に
おいて、予め定められた項目単位の処理プログラムにも
とづき各項目単位毎にデータ処理を行ない、その処理デ
ータすなわち印字すべき文字コード列を制御コードと共
に印字制御部200に送出する。この際、グラフ中の項
目を含む各文字に対しては、その文字コ−)1’cc各
々K、V−Hコンバージョンコントロール信号VHCを
”l ” (VHC−“1″)とした制御コードが付加
される。印字制御部200では、処理装置100よシ送
出された文字コード列及び制御コードを文字コードバッ
ファ蔀201に貯え、1行分の文字コード列を貯えると
、入力順に従って読出す。この文字コードバッファ部2
01よシ読出されたデータはケ°−ト回路202によシ
文字コードccと、V−Hコンバージョンコントロール
信号VHC’を含む制御コードとに切分けられる。そし
て文字コードCCはキャラクタジェネレータ203に送
られてそのコード内容に従う24X24ドツト単位の文
字ノfターンデータCPが生成され、又、V−Hコンバ
ージョンコントロール信号VHCはr−)回路204に
送られてダート出力端A、Bの切換制御に供される。
Here, the operation of the embodiment will be explained with reference to FIGS. 2 to 4. During bar graph printing processing, the processing device 100 processes data for each item based on a predetermined processing program for each item, and sends the processed data, that is, the character code string to be printed, to the print control unit 200 along with the control code. Send. At this time, for each character including the item in the graph, a control code is set with the character code ()1'cc each K and VH conversion control signal VHC as "l"(VHC-"1"). will be added. In the print control unit 200, the character code string and control code sent from the processing device 100 are stored in the character code buffer 201, and once the character code string for one line is stored, it is read out in the order of input. This character code buffer section 2
The data read out from 01 is divided by the gate circuit 202 into a character code cc and a control code including a VH conversion control signal VHC'. The character code CC is then sent to the character generator 203 to generate character f-turn data CP in units of 24x24 dots according to the code contents, and the VH conversion control signal VHC is sent to the r-) circuit 204 to generate dart data. Used for switching control of output terminals A and B.

ここで、VHC=″′0#であれば、キャラクタジェネ
レータ203より発生された文字i9ターンデータCP
がダート回路204の出力端Aよυ出力され、そのまま
の状態でダート回路206を介しラインバッファ部20
7に送られるが、VHC=″′1#の際は、キャラクタ
ジェネレータ203よシ発生された文字ノ4ターンデー
タCPがダート回路204の出力端B’z経てV−Hコ
ンパージ1フ回路205に送られ、縦横変換された後、
ダート回路206を介してラインバッファ部207に送
られる。而してこのラインバッファ部207に1行分の
印字データが貯えられと、この印字データが印字部SO
Oに送られ、行単位で印字出力される。
Here, if VHC='''0#, the character i9 turn data CP generated by the character generator 203
is outputted from the output terminal A of the dart circuit 204, and is sent to the line buffer section 20 via the dart circuit 206 in that state.
However, when VHC=''1#, the character 4 turn data CP generated by the character generator 203 is sent to the VH compurge 1 f circuit 205 via the output terminal B'z of the dart circuit 204. After being sent and converted horizontally and vertically,
It is sent to the line buffer section 207 via the dirt circuit 206. When one line of print data is stored in this line buffer section 207, this print data is transferred to the print section SO.
The data is sent to O and printed out line by line.

このようにして、順次項目単位で処理されたデータが印
字制御部200にてドラ) /?ターン化され、選択的
に縦横変換された後、印字部300に送られて印字出力
さiする。
In this way, the data processed item by item is outputted by the print control unit 200. After being turned into a pattern and selectively converted into vertical and horizontal directions, it is sent to the printing section 300 and printed out.

この際の文字パターンの縦横変換例を第3図に示し、そ
の印刷出力例を第4図に示す。
An example of vertical/horizontal conversion of the character pattern at this time is shown in FIG. 3, and an example of the printed output is shown in FIG.

上述したような棒グラフの印刷処理により、処理装置1
00は、棒グラフの作成に係るデータ処理を項目単位で
行なうことができ、従って項目数が増しても単に項目単
位の処理プログラムを繰返し用いればよいことから、棒
グラフ処理のだめのプログラムが著しく簡素化され、処
理が簡単かつ迅速に行なえる。
By the bar graph printing process as described above, the processing device 1
00 can perform data processing related to bar graph creation on an item-by-item basis, so even if the number of items increases, it is only necessary to repeatedly use the processing program on an item-by-item basis, which greatly simplifies the program for bar graph processing. , processing can be done easily and quickly.

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

以上詳記したように本発明におけるシリアルドットフ0
リンタの印字制御方式によれは、上位装置からの指示に
従い、指定された文字・やターンを縦横変換する機能部
を設けて、棒グラフ印刷時に、各項目毎の棒mt印字行
方向に打出すとともに、項目等の文字を横打ちして棒グ
ラフをプリントアウトする構成としたことにより、棒グ
ラフ印刷処理時において、項目単位の処理グログラムを
必要項目数に応じ複数回繰返して用い、各項目単位をも
ってデータを処理できることから、棒グラフ作成のだめ
の処理プログラムを簡素化でき、棒グラフ作成処理を高
速化できる。
As described in detail above, the serial dot 0 in the present invention
Depending on the print control method of the printer, a functional unit is installed to convert specified characters/turns vertically and horizontally according to instructions from the host device, and when printing a bar graph, the bar mt of each item is printed in the printing line direction. By printing out the bar graph by horizontally typing the characters of the item, etc., when printing the bar graph, the processing gram for each item can be repeated multiple times depending on the number of items required, and the data can be printed for each item. Since it can be processed, the processing program required to create a bar graph can be simplified and the process of creating a bar graph can be sped up.

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

第1図は従来の棒グラフ印刷例を示す図、第2図は本発
明の一実施例を示すブロック図、第3図は上記一実施例
における文字パターン変換例を示す図、第4図は上記一
実施例における棒グラフの印刷例を示す図である。 100・・・処理装置、200・・・印字制御部、30
0・・・印字部、201・・・文字コードバッファ部、
202,204.206・・・ダート回路、203・・
・キャラクタジェネレータ、205・・・V−Hコンバ
ージョン回路、207・・・ラインノ々ッファ部、CC
・・・文字コード、CP・・・文字ノPターンデータ、
 VHC・・・V−Hコンバージョンコントロール信号
Fig. 1 is a diagram showing an example of conventional bar graph printing, Fig. 2 is a block diagram showing an embodiment of the present invention, Fig. 3 is a diagram showing an example of character pattern conversion in the above embodiment, and Fig. 4 is a diagram showing the above-mentioned example. FIG. 3 is a diagram showing an example of printing a bar graph in one embodiment. 100... Processing device, 200... Printing control unit, 30
0...Printing section, 201...Character code buffer section,
202,204.206...Dirt circuit, 203...
・Character generator, 205...VH conversion circuit, 207...Line buffer section, CC
...Character code, CP...Character no P turn data,
VHC...VH conversion control signal.

Claims (1)

【特許請求の範囲】[Claims] 棒グラフ印刷機能をもつシリアルドツトプリンタにおい
て、印字すべき文字情報、及び印字文字の縦横変換を指
示する制御情報を上位装置より受け、前記文字情報に従
う文字パターンデータを前記制御情報の指示に従い縦横
変換する文字パターン縦横変換機構を有してなる印字制
御部と、この印字制御部よシ出力された文字パターンデ
ータを受けて該データに従う文字i!ターンを印字出力
する印字部とを有し、印字すべき文字情報に従う文字パ
ターンを選択的に縦横変換し印字出力すること′fK:
特徴とする印字制御方式。
In a serial dot printer having a bar graph printing function, character information to be printed and control information instructing vertical/horizontal conversion of printed characters are received from a host device, and character pattern data according to the character information is converted vertically/horizontally according to instructions of the control information. A print control section having a pattern vertical/horizontal conversion mechanism, and a character i! which receives character pattern data outputted from this print control section and prints a character i! according to the data. and a printing section that prints out the turn, and selectively converts the character pattern according to the character information to be printed vertically and horizontally and prints it out.'fK:
Characteristic printing control method.
JP57143701A 1982-08-19 1982-08-19 Print control system Pending JPS5933586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57143701A JPS5933586A (en) 1982-08-19 1982-08-19 Print control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57143701A JPS5933586A (en) 1982-08-19 1982-08-19 Print control system

Publications (1)

Publication Number Publication Date
JPS5933586A true JPS5933586A (en) 1984-02-23

Family

ID=15344953

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57143701A Pending JPS5933586A (en) 1982-08-19 1982-08-19 Print control system

Country Status (1)

Country Link
JP (1) JPS5933586A (en)

Similar Documents

Publication Publication Date Title
JPS5933586A (en) Print control system
JPH01196096A (en) Output device
JPS6133711B2 (en)
JPS58114289A (en) Printer controller
JPS6321158A (en) Printer output device
JPS59127784A (en) Information output device
JPS6137441A (en) High-speed printing processing system of dot printer
JPS59201870A (en) Printer
JPS6151365A (en) Printing apparatus
JPS6043528B2 (en) electronic typewriter
JPS61104860A (en) Reduction printer
JPS63118280A (en) Printer controller
JPS63242561A (en) Font reducing system
JPH0276757A (en) Dot control system
JPS61202854A (en) Printer controller
JPH0213631B2 (en)
JPS6034873A (en) Printing apparatus
JPS62221546A (en) Printing speed control system
JPS63317355A (en) Printer
JPS61287771A (en) Printer
JPS5856192A (en) Printer
JPS5739480A (en) Tag printing machine
JPH0596811A (en) Printing method
JPS63144051A (en) Print control system for shuttle printer
JPH0647301B2 (en) Charactor pattern generator