JPS60109888A - Character processor - Google Patents

Character processor

Info

Publication number
JPS60109888A
JPS60109888A JP58216063A JP21606383A JPS60109888A JP S60109888 A JPS60109888 A JP S60109888A JP 58216063 A JP58216063 A JP 58216063A JP 21606383 A JP21606383 A JP 21606383A JP S60109888 A JPS60109888 A JP S60109888A
Authority
JP
Japan
Prior art keywords
character
pattern
rule
line
lines
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
JP58216063A
Other languages
Japanese (ja)
Other versions
JPH0630927B2 (en
Inventor
Tomio Masuyama
増山 富夫
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 JP58216063A priority Critical patent/JPH0630927B2/en
Publication of JPS60109888A publication Critical patent/JPS60109888A/en
Publication of JPH0630927B2 publication Critical patent/JPH0630927B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime 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/26Devices, non-fluid media or methods for cancelling, correcting errors, underscoring or ruling

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Document Processing Apparatus (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

PURPOSE:To enable a rule pattern to be arbitrarily formed as a pi-character and a rule of a desired form to be printed, by performing a predetermined rule processing when a part of a formed pi-character pattern is discriminated as rule information. CONSTITUTION:One-line amount of document data inputted through a keyboard KB is converted into an output image to a printer PRT, and the image is outputted to the printer PRT. When a rule pi-character code is included in the line, a pattern for the code is read from an auxiliary memory DISK, and a part corresponding to the right side is expanded by an amount corresponding to the gap between the pi-character and the right next character, and one-line amount of output image is outputted to the printer PRT. Thereafter, when it is judged that a rule pi-character is contained in the line, the pi-character pattern is expanded over the spacing between lines, thereby printing between the lines. Accordingly, the rule pattern can be arbitrarily formed as a pi-character, and a rule of a desired form can be printed.

Description

【発明の詳細な説明】 [技術分野] 本発明は、罫線パターン情報を文字の一種として記憶し
、それを所定の方向へ拡張することにより、罫線の印刷
を行うよう構成した文字処理装置に関するものである。
[Detailed Description of the Invention] [Technical Field] The present invention relates to a character processing device configured to print ruled lines by storing ruled line pattern information as a type of character and expanding it in a predetermined direction. It is.

〔従来技術] 従来、この種の装置では第1図に示すように。[Prior art] Conventionally, this type of device is as shown in FIG.

罫線用の文字パターン情報が文書メモリ2に記憶されて
おり、印刷時にはこの罫線用文字パターンを文字と文字
の間へ、あるいは行と行の間に拡張することにより、連
続した罫線として印刷するように構成されていた(同図
中、4は印刷結果を示す)。
Character pattern information for ruled lines is stored in the document memory 2, and when printing, this character pattern for ruled lines is extended between characters or between lines to print as continuous ruled lines. (In the figure, 4 indicates the printing result).

4−シ<は、第2図に示すように、文書用メモリ2とは
別に、罫線用のグラフィックメモリ6を備え、印刷時に
両者を合成して印刷することにより、罫線を印刷するよ
う構成されていた。
As shown in FIG. 2, the 4-sheet is equipped with a graphic memory 6 for ruled lines in addition to the document memory 2, and is configured to print ruled lines by combining the two and printing at the time of printing. was.

かかるいずれの場合においても、罫線のパターンは固定
されており、任意のパターンの′J′I線を印刷す、る
ことができないという欠点があった。
In any of these cases, the ruled line pattern is fixed, and there is a drawback that it is not possible to print an arbitrary pattern of 'J'I lines.

[目 的] 本発明の目的は、L述の点に鑑み、罫線文字パターンを
外字として作成することにより、所望の形を右する罫線
を印刷できるよう構成した文字処理装;1°′1を提供
することにある。
[Objective] In view of the points mentioned above, the object of the present invention is to provide a character processing device; It is about providing.

かかる目的を達成するために、本発明に係る文字処理装
置では、第3図示の本発明概略構成図のように、外字パ
ターンを作成する手段8と、前記外字パターンの一部を
罫線情報として識別する手段lOと、当該外字パターン
が罫線情報である場合には、所定の罫線処理を行うこと
により、所望の形状を有する罫線を印刷する印刷手段1
2とを備える。
In order to achieve this object, the character processing device according to the present invention includes a means 8 for creating a private character pattern, and a means for identifying a part of the private character pattern as ruled line information, as shown in the third schematic diagram of the present invention. and a printing means 1 for printing ruled lines having a desired shape by performing predetermined ruled line processing when the external character pattern is ruled line information.
2.

[実 施 例] 以下、本発明の−χ施例を図面に従って説明する。[Example] Hereinafter, a -x embodiment of the present invention will be described with reference to the drawings.

第4図は1本発明の一実施例による文字処理装置を示す
ブロック図である。本図において、CPUはマイクロ・
プロセッサであり、演算、論理判断などを行うと共に、
バス(BυS)に接続されている機器に対して、制御信
号および各種データの転送を行う。
FIG. 4 is a block diagram showing a character processing device according to an embodiment of the present invention. In this figure, the CPU is micro
A processor that performs calculations, logical judgments, etc.
Transfers control signals and various data to devices connected to the bus (BυS).

ROMは読み出し専用メモリであり、例えば、第5図に
示すような制御手順のプログラムおよび1.’rJ定デ
ータを格納しておく。
The ROM is a read-only memory, and stores, for example, a control procedure program as shown in FIG. 'rJ constant data is stored.

KBはキーボードであり、外字パターンの入力。KB is a keyboard and inputs external character patterns.

文書データの人力、印刷の起動などを行う。Performs manual processing of document data, startup of printing, etc.

CRTは陰極線管であり、外字作成時におけるパターン
の表示、入力された文書の表示などを行う。
A CRT is a cathode ray tube that displays patterns when creating external characters, displays input documents, and so on.

DISKは補助記憶装置であり、入力された文書あるい
は作成された外字パターンを保存するために用いる。
DISK is an auxiliary storage device and is used to store input documents or created external character patterns.

PRTはプリンタであり、人力された文書の印刷を行う
PRT is a printer that prints documents manually created.

RAMはランダム赤アクセスーメモリであり、入力され
た文書の一時記憶、外字作成のためのワーク、プリンタ
への出力イメージを格納するバッファとして使用する。
The RAM is a random red access memory, and is used as a buffer for temporarily storing input documents, work for creating external characters, and storing images output to the printer.

CGROMはキャラクタ・ジェネレータであり、文字コ
ードに対応するパターンを格納しておく読み出し専用メ
モリである。
CGROM is a character generator and is a read-only memory that stores patterns corresponding to character codes.

次に、木実施例の動作を説明する。なお、木賓施例では
、文字フォントは全て24X24のド−/ )・マトリ
ックスにより印字するものとする。また、文書の入力お
よび外字パターンの人力については既によく知られてい
るので、詳しい説明は省略する。
Next, the operation of the tree embodiment will be explained. In the Mokuhin example, it is assumed that all character fonts are printed using a 24×24 do// ) matrix. Furthermore, since the manual input of documents and custom character patterns are already well known, a detailed explanation will be omitted.

