JPH0461776B2 - - Google Patents

Info

Publication number
JPH0461776B2
JPH0461776B2 JP58008756A JP875683A JPH0461776B2 JP H0461776 B2 JPH0461776 B2 JP H0461776B2 JP 58008756 A JP58008756 A JP 58008756A JP 875683 A JP875683 A JP 875683A JP H0461776 B2 JPH0461776 B2 JP H0461776B2
Authority
JP
Japan
Prior art keywords
character
memory
print data
printing
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
JP58008756A
Other languages
Japanese (ja)
Other versions
JPS59135170A (en
Inventor
Masao Umemura
Satoru Nakanishi
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP58008756A priority Critical patent/JPS59135170A/en
Publication of JPS59135170A publication Critical patent/JPS59135170A/en
Publication of JPH0461776B2 publication Critical patent/JPH0461776B2/ja
Granted 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/485Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes
    • B41J2/505Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by the process of building-up characters or image elements applicable to two or more kinds of printing or marking processes from an assembly of identical printing elements

Landscapes

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

Description

【発明の詳細な説明】 (技術分野) 本発明は、小型で印刷速度の速いページ単位で
印刷を行なう印刷装置の面回転印刷装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a surface rotation printing device that is small in size and prints at a high printing speed in page units.

(従来技術) 従来、印刷用紙を幅狭方向(縦長方向)からは
挿入可能であるが幅広方向(横長方向)から挿入
不可能な小型の印刷装置で幅広方向印刷を行なう
ためには、上位装置のソフトウエアで印刷データ
の入れ替えを行なうか、ページ内の文字ピツチ、
行ピツチが固定で印刷文字の中心が横方向に一直
線上に有り、さらに縦方向に一直線上に有ると言
う様な規則正しい印刷文字配列がされている場合
のみ可能であると言う制限を行なつて印刷装置内
で印刷データの回転を行なつており、上位装置の
処理時間が大きく印刷速度が上げられないとか、
印刷位置に自由度が無いとかの欠点が有つた。
(Prior art) Conventionally, in order to perform wide direction printing with a small printing device in which printing paper can be inserted from the narrow direction (portrait direction) but not from the wide direction (horizontal direction), it is necessary to Use this software to replace the print data, or change the character pitch on the page.
This is only possible when the line pitch is fixed and the centers of the printed characters are on a straight line in the horizontal direction and in a straight line in the vertical direction. The print data is rotated within the printing device, and the processing time of the host device is large, making it impossible to increase the printing speed.
The drawback was that there was no flexibility in the printing position.

(発明の目的) 本発明はこの点に鑑みてなされたもので、小型
の印刷装置において、少ないハードウエアを追加
することにより、高速で自由度の有る面回転印刷
装置を提供するものである。
(Objective of the Invention) The present invention has been made in view of this point, and is intended to provide a surface rotation printing device that is high-speed and has a degree of freedom by adding a small amount of hardware to a small-sized printing device.

(発明の構成) 本発明は、印刷用紙の有効印刷領域を2つ以上
の文字の文字原点が同一格子内に存在しない複数
の格子に分割したときの各格子位置に対応した記
憶番地群に該格子内の印刷パターン情報を記憶す
るページ・メモリと、前記印刷パターン情報の内
の文字コードに対応した印刷データを記憶するフ
オント・メモリと、前記印刷パターン情報の内に
文字回転指示が有ると前記フオント・メモリから
読み出した印刷データを文字回転し、文字回転指
示が無いと文字回転しないピボツト・コントロー
ル部と、前記ピボツト・コントロール部から送ら
れた印刷データを前記印刷パターン情報の内の位
置情報によりシフトするシフト・コントロール部
と、該シフト・コントロール部でシフトされた印
刷データを少なくとも1格子ライン分記憶する行
バツフア・メモリと、これらを制御するマイク
ロ・コンピユータ・システムとを備え、上位装置
から転送される文字コード、印刷位置、文字回転
の有無等を含む第1の印刷パターン情報をマイク
ロ・コンピユータ・システムによりページ・メモ
リに記憶できる第2の印刷パターン情報に変換
し、この第2の印刷パターン情報を印刷用紙の有
効印刷領域を2つ以上の文字の文字原点が重なら
ない複数の格子に分割したときの各格子位置に対
応したページ・メモリの記憶番地群に記憶し、印
刷するときにマイクロ・コンピユータ・システム
でページ・メモリから順次第2の印刷パターン情
報を読み取り、この第2の印刷パターン情報の内
に文字回転指示が有ると、フオント・メモリから
文字コードに対応した印刷データを読み出し、ピ
ボツト・コントロール部へ送り、ピボツト・コン
トロール部で文字回転を行ないシフト・コントロ
ール部へ送り、シフト・コントロール部で第2の
印刷パターン情報の内の位置情報に基づき印刷デ
ータをシフトし、行バツフア・メモリに記憶し、
又、第2の印刷パターン情報の内に文字回転指示
が無いと、フオント・メモリから文字コードに対
応した印刷データを読み出し、ピボツト・コント
ロール部へ送り、ピボツト・コントロール部で文
字回転を行なわずシフト・コントロール部へ送
り、シフト・コントロール部で第2の印刷パター
ン情報の内の位置情報に基づき印刷データをシフ
トし、行バツフア・メモリに記憶し、印刷ヘツド
を含む印刷機構部からの印刷データ要求信号によ
り、行バツフア・メモリから印刷データを読み出
し、印刷機構部へ順次印刷データを送り、印刷を
行なうものである。以下実施例に従つて詳細に説
明する。
(Structure of the Invention) The present invention provides a memory address group corresponding to each grid position when the effective printing area of printing paper is divided into a plurality of grids in which the character origins of two or more characters do not lie in the same grid. a page memory for storing print pattern information in a grid; a font memory for storing print data corresponding to character codes in the print pattern information; and a font memory for storing print data corresponding to character codes in the print pattern information; A pivot control unit that rotates characters in the print data read from the font memory and does not rotate the characters unless a character rotation instruction is given; and a pivot control unit that rotates the print data read from the font memory and does not rotate the characters unless a character rotation instruction is given; It is equipped with a shift control unit for shifting, a line buffer memory for storing at least one grid line of print data shifted by the shift control unit, and a microcomputer system for controlling these, and is transferred from a host device. The microcomputer system converts the first printing pattern information, including the character code, printing position, presence or absence of character rotation, etc., into second printing pattern information that can be stored in the page memory. When the effective printing area of the printing paper is divided into multiple grids where the character origins of two or more characters do not overlap, the information is stored in a memory address group of the page memory corresponding to each grid position, and when printing, the micro - The computer system sequentially reads the second print pattern information from the page memory, and if there is a character rotation instruction in the second print pattern information, reads the print data corresponding to the character code from the font memory, The data is sent to the pivot control section, the pivot control section performs character rotation, and the print data is sent to the shift control section.The shift control section shifts the print data based on the position information in the second print pattern information, store in memory,
Also, if there is no character rotation instruction in the second print pattern information, the print data corresponding to the character code is read from the font memory, sent to the pivot control section, and the pivot control section shifts the character without rotating it. - Send the print data to the control unit, shift the print data based on the position information in the second print pattern information in the shift control unit, store it in the row buffer memory, and request print data from the print mechanism unit including the print head. In response to a signal, print data is read from the row buffer memory, and the print data is sequentially sent to the printing mechanism section to perform printing. A detailed explanation will be given below based on examples.

(実施例) 第1図は本発明の一実施例の構成を示すブロツ
ク図であり、第2図から第6図は第1図を説明す
るための図である。
(Embodiment) FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIGS. 2 to 6 are diagrams for explaining FIG. 1.

第1図において、1は印刷を制御する図示せぬ
装置(以下上位装置とする。)から転送される印
刷情報を基に印刷を行なう印刷装置であり、イン
タフエース部2、マイクロ・コンピユータ・シス
テム3、プログラムメモリ4、ページ・メモリ
5、フオント・メモリ6、ピボツト・コントロー
ル部7、シフト・コントロール部8、行バツフ
ア・メモリ9、パラレル・シリアル変換部10、
印刷機構インタフエース部11、及び印刷ヘツド
を含む図示せぬ印刷機構部より構成されている。
インタフエース部2は図示せぬ上位装置から転送
される印刷位置、印刷文字をコード化して行わし
た文字コード、文字回転の有無等を含む印刷パタ
ーン情報や印刷開始、印刷停止、LF(改行)、CR
(復帰)、FF(改頁)等の印刷制御情報をマイク
ロ・コンピユータ・システム3に送るための、あ
るいは、印刷装置1の状態情報をマイクロ・コン
ピユータ・システム3から図示せぬ上位装置に転
送するためのインタフエースを有する。マイク
ロ・コンピユータ・システム3は望ましくは高速
演算を行なうマイクロ・コンピユータとプログラ
ム・メモリ4に記憶されている動作手順に従い次
に行なう命令を記憶しているプログラム・メモリ
4の記憶番地を高速に生成するシーケンサから構
成され、プログラム・メモリ4に記憶されている
動作手順に従い、図示せぬ上位装置からインタフ
エース部2を介して転送される印刷情報を解読し
ページ・メモリ5、フオント・メモリ6、ピボツ
ト・コントロール部7、シフト・コントロール部
8、行バツフア・メモリ9、印刷機構インタフエ
ース部11を制御して印刷動作を行なうか、ある
いは、印刷装置1の状態情報をインタフエース部
2を介して図示せぬ上位装置に転送する。プログ
ラム・メモリ4は前記の如く印刷装置1の動作手
順を記憶している記憶装置である。ページ・メモ
リ5は図示せぬ上位装置か転送される文字コー
ド、印刷位置、文字回転の有無等を含む印刷パタ
ーン情報(以下第1の印刷パターン情報とする)
をマイクロ・コンピユータ・システム3で印刷装
置1の内で使用できる形に変換した印刷パターン
情報(以下第2の印刷パターン情報とする)を記
憶する書き替え可能な記憶装置で少なくとも1ペ
ージ分の第2の印刷パターン情報を記憶できる容
量を有す。尚、ページ・メモリ5の詳細な説明は
後記第2図の説明のところで行なうこととする。
In FIG. 1, reference numeral 1 denotes a printing device that performs printing based on print information transferred from an unillustrated device (hereinafter referred to as a host device) that controls printing, and includes an interface section 2, a microcomputer system, 3, program memory 4, page memory 5, font memory 6, pivot control section 7, shift control section 8, row buffer memory 9, parallel/serial conversion section 10,
It is composed of a printing mechanism interface section 11 and a printing mechanism section (not shown) including a printing head.
The interface section 2 includes print pattern information including print positions transferred from a host device (not shown), character codes obtained by encoding printed characters, presence or absence of character rotation, print start, print stop, LF (line feed), etc. CR
(return), FF (page feed), etc. to the microcomputer system 3, or to transfer status information of the printing device 1 from the microcomputer system 3 to a higher-level device (not shown). It has an interface for The microcomputer system 3 is preferably a microcomputer that performs high-speed calculations and that quickly generates a memory address in the program memory 4 that stores the next instruction in accordance with the operating procedure stored in the program memory 4. Consisting of a sequencer, it decodes print information transferred from a host device (not shown) via an interface unit 2 according to operating procedures stored in a program memory 4, and processes page memory 5, font memory 6, and pivot. - Control the control section 7, shift control section 8, line buffer memory 9, and printing mechanism interface section 11 to perform printing operations, or display status information of the printing device 1 via the interface section 2. Transfer to an unspecified higher-level device. The program memory 4 is a storage device that stores the operating procedures of the printing apparatus 1 as described above. The page memory 5 contains print pattern information (hereinafter referred to as first print pattern information) including character codes, print positions, presence or absence of character rotation, etc. transferred from a host device (not shown).
A rewritable storage device that stores printing pattern information (hereinafter referred to as second printing pattern information) converted by the microcomputer system 3 into a form that can be used in the printing device 1. It has a capacity that can store 2 pieces of printing pattern information. A detailed explanation of the page memory 5 will be given later in the explanation of FIG. 2.

フオント・メモリ6は第2の印刷パターン情報
の内の文字コードに対応した印刷データを記憶す
る記憶装置である。ピボツト・コントロール部7
は第2の印刷パターン情報の内に文字回転指示が
無いとフオント・メモリ6から読み出した印刷デ
ータをそのまま、すなわち、第3図cの如き文字
が印刷できる様にシフト・コントロール部8へ送
り、又、文字回転指示が有るとフオント・メモリ
6から読み出した印刷データを第3図eあるいは
第3図fの如き文字が印刷できる様に変換し、シ
フト・コントロール部8へ送る所謂印刷データの
文字回転を必要に応じて行なう装置である。尚、
ピボツト・コントロール部7の詳細な説明は後記
第3図の説明のところで行なうこととする。
The font memory 6 is a storage device that stores print data corresponding to character codes in the second print pattern information. Pivot control section 7
If there is no character rotation instruction in the second print pattern information, the print data read from the font memory 6 is sent as is to the shift control unit 8 so that characters as shown in FIG. 3c can be printed. Also, when a character rotation instruction is given, the print data read from the font memory 6 is converted so that characters such as those shown in FIG. This is a device that rotates as needed. still,
A detailed explanation of the pivot control section 7 will be given later in the explanation of FIG. 3.

シフト・コントロール部8はピボツト・コント
ロール部7から送られた印刷データを第2の印刷
パターン情報の内の位置情報(水平シフト、垂直
シフト)に基づきシフトする装置である。尚、シ
フト・コントロール部8の詳細な説明は後記第4
図の説明のところで行なうこととする。
The shift control unit 8 is a device that shifts the print data sent from the pivot control unit 7 based on position information (horizontal shift, vertical shift) in the second print pattern information. A detailed explanation of the shift control section 8 will be given in Part 4 below.
This will be explained in the explanation of the figure.

行バツフア・メモリ9はシフト・コントロール
部7から送られた印刷データを記憶する書き替え
可能な記憶装置である。尚、行バツフア・メモリ
9の詳細な説明は後記第5図の説明のところで行
なうこととする。
The row buffer memory 9 is a rewritable storage device that stores print data sent from the shift control section 7. A detailed explanation of the row buffer memory 9 will be given later in the explanation of FIG. 5.

パラレル・シリアル変換部10は行バツフア・
メモリから出力されるパラレルな印刷データをシ
リアルな印刷データに変換し、図示せぬ印刷機構
部からの印刷データ要求に応じてシリアルな印刷
データを該印刷機構部へ転送する装置である。印
刷機構インタフエース部11は図示せぬ上位装置
からの印刷開始、印刷停止、LF,CR,FF等の
印刷制御情報を図示せぬ印刷機構部へ適した形で
送る、あるいは、図示せぬ印刷機構部かの状態情
報を適した形で受け取るインタフエース部と、印
刷データを図示せぬ印刷機構部からの要求に応じ
て該印刷機構部へ送るタイミングを制御するデー
タ転送回路から成る装置である。
The parallel/serial converter 10 has a row buffer
This device converts parallel print data output from a memory into serial print data, and transfers the serial print data to a print mechanism (not shown) in response to a print data request from the print mechanism. The printing mechanism interface section 11 sends printing control information such as start of printing, stop of printing, LF, CR, FF, etc. from a host device (not shown) to a printing mechanism section (not shown) in an appropriate form, or performs printing (not shown). This device consists of an interface section that receives status information from the printing mechanism section in an appropriate form, and a data transfer circuit that controls the timing of sending print data to the printing mechanism section (not shown) in response to requests from the printing mechanism section. .

第2図はページ・メモリ5を詳細に説明するた
めの図である。第2図aにおいて12は印刷用紙
の実際に印刷可能な場所(以下有効印刷領域とす
る)を示し、2つ以上の文字の文字原点を同一格
子内に存在しない複数の格子gi(i=0〜m×n)
に分割され、その1つの格子は例えば、1/4文字
の大きさである。この格子の印刷パターンに係る
情報(前記第2の印刷パターン情報)はページ・
メモリ5の該格子に対応する連続したl個の記憶
番地に記憶されるので有効印刷領域の1格子ライ
ン(横方向)の第2の印刷パターン情報を記憶す
るためにはl×m番地、従つて有効印刷領域内の
全ての第2の印刷パターン情報を記憶するために
はl×m×n番地必要である。第2図aの13は
ページ・メモリ5の記憶空間を示し、少なくとも
l×m×nの大きさ、すなわち、l×m×n番地
を有す。さらにページ・メモリ5と第2の印刷パ
ターン情報との関係を第2図bに示す。第2図b
において左図はページ・メモリ5の記憶番地の一
部を空間的に表わし、左横のN,N+8,N+
16,……は記憶番地を表わし、gi,gi+1,gi+2,…
…gi+7は有効印刷領域の対応する格子番号を表わ
す。ここでiは0からm×nまでの整数である。
又、右図は格子giの第2の印刷パターン情報を表
わし、連続した8番地に記憶される場合を示して
いる。この場合前記lは8となり、ページ・メモ
リ5の記憶番地は少なくとも8×m×n番地必要
である。又、右図の上の数字0,……,7はペー
ジ・メモリ5の一番地当りのビツト幅を示し、こ
こでは1バイト(8ビツト)のビツト幅を示して
ある。次に右図の第2の印刷パターン情報につい
て説明する。一番上の文字コード1は次の文字コ
ード2と共にフオント・メモリ6のその文字コー
ドに対応する印刷データが記憶されている番地を
指定し、そこに記憶されている1/4文字分の印刷
データを読み出すために使用される。次の水平シ
フト、垂直シフトは第2図cの如く文字L1,L2
L3を4分割したときの1/4文字の文字原点P1
P2,P3……P12とその文字原点を含む格子の格子
原点P1′,P2′,P3′,……P12′との水平、垂直方
向の距離Sh1,Sh2,Sh3,Sh4,Sv1,Sv2,Sv3
Sv4を示し、シフト・コントロール部8で印刷デ
ータをシフトするときに使用される。第2図bの
次の文字ピツチ、改行ピツチは第2図cの如く
各々、水平方向の文字間隔Ph、垂直方向の文字
間隔Pvを示し、後記文字情報の内の第2図cの
如き罫線Kを印刷するために使用される。第2図
bの次の文字情報1,2,3,4は1つの文字を
4分割したときの分割位置、文字回転の有無、文
字の全角、半角、罫線、アンダーライン、文字の
拡大、等の情報を与えるものである。
FIG. 2 is a diagram for explaining the page memory 5 in detail. In FIG. 2a, 12 indicates a place on the printing paper that can actually be printed (hereinafter referred to as an effective printing area), and the character origins of two or more characters are placed in a plurality of grids g i (i= 0~m×n)
For example, one grid is the size of 1/4 character. Information related to this lattice print pattern (the second print pattern information) is
Since the information is stored in l consecutive memory addresses corresponding to the grid in the memory 5, in order to store the second print pattern information of one grid line (horizontal direction) in the effective print area, l×m addresses, secondary Therefore, in order to store all the second print pattern information within the effective print area, 1×m×n addresses are required. Reference numeral 13 in FIG. 2a indicates a storage space of the page memory 5, which has a size of at least 1×m×n, that is, 1×m×n addresses. Furthermore, the relationship between the page memory 5 and the second print pattern information is shown in FIG. 2b. Figure 2b
The figure on the left spatially represents a part of the memory addresses of the page memory 5, and the left side N, N+8, N+
16,... represent memory addresses, g i , g i+1 , g i+2 ,...
...g i+7 represents the corresponding grid number of the effective printing area. Here, i is an integer from 0 to m×n.
The figure on the right shows the second print pattern information of grid g i and shows the case where it is stored in eight consecutive addresses. In this case, l is 8, and the page memory 5 requires at least 8×m×n addresses. Further, the numbers 0, . . . , 7 at the top of the right diagram indicate the bit width of the first location of the page memory 5, and here the bit width of 1 byte (8 bits) is indicated. Next, the second print pattern information shown in the right figure will be explained. The top character code 1, together with the next character code 2, specifies the address in the font memory 6 where the print data corresponding to that character code is stored, and prints the 1/4 character stored there. Used to read data. The next horizontal shift and vertical shift are the letters L 1 , L 2 ,
Character origin P 1 of 1/4 character when L 3 is divided into four,
P 2 , P 3 ...Horizontal and vertical distances S h1 , S h2 , between P 12 and the lattice origin P 1 ′, P 2 ′, P 3 ′, ...P 12 ′ of the lattice containing the character origin S h3 , S h4 , S v1 , S v2 , S v3 ,
S v4 , which is used when the shift control section 8 shifts print data. The next character pitch and line break pitch in Figure 2b indicate the horizontal character spacing Ph and vertical character spacing Pv, respectively, as shown in Figure 2c, and the ruled line as shown in Figure 2c in the character information below. Used to print K. The next character information 1, 2, 3, and 4 in Figure 2b is the division position when one character is divided into four, presence or absence of character rotation, full-width or half-width character, ruled line, underline, enlargement of character, etc. It provides information on

第3図はピボツト・コントロール部7を詳細に
説明するための図である。第3図aにおいてL4
は正常印刷文字、L5は左回転印刷文字、L6は右
回転印刷文字である。第3図bはピボツト・コン
トロール部7の1実施例を示す回路であり、14
はピボツト・メモリ、15はパラレル−シリアル
変換部、16はピボツト・メモリ14のアドレス
(記憶番地)を示すアツプ、ダウン可能なアドレ
ス・カウンタ、17はアドレス・カウンタ16の
出力を文字回転のとき並べ替えるイクス・チエン
ジ回路である。第3図cは格子G1,G2,G
3,G4から成る縦32ドツト、横32ドツトの正常
文字パターン、第3図dは第3図cの格子G1、
第3図eは縦32ドツト、横32ドツトの左回転文字
パターン、第3図fは縦32ドツト、横32ドツトの
右回転文字パターンを各々示す。次に第3図cの
格子G1を例にして文字回転を説明する。第3図
bにおいてフオント・メモリ6から順次送られる
パラレルな印刷データ18を順次パラレル−シリ
アル変換部15でシリアルな印刷データに変換
し、アドレス・カウンタ16に順次クロツク19
を与えて発生する順次のアドレス番号(0,1,
2……,255)をピボツト・メモリ14の記憶番
地として前記シリアルな印刷データをピボツト・
メモリ14に順次1/4文字分記憶する。すなわち
第3図dの矢印Aの方向に1行、2行、……、15
行、16行の如く印刷データをピボツト・メモリ1
4に順次1/4文字分記憶する。従つてピボツト・
メモリ14の記憶空間には第3図dの如きデータ
(ぬりつぶし部“1”、他は“0”)が記憶される。
ここで文字回転が無い場合にはアドレス・カウン
タ16をアツプ・モードとしイクス・チエンジ回
路17を操作し、ピボツト・メモリ14の記憶番
地を順次のアドレス(0,1,2……,255)と
し、すなわち、第3図dの矢印Aの方向に1行、
2行、……、15行、16行の如く走査し、ピボツ
ト・メモリ14からデータを読み、この読み出し
たシリアルな印刷データを第1図のシフト・コン
トロール部8へ送る。従つて第3図cの格子G1
の如き正常文字パターンが印刷される。又、左回
転が指示された場合にはアドレス・カウンタ16
をアツプ・モードとしてイクス・チエンジ回路1
7を操作し、ピボツト・メモリ14の記憶番地を
第3図dの矢印Bの方向に16列、15列、……、2
列、1列の如く走査し、ピボツト・メモリ14か
らデータを読み、この読み出したシリアルな印刷
データを第1図のシフト・コントロール部8へ送
る。従つて第3図eの格子G1の如き左回転文字
パターンが印刷される。又、右回転が指示された
場合にはアドレス・カウンタ16をダウン・モー
ドとしイクス・チエンジ回路17を操作しピボツ
ト・メモリ14の記憶番地を第3図dの矢印Cの
方向に1列、2列、……、15列、16列の如く走査
し、ピボツト・メモリ14からデータを読み、こ
の読み出したシリアルな印刷データを第1図のシ
フト・コントロール部8へ送る。従つて第3図f
の如き右回転文字パターンが印刷される。
FIG. 3 is a diagram for explaining the pivot control section 7 in detail. In Figure 3a, L 4
is a normal printed character, L 5 is a left-handed printed character, and L 6 is a right-handed printed character. FIG. 3b shows a circuit showing one embodiment of the pivot control section 7, with 14
15 is a pivot memory, 15 is a parallel-to-serial converter, 16 is an address counter that indicates the address (memory address) of the pivot memory 14, and can be down. 17 is an address counter that arranges the output of the address counter 16 when character rotation is performed. This is an IX change circuit. Figure 3c shows grids G1, G2, G
3. Normal character pattern of 32 vertical dots and 32 horizontal dots consisting of G4, Figure 3 d is the grid G1 of Figure 3 c,
FIG. 3e shows a left-rotated character pattern of 32 vertical dots and 32 horizontal dots, and FIG. 3 f shows a right-rotated character pattern of 32 vertical dots and 32 horizontal dots. Next, character rotation will be explained using the grid G1 of FIG. 3c as an example. In FIG. 3b, the parallel print data 18 sequentially sent from the font memory 6 is sequentially converted into serial print data by the parallel-serial converter 15, and the clock 19 is sequentially sent to the address counter 16.
The sequential address numbers (0, 1,
2..., 255) as the storage address of the pivot memory 14 and pivot the serial print data.
1/4 characters are sequentially stored in the memory 14. That is, one line, two lines, ..., 15 in the direction of arrow A in Figure 3d.
Pivot the print data like line 16 to memory 1
4. Store 1/4 character in sequence. Therefore, pivot
The storage space of the memory 14 stores data as shown in FIG.
If there is no character rotation, the address counter 16 is set to UP mode, the change change circuit 17 is operated, and the memory addresses of the pivot memory 14 are sequentially set to addresses (0, 1, 2..., 255). , that is, one line in the direction of arrow A in Figure 3d,
2 lines, . . . , 15 lines, 16 lines are scanned, data is read from the pivot memory 14, and the read serial print data is sent to the shift control unit 8 in FIG. Therefore, the lattice G1 of FIG. 3c
A normal character pattern such as is printed. Also, when left rotation is instructed, the address counter 16
Ex change circuit 1 with up mode
7, change the memory address of the pivot memory 14 in the direction of arrow B in Fig. 3d, column 16, column 15, ..., 2.
It scans one column at a time, reads data from the pivot memory 14, and sends the read serial print data to the shift control section 8 in FIG. Therefore, a left-handed character pattern such as grid G1 in FIG. 3e is printed. If clockwise rotation is instructed, the address counter 16 is set to the down mode, the index change circuit 17 is operated, and the storage address of the pivot memory 14 is changed by one column or two in the direction of arrow C in FIG. 3d. Columns . Therefore, Fig. 3 f
A clockwise rotation character pattern like this is printed.

第4図はシフト・コントロール部8を詳細に説
明するための図である。第4図aは文字L7の1/4
文字の文字原点P1,P2,P3,P4とその文字原点
P1,P2,P3,P4を含む格子の格子原点P1′,P2′,
P3′,P4′が同一位置、すなわち前記ページ・メ
モリ5に記憶されている第2の印刷パターン情報
の内の水平シフト(Sh)、垂直シフト(Sv)がゼ
ロの場合を示し、第4図bはSh=10ドツト、Sv
12ドツトの場合を示す。第4図bの如く印刷する
ためには、第1図のピボツト・コントロール部7
から1/4文字の1ドツトライン分(16ドツト)を
読み出し、前記Sh,Svに応じてシフトしなければ
ならない。第4図cは前記シフト動作を説明する
ための図である。第4図cにおいて“0”、“D”
は各々ゼロデータ、印刷データを示す。この様な
シフト動作を行なうためにはシリアル入力、右シ
フト、左シフト可能でクリア端子を示す、例え
ば、テキサス・インスツルメンツ社製SN74198を
4個接続して32ビツトシフトレジスタとし、シフ
ト・コントロール部8を構成してもよい。こうし
て構成されたシフト・コントロール部8におい
て、第4図bの垂直シフトSvの値をマイクロ・コ
ンピユータ・システム3で監視しながら行バツフ
ア・レジスタ9にシフト・コントロール部8から
出力された印刷データを記憶していく。従つて第
4図bのP1′からY1まではシフト・コントロール
部8をクリアし第4図cのイの印刷データを、又
第4図bのY1からY2までは、第3図bのピボツ
ト・メモリ14から1/4文字の1ドツトライン分
(16ドツト)を順次読み出し、シフト・コントロ
ール部8の図示せぬシフトレジスタに第4図cの
ロの如く1/4文字の1ドツトライン分ずつ順次セ
ツトし、第4図cのハの如く水平シフトShに応じ
てShの数だけ右シフトを順次行ないシフトされた
位置にはデータ“0”を入れて第4図cのハの印
刷データを、又、第4図bのY2からY3まではシ
フト・コントロール部8をクリアし第4図cのイ
の印刷データを行バツフア・メモリ9へ送り、第
4図bの文字L7の格子G1を含む4個の有効印
刷領域の格子g1,g2,g4,g5の印刷データが行バ
ツフア・メモリ9に記憶される。次に同様にして
フオント・メモリ6から格子G2の印刷データが
読み出され文字L7の格子G2を含む4個の有効
印刷領域の格子g2,g3,g5,g6の印刷データが行
バツフア・メモリ9に記憶される。ここで格子
g2,g5は各々文字L7の格子G1,G2両方を共有
するので行バツフア・メモリ9において格子g2
g5に対応する印刷データはすでに記憶されている
印刷データと重ね合わされ記憶される。この様に
して、有効印刷領域の格子g1,g2,g3を含む1格
子ラインの印刷データ全部と、格子g4,g5,g6
含む1格子ラインの印刷データの一部が行バツフ
ア・メモリ9に記憶される。次に行バツフア・メ
モリ9が印刷データ受付け可能となると格子g4
g5,g6を含む1格子ラインの印刷データの残り
と、格子g7,g8,g9を含む1格子ラインの印刷デ
ータの全部が同様にフオント・メモリ6から読み
出され、シフト・コントロール部8でシフトされ
行バツフア・メモリ9に記憶される。ここで格子
g4,g7は各々文字L7の格子G1,G3両方を、
又、格子g5,g8は各々文字L7の格子G1,G3両
方及びG2,G4両方を、又、格子g6,g9は各々
文字L7の格子G2,G4両方を共有するので行バ
ツフア・メモリ9において格子g4,g5,g6を含む
1格子ラインに対応する印刷データをすでに記憶
されている印刷データと重ね合わされ記憶され
る。
FIG. 4 is a diagram for explaining the shift control section 8 in detail. Figure 4 a is 1/4 of the letter L 7
The character origins of characters P 1 , P 2 , P 3 , P 4 and their character origins
The lattice origins P 1 ′ , P 2 ′ of the lattice including P 1 , P 2 , P 3 , P 4 ,
P 3 ′ and P 4 ′ are at the same position, that is, the horizontal shift (S h ) and vertical shift (S v ) of the second print pattern information stored in the page memory 5 are zero. , Figure 4b shows S h = 10 dots, S v =
The case of 12 dots is shown. To print as shown in Figure 4b, use the pivot control section 7 in Figure 1.
One dot line (16 dots) of 1/4 character must be read from , and shifted according to the Sh and S v mentioned above. FIG. 4c is a diagram for explaining the shift operation. “0”, “D” in Figure 4c
indicate zero data and print data, respectively. In order to perform such a shift operation, for example, connect four SN74198 manufactured by Texas Instruments Inc. to form a 32-bit shift register, which has a serial input, a right shift, a left shift, and a clear terminal. may be configured. In the shift control unit 8 configured in this manner, the print data outputted from the shift control unit 8 is transferred to the row buffer register 9 while the value of the vertical shift S v shown in FIG. 4b is monitored by the microcomputer system 3. I will remember. Therefore, from P 1 ' to Y 1 in FIG. 4b, the shift control unit 8 is cleared and the print data in FIG . One dot line (16 dots) of 1/4 character is sequentially read out from the pivot memory 14 in FIG. Set the dot lines one by one, and sequentially shift to the right by the number of S h according to the horizontal shift S h as shown in c of Fig. 4, and put data "0" in the shifted position, as shown in c of Fig. 4. Also, from Y 2 to Y 3 in FIG. 4b, the shift control unit 8 is cleared, and the print data in FIG. 4c, A is sent to the row buffer memory 9, The print data of the grids g 1 , g 2 , g 4 , g 5 of the four effective print areas including the grid G1 of the character L 7 is stored in the line buffer memory 9. Next, the print data of the grid G2 is read out from the font memory 6 in the same way, and the print data of the grids g 2 , g 3 , g 5 , g 6 of the four effective print areas including the grid G 2 of the character L 7 are read out from the font memory 6 . The data is stored in the row buffer memory 9. grid here
Since g 2 and g 5 share both the lattices G1 and G2 of the character L 7 , the lattices g 2 and
The print data corresponding to g 5 is stored superimposed on the already stored print data. In this way, all of the print data of one grid line including grids g 1 , g 2 , g 3 in the effective printing area and part of the print data of one grid line including grids g 4 , g 5 , g 6 are printed. The data is stored in the row buffer memory 9. Next, when the row buffer memory 9 becomes ready to accept print data, the grid g 4 ,
The rest of the print data for one grid line including g 5 and g 6 and all the print data for one grid line including grids g 7 , g 8 and g 9 are similarly read out from the font memory 6 and shifted. The data is shifted by the control section 8 and stored in the row buffer memory 9. grid here
g 4 and g 7 respectively represent both the lattices G1 and G3 of the letter L 7 ,
Also, since the grids g 5 and g 8 share both the grids G1 and G3 and both G2 and G4 of the character L 7 , and the grids g 6 and g 9 each share both the grids G2 and G 4 of the character L 7 , In the row buffer memory 9, print data corresponding to one grid line including grids g 4 , g 5 , and g 6 is stored in a superimposed manner with already stored print data.

第5図は行バツフア・メモリ9の一実施例を詳
細に説明するための図である。第5図において2
0は4つのメモリLM1,LM2,LM3,LM4の書
き込み、読み出し番地ADS1,ADS2,ADS3,
ADS4の生成及び該4つのメモリを各々セレクト
するためのチツプセレクトCS1,CS2,CS3,
CS4の制御等をマイクロ・コンピユータ・システ
ム3からライン22を介して与えられる信号及び
印刷機構インタフエース部11からライン23を
介して与えられる信号で行なう行バツフア・リー
ド/ライト・コントロールである。21はシフ
ト・コントロール部8からのデータ・ラインであ
る。24は前記の如く第4図bの格子g4,g5,g6
の様にその格子内に文字L7の格子G1,G2,
G3,G4が2つ以上存在するときに印刷データ
の重ね合わせを行なうための回路である。行バツ
フア・メモリ9は図の如く各メモリが印刷用紙の
1格子ラインの印刷データを記憶している4つの
メモリLM1,LM2,LM3,LM4から構成され、
印刷時においては印刷用紙の格子ラインの印刷デ
ータが前記4つのメモリLM1,LM2,LM3,
LM4の内の2つのメモリに記憶されると該2つ
のメモリの内の印刷すべき格子ラインに対応する
一つのメモリをセレクトし、そこから印刷データ
を読み出しパラレル−シリアル変換部10を介し
て図示せぬ印刷機構部へシリアルな印刷データを
送り印刷する。こうして印刷用紙の1格子ライン
を印刷すると、前記2つのメモリの内の印刷すべ
き格子ラインに対応する別の一つのメモリをセク
レトし、そこから印刷データを読み出しパラレル
−シリアル変換部10を介して図示せぬ印刷機構
部へシリアルな印刷データを送り印刷する。又、
4つのメモリLM1,LM2,LM3,LM4の内の2
つのメモリが空の状態(印刷データ受け付け可
能)となると、そのメモリをセレクトし次の印刷
データをフオント・メモリ6、ピボツト・コント
ロール部7、シフト・コントロール部8を介して
受け取り、同様にこの2つのメモリに記憶する。
この様にして4つのメモリLM1,LM2,LM3,
LM4の内の1つを交互に読み出し専用としなが
ら残りの3つのメモリの内の1つ以上のメモリが
空の状態になると印刷データを記憶する様に行バ
ツフア・メモリ9は動作する。
FIG. 5 is a diagram for explaining one embodiment of the row buffer memory 9 in detail. In Figure 5, 2
0 is the write and read address of the four memories LM1, LM2, LM3, LM4 ADS1, ADS2, ADS3,
Chip select CS1, CS2, CS3, for generating ADS4 and selecting each of the four memories.
This is a row buffer read/write control that controls CS4 and the like using a signal applied from the microcomputer system 3 via line 22 and a signal applied from printing mechanism interface section 11 via line 23. 21 is a data line from the shift control section 8; 24 are the lattices g 4 , g 5 , g 6 of FIG. 4b as described above.
In the grid, there are grids G1, G2, with the letter L 7 , as in
This is a circuit for overlapping print data when two or more G3 and G4 exist. As shown in the figure, the line buffer memory 9 is composed of four memories LM1, LM2, LM3, and LM4, each memory storing print data for one grid line of printing paper.
During printing, the print data of the grid lines on the printing paper are stored in the four memories LM1, LM2, LM3,
When the data is stored in two memories of the LM4, one of the two memories corresponding to the grid line to be printed is selected, the print data is read from there, and the data is converted into a diagram via the parallel-serial converter 10. Serial print data is sent to the printing mechanism (not shown) and printed. When one grid line of the printing paper is printed in this way, another one of the two memories corresponding to the grid line to be printed is selected, and the print data is read from there and sent via the parallel-serial converter 10. Serial print data is sent to a printing mechanism (not shown) and printed. or,
2 of 4 memories LM1, LM2, LM3, LM4
When one memory becomes empty (capable of accepting print data), select that memory and receive the next print data via the font memory 6, pivot control section 7, and shift control section 8, and similarly stored in one memory.
In this way, four memories LM1, LM2, LM3,
Row buffer memory 9 operates to store print data when one or more of the remaining three memories becomes empty while one of LM4 is alternately read-only.

次に印刷動作について説明する。 Next, the printing operation will be explained.

先ず、面回転動作を第6図aを参照して説明す
る。第6図aにおいて12は印刷用紙の有効印刷
領域、Qは印刷原点、Q′は印刷サブ原点、g1
g2,……は有効印刷領域12内の格子(実線)、
G1,G2,……は1文字を4分割したときの1/
4文字を単位とする格子(点線)、P1,P2,……
は前記1/4文字を単位とする格子G1,G2,…
…の原点、P1′,P2′,……は前記有効印刷領域
12内の格子g1,g2,……の原点、矢印x0,x1
……xo-1は印刷データのスキヤニング(走査)方
向、矢印y0,y1,……yn-1は第2の印刷パターン
情報の書き込み方向、矢印Zは有効印刷領域1
2、すなわち図示せぬ印刷用紙の移動方向であ
る。印刷時、図示せぬ上位装置から印刷原点Qを
基に文字“1”に対する文字コード、印刷位置、
文字回転有り等を含む第1の印刷情報を受け取
り、マイクロ・コンピユータ・システム3で文字
“1”を含む有効印刷領域12内の9個の格子g1
g2,……g9に対応するページ・メモリ5の記憶番
地を生成し、又、1/4文字を単位とする格子G1,
G2,G3,G4の原点P1,P2,P3,P4を求め、
該原点P1,P2,P3,P4を含む有効印刷領域12
内の格子の原点P1′,P2′,P3′,P4′との距離を
水平シフト、垂直シフトとして求め、第2図bの
如くページ・メモリ5に記憶する。このとき1/4
文字を単位とする格子G1,G2,G3,G4の
原点P1,P2,P3,P4を含む有効印刷領域12内
の格子g2,g3,g5,g6に対応するページ・メモリ
5の記憶番地にはフオント・メモリ6から印刷デ
ータを読み出す必要が有ることを表わす特別な文
字情報(定められたフラグをセツト)を記憶し、
又、逆に1/4文字を単位とする格子G1,G2,
G3,G4の原点P1,P2,P3,P4を含まない有
効印刷領域12内の格子g1,g4,g7、g8,g9に対
応するページ・メモリ5の記憶番地には、フオン
ト・メモリ6から印刷データを読み出す必要がな
いことを表わす特別な文字情報(定められたフラ
グをリセツト)を記憶しておく。次に図示せぬ上
位装置から文字“2”に対する第1の印刷パター
ン情報を受け取り、前記と同様にマイクロ・コン
ピユータ・システム3により、ページ・メモリ5
に必要な第2図bの如き第2の印刷パターン情報
を記憶する。この様にして、図示せぬ上位装置か
ら順次文字“3”、文字“4”に対する第1の印
刷パターン情報を受け取り、マイクロ・コンピユ
ータ・システム3により、ページ・メモリ5に第
2図bの如き第2の印刷パターン情報を記憶す
る。次に図示せぬ印刷機構部で印刷するときには
印刷サブ原点Q′を基に有効印刷領域12内の格
子g10,g11,g12……,に対応するページ・メモリ
5の記憶番地から各々第2の印刷パターン情報を
読み出し、その情報の内にフオント・メモリ6か
ら印刷データを読み出す必要がないことを表わす
特別な文字情報(例えば格子g10,g13に対応する
ページ・メモリ5に記憶されている)が有ると有
効印刷領域12内の次の格子に対応するページ・
メモリ5の記憶番地から第2の印刷パターン情報
を読み出し、その情報の内にフオント・メモリ6
から印刷データを読み出す必要が有ることを表わ
す特別な文字情報、例えば格子g11,g12に記憶さ
れている、が有ると、1文字を4分割したときの
1/4文字を単位とする格子G5,G6,……に対
する第2図bの文字コード1、文字コード2によ
り1/4文字分の印刷データをフオント・メモリ6
から読み出し、ピボツト・コントロール部7で左
文字回転し、第2図bの水平シフト、垂直シフト
の値に応じてシフト・コントロール部8で印刷デ
ータをシフトし、行バツフア・メモリ9に記憶す
る。こうして1/4文字を単位とする格子G5,G
6を含む2つの格子ライン(有効印刷領域12の
格子g10,g11,g12,g13を含む格子ラインと、g14
を含む格子ライン)を矢印x0,x1の方向に走査し
て有効印刷領域12の格子g10,g11,g12,g13
含む矢印x0の格子ライン上の全ての印刷データ及
び有効印刷領域12の格子g14を含む矢印x1の格
子ライン上の印刷データの一部を行バツフア・メ
モリ9内の4つのメモリ(LM1,LM2,LM3,
LM4)の内の2つのメモリ(LM1,LM2)に記
憶する。そして図示せぬ印刷装置から印刷データ
の要求があると、矢印x0の格子ラインの印刷デー
タを記憶している行バツフア・メモリ9内の4つ
のメモリ(LM1,LM2,LM3,LM4)の内の1
つのメモリ(LM1)から印刷データを送る。こ
のときまだ行バツフア・メモリ9内の4つのメモ
リ(LM1,LM2,LM3,LM4)の内のメモリ
LM2にはx1の格子ライン上の一部のデータしか
入つていない。それゆえ、続いて1/4文字を単位
とする格子G7,G8を含む2つの格子ライン
(有効印刷領域12の格子g14を含む格子ライン
と、g15を含む格子ライン)を矢印x1,x2の方向
に走査して有効印刷領域12の格子g14を含む矢
印x1の格子ライン上の印刷データの一部及び有効
印刷領域12の格子g15を含む矢印x2の格子ライ
ン上の印刷データ全部を行バツフア・メモリ9内
の4つのメモリ(LM1,LM2,LM3,LM4)の
内の2つのメモリ(LM2,LM3)に記憶する。
尚1/4文字を単位とする格子G1,G2,G3,
G4を2つ以上含む有効印刷領域12の格子g14
を含む矢印x1の格子ライン上の印刷データを記憶
している行バツフア・メモリ9内の4つのメモリ
(LM1,LM2,LM3,LM4)の内の1つのメモ
リ(前記においてはLM2であるが固定されたメ
モリが割り当てられるわけではない)においては
前のデータと重ね合わされて記憶される。この様
にして矢印x0,x1,x2,……xo-3,xo-2,xo-1
格子ライン順に行バツフア・メモリ9に印刷デー
タを記憶し、図示せぬ印刷機構部からの印刷デー
タ要求に応じ矢印x0,x1,x2,……xo-3,xo-2
xo-1の格子ライン順に行バツフア・メモリ9から
印刷データを読み出し、図示せぬ印刷機構部へ送
り印刷すると第6図aの如き面回転印刷が用紙を
幅狭方向から挿入して得られる。
First, the surface rotation operation will be explained with reference to FIG. 6a. In Fig. 6a, 12 is the effective printing area of the printing paper, Q is the printing origin, Q' is the printing sub-origin, g 1 ,
g 2 , ... are grids (solid lines) within the effective printing area 12,
G1, G2, ... are 1/ when one character is divided into four parts.
Grid with 4 characters as a unit (dotted line), P 1 , P 2 , ...
are grids G1, G2,... whose unit is the 1/4 character.
..., P 1 ′, P 2 ′, ... are the origins of the grids g 1 , g 2 , ... in the effective printing area 12, arrows x 0 , x 1 ,
...x o-1 is the scanning direction of the print data, arrows y 0 , y 1 , ... y n-1 are the writing direction of the second print pattern information, and arrow Z is the effective print area 1
2, that is, the moving direction of the printing paper (not shown). At the time of printing, the character code, print position, and
The microcomputer system 3 receives the first print information including character rotation, etc., and prints nine grids g 1 in the effective print area 12 including the character "1".
Generate memory addresses in page memory 5 corresponding to g 2 , ... g 9 , and also generate grids G1, whose units are 1/4 character.
Find the origin P 1 , P 2 , P 3 , P 4 of G2, G3, G4,
Effective printing area 12 including the origins P 1 , P 2 , P 3 , P 4
The distances to the origins P 1 ', P 2 ', P 3 ', and P 4 ' of the lattice within are determined as horizontal shifts and vertical shifts, and are stored in the page memory 5 as shown in FIG. 2b. At this time 1/4
Pages corresponding to grids g 2 , g 3 , g 5 , g 6 in the effective print area 12 including the origins P 1 , P 2 , P 3 , P 4 of grids G1 , G2, G3, G4 whose units are characters - Store special character information (set a prescribed flag) in the memory address of the memory 5 to indicate that it is necessary to read print data from the font memory 6;
In addition, conversely, grids G1, G2, whose units are 1/4 characters,
Memory addresses of the page memory 5 corresponding to grids g 1 , g 4 , g 7 , g 8 , g 9 in the effective print area 12 that do not include the origins P 1 , P 2 , P 3 , P 4 of G 3 and G 4 Special character information (resetting a predetermined flag) indicating that there is no need to read print data from the font memory 6 is stored in the font memory 6. Next, the first printing pattern information for the character "2" is received from the host device (not shown), and the microcomputer system 3 stores the page memory 5 in the same manner as above.
The second printing pattern information necessary for the second printing pattern as shown in FIG. 2b is stored. In this way, the first printing pattern information for the characters "3" and "4" is sequentially received from the host device (not shown), and the microcomputer system 3 stores the information in the page memory 5 as shown in FIG. 2b. Store second print pattern information. Next, when printing is performed by a printing mechanism section (not shown), each of the grids g 10 , g 11 , g 12 . . . The second printing pattern information is read, and within that information special character information indicating that there is no need to read out print data from the font memory 6 (for example, stored in the page memory 5 corresponding to grids g 10 and g 13 ) is added. ), the page corresponding to the next grid in the effective print area 12 is displayed.
The second print pattern information is read from the memory address of the memory 5, and the font memory 6
If there is special character information indicating that it is necessary to read print data from, for example, stored in grids g 11 and g 12 , a grid whose unit is 1/4 character when one character is divided into four. Print data for 1/4 character is stored in font memory 6 using character code 1 and character code 2 in Figure 2b for G5, G6, ...
The print data is read out from the print data, rotated to the left by the pivot control section 7, and shifted by the shift control section 8 according to the values of the horizontal shift and vertical shift shown in FIG. In this way, the grid G5, G with 1/4 character as a unit
6 (the grid line including the grids g 10 , g 11 , g 12 , g 13 of the effective printing area 12, and the grid line containing the grids g 14
All print data on the grid line of arrow x 0 including grid lines g 10 , g 11 , g 12 , g 13 of the effective printing area 12 are scanned in the direction of arrows x 0 and x 1 . A part of the print data on the grid line of arrow
LM4) and two memories (LM1, LM2). When a request for print data is received from a printing device (not shown), one of the four memories (LM1, LM2, LM3, LM4) in the row buffer memory 9 that stores the print data of the grid line indicated by the arrow x0 is processed. 1
Send print data from one memory (LM1). At this time, there are still four memories (LM1, LM2, LM3, LM4) in the row buffer memory 9.
LM2 only contains some data on the x 1 grid line. Therefore, next, two grid lines including grids G7 and G8 (grid line including grid g 14 of effective printing area 12 and grid line including g 15 ) having 1/4 character as a unit are indicated by arrow x 1 , A part of the print data is scanned in the x 2 direction on the grid line of arrow x 1 that includes the grid g 14 of the effective printing area 12, and on the grid line of arrow x 2 that includes the grid g 15 of the effective printing area 12. All print data is stored in two memories (LM2, LM3) of the four memories (LM1, LM2, LM3, LM4) in the line buffer memory 9.
In addition, grids G1, G2, G3, whose units are 1/4 characters,
Grid g 14 of effective printing area 12 including two or more G4
One of the four memories (LM1, LM2, LM3, LM4) in the row buffer memory 9 that stores the print data on the grid line of arrow x 1 containing (no fixed memory is allocated), the data is stored superimposed on the previous data. In this way, the print data is stored in the row buffer memory 9 in the order of the grid lines indicated by the arrows x 0 , x 1 , x 2 , . . . In response to the print data request from the mechanism section, the arrows x 0 , x 1 , x 2 , ... x o-3 , x o-2 ,
When the print data is read from the row buffer memory 9 in the order of x o-1 grid lines and sent to the printing mechanism (not shown) for printing, surface rotation printing as shown in FIG. 6a is obtained by inserting the paper from the narrow width direction. .

