JPH06131132A - Bit map printing system - Google Patents

Bit map printing system

Info

Publication number
JPH06131132A
JPH06131132A JP4282611A JP28261192A JPH06131132A JP H06131132 A JPH06131132 A JP H06131132A JP 4282611 A JP4282611 A JP 4282611A JP 28261192 A JP28261192 A JP 28261192A JP H06131132 A JPH06131132 A JP H06131132A
Authority
JP
Japan
Prior art keywords
storage area
bitmap data
data
bitmap
bit width
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.)
Withdrawn
Application number
JP4282611A
Other languages
Japanese (ja)
Inventor
Tsutomu Mita
勉 三田
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.)
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Solution Innovators Ltd
Original Assignee
HOKKAIDO NIPPON DENKI SOFTWARE KK
NEC Software Hokkaido 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 HOKKAIDO NIPPON DENKI SOFTWARE KK, NEC Software Hokkaido Ltd filed Critical HOKKAIDO NIPPON DENKI SOFTWARE KK
Priority to JP4282611A priority Critical patent/JPH06131132A/en
Publication of JPH06131132A publication Critical patent/JPH06131132A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

PURPOSE:To control printing operation so that no blank is generated in a print result although a blank is usually generated when a serial printer receives and prints bit map data of bit width less than the longitudinal bit width of the head. CONSTITUTION:The bit map data received from application software 20 are passed through an input bit map data storage area and transferred to an output bit map data storage area 14. Next bit map data are transferred to the storage area 14 through the storage area 11 unless the storage area 14 is full, and part of the data which can not be transferred to the storage area 14 is left in the storage area 11 as data for a next turn. The data in the filled storage area 14 are outputted to a printer 30.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はビットマップ印刷方式、
特にアプリケーションソフトウェアが出力するビットマ
ップデータをシリアルプリンタによって印刷するための
ビットマップ印刷方式に関する。
BACKGROUND OF THE INVENTION The present invention relates to a bitmap printing method,
In particular, it relates to a bitmap printing method for printing bitmap data output by application software by a serial printer.

【0002】[0002]

【従来の技術】従来、この種のビットマップ印刷方式
は、シルアルプリンタではヘッドが有する縦ドット数を
単位にドット印刷を行なうようになっているため、アプ
リケーションソフトウェアから送られるビットマップデ
ータは、常に縦ビット単位の固定幅のビットマップデー
タとして処理するようになっている。
2. Description of the Related Art Conventionally, with this type of bitmap printing method, dot printing is performed in units of the vertical dot number of the head in a serial printer, so the bitmap data sent from application software is always It is designed to be processed as fixed width bitmap data in vertical bit units.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のビット
マップ印刷方式は、アプリケーションソフトウェアがへ
っドの縦ビット単位により少ないビット幅のビットマッ
プデータを送ってビットマップ印刷をしようとした場合
には、印刷されたビットマップに空白ができて正確な印
刷ができないという欠点がある。
The conventional bitmap printing method described above is used when the application software attempts to perform bitmap printing by sending bitmap data having a smaller bit width in vertical bit units of the head. However, there is a drawback that the printed bitmap has blanks and cannot be printed accurately.

【0004】[0004]

【課題を解決するための手段】本発明のビットマップ印
刷方式は、上位装置から印刷するシルアルプリンタのプ
リンタヘッドの縦ビット幅より少ないビット幅のビット
マップデータを順次受けて印刷するビットマップ印刷方
式において、上位装置から受けたビットマップデータを
格納する入力のビットマップデータのビット幅の第1の
格納エリアと、上位装置からビットマップデータを受け
るごとにこのビットマップデータの印刷座標を記憶する
第1の座標メモリと、前記第1の格納エリアのビットマ
ップデータを移し替えるプリンタヘッドの縦ビット幅の
第2の格納エリアと、この第2の格納エリアの印刷座標
を記憶する第2の座標メモリとを有し、前記第1の格納
エリアに格納されたビットマップデータを順次前記第2
の格納エリアに移し替え、この第2格納エリアが満杯に
なったとき、満杯になったビットマップデータをプリン
タに出力し、再び前記第1の格納エリアに残っているビ
ットマップデータから前記第2の格納エリアに移し替
え、続いて上位装置からのビットマップデータを前記第
1の格納エリアを介して前記第2の格納エリアが満杯に
なるまで移し替えを繰返し、前記第1の座標メモリの値
が前記第2の座標メモリの値より大きくなくなったとき
前記第2の格納エリアのデータをプリンタへ出力するこ
とにより構成される。
A bitmap printing method of the present invention is a bitmap printing method for sequentially receiving and printing bitmap data having a bit width smaller than the vertical bit width of a printer head of a serial printer for printing from a host device. In the first storage area of the bit width of the input bitmap data for storing the bitmap data received from the host device and the print coordinates of the bitmap data each time the bitmap data is received from the host device. No. 1 coordinate memory, a second storage area having a vertical bit width of the printer head for transferring the bit map data of the first storage area, and a second coordinate memory storing print coordinates of the second storage area. And sequentially stores the bitmap data stored in the first storage area in the second storage area.
When the second storage area is full, the full-filled bitmap data is output to the printer, and the bitmap data remaining in the first storage area is used for the second storage area. Storage area of the first coordinate memory, and then the bitmap data from the host device is repeatedly transferred through the first storage area until the second storage area is full, and the value of the first coordinate memory is stored. When the value does not become larger than the value in the second coordinate memory, the data in the second storage area is output to the printer.

