CN1497505A - Control method of printing device, receipt print data generation method - Google Patents
Control method of printing device, receipt print data generation method Download PDFInfo
- Publication number
- CN1497505A CN1497505A CNA2003101010337A CN200310101033A CN1497505A CN 1497505 A CN1497505 A CN 1497505A CN A2003101010337 A CNA2003101010337 A CN A2003101010337A CN 200310101033 A CN200310101033 A CN 200310101033A CN 1497505 A CN1497505 A CN 1497505A
- Authority
- CN
- China
- Prior art keywords
- data
- image
- character string
- image data
- print data
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Cash Registers Or Receiving Machines (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
Description
领域field
本发明涉及将已被存储的图像数据附加到根据与商品销售有关的输入信息所生的结算处理打印数据中进行打印的打印装置的控制方法、收据打印数据生成方法、程序、打印驱动程序、打印装置、商品销售数据处理装置及POS系统。The present invention relates to a control method of a printing apparatus for printing by adding stored image data to settlement processing print data generated based on input information related to commodity sales, a method for generating receipt print data, a program, a print driver, a print device, product sales data processing device and POS system.
背景技术Background technique
以往,在超市及便利店等零售业中所使用的POS系统(销售时信息管理系统),由取得与商品销售有关的输入信息的主计算机和在收据上进行打印的打印装置构成了POS终端。作为该种类的POS终端,一般为打印装置接收主计算机所生成的结算处理打印数据、根据该结算处理打印数据在收据上进行打印的方式(比如参照专利文献1)(参照图17),但近年来,除了可以打印该结算处理打印数据以外,比如众所周知也可以打印店铺的标志等图像数据(参照特开2001-273560号公报)。Conventionally, the POS system (sales information management system) used in retail businesses such as supermarkets and convenience stores consists of a host computer that acquires input information related to product sales and a printer that prints receipts to form a POS terminal. As this type of POS terminal, generally, a printing device receives settlement processing print data generated by a host computer, and prints on a receipt based on the settlement processing print data (for example, refer to Patent Document 1) (refer to FIG. 17 ), but in recent years Now, in addition to printing the settlement processing print data, for example, it is known that image data such as shop logos can be printed (see JP-A-2001-273560).
但是,在将这样的结算处理打印数据和图像数据打印到同一收据上的POS终端中,将图像数据存储在主计算机内,在将该图像数据和在主计算机内所生成的结算处理打印数据合成后,将数据发送到打印装置。但是,在主计算机和打印装置采用低速接口相连接的情况下,在数据传送上就要花费时间,会出现收据的发行迟缓的问题。为此,作为整体来讲就会导致产生处理效率差、让顾客等待等业务上的障碍。However, in the POS terminal that prints such settlement process print data and image data on the same receipt, the image data is stored in the host computer, and the image data is combined with the settlement process print data generated in the host computer. After that, send the data to the printing device. However, when the host computer and the printing device are connected by a low-speed interface, it takes time to transfer data, and there is a problem that issuance of a receipt is delayed. For this reason, as a whole, it causes business obstacles such as poor processing efficiency and keeping customers waiting.
发明内容Contents of the invention
鉴于上述的问题,本发明的目的就在于提供:作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下、也可以迅速地打印图像数据的打印装置的控制方法、收据打印数据生成方法、程序、打印驱动程序、打印装置、商品销售数据处理装置及POS系统。In view of the above problems, it is an object of the present invention to provide a control method for a printing device and a receipt print data that can quickly print image data even when a low-speed interface is used as an interface between a host computer and a printing device. Generation method, program, printer driver, printing device, commodity sales data processing device, and POS system.
本发明的打印装置的控制方法为:一种在根据与商品销售有关的输入信息所生成的结算处理打印数据中附加图像数据,进行打印的打印装置的控制方法,其特征在于,具有:取得所述结算处理打印数据的结算处理打印数据取得的步骤;从所述结算处理打印数据中检索出表示所述图像数据的打印位置的规定的字列,并抽出该规定的字列的步骤;取得由被抽出的所述规定的字列所特定的打印行号码的行号码取得步骤;根据取得的所述行号码生成图像附加设定指令的图像附加设定指令生成步骤;将所述结算处理打印数据及所述图像附加设定指令发送到所述打印装置的发送步骤;所述打印装置根据所述图像附加设定指令的解析结果、将所述图像数据附加到所述结算处理打印数据中。The control method of the printing device according to the present invention is a control method of the printing device which adds image data to the settlement processing print data generated based on the input information related to commodity sales, and prints, and is characterized in that: A step of obtaining the settlement processing print data of the settlement processing print data; a step of retrieving a predetermined character string indicating the print position of the image data from the settlement processing print data, and extracting the predetermined character string; obtaining the specified character string by A step of obtaining a line number of a print line number specified by the extracted predetermined character string; a step of generating an image addition setting command for generating an image addition setting command based on the acquired line number; converting the settlement processing print data and a sending step of sending the image addition setting command to the printing device; the printing device adds the image data to the settlement processing print data according to the analysis result of the image addition setting command.
该打印装置的控制方法,从生成的结算处理打印数据中抽出表示图像数据的打印位置的规定的字列,根据由该规定的字列所特定的行号码生成图像附加设定指令。然后,和结算处理打印数据一起发送到打印装置。打印装置根据图像附加设定指令的解析结果,将图像数据附加到结算处理打印数据中,生成在收据上进行打印的数据。因此,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下、也可以迅速地打印图像数据。还有,在主计算机方面为了生成附加图像数据的附加设定指令,不用直接操作打印装置就可以通过主计算机进行图像数据的附加设定。再有,由于图像数据的打印位置是由图像附加设定指令所包含的参数的一个行号码所特定的,因而打印装置就可以容易地决定打印位置、进行图像数据的附加处理。特别是通过将规定的字列作为必须打印到收据上的字列(比如「收据」、「合计金额」等),根据收据的长度就可以发行在恰当的位置打印图像数据的收据。This method of controlling a printing apparatus extracts a predetermined character string indicating a printing position of image data from the generated settlement process print data, and generates an image addition setting command based on a line number specified by the predetermined character string. Then, it is sent to the printing device together with the settlement processing print data. The printing device adds the image data to the settlement process print data based on the analysis result of the image addition setting command, and generates data to be printed on the receipt. Therefore, even if a low-speed interface is used as an interface between the host computer and the printing device, image data can be printed quickly. Also, in order to generate an additional setting command for additional image data on the host computer side, the additional setting of image data can be performed through the host computer without directly operating the printing device. Furthermore, since the printing position of the image data is specified by a line number of the parameter included in the image addition setting command, the printing apparatus can easily determine the printing position and perform image data addition processing. In particular, by making predetermined character strings (such as "receipt" and "total amount" etc.) that must be printed on the receipt, it is possible to issue a receipt with image data printed at an appropriate position according to the length of the receipt.
在这种情况,理想的是,所述规定的字列为表示开始附加所述图像数据的位置的开始字列,在所述行号码取得步骤中取得由所述开始字列所特定的行号码。In this case, preferably, the predetermined character string is a start character string indicating a position where the image data starts to be added, and the row number specified by the start character string is acquired in the line number obtaining step. .
通过该结构,就可以将图像附加到从开始字列被特定的位置到规定的范围的区域内。在这种情况下,附加图像的结束位置就可以定为到结算处理数据的结束为止。因此,根据收据的长度,就可以发行在恰当的位置打印图像数据的收据。With this configuration, it is possible to add an image within a predetermined range from the position where the initial character string is specified. In this case, the end position of the added image can be set until the end of the settlement processing data. Therefore, it is possible to issue a receipt in which image data is printed at an appropriate position according to the length of the receipt.
另外,通过在开始字列的基础上、将表示结束附加图像数据的位置的结束字列作为规定的字列来使用,就可以将图像附加到从在行号码取得步骤所特定的开始行到结束行的之间。这种情况也和上述一样,根据收据的长度就可以发行在恰当的位置打印图像数据的收据,可以更详细地区分收据、将多个图像和结算处理信息重叠起来进行打印。In addition, by using the end character string indicating the position where the image data is to be added as a predetermined character string in addition to the start character string, an image can be added from the start line specified in the line number acquisition step to the end. between the lines. In this case as above, a receipt with image data printed at an appropriate position can be issued according to the length of the receipt, the receipt can be distinguished in more detail, and multiple images and settlement processing information can be superimposed and printed.
理想的是,在打印装置中存储有多个为所述图像数据的文件的图像数据文件,还具有:存储使所述开始字列及所述结束字与用于从被存储在所述打印装置中的多个图像数据文件中指定一个图像数据文件的图像指定数据构成关联的定义表的定义表存储步骤;从所述定义表取得与在所述字列抽出步骤所抽出的所述开始字列及所述结束字列相关联的图像指定数据的图像指定数据取得步骤,在所述图像附加设定指令生成步骤中,根据取得的所述行号码及所述图像指定数据,生成所述图像附加设定指令。Ideally, a plurality of image data files that are files of the image data are stored in the printing device, and further have: storing the start word sequence and the end word and used to be stored in the printing device The definition table storing step of the definition table storage step that the image specification data of specifying an image data file in a plurality of image data files in the image data file constitutes association; Obtain from described definition table and extract the described start word sequence in described word sequence extracting step In the image designation data acquisition step of the image designation data associated with the end character string, in the image addition setting command generation step, the image attachment data is generated based on the obtained line number and the image designation data. Set command.
通过该结构,在打印装置中存储有多个图像数据文件,图像附加设定指令由于包含有与从多个图像数据文件中指定一个图像数据文件的图像指定数据有关的参数,因而就可以通过变化与该图像指定数据有关的参数来附加各种图像数据。这样,就可以作成多样的收据。Through this structure, a plurality of image data files are stored in the printing device, and the image addition setting command includes parameters related to the image designation data for designating one image data file from a plurality of image data files, so it can be changed by changing Various image data are added with parameters related to the image specifying data. In this way, various receipts can be created.
在这种情况下,理想的是,具有设定开始字列和/或结束字列的字列设定步骤。In this case, it is desirable to have a character string setting step of setting a start character string and/or an end character string.
通过该结构,由于可以设定特定打印区域的开始字列和/或结束字列,因而就可以根据用户的喜好任意地设定打印区域。With this configuration, since the start character string and/or the end character string of the specific print area can be set, the print area can be set arbitrarily according to the user's preference.
在这种情况下,理想的是还具有与字列设定步骤所设定的开始字列和/或结束字列相关来设定图像指定数据的图像指定数据设定步骤。In this case, it is desirable to further include an image designation data setting step of setting image designation data in relation to the start character string and/or end character string set in the character string setting step.
通过该结构,由于可以与开始字列和/或结束字列相关来设定图像指定数据,因而就可以根据用户的喜好作成多样的收据。With this structure, since the image specifying data can be set in relation to the start character string and/or the end character string, various receipts can be created according to the user's preference.
在这种情况下,理想的是,还具有在行号码取得步骤中设定使其取得开始字列的行号码或比开始字列往下一行的行号码中的一个行号码、及取得结束字列的行号码或比结束字列往下一行的行号码中的一个行号码的行号码设定步骤。In this case, it is desirable to further have a line number of the line number of the start character string or a line number one line below the start character string, and an end character set in the line number acquisition step. The row number setting procedure of one of the row numbers of the row number of the column or the row number of the row next to the end character column.
通过该结构,由于可以设定如何取得特定打印区域的行号码(即、是根据包含对象字列的位置来特定、还是根据不包含对象字列的位置来特定),因而就可以扩大图像数据的附加处理的变化。With this structure, since it is possible to set how to obtain the line number of the specified printing area (that is, whether to specify according to the position containing the target character string or to specify according to the position not including the target character string), it is possible to expand the size of the image data. Additional processing changes.
在上述的打印装置中,在可以进行彩色打印的情况下,还可以具有设定图像数据的打印颜色的打印颜色设定步骤,图像附加设定指令可以理想地包含表示打印颜色的参数。In the printing apparatus described above, if color printing is possible, there may be a print color setting step for setting the print color of image data, and the image addition setting command may preferably include a parameter indicating the print color.
通过该结构,由于可以进行彩色打印,因而就可以提高收据的可视性。还有,图形附加设定指令由于包含有表示打印颜色的参数,因而通过变换表示打印颜色的参数就可以作成多样的收据。With this configuration, since color printing is possible, the visibility of the receipt can be improved. In addition, since the graphics addition setting command includes parameters indicating printing colors, various receipts can be created by changing the parameters indicating printing colors.
本发明的收据打印数据生成方法为:一种通过将已存储的图像数据附加到根据与商品销售有关的输入信息由主计算机(40)所生成的结算处理打印数据中,生成收据打印数据收据打印数据生成方法,其特征在于,具有:存储所述图像数据的图像数据存储步骤;从所述主计算机(40)取得所述结算处理打印数据的结算处理打印数据取得步骤;从所述主计算机(40)取得附加所述图像数据进行打印的图像附加设定指令的图像附加设定指令取得步骤;解析所述图像附加设定指令、取得表示所述图像数据的打印位置的行号码的指令解析步骤;根据所述行号码,将所述图像数据附加到所述结算处理打印数据中,生成所述收据打印数据的收据打印数据生成步骤。The receipt print data generation method of the present invention is: a method of generating receipt print data by adding stored image data to settlement processing print data generated by a host computer (40) based on input information related to merchandise sales. The data generation method is characterized by comprising: an image data storage step of storing the image data; a settlement processing print data obtaining step of obtaining the settlement processing print data from the host computer (40); 40) An image addition setting instruction acquisition step of acquiring an image addition setting instruction for printing by adding the image data; a command analysis step of analyzing the image addition setting instruction and obtaining a line number indicating a printing position of the image data A receipt print data generating step of adding the image data to the settlement processing print data to generate the receipt print data according to the line number.
本发明的程序其特征为:让计算机来执行在上面所述的打印装置的控制方法的各步骤、或上述的收据打印数据生成方法的各步骤。The program of the present invention is characterized in that it causes a computer to execute each step of the above-described printing device control method, or each step of the above-mentioned receipt print data generation method.
通过该结构,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下、也可以提供迅速打印图像数据的程序。With this configuration, even when a low-speed interface is used as an interface between the host computer and the printing device, a program for printing image data can be provided quickly.
本发明的打印驱动程序其特征为:让计算机来执行在上面所述的打印装置的控制方法的各步骤。The print driver of the present invention is characterized in that it causes the computer to execute the steps of the printing device control method described above.
通过该结构,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下、也可以提供迅速打印图像数据的打印驱动程序。还有,通过由打印驱动程序来实现上述的打印装置的控制方法,因而主计算机比如即使为单色·文本格式的应用程序,也不需要变更应用程序、通过打印装置就可以发行彩色·绘图格式的收据。With this configuration, even when a low-speed interface is used as an interface between the host computer and the printing device, it is possible to provide a print driver that quickly prints image data. Also, by realizing the control method of the above-mentioned printing device by the print driver, even if the host computer is an application program in monochrome and text format, it is not necessary to change the application program, and the printing device can issue a color drawing format. receipt.
另外,本发明的打印装置,是一种将已存储的图像数据附加到根据与商品销售有关的输入信息由主计算机所生成的结算处理打印数据中,生成收据打印数据打印装置,其特征在于,具有:存储所述图像数据的图像数据存储装置;从所述主计算机取得所述结算处理打印数据的结算处理打印数据取得装置;从所述主计算机取得用于指令附加所述图像数据进行打印的图像附加设定指令的图像附加设定指令取得装置;解析所述图像附加设定指令、取得表示所述图像数据的打印位置的行号码的指令解析装置;根据所述行号码,将所述图像数据附加到所述结算处理打印数据中、生成所述收据打印数据的收据打印数据生成装置。In addition, the printing apparatus of the present invention is a printing apparatus for generating receipt print data by adding stored image data to settlement processing print data generated by a host computer based on input information related to merchandise sales, and is characterized in that: It has: image data storage means for storing the image data; settlement processing print data obtaining means for obtaining the settlement processing print data from the host computer; An image addition setting instruction acquisition device for an image addition setting instruction; an instruction analysis device for analyzing the image addition setting instruction and obtaining a line number indicating a printing position of the image data; according to the line number, the image A receipt print data generating means that adds data to the settlement process print data and generates the receipt print data.
这些收据打印数据生成方法及打印装置,将图像数据存储到打印装置内,从主计算机取得结算处理打印数据和附加图像数据的图像附加设定指令。然后,通过解析图像附加设定指令,取得表示打印位置的行号码,根据该行号码,将图像数据附加到结算处理打印数据中。因此,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下,也可以迅速打印图像数据。还有,由于在主计算机方面生成附加图像数据的附加设定指令,因而不用直接操作打印装置就可以通过主计算机来进行图像数据的附加设定。再有,图像数据的打印位置由于由为图像附加设定指令所包含的参数中的一个参数的行号码所特定,因而打印装置就可以容易地决定打印区域来进行图像数据的附加处理。These receipt print data generating methods and printing devices store image data in the printing device, and acquire settlement processing print data and image attachment setting commands for additional image data from a host computer. Then, by analyzing the image addition setting command, the line number indicating the printing position is obtained, and the image data is added to the settlement processing print data based on the line number. Therefore, even if a low-speed interface is used as an interface between the host computer and the printing apparatus, image data can be printed quickly. Also, since the additional setting command for additional image data is generated on the side of the host computer, the additional setting of image data can be performed through the host computer without directly operating the printing device. Furthermore, since the printing position of the image data is specified by the line number of one of the parameters included in the image addition setting command, the printing device can easily determine the printing area to perform image data addition processing.
另外,在这种情况下,还具有进行主色和该主色以外的至少一个颜色的副色的彩色打印的彩色打印装置,彩色打印装置可以理想地以主色来打印结算处理打印数据、以至少一个颜色的副色来打印图像数据。In addition, in this case, there is also a color printing device that performs color printing of the primary color and at least one secondary color other than the primary color. The color printing device can ideally print the settlement processing print data in the primary color, so as to At least one secondary color of one color is used to print the image data.
通过这些结构,由于以主色来打印结算处理打印数据、以副色来打印图像数据,就不会损坏结算处理打印数据的清晰度,因而就可以附加图像数据。还有,由于可以进行彩色打印,因而就可以提高收据的可视性。With these configurations, since the settlement process print data is printed in the main color and the image data is printed in the secondary color, image data can be added without impairing the resolution of the settlement process print data. Also, since color printing is possible, the visibility of the receipt can be improved.
另外,本发明的商品销售数据处理装置通过将结算处理打印数据和图像附加设定指令发送到上面所述的打印装置,在具有控制打印装置的主计算机的商品销售数据处理装置中的主计算机,其特征为在具有通过将所述结算处理打印数据和所述图像附加设定指令发送到所述打印装置来控制所述打印装置的主计算机的商品销售数据处理装置中,所述主计算机具有:生成所述结算处理打印数据的结算处理打印数据生成装置;从所述结算处理打印数据中检索表示所述图像数据的打印位置的规定的字列并抽出该规定的字列的字列抽出装置;取得由被抽出的所述规定的字列所特定的行号码的行号码取得装置;根据取得的所述行号码、生成所述图像附加设定指令的图像附加设定指令生成装置;将结算处理打印数据及所述图像附加设定指令发送到所述打印装置的发送装置。In addition, the merchandise sales data processing apparatus of the present invention transmits the settlement processing print data and the image addition setting command to the above-mentioned printing apparatus, in the merchandise sales data processing apparatus having a host computer controlling the printing apparatus, the host computer, It is characterized in that in the product sales data processing apparatus having a host computer that controls the printing apparatus by sending the settlement processing print data and the image addition setting command to the printing apparatus, the host computer has: settlement processing print data generating means for generating the settlement processing print data; character string extracting means for retrieving a predetermined character string indicating a printing position of the image data from the settlement processing print data; and extracting the predetermined character string; A line number obtaining means for obtaining a line number specified by the extracted predetermined character string; an image addition setting instruction generating means for generating the image addition setting instruction based on the obtained line number; The print data and the image addition setting command are sent to a sending device of the printing device.
该商品销售数据处理装置从生成的结算处理打印数据中抽出表示图像数据的打印位置的规定的字列,根据该规定的字列所特定的行号码生成图像附加设定指令,然后和结算处理打印数据一起发送到打印装置。打印装置根据图像附加设定指令的解析结果,将图像数据附加到结算处理打印数据中,生成在收据上进行打印的数据。因此,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下,也可以迅速地打印图像数据。还有,由于在主计算机方面生成附加图像数据的附加设定指令,因而不用直接操作打印装置就可以通过主计算机来进行图像数据的附加设定。再有,图像数据的打印位置由于由为图像附加设定指令所包含的参数中的一个参数的行号码所特定,因而打印装置就可以容易地决定打印区域,进行图像数据的附加处理。The product sales data processing device extracts a predetermined character string indicating the print position of image data from the generated print data for settlement processing, generates an image addition setting command based on the line number specified by the predetermined character string, and prints it with the settlement processing. The data is sent to the printing device together. The printing device adds the image data to the settlement process print data based on the analysis result of the image addition setting command, and generates data to be printed on the receipt. Therefore, even if a low-speed interface is used as an interface between the host computer and the printing apparatus, image data can be printed quickly. Also, since the additional setting command for additional image data is generated on the side of the host computer, the additional setting of image data can be performed through the host computer without directly operating the printing device. Furthermore, since the printing position of the image data is specified by the line number of one of the parameters included in the image addition setting command, the printing device can easily determine the printing area and perform image data addition processing.
本发明的POS系统其特征为:是由上面所述的商品销售数据处理装置、和通过网络与商品销售数据处理装置相连接并管理该商品销售数据处理装置的POS服务器所构成。The POS system of the present invention is characterized in that it is composed of the above-mentioned product sales data processing device and a POS server connected to the product sales data processing device through a network to manage the product sales data processing device.
通过该结构,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下、也可以提供迅速打印图像数据的POS系统。With this configuration, even when a low-speed interface is used as an interface between the host computer and the printing device, it is possible to provide a POS system that quickly prints image data.
附图说明Description of drawings
图1为表示本发明的POS系统的一例的结构图。FIG. 1 is a configuration diagram showing an example of the POS system of the present invention.
图2A、2B为构成本发明的POS系统的POS终端的外观立体图。2A and 2B are external perspective views of POS terminals constituting the POS system of the present invention.
图3为本发明的PC的功能方框图。Fig. 3 is a functional block diagram of the PC of the present invention.
图4为本发明的打印装置的功能方框图。Fig. 4 is a functional block diagram of the printing device of the present invention.
图5为本发明的打印装置的控制方框图。Fig. 5 is a control block diagram of the printing device of the present invention.
图6为表示设定本发明的图像数据的设定画面的一例的图。FIG. 6 is a diagram showing an example of a setting screen for setting image data of the present invention.
图7为表示本发明的结算处理打印数据/图像附加设定指令发送处理的一例的流程图。FIG. 7 is a flowchart showing an example of settlement processing print data/image addition setting command sending processing of the present invention.
图8为表示本发明的收据打印数据生成处理的一例的流程图。FIG. 8 is a flowchart showing an example of receipt print data generation processing of the present invention.
图9为表示从本发明的定义表及结算处理打印数据中得到的数据取得结果的图。Fig. 9 is a diagram showing data acquisition results obtained from the definition table and settlement processing print data of the present invention.
图10A、10B为表示从本发明的定义表及结算处理打印数据中得到的数据取得结果的图。10A and 10B are diagrams showing data acquisition results obtained from the definition table and settlement processing print data of the present invention.
图11A、11B为表示本发明的图像附加设定指令编码的一例的图。11A and 11B are diagrams showing an example of an image addition setting command code according to the present invention.
图12A、12B为表示本发明的图像附加设定指令编码的一例的图。12A and 12B are diagrams showing an example of an image addition setting command code according to the present invention.
图13为表示图像数据的一例的图。FIG. 13 is a diagram showing an example of image data.
图14为表示本发明所作成的收据的一例(打印例1)的图。Fig. 14 is a diagram showing an example (print example 1) of a receipt created by the present invention.
图15为表示本发明所作成的收据的一例(打印例2,)的图。Fig. 15 is a diagram showing an example (print example 2) of a receipt created by the present invention.
图16为表示本发明所作成的收据的一例(打印例3)的图。Fig. 16 is a diagram showing an example (print example 3) of a receipt created by the present invention.
图17为表示本发明的以往例中的收据作成例的图。Fig. 17 is a diagram showing an example of receipt creation in a conventional example of the present invention.
具体实施方式Detailed ways
下面,对本发明第一实施例的打印装置的控制方法、收据打印数据生成方法、程序、打印驱动程序、打印装置、商品销售数据处理装置及POS系统,一边参照附图一边进行详细的说明。本发明通过主计算机从结算处理打印数据中抽出表示图像数据的打印位置的规定的字列,根据该规定的字列所特定的行号码,生成将图像数据附加到结算处理打印数据中的图像附加设定指令。然后,在打印装置中,根据从该图像附加设定指令取得的行号码,将图像数据附加到结算处理打印数据中,生成在收据上进行打印的收据打印数据。Next, the control method of the printer, the receipt print data generation method, the program, the printer driver, the printer, the product sales data processing device, and the POS system according to the first embodiment of the present invention will be described in detail with reference to the drawings. In the present invention, the host computer extracts a predetermined character string indicating the printing position of the image data from the settlement processing print data, and generates an image attachment for attaching the image data to the settlement processing print data based on the line number specified by the predetermined character string. Set command. Then, in the printing device, image data is added to the settlement process print data based on the line number acquired from the image addition setting command to generate receipt print data to be printed on the receipt.
即、通过该结构,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下、通过打印装置也可以迅速地打印图像数据。还有,通过由编入主计算机的打印机驱动程序生成图像附加设定指令,主计算机即使是使用单色·文本格式的应用程序,也不需要变更应用程序便可通过打印装置发行彩色·绘图格式的收据。还有,在打印装置中,通过从图像附加设定指令取得行号码,就可以容易地特定打印位置,进而达到可以作成美观的收据等的作用·效果。That is, with this configuration, even when a low-speed interface is used as an interface between the host computer and the printing device, image data can be quickly printed by the printing device. Also, by generating image addition setting commands from the printer driver program incorporated in the host computer, even if the host computer uses an application program in monochrome and text format, it is possible to issue color and graphic formats through the printer without changing the application program. receipt. In addition, in the printing device, by acquiring the line number from the image addition setting command, the printing position can be easily specified, and further functions and effects such as the ability to create a beautiful receipt can be achieved.
下面,将在超市及便利店等店铺所使用的、根据由操作人员所输入的与商品销售有关的输入信息来发行收据的POS系统作为例子进行说明。Next, a POS system used in stores such as supermarkets and convenience stores and which issues receipts based on input information about product sales input by an operator will be described as an example.
如图1所示,本发明的POS系统10主要是由通过操作人员(用户)读出赋予商品的条形码来取得输入信息的多个商品销售数据处理装置的POS终端20(图中只表示了一个)和通过网络与该POS终端20相互连接并对POS终端20所输入到的输入信息进行管理的POS服务器30构成。As shown in Figure 1, the
POS服务器30除了具有控制装置(CPU31)以外,还具有ROM32及RAM33等存储器,根据存储于ROM32内的控制程序,对RAM33内的缓冲器39等所存储的信息进行处理。特别是在RAM33内具有由商品编码存储块35、商品名称存储块36、金额存储块37、库存存储块38等形成的商品管理部分,CPU31根据POS终端20所发送来的输入信息,从商品管理部分抽出与商品编码、商品名称、金额有关的信息,生成用于向收据61的打印及POS终端20的显示器42的显示的商品数据。另外,所谓「商品数据」是在PC40所生成的成为结算处理打印数据源的数据,包括打印在收据61上的商品名称及其金额等的商品信息。The
POS终端20根据输入信息,参照POS服务器30的商品数据,生成打印到收据61上的结算处理打印数据(除商品信息之外,也指打印店铺名称及电话号码、日期、对顾客的信息等的数据及指令;参照图17),POS终端20具有:具有实施将输入数据登录到POS服务器30等的现金登录处理的POS应用程序执行部41a的个人计算机(PC)40、根据打印数据在收据61上进行打印的打印装置50(收据打印机),相互通过连接器46、53相连接。PC40通过读出键盘43的输入或通过条形码读取器44输入的条形码,取得与商品有关的信息(商品信息)及与顾客60有关的信息(顾客信息)等的输入信息。另外,通过卡读取器45读出顾客60的信用卡及会员卡,取得与信贷结算有关的信息及与会员号码等会员有关的信息。POS终端20还具有显示将POS服务器30所发送来的商品数据还原生成的商品信息的显示器42,对顾客60提示购入商品的金额等。The
另外,PC40的控制是通过在WINDOWS(注册商标)等OS上运行的打印驱动程序OLE for Retail POS(以下称OPOS)来实施的。所谓OPOS,是对在OS上运行的POS应用程序41a提供与打印装置50及条形码读取器44等的周边设备没有机种依赖性的接口,是由对应设备的每个类别的控制目标(CO)41b和对应设备的每个机种的服务目标(SO)41c所构成。In addition, the control of the
POS应用程序41a根据POS服务器30发送来的商品数据及输入信息,生成打印到收据61上的结算处理打印数据,该结算处理打印数据通过OS41d被提供给打印装置用的CO41b,并由CO41b提供给对应打印装置50的机种的SO41c。SO41c加工该打印数据,根据打印装置50的指令方式生成打印指令,并发送到打印装置50。另外,上述的OPOS将SO41c和CO41b以组合的形式作为打印驱动程序109提供给用户。The
另外,在SO41c中,在进行将图像数据附加到结算处理打印数据中的图像附加设定指令的生成的同时,还安装有进行图像数据的各种设定的图像数据设定程序108。具体的说明将在后面进行阐述,图像数据设定程序108通过将规定的设定画面300(参照图6)在显示器42上进行显示,给用户提供图像数据设定的界面。这样,由于通过打印驱动程序109提供图像数据设定程序108(应用程序执行程序),因而不用变更PC40的POS应用程序41a就可以由PC40来进行图像数据的设定。In addition, in SO41c, an image
另一方面,打印装置50为以喷墨方式来进行打印的喷墨打印机,具有具有第一打印头55a至第六打印头55f的六个喷墨头的打印部120。这些喷墨头55其结构为分别通过喷出M(红色)、C(蓝色)、Y(黄色)、LM(浅红色)、LC(浅蓝色)、K(黑色)的墨水就可以进行多彩色的打印。另外,打印头55的结构并不局限于此,也可以为增加打印头数可进行更加多色的打印的结构,也可以为减少打印头数只进行一色或两色的打印的结构。On the other hand, the
另外,打印装置50可以通过图中未表示的触点开关或软件触点开关来设定只用第六打印头55f进行打印的单色打印方式和用全部的打印头进行打印的彩色打印方式中的其中一种。然后,PC40取得与该方式设定有关的信息,就可以判断在生成的打印数据内是否包含有彩色信息。这样,在被设定为彩色打印方式的情况、且打印数据内包含有彩色信息的情况下,据此就可以在收据61上进行两色或多色的打印。另外,在以下的说明中,打印装置50被设定为彩色打印方式,结算处理打印信息以主色的「K(黑色)」来进行打印,图像数据以主色「K(黑色)」以外的被指定的副色来进行打印。In addition, the
下面,对于POS终端20的装置结构,参照图2A、2B来进行说明。图2A为从操作人员的操作方向看POS终端20的正面立体图,图2B为从顾客方面看POS终端20的背面立体图。如两图所示那样,POS终端20由形成箱形主体箱48形状的主体部的PC40和配置在主体箱48的后部左侧的打印装置50构成。还有,由于打印装置50与主体箱48用电缆相连接,因而就不限定于此配置,在电缆长度允许的范围内可以配置在任意的位置。Next, the device configuration of the
PC40在主体箱48的前部上面配置有操作人员输入商品信息及顾客信息等信息的键盘43,在其后部右侧配置有确认操作人员输入信息的操作人员用显示器42a,在主体箱48内安装有现金抽屉。另外,在主体箱48的右侧面具有用于读出被粘贴或被打印在商品上的条形码的条形码读取器44、在主体箱48的左侧面具有与打印装置50相连接用的接口47,在键盘43的右侧形成有读出顾客60所提示的信用卡用的卡读取器用插槽45。还有,在主体箱48的背面一侧配置有顾客60确认商品信息等用的顾客用显示器42b。另外,图像数据设定用的设定画面(参照图6)被显示在上述的操作人员方面的显示器42a上,操作人员就可以一边对其进行确认一边进行设定操作。PC40 is arranged with the
另一方面,打印装置50在其前面一侧配置有动作显示灯65和接口51,接口51和PC40所具备的打印装置方面接口47是通过电缆63及连接器46、53相连接的。另外,在打印装置50的上面形成有送出完成打印的收据61的收据送出口64。On the other hand, the
接下来,参照图3的功能方框图对PC40的控制结构进行说明。PC40具有:设定作为用于生成图像附加设定指令的参照表的定义表(参照图9等)的定义表设定部201、生成结算处理打印数据的结算处理打印数据生成部202、生成图像附加设定指令的图像附加设定指令生成部203、定义表存储部221、结算处理打印数据存储部222及图像附加设定指令存储部223,具有存储各种数据的数据存储部204、和结算处理打印数据发送部225及图像附加设定指令发送部226和具有通过接口47进行结算处理打印数据及图像附加设定指令的发送的数据发送部205。另外,定义表设定部201、图像附加设定指令生成部203主要是通过打印驱动程序109来实现的。Next, the control structure of PC40 is demonstrated with reference to the functional block diagram of FIG. The
定义表设定部201是通过打印驱动程序109所提供的图像数据设定程序108来执行,具有设定表示图像数据的打印位置的规定的字列「开始字列及结束字列(参照图14等)」的字列设定部211、设定指定成为附加对象的图像数据的图像指定数据(文件名称等)的图像指定数据设定部212、设定特定图像数据打印位置的行号码的取得参数的行号码设定部213(关于详细情况在后面叙述)、设定图像数据的打印颜色的彩色信息设定部214。该定义表设定部201的设定事项,为通过用户将必要事项输入设定画面300(参照图6)来设定的,被输入的信息被存储到RAM等存储器内,根据需要可以进行改写。The definition
图像附加设定指令生成部203具有:检索结算处理打印数据、抽出规定的字列的字列抽出部216、取得规定的字列所特定的行号码的行号码取得部217、从定义表取得与规定的字列相关的图像指定数据的图像指定数据取得部218,如图11及图12所示,生成图像附加设定指令「ESCI n1,n2,n3...」。关于图像附加设定指令的结构,将在后面进行叙述。The image addition setting
然后,PC40通过上述的结构,根据在定义表设定部201所设定的定义表,从结算处理打印数据生成部202所生成的结算处理打印数据中抽出规定的字列,根据该规定的字列所特定的行号码及与规定的字列相关的图像指定数据,通过图像附加设定指令生成部203生成图像附加设定指令。然后,通过数据发送部205将生成的结算处理打印数据及图像附加设定指令发送到打印装置50。Then, the
接下来,关于打印装置50的控制结构,参照图4的功能方框图来进行说明。打印装置50具有:通过接口51从PC40取得结算处理打印数据及图像附加设定指令的数据取得部231、和将取得的数据及多个图像数据文件(参照图13)存储起来的数据存储部232、解析从PC40发送来的图像附加设定指令的指令解析部233、生成打印到收据61上的收据打印数据的收据打印数据生成部234、根据收据打印数据进行打印的打印部235。Next, the control structure of the
数据取得部231具有结算处理打印数据取得部241和图像附加设定指令取得部242,将数据分别发送到结算处理打印数据存储部245和图像附加设定指令存储部246,但实际上,结算处理打印数据和图像附加设定指令被同时发送,从结算处理打印数据中抽出图像附加设定指令,进行解析处理。在这里,为了便于说明,将结算处理打印数据和图像附加设定指令分别作为取得和存储来进行图示。这样,结算处理打印数据由打印除了图像附加设定指令以外的商品数据的数据·指令构成。The
数据存储部232具有图像数据存储部244、结算处理打印数据存储部245、图像附加设定指令存储部246,在图像数据存储部244内事先存储有多个图像数据文件。另外,这多个图像数据文件的构成是,将通过PC40、由扫描仪等所读入数据、及由绘图软件所作成的数据登录到图像数据设定程序108所执行的设定画面300中,(参照图6「图像数据登录」),并将其作为发送到打印装置50的数据存储到图像数据存储部244内,根据用户的需要可以恰当地进行改写。The
指令解析部233具有:通过解析PC40所发送来的图像附加设定指令、取得行号码的行号码取得部248、和同样从图像附加设定指令取得图像指定数据(文件名称及图像指定No等)的图像指定数据取得部249、同样从图像附加设定指令取得表示图像数据的打印颜色的彩色信息的彩色信息取得部250,取得的信息被存入到后面所述的RAM144内。The
打印装置50根据上述的结构,通过数据取得部231取得结算处理打印数据及图像附加设定指令,通过指令解析部233解析图像附加设定指令,得到行号码、图像指定数据及彩色信息。还有,根据这些信息,通过收据打印数据生成部234将图像数据附加到结算处理打印数据中、生成收据打印数据。According to the above configuration, the
图5表示了打印装置50的控制方框图,如该图所示那样,打印装置50具有接口51,具有将来自PC40的图像附加设定指令及结算处理打印数据进行输入的数据输入部110、和六个喷墨头55,具有通过分别喷出不同颜色的墨水来进行彩色打印的打印部120和喷头驱动器131,由驱动喷墨头55的驱动部130和控制打印装置50整体的控制部140所构成。FIG. 5 shows a control block diagram of the
控制部140具有CPU141、ROM142、CG-ROM143及RAM144,并相互通过内部总线145相连接。ROM142除了具有存储在CPU141所处理的控制程序的程序存储块142a以外,还具有存储包含各种数据的控制数据的控制数据存储块142b。另外,CG-ROM143存储打印文字的字体数据,在被给予了特定文字的编码时,便输出对应的字体数据。The control unit 140 has a CPU 141 , a ROM 142 , a CG-ROM 143 , and a RAM 144 , and is connected to each other via an internal bus 145 . The ROM 142 has a control data storage block 142b that stores control data including various data, in addition to a program storage block 142a that stores a control program processed by the CPU 141 . In addition, CG-ROM 143 stores font data of printed characters, and when a specific character code is given, it outputs the corresponding font data.
RAM144除了具有作为标志等被使用的各种作业范围存储块151以外,还具有:存储多个图像数据文件的图像数据存储块152、存储PC40所发送来的结算处理打印数据的结算处理打印数据存储块153、存储与图像附加设定指令的解析结果有关的信息的图像附加设定指令存储块154、存储通过将图像数据附加到结算处理打印数据中而生成的收据打印数据的收据打印数据存储块155,并作为控制处理的作业区域来被使用。另外,RAM144即使在电源被切断时,常时将事先保存起来的存储的数据作为后备。The RAM 144 includes various job range storage blocks 151 used as flags, etc., an image data storage block 152 for storing a plurality of image data files, and a settlement processing print data storage block for storing settlement processing print data transmitted from the
图像附加设定指令存储块154具有:图像附加设定指令的解析的结果所得到的行号码、将图像指定数据及彩色信息分别进行存储的行号码存储块157、图像指定数据存储块158及彩色信息存储块159,存储所述指令解析部233(参照图4)的各部所取得的信息。The image addition setting command storage block 154 has a line number obtained as a result of analysis of the image addition setting command, a line number storage block 157 for separately storing image designation data and color information, an image designation data storage block 158 and color information. The information storage block 159 stores information acquired by each unit of the command analysis unit 233 (see FIG. 4 ).
另外,内部总线145也与数据输入部110及驱动部130相连接,在从接口51取入输入数据(图像附加设定指令、结算处理打印数据等)(参照图4)的同时,将CPU151等所输出的输出数据(收据打印数据等)及控制信号输出到驱动部130(喷头驱动器131)。In addition, the internal bus 145 is also connected to the data input unit 110 and the drive unit 130, while taking in input data (image addition setting commands, settlement processing print data, etc.) The output data (receipt print data, etc.) and control signals output are output to the drive unit 130 (head driver 131 ).
然后,CPU141通过上述的结构,根据ROM142内的控制程序,从打印装置50内的各部输入各种信号·数据等,在处理RAM144内的各种数据等的同时,通过向各部输出各种信号·数据等来进行图像附加设定指令的解析,根据其解析结果,通过将打印数据附加到结算处理打印数据中、生成收据打印数据,根据该数据进行打印等,对打印装置50进行整体控制。Then, the CPU 141 inputs various signals, data, etc. from each part in the
另外,接口51及PC40所具有的接口47,可以采用RS-232C规格等的串行数据转送、XXX规格等的并行数据转送、以太网(注册商标)的10Base-T等的网络连接、或对应USB等的数据转送规格的转送。In addition, the
下面,对于图像数据的设定处理,参照图6来进行说明。图像数据的设定,在PC40中是通过执行图像数据设定程序108(参照图1)来实施的。具体地来讲,当图像数据设定程序108被启动时,如图6所述的设定画面就被显示到操作人员方面的显示器42a上,操作人员通过输入各种信息来进行设定。Next, image data setting processing will be described with reference to FIG. 6 . The setting of the image data is carried out by executing the image data setting program 108 (see FIG. 1 ) in the
如该图所示那样,在设定画面300中,设定图像数据的各种信息可以分成多个画面来进行设定,操作人员(用户)打开所希望的设定画面来进行设定。另外,当打开最初的列表「基本」的设定画面时,就可以进行收据61的宽幅尺寸、图像数据的打印浓度及打印品质等的设定,由于和通常的打印设定应用程序几乎同样的内容,因而在这里就省略说明。另外,当打开第3个列表「图像数据登录」的设定画面时,就可以登录图13所示的那样的图像数据,由于对此也可以采用通常的登录方法,因而就省略说明。这样,在这里只对列表「定义表」的设定画面进行说明。As shown in the figure, on the
如图6所示,在「定义表」的设定画面300中,首先,进行规定的字列的设定。规定的字列作为一个例子是由开始字列和结束字列所构成,前者表示开始附加图像数据的位置,后者表示结束附加图像数据的位置。操作人员可以通过开始字列设定栏301及结束字列设定栏302的上下移动符号从已被登录的字列中选择这些开始字列及结束字列,也可以直接将字列输入到各设定栏301、302内。在这里,作为开始字列设定为「收据」、作为结束字列设定为「谢谢购买」。As shown in FIG. 6, on the
在上述的实施例中,表示了将图像重叠在开始字列和结束字列所指定的区域内的例子,只指定开始字列,也可以让图像的结束位置和结算信息的打印结束位置相一致。In the above-mentioned embodiment, an example is shown in which the image is superimposed in the area specified by the start character string and the end character string, and only the start character string is specified, and the end position of the image can also be made to coincide with the printing end position of the settlement information. .
接下来,进行图像指定数据的设定。图像指定数据的设定是通过操作人员从已登录文件一览表303中选择一个文件、来指定成为图像数据的文件,并输入到文件设定栏304内。另外,操作人员通过在ID栏305选择已登录的ID,也可以指定文件。在这里,作为「图像数据」,如图13所示的那样、登录有三个图像文件,从这些图像文件中可以选择一个图像数据,在本设定操作中是选择了「火焰花纹(ID:U2)」。Next, setting of image specifying data is performed. To set the image designation data, the operator selects a file from the registered file list 303 to designate a file to be image data, and inputs it into the file setting column 304 . In addition, the operator can also designate a file by selecting a registered ID in the ID column 305 . Here, as "image data", as shown in Fig. 13, three image files are registered, and one image data can be selected from these image files. )".
接下来,进行行号码的设定。在这里,作为特定打印区域的行号码,可以设定取得开始字列的行号码或比开始字列下一行的行号码中的一个、及取得结束字列的行号码或比结束字列上一行的行号码中的一个。也就是说,可以设定是根据包含对象字列的位置来特定打印区域、还是根据不包含对象字列的位置来特定打印区域。在这里,是将从「包含」开始字列的位置(行)到「包含」结束字列的位置(行)作为打印区域来特定的。Next, set the line number. Here, as the line number of the specified printing area, one of the line number of the start character string or the line number of the line below the start character string, and the line number of the end character string or one line above the end character string can be set. one of the row numbers. That is, it can be set whether to specify the print area based on the position containing the target character string or to specify the print area based on the position not including the target character string. Here, the print area is specified from the position (line) of the start character string of "include" to the position (row) of the end character string of "include".
接下来,进行彩色设定。在这里,首先设定是否进行彩色指定。然后,在通过操作人员对彩色设定确认为「指定」的情况下,在彩色设定栏306中将图像数据设定为打印的打印颜色。Next, make color settings. Here, first set whether to perform color designation. Then, when the operator confirms the color setting as "designated", the image data is set as the print color for printing in the color setting column 306 .
另外,在这里,由于事先设定用主色「K(黑色)」来进行结算处理打印数据的打印,因而图像数据就可以设定为「K(黑色)」以外的打印颜色(副色)。这样,比如在只进行「K(黑色)」和「R(红色)」两色打印的打印装置中,在用主色「K(黑色)」来打印打印数据的情况下,图像数据就必然要用副色「R(红色)」来打印。这样,通过用主色来打印打印数据、用副色来打印图像数据,就不会损坏打印数据所打印的文字等的清晰度,因而就可以附加图像数据。另外,在本设定操作中是选择了打印颜色「Red(红色)」。Here, since the printing of the settlement process print data is set in advance with the main color "K (black)", the image data can be set to a print color (secondary color) other than "K (black)". In this way, for example, in a printing device that only performs two-color printing of "K (black)" and "R (red)", if the print data is printed with the main color "K (black)", the image data must be Print with secondary color "R (red)". In this way, by printing the print data in the main color and printing the image data in the secondary color, the image data can be added without impairing the clarity of characters printed on the print data. In addition, in this setting operation, the print color "Red (red)" is selected.
另外,在对彩色设定确认为「不指定」的情况下,就根据事先所设定的打印颜色(比如店铺的标题彩色等)来打印图像数据。但是,在图像数据被登录为用彩色的情况下等,也可以为用该所登录的彩色来进行打印的结构。当完成以上的内容设定时,由操作人员点击「OK 」按钮307,「定义表」所设定的信息就被存储到PC40内的RAM等存储器内。In addition, when the color setting is confirmed as "not specified", the image data is printed in accordance with the print color set in advance (for example, the color of the title of the store, etc.). However, in the case where the image data is registered in color, etc., it may be configured to perform printing in the registered color. When the above content setting is completed, the operator clicks the "OK" button 307, and the information set in the "definition table" is stored in the memory such as RAM in the PC40.
在这里,参照图9及图14对上述设定的定义表及打印结果进行说明。如图9所示,在定义表内,由上述一连串的操作所设定的信息被附加了项目No,这里,表示了只设定了一个项目(项目No.1)。另外,作为开始字列被设定为「收据」,并且作为结束字列被设定为「谢谢购买」,各自的行号码设定就为「1」。这表示了根据「包含」该对象字列的位置(行)来特定打印区域,在根据「不包含」该对象字列的位置(为在对象字列为「开始字列」的情况下,在其一行以下的行、或在对象字列为「结束字列」的情况下,在其一行以上的行取得的行号码)来特定打印区域的情况下就为「0」。Here, the definition table and print results of the above settings will be described with reference to FIGS. 9 and 14 . As shown in FIG. 9, in the definition table, item No. is added to the information set by the above-mentioned series of operations, and here, only one item (item No. 1) is set. In addition, "receipt" is set as the start character string, and "thank you for the purchase" is set as the end character string, and the respective row numbers are set to "1". This means that the print area is specified based on the position (row) that "includes" the target character string. According to the position that "does not contain" the target character string (in the case of "0" when specifying the print area by the line number obtained in the line below one line, or in the case where the target character string is "end character string", in the line above one line).
另外,作为图像指定数据设定为「U2/C:fire.jpg」,但在表格上也可以用文件名称「fire」来存储。另外,也可以根据附加到每个图像数据文件上的联络号码或规定的法则、用被附加的数值替代文件名称来进行存储。在这里,根据ID「U2」存储了图像指定No.「02」。In addition, "U2/C:fire.jpg" is set as the image designation data, but it can also be stored with the file name "fire" on the table. In addition, it is also possible to store an added numerical value instead of a file name according to a contact number attached to each image data file or a predetermined rule. Here, image designation No. "02" is stored based on ID "U2".
还有,作为彩色指定设定为「Red」,但在表格上也可以根据附加到每个彩色上的彩色指定No.或规定的法则、用被附加的数值替代彩色名称来进行存储。在这里,存储了附加在每个彩色上的彩色指定No.(Red为「2」)。In addition, "Red" is set as the color designation, but it is also possible to store in the table by replacing the color name with the added numerical value according to the color designation No. added to each color or a predetermined rule. Here, the color designation No. ("2" for Red) added to each color is stored.
接下来,在该图中表示了在定义表上存储有上述信息的情况、并在结算处理打印数据中包含开始字列「收据」及结束字列「谢谢购买」的情况下的数据取得结果。即、该情况取得表示“根据彩色指定No.2在从行号码「x1」到「x2」的打印区域内打印图像指定No.02的图像数据”的数据。所谓行号码「x1」及「x2」,是分别表示包含开始字列「收据」及结束字列「谢谢购买」的行的行号码。Next, the figure shows the data acquisition result when the above information is stored in the definition table and the settlement process print data includes the start character string "receipt" and the end character string "thank you for the purchase". That is, in this case, data representing "print image data of image designation No. 02 in the printing area from line number "x1" to "x2" based on color designation No. 2" is obtained. The so-called line numbers "x1" and "x2" ", which are the line numbers of the lines containing the start line "receipt" and the end line "thank you for your purchase", respectively.
然后,取得上述那样的数据的结果、得到的打印结果,就是图14所示的<打印例1>。如这里所示的那样,在收据61上,结算处理打印数据中(参照图17)被附加了图像数据「U2/C:fire.jpg 」(火焰;参照图13),该打印颜色为「Red」。另外,打印区域为从包含有开始字列「收据」的行号码「x1」到包含有结束字列「谢谢购买」的行号码「x2」。而且,如这里所示的那样,根据从包含有开始字列的行到包含有结束字列的行的长度,图像数据被反复打印。Then, the result of obtaining the above-mentioned data and the obtained printing result are <printing example 1> shown in FIG. 14 . As shown here, on the
另外,在结算处理打印数据中,在只包含有开始字列或结束字列中的任何一方的情况下、即在不包含开始字列及结束字列的双方的情况下,就不进行不能特定打印区域的图像数据的附加。但是,通过变更设计,在抽出开始字列或结束字列的任何一方的情况下,也可以将图像数据附加到从开始字列到下方的x行、或从结束字列到收据结束行,从结束字列到上方的y行、或从结束字列到收据开始行等。In addition, in the settlement processing print data, if only either one of the start character string or the end character string is included, that is, if neither the start character string nor the end character string is included, no identification cannot be performed. Attachment of the image data of the printing area. However, by changing the design, in the case of extracting either the start character string or the end character string, image data may be attached to x lines from the start character string to the bottom, or from the end character string to the receipt end row, from From the end word column to the y line above, or from the end word column to the receipt start line, etc.
这样,在本发明中,由于图像数据的打印区域由为图像附加设定指令所包含的参数中的一个参数的行号码所特定,因而,打印装置50就可以容易地决定打印区域,进行图像数据的附加处理。特别是,通过将规定的字列作为必须打印到收据上的字列(比如「收据」、「合计金额」等),就可以根据收据的长度,发行在恰当的位置打印图像数据的收据61。In this way, in the present invention, since the printing area of image data is specified by the line number of one of the parameters included in the image addition setting command, the
接下来,对于根据图9所示的数据取得结果所生成的图像附加设定指令,参照图11A、11B来进行说明。图11A表示了图像附加设定指令的结构,在其中,「ESC I」表示图像附加设定指令编号,接下来的「n1,n2,n3,n4」表示参数(一般使用被称为ESC序列的指令)。各参数由1bite(8bit)所构成,n1表示图像指定No.,在<打印例1>的情况下表示为「02」。另外,n2及n3表示开始行号码及结束行号码,在<打印例1>的情况下表示为「x1」及「x2」。还有,n4表示彩色信息(彩色指定No.),在<打印例1>的情况下表示为「2」(参照图9)。Next, an image addition setting command generated based on the data acquisition result shown in FIG. 9 will be described with reference to FIGS. 11A and 11B . Figure 11A shows the structure of the image additional setting command, in which "ESC I" represents the image additional setting command number, and the following "n1, n2, n3, n4" represent parameters (generally using a sequence called ESC instruction). Each parameter is composed of 1bit (8bit), n1 indicates the image designation No., and in the case of <print example 1>, it is expressed as "02". In addition, n2 and n3 indicate the start line number and the end line number, and are expressed as "x1" and "x2" in the case of <print example 1>. In addition, n4 represents color information (color designation No.), and is represented as "2" in the case of <print example 1> (see FIG. 9 ).
另外,如图9所示,表示开始行号码的参数「n2」在8bit中为最初的1bit,表示行号码设定(参照图9),在包含有行号码的情况、不包含「1」的情况下,用「0」来表示,还有,用剩余的7bit表示开始行号码(第一行至第128行)。关于表示结束行号码的参数「n3」也是同样的结构。另外,构成各参数的bit数及参数的顺序可以适当地变更。In addition, as shown in FIG. 9, the parameter "n2" indicating the start line number is the first 1 bit in 8 bits, and indicates the line number setting (see FIG. 9). When the line number is included, "1" is not included. In this case, "0" is used to indicate, and the remaining 7 bits are used to indicate the start line number (the first line to the 128th line). The same structure applies to the parameter "n3" indicating the end line number. In addition, the number of bits constituting each parameter and the order of parameters can be changed as appropriate.
这样,在本发明中,作为图像附加设定指令,设定附加图像数据的专用指令,作为参数可以在发送结算处理打印数据的同时一起发送各种信息。通过这样,在接收装置50方面就不会带来障碍、就可以容易地进行图像数据的附加处理(收据打印数据的生成处理)。In this way, in the present invention, as the image addition setting command, a dedicated command for adding image data is set, and various information can be transmitted together with the settlement processing print data as parameters. In this way, image data addition processing (receipt print data generation processing) can be easily performed without causing trouble to the receiving
下面,对于PC40的结算处理打印数据/图像附加设定指令的发送处理,参照图7的流程图进行说明。PC40通过键盘43的输入及读出条形码读取器44的条形码,取得与商品有关的输入信息,据此生成结算处理打印数据(S11)。然后,通过检索结算处理打印数据,抽出其所包含的规定的字列(开始字列及结束字列)(S12)。Next, the process of sending the settlement process print data/image addition setting command by the
这时,规定的字列和上述的那样事先被设定,作为定义表被存储起来。然后,在抽出了规定的字列(在<打印例1>的情况下,开始字列「收据」及结束字列「谢谢购买」)的情况下(S13:Yes),取得该规定的字列所特定的行号码、及与规定的字列相关地被存储的图像指定数据和彩色信息(S14:参照图9)。然后,根据该取得结果,生成图像附加设定指令(S15:参照图11A),并和结算处理打印数据一起发送到打印装置50(S16),结束处理(S18)。另一方面,在没有抽出规定的字列的情况下(S13:No),就不会生成图像附加设定指令,只将结算处理打印数据发送到打印装置50(S17)。最好是所述字列为有含义的用语、单词,但如果即使为一个文字也能表达含义的特别的文字的话,一个文字也可以。At this time, predetermined character strings are set in advance as described above, and are stored as a definition table. Then, when a predetermined character string is extracted (in the case of <printing example 1>, the start character string "receipt" and the end character string "thank you for purchasing") (S13: Yes), the predetermined character string is acquired Image specifying data and color information are stored in association with the specified line number, predetermined character string (S14: refer to FIG. 9 ). Then, based on the obtained result, an image addition setting command is generated (S15: refer to FIG. 11A ), and sent to the
接下来,接着上述的PC40的结算处理打印数据/图像附加设定指令的发送处理,对于打印装置50的收据打印数据生成处理,参照图8的流程图来进行说明。打印装置50当从PC40取得结算处理打印数据时(S21:Yes),就判断图像附加设定指令是否与该结算处理打印数据一起被发送了(S23)。在取得的数据不是结算处理打印数据的情况下(S21:No),就根据该指示进行处理(S22)。另外,在图像附加设定指令没有被发送的情况下(S23:No),就不进行图像数据的附加处理(S24),就将结算处理打印数据维持原样作为收据打印数据(S27)。Next, the receipt print data creation process of the
另一方面,在图像附加设定指令与结算处理打印数据一起被发送了的情况下(S23:Yes),就解析图像附加设定指令(S25),取得行号码(开始行号码及结束行号码)、图像指定数据(图像指定No.)及彩色信息(彩色指定No.)(S26:参照图11A)。然后,根据取得的信息,将图像数据附加到结算处理打印数据中(迭加),生成收据打印数据(S27),结束处理(S28)。On the other hand, when the image addition setting command is sent together with the settlement processing print data (S23: Yes), the image addition setting command is analyzed (S25) to obtain the line numbers (the start line number and the end line number) ), image specifying data (image specifying No.), and color information (color specifying No.) (S26: refer to FIG. 11A). Then, based on the acquired information, the image data is added (superimposed) to the settlement processing print data to generate receipt print data (S27), and the process ends (S28).
这样,在本发明中,通过检索PC40所生成的结算处理打印数据,抽出特定图像数据的打印位置、即实际的收据上的打印位置的规定的字列,根据该规定的字列所特定的行号码来生成图像附加设定指令。然后,PC40将其与结算处理打印数据一起发送到打印装置50。另一方面,打印装置50根据图像附加设定指令将图像数据附加到结算处理打印数据中,生成打印到收据上的收据打印数据。即、通过该结构,作为PC40和打印装置50之间的接口即使在采用了低速接口的情况下,也可以迅速地打印图像数据。另外,在PC40方面由于生成附加图像数据的附加设定指令,因而不用直接操作打印装置50、通过PC40就可以进行图像数据的设定。In this way, in the present invention, by retrieving the settlement processing print data generated by the
在这里,举几个实例来对其他的图像数据的打印例进行说明。图10A、图12A及图15表示了<打印例2>的定义表、数据取得结果、图像附加设定指令及打印结果。如图10A所示,在定义表内,存储有指定同样图像数据「U2/C:hana.jpg」(花朵花纹)的两个项目。在该情况下,数据取得结果如该图所示的那样,开始行号码、结束行号码、彩色指定成为一组,形成两组相关地被附加到一个图像指定数据中的形式,在两个打印区域内打印同样的图像数据。因此,如图12A所示的那样,图像附加设定指令也与表示开始行号码、结束行号码、彩色信息的参数(「n2,n3,n4」及「n5,n6,n7」)成为一组被附加在表示图像指定数据的参数「n1」的后面。Here, several examples are given to describe printing examples of other image data. 10A, 12A, and 15 show the definition table, data acquisition results, image addition setting commands, and printing results of <print example 2>. As shown in FIG. 10A , in the definition table, two items specifying the same image data "U2/C:hana.jpg" (flower pattern) are stored. In this case, the result of data acquisition is as shown in the figure. The start line number, the end line number, and the color designation are combined into one set, and two sets of data are added to one image designation data in relation to each other. Print the same image data in the area. Therefore, as shown in FIG. 12A, the image addition setting command is also set with parameters indicating the start line number, end line number, and color information ("n2, n3, n4" and "n5, n6, n7"). It is appended after the parameter "n1" indicating image designation data.
但是,在<打印例2>中,由于对结束字列「收据」的行号码设定为「0」(参照图10A),因而表示参数「n3」的行号码设定的先头位(bit)就为「0」(参照图11B)。这样,包含有结束字列「收据」的行就不成为打印区域,从包含有结束字列「收据」的行开始到一行以上的行为打印区域。However, in <Print Example 2>, since the line number of the ending character string "receipt" is set to "0" (see FIG. 10A), the leading bit (bit) of the line number setting of the parameter "n3" is indicated. It is "0" (see FIG. 11B). In this way, the line containing the end character string "receipt" does not become the printing area, and the line starting from the line containing the end character string "receipt" to more than one line is the printing area.
因此,在图15中表示了图12所示的图像附加设定指令被发送的情况的打印结果。如这里所示的那样,图像数据(花朵花纹)被打印在两个打印区域内,在第一个打印区域(开始行号码「x1」及结束行号码「x2」所特定的打印区域)中,图像数据从行号码「x1」到行号码「x2-1」被打印,在第二个打印区域(开始行号码「x3」及结束行号码「x4」所特定的打印区域)中,图像数据从行号码「x3」到行号码「x4」被打印。Therefore, FIG. 15 shows the print result when the image addition setting command shown in FIG. 12 is sent. As shown here, the image data (flower pattern) is printed in two print areas, and in the first print area (the print area specified by the start line number "x1" and the end line number "x2"), Image data is printed from line number "x1" to line number "x2-1". In the second print area (the print area specified by the start line number "x3" and the end line number "x4"), the image data from Line number "x3" to line number "x4" are printed.
这样,如<打印例2>所示那样,对同样的图像指定数据在抽出多个规定的字列的情况下,就可以根据更简单的结构的图像附加设定指令来进行图像数据的附加设定。In this way, as shown in <Print Example 2>, when a plurality of predetermined character strings are extracted for the same image designation data, image data addition setting can be performed based on an image addition setting command with a simpler structure. Certainly.
接下来,图10B、图12B及图16表示了<打印例3>的定义表、数据取得结果、图像附加设定指令及打印结果。如图10B所示那样,在定义表内,对不同的图像数据「U3/C:syoku.jpg」、「U4/C:nichi.jpg」、「U5/C:iyaku.jpg」分别存储有被相关地附加了开始字列及结束字列的三个项目。在这种情况,数据取得结果如该图所示,成为对各图像指定数据分别相关地附加了开始行号码、结束行号码、彩色指定的形式。因此,如图12B所示的那样,图像附加设定指令也与表示图像指定数据、开始行号码、结束行号码、彩色信息的参数(「n1,n2,n3,n4」及「n5,n6,n7,n8」…)形成一组被附加。Next, Fig. 10B, Fig. 12B and Fig. 16 show the definition table, data acquisition result, image addition setting command and printing result of <print example 3>. As shown in FIG. 10B, in the definition table, different image data "U3/C: syoku.jpg", "U4/C: nichi.jpg", and "U5/C: iyaku.jpg" are respectively stored. The three items of the start character string and the end character string are added accordingly. In this case, as shown in the figure, the data acquisition result is in a format in which a start line number, an end line number, and a color designation are associated with each image designation data. Therefore, as shown in FIG. 12B, the image addition setting command is also associated with parameters ("n1, n2, n3, n4" and "n5, n6, n7,n8"...) form a group to be appended.
但是,在<打印例3>中,三个项目被存储于定义表内,它们为开始字列不同的字列、结束字列完全相同的字列「类别合计」。在这种情况,将存在于从开始字列到下方、并存在于各个项目最末行的字列作为对该开始字列的结束字列。因此,即使同样的结束字列被存储于不同的项目内,在该结束字列存在于多个结算处理打印数据内的情况下,就不用重复打印多个图像数据。However, in <printing example 3>, three items are stored in the definition table, and they are "category totals" whose start characters are different and end characters are exactly the same. In this case, the character string that exists from the start character string to the bottom and exists in the last line of each item is used as the end character string of the start character string. Therefore, even if the same ending character string is stored in different items, if the ending character string exists in a plurality of settlement processing print data, it is not necessary to repeatedly print a plurality of image data.
因此,在图16中表示了图12B所示的图像附加设定指令被发送的情况的打印结果。如这里所示的那样,在分别的开始字列及结束字列所特定的打印区域内,对图像数据「U3/C:syoku.jpg 」、「U4/C:nichi.jpg」、「U5/C:iyaku.jpg」实施打印。另外,结束字列即使为同样的字列,由于该结束字列存在于多个结算处理打印数据内,因而就不用重复打印三个图像数据。Therefore, FIG. 16 shows the print result when the image addition setting command shown in FIG. 12B is sent. As shown here, image data "U3/C: syoku.jpg", "U4/C: nichi.jpg", "U5/C: C: iyaku.jpg" to print. In addition, even if the ending character string is the same character string, since the ending character string exists in a plurality of settlement processing print data, it is not necessary to repeatedly print three image data.
这样,如<打印例3>所示的那样,即使在将多个图像指定数据打印到不同的打印区域的情况,也可以根据一个图像附加设定指令来进行图像数据的附加设定。In this way, as shown in <printing example 3>, even when a plurality of image designation data are printed in different print areas, image data addition setting can be performed based on one image addition setting command.
如上述的那样,本发明为:从结算处理打印数据中检索规定的字列,取得实际特定打印该数据时的收据上的位置的信息,特定字列位置,采用该字列位置的信息来决定图像数据的收据上的起点或终点,将所述图像数据合成到所述结算处理打印数据中,生成收据打印数据,打印生成的收据打印数据的打印装置及打印方法。As described above, the present invention is to: search for a specified character string from the settlement processing print data, obtain information that actually specifies the position on the receipt when the data is printed, specify the character string position, and determine the character string position using the information on the character string position. A printing device and a printing method for compositing the image data to the settlement processing print data, generating receipt print data, and printing the generated receipt print data.
另外,根据适当的实施例,通过将图像指定数据、开始字列及结束字列建立相关关联、作为定义表存储多个,根据结算处理打印数据所包含的字列,就可以将多种多样的图像数据打印到所希望的打印区域。In addition, according to a suitable embodiment, by associating the image designation data, the start character string, and the end character string, and storing a plurality of them as a definition table, it is possible to use various The image data is printed to the desired print area.
特别是,如本实施例那样,在POS系统方面采用了本发明的打印装置50的情况下,通过将店铺的标志等作为图像数据存储起来,就可以发行在特定的区域内打印店铺的标志的收据61。即、只要在作为收据打印机用的打印装置50内具有仅存储图像数据(标志)的小的存储器,就可以在作成可视性高的收据的同时,加强顾客对店铺形象的印象,提高宣传效果。In particular, as in this embodiment, when the
另外,在上述实施例中,图像附加设定指令的生成,是通过编入到PC40内的控制部140的打印驱动器109来实现的,但也可以为将其收存到记录介质中、用其他的PC及打印装置可以使用生成程序的结构。作为记录介质可以使用硬盘、闪存ROM、存储卡{小型闪存(注册商标)、灵敏介质、存储棒等}、小型盘、光磁盘、数字分通用盘及软盘等。In addition, in the above-mentioned embodiment, the generation of the image addition setting command is realized by the
如上所述,本发明的打印装置的控制方法,通过收据打印数据生成方法、程序、打印驱动器、打印装置、商品销售数据处理装置及POS系统,不是由PC40将图像数据发送到打印装置50,而是将图像数据存储于打印装置50内,由于由PC40发送附加图像数据的图像附加设定指令发送,因而作为PC40和打印装置之间的接口,即使在采用了低速接口的情况下,在传送时间上也没有问题,不会降低处理效率。As described above, in the control method of the printing apparatus of the present invention, the
另外,打印装置50,通过从图像附加设定指令所包含的参数中取得行号码,就可以容易地特定打印位置。进而,就可以达到作成美观的收据等的作用·效果。In addition, the
另外,通过打印驱动器109生成附加图像数据的图像附加设定指令,不用直接操作打印装置50,就可以由PC40来进行图像数据的设定。还有,PC40即使为单色·文本格式的应用程序,也不用将其变更、通过打印装置50就可以发行彩色·绘图格式的收据。In addition, by generating an image addition setting command for additional image data by the
另外,在上述的例子中,是事先设定为以主色[K(黑色)]来打印结算处理打印数据、图像数据可以设定[K(黑色)]以外的打印颜色(副色),但也可以为作为图像数据设定[K(黑色)]的结构。在这种情况(结算处理打印数据和图像数据被设定为用同一颜色来进行打印的情况),自动地降低打印浓度来打印图像数据是非常理想的。通过该结构,不会损坏结算处理打印数据的清晰度,就可以附加图像数据。In addition, in the above-mentioned example, it is set in advance that the settlement processing print data is printed in the main color [K (black)]. The image data can be set to a print color (secondary color) other than [K (black)]. A configuration in which [K (black)] is set as image data may also be used. In such a case (when the settlement processing print data and the image data are set to be printed in the same color), it is ideal to print the image data by automatically reducing the print density. With this configuration, image data can be added without impairing the resolution of the print data for settlement processing.
另外,不仅可以设定图像数据的打印颜色、也可以为设定结算处理打印数据的打印颜色的结构。但在这种情况,也可以为图像数据只设定结算处理打印数据的设定颜色以外的打印颜色的结构,或在结算处理打印数据和图像数据被设定为用同一颜色来打印的情况下,设定自动地降低打印浓度来打印图像数据是非常理想的。In addition, not only the print color of the image data but also the print color of the settlement process print data may be set. However, in this case, only a print color other than the set color of the settlement process print data may be set for the image data, or when the settlement process print data and the image data are set to be printed in the same color , it is ideal to set to automatically reduce the print density to print image data.
另外,在上述的例子中,是作为设定开始字列和结束字列的两方的,但在没有这两方的设定的情况下,根据缺省值,也可以特定图像数据的打印区域。比如,在没有设定开始字列的情况下,也可以从收据61的前端规定的长度X的行开始打印图像数据,在没有设定结束字列的情况下,也可以从收据61的后端到规定的长度Y的行为止结束图像数据的打印。还有,在没有指定开始字列的情况下,也可以从结算处理打印数据所包含的规定的字列(比如「TEL:」等)被打印的行开始打印图像数据,在没有指定结束字列的情况下,也可以到打印数据所包含的其他的规定的字列(比如「谢谢购买」等)被打印的行结束图像数据的打印。通过这些结构,用户就可以在不拘泥于打印区域的情况下节省设定的操作。In addition, in the above example, both the start character string and the end character string are set, but if there is no setting of both, the print area of the image data can also be specified according to the default value. . For example, if the start character string is not set, the image data can also be printed from the front end of the
另外,图像数据(定义表)的设定并不限于图6所示的设定内容,也可以为进行图像数据的扩大·缩小及旋转角度的设定、两个以上的图像数据的指定及它们的打印颜色的设定等的结构。通过该结构,就可以附加更加多样的图像数据。In addition, the setting of the image data (definition table) is not limited to the setting contents shown in FIG. 6 , and the setting of the expansion/reduction of the image data, the setting of the rotation angle, the designation of two or more image data, and their The structure such as the setting of the printing color. With this configuration, more diverse image data can be added.
另外,在上述的实施例中,是将图像数据重叠到结算处理的打印数据中、作成所谓的附加背景图像的收据的,但本发明并不限定于此,比如,也可以将宣传用的信息作为图像数据插入结算信息的打印之中。在这种情况,通过「插入」图像附加设定指令内、或附加选择「重叠」的一方的打印处理的规定的参数,就可以容易地实现。In addition, in the above-mentioned embodiment, image data is superimposed on the print data of settlement processing to create a so-called background image-added receipt, but the present invention is not limited thereto. For example, information for publicity may also be It is inserted into the printing of settlement information as image data. In this case, it can be easily realized by "inserting" into the image addition setting command, or adding a predetermined parameter of the printing process that selects the "overlapping" one.
另外,在上述的例子中,作为打印装置50是使用喷墨方式的,但并不局限与此,也可以采用热敏头式、针极式的打印装置。In addition, in the above-mentioned example, an inkjet type is used as the
另外,不管上述的POS系统的例子、比如对于没有与服务器相连接的独立型的ECR、现金出纳机等系统结构及装置结构,只要在不脱离本发明的宗旨的范围内,也可以进行适宜的变更。In addition, regardless of the examples of the above-mentioned POS system, such as system structures and device structures such as independent ECRs that are not connected to the server, cash registers, etc., as long as they do not depart from the scope of the present invention, suitable adjustments can also be made. change.
如上述的那样,本发明的打印装置的控制方法通过收据打印数据生成方法、程序、打印驱动程序、打印装置、商品销售数据处理装置及POS系统,将图像数据存储到主计算机内,不是由主计算机发送图像数据,而是将图像数据存储到打印装置内,由于由主计算机发送附加图像数据的图像附加设定指令,因而,作为主计算机和打印装置之间的接口即使在采用了低速接口的情况下,也可以达到迅速打印图像数据等的效果。As described above, the printing device control method of the present invention stores the image data in the host computer through the receipt print data generation method, the program, the print driver, the printing device, the product sales data processing device, and the POS system, not by the host computer. The image data is sent by the computer, but the image data is stored in the printing device. Since the image addition setting command for additional image data is sent by the host computer, as the interface between the host computer and the printing device, even if a low-speed interface is used Under certain circumstances, the effect of quickly printing image data, etc. can also be achieved.
Claims (16)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002298995 | 2002-10-11 | ||
JP2002298994 | 2002-10-11 | ||
JP2002298994A JP4284963B2 (en) | 2002-10-11 | 2002-10-11 | Printing apparatus control method, program for realizing the same, recording medium, printer driver, merchandise sales data processing apparatus, and POS system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1497505A true CN1497505A (en) | 2004-05-19 |
CN100492423C CN100492423C (en) | 2009-05-27 |
Family
ID=32288257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2003101010337A Expired - Fee Related CN100492423C (en) | 2002-10-11 | 2003-10-10 | Control method of printing device, receipt print data generation method |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP4284963B2 (en) |
CN (1) | CN100492423C (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102081824A (en) * | 2009-11-12 | 2011-06-01 | 东芝泰格有限公司 | Commodity sales data processing apparatus and control method therefor |
CN103226884A (en) * | 2008-01-24 | 2013-07-31 | 精工爱普生株式会社 | Receipt printing processing method, receipt printing processing system and printer |
CN103223790A (en) * | 2012-01-25 | 2013-07-31 | 精工爱普生株式会社 | Recording device, control device, control method for a recording device, and a recording medium |
CN104063189A (en) * | 2013-03-21 | 2014-09-24 | 精工爱普生株式会社 | Print Control Method, Print Control Device, And Storage Medium |
CN102722940B (en) * | 2011-03-23 | 2016-05-25 | 精工电子有限公司 | Printer, Method of printing and program |
CN106133798A (en) * | 2014-04-04 | 2016-11-16 | 精工爱普生株式会社 | The control method of POS terminal, POS system and POS terminal |
CN109615801A (en) * | 2017-09-21 | 2019-04-12 | 卡西欧计算机株式会社 | Recording medium, management terminal, and management method of turnover data processing device |
CN109783037A (en) * | 2019-01-02 | 2019-05-21 | 上海济强电子科技有限公司 | A kind of instruction of print control and control method |
-
2002
- 2002-10-11 JP JP2002298994A patent/JP4284963B2/en not_active Expired - Fee Related
-
2003
- 2003-10-10 CN CNB2003101010337A patent/CN100492423C/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103226884A (en) * | 2008-01-24 | 2013-07-31 | 精工爱普生株式会社 | Receipt printing processing method, receipt printing processing system and printer |
CN102081824A (en) * | 2009-11-12 | 2011-06-01 | 东芝泰格有限公司 | Commodity sales data processing apparatus and control method therefor |
CN102722940B (en) * | 2011-03-23 | 2016-05-25 | 精工电子有限公司 | Printer, Method of printing and program |
CN103223790A (en) * | 2012-01-25 | 2013-07-31 | 精工爱普生株式会社 | Recording device, control device, control method for a recording device, and a recording medium |
CN103223790B (en) * | 2012-01-25 | 2016-03-16 | 精工爱普生株式会社 | The control method of tape deck, control device, tape deck and recording medium |
CN104063189A (en) * | 2013-03-21 | 2014-09-24 | 精工爱普生株式会社 | Print Control Method, Print Control Device, And Storage Medium |
CN104063189B (en) * | 2013-03-21 | 2017-12-19 | 精工爱普生株式会社 | Print control program, print control unit |
CN106133798A (en) * | 2014-04-04 | 2016-11-16 | 精工爱普生株式会社 | The control method of POS terminal, POS system and POS terminal |
CN109615801A (en) * | 2017-09-21 | 2019-04-12 | 卡西欧计算机株式会社 | Recording medium, management terminal, and management method of turnover data processing device |
CN109783037A (en) * | 2019-01-02 | 2019-05-21 | 上海济强电子科技有限公司 | A kind of instruction of print control and control method |
Also Published As
Publication number | Publication date |
---|---|
CN100492423C (en) | 2009-05-27 |
JP2004133778A (en) | 2004-04-30 |
JP4284963B2 (en) | 2009-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1287334C (en) | Printing method, program and apparatus, commodity sale data processing apparatus, pos system | |
US9672456B2 (en) | Image processing device, printing device, and image processing method | |
US6789482B2 (en) | Printing method, recording medium containing a program for applying the printing method, printer, printer driver, POS terminal, and POS system | |
CN1446693A (en) | Printing system, POS system, printing control method, colour setup device and method | |
CN1702695A (en) | Printing system, POS system, connection device, and control method and control program for printing system | |
CN1240550C (en) | Apparatus and method for two-color printing based on single color data | |
CN1497505A (en) | Control method of printing device, receipt print data generation method | |
EP1408465B1 (en) | Method of controlling printing apparatus in POS systems | |
JP4492188B2 (en) | POS terminal control method, receipt print data generation method, program, printing apparatus, merchandise sales data processing apparatus, and POS system | |
JP2004072774A (en) | Processor readable medium and multi-functional device | |
JP4492191B2 (en) | POS terminal control method and program | |
CN1187681C (en) | Designation making device, designation making method and recording medium | |
HK1062602A (en) | Methods of controlling a printing apparatus and creating print data of receipts | |
JP4341326B2 (en) | Printing method, printing apparatus, printer driver, merchandise sales data processing apparatus, and POS system | |
JP4168722B2 (en) | Receipt print data generation method, program for realizing the same, recording medium, and printing apparatus | |
CN1892572A (en) | Print system | |
CN1892571A (en) | Print system | |
JP4492261B2 (en) | PRINT CONTROL DEVICE, CONTROL METHOD AND PROGRAM FOR PRINT CONTROL DEVICE | |
HK1061293B (en) | Method of printing, program and apparatus for printing, merchandise sales data processing apparatus, and pos system | |
JP2004013630A (en) | Printer, printer driver, printing system, POS system, printer control method, print data generation method, program for causing a computer to execute these methods, and recording medium thereof | |
JP2006301737A (en) | Image registration apparatus, image registration method, image registration program, and image preview program | |
EP1396808A1 (en) | Method and apparatus of printing payment transaction information, program, printer driver and point of sale system for realising the same | |
HK1057027B (en) | The printing system, the printer, the pos system, the color setting device and the method, the printer driver and the printing control method | |
JP2002091428A (en) | Picture processor and method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1062602 Country of ref document: HK |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1062602 Country of ref document: HK |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090527 Termination date: 20171010 |
|
CF01 | Termination of patent right due to non-payment of annual fee |