次に面回転を行なわないとき、すなわち用紙を
幅狭方向から挿入して幅狭方向印刷を行なうとき
の動作を第6図b、第6図cを参照して説明す
る。尚第6図b,第6図cにおいて第6図aと同
一のものは同符号とする。第6図b,第6図cに
おいて印刷原点Q、印刷サブ原点Q′は同一位置
にある。すなわち印刷するときの印刷データの走
査方向(矢印x0,x1,……xo-1の方向)と図示せ
ぬ上位装置から転送される第1の印刷パターン情
報をマイクロ・コンピユータ・システム3で第2
の印刷パターン情報に変換し、有効印刷領域12
の格子に対応するページ・メモリ5の記憶番地群
に記憶する方向(矢印x0,x1,……xo-1の方向)
が同じである。第6図bは文字回転が無い場合で
この様な印刷は第6図aの面回転と同様、図示せ
ぬ上位装置から第1の印刷パターン情報(文字回
転無し)を受け取り、マイクロ・コンピユータ・
システム3で第2の印刷パターン情報に変換し、
有効印刷領域12の各格子に対応するページ・メ
モリ5の記憶番地群に記憶し、印刷するときに文
字コードに従いフオント・メモリ6から印刷デー
タを読み出し、ピボツト・コントロール部7へ送
り、ピボツト・コントロール部7では文字回転を
行なわずシフト・コントロール部8へ送り、シフ
ト・コントロール部8で水平シフト、垂直シフト
により印刷データをシフトし、行バツフア・メモ
リ9に記憶し、図示せぬ印刷機構部からの印刷デ
ータ要求に応じて、印刷データを図示せぬ印刷機
構部へ送り印刷すると第6図bの如き印刷が得ら
れる。第6図cは文字回転が有る場合で、前記第
6図bの文字回転が無い場合とは第2の印刷パタ
ーン情報の内に文字“2”に対して左回転、文字
“3”に対して右回転指示があることが異なり他
は同様である。
Next, the operation when surface rotation is not performed, that is, when paper is inserted from the narrow width direction and printing is performed in the narrow width direction, will be described with reference to FIGS. 6b and 6c. 6b and 6c that are the same as those in FIG. 6a are given the same reference numerals. In FIGS. 6b and 6c, the printing origin Q and the printing sub-origin Q' are at the same position. In other words , the scanning direction of print data when printing (the direction of arrows x 0 , x 1 , ... And the second
The effective printing area 12 is converted into printing pattern information.
The direction of storing data in the memory address group of the page memory 5 corresponding to the grid (direction of arrows x 0 , x 1 , ... x o-1 )
are the same. FIG. 6b shows a case where there is no character rotation, and this type of printing is similar to the plane rotation shown in FIG.
System 3 converts it into second printing pattern information,
The print data is stored in a memory address group of the page memory 5 corresponding to each grid of the effective print area 12, and when printing, the print data is read out from the font memory 6 according to the character code, sent to the pivot control section 7, and then The unit 7 sends the print data to the shift control unit 8 without performing character rotation, and the shift control unit 8 shifts the print data by horizontal shift and vertical shift, stores it in the line buffer memory 9, and sends it from the printing mechanism unit (not shown). In response to the print data request, the print data is sent to a printing mechanism (not shown) and printed, resulting in a print as shown in FIG. 6b. Figure 6c shows the case where there is character rotation, and the case where there is no character rotation in Figure 6b is the case where the character "2" is rotated to the left and the character "3" is rotated to the left in the second printing pattern information. The other difference is that there is a clockwise rotation instruction.

