JPH0447324A - Printing controlling system for printer - Google Patents

Printing controlling system for printer

Info

Publication number
JPH0447324A
JPH0447324A JP2153747A JP15374790A JPH0447324A JP H0447324 A JPH0447324 A JP H0447324A JP 2153747 A JP2153747 A JP 2153747A JP 15374790 A JP15374790 A JP 15374790A JP H0447324 A JPH0447324 A JP H0447324A
Authority
JP
Japan
Prior art keywords
printing
command
program
input
printer
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
JP2153747A
Other languages
Japanese (ja)
Inventor
Yoshiaki Kubo
久保 義秋
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.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP2153747A priority Critical patent/JPH0447324A/en
Publication of JPH0447324A publication Critical patent/JPH0447324A/en
Pending legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To deal with the correction of business form without delay by generating a program from the input of data, and executing printing by using the generated program. CONSTITUTION:A host device 1 is constituted so as to be provided with an input device 1a such as a keyboard, etc., and a program generating means 10 which generates the program from the input from the input device 1a and sends it to a slave device 2. The slave device 2 is constituted so as to be provided with a printing device 2a such as a serial printer, etc., and a printing means 20 to execute printing by the printing device 2a in conformity to the program sent from the host device 1 having received the data. By inputting the data such as a body face 40, a pitch 41, and designation coordinates 5a to 5c, etc., to the host device 1 by the input device 1a, the program is generated by the program generating means 10, and is sent to the slave device 2. The slave device 2 receives the program sent from the host device 1, and executes the printing by the printing device 2a of the printing means 20.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプリンタの印字制御方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a printing control method for a printer.

〔従来の技術〕[Conventional technology]

従来のプリンタの印字制御方式は、帳表単位に設計を行
いアプリケーションプログラムを製造していた。
Conventional printing control systems for printers have been designed for each ledger and produced by application programs.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のプリンタの印字制御方式は、プログラム
構成が1帳表、1プログラムの対応になっているため、
帳表の変更、追加が発生するとその度にレイアウト変更
、追加に関係あるプログラムの修正、コンパイル、リン
ク、テスト等を行わなければならないという問題点があ
る。
The print control method of the conventional printer described above has a program configuration that supports one form and one program.
There is a problem in that whenever changes or additions are made to the ledger, the layout must be changed, programs related to the additions must be modified, compiled, linked, tested, etc.

また、これらの修正は、多大な工数が費やされるので、
帳表の修正に即時対応することが不可能だという問題点
がある。
In addition, these corrections require a large amount of man-hours, so
There is a problem in that it is impossible to respond immediately to booklet corrections.

本発明の目的は、帳表の修正に即時対応することが可能
なプリンタの印字via方式を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a print via system for a printer that can immediately respond to changes in a ledger.

〔課題を解決するための手段〕[Means to solve the problem]

第1の本発明のプリンタの印字制御方式の構成は、デー
タの入力から70グラムを作成するプログラム作成手段
と、前記プログラム作成手段が作成した前記プログラム
により印字を行う印字手段とを有して構成されている。
The configuration of the printing control system of the printer according to the first aspect of the present invention includes a program creating means for creating 70 grams from input data, and a printing means for printing according to the program created by the program creating means. has been done.

