TWI505943B - Printing apparatus and printing apparatus - Google Patents

Printing apparatus and printing apparatus Download PDF

Info

Publication number
TWI505943B
TWI505943B TW101135171A TW101135171A TWI505943B TW I505943 B TWI505943 B TW I505943B TW 101135171 A TW101135171 A TW 101135171A TW 101135171 A TW101135171 A TW 101135171A TW I505943 B TWI505943 B TW I505943B
Authority
TW
Taiwan
Prior art keywords
height
data
image data
printing
character
Prior art date
Application number
TW101135171A
Other languages
Chinese (zh)
Other versions
TW201318882A (en
Inventor
Shunichi Wakasa
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Publication of TW201318882A publication Critical patent/TW201318882A/en
Application granted granted Critical
Publication of TWI505943B publication Critical patent/TWI505943B/en

Links

Landscapes

  • Record Information Processing For Printing (AREA)
  • Dot-Matrix Printers And Others (AREA)

Description

印刷裝置及印刷裝置之控制方法Printing device and control method of printing device

本發明係關於一種根據資料且以列為單位進行印刷之印刷裝置及印刷裝置之控制方法。The present invention relates to a printing apparatus and a printing apparatus control method for printing based on data and in units of columns.

先前,眾所周知有根據自外部設備(控制裝置、主裝置)輸入(接收)之資料,對印刷媒體以列為單位進行印刷之印刷裝置(例如,參照專利文獻1)。該印刷裝置包括:控制部,其根據自外部設備輸入之資料產生以列為單位之印刷資料;以及引擎部,其自控制部接收到印刷資料後,藉由記錄頭對記錄媒體印刷圖像。In the past, a printing apparatus that prints on a printing medium in units of printing based on data input (received) from an external device (control device, main device) is known (for example, refer to Patent Document 1). The printing apparatus includes a control unit that generates print data in units of a column based on data input from an external device, and an engine unit that prints an image on the recording medium by the recording head after receiving the printed material from the control unit.

[先前技術文獻][Previous Technical Literature] [專利文獻][Patent Literature]

[專利文獻1]日本專利特開平7-205498號公報[Patent Document 1] Japanese Patent Laid-Open No. Hei 7-205498

然而,於如上述般以列為單位進行印刷之印刷裝置之情形時,有時在自外部設備輸入之資料中包含文字碼及影像資料,並根據該等進行1列之印刷。於此情形時,於根據資料所產生之1列之印刷資料中,包含與文字碼對應且印刷裝置所內置之字型資料及影像資料(影像資料之至少一部分)之兩者。於此情形時,當對應於該文字碼之字型資料的文字高度(文字之高度方向之點數)與影像資料之高度(影像資料之高度方向之點數)不同之情形時,為了將全部 印刷於1列中,1列之印刷媒體之送紙量係根據高度較高者(點數較多者)而決定並執行。因此,例如於文字高度較影像資料高度高之情形時(「文字高度>影像資料高度」之情形時),就印刷影像資料之部分而言,不進行基於影像資料之圖像(影像圖像)之印刷而僅進行「文字高度-影像資料高度」之送紙。於對在1列中包含字型資料與影像資料之複數列進行印刷之情形時,存在以下問題:若文字高度與影像資料高度不同,則於任一者之高度較低處之各列的邊界部分(列間)會出現間隙,從而無法獲得如期待般之印刷結果。However, in the case of a printing apparatus that performs printing as a unit as described above, text data and video data may be included in the material input from the external device, and one line of printing may be performed based on the above. In this case, the printed data of one column generated based on the data includes both the font data and the image data (at least a part of the image data) corresponding to the text code and built in the printing device. In this case, when the height of the character corresponding to the font data of the character code (the number of points in the height direction of the character) is different from the height of the image data (the number of points in the height direction of the image data), The amount of paper to be fed in one column is printed and determined based on the higher height (the number of points is larger). Therefore, for example, when the height of the text is higher than the height of the image data (in the case of "text height > image data height"), the image based on the image data (image image) is not performed for the portion of the printed image data. For printing, only the paper feed of "Text Height - Image Data Height" is performed. In the case of printing a plurality of columns containing font data and image data in one column, there is a problem that if the height of the text is different from the height of the image data, the boundaries of the columns at the lower height of either one are There is a gap between the parts (between columns), so that the printed result as expected is not obtained.

有時跨複數列而印刷一幅圖像。於此情形時,當於1列中包含字型資料與影像資料,且文字高度較影像資料高度高之情形時,一幅圖像之印刷結果存在以下問題:列間出現用於送紙之空白(白條)並被分割,且印刷結果之外觀變差。Sometimes an image is printed across a plurality of columns. In this case, when the font data and the image data are included in one column, and the height of the text is higher than the image data, the printing result of one image has the following problem: a blank for paper feeding occurs between the columns. (White bars) are divided and the appearance of the printed result is deteriorated.

鑒於上述問題,本發明之目的在於提供一種於對1列中包含字型資料與影像資料之複數列進行印刷之情形時,能夠以在各列之邊界部分不出現間隙之方式進行印刷的印刷裝置及印刷裝置之控制方法。In view of the above problems, it is an object of the present invention to provide a printing apparatus capable of printing without causing a gap at a boundary portion of each column when printing a plurality of columns of font data and image data in one column. And control method of the printing device.

本發明之印刷裝置係可連接於控制裝置、且根據自控制裝置接收之資料對印刷媒體以列為單位進行印刷者,其特徵在於包括:記憶部,其記憶與資料中所含之文字碼對應之字型資料;判定部,其判定1列之資料中是否包含文字 碼及至少一部分影像資料之兩者;比較部,其於判定部之判定結果判定為1列之資料中包含文字碼及至少一部分影像資料之兩者之情形時,將對應於該文字碼之字型資料之文字高度與該至少一部分影像資料的影像資料高度加以比較;調整部,其於比較部之比較結果判定文字為高度與影像資料高度不同之情形時,以使文字高度與影像資料高度相同之方式進行調整;及印刷處理部,其根據藉由調整部進行調整後之字型資料及至少一部分影像資料進行1列之印刷。The printing device of the present invention can be connected to the control device and prints the printing medium in units of columns according to the data received from the control device, and is characterized in that it comprises: a memory portion whose memory corresponds to the text code contained in the data. Zigzag data; the judgment department, which determines whether the data in the first column contains text a code and at least a part of the image data; and a comparison unit, when the determination result of the determination unit determines that the data of one column includes both the character code and at least a part of the image data, the word corresponding to the character code The height of the text of the type of data is compared with the height of the image data of the at least part of the image data; and the adjustment part determines that the height of the text is different from the height of the image data when the comparison result of the comparison unit is such that the height of the text is the same as the height of the image data. And adjusting the method; and the printing processing unit performs one column of printing based on the font data adjusted by the adjustment unit and at least a part of the image data.

又,本發明之印刷裝置之控制方法中,該印刷裝置可連接於控制裝置,且根據自控制裝置接收之資料對印刷媒體以列為單位進行印刷,並記憶有與資料中所含之文字碼對應之字型資料;上述印刷裝置之控制方法之特徵在於執行:判定步驟,其判定1列之資料中是否包含文字碼及至少一部分影像資料之兩者;比較步驟,其於判定步驟之判定結果判定為1列之資料中包含文字碼及至少一部分影像資料之兩者之情形時,將對應於該文字碼之字型資料的文字高度與該至少一部分影像資料之影像資料高度加以比較;調整步驟,其於比較步驟之比較結果判定為文字高度與影像資料高度不同之情形時,以使文字高度與影像資料高度相同之方式進行調整;及印刷處理步驟,其根據藉由調整步驟進行調整後之字型資料及至少一部分影像資料進行1列之印刷。Moreover, in the control method of the printing apparatus of the present invention, the printing apparatus can be connected to the control apparatus, and prints the printing medium in units of columns based on the data received from the control apparatus, and memorizes the text code contained in the data. Corresponding font data; the control method of the printing device is characterized by: performing a determining step of determining whether the data in the first column includes both the text code and at least a portion of the image data; and the comparing step, the determining result in the determining step When it is determined that the data of one column includes both the text code and at least a part of the image data, the height of the text corresponding to the font data of the text code is compared with the height of the image data of the at least one portion of the image data; And when the comparison result of the comparison step is determined to be that the height of the text is different from the height of the image data, the text height is adjusted in the same manner as the height of the image data; and the printing processing step is adjusted according to the adjustment step. The font data and at least a portion of the image data are printed in one column.

根據該等之構成,於在1列中印刷文字(基於字型資料之 文字之圖像)與影像圖像(基於影像資料之圖像)之兩者之情形時,且於對應於成為印刷對象之文字的字型資料之文字高度與影像資料之高度(影像資料高度)不同之情形時,以兩者之高度相同之方式進行調整並印刷。藉此,於將印刷資料分為複數列並以列為單位進行印刷之情形時,特別是可在影像資料中於各列之邊界部分不形成間隙(白條)地進行印刷,結果,可獲得如使用者之期待般之印刷結果。According to the composition of the above, the characters are printed in one column (based on font data) The height of the text of the font data and the height of the image data (the height of the image data) in the case of the image image (the image based on the image data) and the image data corresponding to the text to be printed In different situations, adjust and print in the same way as the height of the two. Therefore, when the printed material is divided into a plurality of columns and printed in units of columns, in particular, printing can be performed in the image data without forming a gap (white bar) at the boundary portion of each column, and as a result, The result of the user's expectation of printing.

再者,作為將文字高度與影像資料高度調整為相同之方法,有縮短一者之高度而使其等相同之方法;增加一者之高度而使其等相同之方法;以及縮短一者之高度並增加另一者之高度而使其等相同之方法等。Furthermore, as a method of adjusting the height of the character and the height of the image data to be the same, there is a method of shortening the height of one and making them the same; increasing the height of one to make the same method; and shortening the height of one And increase the height of the other to make it the same method.

又,此處所提及之文字碼並非意指表示換列等特定之指令的文字碼(控制系統之文字碼),而意指表示文字或符號(亦包含空間)之文字碼。Further, the character code referred to herein does not mean a character code (a character code of a control system) indicating a specific instruction such as a column change, but means a character code indicating a character or a symbol (including a space).

於本發明之印刷裝置中,較佳為,於比較部之比較結果為判定文字高度較影像資料高度高之情形時,調整部以文字高度與影像資料高度相同之方式,刪除成為文字高度之調整對象之字型資料之一部分。In the printing apparatus of the present invention, preferably, when the comparison result of the comparison unit is that the height of the character is higher than the height of the image data, the adjustment unit deletes the adjustment of the height of the character such that the height of the character is the same as the height of the image data. Part of the object's font data.

根據該構成,以影像資料之高度為基準(優先),以文字高度與影像資料高度相同之方式縮短文字高度。例如,於文字高度>影像資料高度之情形時,若藉由使一部分影像資料重複等而使影像資料高度增高(增長)從而使其與文字高度一致,則可消除各列之邊界部分之間隙,但由於根據影像資料而印刷之影像圖像緩慢地被印刷,故會破壞印刷 結果之外觀。於本發明中,藉由以影像資料高度為基準進行調整(即,藉由不改變影像資料高度),不會破壞影像圖像外觀,且可消除各列之邊界部分之間隙。According to this configuration, the height of the character is shortened so that the height of the image is equal to the height of the image data based on the height of the image data (priority). For example, in the case of the height of the text > the height of the image data, if the image data is highly increased (increased) by repeating a part of the image data to make it conform to the height of the text, the gap between the boundary portions of the columns can be eliminated. However, since the image image printed according to the image data is slowly printed, the printing is destroyed. The appearance of the result. In the present invention, by adjusting the height of the image data as a reference (that is, by not changing the height of the image data), the appearance of the image image is not destroyed, and the gap between the boundary portions of the columns can be eliminated.

於本發明之印刷裝置中,較佳為,於字型資料在文字高度方向上包含上空白部分及下空白部分之至少一者之情形時,調整部藉由刪除文字高度方向之上空白部分及下空白部分之至少一者之一部分,而以與影像資料高度相同之方式縮短文字高度。Preferably, in the printing apparatus of the present invention, when the font data includes at least one of a blank portion and a blank portion in the height direction of the character, the adjustment portion deletes the blank portion above the height direction of the character and Lowering at least one of the blank portions and shortening the text height in the same manner as the image data.

根據該構成,於調整字型資料之文字高度時,可提供刪除字型資料之上下空白部分之方法、僅刪除上空白部分之方法、僅刪除下空白部分之方法等各種刪除方法。由於對用以顯示字型資料中所含之文字的無實際印刷之點之空白部分進行判別並刪除,故不會破壞印刷結果,可印刷作為文字之使用者識別所必需之資訊,且可獲得如使用者之期待般之印刷結果。According to this configuration, when the character height of the font data is adjusted, various deletion methods such as a method of deleting the upper blank portion of the font data, a method of deleting only the upper blank portion, and a method of deleting only the blank portion can be provided. Since the blank portion of the point for displaying the text contained in the font data without the actual printing is discriminated and deleted, the printing result is not damaged, and the information necessary for the user identification of the text can be printed and obtained. The result of printing as expected by the user.

於本發明之印刷裝置中,較佳為,於刪除字型資料之上空白部分及下空白部分之情形時,調整部根據字型資料之種類,改變上空白部分及下空白部分之刪除比率。In the printing apparatus of the present invention, preferably, when the blank portion and the lower blank portion are deleted from the font data, the adjustment portion changes the deletion ratio of the upper blank portion and the lower blank portion according to the type of the font data.

根據該等之構成,可均等地刪除字型資料之上下空白部分,或較下空白部分更多地刪除上空白部分,或者,較上空白部分更多地刪除下空白部分等可調整同一列之文字之位置之平衡,從而根據成為文字高度之調整對象之字型資料之種類而可提供各種刪除方法。According to the composition of the above, the upper blank portion of the font data can be equally deleted, or the upper blank portion can be deleted more than the lower blank portion, or the blank portion can be deleted more than the blank portion, and the same column can be adjusted. The balance of the position of the character can provide various deletion methods depending on the type of font data to be adjusted to the height of the character.

於本發明之印刷裝置中,較佳為,調整部藉由變更記憶 有字型資料之記憶部之讀出之位址,而刪除字型資料之上空白部分,藉由減少伴隨字型資料之印刷之印刷媒體之送紙量,而刪除字型資料之下空白部分。In the printing apparatus of the present invention, preferably, the adjustment unit changes the memory The address of the memory portion of the font data is deleted, and the blank portion above the font data is deleted, and the blank portion of the font data is deleted by reducing the paper feed amount of the printing medium accompanying the printing of the font data. .

根據該構成,藉由用以讀出根據位址之順序記憶於記憶部中之字型資料的位址之變更或換列時或列間之送紙量之調整,而進行字型資料之上下空白部分之刪除,因此可簡單地且不會對印刷裝置之性能造成影響地實現。According to this configuration, the font data is overwritten by reading the change of the address of the font data stored in the memory unit in the order of the address or the adjustment of the paper feed amount between the columns. The deletion of the blank portion can thus be achieved simply and without affecting the performance of the printing device.

於本發明之印刷裝置中,較佳為,進而包括裝飾有無判定部,該裝飾有無判定部係根據與文字碼(對應於文字碼之字型資料)之裝飾相關之指令的接收或裝置本體之設定而對是否實施有裝飾進行判定;於根據裝飾有無判定部判定為實施文字碼之裝飾之情形時,調整部不進行與該文字碼對應之字型資料之文字高度之調整。Preferably, the printing apparatus of the present invention further includes a decoration presence determining unit that receives the instruction related to the decoration of the character code (corresponding to the font type of the character code) or the apparatus body. The setting determines whether or not the decoration is performed. When the decoration presence determining unit determines that the decoration of the character code is performed, the adjustment unit does not adjust the character height of the font data corresponding to the character code.

根據該構成,關於成為裝飾對象之文字,不對其字型資料之文字高度進行調整便印刷。一般而言,於對文字實施裝飾之情形時,其文字自身具有特別之意圖及意思,且以提供針對使用者之特定資訊為目的進行印刷之情況較多。即,文字之外觀變得重要。因此,若對成為裝飾對象之文字的文字高度進行調整,則即便於已調整空白之情形時,平衡被破壞且其文字之外觀被破壞之可能性亦較高,結果,有無法正確地對使用者提供特定資訊之情況。為避免此情況的發生,於本發明中,關於成為裝飾對象之文字,不對其字型資料之文字高度進行調整,藉此能夠以提供資訊為目的,不破壞印刷之文字(裝飾文字)之外觀而進行印 刷。According to this configuration, the character to be decorated is printed without adjusting the character height of the font data. In general, in the case of decorating a character, the character itself has a special intention and meaning, and printing is often performed for the purpose of providing specific information for the user. That is, the appearance of the text becomes important. Therefore, if the height of the character of the character to be decorated is adjusted, even if the blank is adjusted, the balance is broken and the appearance of the character is destroyed. As a result, the text cannot be correctly used. The circumstances in which specific information is provided. In order to avoid this, in the present invention, the character to be decorated is not adjusted in the character height of the font data, so that the purpose of providing the information can be prevented without destroying the appearance of the printed text (decorative text). And printing brush.

再者,所謂文字之裝飾,係指文字之加強印刷;縱向加倍印刷、橫向加倍印刷等放大印刷;縮小印刷;附下劃線印刷;附刪除線印刷;意大利體等指定文字形態之印刷;黑體印刷;小字印刷;黑白反轉印刷;指定文字之顏色或背景之顏色之印刷等。該等可藉由指定文字之文字裝飾之指令的有無或記憶體開關等之設定之有無而進行判定。Furthermore, the so-called text decoration refers to the enhanced printing of characters; the vertical double printing, the horizontal double printing, etc.; the reduced printing; the underline printing; the deleted line printing; the printing of the specified text form such as the Italian body; the black body printing; Small print; black and white reverse printing; print the color of the text or the color of the background. These can be determined by the presence or absence of an instruction to specify a character decoration of a character or the presence or absence of a setting of a memory switch or the like.

於本發明之印刷裝置中,進而包括搬送印刷媒體之搬送部,印刷之列之方向為與藉由搬送部搬送印刷媒體之方向相交之方向,文字高度與影像資料高度較佳為搬送印刷媒體之方向。Further, in the printing apparatus of the present invention, the conveying unit that transports the printing medium further includes a direction in which the printing is in a direction intersecting with a direction in which the printing unit is conveyed by the conveying unit, and a height of the character and a height of the image data are preferably conveyed to the printing medium. direction.

根據該構成,可應用於具備串列噴頭之印刷裝置或具備線性噴頭之印刷裝置。According to this configuration, it can be applied to a printing apparatus including a tandem head or a printing apparatus including a linear head.

以下,根據隨附之圖式,對本發明之一實施形態之印刷裝置及印刷裝置之控制方法進行說明。再者,於本實施形態中,列舉包括印刷裝置、以及與印刷裝置協作之主裝置之印刷系統為例進行說明。Hereinafter, a printing apparatus and a control method of the printing apparatus according to an embodiment of the present invention will be described based on the accompanying drawings. Furthermore, in the present embodiment, a printing system including a printing device and a main device in cooperation with the printing device will be described as an example.

圖1係本發明之印刷系統SY之控制方塊圖。如該圖所示般本實施形態之印刷系統SY包括:根據資料進行印刷處理之印刷裝置1,及產生資料並對印刷裝置1發送該資料之主裝置2(控制裝置)。1 is a control block diagram of a printing system SY of the present invention. As shown in the figure, the printing system SY of the present embodiment includes a printing device 1 that performs printing processing based on data, and a main device 2 (control device) that generates data and transmits the data to the printing device 1.

主裝置2包括CPU11(Central Processing Unit,中央處理單元)、ROM12(Read Only Memory,唯讀記憶體)、 RAM13(Random Access Memory,隨機存取記憶體)、HDD14(Hard Disk Drive,硬碟驅動器)、及介面部15,除此之外,具有搭載於一般之個人電腦之硬體構成。The main device 2 includes a CPU 11 (Central Processing Unit), a ROM 12 (Read Only Memory), The RAM 13 (Random Access Memory), the HDD 14 (Hard Disk Drive), and the interface 15 are provided with a hardware configuration mounted on a general personal computer.

ROM12係記憶CPU11用以執行各種處理之控制程式及控制資料。又,RAM13係用作CPU11執行各種處理時之作業區域。介面部15係在其與印刷裝置1之間進行資料之發送接收者。The ROM 12 is a control program and control data for the CPU 11 to execute various processes. Further, the RAM 13 is used as a work area when the CPU 11 executes various processes. The interface 15 is a sender and receiver of data between the interface and the printing device 1.

HDD14中記憶有用以印刷文字及圖像之應用程式14a。CPU11藉由於該應用程式14a上執行印刷命令,經由介面部15對印刷裝置1發送資料。再者,於此資料中包含文字碼、影像資料(圖形資料)、控制用指令(包含文字裝飾之指令)等。The HDD 14 stores an application 14a for printing characters and images. The CPU 11 transmits the material to the printing apparatus 1 via the interface 15 by executing the print command on the application 14a. Furthermore, this document includes text code, video data (graphic data), control commands (including instructions for text decoration), and the like.

印刷裝置1具備CPU21、ROM22、RAM23、字元產生器ROM24(CG-ROM24,記憶部)、介面部25、印刷部26及搬送部27,該等藉由內部匯流排28而相互連接。The printing apparatus 1 includes a CPU 21, a ROM 22, a RAM 23, a character generator ROM 24 (CG-ROM 24, a memory unit), a face portion 25, a printing unit 26, and a conveying unit 27, which are connected to each other by an internal bus bar 28.

介面部25係用以與主裝置2連接者,經由介面部25而自主裝置2接收資料。接收之資料經由下述之接收緩衝區33而記憶至印刷緩衝區34。The interface 25 is used to connect to the host device 2, and the autonomous device 2 receives data via the interface portion 25. The received data is memorized to the print buffer 34 via the receive buffer 33 described below.

印刷部26係以印刷噴頭35為主要部分,根據記憶於下述之印刷緩衝區34之印刷圖像,驅動印刷噴頭35並以列為單位進行文字或符號等字元之字型資料或影像圖像(基於影像資料之圖像)之印刷。搬送部27以送紙輥36為主要部分,且與印刷噴頭35之印刷動作同步地使送紙輥36驅動而進行印刷媒體之送紙(搬送)。The printing unit 26 mainly uses the printing head 35 as a main part, and drives the printing head 35 based on the printed image stored in the printing buffer 34 described below, and performs character data or image drawing of characters such as characters or symbols in units of columns. Printing like (image based on image data). The conveyance unit 27 mainly drives the paper feed roller 36, and drives the paper feed roller 36 in synchronization with the printing operation of the printing head 35 to perform paper feed (transport) of the printing medium.

再者,本實施形態之印刷噴頭35可由串列噴頭構成,亦可由線性噴頭構成。於印刷噴頭35由串列噴頭構成之情形時,藉由印刷噴頭35結束1列之印刷後,驅動送紙輥36而進行印刷媒體之送紙。另一方面,於印刷噴頭35由線性噴頭構成之情形時,一面藉由送紙輥36之驅動進行送紙,一面針對每一點線進行印刷而執行1列之印刷。Further, the printing head 35 of the present embodiment may be constituted by a tandem head or may be constituted by a linear head. When the printing head 35 is constituted by a tandem head, the printing head 35 finishes printing in one row, and then the paper feed roller 36 is driven to feed the printing medium. On the other hand, when the printing head 35 is constituted by a linear head, the paper is fed by the driving of the paper feed roller 36, and printing is performed for each dot line to perform one line of printing.

CG-ROM24記憶文字或符號等字元之字型資料,當被賦予特定之文字碼時,則輸出對應之字型資料。The CG-ROM 24 memorizes the font data of characters such as characters or symbols, and when a specific character code is given, the corresponding font data is output.

RAM23除了包括CPU21執行各種處理時所使用之工作區塊32之外,並包括暫時記憶自主裝置2接收之資料之接收緩衝區33,以及為了實際進行印刷而以列為單位記憶印刷圖像(印刷資料)之印刷緩衝區34。記憶於接收緩衝區33之資料係藉由下述之高度調整程式31以1列逐列進行處理,將處理後之印刷圖像以列為單位記憶於印刷緩衝區34中。The RAM 23 includes, in addition to the work block 32 used when the CPU 21 executes various processes, and includes a reception buffer 33 that temporarily memorizes the data received by the autonomous device 2, and memorizes the printed image in units of columns for actual printing (printing Data) print buffer 34. The data stored in the receiving buffer 33 is processed in one column by column by the height adjustment program 31 described below, and the processed printed image is stored in the print buffer 34 in units of columns.

ROM22係記憶CPU21用以執行各種指令之解析及各種處理的控制程式或控制資料。作為控制程式,具體而言包含高度調整程式31。於1列之資料中包含文字碼與影像資料之兩者之情形時(即,於1列中印刷對應於文字碼之字元(文字或符號等)與影像圖像之情形),高度調整程式31係以對應於文字碼之字型資料的高度(搬送字型資料之印刷媒體之方向之點數(以下稱為「文字高度」)與影像資料之高度(搬送影像資料之印刷媒體之方向之點數,以下稱為「影像資料高度」)相同之方式進行調整之程式(詳細如下述)。The ROM 22 is a control program or control data for the memory CPU 21 to perform analysis of various commands and various processes. As the control program, specifically, the height adjustment program 31 is included. When the data in the first column includes both the text code and the image data (that is, the character corresponding to the character code (text or symbol, etc.) and the image image are printed in one column), the height adjustment program 31 is the height of the font data corresponding to the character code (the number of points in the direction of the printing medium for transferring the font data (hereinafter referred to as "text height") and the height of the image data (the direction of the printing medium for transferring the image data) The program for adjusting the points (hereinafter referred to as "image data height") is the same (details are as follows).

再者,資料中所含之文字碼,有時為了印刷以對使用者 提供某些資訊為目的之文字(以下稱為「通常文字」)而使用,有時被用作以根據影像資料印刷之影像圖像之位置調整(印刷媒體上之影像圖像之印刷位置之調整)為目的之文字(以下稱為「位置調整文字」),於後者之情形時執行藉由上述之高度調整程式31而進行之處理。Furthermore, the text code contained in the data is sometimes printed for the user. Use some information for the purpose of the text (hereinafter referred to as "normal text"), sometimes used as the position adjustment of the image image printed according to the image data (adjustment of the print position of the image image on the print medium) The text for the purpose (hereinafter referred to as "position adjustment text") is executed in the latter case by the above-described height adjustment program 31.

其次,參照圖2及圖3對印刷裝置1所提供之功能進行說明。圖2係印刷裝置1之功能方塊圖,圖3係用以說明刪除字型資料之一部分之方法之示意圖(概念圖)。Next, the function provided by the printing apparatus 1 will be described with reference to Figs. 2 and 3 . 2 is a functional block diagram of the printing apparatus 1, and FIG. 3 is a schematic diagram (conceptual diagram) for explaining a method of deleting a part of the font data.

如圖2所示,印刷裝置1包括資料接收部41、資料判定部42(判定部)、高度比較部43(比較部)、裝飾有無判定部44、高度調整部45(調整部)及印刷處理部46。再者,資料判定部42、高度比較部43、裝飾有無判定部44及高度調整部45係以高度調整程式31為主要部分。As shown in FIG. 2, the printing apparatus 1 includes a material receiving unit 41, a material determining unit 42 (determining unit), a height comparing unit 43 (comparing unit), a decoration presence determining unit 44, a height adjusting unit 45 (adjusting unit), and printing processing. Part 46. In addition, the data determination unit 42, the height comparison unit 43, the decoration presence determination unit 44, and the height adjustment unit 45 mainly include the height adjustment program 31.

資料接收部41係以介面部25為主要部分,自主裝置2接收資料,且將接收之資料記憶於接收緩衝區33中。The data receiving unit 41 mainly uses the interface portion 25 as the main portion, and the autonomous device 2 receives the data and stores the received data in the reception buffer 33.

資料判定部42係以1列為單位自接收緩衝區33讀出資料,且對該1列之資料中是否包含文字碼及影像資料(影像資料之至少一部分)之兩者進行判定。再者,1列之隔開可藉由1列中可印刷之資料之數量或表示換列等之碼之接收來判斷。The data determination unit 42 reads data from the reception buffer 33 in units of one column, and determines whether or not both of the character code and the video data (at least a part of the video data) are included in the data of the one column. Furthermore, the separation of one column can be judged by the number of printable materials in one column or the reception of a code indicating a replacement or the like.

高度比較部43係於資料判定部42之判定結果為判定在1列之資料中包含文字碼及影像資料之兩者之情形時,參照與該文字碼對應之字型資料,將該字型資料之文字高度與影像資料之高度(影像資料高度)加以比較。When the result of the determination by the data determination unit 42 is that it is determined that both the character code and the image data are included in the data of one column, the height comparison unit 43 refers to the font data corresponding to the character code, and the font data is referred to. The height of the text is compared with the height of the image data (the height of the image data).

裝飾有無判定部44係於高度比較部43之比較結果為文字高度較影像資料高度高之情形時(文字高度>影像資料高度之情形時),判定是否接收到與該文字碼之裝飾相關之控制指令(以下稱為「裝飾指令」)。於接收到裝飾指令之情形時,將與文字碼對應之字型資料判定為「通常文字」,於未接收到裝飾指令之情形時,將與文字碼對應之字型資料判定為「位置調整文字」。The decoration presence/absence determination unit 44 determines whether or not the control related to the decoration of the character code is received when the comparison result of the height comparison unit 43 is such that the height of the character is higher than the height of the image data (the height of the character > the height of the image data). Command (hereinafter referred to as "decorative command"). When receiving the decoration command, the font data corresponding to the character code is determined as "normal text", and when the decoration command is not received, the font data corresponding to the text code is determined as "position adjustment text" "."

於文字高度>影像資料高度之情形時,且於未接收到裝飾指令之情形時(即字型資料被判定為「位置調整文字」之情形時),高度調整部45係以字型資料之文字高度與影像資料高度相同之方式,刪除字型資料之文字高度方向之上空白部分及下空白部分之一部分。In the case of the height of the character > the height of the image data, and when the decoration command is not received (that is, when the font data is judged as "position adjustment text"), the height adjustment unit 45 is the text of the font data. The height is the same as the height of the image data, and the blank portion and the blank portion above the height direction of the character data are deleted.

印刷處理部46係以印刷部26及搬送部27為主要部分者,且根據藉由高度調整部45進行調整後之字型資料及影像資料產生1列之印刷圖像,控制印刷部26及搬送部27,並執行基於該印刷圖像之印刷。In the printing processing unit 46, the printing unit 26 and the transport unit 27 are mainly used, and the print unit 26 and the transport unit are controlled based on the print data of one line of the font data and the video data adjusted by the height adjustment unit 45. The portion 27 performs printing based on the printed image.

此處,為容易理解,使用圖3之示意圖,對藉由高度調整部45而執行之字型資料之上下空白部分之刪除進行說明。圖3(a)係表示於1列中印刷之字型資料與影像資料之高度不同之情況的示意圖。此處,字型資料之文字高度係設為27點,影像資料之影像資料高度係設為24點。即,與影像資料高度相比,字型資料之文字高度高出3點,因此藉由高度調整部45進行將字型資料之文字高度刪除(縮短)3點的處理。Here, for easy understanding, the deletion of the blank portion above the font data executed by the height adjusting portion 45 will be described using the schematic diagram of FIG. Fig. 3(a) is a view showing a case where the height of the printed type data and the image data are different in one column. Here, the character height of the font data is set to 27 points, and the image data height of the image data is set to 24 points. In other words, since the character height of the font data is three points higher than the height of the image data, the height adjustment unit 45 performs a process of deleting (shortening) the character height of the font data by three points.

如圖3(b)所示,該刪除處理係藉由對字型資料之上空白部分51及下空白部分52刪除合計3點而進行。於圖3(b)中,表示將上空白部分51刪除1點,將下空白部分52刪除2點之情況。As shown in FIG. 3(b), the deletion processing is performed by deleting the total of three points on the blank portion 51 and the blank portion 52 above the font data. In Fig. 3(b), the case where the upper blank portion 51 is deleted by one point and the lower blank portion 52 is deleted by two points is shown.

該上空白部分51之刪除係藉由變更自CG-ROM24讀出字型資料時之開端位址而實現。即,藉由以下而實現:將讀出字型資料時之開端位址變更為表示較通常而於文字高度方向上向前1點的位址。The deletion of the upper blank portion 51 is realized by changing the start address when the font data is read from the CG-ROM 24. That is, it is realized by changing the start address when the font data is read to an address indicating one point forward in the text height direction.

另一方面,下空白部分52之刪除係藉由調整送紙量而實現。即,藉由以將送紙量減少2點(於文字高度方向上2點)之方式,控制藉由搬送部27(送紙輥36)進行之送紙而實現。藉由如此進行刪除處理,如圖3(c)所示,以字型資料之文字高度與影像資料之影像資料高度相同(此處為24點)之方式進行調整。On the other hand, the deletion of the lower blank portion 52 is achieved by adjusting the amount of paper feed. In other words, the paper feed by the conveyance unit 27 (paper feed roller 36) is controlled by reducing the paper feed amount by two points (two points in the character height direction). By performing the deletion processing in this manner, as shown in FIG. 3(c), the text height of the font data is adjusted in the same manner as the image data of the image data (here, 24 points).

再者,如圖3(b)般,將上空白部分51刪除1點、將下空白部分52刪除2點之方法為一例,例如亦可將上空白部分51刪除2點,將下空白部分52刪除1點。又,亦可針對成為對象之字型資料之種類,變更上下空白部分51、52之刪除比率。或者,亦可不管字型資料之種類,而將上下空白部分51、52之刪除比率設為固定。又,於圖3中,係設為在1列中有1個字之字型資料而進行說明,此為一例,於有複數個字型資料之情形時亦可藉由進行相同之處理,而使字型資料之文字高度與影像資料高度一致。Further, as shown in FIG. 3(b), a method of deleting one point of the upper blank portion 51 and deleting two points for the lower blank portion 52 is taken as an example. For example, the upper blank portion 51 may be deleted by two points, and the lower blank portion 52 may be deleted. Delete 1 point. Further, the deletion ratio of the upper and lower blank portions 51 and 52 can be changed with respect to the type of the font data to be targeted. Alternatively, the deletion ratio of the upper and lower blank portions 51 and 52 may be fixed regardless of the type of the font data. Further, in FIG. 3, it is described that there is one word of one word in one column, and this is an example. In the case of a plurality of font data, the same processing can be performed by the same processing. Make the text height of the font data highly consistent with the image data.

其次,參照圖4之流程圖,對印刷裝置1之印刷處理步驟 進行說明。首先,CPU21(印刷裝置1)自主裝置2接收資料,並記憶於接收緩衝區33中(S01)。其次,CPU21自接收緩衝區33獲取1列之資料(S02),對該1列之資料中是否包含文字碼及影像資料(至少一部分影像資料)之兩者進行判定(S03,判定步驟)。Next, referring to the flowchart of FIG. 4, the printing processing steps of the printing apparatus 1 Be explained. First, the CPU 21 (printing apparatus 1) receives the data from the autonomous device 2 and stores it in the reception buffer 33 (S01). Next, the CPU 21 acquires one column of data from the reception buffer 33 (S02), and determines whether or not both of the character code and the image data (at least a part of the image data) are included in the data of the one column (S03, determination step).

於S03之判定結果為在1列之資料中僅包含文字碼及影像資料中之任一者之情形時,即,1列之資料僅包括文字碼、或者僅包括影像資料之情形(S04;No),CPU21根據與該文字碼對應之字型資料、或者影像資料產生印刷圖像(印刷資料),並根據該印刷圖像進行印刷(S10)。即,於此情形時,不進行字型資料、或者影像資料之高度調整,而進行通常之印刷處理。The result of the determination in S03 is that the data in the first column includes only the text code and the image data, that is, the data of the first column includes only the text code or only the image data (S04; The CPU 21 generates a print image (printed material) based on the font data or the image data corresponding to the character code, and performs printing based on the print image (S10). In other words, in this case, the normal printing process is performed without performing the height adjustment of the font data or the image data.

另一方面,於S03之判定結果為在1列之資料中包含文字碼及影像資料之兩者之情形(S04;Yes),CPU21係將對應於該文字碼之字型資料的文字高度與該影像資料之影像資料高度加以比較(S05,比較步驟)。On the other hand, if the result of the determination in S03 is that both the character code and the image data are included in the data of one column (S04; Yes), the CPU 21 sets the height of the character corresponding to the font data of the character code. The image data of the image data is highly compared (S05, comparison step).

於S05之比較結果為文字高度為影像資料高度以下之情形時(文字高度≦影像資料高度之情形時,S06;No),CPU21根據對應於該文字碼之字型資料及影像資料產生印刷圖像,且以影像資料高度為基準決定送紙量並執行印刷(S10)。When the comparison result in S05 is that the height of the text is below the height of the image data (in the case of the height of the image height, S06; No), the CPU 21 generates a printed image based on the font data and the image data corresponding to the character code. The paper feed amount is determined based on the height of the image data and printing is performed (S10).

另一方面,於S06之比較結果為文字高度較影像資料高度高之情形時(文字高度>影像資料高度之情形時,S06;Yes),CPU21對在1列之資料中是否包含文字碼之裝飾指令 進行判定(S07)。On the other hand, when the comparison result in S06 is that the height of the text is higher than the height of the image data (in the case of the height of the text > the height of the image data, S06; Yes), the CPU 21 includes whether or not the text code is decorated in the data of the first column. instruction A determination is made (S07).

於判定為在S07中包含裝飾指令之情形時(S08;Yes),CPU21判定對應於該文字碼之字型資料作為「通常文字」而印刷,並根據對應於該文字碼之字型資料、影像資料及裝飾指令產生印刷圖像,且以字型資料之文字高度為基準決定送紙量並執行印刷(S10)。When it is determined that the decoration command is included in S07 (S08; Yes), the CPU 21 determines that the font data corresponding to the character code is printed as "normal text", and based on the font data and image corresponding to the character code. The data and the decoration command generate a printed image, and the paper feed amount is determined based on the character height of the font data and printing is performed (S10).

另一方面,於判定為在S07中不包含裝飾指令之情形時(S08;No),CPU21判定對應於該文字碼之字型資料為「位置調整文字」,並執行與文字碼對應之字型資料之上空白部分51及下空白部分52的刪除處理,以字型資料之文字高度與影像資料之影像資料高度相同之方式進行調整。換言之,以影像資料高度為優先(為基準)而執行使字型資料之文字高度與影像資料高度一致之處理(S09,調整步驟)。而且,CPU21根據S09中調整後之字型資料及影像資料,產生1列之印刷圖像,並控制印刷部26及搬送部27,而執行基於該印刷圖像之印刷(S10,印刷處理步驟)。再者,CPU21係重複執行S01~S10之處理,直至成為印刷對象之資料印刷完為止。On the other hand, when it is determined that the decoration command is not included in S07 (S08; No), the CPU 21 determines that the font data corresponding to the character code is "position adjustment character" and executes the font corresponding to the character code. The deletion processing of the blank portion 51 and the blank portion 52 on the data is adjusted in such a manner that the height of the text of the font data is the same as the height of the image data of the image data. In other words, the processing for making the character height of the font data and the image data highly coincident is performed with priority (based on the height of the image data) (S09, adjustment step). Further, the CPU 21 generates one line of print images based on the adjusted font data and video data in S09, and controls the printing unit 26 and the transport unit 27 to execute printing based on the print image (S10, print processing step). . Further, the CPU 21 repeatedly executes the processes of S01 to S10 until the data to be printed is printed.

如以上般,根據本實施形態,於1列之資料中包含文字碼與影像資料之兩者之情形時,且於對應於成為印刷對象之文字碼之字型資料的文字高度與影像資料之高度(影像資料高度)不同之情形時,以兩者之高度相同之方式進行調整並印刷。藉此,於將資料分為複數列並以列為單位進行印刷之情形時,於各列之邊界部分不形成間隙(白條)地 進行印刷,結果,可獲得如使用者之期待般之印刷結果。As described above, according to the present embodiment, when the data of one column includes both the character code and the image data, the height of the character corresponding to the font type of the character code to be printed and the height of the image data are as described above. When the (image data height) is different, adjust and print in the same way as the height of the two. Therefore, when the data is divided into a plurality of columns and printed in units of columns, no gap (white bars) is formed at the boundary portion of each column. Printing is performed, and as a result, the printing result as expected by the user can be obtained.

再者,於本實施形態中,作為將文字高度與影像資料高度調整為相同之方法,例示有縮短文字高度而使其與影像資料高度相同之方法,但並不限定於此。例如,亦可增加影像資料高度而以與文字高度相同之方式進行調整,或者,亦可縮短文字高度並且增加影像資料之高度,以兩者成為相同之方式進行調整。Further, in the present embodiment, as a method of adjusting the height of the character and the height of the image data, the method of shortening the height of the character to be equal to the height of the image data is exemplified, but the method is not limited thereto. For example, the height of the image data may be increased to be adjusted in the same manner as the height of the text, or the height of the text may be shortened and the height of the image data may be increased, and the two may be adjusted in the same manner.

又,於本實施形態中,對於在調整字型資料之文字高度時刪除字型資料之上空白部分51及下空白部分52之兩者之方法進行了說明,但並不限定於此。例如,亦可僅刪除字型資料之上空白部分51來調整文字高度,或者,亦可僅刪除字型資料之下空白部分52來調整文字高度。可適當地調整同一列之文字之位置之平衡。Further, in the present embodiment, a method of deleting both the blank portion 51 and the blank portion 52 on the font data when the character height of the font data is adjusted has been described, but the present invention is not limited thereto. For example, the blank portion 51 above the font data may be deleted to adjust the text height, or the blank portion 52 below the font data may be deleted to adjust the text height. The balance of the position of the text in the same column can be appropriately adjusted.

又,於本實施形態中,對在文字高度>圖像高度之關係成立之情形時進行高度調整之順序進行了說明,但並不限定於此,亦可於文字高度<圖像高度之情形時進行高度調整。於此情形時,可配合圖像高度而增加文字高度,亦可配合文字高度而縮短影像資料高度。或者,亦可增加文字高度並且縮短影像資料高度,以使兩者相同之方式進行調整。Further, in the present embodiment, the order in which the height adjustment is performed when the relationship between the character height and the image height is established has been described. However, the present invention is not limited thereto, and the text height may be higher than the image height. Make height adjustments. In this case, the height of the text can be increased in accordance with the height of the image, and the height of the image data can be shortened in accordance with the height of the text. Alternatively, you can increase the height of the text and shorten the height of the image data so that the two are adjusted in the same way.

又,於本實施形態中,係根據裝飾指令而實現文字裝飾,但並不限定於此。例如,亦可應用於藉由印刷裝置1本體之DIP開關或記憶體開關等(均省略圖示)之設定而具備對文字實施裝飾之功能之裝置。於此情形時,裝飾有無 判定部44只要確認DIP開關或記憶體開關之設定狀態而判定文字裝飾之有無即可。Further, in the present embodiment, the character decoration is realized in accordance with the decoration instruction, but the present invention is not limited thereto. For example, it can also be applied to a device that performs a function of decorating a character by setting a DIP switch or a memory switch or the like (both of which are not shown) of the main body of the printing apparatus 1. In this case, is there any decoration? The determination unit 44 determines the presence or absence of the character decoration by confirming the setting state of the DIP switch or the memory switch.

又,於本實施形態中,於資料中有文字碼之裝飾指令之情形時,判定將對應於文字碼之字型資料用作「位置調整文字」,並執行高度調整部45之處理,但並不限定於此。例如,於資料中所含之文字碼為特定之文字碼(例如,表示空間之文字碼或表示符號之文字碼)之情形時,亦可將與文字碼對應之字型資料判定作為「位置調整文字」,而執行高度調整部45之處理。Further, in the present embodiment, when there is a decoration instruction of the character code in the material, it is determined that the font type data corresponding to the character code is used as the "position adjustment character", and the processing of the height adjustment unit 45 is executed, but It is not limited to this. For example, when the text code included in the data is a specific character code (for example, a text code indicating a space or a character code indicating a symbol), the font data corresponding to the text code may be determined as "position adjustment". The text is executed, and the processing of the height adjustment unit 45 is performed.

此時,高度調整部45亦可解析字型資料,判別無用以顯示字型資料中所含之文字之點之資料的空白部分並刪除。無損印刷結果,而可印刷使用者識別為文字所必需之資訊,且可獲得如使用者之期待般之印刷結果。At this time, the height adjustment unit 45 can also analyze the font data and discriminate the blank portion of the material having no point for displaying the character included in the font data and delete it. The result of the non-destructive printing is printed, and the information necessary for the user to recognize the text can be printed, and the printing result as expected by the user can be obtained.

又,於本實施形態中,以列方向與送紙方向相交之方向為例進行說明,但亦可應用於在每頁中進行印刷之情形。於此情形時,將印刷緩衝區34作為頁面並規定區域,將字型資料或影像資料作為以列為單位之印刷圖像而配置於印刷緩衝區34之頁面區域內之指定位置並記憶。包含字型資料或影像資料之列可配置於頁面區域內之任意之方向,故除了可如本實施形態般配置於列方向與送紙方向相交之方向而進行印刷之外,亦可配置於列方向與送紙方向平行之方向而進行印刷。若如後者,即便為列方向與送紙方向平行之方向,亦可如上述之本實施形態中所說明般進行刪除字型資料之空白部分等,只要配置於頁面區域即可,因此 可調整相同列之字型資料之高度與影像資料之高度。Further, in the present embodiment, the direction in which the column direction intersects the paper feed direction is described as an example, but it may be applied to the case where printing is performed on each page. In this case, the print buffer 34 is used as a page and a predetermined area, and the font data or the image data is placed as a print image in units of columns and placed in a predetermined position in the page area of the print buffer 34 and memorized. The column including the font data or the image data can be arranged in any direction in the page area, and therefore, it can be arranged in the column in the direction in which the column direction and the paper feed direction intersect as in the present embodiment. Printing is performed in a direction parallel to the paper feed direction. In the latter case, even if the column direction is parallel to the paper feed direction, the blank portion of the font data can be deleted as described in the above-described embodiment, and the blank portion can be disposed in the page area. The height of the font data of the same column and the height of the image data can be adjusted.

又,不依照上述實施例,對於印刷系統SY之裝置構成或處理步驟、及印刷裝置1之設備構成、處理步驟及控制方法等,亦可在不脫離本發明之主旨之範圍內,進行適當變更。Further, in accordance with the above-described embodiments, the device configuration and processing steps of the printing system SY, and the device configuration, processing steps, and control methods of the printing device 1 may be appropriately changed without departing from the gist of the present invention. .

1‧‧‧印刷裝置1‧‧‧Printing device

2‧‧‧主裝置2‧‧‧Main device

11‧‧‧CPU11‧‧‧CPU

12‧‧‧ROM12‧‧‧ROM

13‧‧‧RAM13‧‧‧RAM

14‧‧‧HDD14‧‧‧HDD

14a‧‧‧應用程式14a‧‧‧Application

15‧‧‧介面部15‧‧‧ face

21‧‧‧CPU21‧‧‧CPU

22‧‧‧ROM22‧‧‧ROM

23‧‧‧RAM23‧‧‧RAM

24‧‧‧CG-ROM24‧‧‧CG-ROM

25‧‧‧介面部25‧‧‧ facial

26‧‧‧印刷部26‧‧‧Printing Department

27‧‧‧搬送部27‧‧‧Transportation Department

28‧‧‧內部匯流排28‧‧‧Internal busbar

31‧‧‧高度調整程式31‧‧‧ Height adjustment program

32‧‧‧工作區塊32‧‧‧Working block

33‧‧‧接收緩衝區33‧‧‧ Receive buffer

34‧‧‧印刷緩衝區34‧‧‧Print buffer

35‧‧‧印刷噴頭35‧‧‧Printing nozzle

36‧‧‧送紙輥36‧‧‧Feed roller

41‧‧‧資料接收部41‧‧‧Information Receiving Department

42‧‧‧資料判定部42‧‧‧Information Judgment Department

43‧‧‧高度比較部43‧‧‧High Comparison Department

44‧‧‧裝飾有無判定部44‧‧‧Decoration with or without judgment

45‧‧‧高度調整部45‧‧‧ Height adjustment department

46‧‧‧印刷處理部46‧‧‧Printing and Processing Department

51‧‧‧上空白部分51‧‧‧Upper blank

52‧‧‧下空白部分52‧‧‧Blank part

SY‧‧‧印刷系統SY‧‧‧Printing System

圖1係本發明之一實施形態之印刷系統之控制方塊圖。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a control block diagram of a printing system in accordance with an embodiment of the present invention.

圖2係印刷裝置之功能方塊圖。Figure 2 is a functional block diagram of a printing device.

圖3(a)~(c)係用以說明刪除字型資料之一部分之方法之示意圖。Figures 3(a)-(c) are schematic diagrams illustrating the method of deleting a portion of a font data.

圖4係表示印刷裝置之印刷處理順序之流程圖。Fig. 4 is a flow chart showing the printing process sequence of the printing apparatus.

1‧‧‧印刷裝置1‧‧‧Printing device

2‧‧‧主裝置2‧‧‧Main device

41‧‧‧資料接收部41‧‧‧Information Receiving Department

42‧‧‧資料判定部42‧‧‧Information Judgment Department

43‧‧‧高度比較部43‧‧‧High Comparison Department

44‧‧‧裝飾有無判定部44‧‧‧Decoration with or without judgment

45‧‧‧高度調整部45‧‧‧ Height adjustment department

46‧‧‧印刷處理部46‧‧‧Printing and Processing Department

Claims (8)

一種印刷裝置,其係可連接於控制裝置、且根據自上述控制裝置接收之資料對印刷媒體以列為單位進行印刷者,其特徵在於包括:記憶部,其記憶與上述資料中所含之文字碼對應之字型資料;判定部,其判定1列之上述資料中是否包含上述文字碼及至少一部分影像資料之兩者;比較部,其於上述判定部之判定結果判定為1列之上述資料中包含上述文字碼及上述至少一部分影像資料之兩者之情形時,將對應於該文字碼之字型資料之文字高度與該至少一部分影像資料之影像資料高度加以比較;調整部,其於上述比較部之比較結果判定為上述文字高度與上述影像資料高度不同之情形時,以使上述文字高度與上述影像資料高度相同之方式進行調整;以及印刷處理部,其根據藉由上述調整部進行調整後之上述字型資料及上述至少一部分影像資料進行1列之印刷。A printing device that is connectable to a control device and that prints the printing medium in units of a column based on data received from the control device, and is characterized by comprising: a memory portion, the memory and the text contained in the data The type of data corresponding to the code; the determining unit determines whether the data of the first column includes both the character code and at least a part of the image data; and the comparing unit determines that the data of the first column is determined by the determination result of the determining unit When the text code and the at least one part of the image data are included, the text height corresponding to the font data of the text code is compared with the image data height of the at least one portion of the image data; the adjustment unit is When the comparison result of the comparison unit is determined to be such that the height of the character is different from the height of the image data, the height of the character is adjusted to be equal to the height of the image data, and the printing processing unit adjusts by the adjustment unit. The above font data and at least a part of the image data are printed in one column. 如請求項1之印刷裝置,其中於上述比較部之比較結果為判定上述文字高度高於上述影像資料高度之情形時,上述調整部係以使上述文字高度與上述影像資料高度相同之方式,刪除成為上述文字高度之調整對象之上述字型資料之一部分。The printing device of claim 1, wherein when the comparison result of the comparing unit is that the height of the character is higher than the height of the image data, the adjusting unit deletes the height of the character and the height of the image data. It is part of the above-mentioned font data that is the object of adjustment of the above-mentioned character height. 如請求項2之印刷裝置,其中上述調整部係於上述字型 資料在上述文字高度方向上包含上空白部分及下空白部分之至少一者之情形時,藉由刪除上述文字高度方向之上空白部分及下空白部分之至少一者之一部分,以與上述影像資料高度相同之方式縮短上述文字高度。The printing device of claim 2, wherein the adjustment unit is attached to the font When the data includes at least one of the upper blank portion and the lower blank portion in the height direction of the character, the image data is deleted from the image portion by deleting at least one of the blank portion and the blank portion above the height direction of the character The height of the text is shortened in the same way. 如請求項3之印刷裝置,其中上述調整部係於刪除上述字型資料之上述上空白部分及上述下空白部分之情形時,根據上述字型資料之種類,改變上述上空白部分及上述下空白部分之刪除比率。The printing apparatus of claim 3, wherein the adjusting unit is configured to delete the upper blank portion and the lower blank portion of the font data, and change the upper blank portion and the lower blank according to the type of the font data. Partial deletion rate. 如請求項3之印刷裝置,其中上述調整部藉由變更記憶有上述字型資料之上述記憶部所讀出之位址,而刪除上述字型資料之上述上空白部分,且藉由減少伴隨上述字型資料之印刷之上述印刷媒體之送紙量,而刪除上述字型資料之上述下空白部分。The printing device of claim 3, wherein the adjustment unit deletes the upper blank portion of the font data by changing an address read by the memory portion in which the font data is stored, and by reducing the above-mentioned The paper feed amount of the print medium printed on the font data is deleted, and the blank portion of the font data is deleted. 如請求項1之印刷裝置,其中進而包括裝飾有無判定部,該裝飾有無判定部係根據與上述文字碼之裝飾相關之指令之接收或者裝置本體之設定,而判定是否實施有裝飾;上述調整部係於藉由上述裝飾有無判定部判定為實施有上述文字碼之裝飾之情形時,不進行與該文字碼對應之字型資料之文字高度之調整。The printing apparatus according to claim 1, further comprising a decoration presence determining unit, wherein the decoration presence determining unit determines whether or not the decoration is performed based on the reception of the instruction related to the decoration of the character code or the setting of the apparatus main body; When the decoration presence determining unit determines that the decoration of the character code is performed, the character height of the font data corresponding to the character code is not adjusted. 如請求項1之印刷裝置,其中進而包括搬送上述印刷媒體之搬送部;印刷之列之方向為與藉由上述搬送部搬送上述印刷媒體之方向相交之方向,上述文字高度與上述影像資料高 度為搬送上述印刷媒體之方向。A printing apparatus according to claim 1, further comprising: a conveying unit that conveys the printing medium; wherein a direction of printing is a direction intersecting a direction in which the printing medium is conveyed by the conveying unit, the character height and the image data are higher Degree is the direction in which the above print media is transported. 一種印刷裝置之控制方法,該印刷裝置可連接於控制裝置,且根據自上述控制裝置接收之資料對印刷媒體以列為單位進行印刷,且記憶有與上述資料中所含之文字碼對應之字型資料;上述印刷裝置之控制方法之特徵在於執行:判定步驟,其判定1列之上述資料中是否包含上述文字碼及至少一部分影像資料之兩者;比較步驟,其係於上述判定步驟之判定結果判定為1列之上述資料中包含上述文字碼及上述至少一部分影像資料之兩者之情形時,將對應於該文字碼之字型資料之文字高度與該至少一部分影像資料之影像資料高度加以比較;調整步驟,其於上述比較步驟之比較結果判定為上述文字高度與上述影像資料高度不同之情形時,以使上述文字高度與上述影像資料高度相同之方式進行調整;以及印刷處理步驟,其根據藉由上述調整步驟進行調整後之上述字型資料及上述至少一部分影像資料進行1列之印刷。A printing device control method, wherein the printing device is connectable to the control device, and prints the printing medium in units of columns according to the data received from the control device, and memorizes a word corresponding to the text code included in the data. Type data; the control method of the printing apparatus is characterized by: performing a determining step of determining whether the data of the first column includes both the text code and at least a part of the image data; and the comparing step is determined by the determining step If the result of the determination is that the data in the first column includes the text code and the at least one part of the image data, the height of the text corresponding to the font data of the character code and the image data height of the at least part of the image data are a comparison step of adjusting, when the comparison result of the comparison step is that the height of the character is different from the height of the image data, adjusting the height of the character to be the same as the height of the image data; and printing a processing step According to the above adjustment by the above adjustment steps Type data and said image data for printing at least a portion of one.
TW101135171A 2011-09-30 2012-09-25 Printing apparatus and printing apparatus TWI505943B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011216376A JP5842517B2 (en) 2011-09-30 2011-09-30 Printing apparatus and printing apparatus control method

Publications (2)

Publication Number Publication Date
TW201318882A TW201318882A (en) 2013-05-16
TWI505943B true TWI505943B (en) 2015-11-01

Family

ID=48149169

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101135171A TWI505943B (en) 2011-09-30 2012-09-25 Printing apparatus and printing apparatus

Country Status (3)

Country Link
JP (1) JP5842517B2 (en)
CN (1) CN103072389B (en)
TW (1) TWI505943B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015221509A (en) * 2014-05-22 2015-12-10 セイコーエプソン株式会社 Printer and printing method
JP6283590B2 (en) * 2014-09-29 2018-02-21 株式会社沖データ Printing system, printing instruction method, and printing processing method
JP6682865B2 (en) * 2016-01-15 2020-04-15 セイコーエプソン株式会社 Printing apparatus and printing apparatus control method
JP2021190017A (en) * 2020-06-04 2021-12-13 キヤノンメディカルシステムズ株式会社 Report creation support device and report creation support program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW362070B (en) * 1995-12-28 1999-06-21 Seiko Epson Corp Method and apparatus for word composition design, portrait making and impress making
TW474870B (en) * 1998-03-26 2002-02-01 Seiko Epson Corp Printer, printing method and information recording medium
TW519517B (en) * 2001-07-20 2003-02-01 Hewlett Packard Co A system and method for producing efficient ink drop overlap filled with a pseudo hexagonal grid pattern

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61280944A (en) * 1985-06-07 1986-12-11 Photo Composing Mach Mfg Co Ltd Letter processing system
JPH07156449A (en) * 1993-12-02 1995-06-20 Casio Comput Co Ltd Printer and image font-enlarging device
JPH07205498A (en) * 1994-01-25 1995-08-08 Canon Inc Recording method and recorder
JPH08183222A (en) * 1994-12-28 1996-07-16 Casio Comput Co Ltd Printer and display
JPH10151814A (en) * 1996-11-21 1998-06-09 Seiko Epson Corp Apparatus and method for printing text data
DE60002274T2 (en) * 1999-09-30 2003-12-18 Brother Kogyo K.K., Nagoya Data processing to apply text and image data on a substrate
JP2004341686A (en) * 2003-05-14 2004-12-02 Konica Minolta Medical & Graphic Inc Image forming system and method for forming character string
JP4552824B2 (en) * 2005-01-25 2010-09-29 セイコーエプソン株式会社 Printing apparatus, printing apparatus control program, printing apparatus control method, printing data generation apparatus, printing data generation program, and printing data generation method
JP2007176051A (en) * 2005-12-28 2007-07-12 Seiko Epson Corp Tape printing device, data outputting method and program
JP2008134314A (en) * 2006-11-27 2008-06-12 Canon Inc Image forming apparatus and control method
CN101430679B (en) * 2007-11-09 2010-08-25 北大方正集团有限公司 Method and device for compressing integral symbol-occupying area
CN101169777A (en) * 2007-11-13 2008-04-30 无锡永中科技有限公司 Method for implementing word processing software layout compatibility

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW362070B (en) * 1995-12-28 1999-06-21 Seiko Epson Corp Method and apparatus for word composition design, portrait making and impress making
TW474870B (en) * 1998-03-26 2002-02-01 Seiko Epson Corp Printer, printing method and information recording medium
TW519517B (en) * 2001-07-20 2003-02-01 Hewlett Packard Co A system and method for producing efficient ink drop overlap filled with a pseudo hexagonal grid pattern

Also Published As

Publication number Publication date
CN103072389B (en) 2015-06-10
JP2013075417A (en) 2013-04-25
TW201318882A (en) 2013-05-16
CN103072389A (en) 2013-05-01
JP5842517B2 (en) 2016-01-13

Similar Documents

Publication Publication Date Title
JP5932377B2 (en) Recording system, information processing apparatus, recording control method, and recording apparatus
EP2325780A2 (en) Recording control device, recording apparatus, method of controlling recording apparatus, and recording medium
TWI505943B (en) Printing apparatus and printing apparatus
US20130222857A1 (en) Printer control apparatus
US20220134787A1 (en) Information processing device, alternative setting method in information processing device, and program
US11755861B2 (en) Printing system and printing determination method
JP2013180489A (en) Printer and printing method
US20080291226A1 (en) Recording method and recording device
JP2013230662A (en) Recording control device, recording device and control method of recording device
JP2018199269A (en) Printer and control method for printer
JP6682865B2 (en) Printing apparatus and printing apparatus control method
JP2005153157A (en) Printer, printing controller, printing method, and program
JP2009295070A (en) Printer driver and method for printing print data
JP2016043642A (en) Printer, control method and program
CN113320300B (en) Image forming apparatus with a plurality of image forming units
JP2011126138A (en) Device, method and program for controlling printing
JP2005199656A (en) Apparatus for controlling printing, method for controlling printing, program for controlling printing and printing apparatus
JP5760375B2 (en) RECORDING DEVICE, RECORDING DEVICE CONTROL METHOD, AND PROGRAM
JP2007168082A (en) Inkjet image forming apparatus and print system
JP2023080476A (en) program
JP2005199655A (en) Apparatus for controlling printing, method for controlling printing, program for controlling printing and printing apparatus
JP2019062382A (en) Printing apparatus and printing method
JP4851378B2 (en) Page data creation method and printing system
JP6056524B2 (en) Printer and printer print control method
JP2006139662A (en) Print processing method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees