JPH064343B2 - Pattern output method - Google Patents
Pattern output methodInfo
- Publication number
- JPH064343B2 JPH064343B2 JP58218122A JP21812283A JPH064343B2 JP H064343 B2 JPH064343 B2 JP H064343B2 JP 58218122 A JP58218122 A JP 58218122A JP 21812283 A JP21812283 A JP 21812283A JP H064343 B2 JPH064343 B2 JP H064343B2
- Authority
- JP
- Japan
- Prior art keywords
- pattern
- external character
- halftone
- character
- shaded
- 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
Links
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Dot-Matrix Printers And Others (AREA)
- Record Information Processing For Printing (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、外字パターン作成手段を用いて作成される様
々な形態の外字パターンを登録できる装置におけるパタ
ーン出力方法に関するものである。Description: TECHNICAL FIELD The present invention relates to a pattern output method in an apparatus capable of registering various forms of external character patterns created by using external character pattern creating means.
[従来技術] 従来、網かけパターンを出力する装置では、第1図に示
す様に文書メモリ1とグラフィックメモリ2を別個に備
えていた。文書用メモリ1は文字を格納するための領域
であり、JISC6226等の文字コードの形で文字を
保持している。プリンタ等により文字を印字する場合に
は、各文字コードに対応する文字フォントをキャラクタ
ジェネレータ4により取り出して、1行分または1頁分
のドットイメージを印字バッフア5に作成した後プリン
タ6に出力する。[Prior Art] Conventionally, a device for outputting a halftone pattern has a document memory 1 and a graphic memory 2 separately as shown in FIG. The document memory 1 is an area for storing characters, and holds characters in the form of character codes such as JISC6226. When a character is printed by a printer or the like, a character font corresponding to each character code is taken out by the character generator 4, a dot image for one line or one page is created in the print buffer 5, and then output to the printer 6. .
一方、グラフィックメモリ2はドットイメージのパター
ンを保持するための領域である。網かけ印刷を行う場合
には、キャラクタジェネレータまたはプログラム(パタ
ーン記憶手段)に内蔵されている一定の大きさ(通常は
文字パターンと同一の大きさ)の網かけフォントFをグ
ラフィックメモリ2上の指定された範囲に拡張し、これ
を印字バッフア5の上で文字パターンに重ね合わせ、そ
の重ね合わせたパターンをプリンタ6へ出力していた。On the other hand, the graphic memory 2 is an area for holding a dot image pattern. When performing halftone printing, a halftone font F having a fixed size (usually the same size as a character pattern) built in a character generator or a program (pattern storage means) is designated on the graphic memory 2. The range was extended to the specified range, this was superposed on the character pattern on the print buffer 5, and the superposed pattern was output to the printer 6.
[発明が解決しようとする課題] しかし、前述した従来の装置においては、網かけパター
ンは、パターン記憶手段に記憶されているパターンに依
存して固定されており、任意のパターンの網かけを印刷
出力することができないという問題があった。[Problems to be Solved by the Invention] However, in the above-described conventional apparatus, the halftone pattern is fixed depending on the pattern stored in the pattern storage means, and the halftone pattern of any pattern is printed. There was a problem that it could not be output.
[課題を解決するための手段] 本発明は上述の課題を解決することを目的としてなされ
たもので、外字パターン作成手段を用いて作成される様
々な形態の外字パターンを登録できる装置におけるパタ
ーン出力方法であって、前記作成される様々な形態の外
字パターンを一文字単位の網かけパターンとして他の外
字パターンと識別可能にするために、前記網かけパター
ンとしての外字パターンとその識別情報を共にメモリに
記憶させ、指定された網かけパターンを出力するため
に、指定された領域内に存在する文字数及び文字ピッチ
から、前記指定された網かけパターンを出力する領域の
長さを導出し、前記指定された網かけパターンの識別情
報に対応する前記メモリ内の網かけパターンとしての外
字パターンを、前記導出された前記長さ分つなぎ合わせ
て連続した網かけパターンを出力することを特徴とす
る。[Means for Solving the Problems] The present invention has been made for the purpose of solving the above problems, and pattern output in an apparatus capable of registering various forms of external character patterns created by using the external character pattern creating means. In order to make it possible to distinguish the created external character patterns of various forms from other external character patterns as a one-character mesh pattern, both the external character pattern as the mesh pattern and its identification information are stored in a memory. In order to output the specified halftone pattern, the length of the area for outputting the specified halftone pattern is derived from the number of characters and the character pitch existing in the specified area, and the specified halftone pattern is output. An external character pattern as a shaded pattern in the memory corresponding to the identified information of the shaded pattern is divided by the derived length. It is characterized by outputting a continuous halftone pattern by stitching together.
[作用] 以上の構成において、指定された網かけパターンを出力
するために、指定された領域内に存在する文字数及び文
字ピッチから指定された網かけパターンを出力する領域
の長さを導出し、指定された網かけパターンの識別情報
に対応するメモリ内の網かけパターンとしての外字パタ
ーンを、導出された長さ分つなぎ合わせて連続した網か
けパターンを出力する。[Operation] In the above configuration, in order to output the specified halftone pattern, the length of the area for outputting the specified halftone pattern is derived from the number of characters existing in the specified area and the character pitch, The external character pattern as a halftone dot pattern in the memory corresponding to the specified halftone dot pattern identification information is connected by the derived length to output a continuous halftone dot pattern.
[実施例] 以下に、図面を参照して本発明を詳細に説明する。[Examples] Hereinafter, the present invention will be described in detail with reference to the drawings.
第2図は本発明の全体構成を示し、ここで、外字パター
ン作成手段により網掛け外字パターンが作成され、文書
入力手段により文書の入力が行われる。外字コード入力
手段により、入力された文書中の網掛け領域の指定およ
び網掛け外字パターンの指定が行われる。網掛外字コー
ド識別手段により文書中の網掛外字コードが識別される
と、網掛印刷処理手段により指定された文書中の領域に
対して指定された網掛外字パターンによる網掛印刷処理
が行われる。FIG. 2 shows the overall configuration of the present invention, in which a meshed external character pattern is created by the external character pattern creating means and a document is input by the document inputting means. The external character code input means specifies a shaded area and a shaded external character pattern in the input document. When the shaded external character code identifying means identifies the shaded external character code in the document, the halftone printing processing is performed on the area in the document designated by the halftone printing processing means by the designated halftone external character pattern.
第3図は本発明の一実施例の構成を示す。図において、
CPUはマイクロプロセッサであり、演算,論理判断等を
行い、また後述の各部に対して制御信号および各種デー
タの転送を行う。ROMは読み出し専用メモリであり、後
述の作動説明のような制御手順のプログラムおよび固定
データが格納される。KBはキーボードであり、外字パタ
ーンの入力,文書データの入力,印字の起動指令の入力
等を行う。CRTは陰極線管表示器等の表示装置であり、
外字作成時のパターンの表示,入力された文書の表示等
を行う。DISKは補助記憶装置であり、入力された文書や
作成された外字パターンを保存するために使用される。
PRTはプリンタであり、入力された文書の印刷を行う。R
AMはランダムアクセスメモリであり、入力された文書の
一時記憶SB,外字作成のための作業領域WB,およびプリ
ンタPRTに出力するドットイメージを格納する印字バッ
ファPBとして使用される。CGROMはキャラクタジェネレ
ータであり、文字フォントを格納する。CBはコントロー
ルバス、ABはアドレスバスおよびDBはデータバスであ
り、これらのバスを介してそれぞれ制御信号,アドレス
信号およびデータが転送される。FIG. 3 shows the configuration of an embodiment of the present invention. In the figure,
The CPU is a microprocessor that performs arithmetic operations, logical judgments, etc., and transfers control signals and various data to each unit described later. The ROM is a read-only memory, and stores a program of control procedures and fixed data as described later in operation. KB is a keyboard for inputting external character patterns, inputting document data, inputting print start commands, and the like. CRT is a display device such as a cathode ray tube display,
It displays patterns when creating external characters and displays input documents. DISK is an auxiliary storage device, and is used to store the input document and the created external character pattern.
The PRT is a printer and prints the input document. R
AM is a random access memory, and is used as a temporary storage SB for an input document, a work area WB for creating external characters, and a print buffer PB for storing a dot image to be output to the printer PRT. CGROM is a character generator that stores character fonts. CB is a control bus, AB is an address bus, and DB is a data bus. Control signals, address signals, and data are transferred via these buses, respectively.
ここで、本実施例においては、外字コードを互いに共通
部分は無いように通常外字と網掛外字の2つに分けるも
のとする。すなわち、例えば、 外字コード=1〜376:通常外字 外字コード=501〜594:網掛外字 とし、各々外字フォントを作成する。Here, in this embodiment, the external character code is divided into two, that is, a normal external character and a shaded external character so that there is no common part. That is, for example, the external character code = 1 to 376: normal external character external character code = 501 to 594: shaded external character, and each external character font is created.
次に、第4図を参照して、上述のように構成した本実施
例における動作を説明する。なお、文書の入力,および
外字パターンの入力方法については公知であるので、そ
の説明は省略する。まず、第4図(A)に示すように、文
書入力時に、網掛けを行いたい文字列を両側に作成した
網掛外字コードのうちの所望のコードCを挿入する。但
し、左右は同一コードでなければならない。このように
して、網掛けを行う範囲が規定され、また、網掛外字パ
ターンが特定される。Next, with reference to FIG. 4, the operation in the present embodiment configured as described above will be described. Since the method of inputting a document and the method of inputting an external character pattern are well known, the description thereof will be omitted. First, as shown in FIG. 4 (A), when a document is input, a desired code C of the shaded external character codes created on both sides of a character string to be shaded is inserted. However, the left and right must have the same code. In this way, the range to be shaded is defined, and the shaded external character pattern is specified.
次に、印刷時には、網掛け外字で囲まれた領域内に存在
する文字数および文字ピッチから、印刷時の網掛けの長
さnを計算する(第4図(B)参照)。Next, at the time of printing, the shaded length n at the time of printing is calculated from the number of characters and the character pitch existing in the area surrounded by the shaded external characters (see FIG. 4 (B)).
次に、算出された網掛けの長さnだけ、文字フォントCG
ROMよりフォントを呼び出し、網掛けフォントFを継ぎ
合せ、網掛パターンを印字バッファ上に作成する(第4
図(C)参照)。ここで、指定された網掛けフォントFを
継ぎ合せたのみでは、網掛け領域に端数部分Δnが現れ
る場合には、その長さに相当する網掛けフォントパター
ンを作成した網掛け外字パターンの中から選び出して、
その端数部分Δnを継なぐ。Next, for the calculated shaded length n, the character font CG
The font is called from the ROM, the shaded font F is spliced, and the shaded pattern is created in the print buffer (4th
(See Figure (C)). Here, when the fractional part Δn appears in the shaded area only by splicing the specified shaded fonts F, from among the shaded external character patterns created the shaded font pattern corresponding to the length. Pick out,
The fractional part Δn is continued.
この後、第4図(D)に示すように、印字バツファ上で網
掛外字フォントと文字フォントとを重ね合せる。このよ
うにして得られた印字バッファの内容をプリンタにより
出力して、網掛け印刷を実現する。Thereafter, as shown in FIG. 4 (D), the shaded external character font and the character font are superposed on the print buffer. The contents of the print buffer thus obtained are output by a printer to realize halftone printing.
なお、上述の実施例においては、文字の部分と網掛けパ
ターンとは別の行に分けて印刷してもよい。In the above-described embodiment, the character portion and the halftone dot pattern may be printed on separate lines.
[効果] 以上説明した様に本発明によれば、指定された網かけパ
ターンを出力するために、指定された領域内に存在する
文字数及び文字ピッチから指定された網かけパターンを
出力する領域の長さを導出し、指定された網かけパター
ンの識別情報に対応するメモリ内の網かけパターンとし
ての外字パターンを、導出された長さ分つなぎ合わせて
連続した網かけパターンを出力することにより、ROM
等から成るパターン記憶手段に記憶されている固定的な
網かけパターン以外の任意な形態の網かけパターンを高
品位に出力することができる。[Effect] As described above, according to the present invention, in order to output the designated halftone pattern, the number of characters existing in the designated area and the character pitch of the designated area Derivation of the length, the external character pattern as a halftone pattern in the memory corresponding to the identification information of the specified halftone pattern, by connecting the derived length, by outputting a continuous halftone pattern, ROM
It is possible to output a high-quality shaded pattern of any form other than the fixed shaded pattern stored in the pattern storage means including the above.
第1図は従来装置の網かけ印刷処理を説明した図、 第2図は本発明の全体構成を示す図、 第3図は本発明の一実施例を示すブロック図、 第4図(A)〜(D)は第3図の装置の網かけ印刷処理を説明
した線図である。 CPU…マイクロプロセッサ、 ROM,RAM…メモリ、 KB…キーボード、 CRT…表示装置、 DISK…補助記憶装置、 PRT…プリンタ、 CGROM…キャラクタジェネレータ、 CB,AB,DB…バス、 F…網かけフォント、 C…網掛外字コード。FIG. 1 is a diagram for explaining a halftone printing process of a conventional apparatus, FIG. 2 is a diagram showing an overall configuration of the present invention, FIG. 3 is a block diagram showing an embodiment of the present invention, and FIG. 4 (A). (D) is a diagram explaining the halftone printing process of the apparatus of FIG. CPU ... Microprocessor, ROM, RAM ... Memory, KB ... Keyboard, CRT ... Display device, DISK ... Auxiliary storage device, PRT ... Printer, CGROM ... Character generator, CB, AB, DB ... Bus, F ... Shaded font, C ... Shaded Gaiji code.
Claims (1)
様々な形態の外字パターンを登録できる装置におけるパ
ターン出力方法であって、 前記作成される様々な形態の外字パターンを一文字単位
の網かけパターンとして他の外字パターンと識別可能に
するために、前記網かけパターンとしての外字パターン
とその識別情報を共にメモリに記憶させ、 指定された網かけパターンを出力するために、指定され
た領域内に存在する文字数及び文字ピッチから、前記指
定された網かけパターンを出力する領域の長さを導出
し、 前記指定された網かけパターンの識別情報に対応する前
記メモリ内の網かけパターンを、前記導出された前記長
さ分つなぎ合わせて連続した網かけパターンを出力する
パターン出力方法。1. A pattern output method in a device capable of registering various forms of external character patterns created by using the external character pattern creating means, wherein the created external character patterns of various forms are shaded in character units. In order to be distinguishable from other external character patterns, the external character pattern as the halftone dot pattern and its identification information are stored together in the memory, and in order to output the specified halftone dot pattern, within the specified area. From the number of existing characters and the character pitch, derive the length of the area for outputting the designated halftone pattern, and derive the halftone pattern in the memory corresponding to the identification information of the designated halftone pattern, A method of outputting a continuous halftone pattern by connecting the above-mentioned lengths.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58218122A JPH064343B2 (en) | 1983-11-19 | 1983-11-19 | Pattern output method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58218122A JPH064343B2 (en) | 1983-11-19 | 1983-11-19 | Pattern output method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS60109887A JPS60109887A (en) | 1985-06-15 |
| JPH064343B2 true JPH064343B2 (en) | 1994-01-19 |
Family
ID=16714970
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58218122A Expired - Lifetime JPH064343B2 (en) | 1983-11-19 | 1983-11-19 | Pattern output method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH064343B2 (en) |
Family Cites Families (3)
| 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 method |
| JPS6010392A (en) * | 1983-06-30 | 1985-01-19 | Fuji Xerox Co Ltd | Meshed pattern generating device |
-
1983
- 1983-11-19 JP JP58218122A patent/JPH064343B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS60109887A (en) | 1985-06-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0552274B2 (en) | ||
| JP2710120B2 (en) | Document processing method | |
| JPH064343B2 (en) | Pattern output method | |
| JPH0966643A (en) | Print control device | |
| JPH0630927B2 (en) | Pattern output method | |
| US4835529A (en) | Output display apparatus | |
| JPH03213367A (en) | Multicolor printer | |
| JPH0522933B2 (en) | ||
| JPH0469917B2 (en) | ||
| JPS59201870A (en) | Printer | |
| JP2612402B2 (en) | Display control method | |
| US5162993A (en) | Word processing apparatus | |
| JP3254902B2 (en) | Shading pattern creation device | |
| JPH0570856B2 (en) | ||
| JP2647510B2 (en) | Character processing apparatus and method | |
| JP2884862B2 (en) | Data processing device | |
| JPH08174951A (en) | Information processing apparatus and information processing method | |
| JPS62208090A (en) | Image processing device | |
| JP2541221B2 (en) | Decorative pattern output method | |
| JPH02238965A (en) | recording device | |
| JPH0310512B2 (en) | ||
| JPS62208177A (en) | Image processing device | |
| JPH0125073B2 (en) | ||
| JPS645309B2 (en) | ||
| JPH0289164A (en) | character processing device |