また、第2の本発明のプリンタの印字制御方式の構成は
、データの入力からコマンドを作成するコマンド作成手
段と、前記コマンド作成手段が作成した前記コマンドを
解析するコマンド解析手段と、前記コマンド解析手段が
解析した前記コマンドにより印字を行う印字手段とを有
して構成されている。
Further, the configuration of the print control system of the printer according to the second aspect of the present invention includes: a command creation means for creating a command from input data; a command analysis means for analyzing the command created by the command creation means; and a command analysis means for analyzing the command created by the command creation means. and printing means for printing according to the command analyzed by the means.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照し説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図(a)は本発明の第1の実施例のブロック図、第
1図(b)は本発明の第2の実施例のブロック図である
。同実施例で使用するシステムは、ホストコンピュータ
等の上位情報処理装置(以後、上位装置と記す)1と、
上位装置1と接続しているワークステーション等の下位
情報処理装置(以後、下位装置と記す)2とを有して構
成されている。
FIG. 1(a) is a block diagram of a first embodiment of the present invention, and FIG. 1(b) is a block diagram of a second embodiment of the present invention. The system used in this embodiment includes a higher-level information processing device (hereinafter referred to as a higher-level device) 1 such as a host computer,
It is comprised of a host device 1 and a connected lower-order information processing device (hereinafter referred to as a "lower-order device") 2 such as a workstation.

第1の実施例において、上位波W1はキーボード等の入
力装置1aと、入力装置1aからの入力でプログラムを
作成し下位装置2に送出するプログラム作成手段10と
を有して構成されている。
In the first embodiment, the upper wave W1 includes an input device 1a such as a keyboard, and a program creation means 10 that creates a program based on input from the input device 1a and sends it to the lower device 2.

下位装置2はシリアルプリンタ等の印字装f2aと、受
信した上位装置1から送出されたプログラムにより印字
装置2aで印字を行う印字手段20とを有して構成され
ている。
The lower-level device 2 includes a printing device f2a such as a serial printer, and a printing means 20 that performs printing by the printing device 2a according to a received program sent from the higher-level device 1.

第2の実施例において、上位波W1は入力装置1aと、
入力装置1aからの入力でコマンドを作成し下位袋W2
に送出するコマンド作成手段11とを有して構成されて
いる。下位装置2はシリアルプリンタ等の印字装置2a
と、受信した上位装置1から送出されたコマンドを解析
するコマンド解析手段21と、コマンド解析手段21が
解析したコマンドにより印字装に2aで印字を行う印字
手段20とを有して構成されている。
In the second embodiment, the upper wave W1 is connected to the input device 1a,
Create a command using input from the input device 1a and send it to the lower bag W2
and a command creation means 11 for sending out commands to. The lower device 2 is a printing device 2a such as a serial printer.
, a command analysis means 21 for analyzing the received command sent from the host device 1, and a printing means 20 for printing on the printing device 2a according to the command analyzed by the command analysis means 21. .

第2図は本発明の一実施例の印字用紙1ペ一ジ全体の印
字構成を説明する説明図である。印字用紙1ペ一ジ全体
の印字構成は、複数の1項目の印字位置である印字項目
4から構成され、印字項目4は複数の1字の印字位置で
あるボディーフェース40とその間隔であるじッチ41
とから構成されている。印字項目4の先頭(同実施例で
は左端)のボディーフェース40a、40d。
FIG. 2 is an explanatory diagram illustrating the printing configuration of an entire page of printing paper according to an embodiment of the present invention. The printing configuration of one entire page of printing paper is composed of print items 4, which are the print positions of a plurality of one items, and the print items 4 are the body face 40, which is the print position of a plurality of single characters, and the jig, which is the interval between them. Chi 41
It is composed of. Body faces 40a and 40d at the beginning (left end in the same embodiment) of print item 4.

40fは、左下に指定座標5a、5b、5cを有してい
る。
40f has specified coordinates 5a, 5b, and 5c at the lower left.

次に、第1図(a)と第2図を使用して第1の実施例の
動作を説明する。同実施例は上位装置1に入力装置1a
で、ボディーフェース4oととッチ41と指定座標5等
のデータを入力することにより、プログラム作成手段1
0でプログラムが作成され下位装置2に送出される。下
位装置2は上位装置1から送出されたプログラムを受信
し、印字手段20により印字装置2aで印字を行う。
Next, the operation of the first embodiment will be explained using FIG. 1(a) and FIG. 2. In this embodiment, the host device 1 includes an input device 1a.
By inputting data such as body face 4o, touch 41, designated coordinates 5, etc., program creation means 1 is created.
0, a program is created and sent to the lower-level device 2. The lower-level device 2 receives the program sent from the higher-level device 1, and prints the program using the printing device 2a using the printing means 20.

