JP2005047252A - Output unit, radio communication unit, and output processing unit - Google Patents

Output unit, radio communication unit, and output processing unit Download PDF

Info

Publication number
JP2005047252A
JP2005047252A JP2004034188A JP2004034188A JP2005047252A JP 2005047252 A JP2005047252 A JP 2005047252A JP 2004034188 A JP2004034188 A JP 2004034188A JP 2004034188 A JP2004034188 A JP 2004034188A JP 2005047252 A JP2005047252 A JP 2005047252A
Authority
JP
Japan
Prior art keywords
data
unit
output device
wireless communication
determination unit
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.)
Pending
Application number
JP2004034188A
Other languages
Japanese (ja)
Inventor
Hirotaka Akamatsu
Kiyoshi Hashimoto
Akihito Tanimoto
潔 橋本
晃仁 谷本
裕隆 赤松
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 to JP2003302052 priority Critical
Application filed by Seiko Epson Corp, セイコーエプソン株式会社 filed Critical Seiko Epson Corp
Priority to JP2004034188A priority patent/JP2005047252A/en
Publication of JP2005047252A publication Critical patent/JP2005047252A/en
Application status is Pending legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To lessen the burden of processing by finding inappropriate data transmitted from a portable terminal, or the like, to an output unit in the early stage and discarding that data. <P>SOLUTION: A printer 1 receives data from a portable telephone 14 through a CF type communication card (infrared communication card) 13. The printer 1 sets up the data of corresponding extensions "jpeg", "vnt" and "vcf" in the CF type communication card 13. The CF type communication card 13 compares the extension of data received from the portable telephone 14 with the corresponding extensions "jpeg", "vnt" and "vcf". If the extension of data matches any one of corresponding extensions, that data is transferred to the printer 1 and if it does not match any one of corresponding extensions, that data is discarded. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

  The present invention relates to an output device that receives data from a mobile terminal such as a mobile phone and performs output processing based on the data, and more particularly to a technique for determining the suitability of data.

  In recent years, many mobile phones are equipped with an infrared communication port as standard. The mobile phone stores personal information data such as names of acquaintances entered through the phone book function, phone numbers, e-mail addresses, etc., and image data taken with the camera function, and these data are to be printed on a printer. There is a request.

  2. Description of the Related Art Conventionally, a technique for connecting a portable personal computer (referred to as a personal computer) and a printer by infrared communication and printing data of the personal computer is known (for example, Patent Document 1). According to Patent Document 1, a printer communication adapter attached to a printer main body is configured to receive print data from a personal computer or the like by infrared communication. During the communication with the personal computer, the display LED provided in the printer communication adapter is lit, and the display LED blinks when the communication failure continues for a predetermined time.

In addition, personal information created by the phone book function of the mobile phone and image data taken by the camera function are stored in a unique file format. For example, personal information is in a vCard file format, and image data is in a vNote file format. Data stored in these file formats is displayed in a predetermined layout determined by a display-dedicated application program provided in the mobile phone, and the data itself does not have layout information.
JP-A-8-300772

  By the way, in the case of a printer equipped with a plurality of types of communication units having different communication methods such as radio wave communication, infrared communication, and USB, for example, usually only one communication unit to which data first arrives is effective. For this reason, while the previously received data is being processed, a reception error occurs even if the data is transmitted to another communication unit. However, since the operator cannot determine whether or not the printer is ready to receive data, there is a possibility that a reception error will occur every time data is transmitted. For example, it may be notified that the display LED is in a receivable state, but it may occur sufficiently when the user misses it and transmits data. Data that can be printed by the printer is limited to a specific data type, and if the data type does not match, the data cannot be accepted.

  For example, when unsupported data that does not match the data type is transmitted, the data is received by the communication adapter and then transferred to the printer body. While unsupported data occupies the communication port for this transfer, an error occurs even if data is transmitted to another communication unit, causing inconvenience that reception is not possible due to unsupported data that is eventually discarded. There was a problem.

  An object of the present invention is to provide an output device, a wireless communication device, and an output processing unit that can reduce processing load by finding and discarding inappropriate data transmitted from a portable terminal or the like to the output device at an early stage. There is.

  In order to solve the above-mentioned problem, the present invention provides an output device comprising: a receiving unit that receives data from a portable terminal; and an output unit that performs output processing based on data received through the receiving unit. The means determines the suitability of the received data, and if the data is determined to be appropriate by the determination unit, the means accepts the data and sends it to a predetermined processing unit, and the data is determined to be inappropriate. In this case, the gist is provided with a receiving unit that discards the data.

  According to this, the determination unit determines whether the data received by the receiving unit is appropriate. If it is determined that the data is appropriate, the data is accepted and sent to a predetermined processing unit. On the other hand, if it is determined that the data is inappropriate, the data is discarded. For this reason, it is possible to avoid a delay in error detection in which it is determined that the data is inappropriate after being sent from the receiving means to the predetermined processing unit.

  In the output device of the present invention, the determination unit determines whether or not the data is appropriate from the data type of the received data, and the reception unit receives the data when the data type is determined to be appropriate. The gist is to discard the data when the data type is determined to be inappropriate.

  According to this, whether or not the data type of the received data is appropriate is determined, and if the data type is determined to be appropriate, the data is accepted and sent to a predetermined processing unit, while the data type is determined to be inappropriate. If so, the data is discarded. Since it is only necessary to determine the data type, it is not always necessary to check the contents of the data for determining the suitability, and there is room for selecting a relatively simple determination method.

  In the output device of the present invention, the determination unit determines whether the data type is appropriate from the extension of the received data, and the reception unit determines that the extension is a corresponding extension. The gist is to accept the data and send it to a predetermined processing unit, and when it is determined that the extension is an unsupported extension, the data is discarded.

According to this, since the suitability of the data type is determined from the extension of the data, the determination method for determining the suitability of the data can be simplified.
In the output device of the present invention, the receiving unit includes a wireless communication device detachably connected to the output device body, and the determination unit and the reception unit are provided in the wireless communication device, and the determination unit Is provided with setting means for setting up the reference data used for determining the suitability of the data in the wireless communication device.

  According to this, the reference data used for determining the suitability of the data is set up in the wireless communication device, and when determining the suitability of the data, the suitability of the data is determined using the reference data set up in the wireless communication device. Determined. For this reason, even when the corresponding data varies depending on the model of the output device, the wireless communication device can be shared between the output devices of different models.

In addition, the gist of the output device of the present invention is provided with notifying means for notifying the determination result of the determining unit.
According to this, the determination result of the determination unit is notified by the notification means. Therefore, the user can recognize that inappropriate data has been transmitted.

  Furthermore, the present invention provides an output device that receives data via a wireless communication device detachably attached to the output device main body and performs output processing based on the received data. A receiving unit that receives data transferred from the wireless communication device to the output device main body without being discarded because the first determining unit that determines appropriateness is determined to be appropriate, and determines whether the data received by the receiving unit is appropriate The gist of the present invention is that a second determination unit is provided.

  According to this, for example, the data transmitted from the mobile terminal is received by the wireless communication device, and the first determination unit determines whether the received data is appropriate. Data determined as appropriate by the first determination unit is transferred from the wireless communication device to the output device. The transferred data is received by the receiving unit on the output device side, and the second determining unit determines whether the received data is appropriate.

  Thus, at least two times of data, the first check by the first determination unit of the data received by the wireless communication device and the second check by the second determination unit of the data transferred from the wireless communication device to the output device main body side. A check is made. Therefore, inadequate data that is missed by the determination method of the first determination unit in the wireless communication device and sent to the output device can be found by the second determination unit on the output device side, and can be discarded, for example, before a predetermined process . Further, data determined as inappropriate by the first determination unit in the wireless communication device is discarded by the wireless communication device and is not transferred to the output device. Therefore, it is possible to reduce the processing load including the determination process of the second determination unit in the output device.

The gist of the present invention is that the second determination unit sends the data to a predetermined processing unit when it is determined to be appropriate, and discards the data when it is determined to be inappropriate.
According to this, when the second determination unit determines that the transferred data is appropriate, the second determination unit sends the data to a predetermined processing unit, and when it determines that the transferred data is inappropriate, the second determination unit discards it. Accordingly, it is possible to eliminate the waste of processing the inappropriate data by the processing unit.

The gist of the present invention is that the second determination unit determines the suitability of the data by a method different from that of the first determination unit.
According to this, the suitability of the data transferred from the wireless communication device to the output device main body is determined by the second determination unit in the output device main body by a method different from the first determination unit. Since the data check is shared between the wireless communication device and the output device body in this way, the processing load of the wireless communication device can be reduced, and inappropriate data can be discarded at an early stage of reception within the wireless communication device, The processing burden on the output device body side can be reduced. Further, when a heavy data check such as a plurality of checks is performed by the wireless communication device, it is necessary to increase the capacity of a buffer for temporarily storing data, which may increase the size of the wireless communication device. However, since the data check is shared on the output device main body side, the wireless communication device does not need to include a determination unit having a high processing capability and a relatively large capacity buffer.

  In the output device of the present invention, the first determination unit determines whether the data is appropriate based on the extension of the data, and the second determination unit checks the content of the data to determine whether the data is appropriate. Is the gist.

  According to this, the first determination unit determines the suitability of the data based on the extension of the data, and the second determination unit analyzes the data content to determine the suitability of the data. For this reason, data is discarded at an early stage if it is determined to be inappropriate by a simple data check in which the extension is checked by the first determination unit. Therefore, processing for sending data to the next stage and various processing after sending Can be omitted.

  Furthermore, in the output device of the present invention, the output device body includes at least one communication unit in addition to the communication unit to which the wireless communication device is connected, and cannot receive data simultaneously from all the communication ports of the plurality of communication units. It is summarized as follows.

  According to this, a plurality of communication units including the communication unit to which the wireless communication device is connected to the output device main body cannot receive data at the same time. Even in this case, if the determination unit in the wireless communication device determines that the data cannot be handled, the data is not transferred to the output device side. Therefore, since the port for transferring from the wireless communication device to the output device main body side is occupied, data reception of other communication units is not hindered. Therefore, efficient communication can be realized without unnecessarily hindering reception of other communication units.

  In the output device of the present invention, the predetermined processing unit performs format conversion processing for converting data in a data format that cannot be layout-defined into data in a data format that can be layout-defined, and the determination unit is configured to perform the predetermined processing unit Is determined to be a data format that can be format-converted, and if the predetermined processing unit is a data format that can be format-converted, at least the data is determined to be appropriate and sent to the next process And

  According to this, for example, when data in a data format that cannot be defined for layout is transmitted from a portable terminal, a format conversion process for converting the data into data in a data format that can be defined for layout is performed by a predetermined processing unit in the output device that has received the data. Done. Prior to this, the second determination unit determines whether or not the data format of the data is a data format that can be subjected to format conversion processing. If the data format is capable of format conversion processing, the second determination unit sends the data to a predetermined processing unit. Accordingly, data in a data format that can be converted by the predetermined processing unit is determined to be appropriate by the determination unit and sent to the predetermined processing unit.

The gist of the output device of the present invention is that it includes an informing means for distinguishing and informing each determination content when the first determination unit and the second determination unit determine inappropriate data.
According to this, each determination content when the first determination unit and the second determination unit determine inappropriate data is distinguished and notified by the notification unit. Therefore, the user can specify from the determination content notified by the notification means to the content (cause) of the reception error.

  Further, the present invention is a wireless communication device that is detachably attached to an output device body of an output device that performs output processing based on data received from a mobile terminal, in order to receive data from the mobile terminal, A determination unit that determines whether the received data is appropriate; and when the data is determined to be appropriate by the determination unit, the data is accepted and transferred to the output device body, and the data is determined to be inappropriate Is provided with a receiving unit for discarding the data.

  According to this wireless communication device, the determination unit determines whether the data received by the wireless communication device is appropriate. If it is determined that the data is appropriate, the data is accepted and transferred to the output device main body. On the other hand, if it is determined that the data is inappropriate, the data is discarded. For this reason, it is avoided that inappropriate data is sent to the output device main body, wasteful processing in the output device main body can be reduced, and error detection delay is avoided.

  In the wireless communication device of the present invention, the determination unit determines whether the data is appropriate from the data type of the received data, and the reception unit receives the data when the data type is determined to be appropriate. The gist is that the data is sent to a predetermined processing unit on the output device body side, and the data is discarded when the data type is determined to be inappropriate.

  According to this wireless communication device, the suitability of the data type of the received data is determined. If the data type is determined to be appropriate, the data is accepted and sent to a predetermined processing unit on the output device body side, If the data type is determined to be inappropriate, the data is discarded. Since it is only necessary to determine the data type, it is not always necessary to check the contents of the data for determining the suitability, and there is room for selecting a relatively simple determination method.

  In the wireless communication device of the present invention, the determination unit determines whether or not the data type is appropriate from the extension of the received data, and the reception unit determines that the extension is a corresponding extension. The gist is to accept the data and send it to a predetermined processing unit on the output device main body side, and discard the data when it is determined that the extension is an unsupported extension.

According to this wireless communication device, since the suitability of the data type is judged from the extension of the data, the judgment method for judging the suitability of the data is simple.
The wireless communication device of the present invention is characterized in that it includes a storage unit in which the reference data used by the determination unit to determine the suitability of the data is set up by setting means of the output device main body.

  According to this wireless communication device, the reference data used for determining the suitability of data in the storage unit included in the wireless communication device is set up in the wireless communication device by the setting unit of the output device, and the suitability of the data is determined. In doing so, the suitability of the data is determined using the reference data set up in the wireless communication device. For this reason, even when the corresponding data varies depending on the model of the output device, the wireless communication device can be shared between the output devices of different models.

