CN105094714B - Printing data processing system, information processing unit and printing equipment - Google Patents

Printing data processing system, information processing unit and printing equipment Download PDF

Info

Publication number
CN105094714B
CN105094714B CN201510258092.8A CN201510258092A CN105094714B CN 105094714 B CN105094714 B CN 105094714B CN 201510258092 A CN201510258092 A CN 201510258092A CN 105094714 B CN105094714 B CN 105094714B
Authority
CN
China
Prior art keywords
print data
processing unit
identification information
printing
print
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510258092.8A
Other languages
Chinese (zh)
Other versions
CN105094714A (en
Inventor
高栖和弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
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
Priority claimed from JP2014106399A external-priority patent/JP6442870B2/en
Priority claimed from JP2014106297A external-priority patent/JP2015222482A/en
Priority claimed from JP2014126038A external-priority patent/JP2016004513A/en
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Publication of CN105094714A publication Critical patent/CN105094714A/en
Application granted granted Critical
Publication of CN105094714B publication Critical patent/CN105094714B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/1803Receiving particular commands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • G06F3/1212Improving printing performance achieving reduced delay between job submission and print start
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/126Job scheduling, e.g. queuing, determine appropriate device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1288Remote printer device, e.g. being remote from client or server in client-server-printer device configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

本发明涉及打印数据处理系统、信息处理装置以及打印装置。本发明的打印数据处理系统(101)具备多个打印数据分发装置、和从多个所述打印数据分发装置接收打印数据的信息处理装置,所述信息处理装置根据多个所述打印数据分发装置将接收用处理部起动,各所述接收用处理部向对应的所述打印数据分发装置询问所述打印数据的有无,在所述打印数据分发装置中存在所述打印数据的情况下进行接收,将接收到的所述打印数据保存到共享的存储区域。

The invention relates to a printing data processing system, an information processing device and a printing device. The print data processing system (101) of the present invention includes a plurality of print data distribution devices, and an information processing device that receives print data from the plurality of print data distribution devices, and the information processing device transmits The reception processing unit is activated, each of the reception processing units inquires of the corresponding print data distribution device whether the print data exists, and receives the print data when the print data distribution device exists. , saving the received print data to a shared storage area.

Description

打印数据处理系统、信息处理装置以及打印装置Print data processing system, information processing device and printing device

技术领域technical field

本发明涉及对打印数据进行处理的打印数据处理系统、能够在该打印数据处理系统中使用的信息处理装置、以及能够在该打印数据处理系统中使用的打印装置。The present invention relates to a print data processing system for processing print data, an information processing device usable in the print data processing system, and a printing device usable in the print data processing system.

背景技术Background technique

以往,公知有一种1个装置与其他装置经由网络连接,该1个装置基于由规定的单元取得的设定信息,来将分发对象的数据经由网络发送给作为分发目的地的上述其他装置的系统(例如,专利文献1)。Conventionally, there is known a system in which one device is connected to another device via a network, and the one device transmits data to be distributed to the other device as a distribution destination via a network based on setting information acquired by a predetermined unit. (eg, Patent Document 1).

另外,以往公知有一种复合机从经由网络而连接的服务器接收内容的系统(例如,专利文献2)。在专利文献2中,提出了一种在上述系统中,能够高速进行基于来自复合机所具备的面板的指示的抽拉打印(pull-print)的技术。Also, conventionally, there is known a system in which a multifunction peripheral receives content from a server connected via a network (for example, Patent Document 2). Patent Document 2 proposes a technique for enabling high-speed pull-printing based on an instruction from a panel included in the multifunction peripheral in the above-mentioned system.

专利文献1:日本特开2004-214731号公报Patent Document 1: Japanese Unexamined Patent Publication No. 2004-214731

专利文献2:日本特开2007-135047号公报Patent Document 2: Japanese Patent Laid-Open No. 2007-135047

这里,对于与上述的系统同样地将发送打印数据的打印数据分发装置、与从打印数据分发装置接收打印数据的信息处理装置经由网络连接的打印数据处理系统而言,在成为将多个打印数据分发装置与信息处理装置连接的构成的情况下,存在想要进行与该构成对应的处理,使得信息处理装置能够从打印数据分发装置高效地接收打印数据的需求。然而,在以往的打印数据处理系统中,存在信息处理装置难以从打印数据分发装置高效地接收打印数据这一技术问题。Here, in a print data processing system that connects a print data distribution device that transmits print data and an information processing device that receives print data from the print data distribution device via a network similarly to the above-mentioned system, when a plurality of print data In the case of a configuration in which the distribution device is connected to the information processing device, there is a need to perform processing corresponding to this configuration so that the information processing device can efficiently receive print data from the print data distribution device. However, in the conventional print data processing system, there is a technical problem that it is difficult for an information processing device to efficiently receive print data from a print data distribution device.

另外,存在在打印数据分发装置成为能够发送打印数据的状态之后,能够尽量不产生时滞地由信息处理装置接收打印数据的需求,但在以往的打印数据处理系统中,存在在打印数据分发装置成为能够发送打印数据的状态之后产生时滞这一技术问题。In addition, after the print data distribution device becomes capable of transmitting print data, there is a need for the information processing device to receive the print data with as little time lag as possible. There is a technical problem that a time lag occurs after the print data can be sent.

另外,在构成为将1个或者多个打印设备与信息处理装置连接,信息处理装置将从打印数据分发装置接收到的打印数据输出给打印设备的情况下,存在以下的需求。即,虽然存在信息处理装置在将从打印数据分发装置接收到的打印数据发送给1个打印设备时,想要按照从打印数据分发装置接收的顺序向该1个打印设备发送打印数据的需求,但存在难以满足该需求这一技术问题。In addition, when one or more printing devices are connected to the information processing device, and the information processing device outputs the print data received from the print data distribution device to the printing devices, the following needs exist. That is, although there is a need for the information processing apparatus to transmit the print data to one printing apparatus in the order received from the print data distribution apparatus when the information processing apparatus transmits the print data received from the print data distribution apparatus to the one printing apparatus, However, there is a technical problem that it is difficult to meet this demand.

发明内容Contents of the invention

本发明为了解决上述技术问题的至少一部分而提出,能够作为以下的方式或者应用例来实现。The present invention is made to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[应用例]本应用例涉及的打印数据处理系统具备:多个打印数据分发装置、和从多个所述打印数据分发装置接收打印数据的信息处理装置,所述信息处理装置根据多个所述打印数据分发装置将接收用处理部起动,各所述接收用处理部向对应的所述打印数据分发装置询问所述打印数据的有无,当所述打印数据分发装置中存在所述打印数据时进行接收,将接收到的所述打印数据保存到共享的存储区域。[Application example] The print data processing system according to this application example includes: a plurality of print data distribution devices; and an information processing device that receives print data from the plurality of print data distribution devices. The print data distribution device activates the processing unit for reception, and each of the processing units for reception inquires whether the print data exists in the corresponding print data distribution device, and when the print data exists in the print data distribution device receiving, and storing the received print data in a shared storage area.

根据本应用例,信息处理装置根据多个打印数据分发装置来将多个接收用处理部,各接收用处理部向打印数据分发装置询问打印数据的有无,当打印数据分发装置中存在打印数据时进行接收,将接收到的打印数据保存到共享的存储区域。因此,接收用处理部能够不对其他接收用处理部的处理造成影响,另外,不对其他接收用处理部的处理造成影响而独立地从对应的打印数据分发装置接收打印数据,信息处理装置能够通过连接了多个打印数据分发装置的结构进行高效的打印数据的接收。According to this application example, the information processing device sends a plurality of processing units for reception according to a plurality of print data distribution devices. Receive at the time, and save the received print data in the shared storage area. Therefore, the receiving processing unit can independently receive print data from the corresponding print data distribution device without affecting the processing of other receiving processing units, and the information processing device can connect to The structure of a plurality of print data distributing devices is used to efficiently receive print data.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置的所述接收用处理部在将从所述打印数据分发装置接收到的所述打印数据保存到所述存储区域时,禁止其他所述接收用处理部向所述存储区域保存所述打印数据。In the print data processing system according to the above application example, when the reception processing unit of the information processing device stores the print data received from the print data distribution device in the storage area, other The reception processing unit stores the print data in the storage area.

根据该结构,能够防止由对应的接收用处理部从1个打印数据分发装置接收到的打印数据、与由对应的接收用处理部从其他打印数据分发装置接收到的打印数据以混合存在的状态被保存于存储区域,另外,能够将打印数据以接收到的顺序保存于存储区域。According to this configuration, it is possible to prevent the print data received from one print data distribution device by the corresponding reception processing unit from being mixed with the print data received from another print data distribution device by the corresponding reception processing unit. stored in the storage area, and print data can be stored in the storage area in the order received.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置的所述接收用处理部每隔规定时间进行所述打印数据的询问,能够按每个所述接收用处理部设定所述规定时间的值。In the print data processing system according to the above application example, the receiving processing unit of the information processing device may inquire about the print data at predetermined intervals, and the receiving processing unit may set the Specifies the value of time.

根据该结构,能够按照越是针对分发优先等级高、被要求迅速处理的打印数据的打印数据分发装置的询问,则间隔越小等的方式,根据系统的式样、需求来设定针对各打印数据分发装置的询问的间隔。According to this configuration, it is possible to set the data for each print data in accordance with the specifications and requirements of the system so that the inquiry from the print data distribution device is higher for the print data that has a higher distribution priority and is requested to be processed quickly, such that the interval is smaller. The interval between interrogations of the Distributor.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置与外部装置连接,将所述存储区域中保存的所述打印数据中的包含所述外部装置的识别信息的所述打印数据分发给所述外部装置。In the print data processing system according to the above application example, the information processing device is connected to an external device, and distributes the print data including the identification information of the external device among the print data stored in the storage area. to the external device.

根据该结构,信息处理装置能够将从打印数据分发装置接收到的打印数据发送给对应的外部装置。According to this configuration, the information processing device can transmit the print data received from the print data distribution device to the corresponding external device.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置具有基于所述打印数据来进行打印的打印部,由所述打印部基于所述存储区域中保存的所述打印数据中的包含所述信息处理装置的识别信息的所述打印数据来进行打印。In the print data processing system according to the above application example, the information processing device has a printing unit that performs printing based on the print data, and the printing unit performs printing based on the content of the print data stored in the storage area. The print data of the identification information of the information processing device is used for printing.

根据该结构,信息处理装置能够基于从打印数据分发装置接收到的打印数据来进行打印。According to this configuration, the information processing device can perform printing based on the print data received from the print data distribution device.

本应用例涉及的信息处理装置按所连接的每个外部设备起动接收用处理部,该接收用处理部向所述外部设备询问打印数据的有无,当所述外部设备中存在所述打印数据时进行接收,将接收到的所述打印数据保存到共享的存储区域。The information processing apparatus according to this application example activates a receiving processing unit for each connected external device, and the receiving processing unit inquires about the presence or absence of print data from the external device, and when the print data exists in the external device, receive at the time, and store the received print data in the shared storage area.

根据该结构,在对信息处理装置连接多个作为外部设备的打印数据分发装置而构建了打印数据处理系统的情况下,信息处理装置通过连接了多个打印数据分发装置的结构能够进行高效的打印数据的接收。According to this configuration, when a print data processing system is constructed by connecting a plurality of print data distribution devices as external devices to an information processing device, the information processing device can perform efficient printing by connecting a plurality of print data distribution devices. data reception.

本应用例涉及的打印装置具有基于打印数据来进行打印的打印部,按所连接的每个外部设备起动接收用处理部,该接收用处理部向所述外部设备询问所述打印数据的有无,当所述外部设备中存在所述打印数据时进行接收,将接收到的所述打印数据保存到共享的存储区域。The printing device according to this application example has a printing unit that performs printing based on print data, activates a receiving processing unit for each connected external device, and the receiving processing unit inquires of the external device whether or not the print data exists. , receiving when the print data exists in the external device, and storing the received print data in a shared storage area.

根据该结构,在对作为信息处理装置的打印装置连接多个作为外部设备的打印数据分发装置而构建了打印数据处理系统的情况下,打印装置能够通过连接了多个打印数据分发装置的构成来进行高效的打印数据的接收。According to this configuration, when a print data processing system is constructed by connecting a plurality of print data distribution devices as external devices to a printing device as an information processing device, the printing device can be configured by connecting a plurality of print data distribution devices. Efficient print data reception is performed.

本应用例涉及的打印数据处理系统具备与所述信息处理装置连接的打印设备,所述信息处理装置具有管理部,该管理部基于所述存储区域中保存的所述打印数据所含的识别信息来起动与该识别信息对应的输出用处理部,所述输出用处理部将所述存储区域中保存的所述打印数据以接收到的顺序读出,并将包含与所述输出用处理部对应的识别信息的所述打印数据输出给所述打印设备。The print data processing system according to this application example includes a printing device connected to the information processing apparatus, and the information processing apparatus has a management unit based on identification information contained in the print data stored in the storage area. to activate the output processing unit corresponding to the identification information, the output processing unit reads the print data stored in the storage area in the order received, and reads out the print data corresponding to the output processing unit. The print data of the identification information is output to the printing device.

根据该结构,在信息处理装置中,基于存储区域中保存的打印数据所含的识别信息来起动与识别信息对应的输出用处理部,输出用处理部将存储区域中保存的打印数据中的包含对应的识别信息的打印数据以接收到的顺序读出,并输出给对应的识别信息的打印设备。由此,输出用处理部针对对应的打印设备以接收到的顺序发送打印数据,信息处理装置在将从打印数据分发装置接收到的打印数据发送给打印设备的情况下,能够按照从打印数据分发装置接收到的顺序进行发送。According to this configuration, in the information processing device, based on the identification information included in the print data stored in the storage area, the output processing unit corresponding to the identification information is activated, and the output processing unit performs the output processing unit including the print data stored in the storage area. The print data corresponding to the identification information is read out in the order received, and output to the printing device corresponding to the identification information. As a result, the output processing unit transmits the print data to the corresponding printing devices in the order received, and when the information processing device transmits the print data received from the print data distribution device to the printing devices, it can be distributed in the order in which the print data is distributed. Devices send in the order they are received.

在上述应用例涉及的打印数据处理系统中,在不存在与所述打印数据所含的识别信息对应的所述输出用处理部的情况下,所述信息处理装置的所述管理部重新起动所述输出用处理部,在存在与所述打印数据所含的识别信息对应的所述输出用处理部的情况下,所述信息处理装置的所述管理部不起动所述输出用处理部。In the print data processing system according to the above application example, when the output processing unit corresponding to the identification information contained in the print data does not exist, the management unit of the information processing device restarts all In the output processing unit, the management unit of the information processing device does not activate the output processing unit when there is the output processing unit corresponding to the identification information contained in the print data.

根据该结构,能够防止与1个打印设备对应地重复起动多个输出用处理部。According to this configuration, it is possible to prevent a plurality of output processing units from being repeatedly activated corresponding to one printing device.

在上述应用例涉及的打印数据处理系统中,在所述存储区域中没有是包含与所述输出用处理部对应的识别信息的所述打印数据且未读出的所述打印数据的情况下,所述信息处理装置的所述输出用处理部停止。In the print data processing system according to the above application example, when the print data including the identification information corresponding to the output processing unit does not contain the print data that has not been read out in the storage area, The output processing unit of the information processing device stops.

根据该结构,对1个输出用处理部而言,在打印数据从存储区域的读出结束而不需要该1个输出用处理部的处理的情况下,能够抑制针对该1个输出用处理部维持被不必要地起动的状态。According to this configuration, when the reading of the print data from the storage area is completed for one output processing unit and processing by the one output processing unit is not required, it is possible to suppress The state of being activated unnecessarily is maintained.

在上述应用例涉及的打印数据处理系统中,所述打印数据中包含所述打印设备的识别信息或者所述信息处理装置的识别信息,所述信息处理装置具有打印部、和基于所述打印数据来控制所述打印部的打印控制部,在由所述接收用处理部将包含所述信息处理装置的识别信息的所述打印数据已保存到所述存储区域的情况下,所述信息处理装置的所述管理部将与所述信息处理装置的识别信息对应的所述输出用处理部起动,与所述信息处理装置的识别信息对应的所述输出用处理部,以接收到的顺序读出所述存储区域中保存的所述打印数据,将包含所述信息处理装置的识别信息的所述打印数据输出给所述打印控制部。In the print data processing system according to the above application example, the print data includes identification information of the printing device or identification information of the information processing device, the information processing device has a printing unit, and A print control unit that controls the printing unit, when the print data including the identification information of the information processing device has been stored in the storage area by the reception processing unit, the information processing device The management unit activates the output processing unit corresponding to the identification information of the information processing device, and the output processing unit corresponding to the identification information of the information processing device reads out The print data stored in the storage area is output to the print control unit including the identification information of the information processing device.

根据该结构,信息处理装置能够针对自身应该处理的打印数据以接收到的顺序进行处理而执行打印。According to this configuration, the information processing device can process the print data that it should process in the order received and execute printing.

在上述应用例涉及的信息处理装置中,所述信息处理装置具有管理部,该管理部基于所述存储区域中保存的所述打印数据所含的外部装置的识别信息,来起动与识别信息对应的输出用处理部,所述输出用处理部以接收到的顺序读出所述存储区域中保存的所述打印数据,将包含与所述输出用处理部对应的识别信息的所述打印数据输出给所述外部装置。In the information processing device according to the above application example, the information processing device includes a management unit configured to start the association with the identification information based on the identification information of the external device included in the print data stored in the storage area. The output processing unit reads the print data stored in the storage area in the order received, and outputs the print data including the identification information corresponding to the output processing unit. to the external device.

根据该结构,在对信息处理装置连接作为外部装置的打印设备而构建了打印处理系统的情况下,信息处理装置能够将打印数据以接收到的顺序发送给打印设备。According to this configuration, when a print processing system is constructed by connecting printing devices as external devices to the information processing device, the information processing device can transmit print data to the printing devices in the order received.

在上述应用例涉及的打印装置中,所述打印装置具有基于打印数据来控制所述打印部的打印控制部和管理部,该管理部基于所述存储区域中保存的所述打印数据所含的外部装置的识别信息或者本装置的识别信息来起动与识别信息对应的输出用处理部,与所述外部装置的识别信息对应的所述输出用处理部,以接收到的顺序读出所述存储区域中保存的所述打印数据,将包含与所述外部装置的识别信息对应的所述输出用处理部所对应的识别信息的所述打印数据输出给所述外部装置,与所述本装置的识别信息对应的所述输出用处理部,以接收到的顺序读出所述存储区域中保存的所述打印数据,将包含与所述本装置的识别信息对应的所述输出用处理部所对应的识别信息的所述打印数据输出给所述打印控制部。In the printing device according to the above application example, the printing device has a printing control unit that controls the printing unit based on printing data based on the print data contained in the printing data stored in the storage area, and a management unit The identification information of the external device or the identification information of this device is used to activate the output processing unit corresponding to the identification information, and the output processing unit corresponding to the identification information of the external device reads the stored data in the order received. The print data stored in the area, the print data including the identification information corresponding to the output processing unit corresponding to the identification information of the external device is output to the external device, and the The output processing unit corresponding to the identification information reads the print data stored in the storage area in the order received, and includes the print data corresponding to the output processing unit corresponding to the identification information of the own device. The print data of the identification information is output to the print control section.

根据该结构,在对作为信息处理装置的打印装置连接作为外部装置的打印设备而构建了打印处理系统的情况下,信息处理装置能够将打印设备应该处理的打印数据以接收到的顺序发送给打印设备,另外,能够对信息处理装置应该处理的打印数据以接收到的顺序进行处理来执行打印。According to this configuration, when a print processing system is constructed by connecting a printing device as an external device to a printing device as an information processing device, the information processing device can send print data to be processed by the printing device to the printer in the order received. The device, in addition, is capable of processing print data that should be processed by the information processing apparatus in the order received to perform printing.

上述应用例涉及的打印数据处理系统具备与所述信息处理装置连接的打印设备,所述信息处理装置具有管理部,该管理部基于所述存储区域中保存的所述打印数据所含的识别信息来起动与识别信息对应的输出用处理部,所述管理部以接收到的顺序读出所述存储区域中保存的所述打印数据,将读出的所述打印数据输出给与读出的所述打印数据所含的识别信息对应的所述输出用处理部,所述输出用处理部将从所述管理部输入的所述打印数据输出给对应的识别信息的所述打印设备。The print data processing system according to the above application example includes a printing device connected to the information processing apparatus, and the information processing apparatus has a management unit based on the identification information included in the print data stored in the storage area. The output processing unit corresponding to the identification information is activated, the management unit reads the print data stored in the storage area in the order received, and outputs the read print data to all the read print data. The output processing unit corresponds to the identification information included in the print data, and the output processing unit outputs the print data input from the management unit to the printing device corresponding to the identification information.

根据该结构,在信息处理装置中,由管理部基于存储区域中保存的打印数据所含的识别信息来起动与识别信息对应的输出用处理部,管理部以接收到的顺序读出存储区域中保存的打印数据,将读出的打印数据输出给与读出的打印数据所含的识别信息对应的输出用处理部,输出用处理部将从管理部输入的打印数据输出给对应的识别信息的打印设备。由此,输出用处理部针对对应的打印设备以接收到的顺序发送打印数据,信息处理装置在将从打印数据分发装置接收到的打印数据发送给打印设备的情况下,能够以从打印数据分发装置接收到的顺序进行发送。According to this configuration, in the information processing device, the management unit activates the output processing unit corresponding to the identification information based on the identification information included in the print data stored in the storage area, and the management unit reads out the output processing units in the storage area in the order received. Stored print data, output the read print data to the output processing unit corresponding to the identification information contained in the read print data, and the output processing unit outputs the print data input from the management unit to the corresponding identification information printing device. Thus, the output processing unit transmits the print data to the corresponding printing device in the order received, and when the information processing apparatus transmits the print data received from the print data distribution device to the printing device, it can distribute the print data from the print data to the printing device. Devices send in the order they are received.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置的所述管理部在从向与一个识别信息对应的所述输出用处理部输出所述打印数据起到基于输出了的所述打印数据的所述打印设备的处理结束为止的期间,不向与该一个识别信息对应的所述输出用处理部输出下一个所述打印数据。In the print data processing system according to the above application example, the management unit of the information processing device, from outputting the print data to the output processing unit corresponding to one piece of identification information, to based on the outputted The next print data is not output to the output processing unit corresponding to the one piece of identification information until the processing of the print data by the printing device ends.

根据该结构,管理部针对输出用处理部,能够在基于打印数据的打印结束之后,发送下一个打印数据。According to this configuration, the management unit can transmit the next print data to the output processing unit after printing based on the print data is completed.

在上述应用例涉及的信息处理装置中,所述信息处理装置具有管理部,该管理部基于所述存储区域中保存的所述打印数据所含的外部装置的识别信息来起动与识别信息对应的输出用处理部,所述管理部以接收到的顺序读出所述存储区域中保存的所述打印数据,将所述打印数据输出给与读出的所述打印数据所含的识别信息对应的所述输出用处理部,所述输出用处理部将从所述管理部输入的所述打印数据输出给对应的识别信息的所述外部装置。In the information processing device according to the above application example, the information processing device includes a management unit that activates an external device corresponding to the identification information based on the identification information of the external device included in the print data stored in the storage area. an output processing unit, wherein the management unit reads the print data stored in the storage area in the order received, and outputs the print data to a computer corresponding to the identification information included in the read print data. The output processing unit that outputs the print data input from the management unit to the external device corresponding to the identification information.

根据该结构,在对信息处理装置连接作为外部装置的打印设备而构建了打印处理系统的情况下,信息处理装置能够将打印数据以接收到的顺序发送给打印设备。According to this configuration, when a print processing system is constructed by connecting printing devices as external devices to the information processing device, the information processing device can transmit print data to the printing devices in the order received.

在上述应用例涉及的打印装置中,所述打印装置具有基于所述打印数据来控制所述打印部的打印控制部和管理部,该管理部基于所述存储区域中保存的所述打印数据所含的外部装置的识别信息或者本装置的识别信息来起动与识别信息对应的输出用处理部,所述管理部以接收到的顺序读出所述存储区域中保存的所述打印数据,将所述打印数据输出给与读出的所述打印数据所含的识别信息对应的所述输出用处理部,与所述外部装置的识别信息对应的所述输出用处理部,将从所述管理部输入的所述打印数据输出给对应的识别信息的所述外部装置,与所述本装置的识别信息对应的所述输出用处理部,将从所述管理部输入的所述打印数据输出给所述打印控制部。In the printing device according to the above application example, the printing device has a printing control unit that controls the printing unit based on the printing data, and a management unit configured based on the printing data stored in the storage area. The identification information of the included external device or the identification information of the own device activates the output processing unit corresponding to the identification information, the management unit reads the print data stored in the storage area in the order received, and converts the The print data is output to the output processing unit corresponding to the identification information contained in the read print data, and the output processing unit corresponding to the identification information of the external device receives the The input print data is output to the external device corresponding to the identification information, and the output processing unit corresponding to the identification information of the own device outputs the print data input from the management unit to the external device. the print control section described above.

根据该结构,在对作为信息处理装置的打印装置连接作为外部装置的打印设备而构建了打印处理系统的情况下,信息处理装置能够以接收到的顺序将打印设备应该处理的打印数据发送给打印设备,另外,能够以接收到的顺序对信息处理装置应该处理的打印数据进行处理来执行打印。According to this configuration, when a print processing system is constructed by connecting a printing device as an external device to a printing device as an information processing device, the information processing device can send print data to be processed by the printing device to the printer in the order received. The device, in addition, is capable of performing printing by processing the print data that the information processing apparatus should process in the order received.

上述应用例涉及的信息处理装置的所述接收用处理部与基于接收到的所述打印数据的打印是否结束无关地,空开规定的间隔向所述打印数据分发装置询问所述打印数据的有无,在针对该询问的响应表示存在所述打印数据的情况下,所述信息处理装置的接收用处理部执行对所述打印数据分发装置请求所述打印数据的发送并接收所述打印数据的第一处理。The reception processing unit of the information processing device according to the above application example inquires the print data distribution device of the existence of the print data at predetermined intervals regardless of whether printing based on the received print data is completed. None, when the response to the inquiry indicates that the print data exists, the receiving processing unit of the information processing device executes a process of requesting the print data distribution device to transmit the print data and receiving the print data. First deal.

根据该结构,信息处理装置与基于接收到的打印数据的打印是否结束无关地向打印数据分发装置询问打印数据的有无,在有打印数据的情况下进行接收。因此,信息处理装置能够与基于打印数据的处理的状况无关地询问打印数据的有无,能够缩短在打印数据分发装置变得能够发送打印数据之后到信息处理装置接收打印数据为止所产生的时间。According to this configuration, the information processing device inquires of the print data distribution device whether there is print data regardless of whether printing based on the received print data is completed, and receives the print data if there is print data. Therefore, the information processing device can inquire about the presence or absence of print data regardless of the status of processing based on the print data, and the time from when the print data distribution device becomes able to transmit the print data to when the information processing device receives the print data can be shortened.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置的所述接收用处理部在基于接收到的所述打印数据的打印结束的情况下,将通知该情况的打印结束通知发送给所述打印数据分发装置,所述打印数据分发装置在接收到所述打印结束通知的情况下,将对应的所述打印数据与表示打印结束的信息建立对应地进行存储,另外,在从所述信息处理装置有所述打印数据的有无的询问的情况下,当存在不处于与表示打印结束的信息建立了对应的状态的所述打印数据时,发送表示存在所述打印数据的响应,所述信息处理装置的所述接收用处理部在从所述打印数据分发装置接收到表示存在所述打印数据的响应的情况下,对所述打印数据分发装置请求所述打印数据的发送并接收所述打印数据,在将新接收到的所述打印数据与之前接收到的所述打印数据进行比较而数据一致的情况下,将新接收到的所述打印数据废弃。In the print data processing system according to the above application example, when the receiving processing unit of the information processing device finishes printing based on the received print data, it transmits a print completion notification notifying the fact to In the print data distribution device, when the print data distribution device receives the print completion notification, it stores the corresponding print data in association with the information indicating that the print has been completed, When the information processing apparatus inquires about the presence or absence of the print data, if there is the print data that is not associated with the information indicating that the printing has been completed, it transmits a response indicating that the print data exists. The reception processing unit of the information processing device requests the print data distribution device to transmit the print data and receives the received response when receiving a response indicating that the print data exists from the print data distribution device. If the newly received print data is compared with the previously received print data and the data matches, the newly received print data is discarded.

根据该结构,打印数据分发装置在有打印数据的询问的情况下,将未接收打印结束通知的打印数据发送给信息处理装置。因此,打印数据分发装置有可能重复发送相同的打印数据。信息处理装置在接收到打印数据的情况下,由于当新接收到的打印数据与之前接收到的打印数据一致时,将新接收到的打印数据废弃,所以能够防止基于重复接收到的打印数据来重复执行处理。According to this configuration, the print data distribution device transmits the print data for which the print completion notification has not been received to the information processing device when there is an inquiry about the print data. Therefore, the print data distribution device may repeatedly send the same print data. When the information processing apparatus receives print data, since the newly received print data is discarded when the newly received print data matches the previously received print data, it is possible to prevent Repeat processing.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置的所述接收用处理部根据将所述打印数据废弃的频度来使询问所述打印数据的有无的间隔变化。In the print data processing system according to the above application example, the reception processing unit of the information processing device changes an interval of inquiring about the presence or absence of the print data according to the frequency of discarding the print data.

根据该结构,在与基于打印数据的打印所需要的时间相比,询问打印数据的间隔较短、处于打印数据被频繁废弃的状态的情况下,能够对间隔进行调整来消除该状态。According to this configuration, when the interval of inquiring print data is shorter than the time required for printing based on the print data and print data is frequently discarded, the interval can be adjusted to eliminate this state.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置的所述接收用处理部将接收到的所述打印数据保存到规定的存储区域,根据所述存储区域的状态来使询问所述打印数据的有无的间隔变化。In the print data processing system according to the above application example, the reception processing unit of the information processing device stores the received print data in a predetermined storage area, and makes the query The interval between the presence and absence of the above-mentioned print data changes.

根据该结构,能够根据存储区域的空闲区域的状态等存储区域的状态,来调整询问打印数据的时间,能够抑制溢出的发生等。According to this configuration, it is possible to adjust the time to inquire about the print data according to the state of the storage area such as the state of the free area of the storage area, and it is possible to suppress the occurrence of overflow or the like.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置的所述接收用处理部能够执行在从接收到所述打印数据起到基于所述打印数据的打印结束为止的期间,不进行所述打印数据的有无的询问,在打印结束之后进行询问的第二处理,能够对所述第一处理和所述第二处理进行切换。In the print data processing system according to the above application example, the reception processing unit of the information processing device can execute not to perform any processing between the reception of the print data and the completion of printing based on the print data. The inquiring about the presence or absence of the print data is a second process of inquiring after the printing is completed, and the first process and the second process can be switched.

根据该结构,能够根据打印数据处理系统的式样等来切换第一处理和第二处理。According to this configuration, it is possible to switch between the first processing and the second processing according to the specifications of the print data processing system or the like.

上述应用例涉及的打印数据处理系统具备与所述信息处理装置进行通信的打印设备,所述信息处理装置具有将接收到的所述打印数据发送给所述打印设备的输出部,所述信息处理装置的所述接收用处理部与基于接收到的所述打印数据的由所述打印设备进行的打印是否结束无关地空开规定的间隔向所述打印数据分发装置询问所述打印数据的有无。The print data processing system according to the above application example includes a printing device that communicates with the information processing device, the information processing device has an output unit that transmits the received print data to the printing device, and the information processing device The receiving processing unit of the device inquires of the print data distribution device whether or not the print data exists at predetermined intervals regardless of whether printing by the printing device based on the received print data is completed. .

根据该结构,由于信息处理装置与所连接的打印设备的处理的状况无关地向打印数据分发装置询问打印数据的有无,所以能够缩短在打印数据分发装置变为能够发送打印数据之后到信息处理装置接收打印数据为止所产生的时间。According to this configuration, since the information processing device inquires of the print data distribution device whether or not there is print data irrespective of the processing status of the connected printing device, it is possible to shorten the time to information processing after the print data distribution device becomes capable of sending print data. The time elapsed until the device receives print data.

在上述应用例涉及的打印数据处理系统中,所述信息处理装置具有基于所述打印数据来进行打印的打印部,所述信息处理装置的所述接收用处理部与基于接收到的所述打印数据的由所述打印部进行的打印是否结束无关地空开规定的间隔向所述打印数据分发装置询问所述打印数据的有无。In the print data processing system according to the above application example, the information processing device has a printing unit that performs printing based on the print data, and the reception processing unit of the information processing device is associated with the received printing data. Whether or not the print data is printed by the printing unit is completed is inquired at predetermined intervals to the print data distribution device.

根据该结构,由于信息处理装置与打印部的处理的状况无关地向打印数据分发装置询问打印数据的有无,所以能够缩短在打印数据分发装置变为能够发送打印数据之后到信息处理装置接收打印数据为止所产生的时间。According to this configuration, since the information processing device inquires of the print data distribution device whether or not there is print data regardless of the processing status of the printing unit, it is possible to shorten the time required for the information processing device to receive print data after the print data distribution device becomes capable of sending print data. The time since the data was generated.

在上述应用例涉及的信息处理装置中,与基于从所述外部设备接收到的打印数据的打印是否结束无关地,所述信息处理装置空开规定的间隔向所述外部设备装置询问所述打印数据的有无,在针对该询问的响应表示存在所述打印数据的情况下,所述信息处理装置对所述外部设备请求所述打印数据的发送并接收所述打印数据。In the information processing device according to the above application example, the information processing device inquires the external device device about the print data at predetermined intervals regardless of whether printing based on the print data received from the external device is completed The information processing apparatus requests the external device to transmit the print data and receives the print data when the response to the inquiry indicates that the print data exists.

根据该结构,在将信息处理装置连接于与打印数据分发装置对应的外部装置的情况下,信息处理装置与基于接收到的打印数据的打印是否结束无关地向外部装置询问打印数据的有无,在有打印数据的情况下进行接收。因此,信息处理装置能够与基于打印数据的处理的状况无关地询问打印数据的有无,能够缩短在外部装置变为能够发送打印数据之后到信息处理装置接收打印数据为止所产生的时间。According to this configuration, when the information processing device is connected to the external device corresponding to the print data distribution device, the information processing device inquires of the external device whether or not the print data exists regardless of whether printing based on the received print data is completed, Receive with print data available. Therefore, the information processing device can inquire about the presence or absence of print data regardless of the status of processing based on the print data, and the time from when the external device becomes capable of transmitting print data to when the information processing device receives the print data can be shortened.

上述应用例涉及的打印装置具有接收用处理部,与基于从所述外部设备接收到的所述打印数据的由所述打印部进行的打印是否结束无关地,该接收用处理部空开规定的间隔向所述外部设备询问所述打印数据的有无,在针对该询问的响应表示存在所述打印数据的情况下,该接收用处理部向所述外部设备请求所述打印数据的发送并接收所述打印数据。The printing apparatus according to the above-mentioned application example includes a receiving processing unit that opens a predetermined period regardless of whether printing by the printing unit based on the print data received from the external device is completed or not. Inquiring the external device of the existence of the print data at intervals, and when a response to the inquiry indicates that the print data exists, the reception processing unit requests the external device to transmit and receive the print data. The print data.

根据该结构,在将与信息处理装置对应的打印装置连接于与打印数据分发装置对应的外部装置的情况下,打印装置与基于接收到的打印数据的打印是否结束无关地向外部装置询问打印数据的有无,在有打印数据的情况下进行接收。因此,打印装置能够与基于打印数据的处理的状况无关地询问打印数据的有无,能够缩短在外部装置变得能够发送打印数据之后到打印装置接收打印数据为止所产生的时间。According to this configuration, when the printing device corresponding to the information processing device is connected to the external device corresponding to the print data distribution device, the printing device inquires the external device of the print data regardless of whether printing based on the received print data is completed. The presence or absence of the print data is received. Therefore, the printing device can inquire about the presence or absence of print data regardless of the status of processing based on the print data, and it is possible to shorten the time required for the printing device to receive the print data after the external device becomes able to transmit the print data.

附图说明Description of drawings

图1是表示本实施方式涉及的打印数据处理系统的结构的图。FIG. 1 is a diagram showing the configuration of a print data processing system according to the present embodiment.

图2是打印数据处理系统的网络图。Fig. 2 is a network diagram of the print data processing system.

图3是构成打印数据处理系统的装置的功能框图。3 is a functional block diagram of devices constituting the print data processing system.

图4是构成打印数据处理系统的装置的功能框图。FIG. 4 is a functional block diagram of devices constituting the print data processing system.

图5是控制打印机的主要部分的功能框图。Fig. 5 is a functional block diagram of main parts that control the printer.

图6是表示用户接口的图。FIG. 6 is a diagram showing a user interface.

图7(A)表示控制打印机的动作,(B)是表示打印数据分发服务器的动作的流程图。7(A) shows the operation of controlling the printer, and (B) is a flowchart showing the operation of the print data distribution server.

图8(A)、(B)表示控制打印机的动作,(C)是表示第一打印机的动作的流程图。8(A) and (B) show the operation of the control printer, and (C) is a flowchart showing the operation of the first printer.

图9是表示控制打印机的动作的流程图。Fig. 9 is a flowchart showing the operation of controlling the printer.

图10是表示控制打印机的动作的流程图。Fig. 10 is a flowchart showing the operation of controlling the printer.

图11是打印数据处理系统的网络图。Fig. 11 is a network diagram of the print data processing system.

图12是构成打印数据处理系统的装置的功能框图。FIG. 12 is a functional block diagram of devices constituting the print data processing system.

图13是构成打印数据处理系统的装置的功能框图。FIG. 13 is a functional block diagram of devices constituting the print data processing system.

图14是表示打印数据保存数据库的数据结构的图。FIG. 14 is a diagram showing a data structure of a print data storage database.

图15是控制打印机的主要部分的功能框图。Fig. 15 is a functional block diagram of main parts that control the printer.

图16是表示用户接口的图。Fig. 16 is a diagram showing a user interface.

图17是表示执行非同步处理的情况的控制打印机的动作的流程图。FIG. 17 is a flowchart showing the operation of controlling the printer when executing asynchronous processing.

图18(A)表示执行非同步处理的情况的控制打印机的动作,(B)是表示打印数据分发服务器的动作的流程图。FIG. 18(A) shows the operation of controlling the printer when asynchronous processing is executed, and FIG. 18(B) is a flowchart showing the operation of the print data distribution server.

图19(A)表示执行非同步处理的情况的控制打印机的动作,(B)是表示打印数据分发服务器的动作的流程图。Fig. 19(A) shows the operation of controlling the printer when asynchronous processing is executed, and Fig. 19(B) is a flowchart showing the operation of the print data distribution server.

图20(A)表示执行同步处理的情况的控制打印机的动作,(B)是表示打印数据分发服务器的动作的流程图。FIG. 20(A) shows the operation of controlling the printer when executing the synchronization process, and FIG. 20(B) is a flowchart showing the operation of the print data distribution server.

图21(A)、(B)表示控制打印机的动作,(C)是表示第一打印机的动作的流程图。21(A) and (B) show the operation of the control printer, and (C) is a flowchart showing the operation of the first printer.

图22是表示控制打印机的动作的流程图。Fig. 22 is a flowchart showing the operation of controlling the printer.

图23是表示控制打印机的动作的流程图。Fig. 23 is a flowchart showing the operation of controlling the printer.

具体实施方式Detailed ways

以下,参照附图对本发明的实施方式进行说明。Hereinafter, embodiments of the present invention will be described with reference to the drawings.

图1是表示本实施方式涉及的打印数据处理系统1的一部分式样形态的一个例子的图。FIG. 1 is a diagram showing an example of a part of a print data processing system 1 according to the present embodiment.

图1示意性地表示在对到店的顾客提供饮料、以及食物的饮食店T中应用了打印数据处理系统1(参照图2、图3。)的情况。FIG. 1 schematically shows a situation in which a print data processing system 1 (see FIGS. 2 and 3 ) is applied to a restaurant T that provides drinks and food to customers who visit the store.

图1所示的饮食店T被分为大厅T1、厨房T2。The restaurant T shown in FIG. 1 is divided into a lobby T1 and a kitchen T2.

大厅T1是到店的顾客进行滞留,由大厅T1的担当者(以下称为“大厅担当者”)向顾客提供饮料的提供等服务的区域。在大厅T1中,设有能够载置饭菜等的多个桌子TB,与各桌子TB对应地设有顾客能够就座的椅子CH。The lobby T1 is an area where customers who arrive at the store stay, and a person in charge of the lobby T1 (hereinafter referred to as "the lobby person in charge") provides services such as providing drinks to the customers. In the hall T1, a plurality of tables TB on which meals and the like can be placed are provided, and chairs CH on which customers can sit are provided corresponding to each table TB.

对大厅担当者预先赋予受理来自顾客的点餐时所使用的平板终端10(参照图2、图3。)。在大厅T1中,当受理来自顾客的点餐时,大厅担当者来到顾客的附近,倾听顾客的点餐,并在平板终端10上进行与点餐对应的输入。对于平板终端10的结构、以及处理将后述。The tablet terminal 10 (see FIG. 2 and FIG. 3 ) used when accepting orders from customers is given to the hall person in advance. In the lobby T1, when an order is received from a customer, a lobby person in charge comes near the customer, listens to the customer's order, and makes an input corresponding to the order on the tablet terminal 10 . The configuration and processing of the tablet terminal 10 will be described later.

另外,在大厅T1中,在出入口DG的附近设有顾客进行结账的结账柜台LC。在结账柜台LC设有作为能够发行收据的打印机的控制打印机SP(信息处理装置、打印装置)、和作为能够发行收据的打印机的第一打印机KP1(打印设备)。在结账柜台LC,与控制打印机SP、以及第一打印机KP1分别对应地设有第一POS终端PT1、和第二POS终端PT2。在结账柜台LC,大厅担当者根据顾客的结账来对第一POS终端PT1或者第二POS终端PT2进行与结账对应的输入。根据大厅担当者的与结账对应的输入,从控制打印机SP或者第一打印机KP1发行打印有与结账有关的信息的收据。大厅担当者将由控制打印机SP或者第一打印机KP1发行的收据递给顾客。对于控制打印机SP、第一打印机KP1、第一POS终端PT1、以及第二POS终端PT2的结构以及处理将后述。In addition, in the lobby T1, a checkout counter LC where customers pay is provided near the entrance DG. The checkout counter LC is provided with a control printer SP (information processing device, printing device) as a printer capable of issuing receipts, and a first printer KP1 (printing device) as a printer capable of issuing receipts. At the checkout counter LC, a first POS terminal PT1 and a second POS terminal PT2 are provided corresponding to the control printer SP and the first printer KP1, respectively. At the checkout counter LC, the hall person in charge performs an input corresponding to the checkout to the first POS terminal PT1 or the second POS terminal PT2 according to the checkout of the customer. According to the input corresponding to the checkout by the person in charge of the hall, a receipt on which the information related to the checkout is printed is issued from the control printer SP or the first printer KP1. The lobby person passes the receipt issued by the control printer SP or the first printer KP1 to the customer. The configuration and processing of the control printer SP, the first printer KP1, the first POS terminal PT1, and the second POS terminal PT2 will be described later.

厨房T2是厨房T2的担当者(以下称为“厨房担当者”)制作饮料、食物(以下通称为“饮食物”)的区域,设有饮料吧、燃气灶、冰箱等。在厨房T2设有第二打印机KP2(打印设备)、以及第三打印机KP3(打印设备)。在大厅担当者根据顾客的点餐而对平板终端10进行了与点餐对应的输入的情况下,从第二打印机KP2或者第三打印机KP3发行打印有与所点的饮食物有关的信息的点餐传票。与饮食物有关的信息是表示所点的饮食物的种类、所点的饮食物的数量的信息。厨房担当者参照第二打印机KP2或者第三打印机KP3发行的点餐传票,来制作顾客点的饮食物。对于第二打印机KP2及第三打印机KP3的结构、以及处理将后述。The kitchen T2 is an area where the person in charge of the kitchen T2 (hereinafter referred to as "kitchen person in charge") prepares drinks and food (hereinafter referred to as "drinks"), and is equipped with a drink bar, a gas stove, a refrigerator, and the like. A second printer KP2 (printing device) and a third printer KP3 (printing device) are provided in the kitchen T2. When the person in charge of the hall has input corresponding to the order on the tablet terminal 10 according to the customer's order, the second printer KP2 or the third printer KP3 issues a point on which the information related to the ordered food is printed. Meal summons. The information on food and drink is information indicating the type of food and drink ordered and the quantity of food and drink ordered. The person in charge of the kitchen makes the food and drink ordered by the customer by referring to the order slip issued by the second printer KP2 or the third printer KP3. The configuration and processing of the second printer KP2 and the third printer KP3 will be described later.

图2是本实施方式涉及的打印数据处理系统1的网络图。FIG. 2 is a network diagram of the print data processing system 1 according to this embodiment.

如图2所示,打印数据处理系统1所具备的控制打印机SP与包括因特网、电话网等网络的广域网WN连接。As shown in FIG. 2 , the control printer SP included in the print data processing system 1 is connected to a wide area network WN including networks such as the Internet and a telephone network.

另外,赋予给大厅担当者的平板终端10与广域网WN连接。In addition, the tablet terminal 10 assigned to the lobby person is connected to the wide area network WN.

另外,打印数据处理系统1具备第一打印数据分发服务器SV1(打印数据分发装置)、第二打印数据分发服务器SV2(打印数据分发装置)、以及第三打印数据分发服务器SV3(打印数据分发装置)。以下,在不区分地表现第一打印数据分发服务器SV1、第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3的情况下,表现为“打印数据分发服务器SV”。多个打印数据分发服务器SV与广域网WN连接。In addition, the print data processing system 1 includes a first print data distribution server SV1 (print data distribution device), a second print data distribution server SV2 (print data distribution device), and a third print data distribution server SV3 (print data distribution device). . Hereinafter, when expressing the first print data distribution server SV1 , the second print data distribution server SV2 , and the third print data distribution server SV3 without distinction, they are expressed as "print data distribution server SV". A plurality of print data distribution servers SV are connected to the wide area network WN.

控制打印机SP、平板终端10、以及打印数据分发服务器SV能够分别经由广域网WN而相互通信。The control printer SP, the tablet terminal 10, and the print data distribution server SV can communicate with each other via the wide area network WN.

如图2所示,控制打印机SP与遵照以太网(注册商标)的局域网LN连接。第一打印机KP1、第二打印机KP2、以及第三打印机KP3与局域网LN连接。控制打印机SP、第一打印机KP1、第二打印机KP2、以及第三打印机KP3分别能够经由局域网LN而相互通信。As shown in FIG. 2, the control printer SP is connected to a local area network LN conforming to Ethernet (registered trademark). The first printer KP1, the second printer KP2, and the third printer KP3 are connected to the local area network LN. The control printer SP, the first printer KP1 , the second printer KP2 , and the third printer KP3 can communicate with each other via the local area network LN.

图3是表示第一打印数据分发服务器SV1、第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3、平板终端10、第一POS终端PT1、以及第二POS终端PT2的功能性结构的框图。3 is a diagram showing the functional configurations of the first print data distribution server SV1, the second print data distribution server SV2, and the third print data distribution server SV3, the tablet terminal 10, the first POS terminal PT1, and the second POS terminal PT2. block diagram.

如图3所示,第一打印数据分发服务器SV1具备第一服务器控制部201、第一服务器通信部211、和第一服务器存储部221。As shown in FIG. 3 , the first print data distribution server SV1 includes a first server control unit 201 , a first server communication unit 211 , and a first server storage unit 221 .

第一服务器控制部201具备CPU、ROM、RAM等,对第一打印数据分发服务器SV1进行控制。The first server control unit 201 includes a CPU, ROM, RAM, etc., and controls the first print data distribution server SV1.

第一服务器通信部211在第一服务器控制部201的控制下,按照规定的通信标准,与连接于广域网WN的其他设备进行通信。The first server communication unit 211 communicates with other devices connected to the wide area network WN in accordance with a predetermined communication standard under the control of the first server control unit 201 .

第一服务器存储部221具备非易失性存储器,对数据进行存储。The first server storage unit 221 includes a nonvolatile memory and stores data.

第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3的结构与第一打印数据分发服务器SV1的结构同样。第二打印数据分发服务器SV2具备第二服务器控制部202、第二服务器通信部212、和第二服务器存储部222。第三打印数据分发服务器SV3具备第三服务器控制部203、第三服务器通信部213、和第三服务器存储部223。The configurations of the second print data distribution server SV2 and the third print data distribution server SV3 are the same as those of the first print data distribution server SV1. The second print data distribution server SV2 includes a second server control unit 202 , a second server communication unit 212 , and a second server storage unit 222 . The third print data distribution server SV3 includes a third server control unit 203 , a third server communication unit 213 , and a third server storage unit 223 .

在本实施方式中,第一打印数据分发服务器SV1、第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3分别是独立的服务器装置。然而,并不一定需要是该结构,例如也可以是对应于打印数据分发服务器SV而在1台服务器装置中安装服务器软件,由1台服务器装置作为第一打印数据分发服务器SV1、第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3发挥功能的结构。In this embodiment, the first print data distribution server SV1 , the second print data distribution server SV2 , and the third print data distribution server SV3 are each independent server devices. However, this configuration is not necessarily required. For example, server software may be installed in one server device corresponding to the print data distribution server SV, and one server device may serve as the first print data distribution server SV1 and the second print data distribution server SV1. The distribution server SV2 and the third print data distribution server SV3 function.

平板终端10是在前面设有触摸面板31的平板型的便携计算机。The tablet terminal 10 is a tablet-type portable computer provided with a touch panel 31 on the front.

如图3所示,平板终端10具备终端控制部30、触摸面板31、终端存储部32、和终端通信部33。As shown in FIG. 3 , the tablet terminal 10 includes a terminal control unit 30 , a touch panel 31 , a terminal storage unit 32 , and a terminal communication unit 33 .

终端控制部30具备CPU、ROM、RAM等,对平板终端10进行控制。终端控制部30具有应用程序执行部30a作为功能模块。关于应用程序执行部30a的功能将后述。The terminal control unit 30 includes a CPU, ROM, RAM, etc., and controls the tablet terminal 10 . The terminal control unit 30 has an application execution unit 30a as a functional block. The function of the application execution unit 30a will be described later.

触摸面板31具备显示面板31a、和触摸传感器31b。显示面板31a具备液晶显示面板、或有机EL显示面板等,在终端控制部30的控制下显示图像。触摸传感器31b被重叠配置于显示面板31a,检测用户(在本例中为大厅担当者。)的触摸操作,并输出至终端控制部30。The touch panel 31 includes a display panel 31a and a touch sensor 31b. The display panel 31 a includes a liquid crystal display panel, an organic EL display panel, or the like, and displays images under the control of the terminal control unit 30 . The touch sensor 31 b is arranged superimposed on the display panel 31 a , detects a touch operation by a user (in this example, a person in charge of a hall), and outputs it to the terminal control unit 30 .

终端存储部32具备非易失性存储器,对数据进行存储。The terminal storage unit 32 includes a nonvolatile memory, and stores data.

终端通信部33在终端控制部30的控制下,按照规定的通信标准来与连接于广域网WN的其他设备进行通信。The terminal communication unit 33 communicates with other devices connected to the wide area network WN in accordance with a predetermined communication standard under the control of the terminal control unit 30 .

第一POS终端PT1、以及第二POS终端PT2是具有以下功能的计算机。第一POS终端PT1、以及第二POS终端PT2具备与连接于广域网WN的其他设备进行通信的功能。另外,第一POS终端PT1、以及第二POS终端PT2具备受理与结账对应的输入,并基于输入来生成与结账有关的信息的功能。The first POS terminal PT1 and the second POS terminal PT2 are computers having the following functions. The first POS terminal PT1 and the second POS terminal PT2 have a function of communicating with other devices connected to the wide area network WN. Moreover, the 1st POS terminal PT1 and the 2nd POS terminal PT2 have the function which accepts the input corresponding to a checkout, and generates the information related to a checkout based on an input.

图4是表示控制打印机SP、第一打印机KP1、第二打印机KP2、以及第三打印机KP3的功能性结构的框图。FIG. 4 is a block diagram showing the functional configuration of the control printer SP, the first printer KP1, the second printer KP2, and the third printer KP3.

控制打印机SP、第一打印机KP1、第二打印机KP2、以及第三打印机KP3是热敏式的打印机。The control printer SP, the first printer KP1, the second printer KP2, and the third printer KP3 are thermal printers.

如图4所示,控制打印机SP具备控制打印机控制部40、控制打印机打印部41(打印部)、控制打印机存储部42、广域网通信部43、和局域网通信部44。As shown in FIG. 4 , the control printer SP includes a control printer control unit 40 , a control printer printing unit 41 (printing unit), a control printer storage unit 42 , a WAN communication unit 43 , and a LAN communication unit 44 .

控制打印机控制部40具备CPU、ROM、RAM等,对控制打印机SP进行控制。控制打印机控制部40具备接收部40a、输出部40b、和打印控制部40c作为功能模块。关于这些功能模块将后述。The control printer control unit 40 includes a CPU, ROM, RAM, etc., and controls the control printer SP. Control The printer control unit 40 includes a reception unit 40a, an output unit 40b, and a print control unit 40c as functional blocks. These functional blocks will be described later.

控制打印机打印部41具备收容感热卷轴式纸的收容部、对被收容在收容部的感热卷轴式纸进行搬运的搬运部、在被搬运部搬运的感热卷轴式纸形成点的热敏式头、和将感热卷轴式纸切断的切断部。The control printer printing unit 41 is provided with a storage unit for accommodating heat-sensitive roll paper, a conveyance unit for conveying the heat-sensitive roll paper stored in the storage unit, and a thermal sensor for forming dots on the heat-sensitive roll paper conveyed in the conveyance unit. A type head, and a cutting part for cutting heat-sensitive roll paper.

控制打印机存储部42具备非易失性存储器,对数据进行存储。The control printer storage unit 42 includes a nonvolatile memory, and stores data.

广域网通信部43在控制打印机控制部40的控制下,按照规定的通信标准与连接于广域网WN的其他设备进行通信。The wide area network communication unit 43 communicates with other devices connected to the wide area network WN in accordance with a predetermined communication standard under the control of the printer control unit 40 .

局域网通信部44在控制打印机控制部40的控制下,按照规定的通信标准,与连接于局域网LN的第一打印机KP1、第二打印机KP2、以及第三打印机KP3进行通信。The LAN communication unit 44 communicates with the first printer KP1 , the second printer KP2 , and the third printer KP3 connected to the local area network LN in accordance with a predetermined communication standard under the control of the printer control unit 40 .

第一打印机KP1具备第一控制部501、第一通信部511、和第一打印部521。The first printer KP1 includes a first control unit 501 , a first communication unit 511 , and a first printing unit 521 .

第一控制部501具备CPU、ROM、RAM等,对第一打印机KP1进行控制。The first control unit 501 includes a CPU, ROM, RAM, etc., and controls the first printer KP1.

第一通信部511在第一控制部501的控制下,按照规定的通信标准,与连接于局域网LN的控制打印机SP进行通信。The first communication unit 511 communicates with the control printer SP connected to the local area network LN in accordance with a predetermined communication standard under the control of the first control unit 501 .

第一打印部521具备收容感热卷轴式纸的收容部、对被收容在收容部的感热卷轴式纸进行搬运的搬运部、在被搬运部搬运的感热卷轴式纸形成点的热敏式头、和将感热卷轴式纸切断的切断部。The first printing unit 521 has a storage unit for storing heat-sensitive roll paper, a transport unit for transporting the heat-sensitive roll paper stored in the storage unit, and a thermal sensor for forming dots on the heat-sensitive roll paper transported in the transport unit. A type head, and a cutting part for cutting heat-sensitive roll paper.

第二打印机KP2、以及第三打印机KP3的构成与第一打印机KP1的构成同样。第二打印机KP2具备第二控制部502、第二通信部512、和第二打印部522。第三打印机KP3具备第三控制部503、第三通信部513、和第三打印部523。The configurations of the second printer KP2 and the third printer KP3 are the same as those of the first printer KP1. The second printer KP2 includes a second control unit 502 , a second communication unit 512 , and a second printing unit 522 . The third printer KP3 includes a third control unit 503 , a third communication unit 513 , and a third printing unit 523 .

在以下的说明中,当不区分表现第一打印机KP1、第二打印机KP2、以及第三打印机KP3时,表现为“打印机KP”。In the following description, when the first printer KP1 , the second printer KP2 , and the third printer KP3 are not distinguished, they are expressed as "printer KP".

接下来,对用户(在本例中为大厅担当者)根据顾客的结账而对第一POS终端PT1进行了与结账对应的输入的情况的第一POS终端PT1、以及第一打印数据分发服务器SV1的动作进行说明。Next, the first POS terminal PT1 and the first print data distribution server SV1 in the case where the user (in this example, the person in charge of the lobby) has made an input corresponding to the payment to the first POS terminal PT1 according to the payment of the customer. actions are described.

第一POS终端PT1在有与结账对应的输入的情况下,基于输入来生成与结账相关的信息(以下称为“结账相关信息”)。结账相关信息包括顾客点的饮食物的名称、单价、点餐数量、合计支付金额、找零、与税相关的信息等被打印于收据的信息。即第一POS终端PT1进行结账,每当确定结账时便生成结账相关信息。When there is an input corresponding to payment, the first POS terminal PT1 generates payment-related information (hereinafter referred to as "payment-related information") based on the input. The checkout-related information includes information printed on the receipt, such as the name of the food and drink ordered by the customer, the unit price, the quantity ordered, the total payment amount, change, and tax-related information. That is, the first POS terminal PT1 performs checkout, and generates checkout-related information every time the checkout is confirmed.

接下来,第一POS终端PT1将生成的结账相关信息、以及控制打印机SP的识别信息发送给第一打印数据分发服务器SV1。控制打印机SP的识别信息是在控制打印机SP的制造阶段对控制打印机SP分配的序列号等对控制打印机SP进行识别的信息。如上所述,在对第一POS终端PT1进行了与结账对应的输入的情况下,由控制打印机SP发行对应的收据。第一POS终端PT1在发送结账相关信息的情况下,将发行打印有结账相关信息的收据的打印机(在本例中为控制打印机SP)的识别信息与结账相关信息一同发送。其中,第一打印数据分发服务器SV1的地址、通信所使用的各种协议、发送的数据的格式等第一POS终端PT1为了与第一打印数据分发服务器SV1进行通信所需的信息处于被预先登记在第一POS终端PT1的状态。第一POS终端PT1与第一打印数据分发服务器SV1之间建立遵照规定的通信标准的联系(connection),利用联系来发送结账相关信息。Next, the first POS terminal PT1 transmits the generated billing-related information and the identification information of the control printer SP to the first print data distribution server SV1. The identification information of the control printer SP is information for identifying the control printer SP, such as a serial number assigned to the control printer SP at the manufacturing stage of the control printer SP. As described above, when an input corresponding to payment is made to the first POS terminal PT1, a corresponding receipt is issued by the control printer SP. The first POS terminal PT1 transmits the identification information of the printer (in this example, the control printer SP) that issues the receipt printed with the payment-related information together with the payment-related information when sending the payment-related information. Among them, information necessary for the first POS terminal PT1 to communicate with the first print data distribution server SV1, such as the address of the first print data distribution server SV1, various protocols used for communication, and the format of data to be sent, is registered in advance. In the state of the first POS terminal PT1. The first POS terminal PT1 and the first print data distribution server SV1 establish a connection (connection) conforming to a prescribed communication standard, and use the connection to transmit billing-related information.

第一打印数据分发服务器SV1的第一服务器控制部201对第一服务器通信部211进行控制,来接收结账相关信息、以及控制打印机SP的识别信息。The first server control unit 201 of the first print data distribution server SV1 controls the first server communication unit 211 to receive billing-related information and identification information of the control printer SP.

接下来,第一服务器控制部201基于接收到的结账相关信息、以及控制打印机SP的识别信息,来生成收据打印数据(打印数据),并存储到第一服务器存储部221。Next, the first server control unit 201 generates receipt print data (print data) based on the received billing-related information and the identification information of the control printer SP, and stores it in the first server storage unit 221 .

收据打印数据是指示发行打印有结账相关信息的收据的XML(Extensible MarkupLanguage)文件。收据打印数据按照XML的协议,记述执行打印的打印机的识别信息、结账相关信息、与对结账相关信息所含的信息进行打印的位置相关的信息等必要的信息。The receipt print data is an XML (Extensible Markup Language) file instructing to issue a receipt on which billing-related information is printed. The receipt print data describes necessary information such as identification information of a printer that performs printing, information related to billing, information about a location where information included in the information related to billing is printed, and the like in accordance with the XML protocol.

这样,第一打印数据分发服务器SV1在从第一POS终端PT1接收到结账相关信息的情况下,基于结账相关信息来生成收据打印数据并进行存储。In this way, when the first print data distribution server SV1 receives billing-related information from the first POS terminal PT1 , it generates and stores receipt print data based on the billing-related information.

用户(在本例中为大厅担当者)根据顾客的结账对第二POS终端PT2进行了与结账对应的输入的情况的第二POS终端PT2、以及第一打印数据分发服务器SV1的动作也同样。The same applies to the operations of the second POS terminal PT2 and the first print data distribution server SV1 when the user (the lobby person in this example) makes an input corresponding to the payment to the second POS terminal PT2 according to the customer's payment.

即,第二POS终端PT2根据结账来生成结账相关信息,将生成的结账相关信息、和作为发行收据的打印机的第一打印机KP1的识别信息发送给第一打印数据分发服务器SV1。第一打印数据分发服务器SV1基于接收到的结账相关信息、以及第一打印机KP1的识别信息来生成收据打印数据,并存储到第一服务器存储部221。收据打印数据中包括第一打印机KP1的识别信息。That is, the second POS terminal PT2 generates billing-related information according to the billing, and sends the generated billing-related information and the identification information of the first printer KP1 that issues a receipt to the first print data distribution server SV1. The first print data distribution server SV1 generates receipt print data based on the received billing-related information and the identification information of the first printer KP1 , and stores the receipt print data in the first server storage unit 221 . The receipt print data includes identification information of the first printer KP1.

综上所述,第一POS终端PT1、以及第二POS终端PT2根据结账来生成结账相关信息,并发送给第一打印数据分发服务器SV1。To sum up, the first POS terminal PT1 and the second POS terminal PT2 generate billing related information according to the billing, and send it to the first print data distribution server SV1.

其中,对于第一服务器存储部221中存储的收据打印数据的利用方法将后述。Here, the usage method of the receipt print data stored in the first server storage unit 221 will be described later.

接下来,对用户(在本例中为大厅担当者)对平板终端10进行了与顾客的点餐对应的输入的情况的平板终端10、第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3的动作进行说明。Next, the tablet terminal 10, the second print data distribution server SV2, and the third print data distribution server for the case where the user (in this example, the person in charge of the lobby) has entered the tablet terminal 10 corresponding to the customer's order The operation of the server SV3 will be described.

在本实施方式中,对多个大厅担当者赋予多个平板终端10。平板终端10中被预先安装了专用的应用程序AP。大厅担当者在倾听顾客的点餐之前,将应用程序AP起动。In this embodiment, a plurality of tablet terminals 10 are assigned to a plurality of lobby operators. A dedicated application program AP is preinstalled in the tablet terminal 10 . The lobby person activates the application program AP before listening to the customer's order.

平板终端10的终端控制部30的应用程序执行部30a是通过CPU等硬件资源读出并执行应用程序AP来实现其功能的功能模块。The application execution unit 30a of the terminal control unit 30 of the tablet terminal 10 is a functional module that reads and executes the application program AP through hardware resources such as a CPU to realize its function.

平板终端10的终端控制部30的应用程序执行部30a将用户进行与点餐对应的输入的用户接口(以下称为“点餐UI”)显示于显示面板31a。点餐UI设有选择顾客所点的饮食物的区域、选择所点的饮食物的数量的区域,用户能够对触摸面板31进行触摸操作来输入顾客所点的饮食物、以及数量。The application execution unit 30a of the terminal control unit 30 of the tablet terminal 10 displays a user interface (hereinafter referred to as “order UI”) for an input corresponding to an order by the user on the display panel 31a. The order UI includes an area for selecting the food and drink ordered by the customer and an area for selecting the quantity of the food and drink ordered by the customer, and the user can touch the touch panel 31 to input the food and drink ordered by the customer and the quantity.

在点餐UI有与点餐对应的输入的情况下,应用程序执行部30a基于输入来生成与点餐相关的信息(以下称为“点餐相关信息”)。点餐相关信息至少包括针对顾客所点的1个或者多个饮食物表示饮食物的名称的信息、和点餐数量。When there is an input corresponding to the order in the order UI, the application execution unit 30a generates information related to the order (hereinafter referred to as "order-related information") based on the input. The order-related information includes at least information indicating the name of one or more food items ordered by the customer and the number of food items ordered.

接下来,应用程序执行部30a将所生成的点餐相关信息、以及基于点餐相关信息来发行点餐传票的打印机的识别信息发送给第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3中的预先设定的一个打印数据分发服务器SV。Next, the application execution unit 30a transmits the generated order-related information and the identification information of the printer that issued the order slip based on the order-related information to the second print data distribution server SV2 and the third print data distribution server. A print data distribution server SV set in advance in SV3.

这里,应用程序执行部30a基于点餐相关信息的内容,来决定使第二打印机KP2、以及第三打印机KP3的哪一个发行点餐传票。应用程序执行部30a将所决定的打印机的识别信息与点餐相关信息一同进行发送。此外,也可以是按每个平板终端10预先决定了发行点餐传票的打印机的结构,另外,还可以是由规定的单元取得打印机的状态,并根据打印机的状态来决定发行点餐传票的打印机的结构。Here, the application execution unit 30a determines which of the second printer KP2 and the third printer KP3 is to issue the order slip based on the content of the order-related information. The application execution unit 30a transmits the determined identification information of the printer together with the order-related information. In addition, a printer for issuing order vouchers may be predetermined for each tablet terminal 10, and a predetermined unit may obtain the state of the printer and determine the printer for issuing order vouchers based on the state of the printer. Structure.

另外,在本实施方式中,按每个平板终端10预先设定了将所生成的点餐相关信息发送给第二打印数据分发服务器SV2、以及第三打印数据分发服务器SV3中的哪一个。而且,在平板终端10中预先登记了为了与所设定的打印数据分发服务器SV进行通信所需的信息(地址等)。In addition, in this embodiment, which one of the second print data distribution server SV2 and the third print data distribution server SV3 to send the generated order-related information to is preset for each tablet terminal 10 . Furthermore, information (addresses, etc.) necessary for communicating with the set print data distribution server SV is registered in advance in the tablet terminal 10 .

在所设定的打印数据分发服务器SV是第二打印数据分发服务器SV2的情况下,第二服务器控制部202对第二服务器通信部212进行控制,来接收平板终端10发送的点餐相关信息、以及打印机的识别信息。When the set print data distribution server SV is the second print data distribution server SV2, the second server control unit 202 controls the second server communication unit 212 to receive order-related information transmitted from the tablet terminal 10, and the printer's identification information.

接下来,第二服务器控制部202基于接收到的点餐相关信息、以及打印机的识别信息,来生成点餐传票打印数据(打印数据),并存储到第二服务器存储部222。Next, the second server control unit 202 generates order slip print data (print data) based on the received order-related information and printer identification information, and stores it in the second server storage unit 222 .

点餐传票打印数据是指示发行打印有点餐相关信息的点餐传票的XML文件。点餐传票打印数据根据XML的协议,记述发行点餐传票的打印机的识别信息、点餐相关信息、与对点餐相关信息所含的信息进行打印的位置相关的信息等必要的信息。The order voucher printing data is an XML file that instructs the issuance of an order voucher for printing order-related information. The order slip print data describes necessary information such as identification information of a printer that issued the order slip, order-related information, and information about a location where information included in the order-related information is printed in accordance with the XML protocol.

这样,第二打印数据分发服务器SV2在从平板终端10接收到点餐相关信息的情况下,基于点餐相关信息来生成点餐传票打印数据并进行存储。In this way, when receiving order-related information from the tablet terminal 10 , the second print data distribution server SV2 generates and stores order slip print data based on the order-related information.

在所设定的打印数据分发服务器SV是第三打印数据分发服务器SV3、第三打印数据分发服务器SV3从平板终端10接收到点餐相关信息的情况下,也由第三打印数据分发服务器SV3进行同样的处理。即,第三打印数据分发服务器SV3基于接收的点餐相关信息、以及打印机的识别信息来生成点餐传票打印数据,并存储到第三服务器存储部223。When the set print data distribution server SV is the third print data distribution server SV3, and the third print data distribution server SV3 receives the order-related information from the tablet terminal 10, it is also performed by the third print data distribution server SV3. Same deal. That is, the third print data distribution server SV3 generates order slip print data based on the received order-related information and printer identification information, and stores the data in the third server storage unit 223 .

在以下的说明中,当不对收据打印数据、以及点餐传票打印数据区别表现时,表现为“打印数据”。打印数据是XML文件。In the following description, when the receipt print data and the order slip print data are not distinguished, they are expressed as "print data". The print data is an XML file.

接下来,对控制打印机SP的控制打印机控制部40所具备的功能模块详细进行说明。Next, the functional blocks included in the printer control unit 40 that controls the printer SP will be described in detail.

图5是详细表示控制打印机控制部40的结构的图。FIG. 5 is a diagram illustrating in detail the configuration of the control printer control unit 40 .

如图5所示,控制打印机控制部40具备接收部40a、输出部40b、和打印控制部40c作为功能模块。As shown in FIG. 5 , the printer control unit 40 includes a reception unit 40 a , an output unit 40 b , and a printing control unit 40 c as functional blocks.

接收部40a具备第一接收用处理部JS1(接收用处理部)、第二接收用处理部JS2(接收用处理部)、和第三接收用处理部JS3(接收用处理部)。The receiving unit 40a includes a first receiving processing unit JS1 (receiving processing unit), a second receiving processing unit JS2 (receiving processing unit), and a third receiving processing unit JS3 (receiving processing unit).

在本实施方式中,控制打印机SP在因电源接通或复位而起动时,作为任务(也可以是线程或者进程。),起动第一接收用任务、第二接收用任务、以及第三接收用任务。而且,第一接收用处理部JS1是进行基于CPU对第一接收用任务的执行的处理的功能模块。In this embodiment, when the printer SP is started by power-on or reset, the first reception task, the second reception task, and the third reception task are activated as tasks (threads or processes may be used.) Task. Furthermore, the first receiving processing unit JS1 is a functional block that performs processing based on the CPU's execution of the first receiving task.

另外,第二接收用处理部JS2是进行基于CPU对第二接收用任务的执行的处理的功能模块。另外,第三接收用处理部JS3是进行基于CPU对第三接收用任务的执行的处理的功能模块。即,第一接收用处理部JS1、第二接收用处理部JS2、以及第三接收用处理部JS3在控制打印机SP起动时起动。关于第一接收用处理部JS1、第二接收用处理部JS2、以及第三接收用处理部JS3执行的处理将后述。In addition, the second receiving processing unit JS2 is a functional block that performs processing based on the CPU's execution of the second receiving task. In addition, the third receiving processing unit JS3 is a functional block that performs processing based on the execution of the third receiving task by the CPU. That is, the first processing unit JS1 for reception, the second processing unit JS2 for reception, and the third processing unit JS3 for reception are activated when the startup of the printer SP is controlled. The processing performed by the first receiving processing unit JS1 , the second receiving processing unit JS2 , and the third receiving processing unit JS3 will be described later.

以下,在不区分第一接收用处理部JS1、第二接收用处理部JS2、以及第三接收用处理部JS3的情况下,表现为“接收用处理部JS”。Hereinafter, when the first processing unit JS1 for reception, the second processing unit JS2 for reception, and the third processing unit JS3 for reception are not distinguished, they are expressed as “processing unit JS for reception”.

如图5所示,输出部40b具备管理部KB、第一输出用处理部SS1(输出用处理部)、第二输出用处理部SS2(输出用处理部)、第三输出用处理部SS3(输出用处理部)、和打印输出用处理部SS4(输出用处理部)。As shown in FIG. 5 , the output unit 40b includes a management unit KB, a first output processing unit SS1 (output processing unit), a second output processing unit SS2 (output processing unit), a third output processing unit SS3 ( output processing unit), and print output processing unit SS4 (output processing unit).

管理部KB是与在控制打印机SP被起动时起动的管理任务对应的功能模块。即,管理部KB进行基于CPU对管理任务的执行的处理。如后所述,管理部KB在规定的条件成立的情况下,作为任务(也可以是线程或者进程。),起动第一输出用任务、第二输出用任务、第三输出用任务或者打印输出用任务。而且,第一输出用处理部SS1是进行基于CPU对第一输出用任务的执行的处理的功能模块。另外,第二输出用处理部SS2是进行基于CPU对第二输出用任务的执行的处理的功能模块。另外,第三输出用处理部SS3是进行基于CPU对第三输出用任务的执行的处理的功能模块。另外,打印输出用处理部SS4是进行基于CPU对打印输出用任务的执行的处理的功能模块。关于管理部KB、第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3、以及打印输出用处理部SS4执行的处理将后述。The management unit KB is a functional block corresponding to a management task activated when the control printer SP is activated. That is, the management unit KB performs processing based on execution of the management task by the CPU. As will be described later, the management unit KB activates a first output task, a second output task, a third output task, or a print output as a task (it may be a thread or a process) when a predetermined condition is satisfied. Use tasks. Furthermore, the first output processing unit SS1 is a functional block that performs processing based on the CPU's execution of the first output task. In addition, the second output processing unit SS2 is a functional block that performs processing based on the CPU's execution of the second output task. In addition, the third output processing unit SS3 is a functional block that performs processing based on the CPU's execution of the third output task. In addition, the printout processing unit SS4 is a functional block that performs processing based on the execution of the printout job by the CPU. The processing performed by the management unit KB, the first output processing unit SS1 , the second output processing unit SS2 , the third output processing unit SS3 , and the print output processing unit SS4 will be described later.

以下,在不区分第一输出用处理部SS1、第二输出用处理部SS2、以及第三输出用处理部SS3的情况下表现为“发送处理部S”。另外,在不区分第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3、以及打印输出用处理部SS4的情况下表现为“输出用处理部SS”。Hereinafter, when the 1st output processing part SS1, the 2nd output processing part SS2, and the 3rd output processing part SS3 are not distinguished, it expresses as "transmission processing part S." In addition, when not distinguishing the 1st output processing part SS1, the 2nd output processing part SS2, the 3rd output processing part SS3, and the printing output processing part SS4, it expresses "the output processing part SS."

接收部40a所具备的功能模块、以及输出部40b所具备的功能模块能够对打印队列Q(存储区域)写入数据,另外,能够读出被写入到打印队列Q的数据。The functional modules included in the receiving unit 40 a and the functional modules included in the output unit 40 b can write data into the print queue Q (storage area), and can read data written in the print queue Q.

打印队列Q是在RAM等暂时存储区域的工作区域形成的缓冲器。The print queue Q is a buffer formed in a work area of a temporary storage area such as RAM.

打印控制部40c在后述的规定的情况下被输入打印数据。打印控制部40c将被输入的打印数据(XML文件)转换成遵照控制打印机打印部41的指令体系的控制指令,并基于控制指令来使控制打印机打印部41执行处理。Print data is input to the print control unit 40c in predetermined cases described later. The print control unit 40c converts the input print data (XML file) into control commands conforming to the command system of the control printer print unit 41, and causes the control printer print unit 41 to execute processing based on the control commands.

接下来,对控制打印机SP的设定进行说明。Next, the settings for controlling the printer SP will be described.

如上所述,在控制打印机SP起动时,第一接收用处理部JS1、第二接收用处理部JS2、以及第三接收用处理部JS3起动。在本实施方式中,是能够从安装有浏览器的装置经由广域网WN来访问控制打印机SP,进行与各接收用处理部JS相关的设定的结构。As described above, when the startup of the printer SP is controlled, the first processing unit JS1 for reception, the second processing unit JS2 for reception, and the third processing unit JS3 for reception are activated. In the present embodiment, the printer SP can be accessed and controlled from a browser-installed device via the wide area network WN, and settings related to each reception processing unit JS can be performed.

在本实施方式中,处于在控制打印机SP中安装有网络服务器软件(例如,ApacheHTTP Server)的状态。控制打印机SP具有根据来自客户端的请求而生成遵照HTTP等规定的协议的显示数据,并进行发送的作为网络服务器的功能。In this embodiment, the control printer SP is in a state where web server software (for example, Apache HTTP Server) is installed. The control printer SP has a function as a web server that generates and transmits display data conforming to a predetermined protocol such as HTTP based on a request from a client.

另外,处于在平板终端10中安装了浏览器的状态。In addition, the browser is installed in the tablet terminal 10 .

以下,以从平板终端10访问控制打印机SP来进行接收用处理部JS的设定的情况为例来进行说明。Hereinafter, a case where the printer SP is accessed and controlled from the tablet terminal 10 to set the reception processing unit JS will be described as an example.

用户起动平板终端10的浏览器,对控制打印机SP管理的规定的URL进行访问。根据对规定的URL的访问,控制打印机SP的控制打印机控制部40生成使接收用处理部JS的设定用的用户接口(以下称为“设定UI”)显示的显示文件并进行发送。平板终端10的终端控制部30基于显示文件来将设定UI显示到显示面板31a。The user activates the browser of the tablet terminal 10 and accesses a predetermined URL managed by the control printer SP. In response to access to a predetermined URL, the control printer control unit 40 that controls the printer SP creates and transmits a display file to be displayed on the setting user interface (hereinafter referred to as “setting UI”) of the reception processing unit JS. The terminal control unit 30 of the tablet terminal 10 displays the setting UI on the display panel 31 a based on the display file.

图6是表示设定UI的一个例子的图。FIG. 6 is a diagram showing an example of a setting UI.

如图6所示,设定UI具有对服务器直接打印的有效/无效进行设定的直接设定栏R1。服务器直接打印是指从打印数据分发服务器SV对控制打印机SP分发打印数据。As shown in FIG. 6 , the setting UI has a direct setting column R1 for setting enable/disable of server direct printing. Server direct printing refers to distribution of print data from the print data distribution server SV to the control printer SP.

另外,设定UI具有ID/密码输入栏R2。ID/密码输入栏R2具有输入控制打印机SP的识别信息的栏、和输入与控制打印机SP的识别信息对应设定的密码的栏。被输入到ID/密码输入栏R2的信息用于控制打印机SP的识别、认证。In addition, the setting UI has an ID/password input field R2. The ID/password input column R2 has a column for inputting identification information for controlling the printer SP, and a column for inputting a password set corresponding to the identification information for controlling the printer SP. The information input into the ID/password input field R2 is used to control identification and authentication of the printer SP.

另外,设定UI具有第一服务器设定栏R3。In addition, the setting UI has a first server setting field R3.

第一服务器设定栏R3是进行与第一接收用处理部JS1相关的设定的栏。The first server setting column R3 is a column for setting related to the first processing unit JS1 for reception.

第一服务器设定栏R3具有第一URL输入栏R31。如后所述,第一接收用处理部JS1执行从第一打印数据分发服务器SV1接收打印数据的处理。而且,第一URL输入栏R31是输入当第一接收用处理部JS1接收打印数据时所访问的服务器(在本实施方式中为第一打印数据分发服务器SV1)的URL的栏。The first server setting field R3 has a first URL input field R31. As will be described later, the first receiving processing unit JS1 executes processing for receiving print data from the first print data distribution server SV1. Furthermore, the first URL input column R31 is a column for inputting the URL of the server (the first print data distribution server SV1 in this embodiment) accessed when the first reception processing unit JS1 receives the print data.

第一服务器设定栏R3具有第一间隔输入栏R32。如后所述,第一接收用处理部JS1在从第一打印数据分发服务器SV1接收打印数据时,以规定的间隔(每隔规定时间)来询问该服务器中的打印数据的有无。第一间隔输入栏R32是输入该间隔的栏。The first server setting column R3 has a first interval input column R32. As will be described later, when receiving print data from the first print data distribution server SV1 , the first reception processing unit JS1 inquires at predetermined intervals (every predetermined time) whether there is print data in the server. The first interval input column R32 is a column for inputting the interval.

输入至第一URL输入栏R31、以及第一间隔输入栏R32的信息被写入实现第一接收用处理部JS1的功能的程序所参照的设定文件,或保存到由该程序定义的规定的变量来进行设定。The information input into the first URL input column R31 and the first interval input column R32 is written into a setting file referred to by the program realizing the function of the first reception processing unit JS1, or stored in a predetermined file defined by the program. variables to set.

另外,设定UI具有第二服务器设定栏R4。In addition, the setting UI has a second server setting field R4.

第二服务器设定栏R4是进行与第二接收用处理部JS2相关的设定的栏。第二服务器设定栏R4具有第二URL输入栏R41、和第二间隔输入栏R42。如后所述,第二接收用处理部JS2执行从第二打印数据分发服务器SV2接收打印数据的处理。而且,第二URL输入栏R41是输入第二接收用处理部JS2在接收打印数据时所访问的服务器(在本实施方式中为第二打印数据分发服务器SV2)的URL的栏。另外,第二间隔输入栏R42是输入第二接收用处理部JS2对第二打印数据分发服务器SV2询问打印数据的有无时的间隔的栏。The second server setting column R4 is a column for setting related to the second reception processing unit JS2. The second server setting column R4 has a second URL input column R41 and a second interval input column R42. As will be described later, the second receiving processing unit JS2 executes processing for receiving print data from the second print data distribution server SV2. Furthermore, the second URL input column R41 is a column for inputting the URL of the server (the second print data distribution server SV2 in this embodiment) that the second reception processing unit JS2 accesses when receiving the print data. In addition, the second interval input field R42 is a field for inputting an interval when the second reception processing unit JS2 inquires the second print data distribution server SV2 about the presence or absence of print data.

另外,设定UI具有第三服务器设定栏R5。In addition, the setting UI has a third server setting column R5.

第三服务器设定栏R5是进行与第三接收用处理部JS3相关的设定的栏。第三服务器设定栏R5具有第三URL输入栏R51、和第三间隔输入栏R52。如后所述,第三接收用处理部JS3执行从第三打印数据分发服务器SV3接收打印数据的处理。而且,第三URL输入栏R51是输入第三接收用处理部JS3接收打印数据时所访问的服务器(在本实施方式中为第三打印数据分发服务器SV3)的URL的栏。另外,第三间隔输入栏R52是输入第三接收用处理部JS3对第三打印数据分发服务器SV3询问打印数据的有无时的间隔的栏。The third server setting column R5 is a column for setting related to the third reception processing unit JS3. The third server setting column R5 has a third URL input column R51 and a third interval input column R52. As will be described later, the third receiving processing unit JS3 executes processing for receiving print data from the third print data distribution server SV3. Furthermore, the third URL input column R51 is a column for inputting the URL of the server (the third print data distribution server SV3 in this embodiment) that the third receiving processing unit JS3 accesses when receiving the print data. In addition, the third interval input field R52 is a field for inputting an interval when the third reception processing unit JS3 inquires the third print data distribution server SV3 about the presence or absence of print data.

这样,在本实施方式中,接收用处理部JS每隔规定时间便询问打印数据的有无,能够针对各接收用处理部JS设定规定时间。In this manner, in the present embodiment, the receiving processing unit JS inquires about the presence or absence of print data every predetermined time, and the predetermined time can be set for each receiving processing unit JS.

此外,在本例中,由于与控制打印机SP进行通信的打印数据分发服务器SV为3台,所以对应的设定用的栏的数量为3个,但能够根据进行通信的服务器的数量来使对应的设定用的栏的数量增减。In addition, in this example, since there are three print data distribution servers SV communicating with the control printer SP, the number of corresponding setting columns is three, but it is possible to make correspondence according to the number of communicating servers. Increase or decrease the number of columns for setting.

另外,设定UI具有服务器认证栏R6。In addition, the setting UI has a server authentication column R6.

服务器认证栏R6是当与打印数据分发服务器SV建立联系时,设定在控制打印机SP侧是否进行服务器的认证的栏。The server authentication column R6 is a column for setting whether to perform server authentication on the control printer SP side when establishing a connection with the print data distribution server SV.

另外,设定UI具有应用按钮B1。In addition, the setting UI has an apply button B1.

在应用按钮B1被选择的情况下,确定向设定UI的输入,所输入的信息被发送给控制打印机SP。控制打印机SP基于接收到的信息来反映输入。When the apply button B1 is selected, input to the setting UI is confirmed, and the input information is sent to the control printer SP. The control printer SP reflects the input based on the received information.

接下来,对控制打印机SP的动作详细进行说明。Next, the operation of controlling the printer SP will be described in detail.

控制打印机SP从打印数据分发服务器SV接收打印数据,根据接收到的打印数据将接收到的打印数据发送给对应的打印机KP或者进行基于打印数据的打印。The control printer SP receives print data from the print data distribution server SV, and sends the received print data to the corresponding printer KP or performs printing based on the print data.

首先,对控制打印机SP的与打印数据的接收相关的处理进行说明。First, the process of controlling the printer SP to receive print data will be described.

图7是表示控制打印机SP从打印数据分发服务器SV接收打印数据时的控制打印机SP、以及第一打印数据分发服务器SV1的动作的流程图,(A)表示控制打印机SP的动作,(B)表示第一打印数据分发服务器SV1的动作。7 is a flowchart showing the operations of the control printer SP and the first print data distribution server SV1 when the control printer SP receives print data from the print data distribution server SV, (A) shows the operation of the control printer SP, (B) shows Operation of the first print data distribution server SV1.

如上所述,在控制打印机SP起动时,第一接收用处理部JS1、第二接收用处理部JS2、以及第三接收用处理部JS3起动。As described above, when the startup of the printer SP is controlled, the first processing unit JS1 for reception, the second processing unit JS2 for reception, and the third processing unit JS3 for reception are activated.

而且,第一接收用处理部JS1执行从3台打印数据分发服务器SV中的第一打印数据分发服务器SV1接收打印数据的处理。另外,第二接收用处理部JS2执行从第二打印数据分发服务器SV2接收打印数据的处理。另外,第三接收用处理部JS3执行从第三打印数据分发服务器SV3接收打印数据的处理。Furthermore, the first receiving processing unit JS1 executes processing for receiving print data from the first print data distribution server SV1 among the three print data distribution servers SV. In addition, the second receiving processing unit JS2 executes processing for receiving print data from the second print data distribution server SV2. In addition, the third receiving processing unit JS3 executes processing for receiving print data from the third print data distribution server SV3.

以下,使用图7的流程图对第一接收用处理部JS1的处理进行说明。虽然省略第二接收用处理部JS2、以及第三接收用处理部JS3的处理的详细说明,但第二接收用处理部JS2针对第二打印数据分发服务器SV2执行与在图7的流程图中说明的处理同样的处理。另外,第三接收用处理部JS3针对第三打印数据分发服务器SV3执行与在图7的流程图中说明的处理同样的处理。Hereinafter, the processing of the first reception processing unit JS1 will be described using the flowchart of FIG. 7 . Although the detailed description of the processing of the second receiving processing unit JS2 and the third receiving processing unit JS3 is omitted, the second receiving processing unit JS2 executes the same process as described in the flowchart of FIG. 7 with respect to the second print data distribution server SV2. The processing is the same. In addition, the third reception processing unit JS3 executes the same processing as the processing described in the flowchart of FIG. 7 with respect to the third print data distribution server SV3.

如图7(A)所示,控制打印机SP的控制打印机控制部40的接收部40a的第一接收用处理部JS1监视是否到了对第一打印数据分发服务器SV1询问打印数据的有无的定时(步骤SA1)。As shown in FIG. 7(A), the first receiving processing unit JS1 of the receiving unit 40a of the printer control unit 40 controlling the printer SP monitors whether it is time to inquire about the presence or absence of print data to the first print data distribution server SV1 ( Step SA1).

除了后述的打印数据处理期间之外,第一接收用处理部JS1以设定UI的第一服务器设定栏R3的第一间隔输入栏R32中被输入的间隔(规定时间)来对第一打印数据分发服务器SV1询问打印数据的有无。在步骤SA1中,第一接收用处理部JS1监视从上次进行询问起是否经过了与所设定的间隔对应的时间(规定时间),在经过了与所设定的间隔对应的时间的情况下,判别为到了询问打印数据的有无的定时。In addition to the print data processing period to be described later, the first receiving processing unit JS1 performs an interval (predetermined time) entered in the first interval input field R32 of the first server setting field R3 of the setting UI for the first time. The print data distribution server SV1 inquires about the presence or absence of print data. In step SA1, the first reception processing unit JS1 monitors whether the time corresponding to the set interval (predetermined time) has elapsed since the previous inquiry, and if the time corresponding to the set interval has elapsed, Next, it is determined that it is time to inquire about the presence or absence of print data.

在到了定时的情况下(步骤SA1:是),第一接收用处理部JS1生成询问打印数据的有无的数据,对广域网通信部43进行控制来将该数据发送给第一打印数据分发服务器SV1(步骤SA2)。When the timing is up (step SA1: Yes), the first reception processing unit JS1 generates data inquiring about the presence or absence of print data, and controls the wide area network communication unit 43 to transmit the data to the first print data distribution server SV1. (step SA2).

如上所述,输入至第一服务器设定栏R3的第一URL输入栏R31的URL(第一打印数据分发服务器SV1的URL)被写入设定文件等,第一接收用处理部JS1对该URL进行管理。在步骤SA2中,第一接收用处理部JS1基于所管理的URL来对第一打印数据分发服务器SV1进行访问,按照规定的通信标准建立联系,并利用联系来发送数据。As described above, the URL (the URL of the first print data distribution server SV1) input to the first URL input field R31 of the first server setting field R3 is written in the setting file or the like, and the first receiving processing unit JS1 responds to the setting file. URLs for management. In step SA2, the first reception processing unit JS1 accesses the first print data distribution server SV1 based on the managed URL, establishes a connection according to a predetermined communication standard, and transmits data using the connection.

如图7(B)所示,第一打印数据分发服务器SV1的第一服务器控制部201对第一服务器通信部211进行控制来接收数据(步骤SB1)。As shown in FIG. 7(B), the first server control unit 201 of the first print data distribution server SV1 controls the first server communication unit 211 to receive data (step SB1 ).

接下来,第一服务器控制部201判别未发送的打印数据的有无(步骤SB2)。Next, the first server control unit 201 determines whether there is unsent print data (step SB2 ).

若详细叙述,则如上所述,第一服务器控制部201在从第一POS终端PT1或者第二POS终端PT2接收到发行结账相关信息、以及收据的打印机的识别信息的情况下,基于这些信息来生成收据打印数据(打印数据),并存储到第一服务器存储部221。而且,在步骤SB2中,第一服务器控制部201判别是否存在存储于第一服务器存储部221但未发送给控制打印机SP的打印数据。即,在步骤SB2中,第一服务器控制部201判别在上次发送了打印数据之后有无新生成并存储的打印数据。More specifically, as described above, when the first server control unit 201 receives information related to payment from the first POS terminal PT1 or the second POS terminal PT2 and the identification information of the printer that issued the receipt, based on these information, the first server control unit 201 Receipt print data (print data) is generated and stored in the first server storage unit 221 . Furthermore, in step SB2, the first server control unit 201 determines whether there is print data stored in the first server storage unit 221 but not sent to the control printer SP. That is, in step SB2 , the first server control unit 201 determines whether or not there is newly generated and stored print data after the print data was transmitted last time.

接下来,第一服务器控制部201基于判别结果对第一服务器通信部211进行控制,利用在步骤SA2中建立的联系来发送包括对未发送的打印数据的有无进行表示的信息的数据(步骤SB3)。Next, the first server control unit 201 controls the first server communication unit 211 based on the judgment result, and uses the connection established in step SA2 to transmit data including information indicating the presence or absence of unsent print data (step SA2). SB3).