第3図は本発明の第2の実施例のコマンド構成を説明す
る構成図である。コマンド群3は1つの印字項目4を指
定するコマンド30と、コマンド30の区切りを指定す
るコマンド区切り31と、コマンド群3の区切りを指定
するコマンド群区切り32とから構成されおり、コマン
ド群区切り32で区切られる1つのコマンド群3で印字
用紙1ペ一ジ全体の印字を指定している。コマンド30
は文字の種類を指定する文字フォント300aと、文字
のサイズを指定する文字サイズ300bと、文字間隔を
指定する文字ピッチ300cと、指定座標5をX、Y軸
の座標で指定する座標値300dと、印字する文字の実
際のデータを指定する印字データ300eとから構成さ
れている。
FIG. 3 is a configuration diagram illustrating the command configuration of the second embodiment of the present invention. The command group 3 is composed of a command 30 that specifies one print item 4, a command delimiter 31 that specifies the delimiter of the command 30, and a command group delimiter 32 that specifies the delimiter of the command group 3. One command group 3 separated by is used to specify printing of an entire page of printing paper. command 30
is a character font 300a that specifies the type of character, a character size 300b that specifies the size of the character, a character pitch 300c that specifies the spacing between characters, and a coordinate value 300d that specifies the specified coordinate 5 as the coordinates of the X and Y axes. , and print data 300e specifying the actual data of the characters to be printed.

次に、第1図〜第3図と第4図のコマンド例と印字例と
の関係を説明する説明図を使用して第2の実施例の動作
を説明する。
Next, the operation of the second embodiment will be explained using explanatory diagrams illustrating the relationship between command examples and printing examples shown in FIGS. 1 to 3 and 4.

