Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2953877B2 - Printer control method - Google Patents
[go: Go Back, main page]

JP2953877B2 - Printer control method - Google Patents

Printer control method

Info

Publication number
JP2953877B2
JP2953877B2 JP4225456A JP22545692A JP2953877B2 JP 2953877 B2 JP2953877 B2 JP 2953877B2 JP 4225456 A JP4225456 A JP 4225456A JP 22545692 A JP22545692 A JP 22545692A JP 2953877 B2 JP2953877 B2 JP 2953877B2
Authority
JP
Japan
Prior art keywords
data
blank
printer
bitmap
block
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
JP4225456A
Other languages
Japanese (ja)
Other versions
JPH0664253A (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.)
HOTSUKAIDO NIPPON DENKI SOFUTOEA KK
Original Assignee
HOTSUKAIDO NIPPON DENKI SOFUTOEA 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 HOTSUKAIDO NIPPON DENKI SOFUTOEA KK filed Critical HOTSUKAIDO NIPPON DENKI SOFUTOEA KK
Priority to JP4225456A priority Critical patent/JP2953877B2/en
Publication of JPH0664253A publication Critical patent/JPH0664253A/en
Application granted granted Critical
Publication of JP2953877B2 publication Critical patent/JP2953877B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Character Spaces And Line Spaces In Printers (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Dot-Matrix Printers And Others (AREA)
  • Record Information Processing For Printing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はプリンタ制御方式、特に
ビットマップ印刷を行なうページプリンタのプリンタ制
御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a printer control system, and more particularly to a printer control system for a page printer which performs bitmap printing.

【0002】[0002]

【従来の技術】従来、この種のプリンタ制御方式は、上
位から送られてきたビットマップデータに空白データが
連続して送られてきても、印刷データのチェックを行な
うことなく、全てのデータをプリンタへ送出するように
している。
2. Description of the Related Art Conventionally, this type of printer control system is capable of transmitting all data without checking print data even if blank data is continuously transmitted to bitmap data transmitted from a host. It is sent to the printer.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のプリン
タ制御方式は、上位から送られてきたビットマップデー
タに連続した空白データが存在していても、ビットマッ
プデータのチェックは行っておらず、全てのビットマッ
プデータをプリンタヘ送出しているため、ビットマップ
データのパターンに空白データが多いときにはプリンタ
出力データに無駄が生じ、印刷性能が低下するという欠
点がある。
In the conventional printer control method described above, even if continuous blank data exists in the bitmap data sent from the host, the bitmap data is not checked. Since all the bitmap data is sent to the printer, there is a disadvantage that when there is a lot of blank data in the pattern of the bitmap data, the printer output data is wasted and the printing performance is reduced.

【0004】[0004]

【課題を解決するための手段】本発明のプリンタ制御方
式は、ページプリンタによるビットマップ印刷を行なう
ためのプリンタ制御方式において、上位より送られてき
たピットマップデータを受信するピットマップ受信バッ
ファと、このビットマップ受信バッファから同時処理を
行なう縦ビット×1行分のビットを取出し、一定の横ビ
ットからなるブロックごとに空白データのチェックを行
う空白データチェック部と、この空白データチェック部
が空白ブロックを検出したとき空白ブロック分のプリン
タヘッドの移動を行うプリンタヘッド制御部と、前記空
白データチェック部が空白ブロックでないとしたブロッ
クを印刷データとしてプリンタへ送出するデータ出力部
とを有することにより構成される。
A printer control system according to the present invention is a printer control system for performing bitmap printing by a page printer, comprising: a pit map reception buffer for receiving pit map data sent from a host; A blank data check section for taking out vertical bits × one row of bits to be simultaneously processed from this bitmap receiving buffer and checking blank data for each block composed of a certain horizontal bit, and the blank data check section comprising a blank block And a data output unit that sends a block that the blank data check unit determines as a non-blank block to the printer as print data as a print data. You.

【0005】[0005]

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

【0006】図1は本発明の一実施例の構成図である。
図1の実施例は、上位より送られてきたビットマップデ
ータを受信するビットマップ受信バッファ1と、ビット
マップ受信バッファ1の中の空白データのチェックを行
う空白データチェック部2と、空白ブロック分のプリン
タヘッドの移動を行うプリンタヘッド制御部3と、印刷
データをプリンタへ送出するデータ出力部4とから構成
される。
FIG. 1 is a configuration diagram of an embodiment of the present invention.
The embodiment of FIG. 1 includes a bitmap reception buffer 1 for receiving bitmap data sent from a higher order, a blank data check unit 2 for checking blank data in the bitmap reception buffer 1, and a blank block portion. And a data output unit 4 for sending print data to the printer.

【0007】図2は図1の実施例の処理のフローチャー
トで、以下図2を参照して図1の実施例の処理を説明す
る。先ず、上位より送らてきたビットマップデータはビ
ットマップ受信バッファ1へ格納される。次に、空白デ
ータチェック部2により格納されたビットマップデータ
の中の空白データ(NULL)のチェックを行う。この
チェックには、まず内部のカウンタをクリアし(ステッ
プ101)、格納されたビットマップデータを横8ドッ
ト,縦8ドットを1ブロックとした空白データで検索し
(ステップ102)、空白データが見つからない場合
は、カウンタを調べ(ステップ105)、0であること
からデータを出力部へ出力する(ステップ106)。デ
ータ出力部4は印刷データをプリンタへ送出し、プリン
タヘッド制御部3によりX座標を8更新し(ステップ1
07)、プリンタヘッドの移動を行う(ステップ10
8)。ステップ102で空白データを見つけた場合は、
空白データが連続して幾つ存在するかを格納されたビッ
トマップデータ横サイズ分、空白データでない場合まで
検索しカウントしていく(ステップ103,104)
が、ステップ102で空白データでなくなると、ステッ
プ105のカウンタを調べ、プリンタヘッド制御部3に
よりステップ105で求めたカウント数分のX座標を更
新し(ステップ109)、プリンタヘッドの移動のみを
行い(ステップ108)、次の空白データを検索するた
めに、X座標がビットマップデータの横サイズになった
かを調べ(ステップ110)、横サイズになっていなけ
れば空白データチェック部2の処理を繰返すためにステ
ップ101に戻る。
FIG. 2 is a flowchart of the processing of the embodiment of FIG. 1. The processing of the embodiment of FIG. 1 will be described below with reference to FIG. First, the bitmap data sent from the host is stored in the bitmap reception buffer 1. Next, the blank data check unit 2 checks blank data (NULL) in the stored bitmap data. For this check, first, an internal counter is cleared (step 101), and the stored bitmap data is searched for blank data using 8 dots horizontally and 8 dots vertically as a block (step 102), and blank data is found. If not, the counter is checked (step 105), and since it is 0, data is output to the output unit (step 106). The data output unit 4 sends the print data to the printer, and updates the X coordinate by 8 by the printer head control unit 3 (step 1).
07), the printer head is moved (step 10).
8). If you find blank data in step 102,
The number of consecutive blank data is searched and counted by the stored bitmap data horizontal size until it is not blank data (steps 103 and 104).
However, when the data is no longer blank data in step 102, the counter in step 105 is checked, the X-coordinate of the count number obtained in step 105 is updated by the printer head controller 3 (step 109), and only the movement of the printer head is performed. (Step 108) In order to search for the next blank data, it is checked whether or not the X coordinate has become the horizontal size of the bitmap data (Step 110), and if not, the process of the blank data check unit 2 is repeated. To return to step 101.