(発明の効果) 以上詳細に説明した様に、印刷用紙の有効印刷
領域を2つ以上の文字の文字原点が同一格子内に
存在しない複数の格子に分割し、各格子位置に対
応したページ・メモリの記憶番地群に該格子の印
刷データを表わすに十分な印刷情報を記憶し、用
紙を幅狭方向から挿入して幅広方向印刷を行なう
面回転時にはフオント・メモリから読み出した印
刷データをピボツト・コントロール部で文字回転
し、有効印刷領域の格子と文字枠とのずれに応じ
てシフト・コントロール部で印刷データをシフト
し、行バツフア・メモリに1格子ライン単位に記
憶しておき、印刷ヘツドを有する印刷機構部から
の印刷データ要求に応じて印刷機構部へ印刷デー
タを送り印刷することにより、印刷位置に制限を
受けることなく自由な位置に印刷が行なえる面回
転印刷を少ないハードウエアによつて実現でき
る。本発明は有効印刷領域を1/4文字を単位とし
た格子で説明したが、別の大きさの格子を単位と
しても本発明の効果を何ら妨げるものではない。
(Effects of the Invention) As explained in detail above, the effective printing area of the printing paper is divided into a plurality of grids in which the character origins of two or more characters do not lie within the same grid, and the page/grid corresponding to each grid position is divided. Sufficient print information to represent the print data of the grid is stored in a memory address group of the memory, and the print data read from the font memory is pivoted when the sheet is inserted from the narrow width direction and the surface is rotated to print in the wide direction. The control section rotates the characters, the shift control section shifts the print data according to the misalignment between the grid of the effective print area and the character frame, and the data is stored in the line buffer memory in units of grid lines. By sending print data to the printing mechanism section in response to a print data request from the printing mechanism section, it is possible to print at any position without being restricted by the printing position, and with less hardware. It can be realized. Although the present invention has been described using a grid in which the effective printing area is a 1/4 character unit, the effects of the present invention will not be impaired in any way even if a grid of another size is used as a unit.

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