如图7(A)所示,控制打印机SP的第一接收用处理部JS1对广域网通信部43进行控制,来接收第一打印数据分发服务器SV1发送了的数据(步骤SA3)。As shown in FIG. 7(A), the first reception processing unit JS1 controlling the printer SP controls the WAN communication unit 43 to receive data transmitted from the first print data distribution server SV1 (step SA3).

接下来,第一接收用处理部JS1在接收到的数据包括表示没有未发送的打印数据的信息的情况下(步骤SA4:否),将处理步骤返回到步骤SA1。Next, when the received data includes information indicating that there is no untransmitted print data (step SA4: NO), the first reception processing unit JS1 returns the processing step to step SA1.

在接收到的数据包括表示有未发送的打印数据的信息的情况下(步骤SA4:是),第一接收用处理部JS1利用所建立的联系,来发送对打印数据的发送进行请求的数据(步骤SA5)。When the received data includes information indicating that there is unsent print data (step SA4: Yes), the first receiving processing unit JS1 transmits data requesting print data transmission using the established connection ( Step SA5).

如图7(B)所示,第一打印数据分发服务器SV1的第一服务器控制部201接收数据(步骤SB4)。As shown in FIG. 7(B), the first server control unit 201 of the first print data distribution server SV1 receives the data (step SB4).

