JPH03227284A - Printing method for printer - Google Patents

Printing method for printer

Info

Publication number
JPH03227284A
JPH03227284A JP2200490A JP2200490A JPH03227284A JP H03227284 A JPH03227284 A JP H03227284A JP 2200490 A JP2200490 A JP 2200490A JP 2200490 A JP2200490 A JP 2200490A JP H03227284 A JPH03227284 A JP H03227284A
Authority
JP
Japan
Prior art keywords
line feed
line
printer
feed amount
inch
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.)
Granted
Application number
JP2200490A
Other languages
Japanese (ja)
Other versions
JP2703640B2 (en
Inventor
Toshihiro Otaki
大滝 敏裕
Motonobu Hatakeyama
元延 畠山
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
Tohoku Oki Electric Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Tohoku Oki Electric 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, Tohoku Oki Electric Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2022004A priority Critical patent/JP2703640B2/en
Publication of JPH03227284A publication Critical patent/JPH03227284A/en
Application granted granted Critical
Publication of JP2703640B2 publication Critical patent/JP2703640B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Handling Of Sheets (AREA)
  • Character Spaces And Line Spaces In Printers (AREA)

Abstract

PURPOSE:To prevent slip in line feeding from happening by a method wherein when a line feed quantity which is not more than a set line feed quantity is indicated, the line feed quantity is converted to a line feed quantity for which a distance between the uppermost position and the lowermost position of a dot matrix for the previous line becomes equal to a distance between respective dots of the printer at the present time, and when a line feed quantity is larger than the set line feed quantity, line feed for a line feed quantity for which the line feed quantity and a stored/added line feed quantity are totaled is performed. CONSTITUTION:A line feed count circuit 1 divides line feeds which are not more than 24/160 inch from line feeds which are larger than 24/160 inch by line feed commands. In the case of line feed which is not more than 24/160 inch, the difference between a line feed quantity when line feed is performed by an application software and printer and a line feed quantity when a printer is 180DPI is stored and added. In the meantime, when line feed is larger than 24/160 inch, the difference in line feed quantities is not added. The stored/added line feed quantity and line feed command are sent to a line feed execution circuit 2, and printing is executed. When line feed is not more than 24/160 inch, the line feed execution circuit 2 executes only line feed by the line feed command, and when line feed is larger than 24/160 inch, the line feed execution circuit 2 jointly executes line feed by the stored/added line feed quantity and line feed by the line feed command.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、異なったDPI構成のプリンタの印字方法に
関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a printing method for printers with different DPI configurations.

(従来の技術) 従来、異なったDPI(ドツトパーインチ)構成のプリ
ンタで印字を行う場合、例えば1600PI構成のアプ
リケーションソフトウェアをiso opr構成のプリ
ンタで印字する場合、文字を印字する箇所においてはD
PI構成が異なる場合でもプリンタのDPI構成に対応
するドツト数が選択されるため、データ上の文字の大き
さと印字される文字の大きさは異ならない。ところがイ
メージ印字を行う箇所になると、DPI構成の違いから
実際のイメージと異なる大きさのイメージが印字されて
しまうため改行量を、 (発明が解決しようとする課題) しかしながら、上記従来の異なったDPI構成のプリン
タにおける印字方法においては、例えば1600PI構
成のプリンタと180 [IPI構成のプリンタを比較
する−と、同じアプリケーションソフトウェアにより印
字を行った場合、印字結果に差が生じてしまう。
(Prior art) Conventionally, when printing with a printer with a different DPI (dot per inch) configuration, for example, when printing application software with a 1600 PI configuration on a printer with an ISO OPR configuration, the D
Even if the PI configuration is different, the number of dots corresponding to the DPI configuration of the printer is selected, so the size of the characters on the data and the size of the printed characters do not differ. However, when it comes to the part where image printing is performed, an image of a size different from the actual image is printed due to the difference in the DPI configuration. Regarding the printing method of a printer with a 1600PI configuration and a printer with a 180IPI configuration, for example, if printing is performed using the same application software, there will be a difference in the printing results.

第2図は異なるDPI構成のプリンタの印字結果の比較
図、第2図(A)は160 、DPI構成の印字結果を
示す図、第2図(B)は1800PI構成の印字結果を
示す図である。
Figure 2 is a comparison diagram of the print results of printers with different DPI configurations, Figure 2 (A) is a diagram showing the print results of the 160, DPI configuration, and Figure 2 (B) is a diagram showing the print results of the 1800 PI configuration. be.

図のように、1600PI構成のプリンタに対して18
00PI構成のプリンタの縦方向の印字結果が、となる
。すなわち、印字を行うごとに の改行差が生じてしまいページの全体長が変化してしま
う。
As shown in the figure, for a printer with a 1600 PI configuration, 18
The printing result in the vertical direction of the printer with the 00PI configuration is as follows. That is, a line feed difference occurs each time printing is performed, and the overall length of the page changes.

本発明は、上記従来の異なったDPI構成のプリンタに
おける印字方法の問題点を解決して、アプリケーション
ソフトウェアと異なるDPI構成のプリンタで印字した
場合に、改行ずれが生じたり、ページ全体長が変化する
ことのない異なったDPI構成のプリンタにおける印字
方法を提供することを目的とする。
The present invention solves the above-mentioned problems with the conventional printing method using printers with different DPI configurations, and when printing with printers with different DPI configurations than application software, line breaks may occur or the overall page length may change. It is an object of the present invention to provide a printing method for printers with different DPI configurations.

(課題を解決するための手段) そのために、本発明の印字方法においては、使用するア
プリケーションソフトウェアが本来規定しているDPI
構成と異なったDPI構成を有するプリンタにおいて、
規定されたDPI構成を有する本来のプリンタにより印
字されるドツトマトリックスの最上位位置と前行のドツ
トマトリックスの最下位位置が本来のプリンタの各ドツ
ト間の距離と等しくなるような改行量が設定される。
(Means for Solving the Problem) For this purpose, in the printing method of the present invention, the DPI that is originally defined by the application software to be used is
In a printer with a DPI configuration different from the configuration,
The line feed amount is set so that the top position of the dot matrix printed by the original printer with the specified DPI configuration and the bottom position of the previous line's dot matrix are equal to the distance between each dot of the original printer. Ru.

また、イメージ印字を行う場合において、上記設定改行
量以下の改行量が指示された場合には、異なったDPI
構成を持つ現実のプリンタにより印字されるドツトマト
リックスの最上位位置と前行のドツトマトリックスの最
下位位置が現実のプリンタの各ドツト間の距離と等しく
なるような改行量に変換して印字を実行する。
In addition, when performing image printing, if a line feed amount less than the above setting line feed amount is specified, a different DPI
Printing is performed by converting the line feed amount so that the top position of the dot matrix printed by the actual printer with the configuration and the bottom position of the previous line's dot matrix are equal to the distance between each dot of the actual printer. do.

この場合、本来のプリンタの改行量と現実のプリンタの
改行量の差を記憶・加算しておく。
In this case, the difference between the line feed amount of the original printer and the line feed amount of the actual printer is stored and added.

そして、文字印字の場合のように上記設定改行量よりも
大きい改行量が指示された場合には、′指示された改行
量と記憶・加算された改行量を合計した改行量の改行を
行うようにしている。
Then, when a line feed amount larger than the set line feed amount is specified, as in the case of character printing, a line feed is performed with a line feed amount that is the sum of the specified line feed amount and the memorized and added line feed amount. I have to.

(作用) 本発明によれば、上記のように本来のプリンタにより印
字されるドツトマトリックスの最上位位置と前行のドツ
トマトリックスの最下位位置が本来のプリンタの各ドツ
ト間の距離と等しくなるような改行量を設定し、該設定
改行量以下の改行量が指示された場合には、異なったD
PIを持つ現実のプリンタにより印字されるドツトマト
リックスの最下位位置と前行のドツトマトリックスの最
下位位置が現実のプリンタの各ドツト間の距離と等しく
なるような改行量に変換して印字を実行し、本来のプリ
ンタの改行量と現実のプリンタの改行量の差を記憶・加
算し、上記設定改行量よりも大きい改行量が指示された
場合に、指示された改行量と記憶・加算された改行量を
合計した改行量の改行を行うようにしているので、イメ
ージ印字ヲ行うごとに生じた改行量の差は記憶・加算さ
れ、文字印字の際に該改行量の差が調整される。
(Function) According to the present invention, as described above, the highest position of the dot matrix printed by the original printer and the lowest position of the dot matrix of the previous line are made equal to the distance between each dot of the original printer. If a line feed amount less than the set line feed amount is specified, a different D
Printing is performed by converting the line feed amount so that the lowest position of the dot matrix printed by an actual printer with PI and the lowest position of the previous line's dot matrix are equal to the distance between each dot of the actual printer. Then, the difference between the original printer's line feed amount and the actual printer's line feed amount is memorized and added, and if a line feed amount larger than the set line feed amount is specified, the difference between the line feed amount and the specified line feed amount is memorized and added. Since the line feed is performed by the line feed amount that is the sum of the line feed amounts, the difference in line feed amount that occurs each time image printing is performed is stored and added, and the difference in line feed amount is adjusted when printing characters.

(実施例) 以下、本発明の実施例について図面を参照しながら詳細
に説明する。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明のプリンタの印字方法を実施するための
ブロック図である。
FIG. 1 is a block diagram for implementing the printing method of the printer of the present invention.

図において、1は改行差を記憶・加算する改行カウント
回路であり、改行実行回路2が接続される。該改行実行
回路2は改行コマンドと記憶・加算された改行量の分の
改行を改行カウント回路1の指示により実行する。
In the figure, 1 is a line feed count circuit that stores and adds the line feed difference, to which a line feed execution circuit 2 is connected. The line feed execution circuit 2 executes line feeds equal to the line feed amount stored and added to the line feed command according to instructions from the line feed count circuit 1.

ここで、アプリケーションソフトウェアで規定されるD
PI構成に対応する本来のプリンタにより印字されるド
ツトマトリックスの最上位位置と前行のトントマトワッ
クスの最下位位置との間隔は、そのプリンタの各ドツト
間の距離に等しくなるように改行量が設定されている。
Here, D specified by the application software
The distance between the top position of the dot matrix printed by the original printer that supports the PI configuration and the bottom position of the previous line of tomato wax is set so that the line feed amount is equal to the distance between each dot of the printer. It is set.

この時、本来のプリンタと異なるDPI構成のプリンタ
が使用されていると、印字データの改行コマンドが文字
印字のものである場合には、ドツト数を変更することに
より、本来のプリンタと同様の改行量に改行することが
できるが、改行コマンドがイメージ印字のものである場
合にはそのプリンタのDPI構成に対応する値に改行量
を変更してしまう。
At this time, if a printer with a DPI configuration different from the original printer is used, and the line feed command of the print data is for character printing, changing the number of dots will cause the line feed to be the same as the original printer. However, if the line feed command is for image printing, the line feed amount is changed to a value corresponding to the DPI configuration of the printer.

すなわち、改行量は印字されるトントマトワックスの最
上位位置と前行のドツトマトリックス最下位位置との間
隔が現実のプリンタの各ドツト間の距離に等しくなるよ
うに選択される。そして、改行量が変換されることによ
り一回の改行ごとに改行差が生し、それが蓄積されてし
まう。
That is, the line feed amount is selected so that the distance between the top position of the printed tomato wax and the bottom position of the dot matrix of the previous line is equal to the distance between each dot of an actual printer. Then, by converting the line feed amount, a line feed difference occurs for each line feed, and this difference is accumulated.

例えば、アプリケーションソフトウェアの規定している
DPI構成が160 DPI構成であり、プリンタが1
80 DPI構成である場合、印字データ内の改行コマ
ンドが24/160インチ改行であると、プリンタは2
4/180インチ改行に変換して印字を行うため、1/
60インチの改行差が生しる。
For example, the DPI configuration specified by the application software is 160 DPI configuration, and the printer is 160 DPI configuration.
In an 80 DPI configuration, if the line feed command in the print data is a 24/160 inch line feed, the printer will
4/180 inch line feed is converted to print, so 1/
There will be a line break difference of 60 inches.

そこで、本発明の印字方法において改行カウント回路l
は、24/ 160インチ以下の改行かそれより大きい
改行かを改行コマンドで切り分け、24/160インチ
改行以下の場合(イメージ印字の場合)には、同じDP
I構成のアプリケーションソフトウェアとプリンタによ
り改行する場合の改行量(24/160インチ)とプリ
ンタが180 DPIの場合の改行量(24/180イ
ンチ)との差(1/60インチ)を記憶・加算する。
Therefore, in the printing method of the present invention, the line feed count circuit l
For line feeds smaller than 24/160 inches and larger line feeds, use the line feed command, and for line feeds smaller than 24/160 inches (in the case of image printing), use the same DP.
Memorize and add the difference (1/60 inch) between the line feed amount (24/160 inches) when using the application software and printer in the I configuration and the line feed amount (24/180 inches) when the printer is 180 DPI. .

一方、24/160インチ改行より大きい場合(イメー
ジ印字以外の場合)は改行量の差は加算しない。このよ
うに、記憶・加算された改行量と改行コマンドを改行実
行回路2に送り、印字を実行する。
On the other hand, if the line feed amount is larger than 24/160 inches (for cases other than image printing), the difference in line feed amount is not added. In this way, the memorized and added line feed amount and line feed command are sent to the line feed execution circuit 2 to execute printing.

そして、改行実行回路2は24/160インチ以下の改
行の場合には、改行カウント回路1の指示により、改行
コマンドによる改行のみを実行し、24/160インチ
より大きい場合には前回まで記憶・加算された改行量及
び改行コマンドによる改行を併せて実行する。すなわち
、イメージ印字を繰り返すことにより発生した改行量の
差がこの時解消されることになる。
Then, if the line feed is less than 24/160 inches, the line feed execution circuit 2 executes only the line feed by the line feed command according to the instructions from the line feed count circuit 1, and if it is larger than 24/160 inches, it stores and adds up to the previous time. The specified line feed amount and the line feed command are also executed. In other words, the difference in line feed amount caused by repeating image printing is eliminated at this time.

なお、本発明は上記実施例に限定されるものではなく、
本発明の趣旨に基づいて種々の変形が可能であり、これ
らを本発明の範囲から排除するものではない。
Note that the present invention is not limited to the above embodiments,
Various modifications are possible based on the spirit of the present invention, and these are not excluded from the scope of the present invention.

(発明の効果) 以上、詳細に説明したように本発明によれば、本来のプ
リンタにより印字されるトントマトワックスの最上位位
置と前行のドツトマトリックスの最下位位置が本来のプ
リンタの各ドツト間の距離と等しくなるような改行量を
設定しておき、該設定改行量以下の改行量が指示された
場合には、異なったDPI構成を持つ現実のプリンタに
より印字されるドツトマトリックスの最上位位置と前行
のドツトマトリックスの最下位位置が現実のプリンタの
各ドツト間の距離と等しくなるような改行量に変換して
印字を実行するとともに、本来のプリンタの改行量と現
実のプリンタの改行量の差を記憶・加算し、上記設定改
行量よりも大きい改行量が指示された場合には、指示さ
れた改行量と記憶・加算された改行量を合計した改行量
の改行を行うようにしている。
(Effects of the Invention) As described above in detail, according to the present invention, the top position of the tomato wax printed by the original printer and the bottom position of the dot matrix of the previous line are the same as each dot of the original printer. If a line feed amount less than the set line feed amount is specified, the top level of the dot matrix printed by an actual printer with a different DPI configuration will be Printing is performed by converting the line feed amount such that the position and the lowest position of the dot matrix of the previous line are equal to the distance between each dot on the actual printer, and also converts the line feed amount of the original printer and the line feed amount of the actual printer. The difference in amount is memorized and added, and if a line feed amount larger than the set line feed amount is specified, a line feed is performed with the amount of line feed that is the sum of the specified line feed amount and the memorized and added line feed amount. ing.

したがって、アプリケーションソフトウェアとDPI構
成の異なるプリンタで印字した場合に、改行ずれは文字
印字を行うごとに解消され、ページ全体長が変化するこ
とがない。
Therefore, when printing is performed using printers with different application software and DPI configurations, the line feed shift is resolved each time characters are printed, and the overall page length does not change.

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

第1図は本発明のプリンタの印字方法を実施するための
ブロック図、第2図は異なるDPI構成のプリンタの印
字結果の比較図、第2図(A)は160DPIf#成の
印字結果を示す図、第2図(B)は11110DPI構
成の印字結果を示す図である。 1・・・改行カウント回路、2・・・改行実行回路。
Fig. 1 is a block diagram for implementing the printing method of the printer of the present invention, Fig. 2 is a comparison diagram of the printing results of printers with different DPI configurations, and Fig. 2 (A) shows the printing results of 160DPIf# configuration. FIG. 2(B) is a diagram showing the printing results of the 11110 DPI configuration. 1...Line feed count circuit, 2...Line feed execution circuit.

Claims (1)

【特許請求の範囲】 使用するアプリケーションソフトウェアが規定している
DPI構成と異なったDPI構成を有するプリンタの印
字方法において、 (a)規定されたDPI構成を有するプリンタにより印
字されるドットマトリックスの最上位位置と前行のドッ
トマトリックスの最下位位置が本来のプリンタの各ドッ
ト間の距離と等しくなるような改行量を設定し、 (b)該設定改行量以下の改行量が指示された場合には
、異なったDPI構成を有するプリンタにより印字され
るドットマトリックスの最上位位置と前行のドットマト
リックスの最下位位置が異なったDPI構成を有するプ
リンタの各ドット間の距離と等しくなるような改行量に
変換して印字を実行し、 (c)本来のプリンタの改行量と現実のプリンタの改行
量の差を記憶・加算し、 (d)上記設定改行量よりも大きい改行量が指示された
場合には、指示された改行量と記憶・加算された改行量
を合計した改行量の改行を行うことを特徴とするプリン
タの印字方法。
[Claims] In a printing method for a printer having a DPI configuration different from that defined by application software used, (a) the topmost dot matrix printed by a printer having a prescribed DPI configuration; Set the line feed amount so that the position and the lowest position of the dot matrix of the previous line are equal to the distance between each dot of the original printer, (b) If a line feed amount less than the set line feed amount is specified, , the amount of line feed such that the top position of the dot matrix printed by printers with different DPI configurations and the bottom position of the dot matrix of the previous line are equal to the distance between each dot of printers with different DPI configurations. (c) Stores and adds the difference between the original printer's line feed amount and the actual printer's line feed amount; (d) If a line feed amount larger than the set line feed amount is specified, This is a printing method for a printer characterized in that a line feed is performed with a line feed amount that is the sum of an instructed line feed amount and a memorized/added line feed amount.
JP2022004A 1990-02-02 1990-02-02 Printing method of printer Expired - Fee Related JP2703640B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022004A JP2703640B2 (en) 1990-02-02 1990-02-02 Printing method of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022004A JP2703640B2 (en) 1990-02-02 1990-02-02 Printing method of printer

Publications (2)

Publication Number Publication Date
JPH03227284A true JPH03227284A (en) 1991-10-08
JP2703640B2 JP2703640B2 (en) 1998-01-26

Family

ID=12070863

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022004A Expired - Fee Related JP2703640B2 (en) 1990-02-02 1990-02-02 Printing method of printer

Country Status (1)

Country Link
JP (1) JP2703640B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6032690A (en) * 1983-08-03 1985-02-19 Canon Inc Printing apparatus
JPS62181169A (en) * 1986-02-06 1987-08-08 Fujitsu Ltd Line feed controller for printer
JPS63115774A (en) * 1986-11-04 1988-05-20 Oki Electric Ind Co Ltd Line feed correcting method for printer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6032690A (en) * 1983-08-03 1985-02-19 Canon Inc Printing apparatus
JPS62181169A (en) * 1986-02-06 1987-08-08 Fujitsu Ltd Line feed controller for printer
JPS63115774A (en) * 1986-11-04 1988-05-20 Oki Electric Ind Co Ltd Line feed correcting method for printer

Also Published As

Publication number Publication date
JP2703640B2 (en) 1998-01-26

Similar Documents

Publication Publication Date Title
US5025325A (en) Graphics scaling method for high resolution printers
EP0921007A2 (en) Apparatus and method for printing compensation
EP0533411A2 (en) Color printing yielding a dense black image
JP3319834B2 (en) Color separation method in color figure printing
US8675251B2 (en) Multilevel printing process and device using a raster bitmap and assignment method for multilevel screens
EP0753826A3 (en) Printer control unit and method
JPH03227284A (en) Printing method for printer
US6317802B1 (en) System for converting raster image data contained in print data into raster image data having a resolution with which a stencil printer is capable of printing
US7032987B2 (en) Nozzle scheduling for ink jet printing
EP0517263B1 (en) Thermal transfer image forming apparatus
EP0090802B1 (en) A page modification method in a printer subsystem of the partial page buffer composing type
JPH05238094A (en) Page printer and its controller
US6091509A (en) Printer system and method for sending data hints of upcoming data
US6995863B1 (en) Discretionary dotting for artifact control in incremental printing
JPH07203191A (en) Color printer
US7306310B2 (en) Technique for creating print data utilized by an ink jet printer
JP2836026B2 (en) Printing control device
EP0509650B1 (en) Printer having a data output time controller
JP3151248B2 (en) Image processing device
JP4222303B2 (en) Image forming apparatus
US7505175B2 (en) Image formation from raster data selectively processed based on PDL fill or draw commands
JPS62216756A (en) Controlling system for printing vertical rule
JP2946864B2 (en) Thermal transfer type image forming device
JP2021151727A (en) Printing device and computer program
JP3094540B2 (en) Thermal transfer type image forming device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081003

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20091003

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees