JP2509602B2 - Print control device - Google Patents

Print control device

Info

Publication number
JP2509602B2
JP2509602B2 JP62041538A JP4153887A JP2509602B2 JP 2509602 B2 JP2509602 B2 JP 2509602B2 JP 62041538 A JP62041538 A JP 62041538A JP 4153887 A JP4153887 A JP 4153887A JP 2509602 B2 JP2509602 B2 JP 2509602B2
Authority
JP
Japan
Prior art keywords
pattern
printing
shaded
character
print
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
Application number
JP62041538A
Other languages
Japanese (ja)
Other versions
JPS63209849A (en
Inventor
雄次 浦本
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 JP62041538A priority Critical patent/JP2509602B2/en
Publication of JPS63209849A publication Critical patent/JPS63209849A/en
Application granted granted Critical
Publication of JP2509602B2 publication Critical patent/JP2509602B2/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
    • B41J2/00Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
    • B41J2/52Arrangement for printing a discrete number of tones, not covered by group B41J2/205, e.g. applicable to two or more kinds of printing or marking process

Landscapes

  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、文字列に網掛けを施して印刷させる印刷制
御装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to a print control device for printing a character string by shading.

[従来の技術] 近年、ワードプロセツサ等の文書情報処理装置におい
ては、多機能化と低価格化が進み、あらゆる業務又は目
的の文章を作成し、印刷できるようになつた。中でも、
印字媒体(用紙)への印字方式として、第6図(A)に
示すような通常印字の他、第6図(B)に示すような回
転印字機能を利用できるものがある。この回転印字機能
によれば、プリンタの最大印字幅がA4サイズの縦幅しか
なくても、第6図(B)のようにA4サイズの横幅に相当
する印字ができる。従つて、画面上では日程表等を横長
に作成することができ、これを縦長の用紙に印刷できる
等、その他にもユーザの色々な要求を満たし得る大変便
利な機能である。
[Prior Art] In recent years, in a document information processing apparatus such as a word processor, multifunctionality and cost reduction have advanced, and it has become possible to create and print sentences for any business or purpose. Above all,
As a printing method on a printing medium (paper), there is a printing method that can use the rotary printing function as shown in FIG. 6B in addition to the normal printing as shown in FIG. 6A. According to this rotary printing function, even if the maximum printing width of the printer is only the vertical width of A4 size, printing corresponding to the horizontal width of A4 size can be performed as shown in FIG. 6 (B). Therefore, it is a very convenient function that can meet various demands of the user, such as being able to create a horizontally long schedule on the screen and printing this on a vertically long sheet.

しかし、従来のこの種の装置では、第3図(A)のよ
うな通常印字に伴なつては行なえるが、第6図(B)の
ような回転印字に伴なつては行なえないという例外的機
能があり、ユーザに対する親和性という点でマイナスと
なつていた。
However, the conventional apparatus of this type can perform normal printing as shown in FIG. 3 (A) but cannot perform rotation printing as shown in FIG. 6 (B). There is a functional function, and it is negative in terms of affinity for users.

例えば、所定の文字を強調する機能に網かけ機能とい
うものがあり、強調したい文字列に対して文字間も含め
て連続する網かけパターンを合成出力するものである。
For example, a function of emphasizing a predetermined character is called a mesh function, and a continuous mesh pattern including characters is synthesized and output for a character string to be emphasized.

しかし、従来は、例えば第4図(B)に示す様な波線
パターンを合成すると、文字とギヤツプ間又はギヤツプ
と文字間等で波線パターンが不連続になるという欠点が
あつた。
However, conventionally, for example, when a wavy line pattern as shown in FIG. 4 (B) is combined, there is a drawback that the wavy line pattern becomes discontinuous between characters and gears or between gears and characters.

[発明が解決しようとする問題点] 本発明は上記従来例に鑑みてなされたもので、印刷ヘ
ッドの走査方向に直交する連続した網掛けを施した文字
列を印刷できる印刷制御装置を提供することを目的とす
る。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-described conventional example, and provides a print control apparatus capable of printing a continuous shaded character string orthogonal to the scanning direction of the print head. The purpose is to

[課題を解決するための手段] 上記目的を達成するために本発明の印刷制御装置は以
下のような構成を備える。即ち、 所定幅を有する印刷ヘッドを走査させることにより所
定幅単位で印刷する印刷装置に、前記印刷ヘッドの走査
方向に対して直交する方向に複数の文字が並んだ文字列
に網掛けを施して印刷させる印刷制御装置であって、 文字パターン及び網掛けパターンを記憶する記憶手段
と、 前回の走査での網掛けパターンと連続させて次の走査
で網掛けパターンを印刷させるために前記網掛けパター
ンの読み出し開始位置を可変に設定する設定手段と、 前記設定手段により設定された読み出し開始位置に基
づき、前記記憶手段に記憶される網掛けパターンを読み
出し、前記文字パターンと合成し、前記印刷ヘッドを複
数回走査させ印刷させることにより走査方向に直交する
連続した網掛けを施した文字列を印刷させる手段とを具
備する。
[Means for Solving the Problems] In order to achieve the above object, the print control apparatus of the present invention has the following configuration. That is, in a printing device that prints in a predetermined width unit by scanning a print head having a predetermined width, a character string in which a plurality of characters are arranged in a direction orthogonal to the scanning direction of the print head is shaded. A print control device for printing, comprising: a storage unit for storing a character pattern and a mesh pattern; and the mesh pattern for printing the mesh pattern in the next scan continuously from the mesh pattern in the previous scan. Setting means for variably setting the reading start position of the, and the hatched pattern stored in the storage means is read based on the reading start position set by the setting means, combined with the character pattern, and the print head is And a means for printing a character string which is shaded continuously and which is orthogonal to the scanning direction by scanning and printing a plurality of times.

[作用] 以上の構成において、読み出し開始位置に基づき、記
憶手段に記憶される網掛けパターンを読み出し、文字パ
ターンと合成し、印刷ヘッドを複数回走査させ印刷させ
ることにより、走査方向に直交する連続した網掛けを施
した文字列を印刷させることが可能になる。
[Operation] In the above-described configuration, the shaded pattern stored in the storage unit is read based on the read start position, is combined with the character pattern, and the print head is made to scan a plurality of times for printing, thereby making it possible to perform continuous printing orthogonal to the scanning direction. It is possible to print a character string that is shaded.

[実施例の説明] 以下、添付図面に従つて本発明の実施例を詳細に説明
する。
[Description of Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は本発明による実施例の文書情報処理装置(ワ
ードプロセツサ)のブロツク構成図である。図におい
て、1はセントラルプロセツシングユニツト(CPU)で
あり、装置の主制御を行う。2はリードオンリメモリ
(ROM)であり、例えば第2図(A)及び(B)の制御
プログラム21、文字のフオントパターン22の他、図示し
ないが、漢字変換のための辞書、各種制御のためのテー
ブル類等を格納している。
FIG. 1 is a block diagram of a document information processing apparatus (word processor) according to an embodiment of the present invention. In the figure, reference numeral 1 is a central processing unit (CPU), which performs main control of the apparatus. A read-only memory (ROM) 2 includes, for example, a control program 21 in FIGS. 2A and 2B, a font pattern 22 for characters, a dictionary for converting kanji characters, and various controls (not shown). It stores the tables, etc.

3はキーボード(KB)であり、文書情報の作成編集、
回転印字に係る指令情報等を入力する。該キーボード3
は、文字を入力する文字キーと、漢字変換を指令する変
換キーと、文書を編集するための編集キーと、カーソル
を移動させるカーソルキー等の他、印字の開始、停止及
び再開を指令するプリントキー(PK)32と、印字又は回
転印字の印字形式及び回転印字開始すべき先頭頁番号等
を指定するための印字書式キー(PSK)31と、1頁の桁
数や行数等の印字フオーマツトを指定するための書式設
定キー(SSK)33と、網かけモードを指示する網かけキ
ー(AMK)34等を含む。
3 is a keyboard (KB) for creating and editing document information,
Input command information, etc. related to rotation printing. The keyboard 3
Is a character key for inputting characters, a conversion key for instructing Kanji conversion, an edit key for editing a document, a cursor key for moving a cursor, a print key for instructing start, stop and restart of printing. Key (PK) 32, print format for printing or rotary printing, and print format key (PSK) 31 for specifying the start page number to start rotary printing, etc., and printing format such as the number of digits and lines per page. A format setting key (SSK) 33 for designating, and a meshing key (AMK) 34 for designating a meshing mode are included.

4は、例えば液晶表示器(LCD)で構成した表示部(D
ISP)であり、作成中の文書情報又は作成した文書情報
の一部を表示したり、ユーザに対するメツセージ等を表
示する。
4 is a display unit (D) composed of a liquid crystal display (LCD), for example.
It is an ISP) and displays the document information being created or a part of the created document information, and displays messages to the user.

5は、例えば熱転写方式のプリンタ(PRN)であり、
縦1列に並べたサーマル素子群を備え、該サーマル素子
群が文字パターンに応じて発熱することにより、サーマ
ル素子群に対向した熱転写テープ上のインクを用紙面上
に塗布し、印字すべき文字を印字する。該プリンタ5
は、32ドツト分のサーマル素子群(TH)を有するサーマ
ルヘツド51と、該サーマルヘツド51をドライブするヘツ
ドドライバ(HD)52と、サーマルヘツドキヤリアを用紙
の行方向に移動させるキヤリアモータ(CM)53と、該キ
ヤリアモータ53をドライブするキヤリアモータドライバ
(CMD)54と、用紙を列方向に繰り上げるフイードモー
タ(FM)55と、該フイードモータ55をドライブするフイ
ードモータドライバ(FMD)56と、サーマルヘツド51を
紙面に接触させたり遠ざけたりさせるアツプダウン機構
57と、該アツプダウン機構57をドライブするアツプダウ
ンドライバ(UDD)58と、サーマルヘツドキヤリアのホ
ームポジシヨン位置復帰を検出するセンサ(HP)59等を
含む。尚、センサ(HP)59はサーマルヘツドキヤリアの
位置ずれが生じた場合に、該位置ずれを直す場合にも使
用される。
5 is, for example, a thermal transfer printer (PRN),
Characters to be printed are provided by providing thermal element groups arranged in a vertical line, and the thermal element groups generate heat in accordance with a character pattern to apply ink on a thermal transfer tape facing the thermal element groups onto a paper surface to print. Is printed. The printer 5
Is a thermal head 51 having a thermal element group (TH) for 32 dots, a head driver (HD) 52 for driving the thermal head 51, and a carrier motor (CM) for moving the thermal head carrier in the row direction of the paper. 53, a carrier motor driver (CMD) 54 that drives the carrier motor 53, a feed motor (FM) 55 that advances the paper in the column direction, a feed motor driver (FMD) 56 that drives the feed motor 55, and a thermal head. An up-down mechanism that brings the 51 into and out of contact with the paper
57, an up-down driver (UDD) 58 for driving the up-down mechanism 57, a sensor (HP) 59 for detecting the return of the home position of the thermal head carrier, and the like. The sensor (HP) 59 is also used to correct the positional deviation of the thermal head carrier when the positional deviation occurs.

6はCPU1の指示でプリンタ5を制御するプリンタコン
トロール(PRNC)である。
A printer control (PRNC) 6 controls the printer 5 according to an instruction from the CPU 1.

7は読み書き可能なランダムアクセスメモリ(RAM)
であり、作成中の又は作成した文書コード(移動句の情
報、タブ情報、網かけコード等の制御コードを含む)を
記憶するコードバツフア(CDBF)71と、前記コードバツ
フア71の文書コードから順次列コードを読み出して、そ
のコード内容をROM2の圧縮したフオント情報22に参照
し、各列コードをこれに対応する文字パターンに変換
し、更にこれを回転させた32×32ドツトイメージを展開
記憶するフオントバツフア(FNTBF)72と、前記列コー
ドのうち、網かけコードをこれに対応する網かけパター
ンに変換し、更にこれを回転させた32×32ドツトイメー
ジを展開記憶する網かけフオントバツフア(AMFNTBF)7
5と、第2図のプログラムで使用する各種のレジスタ、
カウンタ、フラグ類を格納するワーキングエリア(WK
A)73を有すると共に、ユーザ自身が登録管理するユー
ザ辞書(UJ)74等のエリアを有している。8はCPU1の共
通バスである。
7 is a readable / writable random access memory (RAM)
A code buffer (CDBF) 71 for storing a document code which is being created or has been created (including control codes such as movement phrase information, tab information, and shaded code), and a sequence code from the document code of the code buffer 71. To read the code contents, refer to the compressed font information 22 of the ROM2, convert each column code into a corresponding character pattern, and further rotate this to expand and store a 32x32 dot image font buffer ( FNTBF) 72, and among the above-mentioned column codes, a halftone dot code buffer (AMFNTBF) 7 which converts a halftone dot code into a corresponding halftone dot pattern and further develops and stores a rotated 32 × 32 dot image.
5 and various registers used in the program of Fig. 2,
Working area for storing counters and flags (WK
A) 73 as well as areas such as a user dictionary (UJ) 74 registered and managed by the user. 8 is a common bus of CPU1.

第5図はコードバツフア71の内容を模式的に表わした
図である。図において、各文字は4バイトで構成され、
その中に文字コード及び制御コード(網かけ指定等)を
含む。ここでは1行の書式桁数を40としており、行方向
に編集された文書情報である。
FIG. 5 is a diagram schematically showing the contents of the code buffer 71. In the figure, each character consists of 4 bytes,
It includes character codes and control codes (halftone dot designation, etc.). Here, the number of format digits in one line is 40, and the document information is edited in the line direction.

第2図(A)及び(B)は実施例の網かけ回転印字制
御手順を示すフローチヤートであり、第3図は連続する
“今日”という2文字を回転印字する場合の動作を説明
するための図である。
2 (A) and 2 (B) are flow charts showing a halftone rotary printing control procedure of the embodiment, and FIG. 3 is a flow chart for explaining the operation when two consecutive characters "Kyou" are rotationally printed. FIG.

〈レジスタ、カウンタの説明〉 第2図(A)及び(B)において、SKは回転印字すべ
き桁数(複数行の場合は列数)の設定値を記憶するレジ
スタ、Nは回転印字すべき桁数(列数)をカウントする
列カウンタ、FSLはAMFNTBF75から読み出すべきフオント
(網かけパターン)のスタート行を保持するレジスタ、
FELは同じくフオントのエンド行を保持するレジスタで
ある。gbpはGBPの内容を保持するレジスタであり、GBP
は設定した行間ピツチに応じて文字列が紙面上で均等に
割り付けられるように決められた文字間のギヤツプ値で
ある。
<Explanation of Registers and Counters> In FIGS. 2A and 2B, SK is a register for storing the set value of the number of digits to be rotated and printed (the number of columns in the case of plural lines), and N is to be rotationally printed. A column counter that counts the number of digits (number of columns), FSL is a register that holds the start row of the font (shaded pattern) to be read from AMFNTBF75,
FEL is also a register that holds the end row of fonts. gbp is a register that holds the contents of GBP.
Is a gap value between the characters determined so that the character strings are evenly allocated on the paper in accordance with the set line spacing pitch.

〈初期設定〉 第2図(A)において、ステツプS1では列カウンタN
に“1"をセツトし、ステツプS2ではFSLに“0"をセツト
し、ステツプS3ではFELに“31"をセツトする。ステツプ
S4では網かけコードに対応する第4図(B)のような網
かけパターンをROM2から読み出し、これを第4図(D)
に示す如く回転してAMFNTBF75に格納する。実施例の網
かけパターンはサイクリツクに構成されており、これを
工夫してつなげることにより、どのような回転印字を行
つても周期性の網かけ模様が得られる。
<Initial setting> In FIG. 2A, the column counter N is set in step S1.
Set "1" to, set SSL to "0" in step S2, and set FEL to "31" in step S3. Step
In S4, the shaded pattern as shown in FIG. 4 (B) corresponding to the shaded code is read from ROM2 and is read in FIG. 4 (D).
Rotate as shown in and store in AMFNTBF75. The halftone dot pattern of the embodiment is formed in a cyclic shape. By devising and linking the halftone dot pattern, a periodic halftone dot pattern can be obtained no matter what rotary printing is performed.

〈網かけ文字の回転印字〉 ステツプS5では列カウンタNが指す(Nは相対番地)
文字コードに対応する文字パターンをROM2から読み出し
(例えば第4図(A))、これを第4図(C)に示す如
く回転してFNTBF72に格納する。ステツプS6ではAMFNTBF
75の内容のうちSFLが指す行(ドツト行)から第31行目
までの網かけパターンを読み出し、これをFNTBF72の先
頭行(ドツト行)から重ねる。この場合、重ねるとは論
理和をとることである。FSLの内容は“0"又は任意の数
値をとり得るが、最初はFSLの内容が“0"なので、ステ
ツプS6の処理のみで第4図(E)に示す如く第4図
(C)と(D)を重ねたものになる。ステツプS7ではFS
Lの内容が“0"か否かの判別を行う。もし“0"なら網か
け文字のフルパターンは既に形成されている。そこで、
ステツプS9に進み、FNTBF72の内容を印字する。また
“0"でないときは網かけ形成途中段階である。そこで、
ステツプS8でAMFNTBF75のうちの第0行からFELの内容が
指す行までの網かけパターンをFNTBF72の残りに重ね、
ステツプS9でFNTBF72の内容を印字する。これが、網か
け文字の回転印字であり、第3図のエリアAP1で示され
る。ステツプS10では32ドツト分(1文字分)の紙送り
を実行する。ステツプS11ではGBPの内容をレジスタgbp
に転送し、ステツプS12ではレジスタgbpの内容が“32"
より大きいか否かの判別を行う。
<Rotating printing of shaded characters> In step S5, the column counter N points (N is a relative address)
A character pattern corresponding to the character code is read from the ROM 2 (for example, FIG. 4 (A)), rotated as shown in FIG. 4 (C), and stored in the FNTBF72. AMFNTBF for Step S6
Of the contents of 75, the shaded pattern from the line pointed to by SFL (dot line) to the 31st line is read, and this is overlaid from the first line (dot line) of FNTBF72. In this case, overlapping means taking a logical sum. The contents of FSL can be "0" or any numerical value, but since the contents of FSL are "0" at first, only the processing of step S6 is performed as shown in Fig. 4 (C) and (C) as shown in Fig. 4 (E). D) will be piled up. FS for step S7
It is determined whether the content of L is "0". If it is "0", the full pattern of shaded characters has already been formed. Therefore,
Proceed to step S9 to print the contents of FNTBF72. If it is not "0", it means that half-tone dot formation is in progress. Therefore,
In step S8, overlay the shaded pattern from the 0th line of AMFNTBF75 to the line indicated by the contents of FEL on the rest of FNTBF72,
Print the contents of FNTBF72 in step S9. This is the rotation printing of shaded characters, which is indicated by area AP1 in FIG. In step S10, the paper feed of 32 dots (one character) is executed. In step S11, the contents of GBP are registered in the register gbp
And the contents of register gbp are set to "32" in step S12.
It is determined whether or not it is larger.