接下来,第一服务器控制部201利用所建立的联系,来发送未发送的打印数据(步骤SB5)。在未发送的打印数据有多个的情况下,第一服务器控制部201依次发送多个打印数据。Next, the first server control unit 201 transmits the unsent print data using the established connection (step SB5 ). When there is a plurality of untransmitted print data, the first server control unit 201 sequentially transmits the plurality of print data.

如图7(A)所示,根据第一打印数据分发服务器SV1对打印数据的发送,控制打印机SP的第一接收用处理部JS1开始打印数据的接收(步骤SA6)。第一接收用处理部JS1在接收打印数据的过程中,将接收到的数据依次保存到RAM等的形成于工作区域的接收缓冲器。As shown in FIG. 7(A), upon transmission of the print data by the first print data distribution server SV1, the first receiving processing unit JS1 of the printer SP is controlled to start receiving the print data (step SA6). While receiving print data, the first receiving processing unit JS1 sequentially stores the received data in a receiving buffer formed in a work area such as a RAM.

在开始了打印数据的接收之后,第一接收用处理部JS1监视打印数据的接收是否结束(步骤SA7)。在所接收的打印数据有多个的情况下,在步骤SA7中,第一接收用处理部JS1针对多个打印数据的全部监视接收是否结束。After the reception of the print data starts, the first reception processing unit JS1 monitors whether the reception of the print data is completed (step SA7). When a plurality of print data has been received, in step SA7 , the first reception processing unit JS1 monitors whether the reception of all the plurality of print data has been completed.

在打印数据的接收结束的情况下(步骤SA7:是),第一接收用处理部JS1判别是否是禁止向打印队列Q写入(保存)数据的状态(步骤SA8)。如在后面可知那样,第一接收用处理部JS1、第二接收用处理部JS2、以及第三接收用处理部JS3分别在将数据写入打印队列Q的期间,禁止其他的接收用处理部JS将数据写入打印队列Q。When the reception of the print data is completed (step SA7: YES), the first reception processing unit JS1 determines whether or not writing (saving) data to the print queue Q is prohibited (step SA8). As will be understood later, the first reception processing unit JS1 , the second reception processing unit JS2 , and the third reception processing unit JS3 prohibit the other reception processing units JS while writing data into the print queue Q. Write data to print queue Q.

另外,1个接收用处理部JS在禁止其他两个第一接收用处理部JS进行写入的情况下,对其他两个接收用处理部JS进行该内容的通知,另外,在将禁止解除的情况下,对其他两个接收用处理部JS进行该内容的通知。在步骤SA8中,第一接收用处理部JS1在从其他的接收用处理部JS接收到禁止写入数据的内容的通知后、未接收到将禁止解除的内容的通知时,判别为是禁止写入数据的状态。In addition, when one receiving processing unit JS prohibits writing by the other two first receiving processing units JS, it notifies the other two receiving processing units JS of the content, and when the prohibition is released, In this case, the content is notified to the other two processing units JS for reception. In step SA8, when the first reception processing unit JS1 receives a notification of the prohibition of writing data from another reception processing unit JS, and does not receive a notification of the content of canceling the prohibition, it determines that it is a write prohibition. state of the incoming data.

在禁止向打印队列Q写入数据的状态的情况下(步骤SA8:是),第一接收用处理部JS1监视写入的禁止是否被解除(步骤SA9),在被解除的情况下(步骤SA9:是),将处理步骤移至步骤SA10。In the case of prohibiting the state of writing data to the print queue Q (step SA8: Yes), the first receiving processing unit JS1 monitors whether the prohibition of writing is released (step SA9), and if it is released (step SA9 : Yes), move the processing step to step SA10.

在不是禁止数据向打印队列Q的写入的情况下(步骤SA8:否),第一接收用处理部JS1将处理步骤移至步骤SA10。When writing of data to the print queue Q is not prohibited (step SA8: NO), the first reception processing unit JS1 proceeds to step SA10.

在步骤SA10中,第一接收用处理部JS1禁止其他两个接收用处理部JS对打印队列Q写入数据。具体而言,第一接收用处理部JS1通过中断信号的发送等手段,对其他两个接收用处理部JS进行禁止写入数据的内容的通知。In step SA10 , the first reception processing unit JS1 prohibits the other two reception processing units JS from writing data to the print queue Q. Specifically, the first processing unit JS1 for reception notifies the other two processing units JS for reception that data writing is prohibited by means such as transmission of an interrupt signal.

接下来,第一接收用处理部JS1开始将接收缓冲器中保存的打印数据(在打印数据有多个的情况下将多个打印数据)向打印队列Q写入(保存)(步骤SA11)。Next, the first reception processing unit JS1 starts writing (storing) the print data stored in the reception buffer (a plurality of print data if there are multiple print data) in the print queue Q (step SA11 ).

接下来,第一接收用处理部JS1监视接收缓冲器中保存的打印数据向打印队列Q的写入是否结束(步骤SA12)。Next, the first reception processing unit JS1 monitors whether writing of the print data stored in the reception buffer to the print queue Q is completed (step SA12 ).

在写入结束的情况下(步骤SA12:是),第一接收用处理部JS1解除基于其他接收用处理部JS写入数据的禁止(步骤SA13)。When the writing is completed (step SA12: YES), the first receiving processing unit JS1 cancels the prohibition of data writing by the other receiving processing unit JS (step SA13).

具体而言,第一接收用处理部JS1通过中断信号的发送等手段,来进行解除对其他两个接收用处理部JS写入数据的禁止这一内容的通知。Specifically, the first processing unit JS1 for reception notifies that the prohibition of writing data to the other two processing units JS for reception is released by means such as transmission of an interrupt signal.

接下来,第一接收用处理部JS1监视是否被输入打印处理结束通知(步骤SA14)。Next, the first reception processing unit JS1 monitors whether or not a print processing end notification is input (step SA14 ).

根据后面记载可知,打印处理结束通知是在基于从第一打印数据分发服务器SV1接收到的打印数据(在接收到多个打印数据的情况下为多个打印数据)的打印结束的情况下,从管理部KB输入的通知。As will be understood from the description below, the print processing end notification is sent from Notification of KB input from the management department.

在被输入了打印处理结束通知的情况下(步骤SA14:是),第一接收用处理部JS1将处理步骤返回到步骤SA1。When the print processing end notification is input (step SA14: YES), the first reception processing unit JS1 returns the processing procedure to step SA1.

这样,第一接收用处理部JS1在开始从第一打印数据分发服务器SV1接收打印数据起到基于接收到的打印数据的打印结束为止的期间(打印数据处理期间),不进行打印数据的有无的询问。In this way, the first reception processing unit JS1 does not perform print data presence or absence during the period from the start of receiving print data from the first print data distribution server SV1 to the end of printing based on the received print data (print data processing period). inquiry.

综上所述,在本实施方式中,多个打印数据分发服务器SV与控制打印机SP连接。而且,在控制打印机SP中,与打印数据分发服务器SV对应地起动多个接收用处理部JS。接收用处理部JS与其他的接收用处理部JS独立地进行在图7中说明了的处理,从对应的打印数据分发服务器SV接收打印数据,并将打印数据保存到共享的打印队列Q。通过该结构,接收用处理部JS能够不受其他接收用处理部JS的处理的影响,另外,不对其他接收用处理部JS的处理造成影响而独立地从对应的打印数据分发服务器SV接收打印数据,能够基于多个打印数据分发服务器SV与控制打印机SP连接的结构,实现高效的打印数据的接收。例如,与在处于1台打印数据分发服务器SV与控制打印机SP连接的状态的情况下,控制打印机SP从该服务器接收打印数据,并在基于接收到的打印数据的打印结束之后,询问打印数据的有无这一结构的情况相比,能够提高打印数据的接收涉及的处理的吞吐量(Throughput)。As described above, in this embodiment, a plurality of print data distribution servers SV are connected to the control printer SP. Then, in the control printer SP, a plurality of reception processing units JS are activated corresponding to the print data distribution server SV. The receiving processing unit JS performs the processing described in FIG. 7 independently of other receiving processing units JS, receives print data from the corresponding print data distribution server SV, and stores the print data in the shared print queue Q. With this configuration, the receiving processing unit JS can independently receive print data from the corresponding print data distribution server SV without being affected by the processing of other receiving processing units JS and without affecting the processing of other receiving processing units JS. , based on the structure in which multiple print data distribution servers SV are connected to the control printer SP, efficient reception of print data can be realized. For example, when one print data distribution server SV is connected to the control printer SP, the control printer SP receives print data from the server, and after printing based on the received print data ends, inquires about the print data. Compared with the case where there is such a structure, the throughput (throughput) of processing related to receiving print data can be improved.

