JPH0367032B2 - - Google Patents

Info

Publication number
JPH0367032B2
JPH0367032B2 JP58054239A JP5423983A JPH0367032B2 JP H0367032 B2 JPH0367032 B2 JP H0367032B2 JP 58054239 A JP58054239 A JP 58054239A JP 5423983 A JP5423983 A JP 5423983A JP H0367032 B2 JPH0367032 B2 JP H0367032B2
Authority
JP
Japan
Prior art keywords
printer
line
data
output
input
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 - Lifetime
Application number
JP58054239A
Other languages
Japanese (ja)
Other versions
JPS59178270A (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)

Description

【発明の詳細な説明】 (1) 発明の技術分野 本発明はデータ処理装置において、1回の出力
命令で1行分のデータを出力する出力装置(ライ
ンプリンターなど)を使用する場合の出力制御方
式に関し、特にプログラム上、一回の命令で、出
力装置1行分の文字数より多いデータを出力した
い場合の出力制御方式に関する。
Detailed Description of the Invention (1) Technical Field of the Invention The present invention relates to output control when using an output device (such as a line printer) that outputs one line of data with one output command in a data processing device. In particular, the present invention relates to an output control method when it is desired to output more data than the number of characters for one line of an output device with a single program command.

(2) 従来技術と問題点 従来、1回のプリント命令でプリンターの1行
分の文字数より多いデータを出力したい場合に
は、その都度行変えを行ない、複数行に出力して
いた。この場合本来1つの列に1つの要素を対応
させたい場合でも、それができず、1列に複数の
要素が対応することになり1つの要素に着目して
その時間的な(縦の)変化を見たい場合に非情に
見にくくなる。
(2) Prior Art and Problems Conventionally, when it was desired 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 data was output on multiple lines. 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 a file other than the printer and then input that file to print, thereby obtaining results in the same format as the present invention, but the program is more complicated. Become.

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

(4) 発明の構成 そしてこの目的は本発明によれば1回の出力命
令でプリンタの1行分の文字数をプリンタ出力装
置へ出力するデータ処理装置において、前記デー
タ処理装置内に1ページあるいはその整数倍分の
データを記憶する記憶装置を設け、1回の入力で
プリンタの1行の文字数の整数倍のデータを入力
し該入力データのうちプリンタ1行分は即座に前
記プリンタに出力制御させ、各行のオーバフロー
分をプリンタの1行分ずつに分割して一旦前記記
憶装置に格納させる制御手段と、1ページの行数
分の入力が終了するか改ページの指示により前記
記憶装置格納データを次ページ以降に各行に対応
して出力させるよう前記プリンタを制御するプリ
ント制御手段とを設けたことを特徴とするプリン
タ出力制御装置を提供することによつて達成され
る。
(4) Structure 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 with one output command, the data processing device has one page or the like. A storage device for storing an integral multiple of data is provided, and in one input, an integral multiple of the number of characters in one line of the printer is inputted, and one line of the input data is immediately controlled to be output by the printer. , a control means for dividing the overflow of each line into one printer line and temporarily storing it in the storage device; This is achieved by providing a printer output control device characterized in that it is provided with a print control means for controlling the printer to output data corresponding to each line from the next page onwards.

