JP2562524B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2562524B2
JP2562524B2 JP3065185A JP6518591A JP2562524B2 JP 2562524 B2 JP2562524 B2 JP 2562524B2 JP 3065185 A JP3065185 A JP 3065185A JP 6518591 A JP6518591 A JP 6518591A JP 2562524 B2 JP2562524 B2 JP 2562524B2
Authority
JP
Japan
Prior art keywords
print
line
data
printer
information
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 - Fee Related
Application number
JP3065185A
Other languages
Japanese (ja)
Other versions
JPH0580951A (en
Inventor
稔 摩須
博美 島方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3065185A priority Critical patent/JP2562524B2/en
Publication of JPH0580951A publication Critical patent/JPH0580951A/en
Application granted granted Critical
Publication of JP2562524B2 publication Critical patent/JP2562524B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/30Hydrogen technology
    • Y02E60/50Fuel cells

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、行/桁制御方式のプリ
ンタ向けに作成されたアプリケーションプログラムを展
開して、それが生成する印刷データをプリンタに出力す
るデータ処理装置に関し、特に、アプリケーションプロ
グラムが、プログラム構成を変更することなく、任意点
アドレス方式を採るプリンタへの印刷を実行できるよう
にするデータ処理装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a line / column control system
Exhibition of application programs created for
Open and print the print data it produces to the printer.
That relates to a data processing device, in particular, application programs, without changing the program configuration, a data processing apparatus that enable and execute printing of the printer take any point addressing scheme.

【0002】最近、様々な印刷形態を可能にするという
ことで任意点アドレス方式を採るプリンタが用いられる
ようになってきている。この任意点アドレス方式のプリ
ンタは、印刷紙面上の任意位置を記述する印刷データを
受け取って、その印刷データをその指定された印刷位置
に印刷していくよう処理するものである。このような任
意点アドレス方式のプリンタを装備していく場合、今ま
で用いられてきたアプリケーションプログラム(ユーザ
プログラム)の変更を強いられることのないようにして
いく必要がある。
In recent years, printers adopting an arbitrary point address system have come to be used because various printing forms are possible. The printer of the arbitrary point address system receives print data describing an arbitrary position on a printing paper surface and processes the print data so as to print the print data at the designated print position. When such an arbitrary point address printer is installed, it is necessary to prevent the application program (user program) that has been used up to now from being changed.

【0003】[0003]

【従来の技術】従来、印刷処理システムでは、印刷行間
隔情報と印刷開始原点情報とを受け取って、行単位の印
刷データの印刷処理を実行するという行/桁制御方式の
プリンタが広く用いられている。これから、そのような
行/桁制御方式のプリンタに印刷処理依頼を発行するア
プリケーションプログラムも、その印刷制御方式に合わ
せて、プリンタに対して、印刷処理に必要となる行間隔
情報及び印刷開始原点情報を指定するという構成を採っ
ていた。しかるに、最近では、上述したような任意点ア
ドレス方式のプリンタが用いられるようになってきてい
る。
2. Description of the Related Art Conventionally, in a print processing system, a line / digit control type printer has been widely used which receives print line interval information and print start origin information and executes print processing of print data in units of lines. There is. From now on, an application program that issues a print processing request to a printer of such a line / digit control system also sends line spacing information and print start origin information required for print processing to the printer in accordance with the print control system. Was adopted. However, in recent years, printers of the arbitrary point address system as described above have come to be used.

【0004】行/桁制御方式のプリンタに替えて、この
ような任意点アドレス方式のプリンタを用いる場合、従
来では、直接印刷データ中に2次元の印刷座標位置を指
定できるようにアプリケーションプログラムを修正して
いく方法が採られていた。
When such an arbitrary point address printer is used instead of the line / digit control printer, conventionally, the application program is modified so that the two-dimensional print coordinate position can be directly specified in the print data. The method of doing was adopted.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うにアプリケーションプログラムを修正していく方法で
は、ユーザに多大な負荷を強いることになるという問題
点があった。しかも、この従来技術に従うと、プログラ
ムを変更する方法であるために、行/桁制御方式のよう
に、印刷時に行間隔を変更することが出来なくなるとい
う問題点もあったのである。
However, the method of modifying the application program in this way has a problem that a great load is imposed on the user. In addition, according to this conventional technique, there is a problem in that the line spacing cannot be changed at the time of printing as in the line / column control system because it is the method of changing the program.

【0006】本発明はかかる事情に鑑みてなされたもの
であって、アプリケーションプログラムが、プログラム
構成を変更することなく、任意点アドレス方式を採るプ
リンタへの印刷を実行できるようにする新たなデータ処
理装置の提供を目的とするものである。
The present invention was made in view of such circumstances, application programs, without changing the program configuration, new to be able to perform the printing to the printer take any point addressing Data processing
The purpose is to provide a processing device.

【0007】[0007]

【課題を解決するための手段】図1に本発明の原理構成
を図示する。図中、1は本発明を具備するホストシステ
ム、2はホストシステム1に接続されるプリンタであ
る。このプリンタ2は、印刷紙面上の任意位置を記述す
る印刷データを受け取って、その印刷データをその指定
された印刷位置に印刷していくという任意点アドレス方
式の印刷制御方式を採るものである。
FIG. 1 shows the principle configuration of the present invention. In the figure, 1 is a host system having the present invention, and 2 is a printer connected to the host system 1. The printer 2 employs a print control method of an arbitrary point address method in which print data describing an arbitrary position on a printing paper surface is received and the print data is printed at the specified print position.

【0008】10はホストシステム1の備えるデータ処
理部であって、ユーザ業務のデータ処理を実行するも
の、11はホストシステム1の備える出力データファイ
ルであって、プリンタ2に出力するデータ処理部10の
出力データを格納するもの、12はホストシステム1の
備える行間隔情報ライブラリであって、印刷処理に用い
る印刷行間隔情報を管理するもの、13はホストシステ
ム1の備えるジョブ制御部であって、データ処理部10
の起動時に、印刷処理を開始する印刷開始原点情報と、
印刷処理に用いる印刷行間隔情報についてのパラメータ
情報とを出力データファイル11に格納するもの、14
はホストシステム1の備える出力制御部であって、プリ
ンタ2への印刷データの出力処理を司るものである。
Reference numeral 10 denotes a data processing unit included in the host system 1, which executes data processing for user work, and 11 indicates an output data file included in the host system 1, which outputs the data to the printer 2. For storing the output line data of the host system 1, 12 for managing the line spacing information library provided in the host system 1, and 13 for managing the print line spacing information used in the printing process, and 13 for the job control unit provided in the host system 1. Data processing unit 10
When starting, the print start origin information to start the print process,
Parameter information about print line interval information used for print processing is stored in the output data file 11, 14
Is an output control unit included in the host system 1 and controls output processing of print data to the printer 2.

【0009】本発明の出力制御部14は、任意点アドレ
ス方式の印刷制御方式を採るプリンタ2の必要とする印
刷位置情報を算出する算出部15と、算出部15の算出
する印刷位置情報を格納する管理部15aと、プリンタ
2に送出される印刷データの行番号を特定する特定部1
6aと、管理部15aに格納される算出部15の算出す
る印刷位置情報を印刷データに付加する付加部16と、
印刷データをプリンタ2に送出する送出部17とを備え
る。
The output control unit 14 of the present invention stores a calculation unit 15 for calculating the print position information required by the printer 2 which adopts the print control method of the arbitrary point address method, and the print position information calculated by the calculation unit 15. Management unit 15a and printer
Identification unit 1 that identifies the line number of the print data sent to
And 6a, an adding unit 16 for adding the print position information calculated by the calculation output unit 15 to be stored in the management unit 15a to the printing data,
And a sending unit 17 for sending print data to the printer 2.

【0010】[0010]

【作用】本発明では、出力制御部14の算出部15は、
出力制御部14の起動に伴って印刷データの印刷要求が
あると、出力データファイル11に格納されるジョブ制
御部13の指定する印刷開始原点情報を読み込むととも
に、出力データファイル11に格納されるジョブ制御部
13の指定するパラメータ情報に従って、行間隔情報ラ
イブラリ12の中からそのパラメータ情報の指定する印
刷行間隔情報を読み込む。そして、この読み込んだ印刷
開始原点情報及び印刷行間隔情報か、任意点アドレス
方式のプリンタ2での印刷に必要となる印刷データの印
刷位置情報を行を単位にして算出して、それを行番号順
に管理部15aに格納する。 この管理部15aの格納デ
ータを受けて、特定部16aは、任意点アドレス方式の
プリンタ2への印刷が指示されるときに、印刷データの
送出順序に従って、その印刷データの行番号を特定し、
これを受けて、付加部16は、管理部15aの格納デー
タを参照することで、特定部16aの特定する行番号の
指す印刷位置情報を検索して、その印刷位置情報を送出
する印刷データに付加し、これを受けて、送出部17
は、印刷位置情報の付加された印刷データをプリンタ2
に送出していくことで、印刷データの印刷を指示してい
く。
In the present invention, the calculation unit 15 of the output control unit 14 is
When a print data print request is issued upon activation of the output control unit 14, the print start origin information specified by the job control unit 13 stored in the output data file 11 is read, and the job stored in the output data file 11 is read. According to the parameter information specified by the control unit 13, the print line interval information specified by the parameter information is read from the line interval information library 12. Then, the read print start origin information and indicia Surigyo distance information or al any point address
Of print data required for printing with the printer 2 of the method
The printing position information is calculated for each line, and is calculated in line number order.
It is stored in the management unit 15a. The storage data of this management unit 15a
In response to the data, the specifying unit 16a uses the arbitrary point address method.
When printing to the printer 2 is instructed, the print data
Specify the line number of the print data according to the sending order,
In response to this, the addition unit 16 causes the storage data of the management unit 15a to be stored.
Of the line number specified by the specifying unit 16a
Search the print position information to point and send the print position information
To the print data to be output, and in response to this , the sending unit 17
Print data to which the print position information is added by the printer 2
The print data is instructed to be printed.

【0011】このように、本発明では、ジョブ制御部1
が、印刷開始原点情報及び印刷行間隔情報を発行する
ことで、任意点アドレス方式のプリンタ2の印刷処理を
制御できるようになるので、行/桁制御方式のプリンタ
向けに作成されたデータ処理部10のプログラム記述を
変更することなく、ホストシステム1(データ処理装
置)に任意点アドレス方式のプリンタ2を接続すること
ができるようになるのである。そして、データ処理部1
0に依らずに、ジョブ制御部13の指示により印刷の行
間隔を決定していく構成を採ることから、印刷時に、行
間隔を自由に変更できるようになるのである。
As described above, according to the present invention, the job control unit 1
3 issues print start origin information and print line interval information
By doing so , it becomes possible to control the printing process of the printer 2 of the arbitrary point address system, and thus the printer of the line / column control system.
Without changing the program description of the data processing unit 10 that was created for the host system 1 (data processing instrumentation
The printer 2 of the arbitrary point address system can be connected to the printer. Then, the data processing unit 1
The line of printing is instructed by the job control unit 13 regardless of 0.
Since the structure that determines the interval is adopted, the line
The interval can be changed freely.

【0012】[0012]

【実施例】以下、実施例に従って本発明を詳細に説明す
る。図2に、図1で説明した出力制御部14の備える算
出部15の実行する処理フローの一実施例、図3に、図
1で説明した出力制御部14の備える付加部16及び特
定部16a(以下、付加部16と略記する)の実行する
処理フローの一実施例を図示する。次に、この2つの処
理フローに従って、本発明について詳細に説明する。
EXAMPLES The present invention will be described in detail below with reference to examples. FIG. 2 shows an example of a processing flow executed by the calculation unit 15 included in the output control unit 14 described with reference to FIG. 1, and FIG. 3 includes an addition unit 16 and special features included in the output control unit 14 described with reference to FIG.
An example of a processing flow executed by a constant unit 16a (hereinafter abbreviated as an adding unit 16) is illustrated. Next, the present invention will be described in detail according to these two processing flows.

【0013】出力制御部14の算出部15は、データ処
理部10から印刷データの印刷要求を受け取ると、図2
の処理フローに示すように、先ず最初に、ステップ1
で、出力データファイル11に格納されるジョブ制御部
13の指定する印刷開始原点情報(X0,0 )を読み込
む。このとき読み込む印刷開始原点情報(X0,0
は、図4に示すように、印刷用紙上での印刷開始原点位
置を規定するものである。続いて、算出部15は、ステ
ップ2で、出力データファイル11に格納されるジョブ
制御部13の指定するパラメータ情報に従って、行間隔
情報ライブラリ12の中からそのパラメータ情報の指定
する印刷行間隔情報を読み込む。このとき読み込む印刷
行間隔情報は、図4に示すように、印刷用紙1ページの
行数分のエントリを持って、この各エントリに、例えば
1インチに6ラインといったような行間隔を規定する行
間隔表示値yi (i=1〜n)を登録管理するものであ
る。なお、ステップ1で読み込んだ印刷開始原点情報
(X0,0 )のX座標値X0 は、付加部16に通知され
ることになる。
When the calculation unit 15 of the output control unit 14 receives the print request for the print data from the data processing unit 10, the calculation unit 15 of FIG.
First, as shown in the processing flow of FIG.
Then, the print start origin information (X 0, Y 0 ) designated by the job control unit 13 and stored in the output data file 11 is read. Print start origin information (X 0, Y 0 ) read at this time
Defines the print start origin position on the printing paper, as shown in FIG. Subsequently, in step 2, the calculation unit 15 obtains the print line spacing information designated by the parameter information from the line spacing information library 12 according to the parameter information designated by the job control unit 13 stored in the output data file 11. Read. As shown in FIG. 4, the print line interval information read at this time has entries for the number of lines of one page of printing paper, and each entry defines a line interval such as 6 lines per inch. The interval display value y i (i = 1 to n) is registered and managed. The X coordinate value X 0 of the print start origin information (X 0, Y 0 ) read in step 1 is notified to the addition unit 16.

【0014】このようにして、印刷開始原点情報(X0,
0 )と印刷行間隔情報(yi )とを読み込むと、算出
部15は、ステップ3で、自らの管理する変数iに
“1”を設定し、続くステップ4で、
In this way, the print start origin information (X 0,
When Y 0 ) and the print line interval information (y i ) are read in, the calculation unit 15 sets “1” to the variable i managed by itself in step 3, and then in step 4,

【0015】[0015]

【数1】 [Equation 1]

【0016】に従って、第1行目の印刷開始位置Y1
算出する。そして、続いて、ステップ5で、この算出し
た第1行目の印刷開始位置Y1 を、図4に図示する行/
座標対応表18の第1番目のエントリに格納する。この
〔数1〕式に従って算出される第1行目の印刷開始位置
1 は、行間隔表示値yi が1インチ(25.4mm)当たり
のライン数を表すことを想定して算出されるものであっ
て、このように想定すると、図5(a)に示すように、
第1行目の行間隔値はそれに対応して“25.4/y1 ”に
なるので、印刷開始原点Y0 を基準として、この行間隔
値の真ん中を第1行目の印刷開始位置Y1 として算出す
るのである。
According to the above, the print start position Y 1 of the first line is calculated. Then, subsequently, in step 5, the calculated print start position Y 1 of the first line is set to the line / line shown in FIG.
It is stored in the first entry of the coordinate correspondence table 18. The print start position Y 1 of the first line calculated according to the formula 1 is calculated assuming that the line spacing display value y i represents the number of lines per inch (25.4 mm). Therefore, assuming this, as shown in FIG.
Since the line spacing value of the first line becomes "25.4 / y 1 " correspondingly, with the print start origin Y 0 as the reference, the middle of this line spacing value is set as the print start position Y 1 of the first line. It is calculated.

【0017】続いて、算出部15は、ステップ6で、変
数iの変数値を1つ歩進し、続くステップ7で、変数i
の変数値が“n+1”になったのか否かを判断する。す
なわち、行間隔情報ライブラリ12から読み込んだ印刷
行間隔情報の持つ全行間隔表示値yi について処理を終
了したのか否かを判断するのである。このステップ7の
判断で、未処理の行間隔表示値yi が残されていると判
断するときには、ステップ8に進んで、
Subsequently, the calculation section 15 increments the variable value of the variable i by 1 in step 6, and in the subsequent step 7, the variable i
It is determined whether the variable value of has become "n + 1". That is, it is determined whether or not the processing has been completed for all the line spacing display values y i included in the print line spacing information read from the line spacing information library 12. If it is determined in step 7 that the unprocessed line spacing display value y i remains, the process proceeds to step 8

【0018】[0018]

【数2】 [Equation 2]

【0019】に従って、第i行目の印刷開始位置Yi
算出する。そして、続くステップ9で、この算出した第
i行目の印刷開始位置Yi を、図4に図示する行/座標
対応表18の第i番目のエントリに格納してから、ステ
ップ6に戻るよう処理する。この〔数2〕式に従って算
出される第i行目の印刷開始位置Yi は、行間隔表示値
i が1インチ(25.4mm)当たりのライン数を表すこと
を想定して算出されるものであって、このように想定す
ると、図5(b)に示すように、第(i−1)行目の行間隔
値と第i行目の行間隔値は、それぞれ“25.4/yi-1
と“25.4/y i ”になるので、第(i−1)行目の印刷開始
位置Yi-1 を基準として、この2つの行間隔値の平均値
を第i行目の印刷開始位置Yi として算出するのであ
る。
According to the above, the printing start position Y of the i-th lineiTo
calculate. Then, in the following step 9, the calculated first
Print start position Y on line iiIs the row / coordinate shown in FIG.
After storing it in the i-th entry of the correspondence table 18,
Process to return to Step 6. Calculate according to this formula
Print start position Y of the i-th row that is issuediIs the line spacing display value
yiRepresents the number of lines per inch (25.4 mm)
It is calculated assuming that
Then, as shown in FIG. 5B, the line spacing of the (i−1) th line
Value and the line spacing value of the i-th line are "25.4 / y"i-1"
And "25.4 / y i", So start printing on line (i-1)
Position Yi-1The average value of these two line spacing values based on
Is the print start position Y of the i-th lineiIs calculated as
You.

【0020】このようにして、ステップ6ないしステッ
プ9の処理を繰り返し実行していくことで、〔数2〕式
により算出される第i行目の印刷開始位置Yi のすべて
を算出すると、算出部15は、ステップ7の判断に従っ
て処理を終了する。この算出部15の実行する処理によ
り、図4に示すように、行/座標対応表18の印刷用紙
の1ページ分として用意されるn個のエントリに、任意
点アドレス方式のプリンタ2の印刷処理の実行に必要と
なるY方向の印刷開始位置Yi が登録されることになる
のである。
In this way, by repeating the processing of steps 6 to 9 to calculate all of the printing start positions Y i of the i-th row calculated by the equation (2), The unit 15 ends the process according to the determination in step 7. By the processing executed by the calculation unit 15, as shown in FIG. 4, the printing processing of the printer 2 of the arbitrary point address method is performed on the n entries prepared as one page of the printing paper of the row / coordinate correspondence table 18. The print start position Y i in the Y direction, which is necessary to execute the above, is registered.

【0021】算出部15による行/座標対応表18のエ
ントリ処理が終了すると、出力制御部14の付加部16
は、図3の処理フローに示すように、先ず最初に、ステ
ップ10で、自らの管理する変数iに“1”を設定し、
続いて、ステップ11で、出力データファイル11から
印刷データの先頭データを読み込む。そして、続くステ
ップ12で、行/座標対応表18の第1番目のエントリ
から、第1行目の印刷開始位置Y1 を読み取り、続くス
テップ13で、この読み取った第1行目の印刷開始位置
1 に従って、ステップ11で読み込んだ印刷データの
先頭データに印刷開始位置情報(X0,Y1 )を付加して
送出部17に渡していく。
When the entry processing of the row / coordinate correspondence table 18 by the calculation unit 15 is completed, the addition unit 16 of the output control unit 14
As shown in the processing flow of FIG. 3, first, in step 10, the variable i managed by itself is set to “1”,
Then, in step 11, the top data of the print data is read from the output data file 11. Then, in the following step 12, the print start position Y 1 of the first line is read from the first entry of the line / coordinate correspondence table 18, and in the following step 13, the read print start position of the first line is read. According to Y 1 , the print start position information (X 0 , Y 1 ) is added to the head data of the print data read in step 11, and the result is passed to the sending unit 17.

【0022】続いて、付加部16は、ステップ14で、
変数iの変数値を1つ歩進し、続くステップ15で、変
数iの変数値が“n+1”になったのか否かを判断す
る。すなわち、印刷用紙の最下行までの処理を終了した
のか否かを判断する。このステップ15の判断により、
印刷用紙の最下行までの処理を終了したと判断するとき
には、ステップ10に戻るよう処理する。一方、印刷用
紙の最下行までの処理を終了していないと判断するとき
には、ステップ16に進んで、出力データファイル11
から印刷データの次データを読み込み、続くステップ1
7で、この読込対象の次データがないと判断するときに
はそのまま処理を終了する。一方、ステップ17の判断
で、ステップ16での次データの読み込みを確認する
と、ステップ18に進んで、行/座標対応表18の第i
番目のエントリから、第i行目の印刷開始位置Yi を読
み取り、続くステップ19で、この読み取った第i行目
の印刷開始位置Yi に従って、ステップ16で読み込ん
だ印刷データに印刷開始位置情報(X0,Yi )を付加し
て送出手段17に渡して、ステップ14に戻るよう処理
する。
Subsequently, the adding unit 16 is step 14
The variable value of the variable i is incremented by one, and in the following step 15, it is determined whether or not the variable value of the variable i has become “n + 1”. That is, it is determined whether or not the processing up to the bottom line of the printing paper has been completed. By the judgment of this step 15,
When it is determined that the process up to the bottom line of the printing paper has been completed, the process returns to step 10. On the other hand, when it is determined that the processing up to the bottom line of the printing paper has not been completed, the process proceeds to step 16 and the output data file 11
Read the next data of the print data from the following step 1
If it is determined in step 7 that there is no next data to be read, the process ends. On the other hand, when it is confirmed in step 17 that the next data is read in step 16, the process proceeds to step 18 and the i-th row / coordinate correspondence table 18
The print start position Y i of the i-th row is read from the entry, and in the following step 19, print start position information is added to the print data read in step 16 according to the read print start position Y i of the i-th row. (X 0 , Y i ) is added and passed to the sending means 17, and processing is returned to step 14.

【0023】このようにして、付加部16は、ステップ
14ないしステップ19の処理を繰り返し実行していく
ことで、図6に示すように、出力データファイル11か
ら読み込んでいく印刷データに、対応の印刷開始位置情
報(X0,Yi )を付加して送出手段17に渡していくよ
う処理するのである。
In this way, the adding unit 16 repeatedly executes the processing of Step 14 to Step 19 to correspond to the print data read from the output data file 11 as shown in FIG. The print start position information (X 0 , Y i ) is added and passed to the sending means 17.

【0024】この付加部16の処理に従って、送出部1
7は、印刷開始位置情報の付加された印刷データをプリ
ンタ2に送出していくことで、任意点アドレス方式のプ
リンタ2での印刷処理を実現していくことになる。これ
により、ジョブ制御部13は、行/桁制御方式のプリン
タに発行すると同じ印刷情報を発行するだけで、任意点
アドレス方式のプリンタ2での印刷処理を制御できるよ
うになる。これから、データ処理部10のプログラム記
述を変更することなく、ホストシステム1に任意点アド
レス方式のプリンタ2を接続することができるようにな
る。
According to the processing of the adding section 16, the sending section 1
By sending the print data to which the print start position information is added to the printer 7, the print processing 7 is realized by the printer 2 of the arbitrary point address method. As a result, the job control unit 13 can control the print processing in the printer 2 of the arbitrary point address system only by issuing the same print information when it is issued to the printer of the line / digit control system. From now on, the printer 2 of the arbitrary point address system can be connected to the host system 1 without changing the program description of the data processing unit 10.

【0025】[0025]

【発明の効果】以上説明したように、本発明によれば、
ホストシステムとプリンタとから構成される印刷処理シ
ステムにおいて、ホストシステムに展開される印刷要求
元のアプリケーションプログラムが、プログラム構成を
変更することなく、任意点アドレス方式を採るプリンタ
への印刷を実行できるようになるのである。そして、ア
プリケーションプログラムに依らずに、ジョブ制御部の
指示により印刷の行間隔を決定していく構成を採ること
から、印刷時に、行間隔を自由に変更できるようになる
のである。
As described above, according to the present invention,
In a print processing system including a host system and a printer, a print request source application program expanded in the host system can execute printing to a printer that adopts an arbitrary point address method without changing the program configuration. It becomes. And a
Of the job control section regardless of the application program
Adopt a configuration that determines the line spacing for printing according to instructions
From here, you can freely change the line spacing when printing
It is.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】算出部の実行する処理フローの一実施例であ
る。
FIG. 2 is an example of a processing flow executed by a calculation unit.

【図3】付加部の実行する処理フローの一実施例であ
る。
FIG. 3 is an example of a processing flow executed by an adding unit.

【図4】算出部の実行する処理の説明図である。FIG. 4 is an explanatory diagram of processing executed by a calculation unit.

【図5】算出部の実行する処理の説明図である。FIG. 5 is an explanatory diagram of processing executed by a calculation unit.

【図6】付加部の実行する処理の説明図である。FIG. 6 is an explanatory diagram of processing executed by an adding unit.

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

1 ホストシステム 2 プリンタ 10 データ処理部 11 出力データファイル 12 行間隔情報ライブラリ 13 ジョブ制御部 14 出力制御部 15 算出部 16 付加部 17 送出部 18 行/座標対応表 1 Host System 2 Printer 10 Data Processing Section 11 Output Data File 12 Line Interval Information Library 13 Job Control Section 14 Output Control Section 15 Calculation Section 16 Addition Section 17 Sending Section 18 Row / Coordinate Correspondence Table

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 行/桁制御方式のプリンタ向けに作成さ
れたアプリケーションプログラムを展開して、それが生
成する印刷データをプリンタに出力するデータ処理装置
において、 ジョブ制御部の指定する印刷開始原点情報及び印刷行間
隔情報を受け取る出力データファイルと、 上記出力データファイルに格納される印刷開始原点情報
及び印刷行間隔情報から、任意点アドレス方式のプリン
タでの印刷に必要となる印刷データの印刷位置情報を行
を単位にして算出する算出部と、 上記算出部の算出する印刷位置情報を行番号順に格納す
る管理部と、 任意点アドレス方式のプリンタへの印刷が指示されると
きに、該プリンタに送出される印刷データの送出順序に
従って、その印刷データの行番号を特定する特定部と、 上記管理部の格納データを参照することで、上記特定部
の特定する行番号の指す印刷位置情報を検索して、その
印刷位置情報を送出する印刷データに付加する付加部と
を備えることを、 特徴とするデータ処理装置。
1. A printer for a line / column control system.
Deployed application program and
Data processing device that outputs the generated print data to the printer
In print start origin information and print rows designated by the job control unit
Output data file that receives the distance information and print start origin information stored in the above output data file
And printing line spacing information
Print position information of print data required for printing
And the print position information calculated by the above calculation unit are stored in the order of line numbers.
When a print command is issued to the management unit and the printer using the arbitrary point address method,
The order of print data sent to the printer.
Therefore, by referring to the specifying unit that specifies the line number of the print data and the data stored in the management unit, the specifying unit
The print position information indicated by the line number specified by
An adder that adds print position information to the print data that is sent
Further comprising a data processing apparatus according to claim.
JP3065185A 1991-03-29 1991-03-29 Data processing device Expired - Fee Related JP2562524B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3065185A JP2562524B2 (en) 1991-03-29 1991-03-29 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3065185A JP2562524B2 (en) 1991-03-29 1991-03-29 Data processing device

Publications (2)

Publication Number Publication Date
JPH0580951A JPH0580951A (en) 1993-04-02
JP2562524B2 true JP2562524B2 (en) 1996-12-11

Family

ID=13279613

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3065185A Expired - Fee Related JP2562524B2 (en) 1991-03-29 1991-03-29 Data processing device

Country Status (1)

Country Link
JP (1) JP2562524B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0197663A (en) * 1987-10-09 1989-04-17 Ricoh Co Ltd Compression of font data

Also Published As

Publication number Publication date
JPH0580951A (en) 1993-04-02

Similar Documents

Publication Publication Date Title
JP2562524B2 (en) Data processing device
KR100217995B1 (en) Printing device preformat feature and method thereof
EP0090802B1 (en) A page modification method in a printer subsystem of the partial page buffer composing type
JP4388749B2 (en) High speed character change control method for laser marking device and laser marking device
JPS63302083A (en) Printer
JP3246142B2 (en) Printing control device
JPS62216029A (en) Graphic print control system
JPH0330977A (en) Page printer control system
JP3118310B2 (en) Print processing method of page printer
JP2550562B2 (en) Character display device
JP3055492B2 (en) Data output device
JP2797134B2 (en) Outline pattern printing device
JP2513682B2 (en) Print control device
JP3003265B2 (en) Serial printer
JPH0490046A (en) Ruled line processor
JP2922068B2 (en) Word processor with character font correction function
JPH0746543Y2 (en) Printer
JP2514428B2 (en) Output control method and device
JP3036064B2 (en) Document output device
JPH06199020A (en) Method and apparatus for controlling label printing
JP2555556B2 (en) Character processor
JP2595086B2 (en) Output control device and ruled line generation method
JPH049156B2 (en)
JPS61139472A (en) Printer
JPS58119040A (en) Print controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960806

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080919

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090919

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees