JPH04314558A - Method for controlling rule mark printing of printer - Google Patents

Method for controlling rule mark printing of printer

Info

Publication number
JPH04314558A
JPH04314558A JP10635991A JP10635991A JPH04314558A JP H04314558 A JPH04314558 A JP H04314558A JP 10635991 A JP10635991 A JP 10635991A JP 10635991 A JP10635991 A JP 10635991A JP H04314558 A JPH04314558 A JP H04314558A
Authority
JP
Japan
Prior art keywords
printer
printing
code
line
ruled
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
JP10635991A
Other languages
Japanese (ja)
Inventor
Akira Yamazaki
明 山崎
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.)
Takaoka Toko Co Ltd
Original Assignee
Takaoka Electric Mfg 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 Takaoka Electric Mfg Co Ltd filed Critical Takaoka Electric Mfg Co Ltd
Priority to JP10635991A priority Critical patent/JPH04314558A/en
Publication of JPH04314558A publication Critical patent/JPH04314558A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To eliminate the conversion from character code to bit image in a computor, improve memory efficiency, reduce the processes in the computor and shorten the processing time. CONSTITUTION:A control part 3 is provided between a computor 1 and a printer 2 to control a rule mark printing and a memory 4 is provided to temporarily store exogenous character data in the control part 3 in order to send the rule mark and the exogenous character data from the control part 3 to the printer 2 by the character code and change line feed amount or printing position, thereby controlling the rule mark printing.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、プリンタで罫線を印字
する場合の罫線印字制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a ruled line printing control method when printing ruled lines with a printer.

【0002】0002

【従来の技術】プリンタに罫線を印字する時には従来で
は、コンピュータ側で、キャラクタコードをビットイメ
ージに変換し、その変換されたビットイメージをプリン
タにダウンロードすることにより、罫線を印字する方法
が一般的である。
[Prior Art] Conventionally, when printing ruled lines on a printer, the conventional method is to convert a character code into a bit image on the computer side, and then download the converted bit image to the printer. It is.

【0003】0003

【発明が解決しようとする課題】しかしながら、従来の
方法では、罫線を印字する際に、コンピュータ側からプ
リンタにビットイメージをダウンロードしているため、
コンピュータ側でキャラクタコードをビットイメージに
変換する必要があるうえ、変換した膨大なデータをコン
ピュータ内部で持たなければならない。このため、デー
タ転送に時間がかかり、データ変換処理に時間がかかり
過ぎる欠点がある。
[Problem to be Solved by the Invention] However, in the conventional method, when printing ruled lines, a bit image is downloaded from the computer side to the printer.
It is necessary to convert the character code to a bit image on the computer side, and the huge amount of converted data must be stored inside the computer. Therefore, data transfer takes time, and data conversion processing takes too much time.

【0004】そこで、本発明は、コンピュータ内部での
キャラクタコードからビットイメージへの変換処理をな
くすと共に、メモリ効率の向上をはかり、コンピュータ
内部での処理の負担を軽減し、処理時間を短縮すること
を目的とする。
[0004] Therefore, the present invention aims to eliminate the conversion process from character code to bit image inside the computer, improve memory efficiency, reduce the processing load inside the computer, and shorten the processing time. With the goal.

【0005】[0005]

【課題を解決するための手段】コンピュータとプリンタ
間に罫線の印字を制御する制御部を設け、この御部内に
外字データを一時記憶しておくためのメモリを設けるこ
とにより、メモリ内の外字データからキャラクタデータ
を生成し、制御部からプリンタに対しキャラクタコード
で罫線と外字のデータを送り、改行量や印字位置を変え
ることにより罫線の印字を制御する。
[Means for solving the problem] By providing a control section between the computer and the printer to control the printing of ruled lines, and providing a memory for temporarily storing the external character data in this control section, the external character data in the memory can be stored in the memory. The controller generates character data, sends ruled line and external character data to the printer in character code, and controls the printing of ruled lines by changing the line feed amount and printing position.

【0006】[0006]

【作用】上記の方式においては、罫線を印字する時に、
コンピュータ側でのビット変換が不必要になり、膨大な
ビットイメージデータを持つ必要もなくなる。また、コ
ンピュータの内部処理が減少するため、罫線印字のため
の処理時間も短縮できる。
[Operation] In the above method, when printing ruled lines,
There is no need for bit conversion on the computer side, and there is no need to have a huge amount of bit image data. Furthermore, since the internal processing of the computer is reduced, the processing time for printing ruled lines can also be shortened.

【0007】[0007]