【0008】以上の処理をビッドマップデータ縦サイズ
÷8回分繰り返すことにより、ビットマップ印刷におけ
る連続した空白データはプリンタへ送出されず、ビット
マップ印刷でのデータは削除される。
By repeating the above processing for the bitmap data vertical size ÷ 8 times, continuous blank data in bitmap printing is not sent to the printer, and data in bitmap printing is deleted.

【0009】[0009]

【発明の効果】以上説明したように本発明は、ビットマ
ップ印刷における印刷データ中の空白データを検索し、
ビットマップ印刷での空白データの削除をすることによ
り、印刷データの削減ができ、印刷性能を向上させるこ
とができるという効果がある。
As described above, the present invention searches for blank data in print data in bitmap printing,
By deleting the blank data in the bitmap printing, the print data can be reduced and the printing performance can be improved.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】図1の実施例の処理のフローチャートである。FIG. 2 is a flowchart of a process of the embodiment of FIG. 1;

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

1 ビットマップ受信バッファ 2 空白データチェック部 3 プリンタヘッド制御部 4 データ出力部 1 bitmap reception buffer 2 blank data check unit 3 printer head control unit 4 data output unit

フロントページの続き (56)参考文献 特開 平2−11357(JP,A) 特開 平4−261876(JP,A) 特開 平4−144759(JP,A) 特開 昭63−222865(JP,A) 特開 昭60−149475(JP,A) 特開 昭59−180727(JP,A) 特開 平5−176142(JP,A) 実開 昭61−94940(JP,U) (58)調査した分野(Int.Cl.6,DB名) B41J 5/30 B41J 2/51 B41J 19/18 B41J 29/38 G06F 3/12 Continuation of front page (56) References JP-A-2-11357 (JP, A) JP-A-4-261876 (JP, A) JP-A-4-144759 (JP, A) JP-A-63-222865 (JP) JP-A-60-149475 (JP, A) JP-A-59-180727 (JP, A) JP-A-5-176142 (JP, A) JP-A-61-94940 (JP, U) (58) Field surveyed (Int.Cl. 6 , DB name) B41J 5/30 B41J 2/51 B41J 19/18 B41J 29/38 G06F 3/12

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ページプリンタによるビットマップ印刷
を行なうためのプリンタ制御方式において、上位より送
られてきたピットマップデータを受信するピットマップ
受信バッファと、このビットマップ受信バッファから同
時処理を行なう縦ビット×1行分のビットを取出し、一
定の横ビットからなるブロックごとに空白データのチェ
ックを行う空白データチェック部と、この空白データチ
ェック部が空白ブロックを検出したとき空白ブロック分
のプリンタヘッドの移動を行うプリンタヘッド制御部
と、前記空白データチェック部が空白ブロックでないと
したブロックを印刷データとしてプリンタへ送出するデ
ータ出力部とを有することを特徴とするプリンタ制御方
式。
In a printer control system for performing bitmap printing by a page printer, a pitmap reception buffer for receiving pitmap data sent from a host, and a vertical bit for performing simultaneous processing from the bitmap reception buffer. × A blank data check unit that extracts bits for one row and checks blank data for each block consisting of a fixed horizontal bit, and moves the printer head for blank blocks when the blank data check unit detects a blank block And a data output unit for sending, to the printer, a block that the blank data check unit determines not to be a blank block as print data.
JP4225456A 1992-08-25 1992-08-25 Printer control method Expired - Fee Related JP2953877B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4225456A JP2953877B2 (en) 1992-08-25 1992-08-25 Printer control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4225456A JP2953877B2 (en) 1992-08-25 1992-08-25 Printer control method