第1図は本発明の一実施例を示すブロツク図で
ある。第2図a〜同図cは第1図のページメモリ
を説明する図であり第2図aは有効印刷領域を示
す図、第2図bはページメモリの記憶空間及び記
憶内容を示す図、第2図cは同図bの水平・垂直
シフト、文字改行ピツチを示す図である。第3図
a〜同図fは第1図のピボツト・コントロール部
を説明する図であり第3図aは正常文字・左回転
文字・右回転文字を示す図、第3図bはピボツ
ト・コントロール部のブロツク部の説明図、第3
図cは正常文字パターンの説明図、第3図dは正
常文字パターンの1/4文字分を抜き出したパター
ンの説明図、第3図eは左回転文字パターンの説
明図、第3図fは右回転文字パターンの説明図で
ある。第4図a〜同図cは第1図のシフト・コン
トロール部を説明する図であり、第4図aは文字
原点と格子原点が同一位置にあるときを示す図、
第4図bは文字原点と格子原点がずれた位置にあ
るときを示す図、第4図cはシフト動作を示す図
である。第5図は第1図の行バツフア・メモリを
説明する図である。第6図a〜第6図cは印刷例
を示す図であり、第6図aは面回転印刷パターン
を示す図、第6図bは正常印刷でその中に文字回
転がないパターンを示す図、第6図cは正常印刷
でその中に文字回転パターンがある場合を示す図
である。 5……ページ・メモリ、6……フオント・メモ
リ、7……ピボツト・コントロール部、8……シ
フト・コントロール部、9……行バツフア・メモ
リ。
FIG. 1 is a block diagram showing one embodiment of the present invention. 2a to 2c are diagrams for explaining the page memory in FIG. 1; FIG. 2a is a diagram showing the effective print area; FIG. 2b is a diagram showing the storage space and storage contents of the page memory; FIG. 2c is a diagram showing horizontal and vertical shifts and character line feed pitches in FIG. 2b. Figures 3a to 3f are diagrams for explaining the pivot control section in Figure 1. Figure 3a is a diagram showing normal characters, left-rotation characters, and right-rotation characters, and Figure 3b is a diagram for explaining the pivot control section. Explanatory diagram of the block part of the part, 3rd
Figure c is an explanatory diagram of a normal character pattern, Figure 3 d is an explanatory diagram of a pattern extracted from a 1/4 character of a normal character pattern, Figure 3 e is an explanatory diagram of a left-rotated character pattern, and Figure 3 f is an explanatory diagram of a pattern in which 1/4 characters are extracted from a normal character pattern. It is an explanatory diagram of a clockwise rotation character pattern. 4a to 4c are diagrams explaining the shift control section of FIG. 1, and FIG. 4a is a diagram showing when the character origin and the grid origin are at the same position,
FIG. 4b is a diagram showing a case where the character origin and the grid origin are at shifted positions, and FIG. 4c is a diagram showing a shift operation. FIG. 5 is a diagram illustrating the row buffer memory of FIG. 1. Figures 6a to 6c are diagrams showing printing examples; Figure 6a is a diagram showing a surface rotation printing pattern; Figure 6b is a diagram showing a normal printing pattern in which there is no character rotation. , FIG. 6c is a diagram showing a case where there is a character rotation pattern in normal printing. 5... Page memory, 6... Font memory, 7... Pivot control section, 8... Shift control section, 9... Row buffer memory.