(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 method according to the present invention.
indicates a data input and operation control section, MIC indicates a memory input control section, MEM indicates a memory, MOC indicates a memory readout and printer control section, and PRT indicates a printer.

以下に本実施例の動作を説明する。データ入力
及び各部動作の制御部IDCはプリントデータ
DALLとプリント命令Ioおよび起動信号Soを受
取るとデータのうち先頭のプリンタ1行分DTは
即時、プリンタPRTに送出しこれを起動させ、
残りのデータDEXTRAはメモリ入力制御部MICに送
り、該メモリ入力制御部MiCを起動させる。(S2
は起動信号を示す。)メモリ入力制御部MICは起
動がかかるとデータをプリンタ1行分ずつに分割
し、それぞれメモリ書込信号WEに基づいてメモ
リMEMの所定の位置に格納する。もしデータ入
力及び各部動作の制御部IDCの受取つた命令がス
キツプ(行変え)であればデータをオールブラン
クとして前述のプリントと同じ動作をする。プリ
ント命令が1ページの行数に達するとIDCはメモ
リ読出し及びプリンタ制御部MOCを起動し
(S3)、次のデータ受信(データ読出し)を保留す
る。即ちメモリ読出し信号REの送出を停止する。
メモリ読出し及びプリンタ制御部MOCが起動が
かかるとまずページ変えの命令をプリンタPRT
に送出し、これを起動させる。次にメモリMEM
に格納されている同一ページ分のデータをメモリ
読出し信号REによつて順次取出しプリンタPRT
に送出しプリントさせる。この処理を全ページ分
くり返し、終了したらIDC保留解除信号RLSによ
りデータ入力及び各部動作の制御部IDCの保留を
解除する。
The operation of this embodiment will be explained below. Data input and control unit IDC for each part operation is print data
Upon receiving DALL, print command Io, and activation signal So, the first printer line DT of data is immediately sent to printer PRT and activated.
The remaining data D EXTRA is sent to the memory input control unit MIC, and the memory input control unit MiC is activated. (S 2
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 line in a predetermined position in the memory MEM based on the memory write signal WE. If the command received by the data input and operation control unit IDC is a skip (line change), the data is all blanked and the same operation as the above-mentioned printing is performed. When the print command reaches the number of lines on one page, the IDC activates the memory readout and printer control unit MOC (S 3 ), and suspends the next data reception (data readout). That is, the sending of the memory read signal RE is stopped.
When the memory reading and printer control unit MOC starts up, it first sends a page change command to the printer PRT.
and launch it. Then memory MEM
The data for the same page stored in the printer is retrieved sequentially by the memory read signal RE.
Send and print. This process is repeated for all pages, and when it is completed, the IDC hold release signal RLS releases the hold of the control unit IDC for data input and various operations.

もし、IDCが受信したデータがイジエクト(ペ
ージ変え)であればIDCは即座にメモリ読出し及
びプリンタ制御部MOCに起動をかける。そして
さらに、プリンタPRTにページ変えの命令を送
出する。
If the data received by the IDC is an 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行分は記
憶域を介さず出力するようにした。
Note that the data length and the number of characters in one line are notified to each section in advance. In this way, the present invention focuses on the fact that it is easier to see when changing the data on a page-by-page basis, such as displaying one line of data on an image in multiple lines by changing the line, in the printer output. 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) 発明の効果 以上、詳細に説明したように、本発明のプリン
タ出力制御方式は時間的変化が問題になるデータ
のプリント出力において1回(1時刻)のデータ
がプリンター1行の文字数を越える場合でもそれ
を意識せずにプログラムを作成できるためプログ
ラムが簡単化され、出力結果も見やすいものとな
る。またこの方式実現のために要するメモリ容量
も比較的少なくして可能となるといつた効果大な
るものである。
(6) Effects of the Invention As explained above in detail, the printer output control method of the present invention is capable of controlling the number of characters in one line of the printer by one time (one time) in printing out data where temporal changes are a problem. 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. Furthermore, the memory capacity required to implement this method can be made relatively small, which is a great advantage.

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

図面は本発明によるプリンタ出力制御方式の構
成の一例を示す図である。 図面において、IDCはデータ入力、各部動作の
制御部、MICはメモリ入力制御部、MEMはメモ
リ、MOCはメモリ読出しプリント制御部PRTは
プリンタ、をそれぞれ示す。
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 indicates a data input and control section for the operation of each section, MIC indicates a memory input control section, MEM indicates a memory, MOC indicates a memory read/print control section, and PRT indicates a printer.

Claims (1)

【特許請求の範囲】 1 1回の出力命令でプリンタの1行分の文字数
をプリンタ出力装置へ出力するデータ処理装置に
おいて、 前記データ処理装置内に1ページあるいはその
整数倍分のデータを記憶する記憶装置を設け、 1回の入力でプリンタの1行の文字数の整数倍
のデータを入力し該入力データのうちプリンタ1
行分は即座に前記プリンタに出力制御させ、各行
のオーバフロー分をプリンタの1行分ずつに分割
して1旦前記記憶装置に格納させる制御手段と、 1ページの行数分の入力が終了するか改ページ
の指示により前記記憶装置格納データを次ページ
以降に各行に対応して出力させるよう前記プリン
タを制御するプリント制御手段とを設けたことを
特徴とするプリンタ出力制御装置。
[Claims] 1. 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, the data processing device stores data for one page or an integral multiple thereof. A storage device is installed, and data that is an integral multiple of the number of characters in one line of the printer is input in one input, and among the input data, the printer 1
A control means that immediately controls the output of the line to the printer, divides the overflow of each line into one line of the printer, and temporarily stores it in the storage device, and the input for the number of lines of one page is completed. and print control means for controlling the printer to output the data stored in the storage device corresponding to each line from the next page onwards in response to a page break instruction.
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 JPS59178270A (en) 1984-10-09
JPH0367032B2 true 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
JPS59178270A (en) 1984-10-09

Similar Documents

Publication Publication Date Title
US6125409A (en) Method for functionality downloading directly from a computer to a volatile memory of a PCMCIA card using direct memory access
US6317193B2 (en) Image forming apparatus
JPH0367032B2 (en)
JP3179466B2 (en) Printing equipment
JP2507361B2 (en) Image information processing device
JPH02737B2 (en)
JPH0453767A (en) Printing device
JPS62173526A (en) Page buffer control system
JP2569851B2 (en) Drawing device
JP2808761B2 (en) Command control method for data processing system
JP2909126B2 (en) Memory controller
JP3131918B2 (en) Memory device
JPH0473170A (en) Serial printer
JP2893646B2 (en) Recording device
JPH08230284A (en) Re-output method of image output device
JPS63264365A (en) Computer
JP2949760B2 (en) Image data expansion method
US5186551A (en) Printing apparatus for printing randomly input data in order
JP2636312B2 (en) Printer interface device
JPH0439434B2 (en)
JPH0621984B2 (en) Micro program load method
JPS62241063A (en) Sentence producing device
JPS58189628U (en) digital remote control device
JPS6233663A (en) Recording device
JPS609748A (en) Controlling method of character recording in printer