JPH01275074A - Printer - Google Patents

Printer

Info

Publication number
JPH01275074A
JPH01275074A JP63102412A JP10241288A JPH01275074A JP H01275074 A JPH01275074 A JP H01275074A JP 63102412 A JP63102412 A JP 63102412A JP 10241288 A JP10241288 A JP 10241288A JP H01275074 A JPH01275074 A JP H01275074A
Authority
JP
Japan
Prior art keywords
data
specified
line
pattern
printing
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
JP63102412A
Other languages
Japanese (ja)
Inventor
Toshihide Fukumoto
福本 年秀
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP63102412A priority Critical patent/JPH01275074A/en
Publication of JPH01275074A publication Critical patent/JPH01275074A/en
Pending legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To make it possible to print a desired portion of inputed data, by checking whether a specified character pattern is present, not on a record basis but on a line basis and a colum basis. CONSTITUTION:Data inputted from a console 4 is stored in an area of a RAM 7, a value indicative of the type of printing is set into a printing type flag F, a specified line into a line register L, a specified column into a column register D, and a specified pattern into a pattern buffer B. Next, recording data is received, and a one-page amount of the data is set into a data page buffer (DB) 8. It is checked whether the DB 8 is empty. When the DB 8 is not empty and the pattern indicated by the data in B is present in the range starting from a position specified by the data in L and D, it is checked whether the value in F is 0 (printing only the specified line). When the value in F is 0, the L-th line in the DB 8 is expanded into dot images in a PB 10, and the content of the PB 10 is printed. When the value in F is not 0, the content of the DB 8 is expanded into dot images in the PB 10, and the content of the PB 10 is printed.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は印刷装置に関し、特にページプリンタに関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to printing devices, and particularly to page printers.