印字する場合は、上位波W1の入力袋g 1 aにより
印字しようとする文字の文字フォント300a(同実施
例では英字を「1」、数字を「2」)と文字サイズ30
0b (同実施例では1倍を「1」、2倍を「21)と
文字ピッチ300c (同実施例では1mmを’1」−
2mmを「2」〉と指定&標5を指定する座標値300
dと印字データ300eとを指定する。1つの印字項目
4のコマンド30を指定し終えたらコマンド区切り31
を指定し、1ペ一ジ全部の指定が終了したらコマンド群
区切り32を指定する。各指定を入力することにより、
コマンド作成手段11がコマンド群3を作成し下位装置
2に送出する。受信した下位装置2は、コマンド解析手
段21によりコマンド30ごとに解析する。解析された
コマンド30は、印字手段20により印字装f2aで印
字が行われる。
When printing, the character font 300a of the character to be printed (in the same embodiment, "1" for alphabetical characters and "2" for numbers) and character size 30 are selected using the input bag g1a of the upper wave W1.
0b (in the same example, 1x is "1", 2x is "21") and the character pitch is 300c (1 mm is '1' in the same example) -
Specify 2mm as “2”〉 & coordinate value 300 to specify mark 5
d and print data 300e. After specifying the command 30 for one print item 4, select the command delimiter 31
After specifying the entire page, specify the command group delimiter 32. By entering each specification,
The command creation means 11 creates a command group 3 and sends it to the lower device 2. The lower-level device 2 that receives the command analyzes it for each command 30 by the command analysis means 21. The parsed command 30 is printed by the printing device f2a by the printing means 20.

コマンド群3 aはコマンド30aとコマンド30bと
で構成されている0文字フォント300aを「1」、文
字サイズ300bを「1」、文字ピッチ300Cを’ 
1−+ 、座標値300dを(10,20)、印字デー
タ300eをrABC。
Command group 3a is composed of command 30a and command 30b, and sets the zero-character font 300a to "1", the character size 300b to "1", and the character pitch 300C to '1'.
1-+, the coordinate value 300d is (10, 20), and the print data 300e is rABC.

としたコマンド30aの場合、印字用紙には指定座標5
aが(10,20)のボディーフェース40aにr A
 、がボディーフェース40の1倍の大きさで印字され
、1mmのピッチ41aを空け、ボディーフェース40
bに「B」、ボディーフェース40cに「C」が同じよ
うに印字されている。文字フォント300aを「2」7
文字サイズ300bを「2」1文字ピッチ300cを「
2」、座標値300dを(50,100>、印字データ
300eを「12」としたコマンド30bの場合、印字
用紙には指定座標5bが(50゜100)のボディーフ
ェース40dに「1」がボディーフェース40の2倍の
大きさで印字され、2mmのピッチ41bを空け、ボデ
ィーフェース40eの位置に「2」が同じように印字さ
れている。
In the case of command 30a, the specified coordinates 5 are printed on the printing paper.
r A to the body face 40a where a is (10, 20)
, is printed in a size that is once the size of the body face 40, with a pitch 41a of 1 mm left, and the body face 40
``B'' is printed on b, and ``C'' is printed on the body face 40c. Set the character font 300a to "2" 7
Character size 300b is "2" 1 character pitch 300c is "
2", the coordinate value 300d is (50, 100>), and the print data 300e is "12". In the case of the command 30b, "1" is displayed on the body face 40d where the specified coordinate 5b is (50° 100) on the printing paper. It is printed twice the size of the face 40, with a pitch 41b of 2 mm, and "2" is similarly printed at the position of the body face 40e.

なお、同実施例ではコマンドを上位装W1で作成して下
位装W2に送信し、下位装W2で受信して解析し印字を
行うが、性能等に問題がなければ1台の情報処理装置で
すべて処理することも可能である。
In this embodiment, commands are created in the upper device W1, sent to the lower device W2, and received, analyzed, and printed by the lower device W2, but if there is no problem with performance etc., the command can be created by one information processing device. It is also possible to process all of them.

また、同実施例の印字構成やコマンド構成は、使用する
情報処理装置の制約や実施の目的等により、他の構成を
取ることも可能である。
Further, the printing configuration and command configuration of the same embodiment may be other configurations depending on the constraints of the information processing apparatus used, the purpose of implementation, etc.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、コマンドの入力で印字指
定することにより、帳表の修正に即時対応することがで
きる効果を有する。
As explained above, the present invention has the effect of being able to immediately respond to changes in the ledger by specifying printing by inputting a command.

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

第1図は本発明の一実施例のブロック図、第2図は本発
明の一実施例の印字用紙1ペ一ジ全体の印字構成を説明
する説明図、第3図は本発明の第2の実施例のコマンド
構成を説明する構成図、第4図はコマンド例と印字例と
の関係を説明する説明図である。 1−・−・−上位装置、1a・−・−・・入力装置、2
・−・・・・下位装置、2a・・・・・・印字装置、3
・・−・・・コマンド群、4・・・・・・印字項目、5
・−・・指定座標、10−・−・・−プログラム作成手
段、11−−−−−・コマンド作成手段、20・−・・
・・印字手段、21・−・・コマンド解析手段、30−
・−・コマンド、31・・−・・・コマンド区切す、3
2・・・・−・コマンド群区切り、40・・・・・−ボ
ディーフェース、41・・・・・・ピッチ、300a−
・−・・・文字フォント、300b・・・・・・文字サ
イズ、300C・−・・・・文字ピッチ、300d・−
・・・−座標値、300e・・−−−一印字データ。 代理人 弁理士  内 原  晋 箔2図 Jα孜300h調? 、3DOd 00e (C1) (b) 第+l
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram illustrating the printing configuration of an entire page of printing paper in an embodiment of the present invention, and FIG. 3 is a block diagram of an embodiment of the present invention. FIG. 4 is an explanatory diagram illustrating the relationship between command examples and printing examples. 1--- Upper device, 1a-- Input device, 2
...lower device, 2a...printing device, 3
・・・-・・・Command group, 4...Print item, 5
--- Specified coordinates, 10 --- Program creation means, 11 --- Command creation means, 20 ---.
...Printing means, 21--Command analysis means, 30-
・-・Command, 31 ・-・Command separation, 3
2...-Command group separation, 40...-Body face, 41...Pitch, 300a-
・-・Character font, 300b・・・Character size, 300C・・・・Character pitch, 300d・−
...-coordinate value, 300e...--1 print data. Agent Patent Attorney Uchihara Shinpaku 2 figures Jα Kei 300h style? , 3DOd 00e (C1) (b) th +l

Claims (1)

【特許請求の範囲】 1、データの入力からプログラムを作成するプログラム
作成手段と、前記プログラム作成手段が作成した前記プ
ログラムにより印字を行う印字手段とを有することを特
徴とするプリンタの印字制御方式。 2、データの入力からコマンドを作成するコマンド作成
手段と、前記コマンド作成手段が作成した前記コマンド
を解析するコマンド解析手段と、前記コマンド解析手段
が解析した前記コマンドにより印字を行う印字手段とを
有することを特徴とするプリンタの印字制御方式。
[Scope of Claims] 1. A printing control system for a printer, comprising a program creation means for creating a program from input data, and a printing means for printing according to the program created by the program creation means. 2. It has a command creation means for creating a command from input data, a command analysis means for analyzing the command created by the command creation means, and a printing means for printing according to the command analyzed by the command analysis means. A printing control method for a printer characterized by the following.
JP2153747A 1990-06-12 1990-06-12 Printing controlling system for printer Pending JPH0447324A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2153747A JPH0447324A (en) 1990-06-12 1990-06-12 Printing controlling system for printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2153747A JPH0447324A (en) 1990-06-12 1990-06-12 Printing controlling system for printer

Publications (1)

Publication Number Publication Date
JPH0447324A true JPH0447324A (en) 1992-02-17

Family

ID=15569233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2153747A Pending JPH0447324A (en) 1990-06-12 1990-06-12 Printing controlling system for printer

Country Status (1)

Country Link
JP (1) JPH0447324A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7170646B2 (en) 1998-11-24 2007-01-30 Ricoh Company, Ltd. Facsimile device and a facsimile device monitoring system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7170646B2 (en) 1998-11-24 2007-01-30 Ricoh Company, Ltd. Facsimile device and a facsimile device monitoring system

Similar Documents

Publication Publication Date Title
JPH0447324A (en) Printing controlling system for printer
JPH01196096A (en) Output device
EP0090802B1 (en) A page modification method in a printer subsystem of the partial page buffer composing type
JPH02293921A (en) Form generating system
JPH03148725A (en) Character string preparing system
JP2550562B2 (en) Character display device
JP4362499B2 (en) Print processing system, print processing method, and program
JP2904994B2 (en) Coordinate connection display method
JP2682123B2 (en) Data production system for package manufacturing
JPH09167247A (en) File production device for color separation plate
JPH04246569A (en) Printer
JP3034527B2 (en) Editor device
JPH07111727B2 (en) Document reader
JPS62144234A (en) Slip print system
JP3571498B2 (en) Typesetting method and typesetting device, and recording medium recording program for executing the processing
JPS62269991A (en) Character deformation printing processor
JPH02110655A (en) Document preparing device
JP2001328306A (en) Booklet printer
JPH0916796A (en) Document design editing device
JPH06266870A (en) Bar code printer
JPS6339022A (en) Printer interface controller
JPH09114633A (en) Method and device for successively selecting graphics
JPH01246627A (en) Form printing system
JPH02302815A (en) Printer
JPH03130183A (en) Printer