Claims (1)

【特許請求の範囲】 1 印刷データの回転を行ない、ページ単位で印
刷する印刷装置において、 印刷用紙の有効印刷領域を2つ以上の文字の文
字原点が同一格子内に存在しない複数の格子に分
割したときの各格子位置に対応した記憶番地群に
該格子内の印刷パターン情報を記憶するページ・
メモリと、 前記印刷パターン情報の内の文字コードに対応
した印刷データを記憶するフオント・メモリと、 前記印刷パターン情報の内に文字回転指示が有
ると前記フオント・メモリから読み出した印刷デ
ータを文字回転し、文字回転指示が無いと文字回
転しないピボツト・コントロール部と、 前記ピボツト・コントロール部から送られた印
刷データを前記印刷パターン情報の内の位置情報
によりシフトするシフト・コントロール部と、 該シフト・コントロール部でシフトされた印刷
データを少なくとも1格子ライン分記憶する行バ
ツフア・メモリと、 これらを制御するマイクロ・コンピユータ・シ
ステムとを備えた ことを特徴とする面回転印刷装置。
[Claims] 1. In a printing device that rotates print data and prints page by page, the effective printing area of printing paper is divided into a plurality of grids in which the character origins of two or more characters do not lie within the same grid. A page that stores printing pattern information in the grid in a memory address group corresponding to each grid position when
a memory; a font memory for storing print data corresponding to a character code in the print pattern information; and a font memory for storing print data corresponding to a character code in the print pattern information; a pivot control section that does not rotate characters unless a character rotation instruction is given; a shift control section that shifts print data sent from the pivot control section based on position information in the print pattern information; A surface rotation printing device comprising: a row buffer memory for storing at least one grid line of print data shifted by a control section; and a microcomputer system for controlling these.
JP58008756A 1983-01-24 1983-01-24 Surface rotation printing system Granted JPS59135170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58008756A JPS59135170A (en) 1983-01-24 1983-01-24 Surface rotation printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58008756A JPS59135170A (en) 1983-01-24 1983-01-24 Surface rotation printing system