【実施例】図1には、本実施例の構成図を示す。本実施
例では、罫線の印字を制御する制御部3をプリンタ2の
インターフェース部に設け、制御部3に外字データを一
時記憶しておくためのメモリ4を設け、制御部3からプ
リンタ2に対しキャラクタコードで罫線と外字のデータ
を送り、改行量や印字位置を変えることにより罫線を印
字制御する。
Embodiment FIG. 1 shows a configuration diagram of this embodiment. In this embodiment, a control section 3 for controlling the printing of ruled lines is provided in the interface section of the printer 2, a memory 4 for temporarily storing external character data is provided in the control section 3, and the control section 3 controls the printing of the printer 2. Data for ruled lines and external characters is sent using character codes, and printing of ruled lines is controlled by changing the line feed amount and printing position.

【0008】本実施例におけるプリンタ2の印字では、
図3に示すように罫線のキャラクタコードはJISコー
ド、24ドット(8)×24ドット(9)を使用し、文
字間を文字の右側に3ドット(10)、改行量つまり、
現在の印字位置13から次行の印字位置14までのドッ
ト幅を30ドット(12)と定め、外字は、図2の外字
5、外字6、外字7を定義する。
[0008] In printing by the printer 2 in this embodiment,
As shown in Figure 3, the character code for the ruled line is JIS code, 24 dots (8) x 24 dots (9), and the character spacing is 3 dots (10) to the right of the character, and the line feed amount is
The dot width from the current printing position 13 to the next line printing position 14 is set as 30 dots (12), and the external characters are defined as external characters 5, 6, and 7 in FIG.

【0009】同一の線の太さである罫線コードは、図4
に示すように基本的に、罫線コード14から罫線コード
24までの11種類存在する。そこで、印字処理では、
制御部3はコンピュータ1から印字データをキャラクタ
コードで受け取り、その中に罫線コード14から罫線コ
ード24まで存在するかを調べ、罫線コード14、罫線
コード16、罫線コード19、罫線コード20が存在す
れば、外字5を、罫線コード17、罫線コード18、罫
線コード21が存在すれば、外字6を、罫線コード15
、罫線コード22、罫線コード23が存在すれば、外字
7を、外字データとし、それ以外のコードであれば、ス
ペースコードを制御部3内のメモリ4に記憶しておき印
字する時に組み合わせ処理を行うことにより罫線印字を
行う。
The ruled line code with the same line thickness is shown in FIG.
As shown in the figure, there are basically 11 types of ruled line codes 14 to 24. Therefore, in the printing process,
The control unit 3 receives print data from the computer 1 in character code, checks whether ruled line codes 14 to 24 are present in the character code, and determines whether ruled line codes 14, 16, 19, and 20 are present. For example, if a ruled line code 17, a ruled line code 18, and a ruled line code 21 exist, the external character 5 is changed to a ruled line code 15.
, ruled line code 22, and ruled line code 23, the external character 7 is used as external character data.If the code is other than that, the space code is stored in the memory 4 in the control unit 3 and the combination processing is performed when printing. By doing this, you can print ruled lines.

【0010】次に組み合わせ処理について図4に基づき
説明する。図4のX1からX4は通常の各行の印字開始
位置であり、Y1からY4は各行の印字開始位置から下
方へ6ドットずらし、更に右に3ドットずらした位置を
示す。
Next, the combination processing will be explained based on FIG. 4. X1 to X4 in FIG. 4 are normal printing start positions for each line, and Y1 to Y4 indicate positions shifted 6 dots downward and further shifted 3 dots to the right from the print start position of each line.

【0011】改行は改行コードにより行い、改行コード
つまり、1行目(X1)の終わりのコードになるまで罫
線のキャラクタコードを印字していき、改行コードにな
った時に、6ドット下方へずらし、続いて印字位置を右
に3ドットずらすことにより、印字位置がY1になり、
罫線文字と罫線文字の間に挿入する形となる。そこで、
上記罫線コードの外字データとして記憶していた外字コ
ードを順に上記罫線の印字カラム数だけ印字していくそ
の後、文字のドット数である24ドットの改行を行うこ
とにより、印字位置が通常印字の2行目(X2)の印字
位置となる。また、外字データを記憶するメモリ4は一
行ごとにオーバライト(上書き)することにより、メモ
リ効率をはかる。
[0011] Line feed is performed using a line feed code, and the character code of the ruled line is printed until the line feed code, that is, the code at the end of the first line (X1) is reached, and when the line feed code is reached, it is shifted 6 dots downward. Next, by shifting the print position 3 dots to the right, the print position becomes Y1,
It is inserted between ruled line characters. Therefore,
The external character codes stored as external character data for the ruled line code are printed in sequence for the number of printing columns for the ruled line. Then, by performing a line feed of 24 dots, which is the number of dots in the character, the printing position is changed to the normal printing position. This is the printing position of line (X2). Furthermore, the memory 4 that stores the private character data is overwritten line by line to improve memory efficiency.

【0012】以上の処理を繰り返し行うことにより罫線
印字を行う。
By repeating the above process, ruled line printing is performed.

【0013】[0013]