In addition, the gist of the wireless communication device of the present invention is provided with notifying means for notifying the determination result of the determining unit.
According to this wireless communication device, the determination result of the determination unit is notified by the notification means. Therefore, the user can recognize that inappropriate data has been transmitted.

  The gist of the wireless communication device of the present invention is that the data that is not discarded because the determination unit determines that it is appropriate is transferred to the output device body so as to be determined by the second determination unit of the output device body. To do.

  According to this wireless communication device, for example, data transmitted from a portable terminal is received by the wireless communication device, and the determination unit of the wireless communication device determines whether the received data is appropriate. The data determined as appropriate by the determination unit of the wireless communication device is transferred to the output device main body, and the suitability of the transferred data is determined by the second determination unit.

  The data received in this way is at least two data checks: a first check by the determination unit of the wireless communication device and a second check by the second determination unit of the output device body that is the transfer destination from the wireless communication device. Is done. Therefore, inadequate data that is missed by the determination method in the determination unit in the wireless communication device and sent to the output device main body is detected by the second determination unit on the output device main body side, and discarded, for example, before predetermined processing. it can. In addition, data determined as inappropriate by the determination unit in the wireless communication device is discarded by the wireless communication device and is not transferred to the output device body. Accordingly, it is possible to reduce the burden of processing including determination processing in the second determination unit in the output device main body.

  In the wireless communication device of the present invention, the determination unit determines whether the data is appropriate based on the extension of the data, and the second determination unit determines data that is not discarded because the determination unit determines that the data is appropriate. The gist is to analyze the content of the data and transfer it to the output device main body to determine whether the data is appropriate.

  According to this wireless communication device, the determination unit determines whether the data is appropriate based on the extension of the data, and the second determination unit analyzes the data contents to determine whether the data is appropriate. For this reason, if it is determined to be inappropriate by a simple data check that looks at the extension in the determination unit of the wireless communication device, the data is discarded at an early stage, so the process of sending data to the next stage and after sending Various processes can be omitted.

  In the wireless communication device of the present invention, the output device main body includes at least one communication unit in addition to the communication unit to which the wireless communication device is detachably connected, and includes all communication ports of the plurality of communication units. It is configured not to receive data at the same time, and the gist is to receive data from the portable terminal only when the communication unit for a wireless communication device among the plurality of communication units is receivable.

  According to this wireless communication device, all of the plurality of communication units including the communication unit connected to the output device main body cannot receive data simultaneously. Even in this case, if the determination unit in the wireless communication device determines that the data cannot be handled, the data is not transferred to the output device side. Therefore, since the port for transferring from the wireless communication device to the output device main body side is occupied, data reception of other communication units is not hindered. Therefore, efficient communication can be realized without unnecessarily hindering reception of other communication units.

  In the wireless communication device of the present invention, the predetermined processing unit included in the output device main body performs a format conversion process for converting data in a data format that cannot be layout-defined into data in a data format that can be layout-defined, and the determination unit The gist is to determine whether or not the predetermined processing unit has a data format that can be subjected to format conversion processing.

  According to this wireless communication device, for example, when data in a data format that cannot be layout-defined is transmitted from a portable terminal, a format conversion process for converting the data into data in a data format that can be layout-defined within the output device body that has received the data is predetermined. It is performed by the processing unit. Prior to this, the determination unit of the wireless communication device determines whether or not the data has a data format that can be converted by a predetermined processing unit. Accordingly, it is possible to eliminate the waste of processing the inappropriate data by the predetermined processing unit on the output device main body side.

Further, the gist of the wireless communication device of the present invention is provided with a notifying means for distinguishing and notifying each determination content when the determination unit and the second determination unit determine inappropriate data.
According to this wireless communication device, each determination content when the determination unit and the second determination unit determine inappropriate data is distinguished and notified by the notification unit. Therefore, the user can specify from the determination content notified by the notification means to the content (cause) of the reception error.

The present invention is also an output processing unit comprising the wireless communication device and the output device having an output device body to which the wireless communication device is detachably attached.
According to this output processing unit, it is possible to obtain the same effects as the invention of the output device.

DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, an embodiment of the invention will be described with reference to the drawings.
FIG. 1 is a perspective view of the printer 1. In FIG. 1, a printer 1 as an output device is an ink jet printer, and a sheet feeder 4 and a roll paper support 5 of an automatic paper feeder 3 are provided on the back side of a main body 2. A sheet paper (not shown) is set in the sheet feeder 4 and fed into the main body 2. Further, the roll paper P 1 is set on the roll paper support portion 5 and fed into the main body 2. A cover 6 is provided in the center of the main body 2, and a printing mechanism is provided in the cover 6, and a sheet P (cut sheet paper or roll paper) as a printing medium printed by the operation of the printing mechanism. The paper is discharged from the front lower discharge port 7. An operation panel 8 is provided on the right side of the upper surface of the main body 2.

  As shown in FIG. 2, the operation panel 8 includes a display device 9 having a display screen 9a and an operation unit 10 including a plurality of operation switches. The display device 9 is a liquid crystal display device, and displays, for example, a menu for manually selecting a paper type (cut sheet or roll paper), paper size, layout, photo selection, number of prints, and the like on the display screen 9a. .

  The operation unit 10 is also provided with a power switch 10a for powering on the printer 1, a maintenance switch 10b that is pressed when an error occurs, and a roll paper switch 10c that is pressed when operating the roll paper. Further, the operation unit 10 is provided with a print start switch 10d, a cancel switch 10e, an upper switch 10f, a lower switch 10g, a determination switch 10h, and a return switch 10i. The print start switch 10d is pressed when starting to print an image on a cut sheet or roll paper. The cancel switch 10e is pressed when canceling printing that is being executed or when discarding the input content on the display screen 9a when the printer is in a non-printing state. The upper switch 10f and the lower switch 10g are pressed when selecting a menu on the display screen 9a, moving a cursor when selecting various setting items, or increasing / decreasing numerical values to be input. The decision switch 10h is pushed when the display on the display screen 9a is advanced to the next screen or when the setting content input using the display screen 9a is confirmed. The return switch 10i is operated when returning the screen displayed on the display screen 9a to the initial screen or when returning the display of the display screen 9a to the previous screen.

  As shown in FIG. 1, a second display device 11 is attached to the upper right side of the main body 2 of the printer 1. A print image to be printed on the paper P is displayed in advance on the display screen 11 a of the second display device 11.

  A card slot (CF card slot) 12 is provided on the front right side of the main body 2, and the card slot 12 has a CF (compact flash (R)) type card (infrared communication card) (hereinafter referred to as a CF type) with a built-in infrared communication function. (Referred to as a communication card) 13 is set to be insertable / removable. The CF type communication card 13 is an IrDA module having an infrared communication function compliant with IrDA (Infrared Data Association), and is set in the card slot 12 so that the printer 1 has an infrared communication function capable of receiving infrared data. Give. The printer 1 takes in data received from the mobile phone 14 by the CF type communication card 13 and performs a printing process based on the data.

  The mobile phone 14 in the present embodiment includes a telephone function and an infrared communication function, a telephone book function capable of registering and managing personal information including a telephone number, an electronic mail function capable of sending and receiving electronic mails with other mobile phones, It has multiple functions such as a camera function that can capture still images or moving images. The mobile phone 14 manages personal information data (text data) handled by the phone book function and image data handled by the camera function in a file format compatible with infrared communication. Specifically, personal information data is managed in the vCard (TM) file format, and image data is managed in the vNote (TM) file format. Therefore, personal information data in the vCard file format or image data in the vNote file format managed by the mobile phone 14 is received by the printer 1 through the CF type communication card 13 set in the card slot 12. The mobile phone 14 can send and receive e-mails and image data to and from other mobile phones and personal computers through the mobile phone network. If a CF memory card for a digital camera is set in the card slot 12, image data captured by the digital camera can be read from the CF memory card to the printer 1 and printed.

  As shown in FIG. 3, the CF-type communication card 13 is provided with an infrared light receiving / emitting unit 13a and a display unit 13b serving as communication ports on the front surface (front surface). The infrared light emitting / receiving unit 13a includes a light receiving element and a light emitting element, and the light emitting element emits infrared light composed of a pulse signal modulated by a carrier wave having a carrier frequency of, for example, 25 to 50 kHz by turning on / off the light emission. The light receiving element outputs infrared light composed of bit signals expressed in the same manner. The display unit 13b includes a plurality of light emitting diodes (LEDs) having different emission colors, and notifies the data reception state of the CF type communication card 13 by a combination of the emission color, lighting, blinking, and extinguishing. A connector (not shown) is formed on the back surface of the CF-type communication card 13, and this connector is electrically connected to a printer-side connector provided on the back surface of the card slot 12. The CF-type communication card 13 constitutes a communication interface unit for IrDA communication.

  As shown in FIG. 1, the infrared light receiving / emitting unit 13 a and the display unit 13 b provided on the front surface of the CF type communication card 13 are in a position where the CF type communication card 13 is exposed in a state where it is set in the card slot 12. Both are visible from the user (operator) who operates the mobile phone 14. The maximum communicable distance between the infrared light emitting / receiving units 13a and 20 (hereinafter referred to as the maximum communication distance) is, for example, a value within 10 to 50 cm. Since infrared is a communication medium having relatively high directivity, when transmitting data from the mobile phone 14, the infrared light receiving / emitting unit 20 of the mobile phone 14 is directed to the infrared light receiving / emitting unit 13a at a predetermined spread angle (60 degrees in this example). ) It is necessary to keep the state as straight as possible within about 10 seconds to 1 minute required for data transmission. At this time, the display unit 13b and the infrared light receiving / emitting unit 13a are both provided in the CF type communication card 13, so that the user (operator) who operates or holds the mobile phone 14 enters the same field of view. ing.

  FIG. 4A shows the mobile phone viewed from the front. As shown in the figure, the mobile phone 14 includes a plurality of operation buttons 15 (15a to 15c, etc.), a mouthpiece 16, a mouthpiece 17, a display 18, and a CCD (Charge-Coupled Device) imaging device 19. .

  While using the camera function, the mobile phone 14 displays an image captured by the CCD imaging device 19 on the display 18 and operates the operation button 15b as a shutter to display the captured image as one image. Can be saved as data.

  In the present embodiment, image data (still image data) captured by the camera function of the mobile phone 14 is stored in the mobile phone 14 as JPEG data, and the mobile phone 14 transmits the image data to the printer 1 by infrared communication. 14 is converted into vNote (TM) format, which is one of the file formats compatible with infrared communication, and transmitted. The printer 1 received in this vNote format encodes (compresses) JPEG data with an encode / decode converter called Base64, and is stored as encoded JPEG image data. In addition, the cellular phone 14 can register the personal information created on the display 18 by operating the operation button 15a using the phone book function.

  FIG. 4B shows an example of personal information registered and displayed on the display using the telephone directory function of the mobile phone. The personal information registration method will be described. First, when the operation button 15 is operated to select the personal information creation mode (new registration mode) of the telephone book function, the personal information creation program built in the mobile phone 14 is activated. . On the display 18, items shown on the left side in FIG. 4B, that is, “name”, “phonetic”, “phone number 1”, “phone number 2”, “phone number 3”, “e-mail address 1” "," E-mail address 2 "," E-mail address 3 "," Address "and" Memo (note) "are displayed. After selecting a desired item by operating the operation button 15c, the corresponding data is input, and this is repeated as many times as necessary to create one piece of personal information as shown in FIG. . Personal information data (text data) created by the telephone directory function is stored in the vCard (TM) format, which is one of the file formats compatible with infrared communication in this embodiment.

  Further, the mobile phone 14 has an infrared communication function compliant with IrDA (Infrared Data Association), and an infrared light receiving / emitting unit 20 (shown in FIG. 1) for performing infrared communication with the CF type communication card 13. ). The cellular phone 14 transmits image data and personal information data to the CF-type communication card 13 by operating the operation buttons 15. The infrared light receiving / emitting unit 20 includes a light receiving element and a light emitting element that can receive and issue the same infrared communication method as the infrared light receiving / emitting unit 13 a provided in the CF type communication card 13.

Next, the electrical configuration of the printer 1, the CF-type communication card 13, and the mobile phone 14 configured as described above will be described with reference to FIG.
First, the electrical configuration of the mobile phone 14 will be described. The mobile phone 14 includes a control unit 21, a memory 22, a transmission / reception unit 23, a microphone 24, a speaker 25, an operation button 15, a display 18, a CCD imaging device 19, and an infrared light receiving / emitting unit 20.

  In the memory 22, image data and personal information data captured by the CCD imaging device 19 are temporarily stored by the control unit 21. The microphone 24 outputs the voice spoken at the earpiece 16 to the control unit 21 as a voice signal. The speaker 25 converts the sound signal output from the control unit 21 into sound and outputs it from the mouthpiece 17.

  The transmission / reception unit 23 is an input / output interface, and transmits the audio signal, mail, and image data output from the control unit 21 to another mobile phone or personal computer, and also transmits the voice signal, mail from other mobile phone or personal computer. The image data is received and output to the control unit 21.

  The control unit 21 includes a CPU, a ROM, an EEPROM, and the like, and the CPU executes various operations based on a control program and various application programs stored in the ROM and the EEPROM. That is, the control unit 21 executes the processing operation for the above-described call, creation of mail, transmission / reception and storage of data based on the operation of the operation button 15. The control unit 21 executes a processing operation for displaying and storing image data captured by the CCD imaging device 19 based on the operation of the operation button 15. At this time, the image data stored in the memory 22 is stored in the JPEG data format by the control unit 21. The control unit 21 executes a processing operation based on the operation of the operation button 15 for creating and storing personal information. At this time, the personal information data (text data) stored in the memory 22 is stored in the business card data format (in this example, the vCard format) by the control unit 21.

  Further, the control unit 21 executes a processing operation for transmitting the stored personal information data and image data to the printer 1 (CF type communication card 13) via the infrared light receiving / emitting unit 20 based on the operation of the operation button 15. To do. When transmitted from the control unit 21 to the CF-type communication card 13, personal information data is transmitted in the vCard file format, and image data (encoded JPEG data) is transmitted in the vNote file format. The control unit 21 transmits these according to the object exchange protocol. In this embodiment, IrOBEX (TM) used for exchanging objects called v format such as a telephone directory (vCard), a schedule (vCalender), and a memo (vNote) is adopted as an object exchange protocol.