另外,在本实施方式中,当多个接收用处理部JS中的1个接收用处理部JS将打印数据向打印队列Q保存时,禁止其他的接收用处理部JS向打印队列Q保存数据。通过该结构,能够将打印数据以接收到的顺序保存到打印队列Q。Also, in this embodiment, when one of the plurality of reception processing units JS stores print data in the print queue Q, other reception processing units JS are prohibited from storing data in the print queue Q. With this configuration, print data can be stored in the print queue Q in the order received.

例如,第二接收用处理部JS2开始从第二打印数据分发服务器SV2接收打印数据D1、和打印数据D2。打印数据D1、打印数据D2都是包括第二打印机KP2的识别信息的打印数据(=使第二打印机KP2处理的打印数据)。同时,第三接收用处理部JS3从第三打印数据分发服务器SV3接收打印数据D3。打印数据D3是包括第二打印机KP2的识别信息的打印数据(=使第二打印机KP2处理的打印数据)。而且,第二接收用处理部JS2的接收结束的定时比第三接收用处理部JS3的接收结束的定时稍早。该情况下,要求在打印队列Q中以打印数据D1、打印数据D2、打印数据D3的顺序保存。其原因在于,打印数据被要求以接收完成的顺序被处理,通过在打印队列Q中以该顺序保存打印数据,如后所述,打印数据被以该顺序处理。而且,根据本实施方式的结构,能够将打印数据在打印队列Q中以该顺序保存。另一方面,在是1个接收用处理部JS向打印队列Q保存数据时,没有禁止其他的接收用处理部JS向打印队列Q保存数据的结构的情况下,打印数据一定不会被以接收到的顺序保存,例如打印数据可能按照打印数据D1、打印数据D3、打印数据D2的顺序被保存到打印队列Q。For example, the second reception processing unit JS2 starts receiving the print data D1 and the print data D2 from the second print data distribution server SV2. Both the print data D1 and the print data D2 are print data including identification information of the second printer KP2 (=print data to be processed by the second printer KP2). At the same time, the third receiving processing unit JS3 receives the print data D3 from the third print data distribution server SV3. The print data D3 is print data including identification information of the second printer KP2 (=print data to be processed by the second printer KP2). Furthermore, the timing at which the second reception processing unit JS2 completes reception is earlier than the timing at which the third reception processing unit JS3 completes reception. In this case, it is required to store the print data D1, print data D2, and print data D3 in the print queue Q in order. The reason for this is that print data is required to be processed in the order in which they are received, and by storing the print data in the print queue Q in that order, the print data is processed in that order as will be described later. Furthermore, according to the configuration of the present embodiment, the print data can be stored in the print queue Q in this order. On the other hand, when one receiving processing unit JS stores data in the print queue Q, if there is no structure that prohibits other receiving processing units JS from storing data in the print queue Q, the print data will never be received as For example, the print data may be stored in the print queue Q in the order of print data D1, print data D3, and print data D2.

接下来,说明控制打印机SP对接收到的打印数据的处理。Next, processing of the received print data by the control printer SP will be described.

如上所述,在不区分第一输出用处理部SS1、第二输出用处理部SS2、以及第三输出用处理部SS3的情况下,表现为“发送处理部S”。另外,在不区分第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3、以及打印输出用处理部SS4的情况下,表现为“输出用处理部SS”。As mentioned above, when the 1st output processing part SS1, the 2nd output processing part SS2, and the 3rd output processing part SS3 are not distinguished, they are expressed as "transmission processing part S." In addition, when not distinguishing the 1st output processing part SS1, the 2nd output processing part SS2, the 3rd output processing part SS3, and the printing output processing part SS4, it expresses as "output processing part SS".

如上所述,管理部KB在规定的条件成立的情况下,将第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3或者打印输出用处理部SS4起动。而且,发送处理部S(第一输出用处理部SS1、第二输出用处理部SS2、以及第三输出用处理部SS3)执行的处理与打印输出用处理部SS4执行的处理不同。As described above, the management unit KB activates the first output processing unit SS1 , the second output processing unit SS2 , the third output processing unit SS3 , or the print output processing unit SS4 when a predetermined condition is satisfied. Furthermore, the processing executed by the transmission processing section S (the first output processing section SS1 , the second output processing section SS2 , and the third output processing section SS3 ) is different from the processing executed by the print output processing section SS4 .

以下,使用图8对第一输出用处理部SS1的处理进行说明,接着,使用图9对打印输出用处理部SS4的处理进行说明。Hereinafter, the processing of the first output processing unit SS1 will be described using FIG. 8 , and then the processing of the print output processing unit SS4 will be described using FIG. 9 .

图8(A)是表示管理部KB的动作的流程图,图8(B)是表示第一输出用处理部SS1的动作的流程图,图8(C)是表示第一打印机KP1的动作的流程图。Fig. 8 (A) is a flow chart showing the operation of the management unit KB, Fig. 8 (B) is a flow chart showing the operation of the first output processing section SS1, and Fig. 8 (C) is a flow chart showing the operation of the first printer KP1. flow chart.

如图8(A)所示,管理部KB监视是否由任意一个接收用处理部JS进行了打印数据向打印队列Q的写入(步骤SC1)。进行了打印数据的写入是指在开始了对打印队列Q的写入之后,完成了一系列的打印数据的写入,在进行多个打印数据的写入的情况下,是指完成了多个打印数据的写入。As shown in FIG. 8(A), the management unit KB monitors whether any one of the reception processing units JS has written print data to the print queue Q (step SC1 ). Writing of print data means that a series of writing of print data has been completed after writing to the print queue Q has started. Writing of print data.

在进行了向打印队列Q写入打印数据的情况下(步骤SC1:是),管理部KB参照打印数据的内容,取得打印数据所包含的打印机的识别信息(步骤SC2)。在被写入了多个打印数据的情况下,管理部KB取得多个打印数据所包含的打印机的识别信息。When the print data is written into the print queue Q (step SC1: YES), the management unit KB refers to the content of the print data and acquires the identification information of the printer included in the print data (step SC2). When a plurality of print data are written, the management unit KB acquires identification information of printers included in the plurality of print data.

接下来,管理部KB判别与所取得的打印机的识别信息对应的输出用处理部SS(发送处理部S或者打印输出用处理部SS4)是否是起动了的状态(步骤SC3)。当在步骤SC2中取得的打印机的识别信息有多个时,管理部KB针对多个打印机的识别信息的每一个判别对应的输出用处理部SS是否是起动了的状态。Next, the management unit KB judges whether the output processing unit SS (the transmission processing unit S or the print output processing unit SS4 ) corresponding to the acquired printer identification information is activated (step SC3 ). When there is a plurality of printer identification information acquired in step SC2, the management unit KB judges whether or not the corresponding output processing unit SS is activated for each of the plurality of printer identification information.

这里,与第一打印机KP1的识别信息对应的输出用处理部SS是第一输出用处理部SS1。与第二打印机KP2的识别信息对应的输出用处理部SS是第二输出用处理部SS2。与第三打印机KP3的识别信息对应的输出用处理部SS是第三输出用处理部SS3。另外,与控制打印机SP的识别信息对应的输出用处理部SS是打印输出用处理部SS4。Here, the output processing unit SS corresponding to the identification information of the first printer KP1 is the first output processing unit SS1. The output processing unit SS corresponding to the identification information of the second printer KP2 is the second output processing unit SS2. The output processing unit SS corresponding to the identification information of the third printer KP3 is the third output processing unit SS3. In addition, the processing part SS for output corresponding to the identification information which controls the printer SP is the processing part SS4 for print output.

当与在步骤SC2中取得的打印机的识别信息对应的输出用处理部SS处于起动了的状态时(步骤SC3:是),管理部KB将处理步骤返回到步骤SC1。该情况下,如后述那样,由已经处于起动了的状态的输出用处理部SS来处理被写入打印队列Q的打印数据。When the output processing unit SS corresponding to the identification information of the printer acquired in step SC2 is activated (step SC3: YES), the management unit KB returns the processing procedure to step SC1. In this case, as will be described later, the print data written in the print queue Q is processed by the activated output processing unit SS.

对于与在步骤SC2中取得的打印机的识别信息对应的输出用处理部SS而言,在未起动的输出用处理部即便是一个的情况下(步骤SC3:否),管理部KB也将与未起动的输出用处理部SS的识别信息对应的输出用处理部SS起动(步骤SC4)。例如,在所取得的打印机的识别信息是第一打印机KP1的识别信息、第一输出用处理部SS1未起动的情况下,管理部KB通过起动第一输出用任务,来使第一输出用处理部SS1起动。For the output processing unit SS corresponding to the printer identification information acquired in step SC2, even if there is only one output processing unit that has not been activated (step SC3: No), the management unit KB will also communicate with the unactivated output processing unit. The output processing unit SS corresponding to the identification information of the activated output processing unit SS is activated (step SC4). For example, when the acquired printer identification information is the identification information of the first printer KP1 and the first output processing unit SS1 is not activated, the management unit KB activates the first output task to make the first output process Department SS1 starts.

在以下的使用了图8的说明中,设在步骤SC4中管理部KB起动了第一输出用处理部SS1,来对第一输出用处理部SS1的处理进行说明。虽然省略了对于第二输出用处理部SS2、以及第三输出用处理部SS3的处理的详细说明,但这些输出用处理部SS在起动后执行与以下说明的处理同样的处理。In the following description using FIG. 8 , it is assumed that the management unit KB activates the first output processing unit SS1 in step SC4 , and the processing of the first output processing unit SS1 will be described. Although the detailed description of the processing of the second output processing unit SS2 and the third output processing unit SS3 is omitted, these output processing units SS execute the same processing as the processing described below after activation.

如图8(B)所示,第一输出用处理部SS1参照打印队列Q中保存的未读出的打印数据中的在时间上最早被写入的打印数据的内容,来取得打印数据所包含的打印机的识别信息(步骤SD1)。As shown in FIG. 8(B), the first output processing unit SS1 refers to the content of the print data written earliest in time among the unread print data stored in the print queue Q to obtain the print data included in the print data. identification information of the printer (step SD1).

接下来,第一输出用处理部SS1判别所取得的打印机的识别信息、与第一打印机KP1的识别信息(对应的识别信息)是否一致(步骤SD2)。这里,在与步骤SD2对应的处理中,第二输出用处理部SS2判别所取得的打印机的识别信息与第二打印机KP2的识别信息是否一致,另外,第三输出用处理部SS3判别所取得的打印机的识别信息与第三打印机KP3的识别信息是否一致。Next, the first output processing unit SS1 judges whether the acquired identification information of the printer matches the identification information (corresponding identification information) of the first printer KP1 (step SD2 ). Here, in the processing corresponding to step SD2, the second output processing unit SS2 judges whether the acquired identification information of the printer matches the identification information of the second printer KP2, and the third output processing unit SS3 determines whether the acquired Whether the identification information of the printer is consistent with the identification information of the third printer KP3.

在不一致的情况下(步骤SD2:否),第一输出用处理部SS1判别在打印队列Q中是否有未读出且未实施步骤SD2的识别信息的取得、以及比较的打印数据(步骤SD3)。In the case of inconsistency (step SD2: No), the first output processing unit SS1 judges whether there is print data in the print queue Q that has not been read out and has not been subjected to the acquisition of the identification information of step SD2 and the comparison (step SD3) .

在有打印数据的情况下(步骤SD3:是),第一输出用处理部SS1取得未读出的打印数据中的在上次进行了识别信息的取得、以及比较的打印数据的之后保存的打印数据的识别信息(步骤SD4),并将处理步骤移至步骤SD2。If there is print data (step SD3: YES), the first output processing unit SS1 acquires print data stored after the print data for which identification information has been acquired and compared last time among unread print data. identification information of the data (step SD4), and move the processing step to step SD2.

在没有打印数据的情况下(步骤SD3:否),第一输出用处理部SS1通过将第一输出用任务停止而停止(步骤SD5)。When there is no print data (step SD3: NO), the first output processing unit SS1 stops by stopping the first output job (step SD5).

另一方面,当在步骤SD2中所取得的打印机的识别信息、与第一打印机KP1的识别信息一致时(步骤SD2:是),第一输出用处理部SS1从打印队列Q读出取得了打印机的识别信息的打印数据(步骤SD6)。On the other hand, when the identification information of the printer acquired in step SD2 matches the identification information of the first printer KP1 (step SD2: Yes), the first output processing unit SS1 reads out the acquired printer from the print queue Q. The print data of the identification information (step SD6).

接下来,第一输出用处理部SS1对局域网通信部44进行控制,来将读出的打印数据发送(输出)给第一打印机KP1(步骤SD7)。第一输出用处理部SS1预先取得第一打印机KP1的IP地址、MAC地址等为了向第一打印机KP1发送数据所需要的信息并进行管理。Next, the first output processing unit SS1 controls the LAN communication unit 44 to transmit (output) the read print data to the first printer KP1 (step SD7 ). The first output processing unit SS1 acquires and manages information necessary for sending data to the first printer KP1, such as the IP address and MAC address of the first printer KP1, in advance.

如图8(C)所示,第一打印机KP1的第一控制部501对第一通信部511进行控制来接收打印数据(步骤SE1)。As shown in FIG. 8(C), the first control unit 501 of the first printer KP1 controls the first communication unit 511 to receive print data (step SE1).

接下来,第一控制部501将接收到的打印数据转换成遵照第一打印部521的指令体系的控制指令,基于控制指令使第一打印部521执行基于控制指令的处理(步骤SE2)。由于打印数据是收据打印数据,所以步骤SE2的处理的结果是由第一打印机KP1发行收据。Next, the first control unit 501 converts the received print data into control commands conforming to the command system of the first printer unit 521, and causes the first printer unit 521 to execute processing based on the control commands based on the control commands (step SE2). Since the print data is receipt print data, a receipt is issued by the first printer KP1 as a result of the processing at step SE2.

接下来,第一控制部501生成对打印数据的处理结果进行表示的数据(以下称为“处理结果通知数据”),并对第一通信部511进行控制来发送给控制打印机SP(步骤SE3)。Next, the first control unit 501 generates data indicating the processing result of the print data (hereinafter referred to as “processing result notification data”), and controls the first communication unit 511 to transmit it to the control printer SP (step SE3) .

如图8(B)所示,控制打印机SP的第一输出用处理部SS1在打印数据的发送后,监视是否接收到处理结果通知数据(步骤SD8)。As shown in FIG. 8(B), the first output processing unit SS1 of the control printer SP monitors whether or not the processing result notification data is received after the print data is sent (step SD8).

在接收到处理结果通知数据的情况下(步骤SD8:是),第一输出用处理部SS1通过中断等手段,将表示处理结果的信息输出给管理部KB(步骤SD9)。关于管理部KB对表示处理结果的信息的利用方法将后述。When the processing result notification data is received (step SD8: YES), the first output processing unit SS1 outputs information indicating the processing result to the management unit KB by means such as an interrupt (step SD9). The method of using the information indicating the processing result by the management unit KB will be described later.

接下来,第一输出用处理部SS1将处理步骤移至步骤SD3。Next, the processing part SS1 for 1st output transfers a process step to step SD3.

综上所述,第一输出用处理部SS1是具有对第一打印机KP1发送打印数据的功能的功能模块。第一输出用处理部SS1以包括第一打印机KP1的识别信息的打印数据向打印队列Q的保存作为触发而被起动。第一输出用处理部SS1在起动后,针对打印队列Q中保存的打印数据中的未读出的打印数据,判别以被保存的顺序、换言之以接收到的顺序包含于打印数据的识别信息与第一打印机KP1的识别信息是否一致。而且,第一输出用处理部SS1在识别信息一致的情况下,读出识别信息一致的打印数据并发送给第一打印机KP1。In summary, the first output processing unit SS1 is a functional block having a function of sending print data to the first printer KP1. The first output processing unit SS1 is activated by saving the print data including the identification information of the first printer KP1 in the print queue Q as a trigger. After the first output processing unit SS1 is started, for the unread print data among the print data stored in the print queue Q, it is determined whether the identification information contained in the print data in the order of being stored, in other words, in the order of receiving Whether the identification information of the first printer KP1 is consistent. Then, when the identification information matches, the first output processing unit SS1 reads out the print data whose identification information matches, and sends it to the first printer KP1.

通过这样的结构,第一输出用处理部SS1针对第一打印机KP1的处理对象的打印数据能够以保存到打印队列Q的顺序,换言之以接收到的顺序进行发送。例如,在是与第一打印机KP1对应地将具有发送打印数据的功能的多个处理部起动,多个处理部独立地执行打印数据的读出、发送的结构的情况下,可能产生无法以接收到打印数据的顺序来进行打印数据的发送这一情况。另一方面,根据本实施方式,能够防止该情况的发生。With such a configuration, the print data to be processed by the first output processing unit SS1 for the first printer KP1 can be transmitted in the order stored in the print queue Q, in other words, in the order received. For example, in the case of a configuration in which a plurality of processing units having a function of transmitting print data are activated corresponding to the first printer KP1, and the plurality of processing units independently execute print data reading and transmission, failure to receive data may occur. The transmission of the print data is performed in the order of the print data. On the other hand, according to the present embodiment, it is possible to prevent this from happening.

另外,第一输出用处理部SS1在打印队列Q中没有是第一打印机KP1的处理对象且未读出的打印数据的情况下停止。即,第一输出用处理部SS1在不需要进行处理的情况下停止。通过该结构,能够抑制第一输出用处理部SS1维持被不必要起动的状态,可实现CPU等硬件资源、其他资源的有效利用。In addition, the first output processing unit SS1 stops when there is no unread print data that is the processing target of the first printer KP1 in the print queue Q. That is, the first output processing unit SS1 stops when processing is unnecessary. With this configuration, it is possible to prevent the first output processing unit SS1 from being unnecessarily activated, and to achieve effective use of hardware resources such as a CPU and other resources.

以上的情况对于第二输出用处理部SS2、以及第三输出用处理部SS3也是同样的。The above is also the same for the second output processing unit SS2 and the third output processing unit SS3.

接下来,对管理部KB起动了打印输出用处理部SS4后的打印输出用处理部SS4、以及打印控制部40c的动作进行说明。Next, the operations of the printout processing section SS4 after the management section KB activates the printout processing section SS4 and the print control section 40 c will be described.

图9(A)是表示打印输出用处理部SS4的动作的流程图,(B)是表示打印控制部40c的动作的流程图。9(A) is a flowchart showing the operation of the printout processing unit SS4, and FIG. 9(B) is a flowchart showing the operation of the printing control unit 40c.

当打印队列Q中保存有包含控制打印机SP的识别信息的打印数据时,如果打印输出用处理部SS4未起动,则管理部KB通过起动打印输出用任务,来使打印输出用处理部SS4起动(步骤SX1)。When print data including identification information for controlling the printer SP is stored in the print queue Q, if the printout processing unit SS4 is not activated, the management unit KB activates the printout processing unit SS4 by activating a printout task ( Step SX1).

如图9(A)所示,打印输出用处理部SS4参照打印队列Q中保存的未读出的打印数据中的在时间上最早被写入的打印数据的内容,来取得打印数据所含的打印机的识别信息(步骤SF1)。As shown in FIG. 9(A), the print output processing unit SS4 refers to the content of the print data written earliest in time among the unread print data stored in the print queue Q, and obtains the print data contained in the print data. Identification information of the printer (step SF1).

打印输出用处理部SS4判别所取得的打印机的识别信息、与控制打印机SP的识别信息(对应的识别信息)是否一致(步骤SF2)。The printout processing unit SS4 judges whether the acquired identification information of the printer matches the identification information (corresponding identification information) of the control printer SP (step SF2 ).

在不一致的情况下(步骤SF2:否),打印输出用处理部SS4判别打印队列Q中是否有未读出、且未实施步骤SF2的识别信息的取得、以及比较的打印数据(步骤SF3)。If they do not match (step SF2: No), the printout processing unit SS4 judges whether there is print data in the print queue Q that has not been read out and has not been subjected to the identification information acquisition and comparison in step SF2 (step SF3).

在有打印数据的情况下(步骤SF3:是),打印输出用处理部SS4读出未读出的打印数据中的在上次进行了识别信息的取得、以及比较的打印数据之后保存的打印数据(步骤SF4),并将处理步骤移至步骤SF2。If there is print data (step SF3: YES), the print output processing unit SS4 reads the print data stored after the print data for which the identification information was acquired and compared last time among the unread print data. (step SF4), and the processing step is moved to step SF2.

在没有打印数据的情况下(步骤SF3:否),打印输出用处理部SS4通过将打印输出用任务停止而停止(步骤SF5)。When there is no print data (step SF3: NO), the print output processing unit SS4 stops by stopping the print output job (step SF5).

另一方面,当在步骤SF2中所取得的打印机的识别信息、与控制打印机SP的识别信息一致时(步骤SF2:是),打印输出用处理部SS4从打印队列Q读出取得了打印机的识别信息的打印数据(步骤SF6)。On the other hand, when the identification information of the printer acquired in step SF2 matches the identification information of the control printer SP (step SF2: Yes), the printout processing unit SS4 reads out the acquired printer identification information from the print queue Q. The print data of the message (step SF6).

接下来,打印输出用处理部SS4将读出的打印数据输出给打印控制部40c(步骤SF7)。Next, the print output processing unit SS4 outputs the read print data to the print control unit 40c (step SF7).

如图9(B)所示,打印控制部40c将打印数据转换成遵照控制打印机打印部41的指令体系的控制指令,并基于控制指令使控制打印机打印部41执行基于控制指令的处理(步骤SG1)。由于打印数据是收据打印数据,所以步骤SG1的处理的结果是由控制打印机SP发行收据。As shown in FIG. 9(B), the print control unit 40c converts the print data into a control command that complies with the command system of the control printer print unit 41, and based on the control command, the control printer print unit 41 executes processing based on the control command (step SG1 ). Since the print data is receipt print data, a receipt is issued by the control printer SP as a result of the processing at step SG1.

接下来,打印控制部40c将表示打印数据的处理结果的信息输出给打印输出用处理部SS4(步骤SG2)。Next, the print control unit 40c outputs information indicating the processing result of the print data to the printout processing unit SS4 (step SG2 ).

如图9(A)所示,打印输出用处理部SS4在打印数据的输出后,监视是否被输入表示处理结果的信息(步骤SF8)。As shown in FIG. 9(A), the print output processing unit SS4 monitors whether or not information indicating a processing result is input after output of the print data (step SF8 ).

在被输入表示处理结果的信息的情况下(步骤SF8:是),打印输出用处理部SS4通过中断等手段,将表示处理结果的信息输出给管理部KB(步骤SF9)。关于管理部KB对表示处理结果的信息的利用方法将后述。When the information indicating the processing result is input (step SF8: YES), the printout processing unit SS4 outputs the information indicating the processing result to the management unit KB by interruption or the like (step SF9). The method of using the information indicating the processing result by the management unit KB will be described later.

接下来,打印输出用处理部SS4将处理步骤移至步骤SF3。Next, the printout processing unit SS4 shifts the processing step to step SF3.

综上所述,打印输出用处理部SS4以包括控制打印机SP的识别信息的打印数据向打印队列Q的保存为触发而被起动。打印输出用处理部SS4在起动后针对打印队列Q中保存的打印数据中的未读出的打印数据,判别以被保存的顺序、换言之以接收到的顺序包含于打印数据的识别信息与控制打印机SP的识别信息是否一致。而且,打印输出用处理部SS4在识别信息一致的情况下,读出识别信息一致的打印数据并输出给打印控制部40c。打印控制部40c基于打印数据来进行打印。As described above, the print output processing unit SS4 is activated by saving the print data including the identification information of the control printer SP in the print queue Q as a trigger. After the print output processing unit SS4 is activated, for the unread print data among the print data stored in the print queue Q, it is determined that the identification information included in the print data in the order of being stored, in other words, in the order of being received, and the control printer. Whether the identification information of the SP is consistent. And, when the identification information matches, the printout processing unit SS4 reads out the print data whose identification information matches and outputs it to the print control unit 40c. The print control unit 40c performs printing based on the print data.

通过这样的结构,打印输出用处理部SS4针对控制打印机SP的处理对象的打印数据,能够以在打印队列Q中保存的顺序、换言之以接收到的顺序进行处理。另外,打印输出用处理部SS4在打印队列Q中没有是控制打印机SP的处理对象且未读出的打印数据的情况下停止。即,打印输出用处理部SS4在不需要进行处理的情况下停止。通过该结构,能够抑制打印输出用处理部SS4维持被不必要地起动的状态,可实现CPU等硬件资源、其他资源的有效利用。With such a configuration, the printout processing unit SS4 can process the print data to be processed by the control printer SP in the order stored in the print queue Q, in other words, in the order received. In addition, the print output processing unit SS4 stops when there is no print data that is the processing target of the control printer SP and has not been read in the print queue Q. That is, the printout processing unit SS4 stops when processing is unnecessary. With this configuration, it is possible to prevent the printing output processing unit SS4 from being unnecessarily activated, and to realize effective use of hardware resources such as a CPU and other resources.

接下来,对管理部KB的其他的处理进行说明。Next, other processing by the management unit KB will be described.

图10是表示管理部KB的动作的流程图。FIG. 10 is a flowchart showing the operation of the management unit KB.

管理部KB监视是否被输入表示处理结果的信息(步骤SH1)。The management unit KB monitors whether or not information indicating a processing result is input (step SH1).

在被输入表示处理结果的信息的情况下(步骤SH1),管理部KB基于被输入的信息,针对由任意一个接收用处理部JS保存到打印队列Q的一系列打印数据,判别基于打印数据的处理是否结束(步骤SH2)。一系列打印数据在1个接收用处理部JS接收一个打印数据并保存的情况下,意味着该一个打印数据,在1个接收用处理部JS接收多个打印数据并保存的情况下,意味着该多个打印数据。When information indicating the processing result is input (step SH1), the management unit KB judges whether a series of print data based on the print data is stored in the print queue Q by any one of the processing units JS for reception based on the input information. Whether the processing is finished (step SH2). A series of print data means that one print data is received and stored by one receiving processing unit JS, and means that one print data is received and stored by one receiving processing unit JS. the plurality of print data.

在针对任意一个一系列打印数据都没有处理结束的打印数据的情况下(步骤SH2:否),管理部KB将处理步骤返回到步骤SH1。When there is no print data for which the process has been completed for any of the series of print data (step SH2: NO), the management unit KB returns the processing procedure to step SH1.

在针对任意一个一系列打印数据有处理结束的打印数据的情况下(步骤SH2:是),管理部KB对将一系列打印数据保存到打印队列Q后的接收用处理部JS输出打印处理结束通知,该打印处理结束通知用于通知基于一系列打印数据的打印结束(步骤SH3)。If there is print data that has been processed for any one of the series of print data (step SH2: YES), the management unit KB outputs a print processing end notice to the receiving processing unit JS after storing the series of print data in the print queue Q. , the print processing end notification is used to notify the end of printing based on a series of print data (step SH3).

如在图7的步骤SA14中说明那样,接收用处理部JS以被输入打印结束通知为触发,将处理步骤返回到步骤SA1,针对对应的打印数据分发服务器SV开始打印数据的有无的询问。As described in step SA14 of FIG. 7 , the reception processing unit JS is triggered by the input of the print completion notification, returns the processing step to step SA1, and starts an inquiry of the presence or absence of print data to the corresponding print data distribution server SV.

如以上说明那样,本实施方式涉及的打印数据处理系统1具备多个打印数据分发服务器SV(打印数据分发装置)、和从多个打印数据分发服务器SV接收打印数据的控制打印机SP(信息处理装置)。As described above, the print data processing system 1 according to this embodiment includes a plurality of print data distribution servers SV (print data distribution devices), and a control printer SP (information processing device) that receives print data from the plurality of print data distribution servers SV. ).

控制打印机SP根据多个打印数据分发服务器SV,起动多个接收用处理部JS。接收用处理部JS对打印数据分发服务器SV询问打印数据的有无,当打印数据分发服务器SV存在打印数据时进行接收,将接收到的打印数据保存到共享的打印队列Q(存储区域)。The control printer SP activates a plurality of reception processing units JS based on a plurality of print data distribution servers SV. The receiving processing unit JS inquires of the print data distribution server SV about the existence of print data, receives the print data if the print data distribution server SV has the print data, and stores the received print data in the shared print queue Q (storage area).

根据该结构,接收用处理部JS能够不受其他接收用处理部JS的处理的影响,另外,不对其他接收用处理部JS的处理造成影响而独立地从对应的打印数据分发服务器SV接收打印数据,控制打印机SP能够基于连接了多个打印数据分发服务器SV的构成进行高效的打印数据的接收。According to this configuration, the receiving processing unit JS can independently receive print data from the corresponding print data distribution server SV without being affected by the processing of other receiving processing units JS and without affecting the processing of other receiving processing units JS. Therefore, the control printer SP can efficiently receive print data based on a configuration in which a plurality of print data distribution servers SV are connected.

另外,在本实施方式中,接收用处理部JS在将从打印数据分发服务器SV接收到的打印数据保存到打印队列Q时,禁止其他接收用处理部JS向打印队列Q保存打印数据。In addition, in this embodiment, when the receiving processing unit JS stores the print data received from the print data distribution server SV in the print queue Q, other receiving processing units JS are prohibited from storing the print data in the print queue Q.

根据该结构,能够防止由对应的接收用处理部JS从1个打印数据分发服务器SV接收到的打印数据、与由对应的接收用处理部JS从其他打印数据分发服务器SV接收到的打印数据以混合的状态被保存于打印队列Q的情况,另外,能够将打印数据以接收到的顺序保存到打印队列Q。According to this configuration, it is possible to prevent the print data received by the corresponding reception processing unit JS from one print data distribution server SV from being merged with the print data received by the corresponding reception processing unit JS from another print data distribution server SV. When the mixed state is stored in the print queue Q, the print data can be stored in the print queue Q in the order received.

另外,在本实施方式中,接收用处理部JS每隔规定时间便进行打印数据的询问,能够按每个接收用处理部JS设定规定时间的值。In addition, in the present embodiment, the receiving processing unit JS inquires about print data every predetermined time, and a value for the predetermined time can be set for each receiving processing unit JS.

根据该结构,能够按照越是针对分发优先等级高、被要求迅速处理的打印数据的打印数据分发服务器SV的询问,则间隔越小等的方式,根据系统的式样、需求来设定针对各打印数据分发服务器SV的询问的间隔。According to this structure, it is possible to set the data for each printout server SV according to the specifications and requirements of the system so that the inquiry from the print data distribution server SV for print data with a higher distribution priority and which is required to be processed quickly reduces the interval. Interval of inquiries from the data distribution server SV.

另外,本实施方式涉及的打印数据处理系统1具备打印数据分发服务器SV、和与至少1台打印机KP(打印设备)连接并从打印数据分发服务器SV接收包括打印机KP的识别信息的打印数据的控制打印机SP。In addition, the print data processing system 1 according to the present embodiment includes a print data distribution server SV, and a controller that is connected to at least one printer KP (printing device) and receives print data including identification information of the printer KP from the print data distribution server SV. Printer SP.

控制打印机SP具有从打印数据分发服务器SV接收打印数据并按照接收到的顺序保存于打印队列Q的接收部40a、和基于打印队列Q中保存的打印数据所含的识别信息来将与识别信息对应的输出用处理部SS起动的管理部KB。The control printer SP has a receiving unit 40a that receives print data from the print data distribution server SV and stores them in the print queue Q in the order received, and associates the print data with the identification information based on the identification information included in the print data stored in the print queue Q. The output of the management part KB activated by the processing part SS.

输出用处理部SS以接收到的顺序读出打印队列Q中保存的打印数据中的包含对应的识别信息的打印数据,并输出给对应的识别信息的打印机KP。The output processing unit SS reads the print data including the corresponding identification information among the print data stored in the print queue Q in the order received, and outputs the print data to the printer KP corresponding to the identification information.

根据该结构,输出用处理部SS针对对应的打印机KP以接收到的顺序发送打印数据,控制打印机SP在将从打印数据分发服务器SV接收到的打印数据发送给打印机KP的情况下,能够以从打印数据分发服务器SV接收的顺序进行发送。According to this configuration, the output processing unit SS transmits the print data to the corresponding printer KP in the order received, and when the printer SP is controlled to transmit the print data received from the print data distribution server SV to the printer KP, The print data distribution server SV sends them in the order they are received.

另外,在本实施方式中,管理部KB在不存在与打印数据所含的识别信息对应的输出用处理部SS的情况下重新起动输出用处理部SS,在存在的情况下不起动输出用处理部SS。In addition, in this embodiment, the management unit KB restarts the output processing unit SS if there is no output processing unit SS corresponding to the identification information included in the print data, and does not start the output processing unit if it exists. Department SS.

根据该结构,能够防止与1个打印机KP对应地重复起动多个输出用处理部SS。According to this configuration, it is possible to prevent a plurality of output processing units SS from being repeatedly activated corresponding to one printer KP.

另外,在本实施方式中,输出用处理部SS在打印队列Q中没有包括对应的识别信息且未读出的打印数据的情况下停止。In addition, in the present embodiment, the output processing unit SS stops when the print queue Q does not include the corresponding identification information and print data that has not been read out.

