JPS59178270A - Output-controlling system for printer - Google Patents

Output-controlling system for printer

Info

Publication number
JPS59178270A
JPS59178270A JP58054239A JP5423983A JPS59178270A JP S59178270 A JPS59178270 A JP S59178270A JP 58054239 A JP58054239 A JP 58054239A JP 5423983 A JP5423983 A JP 5423983A JP S59178270 A JPS59178270 A JP S59178270A
Authority
JP
Japan
Prior art keywords
data
printer
memory
page
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP58054239A
Other languages
Japanese (ja)
Other versions
JPH0367032B2 (en
Inventor
Yasuo Sekine
康雄 関根
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58054239A priority Critical patent/JPS59178270A/en
Publication of JPS59178270A publication Critical patent/JPS59178270A/en
Publication of JPH0367032B2 publication Critical patent/JPH0367032B2/ja
Granted legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J5/00Devices or arrangements for controlling character selection
    • B41J5/30Character or syllable selection controlled by recorded information
    • B41J5/44Character or syllable selection controlled by recorded information characterised by storage of recorded information

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To enable to simplify a program, by a method wherein a data memory having a capacity for one page amount or an integer times thereof is provided in a data processor, a one-line amount of data is instantaneously outputted controlledly, and the rest is momentarily stored in the memory. CONSTITUTION:When printing data D, a printing command I 0 and a starting signal S0 are inputted, a controlling part IDC causes data for one head line to be instantaneously fed out to a printer PRT to start the latter, while the rest of the data is divided into one-line amounts by a memory input controlling part MIC, and the one-line amounts of data are stored into respective positions in the memory MEM. When the commands amount to the number of lines in one page, the controlling part IDC starts a memory-reading and printer-controlling part MOC, stops the next data reception and reading, feeds a page- shifting commands to the printer PRT, then reads the next one-page amount of data stored in the memory MEM, and prints the data. When these operations are repeated for all pages, reservation of the controlling part IDC is cleared. Accordingly, the program is simplified, and the outputted result becomes clear to be examined visually.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はデータ処理装置において、1回の出力命令で1
行分のデータを出力する出力装置(ラインプリンターな
ど)を使用する場合の出力制御方式に関し、、特にプロ
グラム上、−回の命令で、出力装置1行分の文字数より
多いデータを出力したい場合の出力制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical field of the invention The present invention provides a data processing device that can perform one output command with one output command.
Regarding the output control method when using an output device (such as a line printer) that outputs data for a line, especially when you want to output more data than the number of characters for one output device line with - number of commands in the program. Regarding output control method.

(2)従来技術と問題点 従来、1回のプリント命令でプリンターの1行分の文字
数より多いデータを出力したい場合には。
(2) Prior art and problems Conventionally, when you want to output more data than the number of characters for one printer line with one print command.

その都度行変えを行ない、複数行に出力していた。The line was changed each time, and the output was output on multiple lines.

この場合本来1つの列に1つの要素を対応させたい場合
でも、それができず、1列に複数の要素が対応すること
になり1つの要素に着目してその時間的な(縦の)変化
を見たい場合に非情に見にくくなる。
In this case, even if you originally wanted to make one element correspond to one column, it is not possible and multiple elements correspond to one column, so you can focus on one element and change its temporal (vertical) If you want to see it, it becomes extremely difficult to see.

また別の方法として、一旦プリンタ以外の別のファイル
に出力しておき、プリントはそのファイルを入力して行
うことにより本発明によるものと同じ形式の結果を得る
こともできるが、プログラムが煩雑になる。
Another method is to output the output to another file other than the printer, and then print by inputting that file to obtain results in the same format as the present invention, but the program is complicated. Become.

(3)発明の目的 本発明は上記従来の欠点に鑑み2本発明は、1行の文字
数が限られている出力装置・特にプリンターをプログラ
ム上1文字数制限のないイメージで使用できるよ・うに
してユーザープログラムの簡単化を計り、しかも出力結
果が見やすくなることを目的とするものである。
(3) Purpose of the Invention The present invention has been developed in view of the above-mentioned drawbacks of the conventional technology.2 The present invention is designed to make it possible to use output devices, especially printers, which have a limited number of characters per line, in a program with no limit to the number of characters per line. The purpose is to simplify user programs and make the output results easier to see.

(4)発明の構成 そしてこの目的は本発明によれば1回の出力命令でプリ
ンタの1行分の文字数をプリンタ出力装置へ出力するデ
ータ処理装置において、前記データ処理装置内に1ペー
ジあるいはその整数倍分のデータを記憶する記憶装置を
設け、1回の入力でプリンタの1行の文字数の整数倍の
データを人力し該入力データのうちプリンタ1行分は即
座に前記プリンタに出力制御させ、残りを一旦前記記憶
装置に格納させる制御手段と、1ページの行数分の入力
が終了するか改ページの指示により前記記憶装置格納デ
ータを次ページ以降に出力させるよう前記プリンタを制
御するプリント制御手段とを設けたことを特徴とするプ
リンタ出力制御方式を提供することによって達成される
(4) Structure and object of the invention According to the present invention, in a data processing device that outputs the number of characters for one line of a printer to a printer output device by one output command, one page or the number of characters is stored in the data processing device. A storage device for storing an integral multiple of data is provided, and in one input, data for an integral multiple of the number of characters on one line of the printer is manually inputted, and one line of the input data is immediately controlled to be output by the printer. , a control unit that temporarily stores the remaining data in the storage device, and a printer that controls the printer to output the data stored in the storage device from the next page onwards when input for the number of lines on one page is completed or when a page break is instructed. This is achieved by providing a printer output control method characterized by providing a control means.

(5)発明の実施例 以下本発明実施例を図面によって詳述する。(5) Examples of the invention Embodiments of the present invention will be described in detail below with reference to the drawings.

付図は本発明によるプリンタ出力制御力式の一実施例の
ブロック図であり、同図において、  IDCはデータ
入力及び各部動作の制御部、MICはメモリ人力制御部
、MEMはメモリ、MOCはメモリ読出し、およびプリ
ンタ制御部、PRTはプリンタをそれぞれ示す。
The attached figure is a block diagram of an embodiment of the printer output control system according to the present invention. In the figure, IDC is a data input and control unit for each part operation, MIC is a memory manual control unit, MEM is a memory, and MOC is a memory readout unit. , and printer control unit, PRT respectively indicate the printer.

以下に本実施例の動作を説明する。データ入力及び各部
動作の制御部IDcはプリントデータDAシwとプリン
ト命令IOおよび起動信号SOを受取るとデータのうち
先頭のプリンタ1行分DTは即時、プリンタPRTに送
出しこれを起動させ。
The operation of this embodiment will be explained below. When the data input and operation control unit IDc receives the print data DA, the print command IO, and the activation signal SO, it immediately sends the first printer line DT of the data to the printer PRT and activates it.

残すのデータDεに丁1)はメモリ入力制御部MICに
送り、該メモリ入力制御部MiCを起動させる。・(S
z は起動信号を示す。)メモリ入力制御部MICは起
動がかかるとデータをプリンタ1行分ずつに分割し、そ
れぞれメモリ1込信号WEに基づいてメモリMEMの所
定の位置に格納する。もしデータ入力及び各部動作の制
御部IDCの受取った命令がスキップ(行変え)であれ
ばデータをオールブランクとして前述のプリントと同じ
動作をする。プリント命令が1ページの行数に達すると
IDCはメモリ読出し及びプリンタ制御部MOCを起動
しくSs)、次のデータ受信(データ読出し)を保留す
る。即ちメモリ続出し信号REの送出を停止する。メモ
リ読出し及びプリンタ制御部MOCは起動がかかるとま
ずページ変えの命令をプリンタPRTに送出し、これを
起動させる。次ニメモリMEMに格納されている同一ペ
ージ分のデータをメモリ読出し信号REによって順次取
出しプリンタPRTに送出しプリントさせる。この処理
を全ベージ分くり返し、終了したらIDC保留解除信号
RLSによりデータ入力及び各部動作の制御部IDcの
保留を解除する。
The remaining data Dε is sent to the memory input control unit MIC, and the memory input control unit MiC is activated.・(S
z indicates a start signal. ) When the memory input control unit MIC is activated, it divides the data into one printer line each and stores each in a predetermined position in the memory MEM based on the memory 1 inclusion signal WE. If the command received by the data input and operation control unit IDC is skip (line change), the data is all blanked and the same operation as the above printing is performed. When the print command reaches the number of lines on one page, the IDC starts the memory reading and printer control unit MOC (Ss), and suspends the next data reception (data reading). That is, the sending of the memory successive output signal RE is stopped. When activated, the memory reading and printer control unit MOC first sends a page change command to the printer PRT to activate it. Next, data for the same page stored in the second memory MEM is sequentially taken out by the memory read signal RE and sent to the printer PRT for printing. This process is repeated for all pages, and when completed, the IDC suspension release signal RLS releases the suspension of the control unit IDc for data input and operation of each section.