Next, the electrical configuration of the CF type communication card 13 will be described.
The CF type communication card 13 includes a card control unit 31, a memory 32, a card side UART (Universal Asynchronous Receiver Transmitter) 33, a printer side UART (Universal Asynchronous Receiver Transmitter) 34, an infrared light receiving and emitting unit 13a, and a display unit (LED) 13b. Have.

  The card control unit 31 controls the memory 32, the card side UART 33, the infrared light emitting / receiving unit 13a, and the display unit 13b. The card control unit 31 includes a CPU, a ROM, and the like, and the CPU executes various operations based on a control program and various application programs stored in the ROM. When the card control unit 31 receives data from the mobile phone 14 via the infrared light emitting / receiving unit 13a, the card control unit 31 instructs the card-side UART 33 to transfer the object data (personal information data or image data) to the printer 1. . At this time, a part of the memory 32 is used as a buffer for temporarily storing object data.

  The card side UART 33 converts object data (personal information data or image data) into a serial bit stream based on an instruction from the card control unit 31 and outputs the serial bit stream to the printer side UART 34.

  The printer-side UART 34 is controlled by the communication interface 45 on the printer 1 side via a bus 35 that is connected when both connectors are electrically connected with the CF-type communication card 13 set in the card slot 12. When the printer-side UART 34 starts receiving object data from the card-side UART 33, the printer-side UART 34 outputs an interrupt signal to request the printer 1 to read the data. When the printer 1 that receives this interrupt signal opens the input port, reading of object data into the printer 1 is started. At this time, the printer-side UART 34 converts the serial bit stream received from the card-side UART 33 into parallel byte data and outputs the object data to the printer 1 side.

  The printer-side UART 34 outputs various signals input from the printer 1 side to the card control unit 31 via the card-side UART 33. The card control unit 31 monitors various signals input from the printer 1 side, manages the data reception state (communication status), and controls display of the display unit 13b in a lighting mode according to the communication status at that time. Therefore, the data reception state is notified to the user by the lighting mode of the display unit 13b provided on the front surface of the CF type communication card 13. At this time, the card control unit 31 transmits the communication status information to the mobile phone 14 via the infrared light emitting / receiving unit 13a, and the display 18 of the mobile phone 14 displays the data reception state on the printer 1 side as character information or the like. Is done.

