JPH0239978A - Printer - Google Patents

Printer

Info

Publication number
JPH0239978A
JPH0239978A JP19002988A JP19002988A JPH0239978A JP H0239978 A JPH0239978 A JP H0239978A JP 19002988 A JP19002988 A JP 19002988A JP 19002988 A JP19002988 A JP 19002988A JP H0239978 A JPH0239978 A JP H0239978A
Authority
JP
Japan
Prior art keywords
printing
received data
data
repagination
code
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
JP19002988A
Other languages
Japanese (ja)
Inventor
Hiroko Takano
高野 浩子
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP19002988A priority Critical patent/JPH0239978A/en
Publication of JPH0239978A publication Critical patent/JPH0239978A/en
Pending 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
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/40Means for printing fixed, i.e. unchanging, matter in addition to selectable matter

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To make it possible to obtain such a print output as to permit instantaneous visual recognition of a repagination, if any, in dumping received data by a method wherein upon reception of a repagination code during dumping received data, an operation of printing the received data momentarily stored at that moment and a repaginating operation are carried out based on an output from a means for discriminating the repagination code. CONSTITUTION:Data sent from a host device is written into and held in a reception buffer 1, and it is judged by a decoder 2 whether the data is a repagination code. When the data is judged as the repagination code, it is compared in a character editing part 4 with a character pattern supplied from a character pattern generating part 3, and is transferred to a printing-controlling part 5. Simultaneously, a printing and line feeding instruction 2b is sent from the decoder 2 to a repagination controlling part 6, which calculates a required line feed quantity, and outputs a printing and line feeding instruction 6b to the printing-controlling part 5. The controlling part 5 forcibly performs a printing operation and a line feeding operation, even during dumping the received data.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明は、情報処理装置抱末として使用されるプリンタ
に関し、特に受信データを一時保持し、保持し友内容を
編集して印字する受信データダン1機能を有するプリン
タのダンプ機能全改善したプリンタに関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a printer used as an end of an information processing device, and in particular, the present invention relates to a printer that temporarily stores received data, edits the contents of the received data, and prints the received data. This invention relates to a printer with fully improved dump functions of a printer having a dump function.

(従来の技術) 情報処理装置において、プログラム実行中の誤りを発見
する場合など、記憶装置の内容のデータを印字して不良
を見つけているが、このようなダンプ機能をプリンタに
有しているものがある。
(Prior art) In information processing devices, when detecting errors during program execution, the data of the contents of the storage device is printed to find the defect.However, printers have such a dump function. There is something.

従来、この種のプリンタでは、受信データダンプを行な
うとき、上位装置より受信したデータ?、一行の有効文
字数分を印字し、その後自動的に改行する動作を繰り返
えしている。
Conventionally, in this type of printer, when dumping received data, the data received from the host device? , it prints the number of valid characters on one line, and then repeats the process of automatically starting a new line.

(発明が解決しようとする課題) 上述し几従米のプリンタの受信データダンプ機能は、上
位装置より受信し几データを一時保持し、一行有効数字
分のデータが揃うと印字動作と改行動作を行なうので、
オンライン印字時に改頁を示す改頁コードを受信したと
きの頁の区切りは、受信ダンプを行なつ几結果を見比場
合に、−目ではわかり難いという欠点がある。
(Problem to be Solved by the Invention) The received data dump function of the above-mentioned printer receives the data from the host device and temporarily holds the data, and when the data for one line of significant figures is collected, print operation and change operation are performed. So,
The page break when a page break code indicating a page break is received during online printing has the disadvantage that it is difficult to see with the naked eye when comparing the results of a received dump.

本発明の目的は、このような欠点を解消し、受信データ
ダンプ中lこ改頁があつ念とき、その改頁が一見して判
るようなプリント出力が得られるプリンタを提供するこ
とにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a printer capable of eliminating such drawbacks and producing a printout in which the page break can be recognized at a glance when a page break occurs during received data dumping.