もし、IDCが受信したデータがイジェクト(ページ変
え)であればIDCは即座にメモリ読出し及びプリンタ
制御部MOCに起動をかける。そしてさらに、プリンタ
PRTにページ変えの命令を送出する。
If the data received by the IDC is eject (page change), the IDC immediately reads the memory and activates the printer control unit MOC. Furthermore, a page change command is sent to the printer PRT.

尚、データ長、1行の文字数は予め各部に通知しておく
。このようにして1本発明では、プリンター出力におい
てイメージ上1行のデータを行変えにより複数行に表示
するよりもページ単位で変えた方が見やすくなることに
着目し、ユーザプログラムの出力命令とプリンターの動
作の間に記憶機能と所期の制御機能を設け、これお実現
したものである。また必要な記憶域(メモリー量)を最
小限に押えるため、先頭のプリンター1行分は記憶域を
介さず出力するようにした。
Note that the data length and the number of characters in one line are notified to each section in advance. In this way, in the present invention, we focused on the fact that it is easier to see if one line of data is displayed in printer output on a page-by-page basis rather than displaying one line of data in multiple lines by changing lines, and we This was achieved by providing a memory function and the desired control function during the operation of the device. In addition, in order to minimize the required storage area (memory amount), the first printer line is output without going through the storage area.

また本発明はソフトとハードの両方での実現が可能であ
る。
Furthermore, the present invention can be implemented in both software and hardware.

(6)発明の効果 以上、詳細に説明したように2本発明のプリンタ出力制
御方式は時間的変化が問題になるデータのプリント出力
において1回(1時刻)のデータがプリンター1行の文
字数を越える場合でもそれを意識せずにプログラムを作
成できるためプログラムが簡単化され、出力結果も見や
すいものとなる。またこの方式実現のために要するメモ
リ容量も比較的少なくして可能となるといった効果大な
るものである。
(6) Effects of the Invention As explained in detail above, the printer output control method of the present invention has the advantage of the printer output control method of the present invention, in which one time (one time) of data prints out the number of characters on one line of the printer. Even if it exceeds the limit, the program can be created without being aware of it, which simplifies the program and makes the output results easier to see. Moreover, the memory capacity required to realize this method can be relatively small, which is a great advantage.

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

図面は本発明によるプリンタ出力制御方式の構成の一例
を示す図である。 図面において、IDCはデータ入力、各部動作の制御部
、MICはメモリ入力制御部、MEMはメモリ、MOC
はメモリ読出しプリント制御部PRTはプリンタ、をそ
れぞれ示す。 i?・′岸哩=1
The drawing is a diagram showing an example of the configuration of a printer output control method according to the present invention. In the drawings, IDC is a data input and control unit for each part operation, MIC is a memory input control unit, MEM is a memory, and MOC is a memory input control unit.
PRT indicates a memory read/print control unit, and PRT indicates a printer, respectively. i?・'Kishika = 1

Claims (1)

【特許請求の範囲】 1回の出力命令でプリンタの1行分の文字数をプリンタ
出力装置へ出力するデータ処理装置において、前記デー
タ処理装置内に1ページあるいはその整数倍分のデータ
を記憶する記憶装置を設け。 1回の入力でプリンタの1行の文字数の整数倍のデータ
を入力し該入力データのうちプリンタ1行分は即座に前
記プリンタに出力制御させ残りを一旦前記記憶装置に格
納させる制御手段と、1ページの行数分の入力が終了す
るか改ページの指示により前記記憶装置格納データを次
ページ以降に出力させるよう前記プリンタを制御するプ
リント制御手段とを設けたことを特徴とするプリンタ出
力制御方式。
[Scope of claims] In a data processing device that outputs the number of characters for one line of a printer to a printer output device with one output command, a memory that stores data for one page or an integral multiple thereof in the data processing device. Set up equipment. control means for inputting data that is an integer multiple of the number of characters in one line of the printer in one input, and causing the printer to immediately control the output of one line of the input data to the printer and temporarily storing the rest in the storage device; Print control means for controlling the printer to output the data stored in the storage device from the next page onwards when input for the number of lines on one page is completed or when a page break is instructed. method.
JP58054239A 1983-03-30 1983-03-30 Output-controlling system for printer Granted JPS59178270A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58054239A JPS59178270A (en) 1983-03-30 1983-03-30 Output-controlling system for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58054239A JPS59178270A (en) 1983-03-30 1983-03-30 Output-controlling system for printer

Publications (2)

Publication Number Publication Date
JPS59178270A true JPS59178270A (en) 1984-10-09
JPH0367032B2 JPH0367032B2 (en) 1991-10-21

Family

ID=12964988

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58054239A Granted JPS59178270A (en) 1983-03-30 1983-03-30 Output-controlling system for printer

Country Status (1)

Country Link
JP (1) JPS59178270A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5364427A (en) * 1976-11-19 1978-06-08 Sanyo Electric Co Ltd Fixed-form printing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5364427A (en) * 1976-11-19 1978-06-08 Sanyo Electric Co Ltd Fixed-form printing system

Also Published As

Publication number Publication date
JPH0367032B2 (en) 1991-10-21

Similar Documents

Publication Publication Date Title
DE69322199T2 (en) Device and method for translating printer languages
JPS5876941A (en) Word processing system
JPS59178270A (en) Output-controlling system for printer
JP4612231B2 (en) Printing system
JPH0890846A (en) Print buffer
JPH02737B2 (en)
JPS6321158A (en) Printer output device
JPH0673139B2 (en) Document editing device
JPH08258364A (en) Cut sheet page printer system
JP2000181673A (en) Document printer
JP2806680B2 (en) Printer device
JP2569851B2 (en) Drawing device
JP3158726B2 (en) Data processing device
JP3161744B2 (en) Information processing device
JPH0453767A (en) Printing device
JP3217917B2 (en) Printing device
JPS63276119A (en) Output system for information processor
JPS63293063A (en) Document processor
JPS60110033A (en) Display printer
JPH0473170A (en) Serial printer
JP3108936B2 (en) Document processing device
JPH06199020A (en) Method and apparatus for controlling label printing
JPS609792A (en) Printer
JPH0667651B2 (en) Output device
JPH07304224A (en) Printing method