【0005】[0005]

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

【0006】図1は本発明の一実施例の構成図である。
図1の実施例はプリンタドライバ1とアプリケーション
ソフトウェア20とプリンタ30とを示していて、プリ
ンタドライバ1は制御部10,入力ビットマップデータ
格納エリア11,入力ビットマップデータ印刷座標1
2,入力ビットマップデータ残りビット幅13,出力ビ
ットマップデータ格納エリア14,出力ビットマップデ
ータ印刷座標15,および出力ビットマップデータ残り
ピット幅16を有して構成される。
FIG. 1 is a block diagram of an embodiment of the present invention.
The embodiment of FIG. 1 shows a printer driver 1, application software 20, and a printer 30, and the printer driver 1 includes a control unit 10, an input bitmap data storage area 11, an input bitmap data print coordinate 1
2, the input bit map data remaining bit width 13, the output bit map data storage area 14, the output bit map data printing coordinates 15, and the output bit map data remaining pit width 16.

【0007】入力ビットマップデータ格納エリア11は
アプリケーションソフトウェア20が出力するビットマ
ップの1行分のビットマップデータを格納するエリア
で、入力ビットマップデータ印刷座標12は入力ビット
マップデータ格納エリア11に格納されたビットマップ
データを印刷する座標であり、入力ビットマップデータ
の1行の格納ごとに更新される。入力ビットマップデー
タ残りビット幅13には入力ビットマップデータ格納エ
リア11に残っているビットマップデータのビット幅が
格納される。また出力ビットマップデータ格納エリア1
4はプリンタの1行の縦ドット数と同じピット幅を持
ち、1行の印刷でプリンタへ出力されるビットマップを
格納するエリアである。出力ビットマップデータ印刷座
標15は、出力ビットマップデータ格納エリア14に格
納されたビットマップデータを印刷する座標で、出力ビ
ットマップデータ残りビット幅16は出力ビットマップ
データ格納エリア14にまだ格納できるビット幅を格納
するエリアである。制御部10はアプリケーションソフ
トウェア20から入力ビット幅ごとのビットマップデー
タを受け、プリンタ30へ出力ビット幅ごとのビットマ
ップデータを出力する処理を上記各格納エリアを介して
行なう。
The input bitmap data storage area 11 is an area for storing bitmap data for one line of the bitmap output by the application software 20, and the input bitmap data print coordinates 12 are stored in the input bitmap data storage area 11. The coordinates are for printing the bitmap data that has been created, and are updated each time one row of the input bitmap data is stored. The input bit map data remaining bit width 13 stores the bit width of the bit map data remaining in the input bit map data storage area 11. Output bitmap data storage area 1
An area 4 has a pit width equal to the number of vertical dots in one line of the printer and stores a bitmap output to the printer by printing one line. The output bitmap data printing coordinates 15 are coordinates for printing the bitmap data stored in the output bitmap data storage area 14, and the output bitmap data remaining bit width 16 is a bit that can still be stored in the output bitmap data storage area 14. This is the area that stores the width. The control unit 10 receives the bitmap data for each input bit width from the application software 20 and outputs the bitmap data for each output bit width to the printer 30 via each of the storage areas.