まず、外字コードを互いに共通部分の無い2つの集合に
分割し、一方を通常外字、他方を罫線外字とする。例え
ば、 外字コード=1〜376:通常外字 外字コー ト= 401〜494 :罫??外字とする
First, the custom character code is divided into two sets that have no common parts, and one set is the normal custom character and the other is the ruled custom character. For example, private character code = 1 to 376: Normal private character code = 401 to 494: Ruled? ? Use external characters.

また、文書中に通常外字コードが含まれていた場合には
、従来の外字と同様に、単なる文字として印刷する。−
力、文書中に罫線外字コードが含と文字の間または行と
行の間にその外字パターンを拡張する。
Furthermore, if a document includes a regular non-standard character code, it is printed as a simple character, similar to conventional non-standard characters. −
When a line character code is included in a document, the character pattern extends between characters or lines.

次に、第5図ないし第7図を参照して、罫線文字パター
ンの拡張動作について説明す4る。ここで、第5図は罫
線文字の拡張制御を行うためのフローチャート、第6図
は罫線パターンを文字間に拡張する場合の動作を説明す
る1Δ、第7図は罫線パターンを行間に拡張する場合の
動作を説明する図である。また、第6図において、60
は罫線外字パターンを、LBは空白の長さを示す。更に
、第7図において、70は文書データを、72は罫線外
字パターンを、74は拡張パターンを、76は]テ間−
拡張出力イメーシを示す6 第5図示のフローチャートにおいて、まず、文91)デ
ータのポインタを初期化する(ステップSt)。
Next, with reference to FIGS. 5 to 7, the operation of expanding a ruled line character pattern will be described. Here, Figure 5 is a flowchart for controlling the extension of ruled line characters, Figure 6 is 1Δ explaining the operation when extending a ruled line pattern between characters, and Figure 7 is when extending a ruled line pattern between lines. It is a figure explaining operation of. Also, in Figure 6, 60
indicates the ruled line external character pattern, and LB indicates the blank length. Furthermore, in FIG. 7, 70 indicates document data, 72 indicates a ruled line external character pattern, 74 indicates an extended pattern, and 76 indicates a
In the flowchart shown in FIG. 6 showing the extended output image, first, statement 91) initializes the data pointer (step St).