〈字間ギヤツプが1文字より大きい場合の網かけパター
ンの回転印字〉 ステツプS12の判別で(gbp>32)を満足するときは1
文字以上の字間ギヤツプがあることを示しており、よつ
て網かけパターンを単純につなげられる。即ち、第3図
のエリアAP2を形成する段階である。処理はステツプS15
に進み、AMFNTBF75のうちFSLが指す行から第31行までの
網かけパターンをFNTBF72の先頭行から転送する。ここ
で、転送するとはFNTBF72の内容を網かけパターンで書
き替えることである。ステツプS16ではFSLの内容が“0"
か否かの判別を行い、もし“0"なら書き替えは終了して
いるのでステツプS18に進み、FNTBF72の内容を印字す
る。また、“0"でなければステツプS17でAMFNTBF75のう
ちの第0行からFELの指す行までの網かけパターンをFNT
BF72に転送し、任意の位相で始まる網かけパターンの1
周期分を完成し、ステツプS18でFNTBF72の内容を印字す
る。これが、字間ギヤツプが1文字より大きい場合の網
かけパターンの回転印字である。ステツプS19では32ド
ツト分の紙送りをする。第3図に示すように、エリアAP
1の網かけパターンとエリアAP2の網かけパターンは連続
している。ステツプS20ではレジスタgbpの内容から−32
を行い、ステツプS12に戻る。ステツプS12では再度レジ
スタgbpの内容が“32"より大きいか否かの判別を行い、
大きければ上記と同様の処理を行う。
<Rotation printing of halftone pattern when the gap between letters is larger than 1 character> 1 if the judgment of step S12 satisfies (gbp> 32)
It indicates that there is a gap between letters that is larger than the letters, so that it is possible to simply connect the shaded patterns. That is, this is the stage of forming the area AP2 in FIG. Processing is step S15
Then, the shaded pattern from the line pointed to by FSL to the 31st line of AMFNTBF75 is transferred from the first line of FNTBF72. Here, to transfer is to rewrite the contents of FNTBF72 with a halftone pattern. In step S16, the contents of FSL are "0"
If it is "0", the rewriting has been completed, so the flow advances to step S18 to print the contents of FNTBF72. If it is not "0", the shaded pattern from the 0th line of AMFNTBF75 to the line pointed to by FEL is FNT in step S17.
1 of the shaded pattern that is transferred to BF72 and starts with an arbitrary phase
Complete the cycle and print the contents of FNTBF72 in step S18. This is the rotary printing of the halftone pattern when the inter-character gear gap is larger than one character. In step S19, 32 dots of paper are fed. As shown in Figure 3, area AP
The shaded pattern of 1 and the shaded pattern of area AP2 are continuous. In step S20, −32 is set from the contents of register gbp.
And then return to step S12. In step S12, it is determined again whether the content of register gbp is larger than "32",
If it is larger, the same processing as above is performed.

