JPS6316767B2 - - Google Patents

Info

Publication number
JPS6316767B2
JPS6316767B2 JP55145441A JP14544180A JPS6316767B2 JP S6316767 B2 JPS6316767 B2 JP S6316767B2 JP 55145441 A JP55145441 A JP 55145441A JP 14544180 A JP14544180 A JP 14544180A JP S6316767 B2 JPS6316767 B2 JP S6316767B2
Authority
JP
Japan
Prior art keywords
data
buffer memory
data area
transferred
variable
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
JP55145441A
Other languages
Japanese (ja)
Other versions
JPS5769444A (en
Inventor
Tetsuya Ogata
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 JP55145441A priority Critical patent/JPS5769444A/en
Publication of JPS5769444A publication Critical patent/JPS5769444A/en
Publication of JPS6316767B2 publication Critical patent/JPS6316767B2/ja
Granted 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】 本発明はラインプリンタ、タイプライタ等の印
刷装置に於ける印刷データ転送方式に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a print data transfer system in printing devices such as line printers and typewriters.

従来、ラインプリンタ装置等に於いては、1行
単位で中央処理装置から印刷データを転送し印刷
を行つているが、例えば、伝票を印刷する様な場
合、伝票には伝票名、注意書等の固定的な部分と
金額等を印字する可変的な部分とがあり、従来は
これらのデータを全て印刷する毎に中央処理装置
から転送していたために、チヤネルの専有時間が
長くなつていた。
Conventionally, in line printers, etc., print data is transferred line by line from the central processing unit and printed. For example, when printing a slip, the slip includes the slip name, notes, etc. There is a fixed part and a variable part that prints the amount, etc., and in the past, all of this data was transferred from the central processing unit every time it was printed, resulting in a long channel exclusive time.

このため、従来からも固定データを記憶した後
は、可変データのみを転送することによつてチヤ
ネルの専有時間を短くするもの(特開昭55−
88129号公報参照)があつたが、一般に従来の構
成は固定データと可変データを記憶するメモリ
と、該メモリに記憶された内容が何であるかを記
憶するメモリから成つていた。このためメモリ
各々にアクセス時間を要する等の問題があつた。
For this reason, conventional methods shorten the exclusive time of a channel by transferring only variable data after storing fixed data (Japanese Patent Application Laid-open No.
88129), but the conventional structure generally consisted of a memory for storing fixed data and variable data, and a memory for storing the contents stored in the memory. This has caused problems such as the need for accessing each memory.

本発明は、この様な欠点を除去することを目的
とし、この様な目的は、印刷装置のバツフアメモ
リを固定データ領域と可変データ領域に分割し、
中央処理装置からの固定データを該固定データ領
域に記憶した後は、該中央処理装置から可変デー
タのみを転送し、該可変データ領域に記憶する印
刷装置に於ける印刷データ転送方式に於いて、初
回の印刷データ転送時、前記バツフアメモリ内の
コントロールビツトCB11に前記固定領域又は前
記可変データ領域を示すビツトを書き込むと共
に、コントロールビツトCB12に転送された印刷
データの区切りを示すビツトを書き込んでおき、
次回以降の印刷データ転送に際しては、該コント
ロールビツトCB11を逐次読み出し、読み出した
値に応じて該可変データを該バツフアメモリに書
き込むようにしたことを特徴とする印刷装置に於
ける印刷データ転送方式によつて達成される。
The present invention aims to eliminate such drawbacks, and the purpose is to divide the buffer memory of a printing device into a fixed data area and a variable data area,
After fixed data from the central processing unit is stored in the fixed data area, only variable data is transferred from the central processing unit and stored in the variable data area. When transferring print data for the first time, a bit indicating the fixed area or the variable data area is written in control bit CB 11 in the buffer memory, and a bit indicating a delimiter of the transferred print data is written in control bit CB 12 . ,
In a print data transfer method in a printing device, the control bit CB 11 is read out sequentially and the variable data is written in the buffer memory according to the read value when transferring print data from next time onwards. It is achieved by doing so.

以下、本発明を実施例に基づいて説明する。 Hereinafter, the present invention will be explained based on examples.

第1図a,bは本発明の概要を示す図で、
CPUは中央処理装置、LPはラインプリンタ装
置、CHはチヤネル、BF1〜BF3はバツフアメモ
リである。又「×」印は固定データ部、「□」は
可変データ部である。
FIGS. 1a and 1b are diagrams showing an overview of the present invention,
CPU is a central processing unit, LP is a line printer device, CH is a channel, and BF 1 to BF 3 are buffer memories. Also, the "x" mark is a fixed data section, and the "□" mark is a variable data section.

尚、本発明に於いては、初回の印刷データ転送
時は、固定データと可変データ領域を示すインバ
リツトデータが転送され、二回目以降は印刷デー
タとして可変データのみ転送されるものとする。
In the present invention, when the print data is transferred for the first time, fixed data and invalid data indicating a variable data area are transferred, and from the second time onward, only the variable data is transferred as print data.

第2図により具体例を説明する。 A specific example will be explained with reference to FIG.

図はバツフアメモリを2つ用いた例で、一方の
バツフアメモリにデータを書き込んでいる間に、
他方のバツフアメモリのデータを読み取り、印刷
する様にしている。
The figure shows an example using two buffer memories, and while writing data to one buffer memory,
The data in the other buffer memory is read and printed.

図に於いて、CCTはチヤネルインターフエー
スコントローラ、CJは文字判定回路、BF11
BF12はバツフアメモリ、CONT1,CONT2はバ
ツフアメモリカウンタ、BCONTはバツフアメモ
リコントローラ、PCTはプリントコントローラ
である。
In the figure, CCT is the channel interface controller, CJ is the character judgment circuit, BF 11 ,
BF 12 is a buffer memory, CONT 1 and CONT 2 are buffer memory counters, BCONT is a buffer memory controller, and PCT is a print controller.

バツフアメモリBF11,BF12にはコントロール
ビツトCB11,CB12,CB21,CB22が設けられて、
コントロールビツトCB11,CB21は固定データ領
域又は可変データ領域を示すビツトが書き込ま
れ、コントロールビツトCB12,CB22は転送され
た印刷データの区切りを示すビツトが書き込まれ
る。
Buffer memories BF 11 and BF 12 are provided with control bits CB 11 , CB 12 , CB 21 and CB 22 ,
Control bits CB 11 and CB 21 are written with bits indicating a fixed data area or variable data area, and control bits CB 12 and CB 22 are written with bits indicating a delimiter of transferred print data.

以下、回路動作を説明する。 The circuit operation will be explained below.

チヤネルCHからページイメージ設定指令がラ
インプリンタ装置LPに与えられると、バツフア
メモリコントローラBCONTはバツフアメモリカ
ウンタCONT1,CONT2を“0”に設定し、チ
ヤネルインターフエースコントローラCCTにデ
ータ転送を要求する。
When a page image setting command is given to the line printer device LP from the channel CH, the buffer memory controller BCONT sets buffer memory counters CONT 1 and CONT 2 to “0” and requests data transfer to the channel interface controller CCT. do.

チヤネルCHから送られたデータは文字判定回
路CJへ転送され、ここでインバリツトデータか
否か判定される。
The data sent from channel CH is transferred to character determination circuit CJ, where it is determined whether or not it is invalid data.

すなわち、可変データ領域を示す部分にはイン
バリツトデータを中央処理装置CPUから転送さ
れるため、文字判定回路CJにて上記判定を行な
わせる。
That is, since invalid data is transferred from the central processing unit CPU to the portion indicating the variable data area, the character determination circuit CJ is caused to perform the above determination.

ここで固定データであれば、コントロールビツ
トCB11を“1”にしバツフアメモリBF11へデー
タを書き込み、バツフアメモリカウンタCONT1
を+1する。又、可変データ領域を示すインバリ
ツトデータであればコントロールビツトCB11
“0”にし、バツフアメモリカウンタCONT1
+1する。更に1ライン分のデータを記憶した
時、コントロールビツトCB12を“1”にする。
If it is fixed data, set control bit CB 11 to "1", write the data to buffer memory BF 11 , and write the data to buffer memory counter CONT 1.
Add +1 to If the data is invalid data indicating a variable data area, the control bit CB11 is set to "0" and the buffer memory counter CONT1 is incremented by one. When one more line of data is stored, control bit CB 12 is set to "1".

以上のことを第1図bを用いて説明すると、b
図で示す伝票の例えばラインをバツフアメモリ
BF11に記憶する場合、固定データ領域「×××
×」に印字すべきデータをバツフアメモリBF11
の1番地に記憶し、次に可変データ領域「□」を
示すデータ(インバリツトデータ)をバツフアメ
モリBF11の2番地(コントロールビツトCB11
に記憶し、最後に固定データ領域「×××××
×」に印字すべきデータをバツフアメモリBF11
の3番地に記憶し、このときコントロールビツト
CB12を“1”にする。
To explain the above using Figure 1b, b
For example, the lines of the slip shown in the figure can be buffered.
When storing in BF 11 , the fixed data area “×××
×” Data to be printed in buffer memory BF 11
Then, data indicating the variable data area "□" (invalid data) is stored at address 2 of buffer memory BF 11 (control bit CB 11 ).
Finally, the fixed data area “×××××
×” Data to be printed in buffer memory BF 11
At this time, the control bit is stored at address 3.
Set CB 12 to “1”.

以上説明したことを繰返して、バツフアメモリ
BF11に記憶されるデータの初期書き込みを行な
う。
Repeat the above explanation to create a buffer memory.
Initial writing of data to be stored in BF 11 is performed.

次に2回目以降のデータの記憶について説明す
る。
Next, storage of data from the second time onward will be explained.

2回目以降は、可変データのみが転送されてく
るので、1回目にインバリツトデータを記憶した
領域をサーチして記憶する必要がある。
From the second time onward, only the variable data is transferred, so it is necessary to search and store the area where the invalid data was stored the first time.

このため、チヤネルCHから印字指令がくる
と、バツフアメモリコントローラBCONTはチヤ
ネルインターフエースコントローラCCTにデー
タ転送を要求すると共に、バツフアメモリカウン
タCONT1を“0”に設定する。
Therefore, when a print command is received from the channel CH, the buffer memory controller BCONT requests data transfer from the channel interface controller CCT and sets the buffer memory counter CONT 1 to "0".

チヤネルCHから転送され、チヤネルインター
フエースコントローラCCTを介した印刷データ
は、前述の如く文字判定回路CJでインバリツト
データか否かの判定を行ない、インバリツトデー
タであればチヤネルインターフエースコントロー
ラCCTにエラーにて報告する。(これは2回目以
降転送される印刷データは可変データと決定して
いるため、2回目以降にまだインバリツトデータ
が転送される様な場合は、周辺回路等の故障が考
えられるためである。) コントロールビツトCB11を読み込んだ値が
“1”であれば、バツフアメモリカウンタ
CONT1を+1して再びコントロールビツトCB11
を読み込み、読み出したコントロールビツト
CB11が“0”になるまで以上のことを行ない、
コントロールビツトCB11が“0”になつた時点
で、バツフアメモリBF11にデータを書き込む。
The print data transferred from the channel CH and passed through the channel interface controller CCT is judged by the character judgment circuit CJ as described above to determine whether it is invalid data or not. If it is invalid data, an error is sent to the channel interface controller CCT. Report will be made at (This is because the print data transferred from the second time onward is determined to be variable data, so if invalid data is still transferred from the second time onward, there may be a failure in the peripheral circuit, etc.) ) If the value read from control bit CB 11 is “1”, the buffer memory counter
CONT 1 +1 and control bit CB 11 again
and the read control bits.
Do the above until CB 11 becomes “0”,
When control bit CB11 becomes "0", data is written to buffer memory BF11 .

バツフアメモリカウンタCONT1の値がページ
イメージ設定時と同じ値になるとプリントコント
ローラPCTへ印字の指令を行なう。
When the value of the buffer memory counter CONT 1 becomes the same value as when setting the page image, a printing command is issued to the print controller PCT.

プリントコントローラPCTは、バツフアメモ
リカウンタCONT1の値を“0”にしてバツフア
メモリBF11の内容を順次読み出し印字を行なう。
The print controller PCT sets the value of the buffer memory counter CONT 1 to "0" and sequentially reads out the contents of the buffer memory BF 11 to perform printing.

プリントコントローラPCTがバツフアメモリ
BF11を読み出している最中にチヤネルCHから印
字指令があると、バツフアメモリBF22にバツフ
アメモリBF11と同様にしてデータを書き込む。
Print controller PCT has buffer memory
When a print command is received from channel CH while reading BF 11 , data is written to buffer memory BF 22 in the same manner as buffer memory BF 11 .

印刷時何等かの原因でバツフアメモリカウンタ
の値がページイメージを設定した時より大きくな
つた時は、チヤネルCHへインコレクトレングス
を報告し、チヤネルCHはこれによりバツフアメ
モリの内容が正しくないと判断し、印字を停止す
る。
When printing, if for some reason the value of the buffer memory counter becomes larger than when the page image was set, the in-collect length is reported to the channel CH, and the channel CH determines that the contents of the buffer memory are incorrect. and stop printing.

逆にバツフアメモリカウンタの値がページイメ
ージを設定した時より小さい場合は、可変データ
領域をクリアするか、又はアスタリスク等の文字
を書込み印字する。
Conversely, if the value of the buffer memory counter is smaller than when the page image was set, the variable data area is cleared or characters such as asterisks are written and printed.

以上述べた様に本発明によれば、ページイメー
ジ設定後は可変データのみを転送する様にしてい
るので、チヤネルの専有時間ガ短くなると共に、
メモリに対するアクセス時間が1回で済むため、
印刷装置全体の処理時間の向上が望める。
As described above, according to the present invention, only variable data is transferred after the page image is set, so the exclusive time of the channel is shortened, and
Since the memory only needs to be accessed once,
It is expected that the processing time of the entire printing device will be improved.

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

第1図は本発明の概要を示す図、第2図は具体
例を示す図である。 図中、CPUは中央処理装置、CHはチヤネル、
LPはラインプリンタ装置、BF11,BF12はバツフ
アメモリ、BCONTはバツフアメモリコントロー
ラ、PCTはプリントコントローラ、CONT1
CONT2はバツフアメモリカウンタ、CCTはチヤ
ネルインターフエースコントローラ、CJは文字
判定回路である。
FIG. 1 is a diagram showing an outline of the present invention, and FIG. 2 is a diagram showing a specific example. In the figure, CPU is the central processing unit, CH is the channel,
LP is line printer device, BF 11 , BF 12 are buffer memory, BCONT is buffer memory controller, PCT is print controller, CONT 1 ,
CONT 2 is a buffer memory counter, CCT is a channel interface controller, and CJ is a character judgment circuit.

Claims (1)

【特許請求の範囲】 1 印刷装置のバツフアメモリを固定データ領域
と可変データ領域に分割し、中央処理装置からの
固定データを該固定データ領域に記憶した後は、
該中央処理装置から可変データのみを転送し、該
可変データ領域に記憶する印刷装置に於ける印刷
データ転送方式に於いて、 初回の印刷データ転送時、前記バツフアメモリ
内のコントロールビツトCB11に前記固定データ
領域又は前記可変データ領域を示すビツトを書き
込むと共に、コントロールビツトCB12に転送さ
れた印刷データの区切りを示すビツトを書き込ん
でおき、 次回以降の印刷データ転送に際しては、該コン
トロールビツトCB11を逐次読み出し、読み出し
た値に応じて該可変データを該バツフアメモリに
書き込むようにしたことを特徴とする印刷装置に
於ける印刷データ転送方式。
[Claims] 1. After dividing the buffer memory of the printing device into a fixed data area and a variable data area, and storing fixed data from the central processing unit in the fixed data area,
In a print data transfer method in a printing device that transfers only variable data from the central processing unit and stores it in the variable data area, when the print data is transferred for the first time, the control bit CB 11 in the buffer memory is set to the fixed value. In addition to writing a bit indicating the data area or the variable data area, a bit indicating the delimiter of the transferred print data is also written in control bit CB 12 , and when transferring print data from the next time onwards, the control bit CB 11 is sequentially written. 1. A print data transfer method in a printing device, characterized in that the variable data is read and written in the buffer memory according to the read value.
JP55145441A 1980-10-17 1980-10-17 Printing method Granted JPS5769444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP55145441A JPS5769444A (en) 1980-10-17 1980-10-17 Printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP55145441A JPS5769444A (en) 1980-10-17 1980-10-17 Printing method

Publications (2)

Publication Number Publication Date
JPS5769444A JPS5769444A (en) 1982-04-28
JPS6316767B2 true JPS6316767B2 (en) 1988-04-11

Family

ID=15385305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP55145441A Granted JPS5769444A (en) 1980-10-17 1980-10-17 Printing method

Country Status (1)

Country Link
JP (1) JPS5769444A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59121432A (en) * 1982-12-16 1984-07-13 Fujitsu Ltd Print data buffering system of printer
JPS6024683A (en) * 1983-07-21 1985-02-07 Tokyo Electric Co Ltd Plu setting method of label printer
JPH03104669A (en) * 1989-09-20 1991-05-01 Fujitsu Ltd Print controlling method for printer
JPH03197064A (en) * 1989-12-26 1991-08-28 Kanzaki Paper Mfg Co Ltd Dot printer
JP2017209997A (en) * 2017-06-14 2017-11-30 株式会社寺岡精工 Label issuance device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5164322A (en) * 1974-06-25 1976-06-03 Hitachi Ltd
JPS5588129A (en) * 1978-12-27 1980-07-03 Fuji Photo Film Co Ltd Form synthesizer-recorder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5164322A (en) * 1974-06-25 1976-06-03 Hitachi Ltd
JPS5588129A (en) * 1978-12-27 1980-07-03 Fuji Photo Film Co Ltd Form synthesizer-recorder

Also Published As

Publication number Publication date
JPS5769444A (en) 1982-04-28

Similar Documents

Publication Publication Date Title
JPS60116464A (en) Printer
JP2740568B2 (en) Printing equipment
JPS6316767B2 (en)
JPS6038742B2 (en) Printer external character processing method
JPS5981778A (en) Print control system
JPS62173526A (en) Page buffer control system
JP2800280B2 (en) Printer server
JPS6324321A (en) Dynamic memory control circuit for image memory
JP2932568B2 (en) Data communication device
KR100219474B1 (en) Printer
JPH022170B2 (en)
JPH04225422A (en) Image memory controller
JPH051491B2 (en)
JP2614251B2 (en) Printer print control method
JPS6111844A (en) Recorder
JPH0427571B2 (en)
JPS6010674B2 (en) printer
JPS61106264A (en) Figure output controller
JPS62193838A (en) Printer
JPH0528405B2 (en)
JPS62164548A (en) Access control system for dot memory
JPS6322331B2 (en)
JPS63296961A (en) Controller of printer
JPH0516452A (en) Printer
JPH0484352A (en) Dma controller