根据该结构,当对于1个输出用处理部SS而言,来自打印队列Q的打印数据的读出结束,不需要该1个输出用处理部SS的处理时,能够抑制针对该1个输出用处理部SS维持被不必要地起动的状态。According to this configuration, when the reading of the print data from the print queue Q is completed for one output processing unit SS and the processing of the one output processing unit SS is unnecessary, it is possible to suppress the processing of the one output processing unit SS. The processing unit SS maintains the state of being activated unnecessarily.

另外,在本实施方式中,打印数据中包含打印机KP的识别信息或者控制打印机SP的识别信息。控制打印机SP具有控制打印机打印部41(打印部)、和基于打印数据来控制打印部的打印控制部40c。In addition, in the present embodiment, the print data includes identification information of the printer KP or identification information of the control printer SP. The control printer SP has a control printer printing unit 41 (printing unit), and a print control unit 40 c that controls the printing unit based on print data.

管理部KB在由接收部40a将包括控制打印机SP的识别信息的打印数据保存到打印队列Q的情况下,将作为与控制打印机SP的识别信息对应的输出用处理部SS的打印输出用处理部SS4起动。打印输出用处理部SS4以接收到的顺序读出打印队列Q中保存的打印数据中的包含控制打印机SP的识别信息的打印数据并输出给打印控制部40c。When the management unit KB saves the print data including the identification information of the control printer SP in the print queue Q by the receiving unit 40a, the print output processing unit that is the output processing unit SS corresponding to the identification information of the control printer SP SS4 starts. The print output processing unit SS4 reads out the print data including the identification information of the control printer SP among the print data stored in the print queue Q in the order received, and outputs the print data to the print control unit 40c.

根据该结构,控制打印机SP针对自身应该处理的打印数据,能够以接收到的顺序进行处理来执行打印。According to this configuration, the print data that the control printer SP should process itself can be processed in the order received and printed.

以下,对打印数据分发装置成为能够发送打印数据的状态之后,能够尽量不产生时滞地通过信息处理装置接收打印数据的构成进行说明。Hereinafter, a configuration in which the print data can be received by the information processing device with as little time lag as possible after the print data distribution device becomes capable of transmitting the print data will be described.

图11是本实施方式涉及的打印数据处理系统101的网络图。FIG. 11 is a network diagram of the print data processing system 101 according to this embodiment.

如图11所示,打印数据处理系统101所具备的控制打印机SP与包括因特网、电话网等网络的广域网WN连接。As shown in FIG. 11 , the control printer SP included in the print data processing system 101 is connected to a wide area network WN including networks such as the Internet and a telephone network.

另外,大厅担当者被赋予的平板终端110与广域网WN连接。In addition, the tablet terminal 110 provided to the lobby person is connected to the wide area network WN.

另外,打印数据处理系统101例如可以具备一个打印数据分发服务器SV(打印数据分发装置)。打印数据分发服务器SV与广域网WN连接。In addition, the print data processing system 101 may include, for example, one print data distribution server SV (print data distribution device). The print data distribution server SV is connected to the wide area network WN.

控制打印机SP、平板终端110、以及打印数据分发服务器SV分别能够经由广域网WN相互通信。The control printer SP, the tablet terminal 110, and the print data distribution server SV are capable of communicating with each other via the wide area network WN.

如图11所示,控制打印机SP与遵照以太网(注册商标)的局域网LN连接。第一打印机KP1、第二打印机KP2、以及第三打印机KP3与局域网LN连接。控制打印机SP、第一打印机KP1、第二打印机KP2、以及第三打印机KP3分别能够经由局域网LN相互通信。As shown in FIG. 11, the control printer SP is connected to a local area network LN conforming to Ethernet (registered trademark). The first printer KP1, the second printer KP2, and the third printer KP3 are connected to the local area network LN. The control printer SP, the first printer KP1 , the second printer KP2 , and the third printer KP3 are respectively capable of communicating with each other via the local area network LN.

图12是表示打印数据分发服务器SV、平板终端110、第一POS终端PT1、以及第二POS终端PT2的功能性结构的框图。FIG. 12 is a block diagram showing the functional configurations of the print data distribution server SV, the tablet terminal 110, the first POS terminal PT1, and the second POS terminal PT2.

如图12所示,打印数据分发服务器SV具备服务器控制部120、服务器通信部121、和服务器存储部122。As shown in FIG. 12 , the print data distribution server SV includes a server control unit 120 , a server communication unit 121 , and a server storage unit 122 .

服务器控制部120具备CPU、ROM、RAM等,对打印数据分发服务器SV进行控制。The server control unit 120 includes a CPU, ROM, RAM, etc., and controls the print data distribution server SV.

服务器通信部121在服务器控制部120的控制下,按照规定的通信标准,与连接于广域网WN的其他设备进行通信。The server communication unit 121 communicates with other devices connected to the wide area network WN in accordance with a predetermined communication standard under the control of the server control unit 120 .

服务器存储部122具备非易失性存储器,对数据进行存储。服务器存储部122存储打印数据保存数据库122a。对于该数据将后述。The server storage unit 122 includes a nonvolatile memory and stores data. The server storage unit 122 stores a print data storage database 122a. This data will be described later.

平板终端110是在前面设有触摸面板131的平板型的便携计算机。The tablet terminal 110 is a tablet-type portable computer provided with a touch panel 131 on the front.

如图12所示,平板终端110具备终端控制部130、触摸面板131、终端存储部132、和终端通信部133。As shown in FIG. 12 , the tablet terminal 110 includes a terminal control unit 130 , a touch panel 131 , a terminal storage unit 132 , and a terminal communication unit 133 .

终端控制部130具备CPU、ROM、RAM等,对平板终端110进行控制。终端控制部130具有应用程序执行部130a作为功能模块。对于应用程序执行部130a的功能将后述。The terminal control unit 130 includes a CPU, ROM, RAM, etc., and controls the tablet terminal 110 . The terminal control unit 130 has an application execution unit 130a as a functional module. The function of the application execution unit 130a will be described later.

触摸面板131具备显示面板131a、和触摸传感器131b。显示面板131a具备液晶显示面板或有机EL显示面板等,在终端控制部130的控制下显示图像。触摸传感器131b被重叠配置于显示面板131a,检测用户(在本例中为大厅担当者。)的触摸操作,并输出给终端控制部130。The touch panel 131 includes a display panel 131a and a touch sensor 131b. The display panel 131 a includes a liquid crystal display panel, an organic EL display panel, or the like, and displays images under the control of the terminal control unit 130 . The touch sensor 131b is arranged superimposed on the display panel 131a, detects a touch operation by a user (in this example, a person in charge of a hall), and outputs it to the terminal control unit 130 .

终端存储部132具备非易失性存储器,对数据进行存储。The terminal storage unit 132 includes a nonvolatile memory, and stores data.

终端通信部133在终端控制部130的控制下,按照规定的通信标准,与连接于广域网WN的其他设备进行通信。The terminal communication unit 133 communicates with other devices connected to the wide area network WN in accordance with a predetermined communication standard under the control of the terminal control unit 130 .

第一POS终端PT1、以及第二POS终端PT2是具有以下功能的计算机。第一POS终端PT1、以及第二POS终端PT2具备与连接于广域网WN的其他设备进行通信的功能。另外,第一POS终端PT1、以及第二POS终端PT2具备受理与结账对应的输入,并基于输入来生成与结账相关的信息的功能。The first POS terminal PT1 and the second POS terminal PT2 are computers having the following functions. The first POS terminal PT1 and the second POS terminal PT2 have a function of communicating with other devices connected to the wide area network WN. Moreover, the 1st POS terminal PT1 and the 2nd POS terminal PT2 have the function which accepts the input corresponding to a checkout, and generates the information related to a checkout based on an input.

图13是表示控制打印机SP、第一打印机KP1、第二打印机KP2、以及第三打印机KP3的功能性结构的框图。FIG. 13 is a block diagram showing the functional configuration of the control printer SP, the first printer KP1, the second printer KP2, and the third printer KP3.

控制打印机SP、第一打印机KP1、第二打印机KP2、以及第三打印机KP3是热敏式的打印机。The control printer SP, the first printer KP1, the second printer KP2, and the third printer KP3 are thermal printers.

如图13所示,控制打印机SP具备控制打印机控制部140、控制打印机打印部141(打印部)、控制打印机存储部142、广域网通信部143、和局域网通信部144。As shown in FIG. 13 , the control printer SP includes a control printer control unit 140 , a control printer printing unit 141 (printing unit), a control printer storage unit 142 , a WAN communication unit 143 , and a LAN communication unit 144 .

控制打印机控制部140具备CPU、ROM、RAM等,对控制打印机SP进行控制。控制打印机控制部140具备接收用处理部JS、输出部140b、打印控制部140c作为功能模块。对于这些功能模块将后述。The control printer control unit 140 includes a CPU, ROM, RAM, etc., and controls the control printer SP. The control printer control unit 140 includes a reception processing unit JS, an output unit 140b, and a print control unit 140c as functional modules. These functional blocks will be described later.

控制打印机打印部141具备收容感热卷轴式纸的收容部、对被收容于收容部的感热卷轴式纸进行搬运的搬运部、在被搬运部搬运的感热卷轴式纸形成点的热敏式头、和将感热卷轴式纸切断的切断部。The control printer printing unit 141 is provided with a storage unit for accommodating heat-sensitive roll paper, a transport unit for transporting the heat-sensitive roll paper stored in the storage unit, and a heat-sensitive sensor for forming dots on the heat-sensitive roll paper transported in the transport unit. A type head, and a cutting part for cutting heat-sensitive roll paper.

控制打印机存储部142具备非易失性存储器,对数据进行存储。控制打印机存储部142存储接收打印数据识别信息表142a。对于该数据将后述。The control printer storage unit 142 includes a nonvolatile memory, and stores data. The control printer storage unit 142 stores the received print data identification information table 142a. This data will be described later.

广域网通信部143在控制打印机控制部140的控制下,按照规定的通信标准,与连接于广域网WN的其他设备进行通信。The wide area network communication unit 143 communicates with other devices connected to the wide area network WN in accordance with a predetermined communication standard under the control of the printer control unit 140 .

局域网通信部144在控制打印机控制部140的控制下,按照规定的通信标准,与连接于局域网LN的第一打印机KP1、第二打印机KP2、以及第三打印机KP3进行通信。The LAN communication unit 144 communicates with the first printer KP1 , the second printer KP2 , and the third printer KP3 connected to the local area network LN in accordance with a predetermined communication standard under the control of the printer control unit 140 .

第一打印机KP1具备第一控制部601、第一通信部611、和第一打印部621。The first printer KP1 includes a first control unit 601 , a first communication unit 611 , and a first printing unit 621 .

第一控制部601具备CPU、ROM、RAM等,对第一打印机KP1进行控制。The first control unit 601 includes a CPU, ROM, RAM, etc., and controls the first printer KP1.

第一通信部611在第一控制部601的控制下,按照规定的通信标准,与连接于局域网LN的控制打印机SP进行通信。The first communication unit 611 communicates with the control printer SP connected to the local area network LN in accordance with a predetermined communication standard under the control of the first control unit 601 .

第一打印部621具备收容感热卷轴式纸的收容部、对被收容于收容部的感热卷轴式纸进行搬运的搬运部、在被搬运部搬运的感热卷轴式纸形成点的热敏式头、和将感热卷轴式纸切断的切断部。The first printing unit 621 has a storage unit for accommodating heat-sensitive roll paper, a transport unit for transporting the heat-sensitive roll paper stored in the storage unit, and a thermal sensor for forming dots on the heat-sensitive roll paper transported in the transport unit. A type head, and a cutting part for cutting heat-sensitive roll paper.

第二打印机KP2、以及第三打印机KP3的结构与第一打印机KP1的结构相同。第二打印机KP2具备第二控制部602、第二通信部612、第二打印部622。第三打印机KP3具备第三控制部603、第三通信部613、第三打印部623。The configurations of the second printer KP2 and the third printer KP3 are the same as those of the first printer KP1. The second printer KP2 includes a second control unit 602 , a second communication unit 612 , and a second printing unit 622 . The third printer KP3 includes a third control unit 603 , a third communication unit 613 , and a third printing unit 623 .

在以下的说明中,当不区分表现第一打印机KP1、第二打印机KP2、以及第三打印机KP3时,表现为“打印机KP”。In the following description, when the first printer KP1 , the second printer KP2 , and the third printer KP3 are not distinguished, they are expressed as "printer KP".

接下来,对用户(在本例中为大厅担当者)根据顾客的结账而对第一POS终端PT1进行了与结账对应的输入的情况的第一POS终端PT1、以及打印数据分发服务器SV的动作进行说明。Next, operations of the first POS terminal PT1 and the print data distribution server SV in the case where the user (in this example, the person in charge of the hall) makes an input corresponding to the payment to the first POS terminal PT1 according to the payment made by the customer. Be explained.

第一POS终端PT1在有与结账对应的输入的情况下,基于输入来生成与结账相关的信息(以下称为“结账相关信息”)。结账相关信息包括顾客所点的饮食物的名称、单价、点餐数量、合计支付金额、找零、与税有关的信息等被打印于收据的信息。即,第一POS终端PT1进行结账,每当确定结账时便生成结账相关信息。When there is an input corresponding to payment, the first POS terminal PT1 generates payment-related information (hereinafter referred to as "payment-related information") based on the input. The checkout-related information includes information printed on the receipt, such as the name of the food and drink ordered by the customer, unit price, order quantity, total payment amount, change, tax-related information, and the like. That is, the first POS terminal PT1 performs checkout, and generates checkout-related information every time the checkout is confirmed.

接下来,第一POS终端PT1将生成的结账相关信息、以及控制打印机SP的识别信息发送给打印数据分发服务器SV。控制打印机SP的识别信息是在控制打印机SP的制造阶段分配给控制打印机SP的序列号等对控制打印机SP进行识别的信息。如上所述,在对第一POS终端PT1进行了与结账对应的输入的情况下,由控制打印机SP发行对应的收据。第一POS终端PT1在发送结账相关信息的情况下,将发行打印有结账相关信息的收据的打印机(在本例中为控制打印机SP)的识别信息与结账相关信息一同发送。发送收据的打印机的识别信息被预先登记。其中,打印数据分发服务器SV的地址、通信所使用的各种协议、所发送的数据的格式等第一POS终端PT1为了与打印数据分发服务器SV进行通信所需的信息处于被预先登记于第一POS终端PT1的状态。第一POS终端PT1与打印数据分发服务器SV之间建立遵照规定的通信标准的联系,利用联系来发送结账相关信息。Next, the first POS terminal PT1 transmits the generated billing-related information and the identification information of the control printer SP to the print data distribution server SV. The identification information of the control printer SP is information for identifying the control printer SP, such as a serial number assigned to the control printer SP at the manufacturing stage of the control printer SP. As described above, when an input corresponding to payment is made to the first POS terminal PT1, a corresponding receipt is issued by the control printer SP. The first POS terminal PT1 transmits the identification information of the printer (in this example, the control printer SP) that issues the receipt printed with the payment-related information together with the payment-related information when sending the payment-related information. The identification information of the printer that sends the receipt is registered in advance. Among them, information necessary for the first POS terminal PT1 to communicate with the print data distribution server SV, such as the address of the print data distribution server SV, various protocols used for communication, and the format of the transmitted data, is pre-registered in the first POS terminal PT1. Status of POS terminal PT1. The first POS terminal PT1 establishes a connection with the print data distribution server SV according to a prescribed communication standard, and uses the connection to transmit billing-related information.

打印数据分发服务器SV的服务器控制部120对服务器通信部121进行控制来接收结账相关信息、以及控制打印机SP的识别信息。The server control unit 120 of the print data distribution server SV controls the server communication unit 121 to receive billing-related information and control the identification information of the printer SP.

接下来,服务器控制部120基于接收到的结账相关信息、以及控制打印机SP的识别信息来生成收据打印数据(打印数据)。Next, the server control unit 120 generates receipt print data (print data) based on the received billing-related information and the identification information of the control printer SP.

收据打印数据是指示发行打印有结账相关信息的收据的XML文件。收据打印数据根据XML的协议,至少记述执行打印的打印机的识别信息、对收据打印数据进行识别的识别信息、结账相关信息、与对结账相关信息所含的信息进行打印的位置相关的信息等打印所需要的信息。服务器控制部120在生成收据打印数据时,根据规定的规则生成对收据打印数据进行识别的信息,并记述于收据打印数据。以下,将识别收据打印数据、后述的点餐传票打印数据的信息称为“打印数据识别信息”。The receipt print data is an XML file instructing the issuance of a receipt printed with billing-related information. The receipt print data is printed by describing at least identification information of a printer that performs printing, identification information for identifying the receipt print data, billing-related information, and information about a position where information included in the billing-related information is printed, based on the XML protocol. information required. When generating the receipt print data, the server control unit 120 generates information for identifying the receipt print data according to a predetermined rule, and describes it in the receipt print data. Hereinafter, the information for identifying the receipt print data and the order slip print data described later will be referred to as "print data identification information".

在生成了收据打印数据之后,服务器控制部120将生成的收据打印数据保存到服务器存储部122的打印数据保存数据库122a。After generating the receipt print data, the server control unit 120 saves the generated receipt print data in the print data storage database 122 a of the server storage unit 122 .

图14是表示打印数据保存数据库122a的数据结构的图。FIG. 14 is a diagram showing the data structure of the print data storage database 122a.

如图14所示,打印数据保存数据库122a的1件记录至少具有打印数据字段F1、打印数据识别信息字段F2、以及打印状态信息字段F3作为保存数据的字段。As shown in FIG. 14 , one record of the print data saving database 122 a has at least a print data field F1 , a print data identification information field F2 , and a print status information field F3 as fields for saving data.

打印数据字段F1是保存收据打印数据、以及后述的点餐传票打印数据的字段。The print data field F1 is a field for storing receipt print data and order slip print data described later.

打印数据识别信息字段F2是保存打印数据识别信息的字段。The print data identification information field F2 is a field for storing print data identification information.

打印状态信息字段F3是保存打印状态信息的字段。打印状态信息是表示基于对应的打印数据的打印是否结束的信息,包括表示打印结束的打印结束信息KJ(表示打印的信息)、和表示打印未结束的打印未结束信息MJ。The printing status information field F3 is a field for storing printing status information. The print status information is information indicating whether or not printing based on the corresponding print data has been completed, and includes print completed information KJ (information indicating printing) indicating that printing has completed, and print incomplete information MJ indicating that printing has not yet completed.

在生成了收据打印数据之后,服务器控制部120在打印数据分发服务器SV中生成1件记录。服务器控制部120向生成的1件记录的打印数据字段F1保存收据打印数据。服务器控制部120向生成的1件记录的打印数据识别信息字段F2保存打印数据识别信息。服务器控制部120向生成的1件记录的打印状态信息字段F3保存打印未结束信息MJ作为打印状态信息。After the receipt print data is generated, the server control unit 120 generates one record in the print data distribution server SV. The server control unit 120 stores the receipt print data in the print data field F1 of the generated single record. The server control unit 120 stores the print data identification information in the print data identification information field F2 of the generated single record. The server control unit 120 stores the print unfinished information MJ as print status information in the print status information field F3 of the generated single record.

这里,如后所述,打印数据保存数据库122a中保存的收据打印数据根据控制打印机SP的询问而被随时发送给控制打印机SP。若从打印数据分发服务器SV对控制打印机SP发送了打印数据,则由对应的规定的装置进行基于收据打印数据的打印。若基于收据打印数据的打印结束,则控制打印机SP将通知打印结束的打印结束通知数据与打印数据识别信息一同发送给打印数据分发服务器SV。若接收到打印结束通知,则服务器控制部120针对对应的记录的打印状态信息字段F3中保存的打印状态信息,从打印未结束信息MJ改写成打印结束信息KJ。即,在生成了收据打印数据之后到接收到打印结束通知数据为止,在打印状态信息字段F3中保存打印未结束信息MJ,如果接收到打印结束通知数据,则该信息被改写成打印结束信息KJ。因此,通过参照1件记录中的打印状态信息字段F3所保存的打印状态信息,能够取得基于对应的收据打印数据的打印是否结束。Here, as will be described later, the receipt print data stored in the print data storage database 122a is sent to the control printer SP at any time in response to an inquiry from the control printer SP. When the print data is sent from the print data distribution server SV to the control printer SP, the corresponding predetermined device performs printing based on the receipt print data. When printing based on the receipt print data is completed, the control printer SP transmits print completion notification data notifying the completion of printing to the print data distribution server SV together with the print data identification information. Upon receiving the print completion notification, the server control unit 120 rewrites the print status information stored in the print status information field F3 of the corresponding record from the print unfinished information MJ to the print completed information KJ. That is, after the receipt print data is generated and until the print completion notification data is received, the print unfinished information MJ is stored in the print status information field F3, and when the print completion notification data is received, the information is rewritten into the print completion information KJ . Therefore, by referring to the print status information stored in the print status information field F3 in the single record, it is possible to obtain whether printing based on the corresponding receipt print data has been completed.

这样,打印数据分发服务器SV在从第一POS终端PT1接收到结账相关信息的情况下,基于结账相关信息来生成收据打印数据并进行存储。In this way, when the print data distribution server SV receives billing-related information from the first POS terminal PT1 , it generates and stores receipt print data based on the billing-related information.

用户(在本例中为大厅担当者)根据顾客的结账而对第二POS终端PT2进行了与结账对应的输入的情况的第二POS终端PT2、以及打印数据分发服务器SV的动作也同样。The same applies to the operations of the second POS terminal PT2 and the print data distribution server SV when the user (the lobby person in this example) makes an input corresponding to the payment to the second POS terminal PT2 according to the customer's payment.

即,第二POS终端PT2根据结账而生成结账相关信息,并将生成的结账相关信息、与作为发行收据的打印机的第一打印机KP1的识别信息发送给打印数据分发服务器SV。打印数据分发服务器SV的服务器控制部120生成收据打印数据的打印数据识别信息,并基于生成的打印数据识别信息、以及接收到的结账相关信息、第一打印机KP1的识别信息来生成收据打印数据。服务器控制部120在打印数据保存数据库122a中生成1件记录,将生成的收据打印数据、打印数据识别信息、以及打印未结束信息MJ分别保存到对应的字段。That is, the second POS terminal PT2 generates billing-related information according to billing, and sends the generated billing-related information and the identification information of the first printer KP1 that issues a receipt to the print data distribution server SV. The server control unit 120 of the print data distribution server SV generates print data identification information of the receipt print data, and generates receipt print data based on the generated print data identification information, received billing-related information, and identification information of the first printer KP1. The server control unit 120 creates one record in the print data storage database 122a, and stores the generated receipt print data, print data identification information, and print unfinished information MJ in corresponding fields.

其中,关于服务器存储部122中存储的收据打印数据的利用方法将后述。Here, the method of using the receipt print data stored in the server storage unit 122 will be described later.

接下来,对用户(在本例中为大厅担当者)对平板终端110进行了与顾客的点餐对应的输入的情况的平板终端110、以及打印数据分发服务器SV的动作进行说明。Next, operations of tablet terminal 110 and print data distribution server SV will be described when the user (in this example, a lobby person) inputs an input corresponding to a customer's order into tablet terminal 110 .

在本实施方式中,对多个大厅担当者赋予多个平板终端110。平板终端110中预先安装有专用的应用程序AP。大厅担当者在倾听顾客点餐之前,将应用程序AP起动。In this embodiment, a plurality of tablet terminals 110 are assigned to a plurality of lobby operators. A dedicated application program AP is pre-installed in the tablet terminal 110 . The person in charge of the lobby activates the application program AP before listening to the customer's order.

平板终端110的终端控制部130的应用程序执行部130a是通过CPU等硬件资源读出应用程序AP并执行,来实现其功能的功能模块。The application execution unit 130a of the terminal control unit 130 of the tablet terminal 110 is a functional module that reads and executes the application program AP by hardware resources such as a CPU, thereby realizing its function.

平板终端110的终端控制部130的应用程序执行部130a将用户进行与点餐对应的输入的用户接口(以下称为“点餐UI”)显示于显示面板131a。点餐UI设有选择顾客所点的饮食物的区域、选择所点的饮食物的数量的区域,用户能够对触摸面板31进行触摸操作,来输入顾客所点的饮食物、以及数量。The application execution unit 130a of the terminal control unit 130 of the tablet terminal 110 displays a user interface (hereinafter referred to as "order UI") for the user to make an input corresponding to ordering on the display panel 131a. The order UI includes an area for selecting the food and drink ordered by the customer and an area for selecting the quantity of the food and drink ordered by the customer. The user can touch the touch panel 31 to input the food and drink ordered by the customer and the quantity.

在点餐UI有与点餐对应的输入的情况下,应用程序执行部130a基于输入来生成与点餐相关的信息(以下称为“点餐相关信息”)。点餐相关信息至少包括针对顾客所点的1个或者多个饮食物表示饮食物的名称的信息、点餐数量。When there is an input corresponding to the order in the order UI, the application execution unit 130a generates information related to the order (hereinafter referred to as "order-related information") based on the input. The order-related information includes at least information indicating the name of one or more food and drink ordered by the customer, and the number of food ordered.

接下来,应用程序执行部130a将基于生成的点餐相关信息、以及点餐相关信息来发行点餐传票的打印机的识别信息发送给打印数据分发服务器SV。Next, the application program execution unit 130a transmits the generated order-related information and the identification information of the printer that issued the order slip to the print data distribution server SV based on the generated order-related information.

这里,应用程序执行部130a基于点餐相关信息的内容,来决定使第二打印机KP2、以及第三打印机KP3中的哪一个发行点餐传票。应用程序执行部130a将所决定的打印机的识别信息与点餐相关信息一同进行发送。此外,也可以是按每个平板终端110预先决定了发行点餐传票的打印机的结构,另外,还可以是由规定的单元取得打印机的状态,根据打印机的状态来决定发行点餐传票的打印机的结构。Here, the application execution unit 130a determines which of the second printer KP2 and the third printer KP3 is to issue the order slip based on the content of the order-related information. The application execution unit 130a transmits the determined identification information of the printer together with the order-related information. In addition, a printer that issues order vouchers may be predetermined for each tablet terminal 110, and a printer that issues order vouchers may be determined in accordance with the state of the printer by a predetermined unit. structure.

打印数据分发服务器SV的服务器控制部120对服务器通信部121进行控制,来接收平板终端110发送了的点餐相关信息、以及打印机的识别信息。The server control unit 120 of the print data distribution server SV controls the server communication unit 121 to receive order-related information and printer identification information transmitted from the tablet terminal 110 .

接下来,服务器控制部120基于接收到的点餐相关信息、以及打印机的识别信息来生成点餐传票打印数据(打印数据)。Next, the server control unit 120 generates order slip print data (print data) based on the received order-related information and the identification information of the printer.

点餐传票打印数据是指示发行打印有点餐相关信息的点餐传票的XML文件。点餐传票打印数据根据XML的协议,记述发行点餐传票的打印机的识别信息、点餐传票打印数据的打印数据识别信息、点餐相关信息、与对点餐相关信息所含的信息进行打印的位置相关的信息、以及其他打印所需要的信息。服务器控制部120在生成点餐传票打印数据时,生成对该数据进行识别的打印数据识别信息。The order voucher printing data is an XML file that instructs the issuance of an order voucher for printing order-related information. The order slip print data describes the identification information of the printer that issued the order slip, the print data identification information of the order slip print data, the order-related information, and the information included in the order-related information according to the XML protocol. Location-related information, and other information required for printing. When generating the order slip print data, the server control unit 120 generates print data identification information for identifying the data.

接下来,服务器控制部120在打印数据保存数据库122a中生成1件记录,将点餐传票打印数据、打印数据识别信息、以及打印未结束信息MJ分别保存到对应的字段。Next, the server control unit 120 creates one record in the print data storage database 122a, and stores the order slip print data, print data identification information, and print unfinished information MJ in corresponding fields.

这样,打印数据分发服务器SV在从平板终端110接收到点餐相关信息的情况,基于点餐相关信息来生成点餐传票打印数据并进行存储。In this way, when the print data distribution server SV receives order-related information from the tablet terminal 110 , it generates and stores order slip print data based on the order-related information.

在以下的说明中,当不区分收据打印数据、以及点餐传票打印数据进行表现时,表现为“打印数据”。打印数据是XML文件。In the following description, when the receipt print data and the order slip print data are expressed without distinguishing, they are expressed as "print data". The print data is an XML file.

接下来,对控制打印机SP的控制打印机控制部140所具备的功能模块详细进行说明。Next, the functional blocks included in the printer control unit 140 that controls the printer SP will be described in detail.

图15是详细地表示控制打印机控制部140的结构的图。FIG. 15 is a diagram showing in detail the configuration of the control printer control unit 140 .

如图15所示,控制打印机控制部140具备接收部140a、输出部140b、和打印控制部140c作为功能模块。As shown in FIG. 15, the printer control unit 140 includes a reception unit 140a, an output unit 140b, and a print control unit 140c as functional blocks.

在本实施方式中,控制打印机SP在电源接通或因复位而被起动时,作为任务(也可以是线程或者进程。),起动通信处理任务。而且,接收部140a是进行基于CPU对通信处理任务的执行的处理的功能模块,具有接收用处理部JS。In this embodiment, the control printer SP activates a communication processing task as a task (it may be a thread or a process) when the power is turned on or activated by reset. Furthermore, the receiving unit 140a is a functional block that performs processing based on the execution of the communication processing task by the CPU, and includes a receiving processing unit JS.

如图15所示,输出部140b具备管理部KB、第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3、打印输出用处理部SS4。As shown in FIG. 15 , the output unit 140 b includes a management unit KB, a first output processing unit SS1 , a second output processing unit SS2 , a third output processing unit SS3 , and a print output processing unit SS4 .

管理部KB是与控制打印机SP被起动时起动的管理任务对应的功能模块。即,管理部KB进行基于CPU对管理任务的执行的处理。如后所述,管理部KB在规定的条件成立的情况下,作为任务(也可以是线程或者进程。),起动第一输出用任务、第二输出用任务、第三输出用任务或者打印输出用任务。而且,第一输出用处理部SS1是进行基于CPU对第一输出用任务的执行的处理的功能模块。另外,第二输出用处理部SS2是进行基于CPU对第二输出用任务的执行的处理的功能模块。另外,第三输出用处理部SS3是进行基于CPU对第三输出用任务的执行的处理的功能模块。另外,打印输出用处理部SS4是进行基于CPU对打印输出用任务的执行的处理的功能模块。关于管理部KB、第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3、以及打印输出用处理部SS4执行的处理将后述。The management unit KB is a functional block corresponding to a management task that is activated when the printer SP is activated. That is, the management unit KB performs processing based on execution of the management task by the CPU. As will be described later, the management unit KB activates a first output task, a second output task, a third output task, or a print output as a task (it may be a thread or a process) when a predetermined condition is satisfied. Use tasks. Furthermore, the first output processing unit SS1 is a functional block that performs processing based on the CPU's execution of the first output task. In addition, the second output processing unit SS2 is a functional block that performs processing based on the CPU's execution of the second output task. In addition, the third output processing unit SS3 is a functional block that performs processing based on the CPU's execution of the third output task. In addition, the printout processing unit SS4 is a functional block that performs processing based on the execution of the printout job by the CPU. The processing performed by the management unit KB, the first output processing unit SS1 , the second output processing unit SS2 , the third output processing unit SS3 , and the print output processing unit SS4 will be described later.

以下,在不区分第一输出用处理部SS1、第二输出用处理部SS2、以及第三输出用处理部SS3的情况下表现为“发送处理部S”。另外,在不区分第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3、以及打印输出用处理部SS4的情况下表现为“输出用处理部SS”。Hereinafter, when the 1st output processing part SS1, the 2nd output processing part SS2, and the 3rd output processing part SS3 are not distinguished, it expresses as "transmission processing part S." In addition, when not distinguishing the 1st output processing part SS1, the 2nd output processing part SS2, the 3rd output processing part SS3, and the printing output processing part SS4, it expresses "the output processing part SS."

接收用处理部JS、以及输出部140b所具备的功能模块能够对打印队列Q(存储区域)写入数据,另外,能够读出被写入到打印队列Q的数据。The functional modules included in the reception processing unit JS and the output unit 140b can write data into the print queue Q (storage area) and can read data written into the print queue Q. FIG.

打印队列Q是在RAM等暂时存储区域的工作区域形成的缓冲器。The print queue Q is a buffer formed in a work area of a temporary storage area such as RAM.

打印控制部140c在后述的规定的情况下被输入打印数据。打印控制部140c将被输入的打印数据(XML文件)转换成遵照控制打印机打印部141的指令体系的控制指令,并基于控制指令来使控制打印机打印部141执行处理。Print data is input to the print control unit 140c in a predetermined case described later. The print control unit 140c converts input print data (XML file) into control commands conforming to the command system of the control printer print unit 141, and causes the control printer print unit 141 to execute processing based on the control commands.

接下来,对控制打印机SP的设定进行说明。Next, the settings for controlling the printer SP will be described.

如上所述,在控制打印机SP起动时接收用处理部JS起动。在本实施方式中,是能够从安装有浏览器的装置经由广域网WN对控制打印机SP进行访问,来进行与接收用处理部JS相关的设定的结构。As described above, the reception processing unit JS is activated when the activation of the printer SP is controlled. In the present embodiment, a browser-installed device can access the control printer SP via the wide area network WN to perform settings related to the reception processing unit JS.

在本实施方式中,处于在控制打印机SP中安装有网络服务器软件(例如,ApacheHTTP Server)的状态。控制打印机SP具有根据来自客户端的请求,生成遵照HTTP等规定的协议的显示数据并进行发送的网络服务器的功能。In this embodiment, the control printer SP is in a state where web server software (for example, Apache HTTP Server) is installed. The control printer SP has the function of a web server that generates and transmits display data conforming to a predetermined protocol such as HTTP based on a request from a client.