[従来の技術1 従来、この種の装置は、印刷データのうちでオペレータ
が指定した文字パターンを含むレコード(データの基本
単位)のみを印刷するという機能を有していた。
[Prior Art 1] Conventionally, this type of apparatus has had a function of printing only records (basic units of data) that include character patterns specified by an operator among print data.

[発明が解決しようとする課題1 しかしながら、上述の従来例においては、指定文字パタ
ーンを含むレコードのみのプリント出力を行うため、次
のような欠点があった。
[Problem to be Solved by the Invention 1] However, in the above-mentioned conventional example, only records containing a specified character pattern are printed out, and therefore, there are the following drawbacks.

■指示文字パターンを含むページ全体のプリント出力を
行おうとする場合に使用できない。
■Cannot be used when trying to print out the entire page including the instruction character pattern.

■指定文字パターンを含んでいても必要のないレコード
が存在し、そのレコードのプリント出力を行う場合には
、後で切り張り作業が必要となってしまうのでプリント
出力された記録用紙をそのまま保存管理に用いることが
できない。
■If there are records that are not needed even if they contain the specified character pattern, and if you print out those records, you will need to cut and paste them later, so you should save and manage the printed recording paper as it is. cannot be used for

本発明の目的は、上述の欠点を除去し、人力されたデー
タのうちの所望の部分をプリント出力することかできる
印刷装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to eliminate the above-mentioned drawbacks and to provide a printing device that can print out a desired portion of manually inputted data.

[課題を解決するための手段] このような目的を達成するために、本発明は、印刷に関
する指示情報を人力する人力手段と、人力された指示情
報を記憶する記↑意手段と、印刷データを読み込む、読
み込み手段と、記憶手段から指示情報を読み込み、指示
情報に従い印刷データをドツト展開する展開手段とを具
える。
[Means for Solving the Problems] In order to achieve such an object, the present invention provides human-powered means for manually inputting instruction information regarding printing, recording means for storing the manually-operated instruction information, and printing data. and a developing means that reads instruction information from the storage means and develops the print data into dots according to the instruction information.

[作 用] 本発明によれば、指定文字パターンが存在するか否かの
存在判定をレコード単位ではなく行および桁単位で行う
ことにより、必要な行のみの印刷および必要なページの
みの印1fすを行うことかでとる。
[Function] According to the present invention, by determining whether or not a specified character pattern exists not on a record-by-record basis but on a line and column-by-column basis, only necessary lines can be printed and only necessary pages can be marked 1f. Is it something to do?

[実施例1 以下、図面を参照して本発明の詳細な説明する。[Example 1 Hereinafter, the present invention will be described in detail with reference to the drawings.

本発明に係る印刷装置は、第1図に示すように、印刷に
関する指示情報を人力する人力手段101 と、前記人
力された指示情報を記す、キする記f、Q手段102と
、印刷データを読み込む、読み込み手段103と、前記
記憶手段102から前記指示情報を読み込み、前記印刷
データをドツト展開する展開手段104 とを具える。
As shown in FIG. 1, the printing apparatus according to the present invention includes a human-powered means 101 for manually inputting instruction information regarding printing, a key f and Q means 102 for recording the manually-entered instruction information, and print data. The printing apparatus includes a reading means 103 for reading, and a developing means 104 for reading the instruction information from the storage means 102 and developing the print data into dots.

第2図は本発明の実施例の印刷装置の構成を示す。ここ
で、1は例えばホストコンピュータで構成されるデータ
発生7原であり、データをプリンタ2の構成要素である
人力インターフェース部3に向けて出力する。プリンタ
部2は参照番号3から12で示される構成要素を有して
いる。
FIG. 2 shows the configuration of a printing apparatus according to an embodiment of the present invention. Here, 1 is a data generation source 7 composed of, for example, a host computer, and outputs data to a human interface section 3 which is a component of the printer 2. The printer section 2 has components indicated by reference numbers 3 to 12.

4はコンソールであり、実際のプリント出力のための情
報を人力する。5はcpu (中央演算処理装萱)であ
り、プリンタ部2の総括的な制御を行う。6はROM 
(リードオンリメモリ)であり、第3図のフローチャー
トに示す処理手順に従った制御プログラムを記憶してい
る。
4 is a console, which manually inputs information for actual printout. Reference numeral 5 denotes a CPU (central processing unit), which performs overall control of the printer section 2. 6 is ROM
(read-only memory), and stores a control program according to the processing procedure shown in the flowchart of FIG.

7はRAM  (ランダムアクセスメモリ)であり、C
PU 5から送出される種々のデータ、フラグ情報およ
び演算結果等を記憶しておく。RAM 7は行レジスタ
(L)1桁レジスタ(D)、パターンバッファ(B)お
よびプリント種別フラグ(F)のエリアを有している。
7 is RAM (random access memory), C
Various data sent from the PU 5, flag information, calculation results, etc. are stored. The RAM 7 has areas for a line register (L), a 1-digit register (D), a pattern buffer (B), and a print type flag (F).

行レジスタ(L)は、コンソール4から指示される指定
行を記憶する。桁レジスタ(D)はコンソール4から指
示される指定桁を記憶する。パターンバッファ(B)は
指定パターンを記憶し、フラグ(F)は印刷の種別を記
↑nする。CPt15は、これらを参照しながら、人力
インターフェース部3を介してデータ発生源1から人力
されるデータを後述する出力用ページバッファ10に展
開する。
The line register (L) stores a designated line instructed from the console 4. The digit register (D) stores the specified digit specified from the console 4. The pattern buffer (B) stores the specified pattern, and the flag (F) records the type of printing. Referring to these, the CPt 15 develops data manually input from the data generation source 1 via the human interface section 3 into an output page buffer 10, which will be described later.

8はデータページバッファであり、CPIJ 5から送
出される文字コードなどのデータをページ単位で格納す
る。9は文字パターン発生部であり、データページバッ
ファ8に格納された文字コードをキャラクタ−パターン
に変換して、出力用ページバッファlOに出力する。
A data page buffer 8 stores data such as character codes sent from the CPIJ 5 in page units. A character pattern generating section 9 converts the character code stored in the data page buffer 8 into a character pattern and outputs it to the output page buffer IO.

11は出力インターフェース部であり、出力用ページバ
ッファ10から出力されるドツト情報に応じてビデオ信
号を発生する。12は出力装置であり、出力インターフ
ェース部で発生したビデオ18号を受で3して実際に画
像を出力する。
Reference numeral 11 denotes an output interface section, which generates a video signal according to the dot information output from the output page buffer 10. Reference numeral 12 denotes an output device, which receives the video signal 18 generated at the output interface section and actually outputs an image.

第3図は本発明の実施例の印刷制御手順を説明するフロ
ーチャートである。ステップ51からステップS4にお
いてコンソール4より人力された・情報をRAM7のエ
リアに才各納する。ステ・ツブS1においてプリントの
種別を示す値(本実施例においては、0・・・指定した
桁数から始まる指定パターンを含む行のみプリント出力
、1・・・指定した行および桁から始まる指定パターン
を含むページをプリント出力)をプリントf:u 5E
IJフラグ(F)にセットし、ステップS2において指
定行を行レジスタ(L)にセットし、ステップS3にお
いて指定ttiを桁レジスタ(D)にセットし、ステッ
プS4において指定パターンをパターンバッファ(B)
にセットする。
FIG. 3 is a flowchart illustrating a print control procedure according to an embodiment of the present invention. From step 51 to step S4, the information input manually from the console 4 is stored in the RAM 7 area. A value indicating the print type in step S1 (in this embodiment, 0...Prints only the lines that include the specified pattern starting from the specified number of digits, 1...The specified pattern starts from the specified line and digit) Print out the page containing f:u 5E
The IJ flag (F) is set, the specified line is set in the row register (L) in step S2, the specified tti is set in the digit register (D) in step S3, and the specified pattern is stored in the pattern buffer (B) in step S4.
Set to .

次にステップS5に移り、データを受信し出力ぺ一ジバ
ッファ(DB) 8に1ペ一ジ分のデータをセットする
。そしてステップS6において、DB8が空か否かを判
定する。
Next, the process moves to step S5, where data is received and one page's worth of data is set in the output page buffer (DB) 8. Then, in step S6, it is determined whether the DB8 is empty.

ステップS6における判定がYESの場合は、出力すべ
きデータが存在しないのでステップ512に移り、出力
用ページバッファ(PB)10が空か否かを判定する。
If the determination in step S6 is YES, there is no data to be output, so the process moves to step 512, and it is determined whether the output page buffer (PB) 10 is empty.

ステップS12における判定がYESの場合は、処理を
終了し、NOの場合はステップ513においてPBIO
の内容を印刷して終了する。
If the determination in step S12 is YES, the process ends; if the determination is NO, in step 513, the PBIO
Print the contents and exit.

ステップS6における判定がNOの場合はステップS7
に移り、ステップS2およびS3におけるLおよびDで
指定する位置よりCOで示すパターンが存在するか否か
を判定する。ステップS7における判定がNoの場合は
、ステップS5に戻る。ステップS7における判定がY
ESの場合は、ステップS8に移りステップS1におけ
るFが0か否かを判定する。
If the determination in step S6 is NO, step S7
Then, it is determined whether the pattern indicated by CO exists from the positions specified by L and D in steps S2 and S3. If the determination in step S7 is No, the process returns to step S5. The determination in step S7 is Y.
In the case of ES, the process moves to step S8 and it is determined whether F in step S1 is 0 or not.

そしてステップS9に8す、DB8の第り行をPBIO
にドツト展開する。次にステップ510に移り、展開し
た結果、PBIOがフルか否かを判定する。ステップ5
10における判定がYESの場合はステップSllにお
いてPBIOの内容を印刷してステップS5に戻る。ス
テップS10における判定がNOの場合はステップS5
へ戻る。
Then, in step S9, the next row of DB8 is transferred to PBIO.
Expand the dots. Next, the process moves to step 510, and it is determined whether or not the PBIO is full as a result of the expansion. Step 5
If the determination in step S10 is YES, the contents of PBIO are printed in step Sll and the process returns to step S5. If the determination in step S10 is NO, step S5
Return to

ステップS8における判定がNOの場合はステップ51
4に移り、DB8の内容をPBIOにドツト展開し、ス
テップ515においてPBIOの内容を印刷してステッ
プS5に戻る。
If the determination in step S8 is NO, step 51
4, the contents of DB8 are expanded into PBIO, and in step 515, the contents of PBIO are printed, and the process returns to step S5.

以上のような制御手順によって印刷された結果を第4図
に示す。第4図において符合(A)から(F)で示すも
のは人力データをそのまま印刷した例である。コンソー
ル4からの指示人力が、01行3桁から“COMPAN
Y A”を含むページを印刷する であるときは(A)および(E)を印刷する。
FIG. 4 shows the results printed by the control procedure as described above. In FIG. 4, the numbers (A) to (F) indicate examples in which human data is printed as is. The command from console 4 is “COMPAN” from 01 line 3 digits.
When printing a page containing "Y A", print (A) and (E).

コンソール4からの指示人力が、 ■5行1桁から“ID3”を含む行を印刷する であるときは(G)を印刷する。Instructions from console 4 are ■Print the line containing “ID3” from line 5, column 1 If so, print (G).

以上説明したように本実施例においては、RAM7の行
7桁およびパターンのエリアが1組であったが、これを
数組設けてコンソール4からの人力による複数の行1桁
およびパターンの指定を可能にし、その指定をすべて含
むページ(または行)を印刷することもできる。
As explained above, in this embodiment, there is one set of areas for seven columns of rows and patterns in the RAM 7, but several sets of these are provided to allow manual specification of multiple single columns of rows and patterns from the console 4. You can also print a page (or line) containing all of the specifications.

また、本実施例においては行および桁の指定を行ったが
、プリント用紙に座標をとり、この座標により印刷しよ
うする範囲の始点および終点を指定し、線または矩形を
含むページのみを印刷することもできる。
In addition, although lines and columns are specified in this embodiment, it is also possible to record coordinates on the print paper, use these coordinates to specify the start and end points of the range to be printed, and print only pages that include lines or rectangles. You can also do it.

[発明の効果1 以上説明したように、本発明においては、指定された行
2桁およびパターンを含むページ(または行)のみをド
ツト展開するようにしたので、入力データのうちの出力
したい部分のみを印刷することができるという効果があ
る。
[Advantageous Effects of the Invention 1] As explained above, in the present invention, only the page (or line) that includes the specified 2 digits of the line and the pattern is expanded into dots, so only the part of the input data that is desired to be output is It has the effect of being able to print.

【図面の簡単な説明】 第1図は本発明に係る印刷装置の基本構成図、 第2図は本発明の実施例を示す図、 第3図は本発明の実施例のフローチャート、第4図は本
発明の実施例の印刷例を示す図である。 l・・・データ発生源、 2・・・プリンタ部、 3・・・人力インターフェース部、 4・・・コンソール、 5・・・tl:PI] (中央演算処理装置)、6・・
・ROM (リートオンリメモリ)、7・・・RAM 
(ランダムアクセスメモリ)、8・・・データページバ
ッファ、 9・・・文字パターン発生部、 10・・・出力用ページバッファ、 11・・・出力インターフェース部、 12・・・出力装置。 4に塔+5恥二イ辰ろ でPスマ゛す1色】(0苓イく
111成図第1ド1 □1寸 (A)           (3) 参宅明。 (C) 0 ¥死イアjJ」  の卯、111171Fリ をポ
丁5■′?;4 図
[Brief Description of the Drawings] Fig. 1 is a basic configuration diagram of a printing apparatus according to the present invention, Fig. 2 is a diagram showing an embodiment of the present invention, Fig. 3 is a flowchart of an embodiment of the present invention, and Fig. 4 is a diagram showing the embodiment of the present invention. FIG. 3 is a diagram showing a printing example of an embodiment of the present invention. 1... Data generation source, 2... Printer section, 3... Human interface section, 4... Console, 5... tl:PI] (central processing unit), 6...
・ROM (leat only memory), 7...RAM
(Random access memory), 8... Data page buffer, 9... Character pattern generation section, 10... Output page buffer, 11... Output interface section, 12... Output device. 4 to tower + 5 shame 2 to Tatsuro and P Smile 1 color] (0 Rikku 111 composition 1st do 1 □ 1 sun (A) (3) Santaku Akira. (C) 0 ¥ death Iaj J ' Rabbit, 111171F, Pot 5■'?;4 Figure

Claims (1)

【特許請求の範囲】 1)印刷に関する指示情報を入力する入力手段と、 前記入力された指示情報を記憶する記憶手段と、 印刷データを読み込む、読み込み手段と、 前記記憶手段から前記指示情報を読み込み、指示情報に
従い前記印刷データをドット展開する展開手段と を具えたことを特徴とする印刷装置。
[Claims] 1) Input means for inputting instruction information regarding printing; Storage means for storing the input instruction information; Reading means for reading print data; Reading the instruction information from the storage means. . A printing apparatus comprising: a developing means for dot-developing the print data according to instruction information.
JP63102412A 1988-04-27 1988-04-27 Printer Pending JPH01275074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63102412A JPH01275074A (en) 1988-04-27 1988-04-27 Printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63102412A JPH01275074A (en) 1988-04-27 1988-04-27 Printer

Publications (1)

Publication Number Publication Date
JPH01275074A true JPH01275074A (en) 1989-11-02

Family

ID=14326728

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63102412A Pending JPH01275074A (en) 1988-04-27 1988-04-27 Printer

Country Status (1)

Country Link
JP (1) JPH01275074A (en)

Similar Documents

Publication Publication Date Title
JP2796628B2 (en) Printing device
US5029114A (en) Method of displaying reduced-layout and apparatus for embodying the method
JPH0575835A (en) Character data padding printing system to image data
JPH01275074A (en) Printer
JPH01229673A (en) English and european writing printing control system
JP2940140B2 (en) Document data processing device
JP2803087B2 (en) Print processing device
JPS60147834A (en) Character output controller
JPH074956B2 (en) Character processor
US5162993A (en) Word processing apparatus
JP2755589B2 (en) Document creation device
JP2670447B2 (en) Output device and method
JPH0615317Y2 (en) Document processor
JP2778740B2 (en) Document creation device
JP2837497B2 (en) Output control device and output control method
JP2682984B2 (en) Output device
JPH0569603A (en) Recording device
JPH0462084A (en) Printer
JP2610405B2 (en) Document creation device
JPS61197269A (en) Character output device
JPH0790656B2 (en) Document processing method
JPS5856192A (en) Printer
JPS6061269A (en) Pattern-outputting device
JPS63242561A (en) Font reducing system
JPH0773935B2 (en) Document creation device