JPH04122659A - Font controller for printer - Google Patents

Font controller for printer

Info

Publication number
JPH04122659A
JPH04122659A JP24419090A JP24419090A JPH04122659A JP H04122659 A JPH04122659 A JP H04122659A JP 24419090 A JP24419090 A JP 24419090A JP 24419090 A JP24419090 A JP 24419090A JP H04122659 A JPH04122659 A JP H04122659A
Authority
JP
Japan
Prior art keywords
code
data
font
symbol
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP24419090A
Other languages
Japanese (ja)
Inventor
Koichi Sugino
杉野 光一
Kenji Kamiya
神谷 健志
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.)
Seikosha KK
Original Assignee
Seikosha KK
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 Seikosha KK filed Critical Seikosha KK
Priority to JP24419090A priority Critical patent/JPH04122659A/en
Priority to DE19914128583 priority patent/DE4128583A1/en
Publication of JPH04122659A publication Critical patent/JPH04122659A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K2215/00Arrangements for producing a permanent visual presentation of the output data
    • G06K2215/0002Handling the output data
    • G06K2215/0005Accepting output data; Preparing data for the controlling system
    • G06K2215/0014Transforming the printer input data into internal codes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Record Information Processing For Printing (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

PURPOSE:To find out a specific control code easily by constituting a non-symbol font pattern corresponding to a predetermined non-symbol code so as to be different from a non-symbol font pattern corresponding to other non-symbol code than the predetermined code. CONSTITUTION:When a code is an escape code, a data develop means 3 reads out a pattern data corresponding to the escape code from a pattern data memory means 2 so as to develop the pattern data. A develop data memory means 4 stores the developed pattern data. When the code is not a symbol code nor the escape code, the data develop means 3 reads out a pattern data of a period '.' from the pattern data memory means 2 so as to develop the pattern data. The develop data memory means 4 stores the developed pattern data. A print control means 6 receives the developed data from the develop data memory means 4 so as to control printing operation for 1 line.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はプリンタのフォント制御装置に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a font control device for a printer.

[従来の技術] ヘキサダンプ機能を持ったプリンタのなかには、外部装
置から送られてきたコードを16進数表示に変換して印
字するとともに、そのコードに対応したフォントパター
ンも印字するものがある。
[Prior Art] Some printers with a hex dump function convert a code sent from an external device into a hexadecimal representation and print it, and also print a font pattern corresponding to the code.

第5図は、上記従来のダンプ機能を用いてフォントパタ
ーンを印字したものである。すなわち、文字(“A“、
  a”等)、数字(“1″、“2”等)、符号(m#
”、“*”等)等(以下、これらの文字、数字、符号等
を総称して“記号″という。)を表す記号コードが外部
装置から送られてきたときには、記号コードに対応した
記号フォントパターンが印字される。一方、上記記号コ
ード以外を表す非記号コードが外部装置から送られてき
たときには、ピリオド 、”が印字される。この非記号
コードの代表的なものとしては、エスケプコード、キャ
リッジリターンコード、改行コド等の制御コードがあげ
られる。
FIG. 5 shows a font pattern printed using the conventional dump function. That is, the character (“A”,
a”, etc.), numbers (“1”, “2”, etc.), codes (m#
”, “*”, etc.) (hereinafter, these characters, numbers, codes, etc. are collectively referred to as “symbols”), etc.) When a symbol code representing a symbol is sent from an external device, a symbol font corresponding to the symbol code is sent. A pattern is printed. On the other hand, when a non-symbol code representing a symbol code other than the above-mentioned symbol code is sent from an external device, a period "," is printed. Typical non-symbolic codes include control codes such as escape codes, carriage return codes, and line feed codes.

[解決しようとする課題] 第5図に示したダンブリストでは、各非記号コトは同一
のフォントパターンで印字される。したがって、特定の
制御コード(例えばエスケープコード)を見つけること
ができなかった。
[Problem to be Solved] In the dumb list shown in FIG. 5, each non-symbol word is printed with the same font pattern. Therefore, specific control codes (e.g. escape codes) could not be found.

本発明の目的は、フォントパターンを印字したダンプリ
ストのなかから、容易に特定の制御コードを見つけるこ
とができるフォント制御装置を得ることである。
An object of the present invention is to obtain a font control device that can easily find a specific control code from a dump list in which font patterns are printed.