在本实施方式中,处于在平板终端110中安装了浏览器的状态。以下,以从平板终端110访问控制打印机SP来进行接收用处理部JS的设定的情况为例进行说明。In this embodiment, the browser is installed on the tablet terminal 110 . Hereinafter, a case where the printer SP is accessed and controlled from the tablet terminal 110 to set the reception processing unit JS will be described as an example.

用户起动平板终端110的浏览器,对控制打印机SP所管理的规定的URL进行访问。根据对规定的URL的访问,控制打印机SP的控制打印机控制部140生成对接收用处理部JS的设定用的用户接口(以下称为“设定UI”)进行显示的显示文件并进行发送。平板终端110的终端控制部130基于接收到的显示文件来将设定UI显示于显示面板31a。The user starts the browser of the tablet terminal 110 and accesses a predetermined URL managed by the control printer SP. In response to access to a predetermined URL, the control printer control unit 140 of the control printer SP creates and transmits a display file for displaying a setting user interface (hereinafter referred to as “setting UI”) of the reception processing unit JS. The terminal control unit 130 of the tablet terminal 110 displays the setting UI on the display panel 31 a based on the received display file.

图16是表示设定UI的一个例子的图。FIG. 16 is a diagram showing an example of a setting UI.

如图16所示,设定UI具有输入打印数据分发服务器SV的URL的URL输入栏RA1。如后所述,接收用处理部JS向打印数据分发服务器SV询问打印数据的有无,对URL输入栏RA1输入进行询问的服务器的URL。As shown in FIG. 16 , the setting UI has a URL input field RA1 for inputting the URL of the print data distribution server SV. As will be described later, the reception processing unit JS inquires of the print data distribution server SV about the presence or absence of print data, and inputs the URL of the inquiring server into the URL input column RA1.

另外,设定UI具有处理选择用单选按钮RA2。处理选择用单选按钮R2是选择非同步处理(第一处理)、以及同步处理(第二处理)中的使接收用处理部JS执行的处理的单选按钮。关于非同步处理、以及同步处理将后述。用户对与非同步处理对应的按钮、以及与同步处理对应的按钮中的任意一个按钮进行点选,来选择非同步处理、以及同步处理中的使接收用处理部JS执行的1个处理。In addition, the setting UI has radio buttons RA2 for process selection. The radio button R2 for process selection is a radio button for selecting the process to be executed by the processing unit JS for reception among the asynchronous process (first process) and the synchronous process (second process). Asynchronous processing and synchronous processing will be described later. The user clicks any one of the button corresponding to the asynchronous processing and the button corresponding to the synchronous processing to select one of the asynchronous processing and the synchronous processing to be executed by the receiving processing unit JS.

另外,设定UI具有非同步处理时间隔输入栏RA3。非同步处理时间隔输入栏RA3是在接收用处理部JS执行非同步处理的情况下,设定对打印数据分发服务器SV进行打印数据的有无的询问时的间隔的栏。如后所述,接收用处理部JS在执行非同步处理的情况下,每隔规定时间便进行打印数据的有无的询问。非同步处理时间隔输入栏RA3被输入该规定时间的值。In addition, the setting UI has an asynchronous processing time interval input field RA3. The asynchronous processing time interval input field RA3 is a field for setting the interval when the print data distribution server SV is inquired about the presence or absence of print data when the receiving processing unit JS executes the asynchronous processing. As will be described later, when the processing unit JS for reception executes asynchronous processing, it inquires about the presence or absence of print data at predetermined intervals. In the asynchronous processing time interval input column RA3, a value of the predetermined time is input.

另外,设定UI具有间隔自动调整设定栏RA4。在间隔自动调整设定栏RA4中,通过单选按钮来设定是使后述的间隔自动调整处理的执行有效还是无效。In addition, the setting UI has an interval automatic adjustment setting field RA4. In the interval automatic adjustment setting field RA4 , whether to enable or disable the execution of the interval automatic adjustment process described later is set by radio buttons.

另外,设定UI具有同步处理时间隔输入栏RA5。同步处理时间隔输入栏RA5是在接收用处理部JS执行同步处理的情况下,设定对打印数据分发服务器SV进行打印数据的有无的询问时的间隔的栏。如后所述,接收用处理部JS在执行同步处理的情况下,在除了规定的期间以外的期间,每隔规定时间便进行打印数据的有无的询问。同步处理时间隔输入栏RA5被输入规定时间的值。In addition, the setting UI has a synchronization processing time interval input column RA5. The synchronization processing time interval input column RA5 is a column for setting the interval when the print data distribution server SV is inquired about the presence or absence of print data when the reception processing unit JS executes the synchronization process. As will be described later, when the processing unit JS for reception executes the synchronization process, it inquires about the presence or absence of print data every predetermined period of time other than the predetermined period. In the synchronization processing time interval input column RA5, a value of a predetermined time is input.

另外,设定UI具有应用按钮B1。In addition, the setting UI has an apply button B1.

在应用按钮B1被选择的情况下,确定向设定UI的输入,所输入的信息被发送给控制打印机SP。When the apply button B1 is selected, input to the setting UI is confirmed, and the input information is sent to the control printer SP.

控制打印机SP的控制打印机控制部140将接收到的信息写入设定文件、程序的变量等,反映基于输入的设定。The control printer control unit 140 that controls the printer SP writes the received information into a setting file, program variables, etc., and reflects the settings based on the input.

接下来,对控制打印机SP的动作详细进行说明。Next, the operation of controlling the printer SP will be described in detail.

首先,对执行非同步处理(第一处理)的情况的控制打印机SP的动作进行说明。如上所述,接收用处理部JS能够执行非同步处理(第一处理)、和同步处理(第二处理)这两个处理,用户使用设定UI,能够选择使接收用处理部JS执行哪一个处理。First, the operation of controlling the printer SP when performing asynchronous processing (first processing) will be described. As described above, the receiving processing unit JS can execute both asynchronous processing (first processing) and synchronous processing (second processing), and the user can select which one is to be executed by the receiving processing unit JS using the setting UI. deal with.

图17是表示执行非同步处理的情况的控制打印机SP的动作的流程图。FIG. 17 is a flowchart showing the operation of controlling the printer SP when performing asynchronous processing.

如图17所示,在执行非同步处理的情况下,接收用处理部JS监视是否到了针对打印数据分发服务器SV询问打印数据的有无的定时(步骤SAA1)。在非同步处理中,与基于已经接收到的打印数据的处理的状态无关,接收用处理部JS以设定UI的非同步处理时间隔输入栏RA3中被输入的间隔或者通过后述的间隔自动调整处理调整后的间隔,定期地对打印数据分发服务器SV询问打印数据的有无。以下,在进行非同步处理的情况下,将询问打印数据的有无的间隔称为“第一间隔”。在步骤SAA1中,接收用处理部JS监视从上次进行询问起是否经过了与第一间隔对应的时间,在经过了的情况下,判别为到了询问打印数据的有无的定时。As shown in FIG. 17 , when performing asynchronous processing, the reception processing unit JS monitors whether or not it is time to inquire about the presence or absence of print data to the print data distribution server SV (step SAA1 ). In the asynchronous processing, irrespective of the state of the processing based on the print data that has already been received, the processing unit JS for receiving uses the interval entered in the asynchronous processing time interval input column RA3 of the setting UI or automatically at the interval described later. The adjustment process periodically inquires of the print data distribution server SV about the presence or absence of print data at adjusted intervals. Hereinafter, when asynchronous processing is performed, the interval for inquiring about the presence or absence of print data is referred to as a "first interval". In step SAA1, the reception processing unit JS monitors whether or not the time corresponding to the first interval has elapsed since the previous inquiry, and when it has elapsed, determines that it is time to inquire about the presence or absence of print data.

在到了询问打印数据的有无的定时的情况下(步骤SAA1:是),接收用处理部JS生成询问打印数据的有无的数据,对广域网通信部143进行控制来将该数据发送给打印数据分发服务器SV(步骤SAA2)。When it is time to inquire about the presence or absence of print data (step SAA1: Yes), the receiving processing unit JS generates data for inquiring about the presence or absence of print data, and controls the WAN communication unit 143 to transmit the data to the print data. Distribution server SV (step SAA2).

如上所述,对URL输入栏RA1输入的URL(在本例中为打印数据分发服务器SV的URL)被写入设定文件等,接收用处理部JS对该URL进行管理。在步骤SAA2中,接收用处理部JS基于所管理的URL来访问打印数据分发服务器SV,按照规定的通信标准建立联系,并利用联系来发送数据。As described above, the URL input into the URL input field RA1 (in this example, the URL of the print data distribution server SV) is written into the configuration file and the like, and the reception processing unit JS manages the URL. In step SAA2, the reception processing unit JS accesses the print data distribution server SV based on the managed URL, establishes a connection according to a predetermined communication standard, and transmits data using the connection.

在询问了打印数据的有无之后,接收用处理部JS将处理步骤返回到步骤SAA1,监视是否到了询问打印数据的有无的定时。After inquiring about the presence or absence of print data, the reception processing unit JS returns the processing step to step SAA1, and monitors whether or not it is time to inquire about the presence or absence of print data.

这样,在进行非同步处理的情况下,与基于接收到的打印数据的处理的状况无关,接收用处理部JS以第一间隔对打印数据分发服务器SV询问打印数据的有无。通过这样的结构,控制打印机SP能够与基于打印数据的处理的状况无关地询问打印数据的有无。因此,能够缩短在打印数据分发装置成为能够发送打印数据之后到控制打印机SP接收打印数据为止所产生的时间。In this way, when asynchronous processing is performed, the reception processing unit JS inquires of the print data distribution server SV for the presence or absence of print data at first intervals regardless of the status of processing based on the received print data. With such a configuration, the control printer SP can inquire about the presence or absence of print data regardless of the status of processing based on the print data. Therefore, it is possible to shorten the time required for the control printer SP to receive the print data after the print data distribution device becomes capable of sending the print data.

图18是表示在执行非同步处理的情况下,接收用处理部JS进行了打印数据的有无的询问后的控制打印机SP、以及打印数据分发服务器SV的动作的流程图。图18(A)表示控制打印机SP的动作,图18(B)表示打印数据分发服务器SV的动作。18 is a flowchart showing the operations of the control printer SP and the print data distribution server SV after the receiving processing unit JS inquires about the presence or absence of print data when performing asynchronous processing. FIG. 18(A) shows the operation of the control printer SP, and FIG. 18(B) shows the operation of the print data distribution server SV.

如图18(A)所示,控制打印机SP的控制打印机控制部140的接收用处理部JS生成询问打印数据的有无的数据,对广域网通信部143进行控制来将该数据发送给打印数据分发服务器SV(步骤SBA1)。如上所述,控制打印机控制部140与打印数据分发服务器SV之间按照规定的通信标准建立联系,利用所建立的联系来发送数据。As shown in FIG. 18(A), the reception processing unit JS of the control printer control unit 140 of the control printer SP generates data for inquiring about the presence or absence of print data, and controls the wide area network communication unit 143 to send the data to the print data distribution server. Server SV (step SBA1). As described above, the control printer control unit 140 establishes a connection with the print data distribution server SV according to a predetermined communication standard, and transmits data using the established connection.

如图18(B)所示,打印数据分发服务器SV的服务器控制部120对服务器通信部121进行控制来接收数据(步骤SCA1)。As shown in FIG. 18(B), the server control unit 120 of the print data distribution server SV controls the server communication unit 121 to receive data (step SCA1 ).

接下来,服务器控制部120参照打印数据保存数据库122a,判别有无能够发送的打印数据(步骤SCA2)。Next, the server control unit 120 refers to the print data storage database 122a, and determines whether there is print data that can be sent (step SCA2).

详细而言,如上所述,打印数据保存数据库122a的各记录具有打印状态信息字段F3。在步骤SCA2中,在即便存在1件打印状态信息字段F3中保存有打印未结束信息MJ的记录的情况下,服务器控制部120都判别为有“能够发送的打印数据”。在步骤SCA2中,服务器控制部120在该记录1件都没有的情况下,判别为没有“能够发送的打印数据”。In detail, as described above, each record of the print data storage database 122a has the print status information field F3. In step SCA2 , the server control unit 120 determines that there is “print data that can be sent” even if there is even one record in which the print unfinished information MJ is stored in the print status information field F3. In step SCA2 , the server control unit 120 determines that there is no "transmittable print data" when there is no such record.

接下来,服务器控制部120基于判别结果,对服务器通信部121进行控制,利用在步骤SBA1中建立的联系来发送包括对能够发送的打印数据的有无进行表示的信息的数据(步骤SCA3)。Next, based on the determination result, the server control unit 120 controls the server communication unit 121 to transmit data including information indicating the presence or absence of transmittable print data using the connection established in step SBA1 (step SCA3 ).

如图18(A)所示,控制打印机SP的接收用处理部JS对广域网通信部143进行控制,来接收打印数据分发服务器SV发送了的数据(步骤SBA2)。As shown in FIG. 18(A), the reception processing unit JS controlling the printer SP controls the WAN communication unit 143 to receive data transmitted from the print data distribution server SV (step SBA2 ).

接下来,接收用处理部JS基于接收到的数据,来判别打印数据分发服务器SV中有还是没有能够发送的打印数据(步骤SBA3)。Next, the reception processing unit JS determines whether there is print data that can be transmitted in the print data distribution server SV based on the received data (step SBA3 ).

在没有打印数据的情况下(=接收到的数据包括表示没有能够发送的打印数据的信息的情况下)(步骤SBA3:否),接收用处理部JS结束处理。If there is no print data (=when the received data includes information indicating that there is no print data that can be transmitted) (step SBA3: NO), the reception processing unit JS ends the processing.

在有打印数据的情况下(=接收到的数据包括表示有能够发送的打印数据的信息的情况下)(步骤SBA3:是),接收用处理部JS利用所建立的联系,来发送对打印数据的发送进行请求的数据(步骤SBA4)。When there is print data (=when the received data includes information indicating that there is print data that can be sent) (step SBA3: Yes), the reception processing unit JS uses the established connection to send the print data Send the requested data (step SBA4).

如图18(B)所示,打印数据分发服务器SV的服务器控制部120对服务器通信部121进行控制,来接收控制打印机SP发送了的数据(步骤SCA4)。As shown in FIG. 18(B), the server control unit 120 of the print data distribution server SV controls the server communication unit 121 to receive the data transmitted by the control printer SP (step SCA4 ).

接下来,服务器控制部120利用所建立的联系,来发送在打印数据保存数据库122a中与打印未结束信息MJ建立了对应的打印数据(=能够发送的打印数据)(步骤SCA5)。与打印未结束信息MJ建立了对应的打印数据是在生成了打印数据之后,未接收到对基于打印数据的打印结束进行通知的打印结束通知数据的数据。在与打印未结束信息MJ建立了对应的打印数据有多个的情况下,服务器控制部120依次发送多个打印数据。Next, the server control unit 120 transmits the print data (=transmittable print data) associated with the print unfinished information MJ in the print data storage database 122a using the established association (step SCA5 ). The print data associated with the print unfinished information MJ is data for which the print completion notification data for notifying the completion of printing based on the print data has not been received after the print data has been generated. When there is a plurality of print data associated with the print unfinished information MJ, the server control unit 120 sequentially transmits the plurality of print data.

如图18(A)所示,根据打印数据分发服务器SV对打印数据的发送,控制打印机SP的接收用处理部JS开始打印数据的接收(步骤SBA5)。接收用处理部JS在接收打印数据的过程中,将接收到的数据依次保存到在RAM等工作区域中形成的接收缓冲器。As shown in FIG. 18(A), upon transmission of the print data from the print data distribution server SV, the receiving processing unit JS of the printer SP is controlled to start receiving the print data (step SBA5). The reception processing unit JS sequentially stores the received data in a reception buffer formed in a work area such as RAM while receiving print data.

在开始了打印数据的接收之后,接收用处理部JS监视打印数据的接收是否结束(步骤SBA6)。在所接收的打印数据有多个的情况下,在步骤SBA6中,接收用处理部JS针对多个打印数据的全部监视接收是否结束。After the reception of the print data starts, the reception processing unit JS monitors whether the reception of the print data is completed (step SBA6 ). When a plurality of print data has been received, in step SBA6 , the reception processing unit JS monitors whether reception of all the plurality of print data has been completed.

在打印数据的接收结束的情况下(步骤SBA6:是),接收用处理部JS进行比较处理(步骤SBA7)。以下,对比较处理进行详述。接收用处理部JS参照接收缓冲器中保存的打印数据的内容,取得打印数据中记述的打印数据识别信息。接收用处理部JS在接收到多个打印数据的情况下,取得多个打印数据各自的打印数据识别信息。When the reception of the print data is completed (step SBA6: YES), the reception processing unit JS performs comparison processing (step SBA7). Hereinafter, the comparison processing will be described in detail. The reception processing unit JS refers to the content of the print data stored in the reception buffer, and acquires the print data identification information described in the print data. When receiving a plurality of print data, the reception processing unit JS acquires the print data identification information of each of the plurality of print data.

接下来,接收用处理部JS参照控制打印机存储部142所存储的接收打印数据识别信息表142a。接收打印数据识别信息表142a是将接收结束并进行了向打印队列Q的写入的打印数据的打印数据识别信息累积存储的表。如后所述,在将打印数据保存到打印队列Q的情况下,接收用处理部JS将所保存的打印数据的打印数据识别信息写入接收打印数据识别信息表142a。Next, the reception processing unit JS refers to the received print data identification information table 142 a stored in the control printer storage unit 142 . The received print data identification information table 142 a is a table that accumulates and stores print data identification information of print data that has been received and written to the print queue Q. As will be described later, when storing the print data in the print queue Q, the reception processing unit JS writes the print data identification information of the stored print data into the received print data identification information table 142a.

接下来,接收用处理部JS判别接收打印数据识别信息表142a中是否被写入与所取得的打印数据识别信息的值相同的值的打印数据识别信息。在接收打印数据识别信息表142a中被写入了与所取得的打印数据识别信息的值相同的值的打印数据识别信息的情况下,处于相同的打印数据已被接收并保存到打印队列Q的状态。Next, the reception processing unit JS judges whether or not the print data identification information having the same value as the acquired print data identification information is written in the received print data identification information table 142a. When the print data identification information having the same value as the acquired print data identification information is written in the received print data identification information table 142a, the same print data has been received and stored in the print queue Q. state.

接收用处理部JS在接收到多个打印数据的情况下,针对多个打印数据的打印数据识别信息分别进行与被写入到接收打印数据识别信息表142a的打印数据识别信息的比较。When receiving a plurality of print data, the reception processing unit JS compares the print data identification information of the plurality of print data with the print data identification information written in the received print data identification information table 142a.