〈字間ギヤツプが1文字より小さい場合の網かけパター
ンの回転印字〉 ステツプS12の判別でレジスタgbpの内容が32より大き
くないときは字間ギヤツプが1文字より小さい場合であ
る。この状態は文字印字の直後のエリアで生じる場合も
あれば、本実施例の説明の如く、第3図のエリアAP3で
生じる場合もある。本実施例の説明ではエリアAP3の大
きさを1文字の1/2として示したがこれに限らない、処
理は第2図(B)のステツプS13に進み、FELに(FSL+g
bp−1)の値を格納する。最初はFSL=0であり、FELは
第3図のエリアAP3の最後を指すことになる。ステツプS
14ではFELの内容が31より大きいか否かの判別を行う。
この時点では大きくないからステツプS22に進む。ステ
ツプS22ではレジスタFELとレジスタFSLの大小判別を行
う。この時点ではFEL>FSLであるから、ステツプS25でA
MFNTBF75のうちレジスタFSLが指す行からレジスタFELが
指す行までの網かけパターンをFNTBF72の先頭行から転
送する。これが第3図のエリアAP3を形成する段階であ
る。また、FEL>FSLでないときは、ステツプS23でAMFNT
BF75のうちレジスタFSLが指す行から第31行までの網か
けパターンをFNTBF72の先頭行から転送し、ステツプS24
ではAMFNTBF75の0行からFELが指す行までの網かけパタ
ーンをFNTBF72の続く行から転送する。ステツプS26では
FNTBF72の内容を印字し、ステツプS27ではレジスタgbp
の内容のドツト分の紙送りをする。
<Rotation printing of halftone pattern when character gap is smaller than 1 character> When the content of register gbp is not larger than 32 in the determination of step S12, it means that the character gap is smaller than 1 character. This state may occur in the area immediately after the character is printed, or may occur in the area AP3 in FIG. 3 as described in the present embodiment. In the description of the present embodiment, the size of the area AP3 is shown as 1/2 of one character, but the size is not limited to this. The process proceeds to step S13 in FIG. 2 (B) to set FEL to (FSL + g
Store the value of bp-1). At the beginning, FSL = 0, and FEL means the end of area AP3 in FIG. Step S
At 14, it is determined whether the FEL content is larger than 31.
Since it is not large at this point, the process proceeds to step S22. At step S22, the size of the register FEL and the register FSL is determined. At this point, FEL> FSL, so step S25 is A
Of the MFNTBF75, the shaded pattern from the line indicated by the register FSL to the line indicated by the register FEL is transferred from the first line of the FNTBF72. This is the stage of forming the area AP3 in FIG. If FEL> FSL is not true, use S23 for AMFNT.
The shaded pattern from the line pointed to by register FSL to the 31st line of BF75 is transferred from the first line of FNTBF72, and step S24
Then, the shaded pattern from line 0 of AMFNTBF75 to the line indicated by FEL is transferred from the line following FNTBF72. In step S26
Print the contents of FNTBF72, register gbp in step S27.
Paper feed for the contents of the above.