[課題を解決するための手段] 本発明におけるフォント制御装置は、予め決められた非
記号コードに対応した非記号フォントパターンが、その
他の非記号コードに対応した非記号フォントパターンと
異なるように構成したものである。
[Means for Solving the Problems] The font control device of the present invention is configured such that a non-symbolic font pattern corresponding to a predetermined non-symbolic code is different from non-symbolic font patterns corresponding to other non-symbolic codes. This is what I did.

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

第1図は、実施例の構成を示したブロック図である。FIG. 1 is a block diagram showing the configuration of an embodiment.

コード出力手段1は、外部装置(図示せず。)から送ら
れてきたコード(記号コードおよび非記号コード)を出
力するものである。ここで、“記号コード”とは、文字
(“A”、a″等)、数字(“1″、°2″等)、符号
(“#”、“*”等)等(以下、これらの文字、数字、
符号等を総称して“記号1という。)を表すコードをい
う。
The code output means 1 outputs codes (symbolic codes and non-symbolic codes) sent from an external device (not shown). Here, "symbol code" refers to letters ("A", "a", etc.), numbers ("1", °2", etc.), codes ("#", "*", etc.), etc. (hereinafter, these letters, numbers,
This refers to a code that collectively represents a symbol (referred to as "symbol 1").

また、“非記号コード”とは、記号コード以外を表すコ
ードをいう。この非記号コードの代表的なものとしては
、エスケープコード、キャリッジリターンコード、改行
コード等の制御コードがあげられる。
Furthermore, a "non-symbolic code" refers to a code that represents something other than a symbolic code. Typical non-symbolic codes include control codes such as escape codes, carriage return codes, and line feed codes.

パターンデータ記憶手段2は、符号フォントのパターン
データおよび非記号フォントのパターンデータを、各コ
ード(各記号コードおよび各非記号コード)に対応して
記憶するものであり、主としてROMで構成される。
The pattern data storage means 2 stores pattern data of code fonts and pattern data of non-symbol fonts in correspondence with each code (each symbol code and each non-symbol code), and is mainly composed of a ROM.

データ展開手段3は、コード出力手段1から出力される
コードを受けて、パターンデータ記憶手段2に記憶され
ているパターンデータを順次展開するものである。また
、このデータ展開手段3は、上記コードを16進数表示
のデータに展開する機能をも有する。
The data development means 3 receives the code output from the code output means 1 and sequentially develops the pattern data stored in the pattern data storage means 2. The data expansion means 3 also has a function of expanding the above code into data expressed in hexadecimal.

展開データ記憶手段4は、展開データ(バタンデータお
よび16進数表示のデータ)を順次記憶するものであり
、主としてRAMで構成されている。
The expanded data storage means 4 sequentially stores expanded data (bang data and hexadecimal representation data), and is mainly composed of a RAM.

上記パターンデータ記憶手段2、データ展開手段、3お
よび展開データ記憶手段4で、フォントパターン生成手
段5が構成される。
The pattern data storage means 2, data development means 3, and development data storage means 4 constitute a font pattern generation means 5.

印字制御手段6は、展開データ記憶手段4からの展開デ
ータを受けて、フォントパターンの印字を制御するもの
である。
The print control means 6 receives the developed data from the developed data storage means 4 and controls printing of the font pattern.

キャリア送りモータ7、紙送りモータ8および印字ヘッ
ド9は印字手段を構成するものであり、印字制御手段6
からの制御信号を受けて印字動作を行うものである。
The carrier feed motor 7, the paper feed motor 8, and the print head 9 constitute printing means, and the print control means 6
It performs printing operations in response to control signals from the printer.

つぎに、第1図に示した装置の動作を、第2図のフロー
チャートを参照して説明する。
Next, the operation of the apparatus shown in FIG. 1 will be explained with reference to the flowchart shown in FIG.

コード出力手段lでは、外部装置f(図示せず。)から
送られてきた1バイト分のコード(記号コードまたは非
記号コード)を出力する(a)。後述の各動作が行われ
た結果、1行分のデータの展開が終了したかどうか判断
する(b)。1行分のデータの展開が終了していない場
合には、上記コードを16進数表示のデータに展開して
、展開データ記憶手段4に記憶する(d)。上記コード
が記号コードである場合には、データ展開手段3では、
上記コードに対応したパターンデータをパターンデータ
記憶手段2から読み出し、このパターンデータを展開す
る。展開データ記憶手段4では、展開されたパターンデ
ータ(展開データ)を記憶する(eSg)。上記コード
がエスケープコードである場合には、データ展開手段3
では、エスケープコード(16進数で“IB”とする。
The code output means 1 outputs a 1-byte code (symbolic code or non-symbolic code) sent from an external device f (not shown) (a). As a result of each operation described below, it is determined whether or not one row of data has been expanded (b). If the expansion of one line of data is not completed, the code is expanded into hexadecimal data and stored in the expanded data storage means 4 (d). If the above code is a symbol code, the data expansion means 3:
Pattern data corresponding to the above code is read from the pattern data storage means 2, and this pattern data is expanded. The developed data storage means 4 stores developed pattern data (developed data) (eSg). If the above code is an escape code, data expansion means 3
Now, enter the escape code (“IB” in hexadecimal).

)に対応したパターンデータをパターンデータ記憶手段
2から読み出し、このパターンデータを展開する。
) is read out from the pattern data storage means 2, and this pattern data is expanded.