Publications (2)

Publication Number Publication Date
JPS59135170A JPS59135170A (en) 1984-08-03
JPH0461776B2 true JPH0461776B2 (en) 1992-10-02

Family

ID=11701766

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58008756A Granted JPS59135170A (en) 1983-01-24 1983-01-24 Surface rotation printing system

Country Status (1)

Country Link
JP (1) JPS59135170A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07115493B2 (en) * 1986-08-13 1995-12-13 アルプス電気株式会社 Aspect conversion printing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54144824A (en) * 1978-05-02 1979-11-12 Fujitsu Ltd Print control system
JPS5611264A (en) * 1979-07-11 1981-02-04 Hitachi Ltd Vertical printing system on chinese character printer
JPS56113195A (en) * 1980-02-13 1981-09-05 Nippon Electric Co Character indicator
JPS57108975A (en) * 1980-12-26 1982-07-07 Hitachi Ltd Character pattern information processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54144824A (en) * 1978-05-02 1979-11-12 Fujitsu Ltd Print control system
JPS5611264A (en) * 1979-07-11 1981-02-04 Hitachi Ltd Vertical printing system on chinese character printer
JPS56113195A (en) * 1980-02-13 1981-09-05 Nippon Electric Co Character indicator
JPS57108975A (en) * 1980-12-26 1982-07-07 Hitachi Ltd Character pattern information processing system