次に、ステ・ンプS2において、文書データのlイ1゜
分をプリンタへの出力イメージ(ドツト・マトリクス・
イメージ)に変換し、プリンタに出力する。この時、当
該性の中に罫線外字コードが含まれている場合には、当
該外字コードのパターンを補助記憶装置より読み出す。
Next, in step S2, 1° of the document data is output to the printer as an output image (dot matrix).
image) and output to a printer. At this time, if the character includes a ruled line external character code, the pattern of the external character code is read from the auxiliary storage device.

その後、読み出されたパターンの右辺に相当する部分(
第6図70〜72参照)を、当該外字とその右隣りの文
字との間隔分だけ拡張する。
Then, the part corresponding to the right side of the read pattern (
70 to 72 in FIG. 6) is expanded by the distance between the external character and the character to the right of it.

1行分の出力イメージをプリンタに出力した後、ステッ
プS3において、当該行に罫線外字が含まれているか否
かをチェックする。もし含まれていなければ、ステップ
S7において改行を行い、次の行の処理に移る(ステッ
プS5.SS)。
After outputting one line of output image to the printer, in step S3, it is checked whether or not the line includes ruled line characters. If it is not included, a line break is performed in step S7, and the process moves to the next line (step S5.SS).

−力、ステップS3において、当該行に3’I線外字が
含まれていると判断された場合、当該外字パターンを行
間にわたって拡張する(:ステッ:’S4)。すなわち
、当該外字パターンの下辺に相当する部分を、次のイT
との間隔分だけ拡張しく第7図参照)、もって行間に印
刷を行う。
- In step S3, if it is determined that the line contains a 3'I line external character, the external character pattern is expanded across the lines (step S4). In other words, the part corresponding to the lower side of the external character pattern is
(see FIG. 7), thereby printing between the lines.

なお、上述した実り色例においては、文字パターンとし
て24X24ドツトを用いたが、これに限定されないの
は−もちろんである。また、外字パターンは、補助記憶
装p、 、 RAMのいずれに記憶させてあってもよい
In the above-mentioned fruit color example, 24×24 dots were used as the character pattern, but it is of course not limited to this. Further, the external character pattern may be stored in any of the auxiliary storage devices p, , and RAM.

[効 果] 以」二説明したように、本発明によれば、罫線パターン
を外字として任意に作成することができるので、所91
の形状を有する罫線を印刷することができる。
[Effects] As explained below, according to the present invention, a ruled line pattern can be arbitrarily created as a custom character.
It is possible to print ruled lines having the shape of .

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