【発明の効果】以上説明したように、本発明によれば、
罫線を印字する時に、コンピュータ側でのビット変換が
不必要になり、膨大なビットイメージデータを持つ必要
もなくなるため、メモリ効率の向上につながる。また、
内部処理の負担が減り、処理時間が短くなる。
[Effects of the Invention] As explained above, according to the present invention,
When printing ruled lines, there is no need for bit conversion on the computer side, and there is no need to have a huge amount of bit image data, leading to improved memory efficiency. Also,
The burden on internal processing is reduced and processing time is shortened.

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

【図1】本発明の罫線印字制御方式を示す図である。FIG. 1 is a diagram showing a ruled line printing control system of the present invention.

【図2】罫線の外字データを示す図である。FIG. 2 is a diagram showing external character data for ruled lines.

【図3】プリンタの印字書式を示す図である。FIG. 3 is a diagram showing a print format of the printer.

【図4】印字例を示す図である。FIG. 4 is a diagram showing an example of printing.

【符号の説明】[Explanation of symbols]

1  コンピュータ 2  プリンタ 3  制御部 4  メモリ 1 Computer 2 Printer 3 Control section 4 Memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  コンピュータと該コンピュータから印
字データが入力されて、罫線印字を制御する制御部を備
え、その制御部から出力されたデータにより印字を行う
プリンタの罫線印字制御方式において、前記制御部に外
字データを一時記憶しておくためのメモリを設け、前記
制御部は前記プリンタに対し前記印字データと外字デー
タから成るキャラクタコードを生成して送ることにより
罫線を形成することを特徴とするプリンタの罫線印字制
御方式。
1. A ruled line printing control method for a printer comprising a computer and a control section that receives print data input from the computer and controls ruled line printing, and performs printing according to data output from the control section, wherein the control section A printer is provided with a memory for temporarily storing non-standard character data, and the control unit forms ruled lines by generating and sending a character code consisting of the print data and non-standard character data to the printer. ruled line printing control method.
JP10635991A 1991-04-12 1991-04-12 Method for controlling rule mark printing of printer Pending JPH04314558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10635991A JPH04314558A (en) 1991-04-12 1991-04-12 Method for controlling rule mark printing of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10635991A JPH04314558A (en) 1991-04-12 1991-04-12 Method for controlling rule mark printing of printer

Publications (1)

Publication Number Publication Date
JPH04314558A true JPH04314558A (en) 1992-11-05

Family

ID=14431556

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10635991A Pending JPH04314558A (en) 1991-04-12 1991-04-12 Method for controlling rule mark printing of printer

Country Status (1)

Country Link
JP (1) JPH04314558A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5938080A (en) * 1982-08-26 1984-03-01 Toshiba Corp Form overlay control system
JPS60107379A (en) * 1983-11-17 1985-06-12 Fujitsu Ltd Rule printing system
JPS62226325A (en) * 1986-03-28 1987-10-05 Toshiba Corp Form overlay controller
JPS63142460A (en) * 1986-12-04 1988-06-14 Fujitsu Ltd Processing system for moving and copying ruled line in document processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5938080A (en) * 1982-08-26 1984-03-01 Toshiba Corp Form overlay control system
JPS60107379A (en) * 1983-11-17 1985-06-12 Fujitsu Ltd Rule printing system
JPS62226325A (en) * 1986-03-28 1987-10-05 Toshiba Corp Form overlay controller
JPS63142460A (en) * 1986-12-04 1988-06-14 Fujitsu Ltd Processing system for moving and copying ruled line in document processing system

Similar Documents

Publication Publication Date Title
EP0422793A2 (en) Graphics scaling method for high resolution printers
JPS6122960A (en) Changeover system of printing speed
JPH04314558A (en) Method for controlling rule mark printing of printer
JP4942414B2 (en) Printing device
JPH11348381A (en) Printer
JPS6367167A (en) Printer external character processing method
US5408592A (en) Printer having a data output time controller
KR100212981B1 (en) Output paper and toner saving printing apparatus and method of an image forming apparatus
KR200162887Y1 (en) Sharing instrument of printer
JP3511890B2 (en) Serial printer, print position control method for serial printer
JPS62180419A (en) Printer device
JPS60171527A (en) Printer
JPH01215545A (en) printing device
JP2572857Y2 (en) Thermal transfer type multi-color printing device
JP3003266B2 (en) Serial printer
JP3033731B2 (en) Ruled line processing device, ruled line processing method, and recording medium for recording program
JPH047166A (en) Dot printer
JPH0683823A (en) Data output device
JPH08132684A (en) Braille plate output system and Braille plate output method
JPH0773931B2 (en) How to print graphic data
JPS5827285A (en) Pattern outputting system
JPS61225063A (en) Printing apparatus
JPH11170629A (en) Printer having print head capable of simultaneously printing a plurality of lines and control method thereof
JPH04173268A (en) Print controller
JPH04312863A (en) Printer device