Next, the electrical configuration of the printer 1 will be described.
The printer 1 has a CPU 41, ROM 42, EEPROM 43, RAM 44, communication interface 45, ASIC (Application Specific IC) 46, drivers 47 a to 47 e, and user interface 48, which are electrically connected to each other via a data bus 49. Has been.

  The communication interface (I / F) 45 includes a communication interface unit 45a, a parallel communication unit 45b, a Bluetooth (TM) communication unit 45c, a USB (Universal Serial Bus) communication unit 45d, a slot communication unit 45e, and a serial communication unit ( (Not shown). Each of the communication units 45b to 45e has a communication port (input / output port), and the communication interface unit 45a is composed of, for example, a group of communication interfaces provided independently for each of the communication units 45b to 45e. When each of the communication units 45b to 45e receives data, the communication unit 45b to 45e notifies the CPU 41 that manages the priority of communication (data reception). The CPU 41 determines whether the data can be received based on the reception information received from the communication interface unit 45a. For example, when the first data is received after the next data can be received, the communication unit Command to open the input port. The communication interface unit 45 a receives data sent from a predetermined host device by opening one of the input ports of the communication units 45 b to 45 e in accordance with an instruction from the CPU 41, and sends it to a common data bus 49. Output. When data arrives first in any one of the plurality of input ports, the communication interface unit 45a starts taking in data from that port and continues to other ports until the data is taken in. In a busy state, data reception from other ports is prohibited. The communication interface unit 45a performs such processing in accordance with instructions from the CPU 41. When reception of data from one communication port is started, the CPU 41 secures a data transfer path through which the received data reaches the printing process until the end of the printing, and receives data from other communication ports during that time. The communication interface unit 45a is instructed to be prohibited. Further, the CPU 41 performs an interlock process for permitting or prohibiting data reception from the communication port.

  When the communication interface unit 45a receives a reception request from the host device or the CF-type communication card 13, the CPU 41 receives a notification to that effect from the communication interface unit 45a. Based on the communication information, the communication port availability state And the communication port being received.

  The parallel communication unit 45b can receive data from a host computer (personal computer) HC via a communication cable via parallel communication. The Bluetooth communication unit 45c can receive data from the Bluetooth-compatible mobile terminal BC by short-range wireless communication using radio waves in a predetermined standard frequency band according to a predetermined communication protocol. The USB communication unit 45d can receive data from a USB compatible device (not shown) according to a predetermined communication protocol. The slot communication unit 45e can receive data from the CF type communication card 13 or the CF card (memory card) inserted in the CF card slot 12. Each of the communication units 45b, 45c, 45d, and 45e can transmit predetermined signals or data such as information necessary for communication with the host device and a signal for notifying the state of the printer 1.

  The CPU 41 comprehensively controls the communication interface 45, the ASIC 46, and the drivers 47a to 47c based on a control program stored in the ROM 42 and various application programs stored in the EEPROM 43. The CPU 41 outputs a command signal for operating a part of the printing mechanism to the ASIC 46, and instructs data transfer processing between the ASIC 46 and the RAM 44 and between various processing circuits inside the ASIC 46. The CPU 41 incorporates, for example, a DMA controller for transfer processing. Further, the CPU 41 drives and controls the paper feed motor M1, the carriage motor M2, and the cutter motor M3 of the cutter device that cuts the printed portion of the roll paper into a predetermined size via the drivers 47a to 47c.

  The ASIC 46 performs image processing on the data to generate print data, and drives and controls the plurality of piezoelectric elements PZ via the driver 47c based on a command signal from the CPU 41 and the print data. The RAM 44 includes a reception buffer 44a, a work memory 44b, an output buffer 44c, and the like. Data received through each of the communication units 45b to 45e is temporarily stored in the reception buffer 44a, data for performing a predetermined process is stored in the work memory 44b, and finally generated print data is stored in the output buffer 44c. Is done.

  The paper feed motor M1 is a motor for transporting the cut paper or roll paper P1 set in the automatic paper feeder 3 to the paper discharge port 7 via the printing position. The carriage motor M2 is a motor for reciprocating a carriage mounted with a recording head having a plurality of ejection nozzles in the main scanning direction. The piezoelectric element PZ is an element that is provided for each of a plurality of ejection nozzles provided in the recording head and ejects ink from the nozzles. The cutter motor M3 is a motor that drives the cutter device, and moves the cutting blade in the main scanning direction to cut the roll paper into a predetermined size.

  Further, the CPU 41 reads out menu display data stored in advance in the EEPROM 43 and transfers it to the display processing unit 9 b of the display device 9. The display processing unit 9b displays on the display screen 9a a menu used for manually selecting the paper type, paper size, layout, photo selection, number of prints, and the like based on the menu display data. A “layout” is prepared for the menu item, and this “layout” is printed by designating one or a plurality of images input for printing from a memory card or the like set in the card slot 12 on a sheet. This is a function for creating an image (printed state image). The EEPROM 43 stores a plurality of layout templates used for designating the layout. The display data for the print image created by this layout function is temporarily stored in the RAM 44. When the operation unit 10 is operated before printing, the CPU 41 reads the display data from the RAM 44 and transfers it to the display processing unit 11b. The print image is displayed on the display screen 11a.

Further, the CPU 41 is configured to input a signal based on the operation of each switch 10 a to 10 i provided on the operation panel 8 via the user I / F 48.
FIG. 6 is a functional block diagram for explaining data communication performed between the mobile phone and the printer via the CF type communication card and printing processing of the received data. Each functional unit shown in the figure is realized by a hardware circuit including various circuits, and a CPU that executes a communication protocol program, an application program, and the like.

  The card control unit 31 built in the CF type communication card (infrared communication card) 13 includes an IrDA communication circuit 61, an IrDA stack (IrDA protocol stack) 62, a file transfer unit 63, and an object transmission / reception unit 64. The IrDA communication circuit 61 includes hardware including a CPU and a communication circuit (both not shown), and corresponds to a physical layer in the communication layer. The IrDA stack 62 includes an IrDA communication protocol group and corresponds to a data link layer and a network layer. The file transfer unit 63 controls transfer of files received from the mobile phone 14 by infrared communication, and corresponds to a transport layer and a session layer in the communication layer. The object transmission / reception unit 64 performs data transfer control between two communication systems of IrDA communication performed with the mobile phone 14 and serial communication performed with the printer 1, and received data check, etc. Manage the necessary processing. The object transmitting / receiving unit 64 includes a portion corresponding to a presentation layer and an application layer for processing data from the file transfer unit 63, and a portion constituting a presentation layer to a data link layer including a serial communication protocol stack in an upper layer of the UART 33. Become.

  The file transfer unit 63 is a functional part constructed by the CPU in the CF type communication card 13 executing an OBEX (Object Exchange) (TM) program, and controls file transfer based on the OBEX specification. Specifically, a logical communication link with OBEX on the mobile phone 14 side is established and disconnected, and a restoration process for assembling a packet divided and sent in the original file at the time of file transfer is performed.

  The object transmission / reception unit 64 has a corresponding extension storage unit 64a. When the printer 1 detects that the CF type communication card 13 is inserted into the card slot 12 for the first time after the power is turned on, the object transmission / reception unit 64 receives the CF type communication from the printer 1. The extension data sent to the card 13 is stored (set up) in the corresponding extension storage unit 64a. Further, the object transmission / reception unit 64 obtains a file name from the received data, and compares and refers to the extension and extension data in the file name, so that the received data has a print compatible capability for the printer 1. It is determined whether the data is print compatible data. For details, read the file name “aaaa.bbb” in the header of the data, extract the extension “bbb” from the file name, and compare the extension “bbb” with the extension data. Judge whether or not. This reference comparison is not case sensitive. Then, the object transmission / reception unit 64 performs a data selection process that permits the reception of print-compatible data based on the determination result, but rejects the reception of non-print-compatible data. When the object transmission / reception unit 64 is print-compatible data, the object transmission / reception unit 64 transfers the object data and data with the file extension “bbb” (referred to as file extension data) to the printer 1 side.

  On the printer 1 side, a card driver 71, an IrDA UART driver (hereinafter referred to as a UART driver) 72, a data transfer unit 73, an IrDA profile unit 74, a text data raster processing unit 75, an image data raster processing unit 76, and a print engine 77 are provided. Is provided.

  The card driver 71 and the UART driver 72 are configured by hardware and software including a driver circuit built in the slot communication unit 45e in FIG. The data transfer unit 73 is a functional part realized by the CPU 41 executing the communication protocol program. Further, the IrDA profile unit 74, the text data raster processing unit 75, and the image data raster processing unit 76 are functional parts realized by the CPU 41 executing the application program. Further, the print engine 77 is a printing process comprising a software part realized by the CPU 41 executing an application program, an ASIC 46, drivers 47a to 47d, a paper feed motor M1, a carriage motor M2, a piezoelectric element PZ, a cutter motor M3, and the like. It is comprised from the hardware part which implement | achieves.

  When applied to the OSI reference model, the card driver 71 and the UART driver 72 correspond to the data link layer and the network layer. The data transfer unit 73 corresponds to a transport layer and a session layer, and the IrDA profile unit 74, the text data raster processing unit 75, and the image data raster processing unit 76 correspond to a presentation layer and an application layer.

  The card driver 71 is a communication driver that exchanges signals and data with the CF-type communication card 13, and issues necessary instructions to the UART driver 72 based on instructions from the CPU 41.

  The UART driver 72 controls the communication operation of the printer side UART 34 built in the CF type communication card 13. For example, the UART driver 72 controls the printer side UART 34 based on instructions from the CPU 41 and the card driver 71. When the UART driver 72 receives an interrupt request from the printer-side UART 34, the printer 1 opens the input port and starts to capture data unless the printer 1 is busy receiving data from the other communication units 45b to 45d.

  Further, the card driver 71 receives extension data from the CPU 41 and stores it in the setup data storage unit 71a during an initialization process executed by the CPU 41 when the printer 1 is powered on. Then, the card driver 71 reads the extension data stored in the setup data storage unit 71a based on an instruction from the CPU 41 that detects the electrical connection between the printer 1 and the CF type communication card 13 for the first time after the power is turned on. It transmits to the communication card 13. In this embodiment, “vcf”, “vnt”, “jpeg”, and “jpg” are set in the extension data as the extension of the print compatible file. The extension data sent to the CF type communication card 13 is set up on the CF type communication card 13 side by being stored in the corresponding extension storage unit 64a by the object transmitting / receiving unit 64. When the UART driver 72 receives a notification such as an error notification detected by the data transfer unit 73 and the profile unit 74, the UART driver 72 transmits a signal to that effect to the card control unit 31. The card control unit 31 manages the communication status indicating the data reception state by monitoring the data and signals received from the mobile phone 14 and the printer 1, and displays the display unit (LED ) Display control of 13b. The CF type communication card 13 notifies the sender of the data reception state by the lighting state of the display unit 13b.

  When the data transfer unit 73 receives the object data and the file extension data sent from the object transmission / reception unit 64 of the CF type communication card 13, the data transfer unit 73 sends the file extension data to the profile unit 74 and the object data. Judge whether it was received correctly. This determination is made according to a transmission control procedure in which a procedure for verifying whether or not the object data has been received correctly is programmed. The transmission control procedure 73a includes a basic procedure and an HDLC (High Level Data Link) procedure. In this example, a transmission control procedure in which the basic procedure is simplified is adopted. Note that the error detection method employed for error control is not limited to the CRC detection method, but may be a parity check method, a checksum, or a Hamming code.

  The data transfer unit 73 sequentially sends the data (the message body or the message division block) to the next IrDA profile unit 74 when the data can be correctly received by the transmission control procedure 73a, and when the data cannot be correctly received, the data transfer unit 73 Request the transmitter / receiver 64 to retransmit the data. Receiving this retransmission request, the object transmission / reception unit 64 retransmits the data transmitted to the data transfer unit 73 immediately before. The data transfer unit 73 instructs the UART driver 72 to transmit an error notification signal to the object transmission / reception unit 64 when a timeout occurs without being retransmitted after the retransmission request.

  The IrDA profile unit 74 includes an extension identification unit 81, a number determination unit 82, a note analysis unit 83, a division processing unit 84, a text data format conversion unit 85, a template storage unit 86, an image data decoding unit 87, and a determination unit. 88. The IrDA profile unit 74 is realized based on program data and various data stored in the ROM 42 or the EEPROM 43.

  The extension identifying unit 81 identifies the file format of the object data from the file extension data input from the data transfer unit 73. That is, it identifies the extension of personal information data (vCard file format), attached format image data (vNote file format), or image data (JPEG file). That is, if the file extension data is “vcf”, it is identified as “vCard file”, if “vnt”, it is identified as “vNote file”, and if it is “jpeg” or “jpg”, “JPEG file”. Identify. The extension identifying unit 81 distributes the processing path of the object data sent from the data transfer unit 73 thereafter according to the identified extension. That is, if the extension is “vcf”, the extension identifying unit 81 sends the vCard file (personal information data) to the number determination unit 82, and if the extension is “vnt”, the vNote file (image data). Is sent to the image data decoding unit 87. Further, if the extension is “jpeg” or “jpg”, the JPEG data is sent to the image data raster processor 76.

  The number determination unit 82 determines whether the vCard file is a “single case” file including one piece of personal information or an “all case” file including a plurality of pieces of personal information. If it is determined that the file is a “single case” file, the vCard file is sent to the note analysis unit 83. If it is determined that the file is “all cases”, the vCard file is sent to the division processing unit 84. The determination result of the number determination unit 82 is “N = 0” for “single case” and “N = 1” for “all cases”, and the determination value N is sent to the text data format conversion unit 85. Sent.

  The note analysis unit 83 extracts and analyzes the text described in the Note area of the vCard file. When printing a single piece of personal information, it is possible to specify a print layout by describing a predetermined designated character in the note area, and whether or not the print layout is designated by the designated character is determined. Therefore, the description contents of the note area are analyzed. In the present embodiment, numbers (numbers) are adopted as designated characters. The reason why numbers are used is that the number of characters to be written is small and the identification is easy. In addition to numbers, alphabets (for example, A, B, C,...) Can be adopted as designated characters. The note analysis unit 83 sends the designated character information M (for example, the number M = 1, 2,... N) obtained as an analysis result to the text data format conversion unit 85.

  When the division processing unit 84 starts to sequentially input all the case files in units of message division blocks, the division processing unit 84 examines the contents of the data while storing them in a buffer (not shown), and divides them by a predetermined number of times by extracting a delimiter for each case. To do. Then, the personal information data is sent to the text data format conversion unit 85 for the next processing for each of the divided predetermined number of cases. In this embodiment, the predetermined number of cases is set to one, and all data in the vCard file is sequentially divided into individual information for each case, while the division processing unit 84 converts the text data format for the next processing one by one. Sent to the unit 85.

  The text data format conversion unit 85 converts personal information data (text data) from the vCard format to the XHTML (Extensible Hyper Text Markup Language) format. However, before performing format conversion, whether the object data is in vCard format is analyzed to verify that the data is in vCard file format. For example, the presence or absence of properties (“BEGIN VCARD”, “N”, “SOUND”, etc.) that should be provided for data in the vCard file format is confirmed. If the data is not in the vCard file format, the data is discarded and the CF type communication card 13 is notified through the UART driver 72 that the data is incorrect. On the other hand, if the data is in the vCard file format, the object data is subjected to format conversion processing. The vCard file can also be of a type with an image attachment function by a mobile phone manufacturer. When it is analyzed that it is a vCard file with an image attachment function type, the encoded JPEG image data attached is extracted and transferred to the image data decoding unit 87. As described above, the text data format conversion unit 85 analyzes and verifies in advance whether the extension is “vCard” but the contents of the data are also correctly in the vCard format. When the image data decoding unit 87 accepts a vNote file of a type including text data described by the memo pad function, the text data format conversion unit 85 accepts only the text data from the image data decoding unit 87. At this time, the contents of the data have already been verified by the image data decoding unit 87 and are not analyzed again.

  When performing the format conversion process, the text data format conversion unit 85 first reads a print layout template (hereinafter referred to as a template) described in the XHTML format from the template storage unit 86. In the template, a layout frame is specified by a tag description so that the value (text data) of each item (property) constituting the object data can be assigned to a predetermined position. By incorporating the value (text data) of the corresponding item (property) in the layout frame, the personal information in the vCard format is converted into the XHTML format with a template. In other words, the vCard file is originally a file format that does not have the concept of layout, but the format is converted from a file format (vCard) that cannot be layout defined to a file format (XHTML) that can be layout defined so that it can be printed with a predetermined layout when printing. To do. A layout is defined by tags by using a template described in the XHTML format at the time of format conversion. The text data format conversion unit 85 sends XHTML data in which personal information is embedded in the template to the text data raster processing unit 75.

  On the other hand, the image data decoding unit 87 receives the object data in the vNote file format from the extension identifying unit 81, analyzes the contents of the object data, and verifies whether the data is in the vNote file format. For example, the presence or absence of a property or the like that should be provided in the case of vNote file format data is confirmed. If the data is not in the vNote file format, the data is discarded and the CF communication card 13 is notified through the UART driver 72 that the data is incorrect. On the other hand, if the data is in the vNote file format, the attached encoded image data is extracted, and if it is analyzed that the text data described by the memo pad function is included, the text data is transferred to the text data format conversion unit 85. To do. Then, a decoding program (Bese64) prepared in advance is activated to decode the encoded JPEG image data into JPEG image data.

  In this manner, the image data decoding unit 87 analyzes and verifies in advance whether the extension is “vnt” but the contents of the data are also correctly in the vNote format. The image data decoding unit 87 sends the decoded JPEG image data to the image data raster processing unit 76.

  The text data raster processing unit 75 performs raster processing on the XHTML data received from the text data format conversion unit 85. This raster processing includes XHTML analysis processing, layout setting processing, color conversion processing, and binarization processing. First, in the XHTML analysis processing, XHTML data is analyzed and decomposed into layout template information described in the XHTML language and personal information described in text. Then, the description contents (layout template information) described in the XHTML language (tag) are analyzed to calculate the allocation area of the personal information text (value of each property), and the calculated position coordinate data (address) of each allocation area Data). In the layout setting process, the character code of the personal information text is converted into character data, and the obtained character data is developed as dot data of a predetermined character size at an address determined from the allocation area specified by the template. A color conversion process and a binarization process are performed on the expanded dot data, and then the binarization data is subjected to a process of rearranging in the dot formation order at the time of printing. As a result of the XHTML analysis process, if the XHTML data includes an image (only address designation), a transfer request is issued to designate the address data of the image and transfer the image data to the mobile phone 14, and respond to this transfer request. When the image data is transferred from the mobile phone 14, layout setting processing is performed for the entire image and text. Therefore, when text and an image are included, a layout in which the text and the image are arranged at predetermined positions is determined. Here, when an image is included in the vCard data, it is necessary to decode the encoded image data (Base64). In the present embodiment, the image data acquired from the mobile phone 14 is temporarily stored in the image data decoding unit 87. The JPEG data after being sent and decoded by the image data decoding unit 87 is returned to the text data raster processing unit 75 to indirectly perform the decoding process. When the vCard data includes an image as described above, a configuration in which only image address data is embedded in the vCard data as in this embodiment may be used, or a configuration in which image data is embedded in the vCard data from the beginning may be used. In the case of this latter configuration, it is possible to eliminate the transfer process for transferring only the image data later.

  The image data raster processing unit 76 performs raster processing on the JPEG image data. However, for the JPEG data sent directly without going through the image data decoding unit 87 before raster processing, the contents of the data are analyzed to verify whether the data is in JPEG file format. For example, the presence or absence of information that should be provided in the case of JPEG file format data is confirmed. If the data is not in the JPEG file format, the data is discarded and the CF type communication card 13 is notified through the UART driver 72 that the data is incorrect. On the other hand, if the data is in JPEG file format, the process proceeds to raster processing. As described above, the image data raster processing unit 76 analyzes and verifies in advance whether the extension is “jpeg” but the data contents are also correctly in the JPEG format.

  The raster processing includes JPEG analysis and decoding processing, layout setting processing, color conversion processing, and binarization processing. In JPEG analysis and decoding processing, since JPEG image data is compressed image data, this is first expressed using the YCbCr color system (luminance (Y), blue color difference (Cb), and red color difference (Cr). Decompress to color-based (uncompressed) image data. The YCbCr color system multi-value image data obtained by decompression is further converted into RGB color system multi-value image data. In the layout setting process, an allocation area in which RGB color system multi-value image data is allocated on a sheet is calculated, and the image is assigned to an address on the work memory (image buffer) 44b determined from the calculated allocation area. Expand as dot data. After the developed image data (dot data) is subjected to color conversion processing and binarization processing, the binarized data is subjected to processing for rearranging in the dot formation order at the time of printing. The same processing is performed for the raster processing of the JPEG image after the layout setting processing in the text data raster processing section 75 described above. When text is included in the vNote data, the image data raster processing unit 76 performs layout setting processing for the entire text and image. The second determination means is constituted by the text data format conversion unit 85, the image data decoding unit 87, and the image data raster processing unit 76 that analyze and verify the contents of the object data in each file format (vCard, vNote, JPEG). Is done.

  The print engine 77 sets the CMYK binary image data (raster data) after raster processing developed on the work memory 44b as a set with a print command header to be a printer print command, and prints the print mechanism by the engine controller based on the printer print command. Is driven to print on the paper.

  Note that the text data raster processing unit 75 and the image data raster processing unit 76 receive a CF type communication card in the printer 1 so that data in file formats (XHTML format and JPEG format) handled by the Bluetooth-compatible mobile terminal BC can also be printed. It is an existing one that was provided before the system was adopted. In this example, the function part that needs to be added is diverted to minimize the function part that needs to be added so that even the file data of the cellular phone compatible format received via the CF type communication card 13 can be printed. In other words, by adding a function part for converting the data of the mobile phone compatible format (vCard format and vNote format) to the Bluetooth compatible format in the IrDA profile unit 74, each raster processing unit 75, 76 is diverted.

Next, IrDA communication performed between the mobile phone 14 and the CF type communication card 13 will be described.
FIG. 7 shows the data structure of the OBEX specification used at the time of file transfer. The data D includes an operation code OP, a header HD, and a data body DB. The operation code OP describes a command related to communication. “Connect”, “Disconnect”, “PUT”, “FPUT”, “GET”, “FGET”, “Abort”, and “Response” are prepared as commands.
“Connect” means a connection request, and “Disconnect” means a disconnection request. “PUT” is a data reception request, “FPUT” is a final data reception request (including the end of transmission data), “GET” is a data extraction request, and “FGET” is a final data extraction request (indication of reception data end). Means). “Abort” means abort and “Response” means response.

  In the header HD, information on the data body DB is described. The data body DB is data itself to be transmitted / received (transferred) and is usually divided into packets (blocks) having a predetermined size or less. In the case of this example, the object data transmitted from the mobile phone 14 to the printer 1 is divided into a plurality of parts and transferred when the data size exceeds a predetermined size. "Name", "Authentication", "filesize", "Bodylength", etc. are prepared. “Name” means a file name, “Authentication” means verification of qualification to access information, “filesize” means file size, and “Bodylength” means body data length. Since “Name” is described in the form of “file name.extension”, the “extension” of the file can be acquired by looking at the value of “Name”. Also, “Authentication” describes an authentication code (pin code) that can verify the qualification to access information when it is set. The mobile phone 14 is set to require the input of an authentication code when transmitting all items of personal information registered in the phone book function or all items of personal information in a specified group. When all such data is transmitted, an authentication code is input to an input field required on the display 18 after the transmission button is operated. The input authentication code is described in “Authentication” of the header HD.