在以上说明了的步骤SBA7的比较处理中,接收用处理部JS判别从打印数据分发服务器SV新接收到的打印数据与已从该服务器接收到的打印数据是否相同。可能产生从打印数据分发服务器SV多次接收相同数据的情况的理由如下所述。如图23所示,在打印数据分发服务器SV所存储的打印数据保存数据库122a中,将生成的打印数据、与表示基于打印数据的打印是否结束的打印状态信息(打印未结束信息MJ或者打印结束信息KJ)建立对应进行存储。而且,如在步骤SCA5中说明那样,打印数据分发服务器SV在服务器控制部120接受了打印数据的有无的询问的情况下,发送在打印数据保存数据库122a中与打印未结束信息MJ建立了对应的打印数据。通过这样的结构,在打印数据分发服务器SV发送了1个打印数据之后、与该1个打印数据建立了对应的打印未结束信息MJ被改写为打印结束信息KJ之前,当从控制打印机SP有打印数据的有无的询问时,打印数据分发服务器SV发送该1个打印数据。基于这样的理由,可能产生控制打印机SP从打印数据分发服务器SV多次接收相同数据的情况。In the comparison processing in step SBA7 described above, the reception processing unit JS determines whether the print data newly received from the print data distribution server SV is the same as the print data already received from the server. The reason why the same data may be received multiple times from the print data distribution server SV is as follows. As shown in FIG. 23, in the print data storage database 122a stored in the print data distribution server SV, the generated print data and print status information indicating whether printing based on the print data is completed (print unfinished information MJ or print completed Information (KJ) establishes correspondence and stores. Then, as described in step SCA5 , when the server control unit 120 receives an inquiry about the presence or absence of print data, the print data distribution server SV transmits a message associated with the print unfinished information MJ in the print data storage database 122 a. of print data. With such a configuration, after the print data distribution server SV transmits one print data and before the print unfinished information MJ associated with the one print data is rewritten into the print complete information KJ, when there is printing from the control printer SP When inquiring about the presence or absence of data, the print data distribution server SV transmits the one print data. For such a reason, it may happen that the printer SP is controlled to receive the same data from the print data distribution server SV multiple times.

此外,在打印数据保存数据库122a中,也能够将打印数据、与表示发送是否结束的信息建立对应存储,打印数据分发服务器SV基于该信息来选择所发送的打印数据。然而,该情况下,与本实施方式相比,打印数据保存数据库122a的数据量变多,并且,打印数据分发服务器SV应该执行的处理变多。特别是该信息在后述的同步处理(第二处理)中是不必要的信息。因此,如后述说明那样,在鉴于能够将控制打印机SP执行的处理切换成非同步处理和同步处理的情况下,通过在打印数据保存数据库122a中不将该信息对应存储,实现数据量的增大的抑制、处理负荷的减轻的优点较大。In addition, in the print data storage database 122a, the print data and information indicating whether the transmission has been completed can also be stored in association, and the print data distribution server SV selects the print data to be transmitted based on this information. However, in this case, the amount of data in the print data storage database 122a increases compared with the present embodiment, and the number of processes to be executed by the print data distribution server SV increases. In particular, this information is unnecessary information in the synchronization processing (second processing) described later. Therefore, as will be described later, in view of the fact that the processing executed by the control printer SP can be switched between asynchronous processing and synchronous processing, by not correspondingly storing this information in the print data storage database 122a, the amount of data can be increased. The advantages of large suppression and reduction of processing load are large.

接下来,接收用处理部JS在接收到的1个或者多个打印数据中有与被写入到接收打印数据识别信息表142a的打印数据识别信息的值相同的值的打印数据识别信息的打印数据的情况下,废弃该打印数据(步骤SBA8)。废弃是指不对打印队列Q进行写入。通过该步骤SBA8的处理,即使在控制打印机SP多次接收到相同的打印数据的情况下,最初接收到的打印数据以外的打印数据也不被写入打印队列Q,因此,未被处理。Next, the reception processing unit JS prints the print data identification information having the same value as the print data identification information written in the received print data identification information table 142a among one or more received print data. In the case of print data, the print data is discarded (step SBA8). Discarding means not writing to the print queue Q. Even if the control printer SP receives the same print data multiple times through the process of step SBA8 , print data other than the first received print data is not written into the print queue Q, and thus is not processed.

接下来,接收用处理部JS在接收到的1个或者多个打印数据中有打印数据识别信息的值与被写入到接收打印数据识别信息表142a的打印数据识别信息的值不一致的打印数据的情况下,进行以下的处理。即,接收用处理部JS将该打印数据写入打印队列Q(步骤SBA9)。Next, among the received one or more print data, there is print data whose value of the print data identification information does not match the value of the print data identification information written in the received print data identification information table 142a. In the case of , perform the following processing. That is, the reception processing unit JS writes the print data into the print queue Q (step SBA9 ).

接下来,接收用处理部JS在有写入到打印队列Q的打印数据的情况下,将该打印数据的打印数据识别信息写入接收打印数据识别信息表142a(步骤SBA10)。接收用处理部JS在写入到打印队列Q的打印数据有多个的情况下,将多个打印数据的打印数据识别信息写入接收打印数据识别信息表142a。Next, when there is print data written in the print queue Q, the reception processing unit JS writes the print data identification information of the print data into the received print data identification information table 142a (step SBA10). When there is a plurality of print data written in the print queue Q, the reception processing unit JS writes the print data identification information of the plurality of print data into the received print data identification information table 142a.

接下来,对当执行非同步处理时,在设定UI中间隔自动调整处理的执行被设为有效的情况下,接收用处理部JS执行的间隔自动调整处理进行说明。Next, an automatic interval adjustment process executed by the reception processing unit JS when the execution of the automatic interval adjustment process is enabled in the setting UI when performing asynchronous processing will be described.

如上所述,在执行非同步处理的情况下,与基于接收到的打印数据的处理的状况无关,接收用处理部JS空开间隔对打印数据分发服务器SV询问打印数据的有无。间隔自动调整处理是对询问打印数据的间隔自动进行调整的处理。As described above, when performing asynchronous processing, the reception processing unit JS inquires of the print data distribution server SV whether or not there is print data at intervals regardless of the processing status based on the received print data. The interval automatic adjustment process is a process for automatically adjusting the interval of inquiry print data.

详细而言,当是在步骤SBA8中频繁地进行打印数据的废弃的状态时,接收用处理部JS将进行询问的间隔增长。作为一个例子,当成为在规定的单位时间以规定的阈值以上的次数进行打印数据的废弃的状态时,接收用处理部JS将所设定的间隔增长X秒。在上述状态消除的情况下,接收用处理部JS将间隔缩短X秒。通过执行这样的处理,会起到以下的效果。即,频繁地进行打印数据的废弃是指与对接收到的打印数据进行处理的步调相比,控制打印机SP询问打印数据的有无的步调较快的状态。而且,通过执行上述处理,能够抑制对接收到的打印数据进行处理的步调、与询问打印数据的有无的步调之间的分歧,可使接收到的打印数据被废弃的频度降低。Specifically, when the print data is frequently discarded in step SBA8 , the reception processing unit JS increases the interval at which the inquiry is made. As an example, when the print data is discarded more than a predetermined threshold value within a predetermined unit time, the reception processing unit JS increases the set interval by X seconds. When the above state is eliminated, the reception processing unit JS shortens the interval by X seconds. By executing such processing, the following effects can be obtained. That is, frequent discarding of print data refers to a state in which the printer SP is controlled to inquire about the presence or absence of print data at a faster pace than the pace at which received print data is processed. Furthermore, by executing the above processing, it is possible to suppress the divergence between the pace of processing the received print data and the pace of inquiring about the presence or absence of print data, and reduce the frequency of discarding the received print data.

并且,在间隔自动调整处理中,接收用处理部JS根据打印队列Q的状态,使询问打印数据的有无的间隔变化。更详细而言,接收用处理部JS在打印队列Q中的能够写入新的数据的区域变小的情况下,将进行询问的间隔增长。作为一个例子,接收用处理部JS监视打印队列Q中的能够写入新的数据的区域的容量,在容量变为规定的阈值以下的情况下,将所设定的间隔增长Y秒。在上述状态消除的情况下,接收用处理部JS将间隔缩短Y秒。通过执行这样的处理,会起到以下的效果。即,打印队列Q中的能够写入新的数据的区域小于所设定的阈值是指与对接收到的打印数据进行处理的步调相比,控制打印机SP询问打印数据的有无的步调较快的状态。而且,通过执行上述处理,能够抑制对接收到的打印数据进行处理的步调、与询问打印数据的有无的步调之间的分歧,可降低因打印队列Q的空余区域不足而产生无法进行打印数据的写入的情况的可能性。In addition, in the interval automatic adjustment process, the reception processing unit JS changes the interval for inquiring about the presence or absence of print data according to the state of the print queue Q. More specifically, when the area in which new data can be written in the print queue Q becomes smaller, the reception processing unit JS increases the interval for making inquiries. As an example, the reception processing unit JS monitors the capacity of an area in the print queue Q where new data can be written, and increases the set interval by Y seconds when the capacity becomes equal to or smaller than a predetermined threshold. When the above state is eliminated, the processing unit JS for reception shortens the interval by Y seconds. By executing such processing, the following effects can be obtained. That is, the fact that the area where new data can be written in the print queue Q is smaller than the set threshold means that the pace of controlling the printer SP to inquire about the presence or absence of print data is faster than the pace of processing the received print data. status. Furthermore, by executing the above processing, it is possible to suppress the discrepancy between the step of processing the received print data and the step of inquiring about the presence or absence of print data, and it is possible to reduce the occurrence of inability to print data due to insufficient free space in the print queue Q. The possibility of writing the situation.

图19是对在执行非同步处理的情况下,接收用处理部JS与上述的图17、图18的处理并行执行的处理进行说明的流程图。图19(A)表示控制打印机SP的动作,图19(B)表示打印数据分发服务器SV的动作。FIG. 19 is a flowchart illustrating processing executed by the receiving processing unit JS in parallel with the above-described processing in FIGS. 17 and 18 when asynchronous processing is executed. FIG. 19(A) shows the operation of the control printer SP, and FIG. 19(B) shows the operation of the print data distribution server SV.

如图19(A)所示,控制打印机SP的接收用处理部JS监视是否从管理部KB输入了处理结果通知(步骤SDA1)。如后所述,管理部KB在基于被写入到打印队列Q的打印数据的打印结束的情况下,将包括打印数据的打印数据识别信息的处理结果通知输出给接收用处理部JS。As shown in FIG. 19(A), the reception processing unit JS controlling the printer SP monitors whether or not a processing result notification is input from the management unit KB (step SDA1). As will be described later, when printing based on the print data written in the print queue Q is completed, the management unit KB outputs a processing result notification including the print data identification information of the print data to the reception processing unit JS.

在被输入处理结果通知的情况下(步骤SDA1:是),接收用处理部JS利用所建立的联系来发送打印结束通知数据(步骤SDA2),将处理步骤返回到步骤SDA1。打印结束通知数据是包含处理结果通知所含的打印数据识别信息,表示基于与该识别信息对应的打印数据的打印结束的数据。When the processing result notification is input (step SDA1: Yes), the reception processing unit JS transmits the print completion notification data using the established connection (step SDA2), and returns the processing step to step SDA1. The print completion notification data includes the print data identification information included in the processing result notification, and indicates the completion of printing based on the print data corresponding to the identification information.

如图19(B)所示,打印数据分发服务器SV的服务器控制部120接收打印结束通知数据(步骤SEA1)。As shown in FIG. 19(B), the server control unit 120 of the print data distribution server SV receives the print completion notification data (step SEA1).

接下来,服务器控制部120参照打印数据保存数据库122a,确定接收到的打印结束通知数据所含的打印数据识别信息被保存在打印数据识别信息字段F2的记录(步骤SEA2)。Next, the server control unit 120 refers to the print data storage database 122a, and specifies a record in which the print data identification information contained in the received print completion notification data is stored in the print data identification information field F2 (step SEA2).

接下来,服务器控制部120将确定出的记录的打印状态信息字段F3所保存的打印未结束信息MJ改写成打印结束信息KJ(步骤SEA3)。通过步骤SEA3的处理,建立了对应的打印状态信息的进行了改写的打印数据即便在有询问的情况下,也不被发送给控制打印机SP。Next, the server control unit 120 rewrites the print unfinished information MJ stored in the print status information field F3 of the specified record into the print finished information KJ (step SEA3 ). By the process of step SEA3, the rewritten print data for which the corresponding print status information is created is not sent to the control printer SP even when there is an inquiry.

接下来,对执行同步处理(第二处理)的情况的控制打印机SP的动作进行说明。如上所述,用户利用设定UI,选择同步处理作为使控制打印机SP执行的处理。Next, the operation of controlling the printer SP in the case of executing the synchronization process (second process) will be described. As described above, the user uses the setting UI to select the synchronization process as the process to be executed by the control printer SP.

图20是表示执行同步处理的情况的控制打印机SP、以及打印数据分发服务器SV的动作的流程图。图20(A)表示控制打印机SP的动作。图20(B)表示打印数据分发服务器SV的动作。FIG. 20 is a flowchart showing the operations of the control printer SP and the print data distribution server SV when the synchronization process is executed. Fig. 20(A) shows the operation of controlling the printer SP. FIG. 20(B) shows the operation of the print data distribution server SV.

如图20(A)所示,控制打印机SP的控制打印机控制部140的接收用处理部JS监视是否到了针对打印数据分发服务器SV询问打印数据的有无的定时(步骤SFA1)。As shown in FIG. 20(A) , the reception processing unit JS of the control printer control unit 140 controlling the printer SP monitors whether it is time to inquire about the presence or absence of print data to the print data distribution server SV (step SFA1 ).

在执行同步处理的情况下,除了后述的打印数据处理期间之外,接收用处理部JS以设定UI的同步处理时间隔输入栏RA5被输入的间隔,对打印数据分发服务器SV询问打印数据的有无。在步骤SFA1中,接收用处理部JS监视从上次进行询问起是否经过了与所设定的间隔对应的时间,在经过了的情况下,判别为到了询问打印数据的有无的定时。When synchronous processing is executed, in addition to the later-described print data processing period, the receiving processing unit JS inquires of the print data distribution server SV for print data at intervals entered in the synchronous processing time interval input field RA5 of the setting UI. with or without. In step SFA1 , the reception processing unit JS monitors whether or not the time corresponding to the set interval has elapsed since the previous inquiry, and judges that it is time to inquire about the presence or absence of print data if it has elapsed.

在到了定时的情况下(步骤SFA1:是),接收用处理部JS生成询问打印数据的有无的数据,对广域网通信部143进行控制,来将该数据发送给打印数据分发服务器SV(步骤SFA2)。When the timing is up (step SFA1: Yes), the receiving processing unit JS generates data for inquiring about the presence or absence of print data, and controls the wide area network communication unit 143 to send the data to the print data distribution server SV (step SFA2 ).

如图20(B)所示,打印数据分发服务器SV的服务器控制部120对服务器通信部121进行控制来接收数据(步骤SGA1)。As shown in FIG. 20(B), the server control unit 120 of the print data distribution server SV controls the server communication unit 121 to receive data (step SGA1 ).

接下来,服务器控制部120参照打印数据保存数据库122a,判别能够发送的打印数据的有无(步骤SGA2)。如上所述,能够发送的打印数据是在打印数据保存数据库122a中建立了对应的打印状态信息为打印未结束信息MJ的打印数据。根据后述说明可知,在执行同步处理的情况下从,打印数据分发服务器SV未向控制打印机SP发送的打印数据的打印状态信息是打印未结束信息MJ。Next, the server control unit 120 refers to the print data storage database 122a, and determines whether there is print data that can be transmitted (step SGA2). As described above, the print data that can be transmitted is the print data associated with the print status information in the print data storage database 122a as the print unfinished information MJ. As can be seen from the description below, when the synchronization process is executed, the print status information of the print data not sent from the print data distribution server SV to the control printer SP is the print unfinished information MJ.

接下来,服务器控制部120基于判别结果对服务器通信部121进行控制,来利用所建立的联系发送包括对能够发送的打印数据的有无进行表示的信息的数据(步骤SGA3)。Next, the server control unit 120 controls the server communication unit 121 based on the determination result, and transmits data including information indicating the presence or absence of transmittable print data using the established connection (step SGA3 ).

如图20(A)所示,控制打印机SP的接收用处理部JS对广域网通信部143进行控制,来接收打印数据分发服务器SV发送了的数据(步骤SFA3)。As shown in FIG. 20(A) , the reception processing unit JS controlling the printer SP controls the WAN communication unit 143 to receive data transmitted from the print data distribution server SV (step SFA3 ).

接下来,接收用处理部JS在接收到的数据包括对没有能够发送的打印数据进行表示的信息的情况下(步骤SFA4:否),将处理步骤返回到步骤SFA1。Next, when the received data includes information indicating that there is no print data that can be transmitted (step SFA4 : NO), the reception processing unit JS returns the processing step to step SFA1 .

在接收到的数据包括对有能够发送的打印数据进行表示的信息的情况下(步骤SFA4:是),接收用处理部JS利用所建立的联系,来发送对打印数据的发送进行请求的数据(步骤SFA5)。When the received data includes information indicating that there is print data that can be sent (step SFA4: Yes), the receiving processing unit JS uses the established connection to send data requesting print data to be sent ( Step SFA5).

如图20(B)所示,打印数据分发服务器SV的服务器控制部120接收数据(步骤SGA4)。As shown in FIG. 20(B), the server control unit 120 of the print data distribution server SV receives the data (step SGA4).

接下来,服务器控制部120利用所建立的联系,来发送在打印数据保存数据库122a中与打印未结束信息MJ建立了对应的打印数据(=能够发送的打印数据)(步骤SGA5)。在与打印未结束信息MJ建立了对应的打印数据有多个的情况下,服务器控制部120依次发送多个打印数据。Next, the server control unit 120 transmits the print data (=transmittable print data) associated with the print unfinished information MJ in the print data storage database 122a using the established association (step SGA5). When there is a plurality of print data associated with the print unfinished information MJ, the server control unit 120 sequentially transmits the plurality of print data.

如图20(A)所示,根据打印数据分发服务器SV对打印数据的发送,控制打印机SP的接收用处理部JS开始打印数据的接收(步骤SFA6)。接收用处理部JS在接收打印数据的过程中,将接收到的数据依次保存到接收缓冲器。As shown in FIG. 20(A), upon transmission of the print data from the print data distribution server SV, the receiving processing unit JS of the printer SP is controlled to start receiving the print data (step SFA6). The receiving processing unit JS sequentially stores the received data in the receiving buffer while receiving the print data.

在开始了打印数据的接收之后,接收用处理部JS监视打印数据的接收是否结束(步骤SFA7)。在所接收的打印数据有多个的情况下,在步骤SFA7中,接收用处理部JS针对多个打印数据的全部监视接收是否结束。After the reception of the print data starts, the reception processing unit JS monitors whether the reception of the print data is completed (step SFA7 ). When there is a plurality of print data received, in step SFA7 , the reception processing unit JS monitors whether the reception of all the plurality of print data is completed.

在打印数据的接收结束的情况下(步骤SFA7:是),接收用处理部JS将接收到的打印数据(在接收到多个打印数据的情况下,将多个打印数据)写入打印队列Q(步骤SFA8)。When the reception of the print data is completed (step SFA7: YES), the reception processing unit JS writes the received print data (in the case of receiving a plurality of print data, a plurality of print data) into the print queue Q (step SFA8).

根据后述说明可知,在同步处理中,由于不会多次接收相同的打印数据,所以不需要执行在非同步处理中进行的步骤SBA7的比较处理。As will be understood from the description below, in the synchronous process, since the same print data is not received multiple times, it is not necessary to execute the comparison process in step SBA7 performed in the asynchronous process.

接下来,接收用处理部JS监视是否被输入处理结果通知,该处理结果通知表示基于在步骤SFA8中写入到打印队列Q的打印数据的打印结束(步骤SFA9)。“表示基于写入到打印队列Q的打印数据的打印结束的处理结果通知”是包括写入到打印队列Q的打印数据的打印数据识别信息的处理结果通知。在写入到打印队列Q的打印数据有多个的情况下,在步骤SFA9中,接收用处理部JS监视是否有与全部的打印数据对应的处理结果通知的输入。Next, the reception processing unit JS monitors whether or not a processing result notification indicating that printing based on the print data written in the print queue Q in step SFA8 has been completed is input (step SFA9 ). The "processing result notification indicating the end of printing based on the print data written to the print queue Q" is a processing result notification including print data identification information of the print data written to the print queue Q. When there is a plurality of print data written in the print queue Q, in step SFA9, the reception processing unit JS monitors whether or not there is an input of a processing result notification corresponding to all the print data.

在有处理结果通知的输入的情况下,接收用处理部JS利用所建立的联系来发送打印结束通知数据(步骤SFA10)。如上所述,打印结束通知数据是包括处理结果通知所含的打印数据识别信息,表示基于与该识别信息对应的打印数据的打印结束的数据。在写入打印队列Q的打印数据有多个的情况下,在步骤SFA10中,接收用处理部JS发送包括各个打印数据的打印数据识别信息的打印结束通知数据。When there is an input of a processing result notification, the reception processing unit JS transmits the print completion notification data using the established connection (step SFA10 ). As described above, the print completion notification data includes the print data identification information included in the processing result notification, and indicates that printing based on the print data corresponding to the identification information has been completed. When there are a plurality of print data written in the print queue Q, in step SFA10 , the receiving processing unit JS transmits print completion notification data including the print data identification information of each print data.

接下来,接收用处理部JS待机规定期间(步骤SFA11),然后,将处理步骤返回到步骤SFA1,开始打印数据的有无的询问。进行待机的期间被设为后述的步骤SGA8中的打印数据分发服务器SV对打印状态信息的改写结束所需要的足够时间。Next, the reception processing unit JS waits for a predetermined period of time (step SFA11 ), then returns the processing procedure to step SFA1 , and starts an inquiry about the presence or absence of print data. The period of waiting is set to a sufficient time required for the print data distribution server SV to finish rewriting the print status information in step SGA8 described later.

这样,在同步处理中,控制打印机SP在从根据打印数据的有无的询问而接收打印数据起,到基于该打印数据的打印结束为止的期间(打印数据处理期间),不进行打印数据的有无的询问。通过这样的结构,与非同步处理相比,虽然存在从打印数据分发服务器SV成为能够发送打印数据的状态起,到控制打印机SP接收打印数据为止的时间变长的可能性,但不需要执行上述的比较处理、打印数据的废弃,能够按顺序执行打印数据的接收、基于打印数据的打印。In this way, in the synchronous processing, the printer SP is controlled not to perform the presence of print data during the period (print data processing period) from when the print data is received in response to the inquiry of the presence or absence of print data to when the printing based on the print data is completed. No inquiries. With such a configuration, compared with asynchronous processing, although there is a possibility that the time from when the print data distribution server SV becomes capable of sending print data to when the control printer SP receives the print data becomes longer, it is not necessary to execute the above-mentioned The comparison processing of the print data, the discarding of the print data, and the reception of the print data and the printing based on the print data can be performed sequentially.

如图20(B)所示,打印数据分发服务器SV的服务器控制部120接收打印结束通知数据(步骤SGA6)。As shown in FIG. 20(B), the server control unit 120 of the print data distribution server SV receives the print completion notification data (step SGA6).

接下来,服务器控制部120参照打印数据保存数据库122a,确定接收到的打印结束通知数据所含的打印数据识别信息已被保存到打印数据识别信息字段F2的记录(步骤SGA7)。在接收到的打印结束通知数据有多个的情况下,服务器控制部120确定对应的多个记录。Next, the server control unit 120 refers to the print data storage database 122a, and confirms that the print data identification information contained in the received print completion notification data has been stored in the record of the print data identification information field F2 (step SGA7). When a plurality of print completion notification data has been received, the server control unit 120 specifies a plurality of corresponding records.

接下来,服务器控制部120将确定出的1个或者多个记录的打印状态信息字段F3中保存的打印未结束信息MJ改写成打印结束信息KJ(步骤SGA8)。通过步骤SGA8的处理,建立了对应的打印状态信息的被进行了改写后的打印数据即便在有询问的情况下,也不被发送给控制打印机SP。Next, the server control unit 120 rewrites the print unfinished information MJ stored in the print status information field F3 of the identified one or more records into the print completed information KJ (step SGA8 ). Through the process of step SGA8, the rewritten print data for which the corresponding print status information is created is not sent to the control printer SP even when there is an inquiry.

接下来,对由控制打印机SP接收并保存到打印队列Q的打印数据的处理进行说明。Next, processing of print data received by the control printer SP and stored in the print queue Q will be described.

被保存在打印队列Q的打印数据的处理在执行非同步处理的情况和执行同步处理的情况下都相同。即,与所执行的处理是非同步处理还是同步处理无关,都通过以下说明的方法来处理打印数据。The processing of the print data stored in the print queue Q is the same when executing asynchronous processing and when executing synchronous processing. That is, regardless of whether the processing being performed is asynchronous processing or synchronous processing, the print data is processed by the method described below.

如上所述,在不区分第一输出用处理部SS1、第二输出用处理部SS2、以及第三输出用处理部SS3的情况下,表现为“发送处理部S”。另外,在不区别第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3、以及打印输出用处理部SS4的情况下,表现为“输出用处理部SS”。As mentioned above, when the 1st output processing part SS1, the 2nd output processing part SS2, and the 3rd output processing part SS3 are not distinguished, they are expressed as "transmission processing part S." In addition, when not distinguishing the 1st output processing part SS1, the 2nd output processing part SS2, the 3rd output processing part SS3, and the printing output processing part SS4, it expresses as "output processing part SS".

如上所述,管理部KB在规定的条件成立的情况下,将第一输出用处理部SS1、第二输出用处理部SS2、第三输出用处理部SS3或者打印输出用处理部SS4起动。而且,发送处理部S(第一输出用处理部SS1、第二输出用处理部SS2、以及第三输出用处理部SS3)执行的处理、与打印输出用处理部SS4执行的处理不同。As described above, the management unit KB activates the first output processing unit SS1 , the second output processing unit SS2 , the third output processing unit SS3 , or the print output processing unit SS4 when a predetermined condition is satisfied. Furthermore, the processing executed by the transmission processing section S (the first output processing section SS1 , the second output processing section SS2 , and the third output processing section SS3 ) is different from the processing executed by the printout processing section SS4 .

以下,使用图21对第一输出用处理部SS1的处理进行说明,接下来,使用图22对打印输出用处理部SS4的处理进行说明。Hereinafter, the processing of the first output processing unit SS1 will be described using FIG. 21 , and next, the processing of the print output processing unit SS4 will be described using FIG. 22 .

图21(A)是表示管理部KB的动作的流程图,图21(B)是表示第一输出用处理部SS1的动作的流程图,图21(C)是表示第一打印机KP1的动作的流程图。Fig. 21 (A) is a flow chart showing the operation of the management unit KB, Fig. 21 (B) is a flow chart showing the operation of the first output processing section SS1, and Fig. 21 (C) is a flow chart showing the operation of the first printer KP1. flow chart.

如图21(A)所示,管理部KB监视是否进行了打印数据向打印队列Q的写入(步骤SHA1)。进行了打印数据的写入是指在开始了向打印队列Q的写入之后,一系列打印数据的写入结束,在进行多个打印数据的写入的情况下,是指多个打印数据的写入结束。As shown in FIG. 21(A) , the management unit KB monitors whether or not print data is written into the print queue Q (step SHA1 ). Writing of print data means that writing of a series of print data is completed after writing to the print queue Q is started, and when writing of a plurality of print data is performed means that a plurality of print data is written. Writing is complete.

在进行了打印数据向打印队列Q的写入的情况下(步骤SHA1:是),管理部KB参照打印数据的内容,取得打印数据所含的打印机的识别信息(步骤SHA2)。在被写入了多个打印数据的情况下,管理部KB取得多个打印数据所含的打印机的识别信息。When the print data has been written into the print queue Q (step SHA1: YES), the management unit KB refers to the content of the print data and acquires the identification information of the printer included in the print data (step SHA2). When a plurality of print data are written, the management unit KB acquires identification information of printers included in the plurality of print data.

接下来,管理部KB判别与所取得的打印机的识别信息对应的输出用处理部SS(发送处理部S或者打印输出用处理部SS4)是否处于起动了的状态(步骤SHA3)。当在步骤SHA2中取得的打印机的识别信息有多个时,管理部KB针对多个打印机的识别信息的每一个判别对应的输出用处理部SS是否是起动了的状态。Next, the management unit KB judges whether the output processing unit SS (send processing unit S or print output processing unit SS4 ) corresponding to the acquired printer identification information is activated (step SHA3 ). When there is a plurality of printer identification information acquired in step SHA2 , the management unit KB judges whether or not the corresponding output processing unit SS is activated for each of the plurality of printer identification information.

这里,与第一打印机KP1的识别信息对应的输出用处理部SS是第一输出用处理部SS1。与第二打印机KP2的识别信息对应的输出用处理部SS是第二输出用处理部SS2。与第三打印机KP3的识别信息对应的输出用处理部SS是第三输出用处理部SS3。另外,与控制打印机SP的识别信息对应的输出用处理部SS是打印输出用处理部SS4。Here, the output processing unit SS corresponding to the identification information of the first printer KP1 is the first output processing unit SS1. The output processing unit SS corresponding to the identification information of the second printer KP2 is the second output processing unit SS2. The output processing unit SS corresponding to the identification information of the third printer KP3 is the third output processing unit SS3. In addition, the processing part SS for output corresponding to the identification information which controls the printer SP is the processing part SS4 for print output.

当与在步骤SHA2中取得的打印机的识别信息对应的输出用处理部SS处于起动了的状态时(步骤SHA3:是),管理部KB将处理步骤返回到步骤SHA1。该情况下,如后述说明那样,通过处于已经起动了的状态的输出用处理部SS来处理被写入到打印队列Q的打印数据。When the output processing unit SS corresponding to the printer identification information acquired in step SHA2 is activated (step SHA3: YES), the management unit KB returns the processing procedure to step SHA1. In this case, as will be described later, the print data written in the print queue Q is processed by the activated output processing unit SS.

对于与在步骤SHA2中取得的打印机的识别信息对应的输出用处理部SS而言,在即便有一个未起动的情况下(步骤SHA3:否),管理部KB都将与未起动的输出用处理部SS的识别信息对应的输出用处理部SS起动(步骤SHA4)。例如,在所取得的打印机的识别信息是第一打印机KP1的识别信息、第一输出用处理部SS1未起动的情况下,管理部KB通过起动第一输出用任务来将第一输出用处理部SS1起动。For the output processing unit SS corresponding to the identification information of the printer acquired in step SHA2, if even one of them is inactive (step SHA3: No), the management unit KB will associate the output processing unit SS with the inactive output processing unit SS. The output processing part SS corresponding to the identification information of the part SS is activated (step SHA4). For example, when the acquired printer identification information is the identification information of the first printer KP1 and the first output processing unit SS1 is not activated, the management unit KB activates the first output task to make the first output processing unit SS1 starts.

在以下的使用了图21的说明中,设在步骤SHA4中管理部KB起动了第一输出用处理部SS1,对第一输出用处理部SS1的处理进行说明。虽然省略了关于第二输出用处理部SS2、以及第三输出用处理部SS3的处理的详细说明,但这些输出用处理部SS在起动后执行与以下说明的处理同样的处理。In the following description using FIG. 21, it is assumed that the management unit KB activates the first output processing unit SS1 in step SHA4, and the processing of the first output processing unit SS1 will be described. Although the detailed description of the processing of the second output processing unit SS2 and the third output processing unit SS3 is omitted, these output processing units SS execute the same processing as the processing described below after activation.

如图21(B)所示,第一输出用处理部SS1参照打印队列Q中保存的未读出的打印数据中的在时间上最早被写入的打印数据的内容,取得打印数据所含的打印机的识别信息(步骤SIA1)。As shown in FIG. 21(B), the first output processing unit SS1 refers to the content of the print data written earliest in time among the unread print data stored in the print queue Q, and obtains the print data contained in the print data. Identification information of the printer (step SIA1).

接下来,第一输出用处理部SS1判别所取得的打印机的识别信息、与第一打印机KP1的识别信息(对应的识别信息)是否一致(步骤SIA2)。此外,第二输出用处理部SS2判别所取得的打印机的识别信息与第二打印机KP2的识别信息是否一致。另外,第三输出用处理部SS3在与步骤SIA2对应的处理中,判别所取得的打印机的识别信息与第三打印机KP3的识别信息是否一致。Next, the first output processing unit SS1 judges whether the acquired identification information of the printer matches the identification information (corresponding identification information) of the first printer KP1 (step SIA2 ). Furthermore, the second output processing unit SS2 judges whether the acquired identification information of the printer matches the identification information of the second printer KP2. In addition, the third output processing unit SS3 judges whether or not the acquired identification information of the printer matches the identification information of the third printer KP3 in the processing corresponding to step SIA2.

在不一致的情况下(步骤SIA2:否),第一输出用处理部SS1判别打印队列Q中是否存在未读出且未实施步骤SIA1的识别信息的取得、以及步骤SIA2的比较的打印数据(步骤SIA3)。In the case of inconsistency (step SIA2: No), the first output processing unit SS1 judges whether there is print data that has not been read out and has not been subjected to the acquisition of identification information in step SIA1 and the comparison in step SIA2 in the print queue Q (step SIA2). SIA3).

在有打印数据的情况下(步骤SIA3:是),第一输出用处理部SS1取得未读出的打印数据中的在上次进行了识别信息的取得、以及比较的打印数据的之后保存的打印数据的识别信息(步骤SIA4),然后将处理步骤移至步骤SIA2。If there is print data (step SIA3: YES), the first output processing unit SS1 acquires the print data saved after the print data for which the identification information was acquired and compared last time among the unread print data. The identification information of the data (step SIA4), and then the processing step moves to step SIA2.

在没有打印数据的情况下(步骤SIA3:否),第一输出用处理部SS1通过将第一输出用任务停止而停止(步骤SIA5)。When there is no print data (step SIA3: NO), the first output processing unit SS1 stops by stopping the first output job (step SIA5).

另一方面,在步骤SIA2中,当所取得的打印机的识别信息、与第一打印机KP1的识别信息一致时(步骤SIA2:是),第一输出用处理部SS1从打印队列Q读出取得了打印机的识别信息的打印数据(步骤SIA6)。On the other hand, in step SIA2, when the acquired identification information of the printer matches the identification information of the first printer KP1 (step SIA2: Yes), the first output processing unit SS1 reads out the acquired printer from the print queue Q. The print data of the identification information (step SIA6).

接下来,第一输出用处理部SS1对局域网通信部144进行控制,将读出的打印数据发送(输出)给第一打印机KP1(步骤SIA7)。第一输出用处理部SS1预先取得第一打印机KP1的IP地址、MAC地址等为了向第一打印机KP1发送数据所需要的信息并进行管理。Next, the first output processing unit SS1 controls the LAN communication unit 144 to transmit (output) the read print data to the first printer KP1 (step SIA7 ). The first output processing unit SS1 acquires and manages information necessary for sending data to the first printer KP1, such as the IP address and MAC address of the first printer KP1, in advance.

如图21(C)所示,第一打印机KP1的第一控制部601对第一通信部611进行控制来接收打印数据(步骤SJA1)。As shown in FIG. 21(C), the first control unit 601 of the first printer KP1 controls the first communication unit 611 to receive print data (step SJA1 ).

接下来,第一控制部601将接收到的打印数据转换成遵照第一打印部621的指令体系的控制指令,并基于控制指令使第一打印部621执行基于控制指令的处理(步骤SJA2)。由于打印数据是收据打印数据,所以步骤SJA2的处理的结果是,由第一打印机KP1发行收据。Next, the first control unit 601 converts the received print data into control commands conforming to the command system of the first printer unit 621, and causes the first printer unit 621 to execute processing based on the control commands (step SJA2). Since the print data is receipt print data, a receipt is issued by the first printer KP1 as a result of the processing in step SJA2.

接下来,第一控制部601生成对打印数据的处理结果进行表示的数据(以下称为“处理结果通知数据”),并对第一通信部611进行控制来发送给控制打印机SP(步骤SJA3)。Next, the first control unit 601 generates data indicating the processing result of the print data (hereinafter referred to as “processing result notification data”), and controls the first communication unit 611 to transmit it to the control printer SP (step SJA3 ). .

如图21(B)所示,控制打印机SP的第一输出用处理部SS1监视在打印数据的发送后,是否接收到处理结果通知数据(步骤SIA8)。As shown in FIG. 21(B), the first output processing unit SS1 of the control printer SP monitors whether or not processing result notification data is received after the print data is sent (step SIA8).

在接收到处理结果通知数据的情况下(步骤SIA8:是),第一输出用处理部SS1通过中断等手段,将表示处理结果的信息输出给管理部KB(步骤SIA9)。表示处理结果的信息中包括进行了处理的打印数据的打印数据识别信息。关于管理部KB对表示处理结果的信息的利用方法将后述。When the processing result notification data is received (step SIA8: YES), the first output processing unit SS1 outputs information indicating the processing result to the management unit KB by means such as an interrupt (step SIA9). The information indicating the processing result includes print data identification information of the processed print data. The method of using the information indicating the processing result by the management unit KB will be described later.

接下来,第一输出用处理部SS1将处理步骤移至步骤SIA3。Next, the processing part SS1 for 1st output transfers a process step to step SIA3.

综上所述,第一输出用处理部SS1是具有对第一打印机KP1发送打印数据的功能的功能模块。第一输出用处理部SS1以包括第一打印机KP1的识别信息的打印数据向打印队列Q的保存为触发而被起动。第一输出用处理部SS1在起动后,针对打印队列Q中保存的打印数据中的未读出的打印数据,以所保存的顺序、换言之以接收到的顺序判别打印数据所含的识别信息与第一打印机KP1的识别信息是否一致。而且,第一输出用处理部SS1在识别信息一致的情况下,读出识别信息一致的打印数据并发送给第一打印机KP1。In summary, the first output processing unit SS1 is a functional block having a function of sending print data to the first printer KP1. The first output processing unit SS1 is activated by storing the print data including the identification information of the first printer KP1 in the print queue Q as a trigger. After the first output processing unit SS1 is activated, for the unread print data among the print data stored in the print queue Q, it discriminates the identification information included in the print data and the print data in the order of the received print data in the order in which they were stored, in other words, in the order in which they were received. Whether the identification information of the first printer KP1 is consistent. Then, when the identification information matches, the first output processing unit SS1 reads out the print data whose identification information matches, and sends it to the first printer KP1.

通过这样的结构,第一输出用处理部SS1针对第一打印机KP1的处理对象的打印数据,能够以打印队列Q中保存的顺序、换言之以接收到的顺序进行发送。例如,在是与第一打印机KP1对应地将具有发送打印数据的功能的多个处理部起动,多个处理部独立地执行打印数据的读出、发送的构成的情况下,可能产生无法以接收到打印数据的顺序来进行打印数据的发送这一情况。另一方面,根据本实施方式,能够防止该情况的发生。With such a configuration, the first output processing unit SS1 can transmit the print data to be processed by the first printer KP1 in the order stored in the print queue Q, in other words, in the order received. For example, in the case of a configuration in which a plurality of processing units having a function of transmitting print data are activated corresponding to the first printer KP1, and the plurality of processing units independently execute print data reading and transmission, failure to receive data may occur. The transmission of the print data is performed in the order of the print data. On the other hand, according to the present embodiment, it is possible to prevent this from happening.

另外,第一输出用处理部SS1在打印队列Q中没有是第一打印机KP1的处理对象且未读出的打印数据的情况下停止。即,第一输出用处理部SS1在不需要进行处理的情况下停止。通过该结构,能够抑制第一输出用处理部SS1维持被不必要地起动的状态,可实现CPU等硬件资源、其他资源的有效利用。In addition, the first output processing unit SS1 stops when there is no unread print data that is the processing target of the first printer KP1 in the print queue Q. That is, the first output processing unit SS1 stops when processing is unnecessary. With this configuration, it is possible to prevent the first output processing unit SS1 from being unnecessarily activated, and to realize effective use of hardware resources such as a CPU and other resources.

以上的情况对于第二输出用处理部SS2、以及第三输出用处理部SS3也同样。The above is also the same for the second output processing unit SS2 and the third output processing unit SS3.

接下来,对管理部KB起动了打印输出用处理部SS4之后的打印输出用处理部SS4、以及打印控制部140c的动作进行说明。Next, the operations of the printout processing section SS4 and the print control section 140c after the management section KB activates the printout processing section SS4 will be described.

图22(A)是表示打印输出用处理部SS4的动作的流程图,(B)是表示打印控制部140c的动作的流程图。FIG. 22(A) is a flowchart showing the operation of the print output processing unit SS4, and FIG. 22(B) is a flowchart showing the operation of the printing control unit 140c.

管理部KB在打印队列Q中保存有含有控制打印机SP的识别信息的打印数据的情况下,如果打印输出用处理部SS4未起动,则通过将打印输出用任务起动,来起动打印输出用处理部SS4(步骤SXA1)。When the management unit KB stores print data including identification information for controlling the printer SP in the print queue Q, if the print output processing unit SS4 has not been activated, the print output processing unit is activated by starting a print output job. SS4 (step SXA1).

如图22(A)所示,打印输出用处理部SS4参照打印队列Q中保存的未读出的打印数据中的在时间上最早被写入的打印数据的内容,取得打印数据所含的打印机的识别信息(步骤SKA1)。As shown in FIG. 22(A), the print output processing unit SS4 refers to the content of the print data written earliest in time among the unread print data stored in the print queue Q, and obtains the printer included in the print data. identification information (step SKA1).

打印输出用处理部SS4判别所取得的打印机的识别信息、与控制打印机SP的识别信息(对应的识别信息)是否一致(步骤SKA2)。The printout processing unit SS4 judges whether the acquired identification information of the printer matches the identification information (corresponding identification information) of the control printer SP (step SKA2 ).

在不一致的情况下(步骤SKA2:否),打印输出用处理部SS4判别打印队列Q中是否有未读出且未实施步骤SKA2的识别信息的取得、以及比较的打印数据(步骤SKA3)。If they do not match (step SKA2: No), the printout processing unit SS4 judges whether there is print data in the print queue Q that has not been read out and has not been subjected to the identification information acquisition and comparison in step SKA2 (step SKA3).

在有打印数据的情况下(步骤SKA3:是),打印输出用处理部SS4读出未读出的打印数据中的在上次进行了识别信息的取得、以及比较的打印数据之后保存的打印数据(步骤SKA4),然后将处理步骤移至步骤SKA2。If there is print data (step SKA3: YES), the print output processing unit SS4 reads the print data stored after the print data for which the identification information was obtained and compared last time among the unread print data. (step SKA4), then the processing steps are moved to step SKA2.

在没有打印数据的情况下(步骤SKA3:否),打印输出用处理部SS4通过将打印输出用任务停止而停止(步骤SKA5)。When there is no print data (step SKA3: NO), the print output processing unit SS4 stops the print output job (step SKA5).

另一方面,在步骤SKA2中,当所取得的打印机的识别信息、与控制打印机SP的识别信息一致时(步骤SKA2:是),打印输出用处理部SS4从打印队列Q读出取得了打印机的识别信息的打印数据(步骤SKA6)。On the other hand, in step SKA2, when the acquired identification information of the printer coincides with the identification information of the control printer SP (step SKA2: Yes), the printout processing unit SS4 reads out the acquired printer identification information from the print queue Q. The print data of the message (step SKA6).

接下来,打印输出用处理部SS4将读出的打印数据输出给打印控制部140c(步骤SKA7)。Next, the print output processing unit SS4 outputs the read print data to the print control unit 140c (step SKA7).

如图22(B)所示,打印控制部140c将打印数据转换成遵照控制打印机打印部41的指令体系的控制指令,基于控制指令来使控制打印机打印部141执行基于控制指令的处理(步骤SLA1)。由于打印数据是收据打印数据,所以步骤SLA1的处理的结果是,由控制打印机SP发行收据。As shown in FIG. 22(B), the print control unit 140c converts the print data into a control command conforming to the command system of the control printer printing unit 41, and causes the control printer printing unit 141 to execute processing based on the control command based on the control command (step SLA1 ). Since the print data is receipt print data, a receipt is issued by the control printer SP as a result of the processing in step SLA1.

接下来,打印控制部140c将表示打印数据的处理结果的信息输出给打印输出用处理部SS4(步骤SLA2)。Next, the print control unit 140c outputs information indicating the processing result of the print data to the print output processing unit SS4 (step SLA2 ).

如图22(A)所示,打印输出用处理部SS4监视在打印数据的输出后,是否被输入表示处理结果的信息(步骤SKA8)。As shown in FIG. 22(A), the print output processing unit SS4 monitors whether or not information indicating a processing result is input after output of the print data (step SKA8).

在被输入表示处理结果的信息的情况下(步骤SKA8:是),打印输出用处理部SS4通过中断等手段,将表示处理结果的信息输出给管理部KB(步骤SKA9)。表示处理结果的信息中包括进行了处理的打印数据的打印数据识别信息。关于管理部KB对表示处理结果的信息的利用方法将后述。When the information indicating the processing result is input (step SKA8: YES), the printout processing unit SS4 outputs the information indicating the processing result to the management unit KB by interrupting or the like (step SKA9). The information indicating the processing result includes print data identification information of the processed print data. The method of using the information indicating the processing result by the management unit KB will be described later.

接下来,打印输出用处理部SS4将处理步骤移至步骤SKA3。Next, the printout processing unit SS4 moves the processing step to step SKA3.

综上所述,打印输出用处理部SS4以包括控制打印机SP的识别信息的打印数据向打印队列Q的保存为触发而被起动。打印输出用处理部SS4在起动后,针对打印队列Q中保存的打印数据中的未读出的打印数据,以所保存的顺序、换言之以接收到的顺序,判别打印数据所含的识别信息与控制打印机SP的识别信息是否一致。而且,打印输出用处理部SS4在识别信息一致的情况下,读出识别信息一致的打印数据并输出给打印控制部140c。打印控制部140c基于打印数据来进行打印。As described above, the print output processing unit SS4 is activated by saving the print data including the identification information of the control printer SP in the print queue Q as a trigger. After the print output processing unit SS4 is activated, for the unread print data among the print data stored in the print queue Q, it discriminates the identification information contained in the print data and the print data in the order of storage, in other words, the order of reception. Control whether the identification information of the printer SP is consistent. Furthermore, when the identification information matches, the printout processing unit SS4 reads out the print data whose identification information matches and outputs it to the print control unit 140c. The print control unit 140c performs printing based on the print data.

通过这样的结构,打印输出用处理部SS4针对控制打印机SP的处理对象的打印数据,能够以打印队列Q中保存的顺序,换言之以接收到的顺序进行处理。另外,打印输出用处理部SS4在打印队列Q中没有是控制打印机SP的处理对象的打印数据且未读出的打印数据的情况下停止。即,打印输出用处理部SS4在不需要进行处理的情况下停止。通过该结构,能够抑制打印输出用处理部SS4维持被不必要地起动的状态,可实现CPU等硬件资源、其他资源的有效利用。With such a configuration, the printout processing unit SS4 can process the print data to be processed by the control printer SP in the order stored in the print queue Q, in other words, in the order received. In addition, the print output processing unit SS4 stops when there is no print data that is the print data to be processed by the control printer SP and has not been read in the print queue Q. That is, the printout processing unit SS4 stops when processing is unnecessary. With this configuration, it is possible to prevent the printing output processing unit SS4 from being unnecessarily activated, and to realize effective use of hardware resources such as a CPU and other resources.

接下来,对管理部KB的其他的处理进行说明。Next, other processing by the management unit KB will be described.

图23是表示管理部KB的动作的流程图。FIG. 23 is a flowchart showing the operation of the management unit KB.

管理部KB监视是否被输入表示处理结果的信息(步骤SMA1)。如上所述,表示处理结果的信息中包括进行了处理的打印数据的打印数据识别信息。The management unit KB monitors whether or not information indicating the processing result is input (step SMA1). As described above, the information indicating the processing result includes the print data identification information of the processed print data.

在被输入表示处理结果的信息的情况下(步骤SMA1),管理部KB生成包括打印数据识别信息并对基于打印数据的打印结束进行通知的处理结果通知,通过中断等手段输出给接收用处理部JS(步骤SMA2)。然后,接收用处理部JS将处理步骤返回到步骤SMA1。When the information indicating the processing result is input (step SMA1), the management unit KB generates a processing result notification including the print data identification information and notifies the completion of printing based on the print data, and outputs it to the receiving processing unit by interrupting or the like. JS (step SMA2). Then, the reception processing unit JS returns the processing step to step SMA1.