【0008】図2では制御部10の処理のフローチャー
トで、以下、図2を参照して図1の動作について説明す
る。アプリケーションソフトウェア20から1行分のビ
ットマップデータとそのビットマップデータの印刷座標
とが渡されると、それぞれを入力ビットマップデータ格
納エリア11と入力ビットマップデータ印刷座標12と
に格納すると共に、入力ビットマップデータ残りビット
幅13に残りビット幅として入力のビット幅のビット数
を格納する(ステップ101)。次に、入力ビットマッ
プデータ格納エリア11のデータを出力ビットマップデ
ータ格納エリア14に移し替え、入力ビットマップデー
タ残りビット幅13は入力ビットマップデータ格納エリ
ア11に移し替えることができなくなくて残ったビット
幅で更新する(ステップ102)。次に、出力ビットマ
ップデータ格納エリア11がビット幅分格納されたかを
調べ(ステップ103)、ビット幅分格納されていなけ
れば、格納されているビット幅で出力ビットマップデー
タ残りビット幅16を更新し(ステップ104)、ステ
ップ101へ戻り、アプリケーションソフトウェア20
から次の入力ビットマップデータを受取り処理を繰返
す。ステップ103でビット幅分格納されていれば、出
力ビットマップデータ格納エリア14のデータをプリン
タへ出力し(ステップ105)、出力ビットマップデー
タ印刷座標15を出力のビット幅のビット数分加えた座
標に更新する(ステップ106)。また出力ビットマッ
プデータ残りビット幅16には、出力すべきデータがな
くなったことから、出力のビット幅のビット数に更新す
る(ステップ107)。次に、入力ビットマップデータ
残りビット幅13が0か、即ち入力ビットマップデータ
格納エリア11にデータが残っているかを調べ(ステッ
プ108)。0でなく残っていればステップ102へ戻
るか、残っていなければ、出力ビットマップデータ印刷
座標15が用紙の印刷可能座標の範囲内にあるかを調べ
(ステップ109)、範囲を超えていれば終了するが、
範囲内であればステップ101に戻ってアプリケーショ
ンソフトウェア20から次の入力ビットマップデータを
受取り処理を繰返す。
FIG. 2 is a flow chart of the processing of the control unit 10, and the operation of FIG. 1 will be described below with reference to FIG. When one line of bitmap data and the print coordinates of the bitmap data are passed from the application software 20, the bitmap data is stored in the input bitmap data storage area 11 and the input bitmap data print coordinates 12, respectively, and the input bit is stored. The number of bits of the input bit width is stored as the remaining bit width in the map data remaining bit width 13 (step 101). Next, the data in the input bit map data storage area 11 is transferred to the output bit map data storage area 14, and the remaining bit width 13 of the input bit map data cannot be transferred to the input bit map data storage area 11 and remains. The bit width is updated (step 102). Next, it is checked whether or not the output bit map data storage area 11 has been stored by the bit width (step 103), and if not stored by the bit width, the output bit map data remaining bit width 16 is updated by the stored bit width. (Step 104), the process returns to step 101, and the application software 20
Repeat the process of receiving the next input bitmap data from. If the bit width has been stored in step 103, the data in the output bitmap data storage area 14 is output to the printer (step 105), and the output bitmap data print coordinates 15 are added by the number of bits of the output bit width. (Step 106). Further, since there is no data to be output in the output bit map data remaining bit width 16, it is updated to the number of bits of the output bit width (step 107). Next, it is checked whether the remaining bit width 13 of the input bitmap data is 0, that is, whether the data remains in the input bitmap data storage area 11 (step 108). If not 0, the process returns to step 102, or if not, it is checked whether the output bitmap data print coordinates 15 are within the range of printable coordinates of the paper (step 109). End,
If it is within the range, the process returns to step 101 and the process of receiving the next input bitmap data from the application software 20 is repeated.

【0009】[0009]

【発明の効果】以上説明したように本発明は、アプリケ
ーションソフトウェアから渡されるビットマップデータ
の幅がプリンタの1行のビット幅より小さい場合でも、
出力ビットマップデータの印刷座標を超える座標のビッ
トマップデータが渡されるまで、プリンタには出力しな
いようにすることにより、アプリケーションソフトウエ
アから渡されるビットマップデータのビット幅が、プリ
ンタの1行のビット幅より小さくても、印刷されるビッ
トマップに空白ができることなく印刷ができるという効
果がある。
As described above, according to the present invention, even when the width of the bitmap data passed from the application software is smaller than the bit width of one line of the printer,
By not outputting to the printer until the bitmap data with coordinates exceeding the print coordinates of the output bitmap data is passed, the bit width of the bitmap data passed from the application software is the bit of one line of the printer. Even if the width is smaller than the width, there is an effect that the printed bitmap can be printed without blank spaces.

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

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

【図2】図1の実施例の動作のフローチャートである。2 is a flowchart of the operation of the embodiment of FIG.

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