FIG. 8 shows a transfer processing sequence for transferring data in the flow of mobile phone → infrared communication card (CF type communication card) → printer.
When a data transmission operation is performed with the mobile phone 14, an IrDA connection (physical connection) which is a physical layer is first performed. An IrDA connection request is issued from the mobile phone 14, and the IrDA connection is established in such a manner that the CF communication card 13 responds to the request. Next, OBEX connection (logical connection) is performed. The mobile phone 14 requests OBEX connection (logical connection) by transmitting data having “Connect” as the operation code OP, and the CF communication card 13 responds to this with data having “Response” as the operation code OP. An OBEX connection (logical connection) is established.

  When the logical connection is established, the mobile phone 14 divides the file data into data lengths within the maximum allowable data length of the body DB, and transfers the data in a plurality of divided blocks (frames). At this time, “PUT” is used as the operation code OP, and data D in which a block is inserted in the body DB is created and transmitted. Thereafter, after waiting for reception of data having “Response” as the operation code OP, the next data D having “PUT” as the operation code OP is transmitted.

  The file transfer unit (IrOBEX) 63 on the CF-type communication card 13 side assembles sequentially received blocks to restore the data, and the restored data is transferred to the object transmitting / receiving unit 64. The object transmitting / receiving unit 64 transmits data to the printer 1 in units of blocks (frames) within a predetermined data size according to a transmission control procedure (basic procedure). At this time, the object transmitting / receiving unit 64 transmits “name.extension” acquired from “Name” of the header HD together with the data.

  Thus, when the data transfer process proceeds and the last block (data) is transferred from the mobile phone 14, “FPUT” is described in the operation code OP, so the file transfer unit 63 sets the operation code OP of the received data to “FPUT ”Is recognized as the last block, that is, a data reception completion notification. In response to this, the disconnection request with “Disconnect” as the operation code OP is sent from the mobile phone 14 to disconnect the OBEX connection (logical connection), and then the IrDA connection (physical connection) to disconnect the communication link. Blocked. Thereafter, the printer 1 generates print data from the received data, and printing is executed based on the print data.

  Note that if the cellular phone 14 is interrupted during data transmission, data having the operation code OP of “Abort” is transmitted to the CF-type communication card 13. In this case as well, the communication link is cut off through the same sequence of IrDA disconnection and OBEX disconnection.

  In this example, the file transfer function from the printer 1 to the mobile phone 14 is not provided. However, when data having the operation code OP of “GET” is sent from the mobile phone 14 to the CF type communication card 13, the printer The printer 1 may be provided with a transfer function for transferring a file stored in one memory to the mobile phone 14.

  FIG. 9 is a flowchart showing a program executed by the CPU 41 on the printer 1 side when a CF type communication card is inserted (set) into the card slot. Hereinafter, the processing content executed when the CPU 41 detects the CF type communication card 13 will be described.

  First, in step (hereinafter simply referred to as “S”) 10, it is determined whether or not the CF type communication card 13 has been inserted into the card slot 12 (that is, whether or not the CF type communication card 13 has been detected). If it is detected that the CF-type communication card 13 has been inserted into the card slot 12, the process proceeds to S20, and if it is not detected that the card has been inserted, the process is terminated.

  In S20, it is determined whether the card whose insertion has been detected is the CF communication card 13 or the memory card MC. If it is the CF type communication card 13, the process proceeds to S30, and if it is a memory card, the memory card is recognized and the process is terminated.

  In S30, the CF type communication card 13 is set up. That is, the card driver 71 is instructed to read extension data (reference data) from the setup data storage unit 71 a and transmit it to the object transmission / reception unit 64. As a result, the card driver 71 transmits the extension data to the object transmission / reception unit 64, and the object transmission / reception unit 64 that has received the data stores the extension data in the storage unit 64a.

Next, in S40, an interlock process is performed. That is, the processing described above with reference to FIG. 16 is executed.
In S50, it is determined whether or not the interlock can be released. If it is OK to release the interlock, the process proceeds to S60. If the interlock cannot be released, the process returns to S40 again.
When the process returns to S40, the interlock process is executed every predetermined time until the interlock can be released.

  In S60, a ready command for releasing the interlock is output. The card control unit 31 that has received this ready command sets the communication status A of “receivable”, and the display unit 13 b of the CF type communication card 13 is lit in green. The user grasps that the CF type communication card 13 is in a state capable of receiving data by looking at the green lighting of the display unit 13b.

  FIG. 10 is a flowchart showing a program for prohibiting reception of unsupported data. This function of the object transmitting / receiving unit 64 is realized by the card control unit 31 executing the program shown in this flowchart.

In S110, data is received from the mobile phone 14.
In S120, the extension is extracted from the received data. That is, the extension is extracted from the file name in “Name” in the header HD of the received data D (see FIG. 11).

  In S130, the corresponding extension (extension data) stored (setup) in the storage unit 64a (shown in FIG. 6) is read. The corresponding extension is an extension of data (corresponding data) that can be printed by the printer 1.

  In S140, it is determined whether the received data is corresponding data. That is, the extension acquired from the received data in S120 is compared with the corresponding extension read from the storage unit 64a in S130. In the present embodiment, “vcf”, “vnt”, “jpeg”, “jpg” set as corresponding extensions are compared with the extensions extracted from the received data, and if the two match, the received data is the corresponding data. If it is determined that there is no match, it is determined that the received data is unsupported data. As a result of the determination, if the received data is corresponding data (if the extension matches the corresponding extension), the process proceeds to S150. On the other hand, if the received data is unsupported data (the extension does not match the corresponding extension). In case), the process proceeds to S160.

In S150, the received data is transferred to the printer 1.
In S160, the display unit 13b is controlled to blink to notify the occurrence of an error. That is, the display unit 13b blinks red.

In S170, an error message indicating that the received data cannot be handled is transmitted to the mobile phone 14. As a result, a message indicating a reception error is displayed on the display 18 of the mobile phone 14.
FIG. 11 is an example showing a sequence of unacceptable data acceptance prohibition processing by extension performed in the CF type communication card.

  First, when the printer 1 is powered on, extensions (extension data) “vcf”, “vnt”, “jpeg”, and “jpg” corresponding to the CF type communication card (infrared communication card) 13 are set up from the printer 1. Thereafter, the printer 1 performs a process for determining whether or not reception from the CF-type communication card 13 is permitted (hereinafter referred to as an interlock release process), and may permit the reception (that is, the interlock state is changed). If it is determined that it can be canceled, a ready command is output from the printer 1 to the CF-type communication card 13. When the CF type communication card 13 receives a ready command, the CF type communication card 13 is released from the interlock state and becomes ready for reception. The display unit 13b that has been extinguished until the interlock state is released lights up in green.

  Assume that vCard data having an extension of “vcf”, for example, is transmitted from the mobile phone 14 as corresponding data. Then, the CF communication card 13 that has received this compares the extension “vcf” of the data with the set-up extension data “vcf” “vnt” “jpeg” “jpg”. Since there is a combination that matches both, the CF communication card 13 receives the data and transfers it to the printer 1. While this data is being received, the display unit 13b blinks in green. When the data reception is completed over several tens of seconds to one minute, the display unit 13b turns orange, and a notification of reception completion (reception completion signal) is sent from the CF type communication card 13 to the mobile phone 14. The CF type communication card 13 enters the interlock state. In this example, since communication between the mobile phone 14 and the CF communication card 13 and communication between the CF communication card 13 and the printer 1 are asynchronous, reception from the printer 1 to the CF communication card 13 is completed after a while. Is notified. Thereafter, the printer 1 performs printing. Note that if the received data is vCard data, the printer 1 outputs a ready command after printing is completed. If the received data is vNote or JPEG data, the printer 1 outputs a ready command at the end of raster processing. Accordingly, when vCard data is transmitted, the next data is not received until printing is completed, but when vNote or JPEG data is transmitted, the printer 1 can receive only vNote or JPEG data after the raster processing is completed.

  When the printer 1 receives vCard data, the printer 1 outputs a ready command after printing. Therefore, since the CF type communication card 13 is in the interlock state when the printer 1 is executing printing, an error signal is transmitted from the CF type communication card 13 to the mobile phone 14 even if the corresponding data is sent from the mobile phone 14. Is done.

  Thereafter, when printing is completed and a ready command is output from the printer 1 to the CF type communication card 13, the interlock state is released. When unsupported data having an extension other than “vcf”, “vnt”, “jpeg”, and “jpg” is transmitted from the mobile phone 14, the CF type communication card 13 that has received the data transmits the extension and extension data of the data. Compare with reference. For example, in the case of unsupported data having unsupported extensions such as “txt” and “mpeg”, as a result of the reference comparison, all combinations of the two do not match. And an error signal is transmitted to the mobile phone 14. At this time, the display unit 13b blinks red. In this way, unsupported data is discarded in the CF type communication card 13 and is not transferred to the printer 1. Therefore, the unsupported data does not occupy the communication port of the slot communication unit 45e used when data is transferred to the printer 1, so that it is possible to avoid the reception of data at the communication port of another communication method.

  FIG. 12 shows a notification image for displaying the communication state on the screen 9 a of the operation panel 8 of the printer 1. The data reception state is also displayed on the screen of the operation panel 8 in addition to the display unit 13b of the CF type communication card 13.

  The CPU 41 manages the communication status, and the communication status is displayed on the screen 9 a of the operation panel 8. There are five types of communication statuses notified by the lighting control on the display unit 13b: reception is impossible, reception is possible, reception is in progress, reception is terminated, and reception errors. On the other hand, the character information is displayed on the screen 9a. In addition to the display, the reception error is notified in a manner that distinguishes up to the error contents (by error cause).

  As shown in the screen 9a in FIG. 9A, when data is being received, a moving image MG1 and text TX1 indicating that data is being received are displayed. The data of the moving image MG1 and the text TX1 is stored in the EEPROM 43. The text TX1 is displayed, for example, “Data is being received”.

  When the CPU 41 confirms data reception when it reaches the IrDA profile unit 74, the CPU 41 displays the moving image MG1 and the text TX1 in FIG. 12A on the screen 9a to notify the user that data is being received. The user can check the data reception state on either the display unit 13b of the CF-type communication card 13 or the screen 9a of the printer 1.

  Further, as shown in the screen 9a of FIG. 9B, when receiving an extension error signal from the CF type communication card 13, the CPU 41 displays a notification image AG2 indicating the extension error. In the notification image AG2, for example, a text TX2 “This extension data cannot be handled.” Is displayed.

  When the communication status is a reception error, for example, on the screen 9a shown in FIG. 12, the content of the error such as “The extension and data do not match.” “Communication has been interrupted.” ) To identify and inform.

  Further, when the CPU 41 starts printing, a notification image AG3 including a moving image MG2 and a text TX3 for notifying a printing status such as “Printing in progress, remaining three sheets” is displayed on the screen 9a of FIG. Display. Each data of the texts TX1 to TX3 and the moving image images MG1 and MG2 is stored in the EEPROM 43. Instead of managing the communication status by itself, the CPU 41 may employ a configuration in which a notification image is displayed on the screen 9a based on the communication status information received from the card control unit 31 on the CF type communication card 13 side. .

<Data processing on the printer side>
Next, processing of data transferred from the CF type communication card 13 to the main body 2 side of the printer 1 will be described. The processing on the printer side mainly includes (A) sorting processing according to the type of data, (B) determination processing of single or all personal information data, and (C) division of all personal information data. There are a transmission process, (D) business card layout printing of personal information data, and (E) phone book layout printing of personal information data.

  First, a process from conversion of received data into a file format that can be handled by a processing circuit such as an ASIC to generation of data with a designated layout will be described. First, the data structure of the vCard file will be described.

FIG. 13 shows an example of personal information data in the vCard file format.
As shown in the figure, the single data MD1 in the vCard format starts with “BEGIN: VCARD” and ends with “END: VCARD”. Each item of the following personal information is described in the “property: value” format between the “BEGIN: VCARD” and the “END: VCARD” using the property and the value. A property points to an item, and a value points to the specific content that should be placed in that item. Properties include “N (name)”, “SOUND (phonetic)”, “TEL (phone number)”, “EMAIL (email address)”, “ADR (address)”, “NOTE (memo)”, etc. Provided (however, parentheses are descriptions of properties).

  First, the name of another person is described in the value of the property “N”. For example, when starting a vCard compatible phone book application (new registration) and entering “Taro Yamada” in the name input field displayed on the screen, “N: Taro Yamada” is described. Similarly, the name of the name is described in the value of the property “SOUND”.

  Although the telephone number is described in the property “TEL”, the following can be specified by adding a command (hereinafter referred to as TYPE designation). The office telephone number is described in the value of “TEL; WORK; VOICE:”, and the office FAX number is described in the value of “TEL; WORK; FAX:”. When “WORK” is replaced with “HOME”, a home phone number is described. A mobile phone number is described in the value of “TEL; CELL:”. In addition, various TYPE designations can be made by selecting a cellular phone number registration icon, and thus various telephone numbers can be designated. In the value of “TEL; X-ABC-MAIN; VOICE:” on the seventh line in FIG. 13, the telephone number of “representative” is described. There is also a property that describes the phone number of “School”. In addition, various identification TYPE commands are prepared.

  An e-mail address is described in the value of the property “EMAIL”. Similarly to the “TEL” command, the “EMAIL” command can specify a plurality of e-mail addresses by specifying “TYPE” after “EMAIL”. In the example of FIG. 13, the value of “EMAIL; WORK:” is the company's email address, the value of “EMAIL; CELL:” is the email address of the mobile phone, and the value of “EMAIL: INTERNET:”. Is an Internet e-mail address.

  An address is described in the value of the property “ADR”. “ADR” can also specify a company address, a home address, etc. by specifying TYPE such as “WORK” and “HOME”.

  The value of the property “NOTE” describes the contents of the memo. In the present embodiment, a function for setting a print layout for the printer 1 is provided by inputting a designated character into a memo and describing the designated character in a “NOTE” value.

  Note that all vCard data includes a plurality of pieces of personal information, and each piece of personal information starts with “BEGIN: VCARD” and ends with “END: VCARD”. Each item constituting one piece of personal information is described in the “property: value” format between “BEGIN: VCARD” and “END: VCARD”.

  Therefore, “END: VCARD” is described every time one piece of data ends. When transmitting personal information data from the mobile phone 14, the user can select “single” or “all”. The printer 1 determines a print layout to be applied depending on whether the received vCard file is “single” or “all”. In the present embodiment, in order to identify whether the vCard file is “single case” or “all cases”, a command or property that is always described in the personal information data and that is described only once per case is represented by the number of cases. Adopt as discriminator CS. In the present embodiment, “END: VCARD” is adopted as the number discriminator CS. The number determination section 82 of the IrDA profile section 74 determines whether the personal information data is a single case or all cases (including all cases in the group in the case of group designation). Specifically, the CPU 41 counts the number discriminator “END: VCARD” included in the data by the counter, and determines whether the received vCard file is “single” or “all” based on the counted value. That is, when the count value is “1”, the determination value (for example, flag) N is reset to “N = 0”, and when the count value is “2 or more”, the determination value N is set to “N = 1”. .

  In the case of all files, the IrDA profile unit 74 does not receive all the data and then sends it to the text data format conversion unit 85. The data is sent to the text data format conversion unit 85 of the next processing unit by the number of cases. This processing is performed by the division processing unit 84. The delimiter for each item in the data is determined by looking at the category identifier DS. In this example, “END: VCARD” is adopted as the classification identifier DS.

  After the data transfer unit 73 checks whether or not the data is correctly received in the transmission control procedure 73a, the CPU 41 uses the counter to determine “END: VCARD” (same as the number discriminator CS in this example), which is the segment identifier DS for the data. Count and count the number of personal information received from the count. Each time a predetermined number of pieces of personal information are buffered in the reception buffer 44a of the RAM 44, the CPU 41 sends the data in the reception buffer 44a to the text data format conversion unit 85 for the next process. Specifically, the CPU 41 executes the next text data format conversion process every time a predetermined number of pieces of data are buffered. The classification identifier DS may be the last property for each case.