〈字間ギヤツプに続く次の網かけパターン文字の回転印
字〉 ステツプS28ではSKの内容と行カウンタNの内容が一
致するか否かの判別を行い、一致すれば印字を終了す
る。また、一致しなければステツプS29でFSLの内容に
(FEL+1)をセツトする。次に続けて使用すべき網か
けパターンは(FEL+1)のアドレスから始まるからで
ある。ステツプS30では列カウンタNの内容を+1す
る。そしてステツプS5に戻り、次の文字の文字パターン
をFNTBF72に展開し、これに網かけパターンを重ねる。
この場合に、FSL=0でないから、ステツプS6で前回の
残りの網かけパターンを重ね、ステツプS8で引き続き始
めの網かけパターンを重ねる。これが第3図のエリアAP
4及びAP5を形成する段階である。また同様にして、ステ
ツプS15では前回の残りの網かけパターンを転送し、ス
テツプS17では引き続き始めの網かけパターンを転送す
る。これが第3図のエリアAP6及びAP7を形成する段階で
ある。また、FSL=0でないから、ステツプS13でFELに
(FSL+gbp−1)をセツトすると、ステツプS14の判別
ではFEL>31を満足する。この場合は、ステツプS21でFE
L←(FEL−32)を実行し、状態を反転する。
<Rotary printing of the next half-tone dot pattern character following the inter-character gear tap> In step S28, it is determined whether the contents of SK and the contents of the line counter N match, and if they match, printing ends. If they do not match, the contents of FSL are set to (FEL + 1) in step S29. This is because the shaded pattern to be subsequently used starts from the address (FEL + 1). At step S30, the content of the column counter N is incremented by one. Then, returning to step S5, the character pattern of the next character is expanded to FNTBF72, and the shaded pattern is superimposed on it.
In this case, since FSL = 0 is not satisfied, at step S6, the remaining halftone dot pattern at the previous time is superimposed, and at step S8, the first halftone dot pattern is successively overlapped. This is the area AP in Figure 3.
This is the stage of forming 4 and AP5. Similarly, in step S15, the remaining half-tone dot pattern of the previous time is transferred, and in step S17, the first half-tone dot pattern is continuously transferred. This is the stage of forming the areas AP6 and AP7 in FIG. Since FSL = 0 is not established, if (FSL + gbp-1) is set in FEL in step S13, FEL> 31 is satisfied in the determination in step S14. In this case, FE at step S21
Execute L ← (FEL-32) to invert the status.