1 プリンタドライバ 10 制御部 11 入力ビットマップデータ格納エリア 12 入力ビットマップデータ印刷座標 13 入力ビットマップデータ残りビット幅 14 出力ビットマップデータ格納エリア 15 出力ビットマップデータ印刷座標 16 出力ビットマップデータ残りビット幅 20 アプリケーションソフトウェア 30 プリンタ 1 Printer Driver 10 Control Unit 11 Input Bitmap Data Storage Area 12 Input Bitmap Data Printing Coordinates 13 Input Bitmap Data Remaining Bit Width 14 Output Bitmap Data Storage Area 15 Output Bitmap Data Printing Coordinates 16 Output Bitmap Data Remaining Bit Width 20 Application software 30 Printer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 上位装置から印刷するシルアルプリンタ
のプリンタヘッドの縦ビット幅より少ないビット幅のビ
ットマップデータを順次受けて印刷するビットマップ印
刷方式において、上位装置から受けたビットマップデー
タを格納する入力のビットマップデータのビット幅の第
1の格納エリアと、上位装置からビットマップデータを
受けるごとにこのビットマップデータの印刷座標を記憶
する第1の座標メモリと、前記第1の格納エリアのビッ
トマップデータを移し替えるプリンタヘッドの縦ビット
幅の第2の格納エリアと、この第2の格納エリアの印刷
座標を記憶する第2の座標メモリとを有し、前記第1の
格納エリアに格納されたビットマップデータを順次前記
第2の格納エリアに移し替え、この第2格納エリアが満
杯になったとき、満杯になったビットマップデータをプ
リンタに出力し、再び前記第1の格納エリアに残ってい
るビットマップデータから前記第2の格納エリアに移し
替え、続いて上位装置からのビットマップデータを前記
第1の格納エリアを介して前記第2の格納エリアが満杯
になるまで移し替えを繰返し、前記第1の座標メモリの
値が前記第2の座標メモリの値より大きくなくなったと
き前記第2の格納エリアのデータをプリンタへ出力する
ことを特徴とするビットマップ印刷方式。
1. In a bitmap printing method for sequentially receiving and printing bitmap data having a bit width smaller than a vertical bit width of a printer head of a serial printer for printing from a host device, the bitmap data received from the host device is stored. A first storage area having a bit width of the input bitmap data, a first coordinate memory for storing print coordinates of the bitmap data each time the bitmap data is received from a host device, and a first storage area of the first storage area. A second storage area having a vertical bit width of the printer head for transferring the bit map data, and a second coordinate memory for storing print coordinates of the second storage area are stored in the first storage area. The bitmap data that has been created is sequentially transferred to the second storage area, and when the second storage area becomes full, The full bitmap data is output to the printer, the bitmap data remaining in the first storage area is transferred to the second storage area again, and the bitmap data from the host device is subsequently transferred to the second storage area. The transfer is repeated through the first storage area until the second storage area is full, and the second storage is performed when the value of the first coordinate memory does not become larger than the value of the second coordinate memory. A bitmap printing method characterized by outputting area data to a printer.
JP4282611A 1992-10-21 1992-10-21 Bit map printing system Withdrawn JPH06131132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4282611A JPH06131132A (en) 1992-10-21 1992-10-21 Bit map printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4282611A JPH06131132A (en) 1992-10-21 1992-10-21 Bit map printing system

Publications (1)

Publication Number Publication Date
JPH06131132A true JPH06131132A (en) 1994-05-13

Family

ID=17654773

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4282611A Withdrawn JPH06131132A (en) 1992-10-21 1992-10-21 Bit map printing system

Country Status (1)

Country Link
JP (1) JPH06131132A (en)

Similar Documents

Publication Publication Date Title
JP3295107B2 (en) Image recording device
JP2861404B2 (en) Printing device
JPH06131132A (en) Bit map printing system
JP3465278B2 (en) Image data transmission device
JP2711860B2 (en) Output control method and device
JPS63242561A (en) Font reducing system
US5408592A (en) Printer having a data output time controller
JP3098435B2 (en) Control system for multiple thermal heads
JPH0630927B2 (en) Pattern output method
JP2918552B2 (en) Printing control device
JP2738174B2 (en) Format control method
JP2715475B2 (en) Graphic output device
JP3143118B2 (en) Printer and print image pattern development method
JP3570316B2 (en) Image data conversion method and apparatus
JP3003266B2 (en) Serial printer
JPH06999A (en) Method for reducing image size of printer
JPH0318192B2 (en)
JPH10326166A (en) Printer device
JPH0596811A (en) Printing method
JPS63147221A (en) Hard copy system
JP2002251264A (en) Printer driver and printer device
JPS62130862A (en) Controlling system for printer
JPH06344605A (en) Method for controlling printer
JP2004054504A (en) Print control system
JPH0689019A (en) Slip plotting system and proofreading paper

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000104