展開データ記憶手段4では、展開されたパターンデータ
(展開データ)を記憶する(fSh)。上記コードが記
号コードでもエスケープコードでもない場合には、デー
タ展開手段3では、ピリオドのパターンデータをパター
ンデータ記憶手段2から読み出し、このパターンデータ
を展開する。展開データ記憶手段4では、展開されたパ
ターンデータ(展開データ)を記憶する(i)。以上の
動作を繰り返して、1行分のデータの展開が終了した場
合には、以下の動作が行われる(b)。
The developed data storage means 4 stores developed pattern data (developed data) (fSh). If the code is neither a symbol code nor an escape code, the data expansion means 3 reads period pattern data from the pattern data storage means 2 and expands this pattern data. The developed data storage means 4 stores developed pattern data (developed data) (i). When the above operations are repeated and one line of data has been expanded, the following operation is performed (b).

印字制御手段6では、展開データ記憶手段4からの展開
データを受けて、1行分の印字動作の制御を行う。この
制御信号を受けて、印字ヘッド9等により1行分の印字
が行われる(C)。1行分の印字が終了すると、展開デ
ータ記憶手段4がクリアされる。
The print control means 6 receives the developed data from the developed data storage means 4 and controls the printing operation for one line. In response to this control signal, printing for one line is performed by the print head 9 or the like (C). When printing for one line is completed, the expanded data storage means 4 is cleared.

以上の動作を繰り返すことにより、第3図に示すような
ヘキサダンプリストが作成される。第4図は第3図の一
部を拡大したものである。第3図および第4図に示され
るように、16進数表示で印字されたエスケープコード
“IB”に対応して、フォントパターン″ESC”が単
一のフォントで印字される。なお、ピリオド 、″て印
字されているフォントは、エスケープコードIB″以外
の非記号コードに対応したものである。
By repeating the above operations, a hex dump list as shown in FIG. 3 is created. FIG. 4 is an enlarged view of a part of FIG. 3. As shown in FIGS. 3 and 4, the font pattern "ESC" is printed in a single font in response to the escape code "IB" printed in hexadecimal notation. Note that the fonts printed with periods and ``correspond to non-symbolic codes other than the escape code IB''.

[効果] 本発明では、予め決められた非記号コートに対応した非
記号フォントパターンを、その他の非記号コードに対応
した非記号フォントパターンと異なるように構成したの
で、フォントパターンを印字したダンブリストのなかか
ら、容易に特定の制御コードを見つけることができる。
[Effect] In the present invention, the non-symbolic font pattern corresponding to the predetermined non-symbolic code is configured to be different from the non-symbolic font pattern corresponding to other non-symbolic codes, so that the font pattern is printed on the dumb list. Among them, you can easily find a specific control code.

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