FIG. 14 shows an example of print layout template data applied when personal information data is printed.
The print layout (print format) of the vCard file depends on the template format data stored in the EEPROM 43 (template storage unit 86) in the printer 1. The template format data is print layout data described in the XHTML format. The XHTML data is divided between the <body> and </ body> into three areas of fields, comment tags, and properties for each item (each line in the figure).

  The field is a data area such as a character string printed as a title on a business card such as “name” and “phone number” in FIG. Prescribed titles necessary for a business card such as “name” and “phone number” are described in advance in the field of the template format data LT1.

  The comment tag is an instruction for designating the print position, font, character size, etc. of each property value in the vCard format file (for example, if the property is “N”, that value is “Taro Yamada”). The value is embedded immediately after the comment tag "<!-->". There is also a method of replacing the comment tag “<>” with a value.

  The property is data in vCard format, and is an instruction for designating the print position, font, character size, etc. of the data designated by TYPE. Immediately after the property “<>”, data specified by TYPE, for example, a character string such as “WORK” or “CELL” is incorporated. Therefore, as shown in FIG. 13, data that is not subject to TYPE designation, such as a name or reading, has only one comment tag, and is composed of only comment tags. On the other hand, a property is added to the comment tag in an area in which data that can be specified by TYPE such as a telephone number or an e-mail is described. Note that the font and character size are not specified in the comment tag and property in FIG.

  FIG. 15 shows the XHTML data after the personal information data of FIG. 13 is applied to the template of FIG. In the personal information data of FIG. 13 (personal information displayed as shown in FIG. 4B on the display of the mobile phone), a specified value (and property) is incorporated in the template of FIG. 14, and the XHTML shown in FIG. Template format data consisting of data. The conversion process from the personal information data to the template format data is performed by the text data format conversion unit 85. The template format data converted by the text data format conversion unit 85 is transmitted to the text data raster processing unit 75. The CPU 41 performs text data format conversion processing as follows. When the template format data LT1 is read, the property value (“Name”, etc.) described in the comment tag is used as a clue, and the value of the property (“Taro Yamada”, etc.) is extracted from the vCard file. The extracted value is incorporated immediately after the comment tag. Further, the CPU 41 takes the property immediately after “TYPE” in the property (such as “TELNO1”) as a clue, extracts the TYPE (such as “WORK”) of the property from the vCard file, and extracts the property in the template format data LT1. Immediately after that, the extracted TYPE is incorporated. The embedding process according to this rule is performed by the CPU 41 executing a text data format conversion process program. Thus, template format data shown in FIG. 15 is created. As described above, in the present embodiment, the layout is assigned by converting the format from the vCard format where the layout cannot be defined to the XHTML format where the layout can be defined, and flowing the value of the personal information into the layout frame of the template at the time of the format conversion.

  FIG. 16 shows an example of a business card format print layout. This figure shows a template PL1 of a print layout designated by the template format data LT1. In the figure, layout frames (allocation areas) A1 to A9 surrounded by a square frame are locations where values of individual items of personal information are arranged, and designation of these locations is specified by a comment tag in the template format data LT1. ing. Then, corresponding values are arranged in the layout frames A1 to A9 designated by the comment tags. The titles given in the layout frames A1 to A9 are described in advance in the template format data LT1, and values are arranged on the right side of the respective titles. In the same figure, each of the layout frames A1 to A9 is shown in parentheses (for example, “(ORG1)” etc.) is a property in the vCard data, and the value of the property is arranged in the layout frame. means. For example, the value “Taro Yamada” of the property “N” in FIG. 13 is arranged on the right side of “Name” in the layout frame A4 in FIG. 14 does not correspond to the print layout of FIG. 16, but the template data of FIG. 14 is shown as a simple description content template example for the sake of simplicity. In this example, XHTML data that can specify the business card printing layout shown in FIG. 16 is stored in the EEPROM 43 as one of the template data. In this case, as personal information, necessary data such as a company name, a department, a title, a company telephone number, a company FAX number, and a company e-mail are input and used.

  In each item in the figure, vCard format property values are inserted into the template layout frames A1 to A9, and converted into XHTML data that can be printed with a predetermined font type, font size, font style, and the like. . For example, in the case of a company name, in the vCard format, a specific company name is described as a value in the property “ORG”, and the company name is inserted into the layout frame A1.

  FIG. 17 shows a print layout template. FIGS. 17A to 17C are business card layout template examples, and FIG. 17D is a phone book layout template example. In the figure, the templates PL1 to PL4 and PL10 are shown as a layout diagram in which the property value (text) of the vCard file is incorporated. Templates PL1 to PL4 and PL10 are composed of XHTML data in which tags for designating an allocation position and an area size (allocation area) in which the value (text) is incorporated for each property are described. A plurality of types of business card layout template data (XHTML data) including those shown in FIGS. 16 and 17A to 17C are stored in the EEPROM 43.

  Here, the types of business card layout will be briefly described. FIG. 17A shows a horizontal business card layout template PL2 having the same character size. FIG. 4B shows a horizontal business card layout template PL3 in which the name character size is printed larger than the other, and FIG. 5C shows a vertical business card layout template PL4 in which the name character size is printed larger than the other. It is. FIG. 6D shows a telephone directory layout template PL10 used when printing all personal information. The phone book layout template data (XHTML data) is also stored in the EEPROM 43.

  In the present embodiment, when the personal information is a single case, it is printed with a business card layout, and when it is all (a plurality of cases), it is printed with a phone book layout. When the vCard file is “all cases” including a plurality of pieces of personal information, the CPU 41 uniquely specifies the phone book layout template PL10 of FIG. On the other hand, when the vCard file is “single case” containing only one piece of personal information, the user can select and specify a business card layout from the mobile phone 14.

  The ROM 42 has character generator data (CG data) indicating a pattern of characters (text, symbols, etc.) such as Japanese and English fonts, and stores a character generator (not shown) for converting the character code into CG data. ing. The XHTML data includes text information and template information. The XHTML data is analyzed to extract only text information and the template information is analyzed to determine layout information. The layout information is determined as an address of a memory space where an image is developed in the work memory 44b. When a text code is given to the character generator, text dot pattern data indicating the dot configuration of various texts is read, and the read dot pattern data is poured into the layout frame designated by the address in the work memory 44b. .

  The expanded image data (dot data) and text data (dot pattern data) are subjected to processing for rearranging them in the dot formation order at the time of printing. The generated print image is stored in the work memory 44b.

  A print processing unit (not shown) in the ASIC 46 cuts out the print image developed in the work memory 44b for each image band and attaches a command to create print data. Based on this print data, the print engine 77 performs a predetermined process. Are sequentially printed on the paper.

  The user displays a personal information column on the display 18 of the mobile phone 14 and inputs print layout designation information in a memo column therein. For example, numbers (numbers) such as “1”, “2”, and “3” are entered in the memo field. The number described as the print layout designation information is described as the value of the property “NOTE” in the vCard data. The numbers described in the memo field are treated as print layout designation numbers when printing a single piece of personal information. For example, in the instruction manual of the printer 1, the business card layout templates PL1 to PL4 of FIG. 16 and FIGS. 17A to 17C and the designated numbers of the business card layout templates PL1 to PL4 are described in association with each other. Then, the user designates the business card layout by inputting the designated number in the instruction manual into the memo field.

For example, if “2” is entered in the memo field as in the personal information field in FIG. 4B, “2” is described in the property “NOTE” in the vCard file in FIG. When the vCard file is received from the mobile phone 14, the specified number is specified by reading the character string described as the value of the property “NOTE” and analyzing it. This analysis process is performed by the note analysis unit 83. Specifically, the CPU 41 analyzes the value of “NOTE” in the vCard file.
When the CPU 41 can identify the designated number, the CPU 41 reads a business card layout template (XHTML format) corresponding to the designated number from the EEPROM 43. Then, the CPU 41 executes the above-described text data format conversion process, and creates template format data as shown in FIG. 15 based on the vCard file as shown in FIG. 13 and the template format data LT1 as shown in FIG. To do. This template format data is XHTML data.

  Here, it is normal that a character string or a sentence as an original memo is input in the memo column instead of a print layout designation number. When the CPU 41 analyzes the value of the property “NOTE”, if a number is included in a character string or sentence described as an original memo, the number may be mistaken for a designated number. The program executed by the CPU 41 in the analysis process determines that the description data is an original memo when a character or character string other than the designated number is described, and there is a number that can be used as the designated number. However, the number is set not to be specified as the designated number. Then, when it is determined that the original memo is used and when the memo field is blank, it is determined that the designated number is not designated, and for example, a template PL2 of a business card layout set by default is designated.

  In the present embodiment, a designation number (numeric) is used for designating the print layout. However, the designation is not limited to a numeral, and it is also possible to designate an alphabet, katakana, symbol character, character, character string, or the like. . However, in order to specify as easily as possible, it is preferable to designate one digit number or one character for designation of one information, and a number (number) or alphabet having a property of order is preferable.

  FIG. 18 is a flowchart showing data processing in the IrDA profile unit 74. When the data transfer unit 73 has received data correctly according to the transmission control procedure, the CPU 41 executes the program shown in the flowchart of FIG. When this program is executed by the CPU 41, the functions of the extension identification unit 81, the number determination unit 82, the note analysis unit 83, the division processing unit 84, the text data format conversion unit 85, and the image data decoding unit 87 in FIG. Realized. Hereinafter, this program executed by the CPU 41 will be described. An extension and object data are transferred from the CF type communication card 13 to the printer 1, and the extension is sent to the head of the data.

  In S200, it is determined what the extension of the received data is. If the extension of the received data is “jpeg” or “jpg”, it is determined as image data in JPEG format and the process proceeds to S230. If the extension of the received data is “vnt”, it is determined that the data is image data created in the vNote format (hereinafter referred to as vNote file), and the process proceeds to S210. Further, when the extension of the received data is “vcf”, it is determined that the data is text data created in the vCard format (hereinafter referred to as a vCard file), and the process proceeds to S240.

  In S210, it is checked (analyzed) that the data is vNote data. That is, the contents of vNote data are analyzed to confirm that it is vNote data. If the content of the data is not vNote data, this data is discarded and the processing of this flowchart is terminated.

  In S220, the encoded image data attached to the vNote file is decoded (decompressed) into JPEG format image data by an encode / decode converter called Base64.

In S230, the image data in the JPEG format is transferred to the image data raster processing unit 76.
In S240, the number of personal information data transmitted from the mobile phone 14 is determined. That is, it is determined whether the vCard file is “single” or “all”. In this example, the number of personal information is determined by counting the identifier “END” in the vCard file data. If the counting result C is C = 1, it is determined as single case data, and if the counting result C is C ≧ 2, it is determined as all case data. For example, as shown in FIG. 13, when the vCard file is single data, since there is only one identifier “END”, the counting result C is C = 1 and it is determined as “single data”. On the other hand, as shown in FIG. 13, when the vCard file is all-case data, since there are a plurality of “END” and the count result C satisfies C ≧ 2, it is determined as “all cases”. If it is determined as “single case” including only one piece of personal information, the process proceeds to S250. If it is determined that “all cases” include a plurality of pieces of personal information, the process proceeds to S260. As another determination method, it is possible to determine by the file name of data.

  In S250, the description content of the Note area is analyzed and a template corresponding to the analysis result is designated. The value (description content) of the property “Note” in the vCard file data is analyzed, and the template designation information (number in this example) is found from the value. For example, if “2” is described in the memo as shown in FIG. 4B, “2” is described in the value of the property “Note” in the vCard file data as shown in FIG. Therefore, this number “2” is extracted as an analysis result. The number “2” is stored in the RAM 44 as template designation information.

In S260, a “phone book” template is designated. That is, in the case of “all cases”, the “phone book” template is always designated.
In S270, the data for the predetermined number of items is sent to the next process while dividing all the data of the vCard file into the predetermined number of personal information.

  In 280, it is checked (analyzed) that the data is vCard data. That is, the contents of vCard data are analyzed to confirm that it is vCard data. If the content of the data is not vCard data, the data is discarded and the processing of this flowchart is terminated.

  In S290, the designated template is read from the template storage unit 86. That is, in the case of “single case”, a template (name card layout) determined from the analysis result of the description contents of the note area designated in S250 is read, and in the case of “all cases”, the template of “phone book” designated in S260. Read (phone book layout).

  In S300, the personal information of the vCard file is converted into XHTML data with a template. That is, the content (value) of the item (property) of the personal information is applied to a place where the item to be applied to the template is specified, thereby converting the data into XHTML data with a template. For example, in the case of a single vCard file shown in FIG. 13, it is converted into XHTML format data LD as shown in FIG.

In S310, the template-attached XHTML data is transferred to the text data raster processing unit 75.
Note that the extension identification unit 81, the number determination unit 82, the note analysis unit 83, and the division processing unit 84 in the IrDA profile unit 74 are realized by S200, S240, S250, and S270, respectively. The text data format conversion unit 85 is realized by S280, S290, S300, and S310. Further, the CPU 41 that executes the processes of S210 and S280 constitutes a second determination unit.

  The data thus transferred to the text data raster processing unit 75 is generated as print data by performing various processes thereafter. Further, the data transferred to the image data raster processing unit 76 is generated as print data by performing various processes thereafter. The print engine 77 drives and controls the printing mechanism based on the print data. The personal information transmitted in the vCard file is printed on the roll paper P1 with the designated print layout, or the image transmitted in the vNote file is printed. Or For example, when a vCard file including a single piece of personal information is transmitted to the printer 1, the personal information is printed with a business card layout corresponding to the designated number entered in the memo field of the mobile phone 14.