(課題を解決する几めの手段〕 前記の目的を達、成する友め1本発明のプリンタは、受
信データを一時保持し、一行有効文字数分のデータがそ
ろってがら、印字動作および改行動作を自動的に行なう
受信データダンプ機能を有するプリンタにおいて、改頁
コードを判別する手段2を有し、受信データダンプ中に
(Elaborate Means for Solving the Problems) The printer of the present invention that achieves the above-mentioned object temporarily stores received data and performs printing and line feed operations when the data for the number of effective characters in one line is complete. In a printer having a received data dump function that automatically performs a received data dump function, the printer has a means 2 for determining a page break code, and has a means 2 for determining a page break code during received data dumping.

改頁コードを受信し友場合、前記改頁コードを判別する
手段2の出力2bにもとづいて、その時点で一時保持さ
れている受信データの印字動作と、改頁動作を行なうも
のとする。
When a page break code is received, the printing operation of the received data temporarily held at that time and the page break operation are performed based on the output 2b of the means 2 for determining the page break code.

(実施例〕 つぎに1本発明について図面を参照して説明する。(Example〕 Next, one aspect of the present invention will be explained with reference to the drawings.

第1図は1本発明の一実施例金示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図に示すように、上位装!より送られてきたデータ
を一時保持する受信バッファ1と。
As shown in Figure 1, the high-end outfit! and a reception buffer 1 that temporarily holds data sent from the receiver.

受信バッファ1よシ読み出し几データが改頁コードであ
るかどうかを判断するデコーダ2と、受信データに対応
する文字パターンを発生する文字パターン発生部3と、
デコーダ2の改頁コード以外のデータ2aを文字パター
ン発生部3より入力される文字パターンと参照し印字制
御部5Iこ出力する文字機集部4と5図示しないブリ/
り機構部を電動して印字させ、また改行動作を行かわせ
る印字制御部5と、デコーダ2の改頁コード判別に対応
する出力2b?受けて印字制御部5に改頁動作音させる
改頁制御部6とから構成されている。
a decoder 2 that determines whether the read data from the reception buffer 1 is a page break code; a character pattern generator 3 that generates a character pattern corresponding to the received data;
The character collection parts 4 and 5 refer to the data 2a other than the page break code of the decoder 2 with the character pattern input from the character pattern generation part 3 and output it to the print control part 5I.
a printing control unit 5 that electrically drives the mechanical unit to print and also performs a page feed operation; and an output 2b that corresponds to the page break code determination of the decoder 2. and a page break control section 6 which in response causes the print control section 5 to make a page break operation sound.

つぎに動作について説明する。Next, the operation will be explained.

まず1図示しない上位f2[よシ送られてき之データは
、受信バッファlへ書き込まれ保持さレル。このデータ
はデコーダ2において改!コードであるかどうかが判断
される。
First, the data sent from the upper level f2 (not shown) is written to the reception buffer l and held there. This data is modified in decoder 2! It is determined whether it is a code.

改頁でない場合、データは文字編集部4において1文字
パターン発生部3から送られてき丸文字パターンと参照
され、印字制御部5に送られる。そして一行有効文字分
のデータがそろうまでデコードと文字編集の処理が行な
われ、一行有効数字分のデータがそろうと、印字動作お
よび自動改行金貸なめ、再びデコード、文字編集の処理
を繰返えす。
If it is not a page break, the data is sent from the one-character pattern generation section 3 to the character editing section 4, referred to as a circle character pattern, and sent to the print control section 5. Then, decoding and character editing processing is performed until data for one line of valid characters is collected, and when data for one line of effective characters is collected, printing operation, automatic line break, and decoding and character editing processing are repeated again. .

モジ、デコーダ2において、データが改頁コードである
と判断しt場合1文字編集部4において1文字パターン
発生部3からの文字パターンと参照され、印字制御部5
へ渡される。そして同時にデコーダ2よシ改頁制御部6
へ、印字・改行指示2bが送られる。
If the decoder 2 determines that the data is a page break code, the one-character editing section 4 refers to the character pattern from the one-character pattern generation section 3, and the print control section 5
passed to. At the same time, the decoder 2 and page break control section 6
A print/line feed instruction 2b is sent to.

改頁制御部6は、印字・改行指示2bを受けて起動し、
改頁するために必要な改行11を算出し、印字制御部5
へ印字・改行指示6bi送出する。
The page break control unit 6 is activated upon receiving the print/line feed instruction 2b,
The print control unit 5 calculates the line feed 11 necessary for page break.
Sends 6bis of print/line feed instructions to.

そこで印字制御部5は、受信データダンプ中であっても
強制的に印字動作および改頁制御部6で算出された改行
量分の改行上行なう。
Therefore, the print control section 5 forcibly performs a printing operation and performs a line feed upward by the amount of line feed calculated by the page break control section 6 even while the received data is being dumped.

この改頁コード受信による改行量は1丁度つぎの頁まで
の空白に相当するので、強制的に改頁が行われることと
なる。
Since the amount of line feed due to reception of this page break code corresponds to exactly one blank space up to the next page, a page break is forcibly performed.

その後再びデコードと文字編集処理が続行される。The decoding and character editing process then continues again.

(発明の効JJ:) 以上説明しtよう番こ本発明は、受信データダン1機能
を有するプリンタにおいて、受信データダンプ中におい
ても、改頁コードを受信した場合Iこ改頁動作ケ行なう
ことにより、オンライン印字時の頁の区切れが一目で判
別でき、上位装置より送られ几データの調査が容易にな
ると込う効果がある。
(Efficacy of the Invention JJ:) As explained above, the present invention provides a printer having the received data dump function, which performs a page feed operation when a page break code is received even during received data dump. This has the effect of making it possible to identify page divisions at a glance during online printing, and making it easier to examine the data sent from the host device.

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

第1図は1本発明の一実施例を示すブロック図である。 1・・・受信バッファ   2・・・デコーダ3・・・
文字パターン発生部  4・・・文字編集部5・・・印
字制御部    6・・・改頁制御部特許出願人  日
本電気株式会社
FIG. 1 is a block diagram showing an embodiment of the present invention. 1...Reception buffer 2...Decoder 3...
Character pattern generation section 4...Character editing section 5...Print control section 6...Page break control section Patent applicant NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] 受信データを一時保持し、一行有効文字数分のデータが
そろつてから、印字動作および改行動作を自動的に行な
う受信データダンプ機能を有するプリンタにおいて、改
頁コードを判別する手段を有し、受信データダンプ中に
、改頁コードを受信した場合、前記改頁コードを判別す
る手段の出力にもとづいて、その時点で一時保持されて
いる受信データの印字動作と、改頁動作を行なうことを
特徴とするプリンタ。
In a printer that has a received data dump function that temporarily holds received data and automatically performs printing and line feed operations after data for the number of valid characters in one line is collected, it has a means to determine the page break code, and the received data When a page break code is received during dumping, the printing operation of the received data temporarily held at that time and the page break operation are performed based on the output of the means for determining the page break code. printer.
JP19002988A 1988-07-29 1988-07-29 Printer Pending JPH0239978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19002988A JPH0239978A (en) 1988-07-29 1988-07-29 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19002988A JPH0239978A (en) 1988-07-29 1988-07-29 Printer

Publications (1)

Publication Number Publication Date
JPH0239978A true JPH0239978A (en) 1990-02-08

Family

ID=16251185

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19002988A Pending JPH0239978A (en) 1988-07-29 1988-07-29 Printer

Country Status (1)

Country Link
JP (1) JPH0239978A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013050991A (en) * 2012-11-26 2013-03-14 Ricoh Co Ltd Print data generation device, print data generation method, printer driver program, and print data generation system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013050991A (en) * 2012-11-26 2013-03-14 Ricoh Co Ltd Print data generation device, print data generation method, printer driver program, and print data generation system

Similar Documents

Publication Publication Date Title
EP0685818A2 (en) Error control system and method for a printer
US6587971B1 (en) Print control method and print control apparatus
JP2006093824A (en) Image forming apparatus
JPH0239978A (en) Printer
JP3651126B2 (en) Information recording device
JPS60182088A (en) Detecting and processing system of memory cartridge
KR100200958B1 (en) Menu flow setting method of image forming device
JPH05193236A (en) Printing apparatus
JPS62235631A (en) Print controller
JP2514716B2 (en) Recording device
JPH11338661A (en) Image forming device
JP3027849B2 (en) Printing device
JPH02283466A (en) Printer
JPH05208527A (en) Printing device
JP2000127566A (en) Printer
JP3391935B2 (en) Facsimile apparatus and received image data output management method
JPH10214169A (en) Automatic separator page-insertion device at the time of printing data elimination
JPH11249853A (en) Image forming device
JPH0636546B2 (en) Serial printer
JPH11227303A (en) Printing apparatus
JPH05119938A (en) Printer
JPH0289666A (en) Printer
JPH08115180A (en) Print controller
JPH01214460A (en) Page output detection system of printer
JPH01314175A (en) Printer