尚、上述の実施例ではテキストの行情報を印字媒体の
列方向に回転印字する場合を説明したが、逆にテキスト
の列情報を印字媒体の行方向に回転印字する場合も同様
の考えで行える。
In the above embodiment, the case where the text line information is rotationally printed in the column direction of the print medium has been described, but conversely, the text column information is rotationally printed in the line direction of the print medium by the same idea. .

[発明の効果] 以上説明したように本発明によれば、印刷ヘッドの走
査方向に直交する連続した網掛けを施した文字列を印刷
できる印刷制御装置を提供することができる。
[Effects of the Invention] As described above, according to the present invention, it is possible to provide a print control device capable of printing a continuous shaded character string orthogonal to the scanning direction of the print head.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明による実施例の文書情報処理装置(ワー
ドプロセツサ)のブロツク構成図、 第2図(A)及び(B)は実施例の網かけ回転印字制御
手順を示すフローチヤート、 第3図は連続する“今日”という2文字を回転印字する
場合の動作を説明するための図、 第4図(A)〜(E)はオリジナルフオント及びフオン
トバツフアの記憶態様を示す図、 第5図はコードバツフア71の内容を模式的に表わした
図、 第6図(A)及び(B)は従来の回転印字の一態様を示
す図である。 図中、1……セントラルプロセツシングユニツト(CP
U)、2……リードオンリメモリ(ROM)、3……キーボ
ード(KB)、31……印字書式キー(PSK)、32……プリ
ントキー(PK)、33……書式設定キー(SSK)、34……
網かけモード指定キー、4……表示部(DISP)、5……
プリンタ(PR行カウンタN)、51……サーマルヘツド、
52……ヘツドドライバ(HD)、53……キヤリアモータ
(CM)、54……キヤリアモータドライバ(CMD)、55…
…フイードモータ(FM)、56……フイードモータドライ
バ(FMD)、57……アツプダウン機構、58……アツプダ
ウンドライバ(UDD)、59……センサ、6……プリンタ
コントロール(PRMC)、7……ランダムアクセスメモリ
(RAM)、8……共通バスである。
FIG. 1 is a block diagram of a document information processing apparatus (word processor) according to an embodiment of the present invention, and FIGS. 2A and 2B are flow charts showing a halftone rotary printing control procedure of the embodiment. FIG. 3 is a diagram for explaining the operation when two consecutive letters “Kyoto” are rotationally printed, and FIGS. 4A to 4E are diagrams showing storage modes of original fonts and font buffers, and FIG. Is a diagram schematically showing the contents of the code buffer 71, and FIGS. 6 (A) and 6 (B) are diagrams showing one mode of conventional rotary printing. In the figure, 1 ... Central Processing Unit (CP
U), 2 ... Read only memory (ROM), 3 ... Keyboard (KB), 31 ... Print format key (PSK), 32 ... Print key (PK), 33 ... Format setting key (SSK), 34 ……
Shading mode designation key, 4 …… Display (DISP), 5 ……
Printer (PR line counter N), 51 ... Thermal head,
52 …… Head driver (HD), 53 …… Carrier motor (CM), 54 …… Carrier motor driver (CMD), 55…
… Feed motor (FM), 56 …… Feed motor driver (FMD), 57 …… Up-down mechanism, 58 …… Up-down driver (UDD), 59 …… Sensor, 6 …… Printer control (PRMC), 7 …… Random access memory (RAM), 8 ... Common bus.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定幅を有する印刷ヘッドを走査させるこ
とにより所定幅単位で印刷する印刷装置に、前記印刷ヘ
ッドの走査方向に対して直交する方向に複数の文字が並
んだ文字列に網掛けを施して印刷させる印刷制御装置で
あって、 文字パターン及び網掛けパターンを記憶する記憶手段
と、 前回の走査での網掛けパターンと連続させて次の走査で
網掛けパターンを印刷させるために前記網掛けパターン
の読み出し開始位置を可変に設定する設定手段と、 前記設定手段により設定された読み出し開始位置に基づ
き、前記記憶手段に記憶される網掛けパターンを読み出
し、前記文字パターンと合成し、前記印刷ヘッドを複数
回走査させ印刷させることにより走査方向に直交する連
続した網掛けを施した文字列を印刷させる手段と、 を具備することを特徴とする印刷制御装置。
1. A printing apparatus for printing in a predetermined width unit by scanning a print head having a predetermined width, and a character string in which a plurality of characters are arranged in a direction orthogonal to the scanning direction of the print head is shaded. A printing control device for performing printing by applying a storage means for storing a character pattern and a halftone dot pattern, and for printing the halftone dot pattern in the next scan continuously with the halftone pattern in the previous scan. Setting means for variably setting the read start position of the shaded pattern, and based on the read start position set by the setting means, the shaded pattern stored in the storage means is read and combined with the character pattern, A unit for printing a continuous shaded character string orthogonal to the scanning direction by scanning the print head a plurality of times for printing. And a print control device.
JP62041538A 1987-02-26 1987-02-26 Print control device Expired - Lifetime JP2509602B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62041538A JP2509602B2 (en) 1987-02-26 1987-02-26 Print control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62041538A JP2509602B2 (en) 1987-02-26 1987-02-26 Print control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP7327062A Division JP2710146B2 (en) 1995-12-15 1995-12-15 Printing control device