如以上说明那样,本实施方式涉及的打印数据处理系统101具备打印数据分发服务器SV(打印数据分发装置)、和具有从打印数据分发服务器SV接收打印数据的接收用处理部JS的控制打印机SP(信息处理装置)。As described above, the print data processing system 101 according to this embodiment includes the print data distribution server SV (print data distribution device), and the control printer SP ( information processing device).

控制打印机SP的接收用处理部JS与基于打印数据的打印是否结束无关地空开间隔来对打印数据分发服务器SV询问打印数据的有无,当打印数据分发服务器SV中存在打印数据时执行进行接收的非同步处理(第一处理)。The reception processing unit JS of the control printer SP inquires of the print data distribution server SV for the presence or absence of print data at intervals regardless of whether printing based on the print data is completed, and performs reception when there is print data in the print data distribution server SV. The asynchronous processing of (the first processing).

根据该结构,控制打印机SP与基于接收到的打印数据的打印是否结束无关地对打印数据分发服务器SV询问打印数据的有无,在有打印数据的情况下进行接收。因此,控制打印机SP能够与基于打印数据的处理的状况无关地询问打印数据的有无,能够缩短在打印数据分发服务器SV变为能够发送打印数据之后到控制打印机SP接收打印数据为止产生的时间。According to this configuration, the control printer SP inquires of the print data distribution server SV whether there is print data regardless of whether printing based on the received print data is completed, and receives the print data if there is print data. Therefore, the control printer SP can inquire about the presence or absence of print data regardless of the status of the print data-based processing, and the time from when the print data distribution server SV becomes capable of transmitting print data to when the control printer SP receives the print data can be shortened.

另外,在本实施方式中,控制打印机SP的接收用处理部JS在基于接收到的打印数据的打印结束的情况下,将通知该情况的打印结束通知数据(打印结束通知)发送给打印数据分发服务器SV。打印数据分发服务器SV在接收到打印结束通知数据的情况下,将对应的打印数据与打印结束信息KJ(表示打印结束的信息)建立对应地进行存储,另外,在从控制打印机SP有打印数据的有无的询问的情况下,发送不处于与打印结束信息KJ建立了对应的状态的打印数据。控制打印机SP的接收用处理部JS在从打印数据分发服务器SV接收到打印数据的情况下,将新接收到的打印数据与之前接收到的打印数据进行比较,在数据一致的情况下,将新接收到的打印数据废弃。In addition, in the present embodiment, when the receiving processing unit JS controlling the printer SP finishes printing based on the received print data, it transmits the print completion notification data (print completion notification) notifying the fact to the print data distribution server. Server SV. When the print data distribution server SV receives the print completion notification data, it stores the corresponding print data in association with the print completion information KJ (information indicating the completion of printing), and also stores the print data in the slave control printer SP. In the case of a presence/absence inquiry, print data that is not associated with the print completion information KJ is transmitted. When receiving print data from the print data distribution server SV, the reception processing unit JS that controls the printer SP compares the newly received print data with the previously received print data, and compares the newly received print data if the data match. The received print data is discarded.

根据该结构,控制打印机SP在接收到打印数据的情况下,由于在新接收到的打印数据与之前接收到的打印数据一致的情况下,将新接收到的打印数据废弃,所以能够防止基于重复接收到的打印数据来重复地执行处理。According to this configuration, when the printer SP receives print data, it discards the newly received print data if the newly received print data matches the previously received print data. The processing is repeatedly performed on the received print data.

另外,在本实施方式中,其特征在于,控制打印机SP的接收用处理部JS根据将打印数据废弃的频度,来使询问打印数据的有无的间隔变化。In addition, this embodiment is characterized in that the receiving processing unit JS controlling the printer SP changes the interval of inquiring about the presence or absence of print data according to the frequency of discarding the print data.

根据该结构,在与基于打印数据的打印所需要的时间相比,询问打印数据的间隔较短,处于打印数据被频繁废弃的状态的情况下,能够对间隔进行调整来消除该状态。According to this configuration, when the interval for inquiring print data is shorter than the time required for printing based on the print data and print data is frequently discarded, the interval can be adjusted to eliminate this state.

另外,在本实施方式中,控制打印机SP的接收用处理部JS将接收到的打印数据保存到打印队列Q(规定的存储区域),根据打印队列Q的状态来使询问打印数据的有无的间隔变化。In addition, in this embodiment, the receiving processing unit JS of the control printer SP stores the received print data in the print queue Q (predetermined storage area), and inquires about the presence or absence of the print data according to the status of the print queue Q. Interval changes.

根据该结构,能够根据打印队列Q的空闲区域的状态等打印队列Q的状态来调整询问打印数据的时间,可抑制溢出的产生等。According to this configuration, it is possible to adjust the time to inquire about print data according to the state of the print queue Q such as the state of the vacant area of the print queue Q, and it is possible to suppress the occurrence of overflow and the like.

另外,在本实施方式中,控制打印机SP的接收用处理部JS能够执行在接收到打印数据之后到基于接收数据的打印结束为止的期间不进行打印数据的有无的询问,而在打印结束之后进行询问的同步处理(第二处理)。能够通过设定UI来设定使控制打印机SP执行非同步处理与同步处理中的哪一个。In addition, in this embodiment, the reception processing unit JS of the control printer SP can perform no inquiry of the presence or absence of print data between the time of receiving the print data and the end of printing based on the received data, and can perform an inquiry after the end of printing. Synchronization processing of inquiries (second processing) is performed. Which of the asynchronous processing and the synchronous processing is to be executed by the control printer SP can be set through the setting UI.

根据该结构,能够根据打印数据处理系统101的式样等来切换非同步处理与同步处理。According to this configuration, it is possible to switch between asynchronous processing and synchronous processing according to the specifications of the print data processing system 101 and the like.

另外,本实施方式涉及的打印数据处理系统101具备与控制打印机SP进行通信的打印机KP。控制打印机SP具有将接收到的打印数据发送给打印机KP的输出部140b。控制打印机SP的接收用处理部JS与基于接收到的打印数据的由打印机KP进行的打印是否结束无关地空开间隔对打印数据分发服务器SV询问打印数据的有无。In addition, the print data processing system 101 according to this embodiment includes a printer KP that communicates with the control printer SP. The control printer SP has an output unit 140b for sending the received print data to the printer KP. The reception processing unit JS that controls the printer SP inquires of the print data distribution server SV whether or not there is print data at intervals regardless of whether printing by the printer KP based on the received print data is completed.

根据该结构,由于控制打印机SP与所连接的打印机KP的处理的状况无关地对打印数据分发服务器SV询问打印数据的有无,所以可缩短在打印数据分发服务器SV变为能够发送打印数据之后到控制打印机SP接收打印数据为止所产生的时间。According to this configuration, since the control printer SP inquires the print data distribution server SV about the presence or absence of print data regardless of the processing status of the connected printer KP, it is possible to shorten the time period after the print data distribution server SV becomes capable of sending print data. Controls the time elapsed until the printer SP receives print data.

另外,在本实施方式中,控制打印机SP的接收用处理部JS与基于接收到的打印数据的由控制打印机打印部141进行的打印是否结束无关地空开间隔对打印数据分发服务器SV询问打印数据的有无。Also, in this embodiment, the reception processing unit JS of the control printer SP inquires of the print data distribution server SV for print data at intervals regardless of whether printing by the control printer print unit 141 based on the received print data is completed. with or without.

根据该结构,由于控制打印机SP与控制打印机打印部141的处理的状况无关地对打印数据分发服务器SV询问打印数据的有无,所以能够缩短在打印数据分发服务器SV变为能够发送打印数据之后到控制打印机SP接收打印数据为止所产生的时间。According to this configuration, since the control printer SP inquires of the print data distribution server SV for the presence or absence of print data regardless of the status of the processing of the control printer printing unit 141, it is possible to shorten the time period after the print data distribution server SV becomes capable of transmitting print data. Controls the time elapsed until the printer SP receives print data.

此外,上述的实施方式只是表示本发明的一个方式的例子,能够在本发明的范围内任意变形以及应用。In addition, the above-mentioned embodiment is only an example showing one form of the present invention, and can be modified and applied arbitrarily within the scope of the present invention.

例如,在上述的实施方式中,为了在执行非同步处理的情况下,判别是否从打印数据分发服务器SV重复接收到打印数据,接收用处理部JS将既接收到的打印数据的打印数据识别信息、与新接收到的打印数据的打印数据识别信息进行比较。但并不局限于此,接收用处理部JS例如也可以存储过去接收到的打印数据,并将过去接收到的打印数据与新接收到的打印数据的全部或者一部分进行比较,另外,还可以计算哈希值等,并对哈希值等进行比较。For example, in the above-mentioned embodiment, in order to judge whether or not print data has been repeatedly received from the print data distribution server SV when performing asynchronous processing, the reception processing unit JS sets the print data identification information of the received print data to , and compare with the print data identification information of the newly received print data. However, it is not limited thereto. For example, the receiving processing unit JS may also store the print data received in the past, compare the print data received in the past with all or part of the print data received newly, and calculate hashes, etc., and compare the hashes, etc.

在上述的实施方式中,例示了打印数据处理系统101在提供饮食物的店铺被使用的情况,但也可以设于其他的施设。In the above-mentioned embodiment, the case where the print data processing system 101 is used in a store that provides food and beverages was exemplified, but it may be installed in other facilities.

另外,图12、图13、图14所示的各功能模块能够由硬件和软件任意地实现,并不限于特定的硬件构成。In addition, each functional block shown in FIG. 12, FIG. 13, and FIG. 14 can be arbitrarily realized by hardware and software, and is not limited to a specific hardware configuration.

<变形例><Modifications>

接下来,对变形例进行说明。Next, modified examples will be described.

在变形例中,管理部KB、以及输出用处理部SS的处理不同。In the modified example, the processes of the management unit KB and the output processing unit SS are different.

在上述的实施方式中,输出用处理部SS从打印队列Q读出了打印数据。In the above-described embodiment, the output processing unit SS reads the print data from the print queue Q.

另一方面,也可以是管理部KB读出打印数据的构成。On the other hand, a configuration may be adopted in which the management unit KB reads out the print data.

详细而言,管理部KB在保存有打印数据的情况下取得打印数据所含的识别信息,在不存在与所取得的识别信息对应的输出用处理部SS的情况下,将与所取得的识别信息对应的输出用处理部SS起动。更详细而言,管理部KB在打印数据所含的识别信息是打印机KP的识别信息的情况下,使发送处理部S起动,在是控制打印机SP的识别信息的情况下,使打印输出用处理部SS4起动。Specifically, the management unit KB acquires the identification information contained in the print data when the print data is stored, and when there is no output processing unit SS corresponding to the acquired identification information, it associates the acquired identification information with the acquired identification information. The output corresponding to the information is activated by the processing unit SS. More specifically, the management unit KB activates the transmission processing unit S when the identification information contained in the print data is the identification information of the printer KP, and activates the printout processing unit S if it is the identification information of the control printer SP. Department SS4 starts.

在起动了输出用处理部SS之后,管理部KB针对打印队列Q中保存的未读出的打印数据,以所保存的顺序将打印数据所含的识别信息、与所取得的识别信息进行比较。管理部KB在识别信息一致的情况下,读出打印数据,并输出给起动了的输出用处理部SS。在打印数据的输出之后,管理部KB将打印数据向起动了的输出用处理部SS的输出停止,直到被输入表示处理结果的信息为止。After the output processing unit SS is activated, the management unit KB compares the identification information contained in the print data with the acquired identification information in the stored order of the unread print data stored in the print queue Q. When the identification information matches, the management unit KB reads out the print data and outputs it to the activated output processing unit SS. After the output of the print data, the management unit KB stops the output of the print data to the activated output processing unit SS until information indicating the processing result is input.

输出用处理部SS对被输入的打印数据进行处理。更详细而言,在输出用处理部SS是发送处理部S的情况下,输出用处理部SS对对应的打印机KP发送打印数据。在输出用处理部SS是打印输出用处理部SS4的情况下,输出用处理部SS对打印控制部40c输出打印数据。而且,输出用处理部SS将表示处理结果的信息输出给管理部KB。The output processing unit SS processes the input print data. More specifically, when the output processing unit SS is the transmission processing unit S, the output processing unit SS transmits the print data to the corresponding printer KP. When the output processing unit SS is the print output processing unit SS4, the output processing unit SS outputs the print data to the print control unit 40c. And the output processing part SS outputs the information which shows the processing result to the management part KB.

在被输入了表示处理结果的信息的情况下,管理部KB针对在上次读出的打印数据之后保存的打印数据,进行识别信息的比较,在一致的情况下,进行打印数据的读出、输出。在识别信息不一致的情况下,管理部KB针对之后保存的打印数据进行识别信息的比较、以及基于比较结果的处理。When the information indicating the processing result is input, the management unit KB compares the identification information with respect to the print data stored after the print data read last time, and reads out the print data, output. When the identification information does not match, the management unit KB compares the identification information and performs processing based on the comparison result with respect to the print data stored thereafter.

在打印队列Q中没有未读出且未实施识别信息的比较的打印数据的情况下,管理部KB通过将对应的任务停止,来停止起动了的输出用处理部SS。When there is no print data in the print queue Q that has not been read and the comparison of identification information has not been performed, the management unit KB stops the activated output processing unit SS by stopping the corresponding job.

通过该结构,也能够起到与上述的实施方式同样的效果。Also with this structure, the same effect as that of the above-mentioned embodiment can be exhibited.

例如,管理部KB对起动了的输出用处理部SS,以接收到的顺序输出输出用处理部SS成为处理对象的打印数据。因此,能够使打印机KP以接收到的顺序对打印数据进行处理,另外,能够以通过控制打印机SP接收到的顺序对打印数据进行处理。For example, the management unit KB outputs print data to be processed by the output processing unit SS in the order received to the activated output processing unit SS. Therefore, it is possible to cause the printer KP to process the print data in the order received, and also to process the print data in the order received by the control printer SP.

如以上说明那样,在变形例中,管理部KB以接收到的按顺序读出打印队列Q中保存的打印数据,对与读出的打印数据所含的识别信息对应的输出用处理部SS输出读出的打印数据。输出用处理部SS将从管理部KB输入的打印数据输出给对应的识别信息的打印机KP。As described above, in the modified example, the management unit KB reads the print data stored in the print queue Q in the received order, and outputs to the output processing unit SS corresponding to the identification information included in the read print data. Read the print data. The output processing unit SS outputs the print data input from the management unit KB to the printer KP of the corresponding identification information.

根据该结构,输出用处理部SS针对对应的打印机KP,以接收到的顺序发送打印数据,控制打印机SP在将从打印数据分发服务器SV接收到的打印数据发送给打印机KP的情况下,能够以从打印数据分发服务器SV接收到的顺序进行发送。According to this configuration, the output processing unit SS transmits the print data to the corresponding printer KP in the order received, and when the printer SP is controlled to transmit the print data received from the print data distribution server SV to the printer KP, it can be They are sent in the order received from the print data distribution server SV.

另外,在变形例中,管理部KB在对与一个识别信息对应的输出用处理部SS输出打印数据之后,到基于输出的打印数据的打印机KP的处理结束为止的间,不将下一个打印数据输出给与该一个识别信息对应的输出用处理部SS。In addition, in the modified example, after the management unit KB outputs the print data to the output processing unit SS corresponding to one piece of identification information, and until the processing of the printer KP based on the output print data ends, the next print data It outputs to the processing part SS for output corresponding to this one identification information.

根据该结构,管理部KB针对输出用处理部SS,能够在基于打印数据的打印结束之后,发送下一个打印数据。According to this configuration, the management unit KB can transmit the next print data to the output processing unit SS after printing based on the print data is completed.

另外,在变形例中,管理部KB在不存在与打印数据所含的识别信息对应的输出用处理部SS的情况下重新起动输出用处理部SS,在存在的情况下不起动输出用处理部SS。In addition, in the modified example, the management unit KB restarts the output processing unit SS if there is no output processing unit SS corresponding to the identification information contained in the print data, and does not start the output processing unit if it exists. SS.

根据该结构,能够防止与1个打印机KP对应地重复起动多个输出用处理部SS。According to this configuration, it is possible to prevent a plurality of output processing units SS from being repeatedly activated corresponding to one printer KP.

另外,在变形例中,管理部KB在起动了与一个识别信息对应的输出用处理部SS之后,打印队列Q中没有未读出的包括该一个识别信息的打印数据的情况下,将与该一个识别信息对应的输出用处理部SS停止。In addition, in the modified example, after the management unit KB activates the output processing unit SS corresponding to a piece of identification information, if there is no unread print data including the piece of identification information in the print queue Q, the The output processing unit SS corresponding to one piece of identification information stops.

根据该结构,在针对1个输出用处理部SS不需要处理的情况下,能够抑制该1个输出用处理部SS维持被不必要地起动的状态。According to this configuration, when processing is not required for one output processing unit SS, it is possible to suppress the one output processing unit SS from being unnecessarily activated.

另外,在变形例中,管理部KB在通过接收部40a将包括控制打印机SP的识别信息的打印数据保存到打印队列Q的情况下,使打印输出用处理部SS4起动,在从打印队列Q读出了包括控制打印机SP的识别信息的打印数据的情况下,将读出的打印数据输出给打印输出用处理部SS4。打印输出用处理部SS4将被输入的打印数据输出给打印控制部40c。In addition, in the modified example, when the management unit KB stores the print data including the identification information of the control printer SP in the print queue Q through the receiving unit 40a, it activates the print output processing unit SS4, and reads from the print queue Q. When the print data including the identification information of the control printer SP is read out, the read print data is output to the printout processing unit SS4. The print output processing unit SS4 outputs the input print data to the print control unit 40c.

根据该结构,控制打印机SP能够针对自身应该处理的打印数据以接收到的顺序进行处理来执行打印。According to this configuration, the control printer SP can process the print data that it should process in the order it was received, and execute printing.

附图标记说明:1…打印数据处理系统;40a…接收部;40b…输出部;40c…打印控制部;41…控制打印机打印部(打印部);101…打印数据处理系统;140a…接收部;140b…输出部;140c…打印控制部;141…控制打印机打印部;SV…打印数据分发服务器(打印数据分发装置);SP…控制打印机(信息处理装置、打印装置);JS…接收用处理部;JS1…第一接收用处理部(接收用处理部);JS2…第二接收用处理部(接收用处理部);JS3…第三接收用处理部(接收用处理部);SP…控制打印机(信息处理装置);SV…打印数据分发服务器(打印数据分发装置);SS1…第一输出用处理部(输出用处理部);SS2…第二输出用处理部(输出用处理部);SS3…第三输出用处理部(输出用处理部);SS4…打印输出用处理部(输出用处理部);Q…打印队列(存储区域);KB…管理部;KP1…第一打印机(打印设备);KP2…第二打印机(打印设备);KP3…第三打印机(打印设备)。Explanation of Reference Signs: 1...Print data processing system; 40a...Receiving part; 40b...Output part; 40c...Print control part; 41...Control printer printing part (printing part); 101...Print data processing system; 140a...Receiving part ; 140b...output unit; 140c...print control section; 141...control printer print section; SV...print data distribution server (print data distribution device); SP...control printer (information processing device, printing device); JS...reception processing JS1...first receiving processing unit (receiving processing unit); JS2...second receiving processing unit (receiving processing unit); JS3...third receiving processing unit (receiving processing unit); SP...control Printer (information processing device); SV...print data distribution server (print data distribution device); SS1...first output processing unit (output processing unit); SS2...second output processing unit (output processing unit); SS3...third output processing section (output processing section); SS4...print output processing section (output processing section); Q...print queue (storage area); KB...management section; KP1...first printer (print device); KP2...second printer (printing device); KP3...third printer (printing device).

Claims (20)

1. a kind of printing data processing system, which is characterized in that
Have multiple print data diostribution devices and is received from the information of print data from multiple print data diostribution devices Device is managed,
Described information processing unit accordingly starts multiple reception processing units with multiple print data diostribution devices,
The each of multiple reception processing units inquires the print data to the corresponding print data diostribution device Whether there is or not, when in the corresponding print data diostribution device there are being received when the print data, described in receiving Print data is saved in shared storage region.
2. printing data processing system according to claim 1, which is characterized in that
One reception of described information processing unit will received with processing unit from the print data diostribution device When the print data is saved in the storage region, other described reception processing units is forbidden to preserve institute to the storage region State print data.
3. printing data processing system according to claim 1 or 2, which is characterized in that
The reception of described information processing unit carries out the inquiry of the print data with processing unit at intervals of set time, can The value of the stipulated time is set with processing unit by each reception.
4. printing data processing system according to claim 1, which is characterized in that
Described information processing unit is connect with external device (ED), will include in the print data that preserved in the storage region The print data of the identification information of the external device (ED) is distributed to the external device (ED).
5. printing data processing system according to claim 1, which is characterized in that
Described information processing unit has the printing portion printed based on the print data, and institute is based on by the printing portion State the printing number of the identification information comprising described information processing unit in the print data preserved in storage region According to being printed.
6. printing data processing system according to claim 1, which is characterized in that
The printing data processing system has the printing device being connect with described information processing unit,
Described information processing unit has management department, and the management department is based on the print data institute preserved in the storage region The identification information contained starts output processing unit corresponding with the identification information,
The output is sequentially read the print data preserved in the storage region with what is received with processing unit, and will Including the print data of identification information corresponding with processing unit with the output is exported to the printing device.
7. printing data processing system according to claim 6, which is characterized in that
There is no the output processing unit corresponding with the identification information contained by the print data, the letter The management department for ceasing processing unit restarts the output processing unit, exists and the identification contained by the print data In the case of the corresponding output processing unit of information, the inoperative output of the management department of described information processing unit Use processing unit.
8. the printing data processing system described according to claim 6 or 7, which is characterized in that
It is not the print data for including identification information corresponding with the output processing unit in the storage region And in the case of the print data not read, the output of described information processing unit is stopped with processing unit.
9. printing data processing system according to claim 6, which is characterized in that
The identification information of identification information comprising the printing device or described information processing unit in the print data,
Described information processing unit controls the print control of the printing portion with printing portion and based on the print data Portion,
The print data of the identification information comprising described information processing unit is being preserved with processing unit by the reception In the case of the storage region, the management department of described information processing unit is by the identification with described information processing unit The corresponding output of information is started with processing unit,
The output processing unit corresponding with the identification information of described information processing unit, it is described with sequentially reading of receiving The print data preserved in storage region, the print data of the identification information comprising described information processing unit is defeated Go out to the print control section.
10. printing data processing system according to claim 1, which is characterized in that
The printing data processing system has the printing device being connect with described information processing unit,
Described information processing unit has management department, and the management department is based on the print data institute preserved in the storage region The identification information contained starts output processing unit corresponding with identification information,
The management department sequentially reads the print data preserved in the storage region with what is received, described in reading Print data output gives the corresponding output processing unit of identification information contained by the print data of reading,
The output is exported the print data inputted from the management department to the institute of corresponding identification information with processing unit State printing device.
11. printing data processing system according to claim 10, which is characterized in that
The management department of described information processing unit is from defeated to the output processing unit corresponding with an identification information Go out the print data play the printing device based on the print data outputed processing terminate until during, Next print data is not exported to the output corresponding with identification information processing unit.
12. printing data processing system described in claim 1, which is characterized in that
Whether terminate independently with the printing based on the print data received, the reception use of described information processing unit Reason portion is spaced as defined in being spaced apart to the presence or absence of described print data of print data diostribution device inquiry, for the inquiry In the case that response is indicated there are the print data, the reception of described information processing unit is executed with processing unit to the printing Data delivery device asks the first processing for sending and receiving the print data of the print data.
13. a kind of information processing unit, which is characterized in that
Be by the information processing unit of each external device start reception processing unit of the multiple external equipments connected,
Each reception processing unit of described information processing unit inquires having for print data to the corresponding external equipment Nothing, when there are being received when the print data, the print data received is protected in the corresponding external equipment It is stored to shared storage region.
14. information processing unit according to claim 13, which is characterized in that
Described information processing unit has management department, and the management department is based on the print data institute preserved in the storage region The identification information of the external device (ED) contained, to start output processing unit corresponding with identification information,
The output processing unit sequentially reads the print data preserved in the storage region with what is received, will include The print data of identification information corresponding with processing unit with the output is exported to the external device (ED).
15. information processing unit according to claim 13, which is characterized in that
Described information processing unit has management department, and the management department is based on the print data institute preserved in the storage region The identification information of the external device (ED) contained starts output processing unit corresponding with identification information,
The management department sequentially reads the print data preserved in the storage region with what is received, by the printing number The corresponding output processing unit of identification information contained by the print data of reading is given according to output,
The output is exported the print data inputted from the management department to the institute of corresponding identification information with processing unit State external device (ED).
16. information processing unit according to claim 13, which is characterized in that
Whether terminate independently with the printing based on the print data received from the external equipment, described information processing unit It is spaced as defined in being spaced apart to the external equipment and inquires the presence or absence of described print data, indicate exist in the response for the inquiry In the case of the print data, described information processing unit is asked the transmission of the print data to the external equipment and is connect Receive the print data.
17. a kind of printing equipment, which is characterized in that
It is there is the printing portion printed based on print data, and set by each outside of the multiple external equipments connected The standby printing equipment for starting reception processing unit,
Each reception of the printing equipment inquires having for the print data with processing unit to the corresponding external equipment Nothing, when there are being received when the print data, the print data received is protected in the corresponding external equipment It is stored to shared storage region.
18. printing equipment according to claim 17, which is characterized in that
The printing equipment has controls print control section and the management department of the printing portion, the management department based on print data The identification of identification information or the present apparatus based on the external device (ED) contained by the print data preserved in the storage region Information starts output processing unit corresponding with identification information,
The output processing unit corresponding with the identification information of the external device (ED) sequentially reads the storage with what is received The print data preserved in region will include the output processing unit corresponding with the identification information of the external device (ED) The print data of corresponding identification information is exported to the external device (ED),
The output processing unit corresponding with the identification information of the present apparatus sequentially reads the memory block with what is received The print data preserved in domain, will be right with processing unit institute comprising the output corresponding with the identification information of the present apparatus The print data for the identification information answered is exported to the print control section.
19. printing equipment according to claim 17, which is characterized in that
The printing equipment has controls print control section and the management department of the printing portion, the pipe based on the print data Identification information or the present apparatus of the reason portion based on the external device (ED) contained by the print data preserved in the storage region Identification information starts output processing unit corresponding with identification information,
The management department sequentially reads the print data preserved in the storage region with what is received, by the printing number The corresponding output processing unit of identification information contained by the print data of reading is given according to output,
The output processing unit corresponding with the identification information of the external device (ED), will from the management department input described in beat Printing according to output to corresponding identification information the external device (ED),
The output processing unit corresponding with the identification information of the present apparatus, the printing that will be inputted from the management department Data are exported to the print control section.
20. printing equipment according to claim 17, which is characterized in that
The reception processing unit of the printing equipment with based on the print data received from the external equipment Whether the printing carried out by the printing portion, which terminates, independently, is spaced apart defined be spaced to the external equipment and inquires the printing The presence or absence of data indicate, there are in the case of the print data, to ask to the external equipment in the response for the inquiry The print data sends and receives the print data.
CN201510258092.8A 2014-05-22 2015-05-20 Printing data processing system, information processing unit and printing equipment Expired - Fee Related CN105094714B (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2014106399A JP6442870B2 (en) 2014-05-22 2014-05-22 Print data processing system, information processing apparatus, and printing apparatus
JP2014106297A JP2015222482A (en) 2014-05-22 2014-05-22 Print data processing system, information processing device, and printing device
JP2014-106297 2014-05-22
JP2014-106399 2014-05-22
JP2014-126038 2014-06-19
JP2014126038A JP2016004513A (en) 2014-06-19 2014-06-19 Print data processing system, information processing apparatus, and printing apparatus

Publications (2)

Publication Number Publication Date
CN105094714A CN105094714A (en) 2015-11-25
CN105094714B true CN105094714B (en) 2018-09-04

Family

ID=54556291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510258092.8A Expired - Fee Related CN105094714B (en) 2014-05-22 2015-05-20 Printing data processing system, information processing unit and printing equipment

Country Status (2)

Country Link
US (1) US10210437B2 (en)
CN (1) CN105094714B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016016564A (en) * 2014-07-07 2016-02-01 キヤノン株式会社 Information processor, information processing method and program
JP6719950B2 (en) * 2016-04-15 2020-07-08 キヤノン株式会社 Data transmitting method, program, data transmitting apparatus, lithographic apparatus, and article manufacturing method
WO2019150847A1 (en) 2018-02-05 2019-08-08 パナソニックIpマネジメント株式会社 Recording system
JP6981292B2 (en) * 2018-02-14 2021-12-15 株式会社リコー Print system, job list provision method, print server device and program
JP7172244B2 (en) * 2018-07-26 2022-11-16 セイコーエプソン株式会社 PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD
CN110175007B (en) * 2019-06-04 2022-06-17 森大(深圳)技术有限公司 Method, device, equipment and storage medium for triggering printer to print
JP7451345B2 (en) * 2020-08-07 2024-03-18 東芝テック株式会社 Information processing device with password function and password setting method
JP7517029B2 (en) * 2020-09-28 2024-07-17 ブラザー工業株式会社 COMMUNICATION DEVICE AND COMPUTER PROGRAM FOR THE COMMUNICATION DEVICE
CN112905131B (en) * 2021-02-05 2023-12-15 深圳市商汤科技有限公司 Self-service printing background compatible method and device, equipment, storage medium and system
JP2023078523A (en) * 2021-11-26 2023-06-07 横河電機株式会社 Program, recording medium, method, and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038034A (en) * 1994-09-19 2000-03-14 Canon Kabushiki Kaisha Image processing apparatus and method therefor
US6545767B1 (en) * 1998-05-22 2003-04-08 Canon Kabushiki Kaisha Print server, printing control method, image forming apparatus, image forming method, image forming system, and storage medium
CN101595450A (en) * 2007-02-01 2009-12-02 高通股份有限公司 Be used to compile method and apparatus with reporting printing statistics

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3020699B2 (en) * 1991-12-04 2000-03-15 キヤノン株式会社 Printing equipment
US7095518B1 (en) * 2000-10-16 2006-08-22 Electronics For Imaging, Inc. Spooling server apparatus and methods for receiving, storing, and forwarding a print job over a network
JP4078201B2 (en) 2002-12-26 2008-04-23 キヤノン株式会社 Distribution system, control method therefor, and program
JP4428250B2 (en) * 2005-02-17 2010-03-10 セイコーエプソン株式会社 Print progress monitoring control of printing devices connected to the network
JP2007135047A (en) 2005-11-11 2007-05-31 Canon Inc Multifunctional printer
JP4719613B2 (en) 2006-04-21 2011-07-06 株式会社Pfu Form distribution system and form distribution method
JP4886501B2 (en) * 2006-12-21 2012-02-29 キヤノン株式会社 Printing apparatus, printing control method, and program
AU2008272894B2 (en) * 2007-07-02 2012-06-14 Pharos Systems International, Inc. Print management system and related methods
US8154737B2 (en) * 2007-07-11 2012-04-10 Sharp Laboratories Of America, Inc. Method and system for estimating color ink usage for a print job element
US8886556B2 (en) * 2008-10-06 2014-11-11 Xerox Corporation System and method for generating and verifying targeted advertisements delivered via a printer device
JP2011165009A (en) 2010-02-10 2011-08-25 Canon Inc Print job management apparatus, print job management method, and image forming apparatus
JP5549465B2 (en) * 2010-07-29 2014-07-16 ブラザー工業株式会社 Relay server, program, and printing system
JP2013200607A (en) 2012-03-23 2013-10-03 Dainippon Printing Co Ltd Distribution server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6038034A (en) * 1994-09-19 2000-03-14 Canon Kabushiki Kaisha Image processing apparatus and method therefor
US6545767B1 (en) * 1998-05-22 2003-04-08 Canon Kabushiki Kaisha Print server, printing control method, image forming apparatus, image forming method, image forming system, and storage medium
CN101595450A (en) * 2007-02-01 2009-12-02 高通股份有限公司 Be used to compile method and apparatus with reporting printing statistics

Also Published As

Publication number Publication date
US20150339549A1 (en) 2015-11-26
CN105094714A (en) 2015-11-25
US10210437B2 (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN105094714B (en) Printing data processing system, information processing unit and printing equipment
JP6116729B1 (en) Coupon delivery system
JP5524544B2 (en) Reception management device, customer reception terminal, and customer reception system using them
US20220180284A1 (en) Systems and methods for integrating ordered services
JP2008123388A (en) Peripheral device allocation method, information processing system, information processing apparatus, and management apparatus
Hill On the suboptimality of (S− 1, S) lost sales inventory policies
JP7394364B2 (en) Information processing equipment and programs
JP6442870B2 (en) Print data processing system, information processing apparatus, and printing apparatus
JP2019101758A (en) Shop support system, shop support method and program
JP2017004198A (en) Network system, network system control method, and control device
US9830539B2 (en) Printing system and control method for a printing device having multiple communication interfaces
JP2015222482A (en) Print data processing system, information processing device, and printing device
JP2015179451A (en) Inventory information browsing system, server device, and control program
JP2016004513A (en) Print data processing system, information processing apparatus, and printing apparatus
JP6376233B2 (en) Sales data processing apparatus and program
KR101917547B1 (en) Network system and communication method
JP6344152B2 (en) Recording apparatus and method for controlling recording apparatus
JP6421556B2 (en) Printing device
JP2016097543A (en) Printing apparatus and printing system
JP6107853B2 (en) Sales data processing apparatus and program
JP5682398B2 (en) Information processing apparatus, information processing program, and information processing system
JP6428191B2 (en) Printing apparatus and printing system
JP6155208B2 (en) Delivery order reception system, delivery order reception method and control program
CN106251519B (en) Network system, control method of network system, and terminal
JP3923597B2 (en) Seat ticket sales system and ticket vending machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180904

Termination date: 20210520

CF01 Termination of patent right due to non-payment of annual fee
OSZAR »