第1図は罫線パターンを文字の一種として扱い、印刷を
行う従来技術を説明する図、第2図は罫線用として専用
のグラフィック・メモリを用い、もって印刷を行う従来
技術を説明する図、 ?Q 3図は本発明の全体を示す概略構成図、第4図は
本発明の一実施例を示す構成図、第5図は罫線文字の拡
張動作を説明するフローチャート、 第6図は罫線パターンを文字間に拡張する場合の動作を
説明する図、 第7図は罫線パターンを行間に拡張する場合の動作を説
明する図である。 2・・・文書メモリ、 4・・・印刷結果、 6・・・グラフィック・メモリ、 8・・・外字パターン作成手段、 It)・・・罫線外字コード識別手段、12・・・罫線
外字印刷手段、 CPU・・・マイクロ・プロセッサ、 ROM・・・読み出し専用メモリ、 KB・・・キーボード、 CRT・・・陰極線管、 111SK・・・補助記憶装置、 PRT・・・プリンタ、 RAM・・・ランダムΦアクセスΦメモリ、ccRoM
・・・キャラクタ・ジェネレータ、60・・・罫線外字
パターン。 しB・・・空白の長さ・ 70・・・文書データ、 72・・・罫線外字パターン、 74・・・拡張パターン。 76・・・行間拡張出力イメージ。 許出願人 キャノン株式会社 第2図 第3図 ののの (JO([ 第5図
Figure 1 is a diagram explaining a conventional technique for printing by treating ruled line patterns as a type of character, and Figure 2 is a diagram for explaining a conventional technique for printing using a dedicated graphic memory for ruled lines. Q: Figure 3 is a schematic block diagram showing the overall structure of the present invention, Figure 4 is a block diagram showing an embodiment of the present invention, Figure 5 is a flowchart explaining the expansion operation of ruled line characters, and Figure 6 is a diagram showing the ruled line pattern. FIG. 7 is a diagram illustrating the operation when expanding between characters. FIG. 7 is a diagram illustrating the operation when expanding the ruled line pattern between lines. 2... Document memory, 4... Printing result, 6... Graphic memory, 8... External character pattern creation means, It)... Ruled line external character code identification means, 12... Ruled line external character printing means , CPU...microprocessor, ROM...read-only memory, KB...keyboard, CRT...cathode ray tube, 111SK...auxiliary storage device, PRT...printer, RAM...random Φ Access Φ memory, ccRoM
... Character generator, 60... Ruled line external character pattern. B... Blank length 70... Document data, 72... Line outside character pattern, 74... Extension pattern. 76...Line spacing expansion output image. Applicant Canon Co., Ltd. Figure 2 Figure 3 Nono (JO ([ Figure 5

Claims (1)

【特許請求の範囲】 外字パターンを作成する手段と、FI:J r’+己外
字ノくターンの一部を罫線情報として識別する手段と。 8該外字パターンか罫線情報である場合にCよ、所定の
罫線処理を行うことにより、所q4の1杉状を崩する〕
!f線を印刷する印刷手段とを備えたことを4寺徴とす
る文字処理装置。 (以下、余白)
[Scope of Claims] Means for creating a private character pattern; and means for identifying a part of FI:J r'+own private character turn as ruled line information. 8 If it is the external character pattern or ruled line information, C, by performing the prescribed ruled line processing, break the 1 cedar shape of location q4]
! A character processing device having four features: a printing means for printing an f-line. (Hereafter, margin)
JP58216063A 1983-11-18 1983-11-18 Pattern output method Expired - Lifetime JPH0630927B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58216063A JPH0630927B2 (en) 1983-11-18 1983-11-18 Pattern output method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58216063A JPH0630927B2 (en) 1983-11-18 1983-11-18 Pattern output method

Publications (2)

Publication Number Publication Date
JPS60109888A true JPS60109888A (en) 1985-06-15
JPH0630927B2 JPH0630927B2 (en) 1994-04-27

Family

ID=16682692

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58216063A Expired - Lifetime JPH0630927B2 (en) 1983-11-18 1983-11-18 Pattern output method

Country Status (1)

Country Link
JP (1) JPH0630927B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435482A (en) * 1987-07-30 1989-02-06 Toshiba Corp Document generator
JPH01217543A (en) * 1988-02-25 1989-08-31 Toshiba Corp Document preparing device
JPH0922408A (en) * 1996-06-21 1997-01-21 Seiko Epson Corp Rule production device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5818780A (en) * 1981-07-23 1983-02-03 Sharp Corp Output device for displaying or recording graphic pattern
JPS5839331A (en) * 1981-09-02 1983-03-08 Ricoh Co Ltd Character pattern input system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5818780A (en) * 1981-07-23 1983-02-03 Sharp Corp Output device for displaying or recording graphic pattern
JPS5839331A (en) * 1981-09-02 1983-03-08 Ricoh Co Ltd Character pattern input system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6435482A (en) * 1987-07-30 1989-02-06 Toshiba Corp Document generator
JPH01217543A (en) * 1988-02-25 1989-08-31 Toshiba Corp Document preparing device
JPH0922408A (en) * 1996-06-21 1997-01-21 Seiko Epson Corp Rule production device

Also Published As

Publication number Publication date
JPH0630927B2 (en) 1994-04-27

Similar Documents

Publication Publication Date Title
JPH0464314B2 (en)
JPS60109888A (en) Character processor
JP2845380B2 (en) Printing apparatus and control method thereof
JPH02280195A (en) Character generator
JP2650324B2 (en) Multi-value character font generation system
JPH03281362A (en) Printer
JPS5931752B2 (en) printing device
JP2771629B2 (en) Character processor
JP3341048B2 (en) Document printing device
JP2813191B2 (en) Typeface automatic conversion method
JP2905482B2 (en) Information processing device
JPS63242561A (en) Font reducing system
JP2745546B2 (en) Printer device
JP2910183B2 (en) Character processor
JPS62208090A (en) Image processor
JPS6189861A (en) Printing controller
JPH0583384B2 (en)
JP2884862B2 (en) Data processing device
JPH0687249A (en) Apparatus for printing address
JPH06274150A (en) Document display method
JPH01229666A (en) Printer
JPH04120594A (en) Data converter
JPS637963A (en) Printing apparatus
JPS63225853A (en) Document producing device
JPS60109887A (en) Character processor