Publications (2)

Publication Number Publication Date
JPS63209849A JPS63209849A (en) 1988-08-31
JP2509602B2 true JP2509602B2 (en) 1996-06-26

Family

ID=12611193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62041538A Expired - Lifetime JP2509602B2 (en) 1987-02-26 1987-02-26 Print control device

Country Status (1)

Country Link
JP (1) JP2509602B2 (en)

Also Published As

Publication number Publication date
JPS63209849A (en) 1988-08-31

Similar Documents

Publication Publication Date Title
JP2509602B2 (en) Print control device
JPH0619699B2 (en) Page printer control method
JPH046554B2 (en)
JP2710146B2 (en) Printing control device
EP0573262A1 (en) Wordprocessing device
JP2779157B2 (en) Document information processing device
JP2972211B2 (en) Character output control device and method
JP2705760B2 (en) Image data output device
JPS59214967A (en) Editing device of picture information
JPS63187290A (en) Document information processor
JPH0776967B2 (en) Character processor
JPH0421592B2 (en)
JP2598506B2 (en) Printing control device
JPH0346020A (en) Document processing system
JP2831500B2 (en) Word processor
JPS63182157A (en) Document information processor
JPS62211720A (en) Printing system
JP2771629B2 (en) Character processor
JP2653911B2 (en) Document processing device with banner printing function
JPS6364086A (en) Output unit
JP2575116B2 (en) Image processing device
JPS63179760A (en) Document data processing apparatus
JPH0737111A (en) Document processing method
JPS6274144A (en) Document information processor
JPH0464315B2 (en)

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term