第1図は本発明における実施例の構成を示したブロック
図、第2図は第1図の動作を示したフローチャート、第
3図は本発明におけるヘキサダンプリストの一例を示し
たもの、第4図は第3図の一部を拡大したもの、第5図
は従来のへキサダンプリストを示したものである。 1・・・・・・コード出力手段 5・・・・・・フォントパターン生成手段6・・・・・
・印字制御手段 以上 出願人  株式会社 精 工 舎
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a flowchart showing the operation of FIG. 1, FIG. 3 is an example of a hex dump list in the present invention, and FIG. The figure is an enlarged view of a part of FIG. 3, and FIG. 5 shows a conventional hex dump list. 1... Code output means 5... Font pattern generation means 6...
・Applicant for printing control means and above: Seikosha Co., Ltd.

Claims (1)

【特許請求の範囲】 文字、数字、符号等を表す記号コードと上記記号コード
以外の非記号コードとを出力するコード出力手段と、 上記記号コードに対応した記号フォントパターンおよび
上記非記号コードに対応した非記号フォントパターンを
生成するフォントパターン生成手段と、 上記フォントパターン生成手段で生成されたフォントパ
ターンの印字を制御する印字制御手段とからなり、 上記フォントパターン生成手段で生成される上記非記号
フォントパターンのうち、予め決められた非記号コード
に対応した非記号フォントパターンが、その他の非記号
コードに対応した非記号フォントパターンと異なるよう
に構成した プリンタのフォント制御装置。
[Claims] Code output means for outputting a symbol code representing a letter, number, code, etc. and a non-symbol code other than the symbol code, and a symbol font pattern corresponding to the symbol code and a symbol code corresponding to the non-symbol code. font pattern generation means for generating a non-symbolic font pattern, and print control means for controlling printing of the font pattern generated by the font pattern generation means, the non-symbolic font generated by the font pattern generation means; A font control device for a printer configured such that a non-symbolic font pattern corresponding to a predetermined non-symbolic code among the patterns is different from non-symbolic font patterns corresponding to other non-symbolic codes.
JP24419090A 1990-09-14 1990-09-14 Font controller for printer Pending JPH04122659A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP24419090A JPH04122659A (en) 1990-09-14 1990-09-14 Font controller for printer
DE19914128583 DE4128583A1 (en) 1990-09-14 1991-08-28 HEX-dump character control appts. for printer output - generates different character pattern for predefined special code enabling detection of code dump-list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24419090A JPH04122659A (en) 1990-09-14 1990-09-14 Font controller for printer

Publications (1)

Publication Number Publication Date
JPH04122659A true JPH04122659A (en) 1992-04-23

Family

ID=17115114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24419090A Pending JPH04122659A (en) 1990-09-14 1990-09-14 Font controller for printer

Country Status (2)

Country Link
JP (1) JPH04122659A (en)
DE (1) DE4128583A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8615158B2 (en) 2004-02-16 2013-12-24 Sony Corporation Reproduction device, reproduction method, program storage medium, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8615158B2 (en) 2004-02-16 2013-12-24 Sony Corporation Reproduction device, reproduction method, program storage medium, and program

Also Published As

Publication number Publication date
DE4128583A1 (en) 1992-03-19

Similar Documents

Publication Publication Date Title
EP0194676B1 (en) Thermal printer
GB2192744A (en) A word processor with attribute functions
JPH0441548B2 (en)
JPH04122659A (en) Font controller for printer
JPH0643142B2 (en) Printer space processing device
EP0072708B1 (en) Printer
US5321796A (en) Printer device
JPH08132683A (en) Printer with bar code printing function
JP3004736B2 (en) Thermal printer
JPS5627485A (en) En character processing system of print controller
JP4507526B2 (en) Printing control method and apparatus
JPH05323938A (en) Character pattern generator
JPS62121060A (en) Printing control of dot color printer
JPS60129267A (en) Printing system for letter and the like
JP2689886B2 (en) Dot printer device
JPS61262165A (en) Printing control apparatus
KR930023884A (en) How to Print Labels Using a Dot Printer
JPH0421483A (en) Printing method in line printer
JPS63276570A (en) Printing apparatus
JPS61287761A (en) Document former
JPH0347765A (en) Printer
JPH01141060A (en) Ascii code printing control system
JPS6259048A (en) Dot pattern generation system of dot printer
JPS6389366A (en) Printing position control system
JPH0226869B2 (en)