Publications (2)

Publication Number Publication Date
JPH0664253A JPH0664253A (en) 1994-03-08
JP2953877B2 true JP2953877B2 (en) 1999-09-27

Family

ID=16829632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4225456A Expired - Fee Related JP2953877B2 (en) 1992-08-25 1992-08-25 Printer control method

Country Status (1)

Country Link
JP (1) JP2953877B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012064044A (en) * 2010-09-16 2012-03-29 Ricoh Co Ltd Print image data generation device, printer, print control method, and program
JP2012064037A (en) * 2010-09-16 2012-03-29 Ricoh Co Ltd Print image data generation device, printer, print control method, and program
JP6354372B2 (en) * 2014-06-19 2018-07-11 株式会社リコー Image forming apparatus, image forming system, and image forming method

Also Published As

Publication number Publication date
JPH0664253A (en) 1994-03-08

Similar Documents

Publication Publication Date Title
JP2953877B2 (en) Printer control method
WO1993021605A1 (en) A system and method of transferring a bit-mapped image using raster columns
JP2591167B2 (en) Serial printer
JPH0425891A (en) Character processing device and method
JP3465278B2 (en) Image data transmission device
JPH0655524B2 (en) Serial dot printer
JPS62216029A (en) Graphic print control system
JP2002067394A (en) Image recording apparatus and image recording method
JP2933932B2 (en) Character recognition method and apparatus
JP2629098B2 (en) Character arrangement correction method
JP3326042B2 (en) Printing system
JPH0248966A (en) Page printer drawing processing method
JP2620735B2 (en) Printer control device
JPS61104860A (en) Reduction printer
JPH01186360A (en) Printing control system of serial printer
JP3003266B2 (en) Serial printer
JP2704043B2 (en) Image processing device
JP2853132B2 (en) Image data vector conversion method and apparatus
JP2785961B2 (en) Printer device
JPH03120060A (en) Scale-down printing method
JPH04291665A (en) Vertical ruled line printing system
JPS62164548A (en) Dot memory access control method
JPS6218854A (en) Information transmission control system
JPS62226221A (en) Printer error processing system
JPS60107379A (en) Rule printing system

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: 19990622

LAPS Cancellation because of no payment of annual fees