Also Published As

Publication number Publication date
JPS59135170A (en) 1984-08-03

Similar Documents

Publication Publication Date Title
US4593407A (en) Pattern processing system
US5012434A (en) Apparatus and method for selective rotation of data printed by a matrix printer
EP0180258B1 (en) Decoder
JPS5936778B2 (en) data printing device
JP2000158720A (en) Bar code printer
US5822504A (en) Font packing device and font unpacking device
JPH0461776B2 (en)
EP0581515B1 (en) Dot generator for matrix print head
JPS594706B2 (en) Print pattern generator
JPS5848560A (en) Facsimile response device in facsimile response system
JPS59181387A (en) Graphic generator
JP2846357B2 (en) Font memory device
JP2612277B2 (en) High-speed character printing method
JP2711673B2 (en) Image data transfer control method and device
JP2637858B2 (en) Method and apparatus for controlling character arrangement position
JP2748004B2 (en) Rotation processing method of character pattern group
JP2614251B2 (en) Printer print control method
JPH0439434B2 (en)
JPS62241063A (en) Sentence producing device
JPS6364086A (en) Output unit
JPH0358864A (en) Printer
JPH0747326B2 (en) Character pattern converter
JPS59126590A (en) Image pattern surface rotation system
JPS61225063A (en) Printing apparatus
JPS6258511B2 (en)