The roll paper P on which personal information data is printed in the business card layout is cut into a business card size by the operation of the cutter motor M3 during the paper discharge.
The received data check is divided into the CF type communication card 13 and the main body 2, the first check to check whether the data is the corresponding data based on the extension in the CF type communication card 13, and the content of the data is analyzed on the main body 2 side Therefore, it is shared with the second check for checking whether the data is correspondence data. The printer 1 includes a plurality of communication units 45 b to 45 d having a communication method different from that of the CF type communication card 13 in the main body 2, and any one of the CF type communication card 13 and the other communication units 45 b to 45 d is connected. It is a configuration that can only receive data. In this case, the object transmission / reception unit 64 in the CF-type communication card 13 makes the CF-type communication card 13 determine whether the data is compatible data or incompatible data, and discard the unsupported data. Corresponding data is not transferred to the main body 2 side of the printer 1. If such data to be discarded is transferred from the CF type communication card 13 to the main body 2 side and the port is occupied, reception from the other communication units 45b to 45d is suspended during that time. End up. However, in this embodiment, unsupported data is discarded in the CF-type communication card 13 so as not to be transferred to the main body 2 side. Therefore, efficient communication that does not unnecessarily prevent data reception in the other communication units 45b to 45d. Can be realized.

  Incompatible data is detected at the start of reception in the CF-type communication card 13 on the upstream side of reception, and an error is immediately displayed on the display unit 13b, so that a user who has started data transmission from the mobile phone 14 is notified of the reception error quickly. It is also possible.

  Further, extension data (reference data) used when determining whether the data is compatible data or non-compatible data is set up in the CF type communication card 13 from the main body 2 side of the printer 1. Thereby, the data registered on the main body 2 side as reference data can be used. In other words, the corresponding data may differ depending on the model of the printer 1, and in such a case, reference data corresponding to the model is set up, so CF type communication between multiple models or old and new models The card 13 can be shared.

Hereinafter, effects of the present embodiment will be described.
(1) The suitability of the data received in the CF type communication card 13 was checked. For this reason, even if unsupported data is transmitted, if it is determined as unsupported data by the object transmitting / receiving unit 64 in the CF-type communication card 13, it is discarded immediately, so that data is transferred to the main body 2 of the printer 1. There is nothing to do. For this reason, it can be avoided that the communication port from the CF type communication card 13 to the main body 2 side is occupied by data to be discarded, and the reception of the other communication units 45b to 45d is not prevented unnecessarily. Therefore, efficient communication can be realized.

  (2) The portion for checking the received data (determining whether the data is appropriate) is divided into two parts on the CF type communication card 13 and the main body 2 side of the printer 1. In the CF type communication card 13, simple check contents that simply check the extension are adopted. For this reason, even if unsupported data is transmitted, it does not take much time to determine that the data is not supported by the object transmitting / receiving unit 64 in the CF type communication card 13. On the other hand, when many check functions are integrated in the CF type communication card 13, a large buffer capacity is required for temporarily storing data. However, in the configuration of the present embodiment in which the check function is shared so as to determine the suitability of data on the main body 2 side, the CF communication card 13 does not need to include a determination unit with a high processing capability and a relatively large capacity buffer.

  (3) Since the determination as to whether or not the data is compatible data is performed early in the CF communication card 13 on the upstream side of reception and at the start of data reception, it is possible to quickly notify the user of a reception error indicating that the data is not compatible. it can. For example, a configuration is also conceivable in which data is analyzed after completion of reception within the printer 1 to determine whether it is corresponding data. However, in the case of this configuration, an error is known after data is transmitted over a period of several tens of seconds to 1 minute, and the transmission operation up to that point is wasted. On the other hand, such a disadvantageous situation can be avoided in the configuration of the present embodiment.

  (4) Since the unsupported data detected in the CF type communication card 13 is discarded, the subsequent transfer process from the CF type communication card 13 to the printer 1 side and the second data check on the printer 1 side are included. Eliminate the waste of performing various processes for unsupported data. There is also inappropriate data with the correct extension. In this case, even if the extension is correct in the data CF type communication card 13 and is overlooked and transferred to the printer 1, the text data format conversion unit 85, the image data decoding unit 87, and the image data raster processing unit 76 process the data. The data (body) is analyzed before being applied. Therefore, even if the extension is correct, the contents of the data are analyzed to determine whether or not the data is appropriate, so that the predetermined processing is not performed on the inappropriate data.

  (5) For example, when the extension check function is provided on the main body 2 side of the printer 1, once the data is transferred to the main body 2 side and unsupported data is detected, the detection result is again displayed on the CF communication card 13 side. It takes time for a round trip of transmission and reception until error notification. Similarly, when the display unit 13b is provided on the main body 2 side of the printer 1, it is necessary to temporarily transfer data to the main body 2 side. However, in this embodiment, since the display unit 13b is provided on the CF type communication card 13 side having a determination unit for unsupported data, the communication path to error notification is completed within the CF type communication card 13 and is short and wasted. There is no.

  (6) Extension data (reference data) used when determining whether the data is compatible data or non-compatible data is set up in the CF type communication card 13 from the main body 2 side of the printer 1. Therefore, the extension data set on the main body 2 side can always be used. In other words, the types of data that can be handled may differ depending on the model of the printer 1, and even in such a case, extension data corresponding to the model is set up. The CF type communication card 13 can be shared.

  (7) Since the reception error is notified by turning on the display unit 13b, it is possible to notify the user of the reception error. In addition, a reception error is notified to the screen 9a of the operation panel 8 using at least one of character information and an image, and further notified to the content of the reception error. Therefore, the user can know what caused the error. For this reason, it is possible to avoid a situation in which the cause of the error is not known and a transmission error is repeatedly generated. For example, if the extension is wrong, it can be known, and if the content of the transmitted data is not compatible, it can be known.

  (8) The printer 1 can receive data through a plurality of communication units, but can only receive data from one of these ports, so whether or not data can be received from the CF type communication card 13 is interlocked. Judge with. Only when it is determined that reception is possible by the interlock function, the display unit 13b is lit in green to notify that reception is possible, and when it is determined that reception is impossible, the display unit 13b is turned off. Therefore, it is not known that the printer 1 is not ready to receive data, and it is possible to avoid a situation where an error occurs each time the user transmits data many times.

  (9) After the communication link between the mobile phone 14 and the CF type communication card 13 is disconnected, for example, when an error occurs on the printer 1 side, there is no way to notify the mobile phone 14 of the error. However, it is possible to notify the user that an error has occurred by blinking red the display unit 13b of the CF type communication card 13 that can communicate with the printer 1. Therefore, the user can also know the error that occurred after the communication between the mobile phone 14 and the CF type communication card 13 is cut off.

  (10) When the communication with the mobile phone 14 is completed, the CF-type communication card 13 turns on the display unit 13b in orange, but once it turns on in orange and then flashes red, it has occurred on the printer 1 side. It turns out to be an error. Therefore, even if the error content is not displayed, the cause of the error can be specified to some extent from the way the lighting color of the display unit 13b is changed. For example, it is useful for identifying the cause at the time of maintenance requested by the user.

  (11) Since the infrared communication function can be mounted on the printer 1 simply by setting the IrDA communication module to the CF type communication card 13 with the card built in the card slot 12 for the memory card, the housing of the printer 1 It can be used as it is without being changed. Therefore, it is not necessary to change the shape of the casing of the printer 1, so that it is not necessary to change the design of the casing or change the manufacturing mold. This can suppress an increase in manufacturing cost of the printer 1 due to the introduction of the infrared communication method.

  (12) The personal information data of the mobile phone 14 is in the vCard format where the layout cannot be defined, and the data cannot be directly printed by being assigned to a predetermined layout. However, by providing means for converting vCard format data that cannot be layout-defined into XHTML format data that can be layout-defined, a predetermined layout can be assigned and only necessary data can be printed.

  (13) Distinguish whether personal information data is a single case or all cases. If it is a single case, it is converted into data in a business card template format, and if it is all cases, it is converted into data in a phone book template format. Therefore, it is possible to automatically assign an appropriate layout according to whether the personal information data is single or all (multiple) to the data and print it.

  (14) By providing means for retrieving the category identifier DS, the number of personal information data (data by case) received when receiving all case data is counted, and a predetermined number (one in this example) Every time reception is completed, the data for a predetermined number (one) received can be divided and sent to the next processing. Therefore, the capacity of the buffer for temporarily storing the received data can be reduced until the data is sent to the predetermined processing unit. In addition, it is possible to advance the processing start time in the predetermined processing unit, and thus, the printing start time is advanced, which contributes to the improvement of the throughput of the printer 1.

  (15) The personal information data can be printed with the specified content (specified layout) corresponding to the specified information described in the memo area. That is, the user displays the personal information column of the mobile phone 14 and writes (inputs) number information such as “1”, “2”, and “3” or character information such as alphabet in the memo column therein. The described character information is stored in the memo area of the personal information data. The numbers described in this memo area are treated as characters that specify the layout. When the personal information data transmitted from the mobile phone 14 is received, the number stored in the memo area is identified and the layout corresponding to the character is determined. Personal information can be printed in the layout specified in the memo area.

  (16) Data created by the mobile phone 14 is transmitted to the printer 1, and business card printing can be facilitated by the printer alone. When there are no business cards on hand, the necessary number of business cards can be printed easily by simply sending the data of the mobile phone 14 to the printer 1. In addition, since the mobile phone 14 originally uses data for managing personal information, there is no need to input the contents of the business card. Further, the vCard format data that cannot be defined by the mobile phone 14 is converted into the XHTML format data that can be layout defined, so that it can be printed in the layout as a general business card. In addition, since a plurality of business card templates are prepared, a business card having a desired layout can be printed.

The embodiment is not limited to the above, and can be modified as follows.
(Modification 1) The data type is not limited to vCard and vNote. Data with text data (extension “.txt”) or other extensions “.tif”, “.gif”, “.doc” may be used. Further, the method of checking the suitability of received data performed in the CF type communication card 13 is not limited to the method of checking the extension. For example, the contents may be checked by checking the contents of the data, or a check method for checking the presence / absence of the text “vCard” or “vNote” may be used.

  (Modification 2) The present invention is not limited to the infrared communication system of the type in which the CF communication card 13 is inserted. The present invention can also be applied to a printer in which an IrDA communication module is incorporated in the main body 2. Also in this case, the same effect as that of the above embodiment can be obtained when the object transmission / reception unit of the IrDA communication module performs extension check and the profile unit 74 analyzes the data contents.

  (Modification 3) Data may be checked from the file name instead of the extension. For example, when the file name is always the same or a part of the file name is always the same, it is possible to adopt a method of checking that the same data is always checked by checking the same part.

  (Modification 4) As a result of checking the data, the process for sending to the next process when the data is appropriate is not limited to the text data format conversion unit 85. That is, the present invention is not limited to the format conversion process from data that cannot be layout-defined to data that can be layout-defined. Further, the present invention is not limited to image decoding processing and image raster processing. Simple image processing (for example, enlargement / reduction processing, color conversion processing, etc.) may be used. Any other process that needs to be performed on the received data for output processing may be used.

  (Modification 5) An error notification method when data is inappropriate (incorrect) is not limited to display on the screen of a display unit or a display device. For example, notification with sound may be performed together with display, or notification may be performed with sound alone. For example, an error message or an error content (cause) may be notified by synthesized speech.

  (Modification 6) Although the present embodiment is applied to a printer, the output device is not limited to a printing device (printer) that performs print processing as output processing. For example, the present invention can be applied to a display device that performs display processing as output processing. For example, when a vCard file is received from a mobile phone, the personal information in the object data is displayed on the screen of the display device in a predetermined layout. Also, the display device may be a projector. In this case, the extension acquired from the file name in the header HD is checked to determine whether it is a vCard file in the communication card, and before the predetermined processing performed on the main body side, vCard is checked. Check (analyze) the contents (contents) of file object data. By performing the data check twice with different check contents in this way, the same effect as in the case of the printer can be obtained in a display device such as a projector.

The technical idea grasped from the respective embodiments and modifications will be described below.
(1) In any one of claims 6 to 12, the first determination unit determines whether the data is appropriate based on the attribute information, and the second determination unit analyzes the content of the data. The gist is to make the determination. According to this, since the first determination unit determines the suitability based on the attribute information of the data, it is possible to delete inappropriate data with a relatively simple process that does not require much determination processing time.

  (2) In any one of claims 6 to 8, the first determination unit determines whether the data is appropriate based on the header of the data, and the second determination unit analyzes the body of the data to obtain data. An output device for determining whether or not a device is appropriate.

  (3) In any one of claims 1 to 3, the apparatus further includes a distribution unit that distributes the data transferred to the output device main body side to different processing units according to data types, and the second determination unit includes: A plurality of processing units are provided corresponding to the respective processing units, and determination is performed before processing of the processing units. The extension identifying unit 81 constitutes a sorting unit. In addition, the different processing units corresponding to the data types correspond to the text data format conversion unit 85, the image data decoding unit 87, and the image data raster processing unit 76 in the embodiment.

  According to this, after data is distributed to different processing units according to the data type, the data is checked in advance before being processed by the processing unit. In addition, since a plurality of second determination units corresponding to each processing unit is provided, each second determination unit determines whether it is necessary according to the data type when processing is performed by the corresponding processing unit. You only have to do it. That is, since each second determination unit is a dedicated unit that can determine only the data type processed by the corresponding processing unit, each determination time can be shortened.

(4) The output device according to claim 4, wherein the reference data is extension data referred to in order to determine whether the extension of the data is a corresponding extension or an unsupported extension.
(5) The output device according to any one of claims 6 to 11, further comprising a notification unit that notifies each determination result of the first determination unit and the second determination unit. .

  (6) In the output device according to claim 12, the notification means is a display means provided in the output device main body, and the display means includes an image and an image so that each determination result can be understood to an inappropriate content. Display at least one of the character information.

(7) In any one of claims 6 to 12, the first determination unit and the second determination unit determine whether the data type of the data is appropriate.
(8) In any one of claims 6 to 12 and technical idea (8), the first determination unit and the second determination unit determine the suitability of the data type by different methods.

  (9) The output device according to any one of claims 4 to 12 receives data via a wireless communication device that is removably inserted into a slot provided in the output device body, and converts the received data into the received data. An output device that performs output processing based on the output device.

(10) The gist of the invention is any one of claims 1 to 11, wherein the output device performs a printing process based on the data as the output process.
(11) In any one of claims 13 to 22, the wireless communicator displays a display unit, the determination unit that determines the suitability of received data, and the determination unit displays the determination result by the display unit. The gist of the invention is that it includes display control means. According to this, when data that cannot be handled (handled) by the output device side is received, the display unit determines that immediately after the start of data reception at the reception stage of the wireless communication device, and the display unit notifies the fact. . Therefore, it is possible to notify the sender early. In particular, even if it is determined that a reception error has occurred after data reception from the mobile terminal is terminated and the communication link is disconnected, the display unit notifies the user of the reception error by the display mode informing that effect. Is possible.

1 is a perspective view of a printer according to an embodiment. The top view which shows the principal part of an operation panel. The perspective view of CF type | mold communication card (infrared communication card). (A) The top view of a mobile phone, (b) The screen figure which shows an example of the personal information displayed on the mobile phone. FIG. 2 is an electrical block diagram showing an electrical configuration of a mobile phone, an infrared communication card and a printer. The block diagram which shows the functional structure of a mobile telephone, an infrared communication card, and a printer. FIG. 6 is a data structure diagram in OBEX transfer. The sequence diagram of the data transmission from a mobile telephone to a printer. The flowchart which shows the initial process at the time of card | curd recognition. The flowchart which shows a data suitability determination process. The sequence diagram which shows a data suitability determination process. (A) is a screen diagram for notifying a data reception state, (b) is a screen diagram for notifying a reception error, and (c) is a screen diagram for notifying during printing. Data diagram of a single vCard file. Business card layout template data diagram. Data diagram of template format data. Business card layout template layout diagram. (A)-(c) is the layout figure of the template of a business card layout, (d) is the layout figure of the template of a telephone directory layout. The flowchart which shows the process of an IrDA profile part.

Explanation of symbols

  DESCRIPTION OF SYMBOLS 1 ... Printer as output device and printing device, 2 ... Main body as output device main body, 12 ... Card slot as slot, 13 ... CF card type infrared communication card (infrared communication card) as wireless communication device constituting receiving means ), 13a: Infrared light emitting / receiving unit (communication port on the CF type communication card side), 13b: Display unit constituting notification means, 14: Mobile phone as a mobile terminal, 18 ... Mobile phone display, 20 ... Infrared light receiving / emitting (Communication port on the mobile phone side), 31... Notifying means and a card control unit as a determination unit and a first determination unit, 45 e... Slot communication unit as a reception unit and communication unit, 45 b to 45 d. Communication unit as a unit, 64... Reception unit, determination unit and object transmission / reception unit as a first determination unit, 73... Data transfer unit, 71. A card driver that constitutes the determining means, 71a ... a setup data storage part that constitutes the setting means, 64a ... a corresponding extension storage part as the storage part, 76 ... an image that constitutes the output means, the second determining part and the predetermined processing part Data raster processing unit, 77... Print engine constituting output means, 85... Output means, second determination unit and text data format conversion unit constituting predetermined processing unit, 87... Second determination unit and predetermined processing unit The image data decoding part which comprises.

Claims (23)

  1. In an output device comprising receiving means for receiving data from a portable terminal and output means for performing output processing based on the data received via the receiving means,
    The receiving means includes a determination unit that determines the suitability of the received data;
    A receiving unit that accepts the data when the determining unit determines that the data is appropriate and sends the data to a predetermined processing unit, and discards the data when the data is determined to be inappropriate. Feature output device.
  2. The output device according to claim 1,
    The determination unit determines the suitability of the data from the data type of the received data,
    The reception unit accepts the data when the data type is determined to be appropriate and sends the data to a predetermined processing unit, and discards the data when the data type is determined to be inappropriate. Output device.
  3. The output device according to claim 2,
    The determination unit determines the suitability of the data type from the extension of the received data,
    The reception unit accepts the data when the extension is determined to be a corresponding extension and sends the data to a predetermined processing unit, and the data when the extension is determined to be an unsupported extension. An output device characterized by discarding.
  4. In the output device according to any one of claims 1 to 3,
    The receiving means includes a wireless communication device that is detachably connected to the output device body, and the determination unit and the receiving unit are provided in the wireless communication device,
    An output device, comprising: setting means for setting up, in the wireless communication device, reference data used by the determination unit for determining whether or not the data is appropriate.
  5. In the output device according to any one of claims 1 to 4,
    An output device comprising notification means for notifying the determination result of the determination unit.
  6. In an output device that receives data via a wireless communication device detachably attached to the output device main body and performs output processing based on the received data,
    A receiving unit that receives data transferred from the wireless communication device to the output device main body without being discarded because the first determination unit that determines whether the data received by the wireless communication device is appropriate is determined;
    An output device comprising: a second determination unit that determines whether the data received by the reception unit is appropriate.
  7. The output device according to claim 6.
    The output device, wherein the second determination unit sends the data to a predetermined processing unit when determining that the data is appropriate, and discards the data when determining that the data is inappropriate.
  8. The output device according to claim 6 or 7,
    The output device characterized in that the second determination unit determines the suitability of the data by a method different from that of the first determination unit.
  9. In the output device according to any one of claims 6 to 8,
    The output device, wherein the first determination unit determines whether the data is appropriate based on an extension of the data, and the second determination unit analyzes the content of the data to determine the appropriateness of the data.
  10. In the output device according to any one of claims 4 to 9,
    The output device body includes at least one communication unit in addition to the communication unit to which the wireless communication device is connected, and is configured so that data cannot be received simultaneously from all communication ports of the plurality of communication units. Characteristic output device.
  11. In the output device according to any one of claims 1 to 5 and 7 to 10,
    The predetermined processing unit performs a format conversion process for converting data in a data format that cannot be layout-defined into data in a data format that can be layout-defined, and the determination unit has a data format that can be format-converted by the predetermined processing unit. An output device characterized by determining whether or not.
  12. The output device according to any one of claims 6 to 11, further comprising an informing means for distinguishing and informing each determination content when the first determination unit and the second determination unit determine inappropriate data. An output device characterized by that.
  13. A wireless communicator that is detachably attached to an output device body of an output device that performs output processing based on data received from a mobile terminal, in order to receive data from the mobile terminal,
    A determination unit for determining the suitability of the received data;
    When the data is determined to be appropriate by the determination unit, the data is received and transferred to the output apparatus main body, and when the data is determined to be inappropriate, a reception unit is provided that discards the data. A wireless communication device.
  14. The wireless communication device according to claim 13, wherein
    The determination unit determines the suitability of the data from the data type of the received data,
    The accepting unit accepts the data when the data type is determined to be appropriate and sends the data to a predetermined processing unit on the output device body side, and discards the data when the data type is determined to be inappropriate. A wireless communication device.
  15. 15. The wireless communication device according to claim 14, wherein
    The determination unit determines the suitability of the data type from the extension of the received data,
    When the extension is determined to be a corresponding extension, the reception unit receives the data and sends the data to a predetermined processing unit on the output device body side, and the extension is determined to be an unsupported extension. A wireless communication device that discards the data if it is received.
  16. The wireless communication device according to any one of claims 13 to 15,
    A wireless communication device, comprising: a storage unit in which reference data used by the determination unit for determining the suitability of the data is set up by setting means of the output device main body.
  17. The wireless communication device according to any one of claims 13 to 16, wherein
    A wireless communication device comprising notification means for notifying a determination result of the determination unit.
  18. The wireless communication device according to any one of claims 13 to 17,
    A wireless communication device, wherein data that is not discarded because the determination unit determines that it is appropriate is transferred to the output device main body for determination of suitability by a second determination unit of the output device main body.
  19. The wireless communication device according to claim 18, comprising:
    The determination unit determines whether or not the data is appropriate based on the extension of the data, and the second determination unit analyzes the content of the data and discards the data that is not discarded because the determination unit determines that the data is appropriate. A wireless communication device that transfers to an output device main body to determine suitability.
  20. The wireless communication device according to any one of claims 13 to 19,
    The output device main body includes at least one communication unit in addition to the communication unit to which the wireless communication device is detachably connected, and is configured so that data cannot be received simultaneously from all communication ports of the plurality of communication units. A wireless communication device that receives data from the portable terminal only when the communication unit for the wireless communication device among the plurality of communication units is receivable.
  21. The wireless communication device according to any one of claims 13 to 20,
    The predetermined processing unit included in the output device main body performs format conversion processing for converting data in a data format that cannot be layout-defined into data in a data format that can be layout-defined, and the determination unit is format-converted by the predetermined processing unit. A wireless communication device that determines whether or not a data format is processable.
  22. The wireless communication device according to any one of claims 18 to 21,
    A wireless communication device, comprising: a notification unit that distinguishes and notifies each determination content when the determination unit and the second determination unit determine inappropriate data.
  23. The output device according to any one of claims 6 to 22, further comprising: a wireless communication device according to any one of claims 13 to 22; and an output device main body to which the wireless communication device is detachably attached. And an output processing unit.
JP2004034188A 2003-07-17 2004-02-10 Output unit, radio communication unit, and output processing unit Pending JP2005047252A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2003302052 2003-07-17
JP2004034188A JP2005047252A (en) 2003-07-17 2004-02-10 Output unit, radio communication unit, and output processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004034188A JP2005047252A (en) 2003-07-17 2004-02-10 Output unit, radio communication unit, and output processing unit

Publications (1)

Publication Number Publication Date
JP2005047252A true JP2005047252A (en) 2005-02-24

Family

ID=34277623

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004034188A Pending JP2005047252A (en) 2003-07-17 2004-02-10 Output unit, radio communication unit, and output processing unit

Country Status (1)

Country Link
JP (1) JP2005047252A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010098540A (en) * 2008-10-16 2010-04-30 Fujitsu Ltd Data transmission system, terminal device, control circuit for terminal device, data transmission method and data transmission program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08300772A (en) * 1995-05-15 1996-11-19 Asahi Optical Co Ltd Data communication display device and printer
JPH10209924A (en) * 1997-01-17 1998-08-07 Tec Corp Printer
JPH1145137A (en) * 1997-07-28 1999-02-16 Canon Inc Unit and method for interface control and printer
JPH11321029A (en) * 1998-05-11 1999-11-24 Olympus Optical Co Ltd Image printer
JP2001117783A (en) * 1999-08-10 2001-04-27 Seiko Epson Corp Program start system and program start control method
JP2002073306A (en) * 2000-08-29 2002-03-12 Canon Inc Printer system, printer control device, method and storage medium
JP2003127472A (en) * 2001-10-22 2003-05-08 Canon Inc Recorder and its controlling method and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08300772A (en) * 1995-05-15 1996-11-19 Asahi Optical Co Ltd Data communication display device and printer
JPH10209924A (en) * 1997-01-17 1998-08-07 Tec Corp Printer
JPH1145137A (en) * 1997-07-28 1999-02-16 Canon Inc Unit and method for interface control and printer
JPH11321029A (en) * 1998-05-11 1999-11-24 Olympus Optical Co Ltd Image printer
JP2001117783A (en) * 1999-08-10 2001-04-27 Seiko Epson Corp Program start system and program start control method
JP2002073306A (en) * 2000-08-29 2002-03-12 Canon Inc Printer system, printer control device, method and storage medium
JP2003127472A (en) * 2001-10-22 2003-05-08 Canon Inc Recorder and its controlling method and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010098540A (en) * 2008-10-16 2010-04-30 Fujitsu Ltd Data transmission system, terminal device, control circuit for terminal device, data transmission method and data transmission program

Similar Documents

Publication Publication Date Title
USRE47875E1 (en) Mobile terminal device, and method and computer readable medium for the same
JP4574089B2 (en) Cradle for portable terminal, control method thereof, and storage medium
EP1760987B1 (en) System for linking fax and e-mail
KR100819263B1 (en) Apparatus and method of management vcard
EP1571823B1 (en) Network facsimile system
US20120243053A1 (en) Personal digital assistant based communication system
JP4367941B2 (en) Relay device, image supply device, printing system and control method thereof
US8036244B2 (en) Transmitter, receiver, communication system, communication method, non-transitory computer readable medium
JP5967980B2 (en) Recording system, recording apparatus, and communication method
US7274952B2 (en) Portable telephone set
US7764393B2 (en) Print system, image supply device, print apparatus, and control method thereof
JP5991733B2 (en) Network system, information processing apparatus, and communication method
US20080309961A1 (en) Portable Communication Apparatus, Print System, and Control Method Thereof
US10417514B2 (en) Apparatus and method for reproducing handwritten message by using handwriting data
US7884956B2 (en) Network facsimile system
US5933478A (en) Data transfer system and handheld terminal device used therefor
US20020103872A1 (en) Communication apparatus and control method of the same
EP1569434B1 (en) Network facsimile system
JP4086393B2 (en) Communication system, communication device, and control method thereof
JP4333053B2 (en) Image forming apparatus, printing method, program, and recording medium
EP2784667A1 (en) Function executing apparatus, non-transitory storage medium storing instructions executable by the function executing apparatus, and method of controlling the function executing apparatus from an external device connected to the function executing apparatus
CN1835510B (en) E-mail communication apparatus, e-mail communication method
US6128101A (en) E-mail type facsimile apparatus and E-mail reception method
JP2546557B2 (en) Fax mail device
US7450156B2 (en) Communication device, communication system, communication method and communication terminal apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070209

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100208

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100518