WO2012150671A1 - Printing device - Google Patents

Printing device Download PDF

Info

Publication number
WO2012150671A1
WO2012150671A1 PCT/JP2012/058212 JP2012058212W WO2012150671A1 WO 2012150671 A1 WO2012150671 A1 WO 2012150671A1 JP 2012058212 W JP2012058212 W JP 2012058212W WO 2012150671 A1 WO2012150671 A1 WO 2012150671A1
Authority
WO
WIPO (PCT)
Prior art keywords
printing
print
information
command
setting information
Prior art date
Application number
PCT/JP2012/058212
Other languages
French (fr)
Japanese (ja)
Inventor
潤也 河合
Original Assignee
ブラザー工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ブラザー工業株式会社 filed Critical ブラザー工業株式会社
Publication of WO2012150671A1 publication Critical patent/WO2012150671A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/1822Analysing the received data before processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/1803Receiving particular commands
    • G06K15/1806Receiving job control commands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K15/00Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers
    • G06K15/02Arrangements for producing a permanent visual presentation of the output data, e.g. computer output printers using printers
    • G06K15/18Conditioning data for presenting it to the physical printing elements
    • G06K15/1801Input data handling means
    • G06K15/1818Adaptations for accepting data from more than one source

Definitions

  • the present invention relates to a printing apparatus that performs desired printing on a substrate.
  • Printing apparatuses that perform printing based on information output from operating devices outside the apparatus are already known. At this time, for example, if the information from the operation device includes any deficiencies that are not compatible with the printing apparatus, printing is not executed.
  • the printing apparatus executes desired printing corresponding to the printing control information by acquiring the printing control information (printing data) output from the operating device (host computer).
  • the data processing section sequentially reads the print control information in units of print element setting information (commands), and further interprets the read print element setting information. After being interpreted by the part, it is sequentially stored in the hard disk drive. As a result, it is possible to match the order of the print control information output from the operating device and the order of the print control information stored in the hard disk drive when printing is not executed.
  • the present invention provides an information acquisition means for acquiring printing control information output from an operating device outside the apparatus, a transport means for transporting a substrate, and the transport means transported by the transport means.
  • a printing device for performing desired printing corresponding to the print control information acquired by the information acquisition unit on the printing material, the print control acquired by the information acquisition unit
  • An information extracting unit that analyzes information and extracts a plurality of print element setting information included in the print control information in a predetermined order; and a first print out of the plurality of print element setting information extracted by the information extracting unit Generate new print control information using the element setting information, print the print data in the print mode corresponding to the new print control information, and identification information of the first print element setting information
  • the first control unit that controls the printing of the text data in cooperation with the transport unit and the printing unit and the first of the plurality of print element setting information each time a predetermined processing continuation instruction is input
  • the subsequent print element setting information is sequentially added to generate the new print control information, and printing
  • printing is performed based on information from an operating device outside the apparatus. That is, the print control information output from the operation device is acquired by the information acquisition unit. Then, the printing unit executes desired printing corresponding to the printing control information on the substrate to be printed conveyed by the conveying unit.
  • the print control information includes a plurality of pieces of print element setting information.
  • any incompatibility difference in the number of bits or information format that does not match the printing apparatus. If there are non-conformances, etc.), printing cannot be performed.
  • the operator can recognize that there is the above-mentioned defect by the fact that printing by the printing means is not normally performed. However, the operator cannot know which of the plurality of print element setting information is incomplete (in other words, there was no problem in other cases) as it is.
  • the information extraction unit analyzes the print control information and extracts a plurality of print element setting information.
  • the first control means first generates new print control information using the first print element setting information in the predetermined order. Accordingly, the printing unit prints the print data on the conveyed printing material in a printing mode corresponding to the new print control information. If the print data at this time is not normally printed, the operator can know that the first print element setting information is incomplete. At this time, under the control of the first control means, the printing means also prints text data of identification information (for example, name and function) of the first print element setting information. As a result, the operator can reliably specify and recognize this print element setting information.
  • identification information for example, name and function
  • the second control means uses the printing element setting information next to the first printing element setting information (in this case, the second printing element setting information) along the predetermined order to newly add new printing control information. Generate.
  • the printing unit prints the print data on the conveyed substrate in a print mode corresponding to the new print control information. If the print data at this time is not normally printed, the operator can know that the newly added second print element setting information is incomplete.
  • the printing unit also prints at least text data of identification information of the second print element setting information. As a result, the operator can reliably specify and recognize this print element setting information.
  • new print control information is sequentially generated while adding each print element setting information included in the original print control information one by one in order. Continue printing.
  • the operator can surely recognize that the printing element setting information added immediately before the printing is incomplete.
  • the text data of the identification information of the printing element setting information in the order before the added printing element setting information is normally printed on the printed material at that time, the operator has the above-mentioned deficiencies.
  • the print element setting information can be more reliably identified and recognized.
  • the operator when printing based on the print control information output from the operating device is not executed, the operator can reliably identify defective print element setting information included in the print control information. Can be recognized.
  • FIG. 1 is a system configuration diagram illustrating a printing system including a printing apparatus according to an embodiment.
  • FIG. 2 is a functional block diagram illustrating a functional configuration of the printing system in FIG. 1. It is a figure showing an example of the printed label produced. It is explanatory drawing showing the state by which the print label was produced normally by the printing command which does not contain a defect. It is explanatory drawing showing the state by which the printed label was not produced normally by the printing command containing a defect. It is explanatory drawing showing the state by which the 1st printed label was printed normally using the printing command containing the first printing related command. It is explanatory drawing showing the state by which the 2nd printed label was printed normally using the printing command containing the printing related command to the 2nd.
  • 10 is an explanatory diagram illustrating a state where printing is normally performed by a print command including a first print-related command in a modification in which printing is repeatedly performed on the same print label. It is explanatory drawing showing the state in which printing was normally performed by the printing command containing the printing related command to the 2nd in the modification which prints repeatedly on the same printing label. It is explanatory drawing showing the state in which printing was normally performed by the printing command containing the printing related command to the 3rd in the modification which prints repeatedly on the same printing label. It is explanatory drawing showing the state in which printing was normally performed by the printing command containing the printing related command to the 4th in the modification which prints repeatedly on the same printing label.
  • the printing system PS has a barcode reader 200 for reading a barcode BC printed on an appropriate barcode recording body L with an optical reading scanner or the like, and a desired print on the print-receiving tape 303 based on the read information.
  • a label producing apparatus 300 for producing the print label P.
  • the label producing apparatus 300 and the barcode reader 200 are connected so as to be able to transmit and receive information via a connecting means 2 (for example, a USB cable or the like, or may be connected wirelessly), and the scanner unit 204 of the barcode reader 200 is connected to the barcode reader 200.
  • a print command (details will be described later) generated by reading the code BC is output to the label producing apparatus 300 via the connecting means 2.
  • the barcode reader 200 performs information communication (serial communication, etc.) between the scanner unit 204 for optically reading the barcode BC and the label producing apparatus 300 via the connection means 2. Interface 205.
  • the label producing apparatus 300 includes a roll 304 around which the print-receiving tape 303 is wound (which is originally a spiral, but is simplified and shown as a concentric circle), and a print corresponding to the print-receiving tape 303 fed out from the roll 304.
  • a thermal head 305 that performs predetermined printing in a region (see FIG. 3 described later), a conveyance roller 308 for conveying the print-receiving tape 303, and the print-receiving tape 303 that has finished printing are cut into a predetermined length.
  • the cutter 307 for generating the print label P, the interface 309 for performing information communication via the bar code reader 200 and the connection means 2, and the above thermal head 305, cutter 307, transport roller 308 and the like are controlled. And a control circuit 311.
  • the corresponding print command is generated in the scanner unit 204, for example, and input to the control circuit 311 of the label producing apparatus 300. Based on the print command, the control circuit 311 controls the thermal head 305, the cutter 307, the transport roller 308, and the like, thereby creating a print label P on which a print corresponding to the print command is formed.
  • FIG. 1 An example of the printed label P produced as described above is shown in FIG.
  • the print “12345” corresponding to the print data (in this example, the data having the text “12345”) is formed at the center of the print area R of the print label P.
  • the feature of the present embodiment is that there is a defect in the print command when the print command from the barcode reader 200 is input and the printing performed by the label producing apparatus 300 is not performed normally. There is an analysis method to find out if there was. Hereinafter, the contents will be described in order.
  • the print command Q generated by the scanner unit 204 of the barcode reader 200 is output to the label creating apparatus 300, and the label creating apparatus 300 executes the desired printing based on the print command Q.
  • the print command Q includes a plurality of print-related commands TD that affect printing in a predetermined order.
  • the print command Q includes a first command TD1 that is represented by “FSia 0 ⁇ 00” and executes a mode switching function to the ESC / P mode, and a print formation location that is represented by “FSiL 0 ⁇ 01”.
  • a fifth command TD5 for executing a function and five print-related commands TD are included, and the print command Q includes print data PD (in the above example). "12345" is included).
  • the control circuit 311 of the label producing apparatus 300 prints the print command. Q can be recognized correctly.
  • positioning horizontal position adjustment and vertical position adjustment
  • the text “12345” which is the content of the print data PD.
  • the character size to be printed is adjusted.
  • the print-related commands TD do not conform to the use and performance of the label producing apparatus 300 due to, for example, some bit number difference or information format incompatibility due to, for example, a barcode BC creation error. It may be included.
  • the above five print related commands TD include an incorrect print related command TD ′ “FS X 0 ⁇ 64 0 ⁇ 00” (correctly “FS X 0 ⁇ 00 0 ⁇ ” 64 0 ⁇ 00 ”).
  • the control circuit 311 of the label producing apparatus 300 cannot correctly recognize the entire print command Q ′.
  • improper printing as shown in FIG. 5 is formed.
  • the operator can recognize that there is some deficiency in the print command Q ′, for example, by the fact that printing with the thermal head 305 is not normally performed as shown in FIG. However, the operator cannot know which of the plurality of print-related commands TD is defective (in other words, there was no problem in other cases) as it is.
  • the print command Q is analyzed by the control circuit 311 and a plurality of (in this example, five) print-related commands TD1, TD2, which are included in the print command Q in a predetermined order.
  • TD3, TD4, and TD5 are extracted, respectively.
  • a new print command Q1 is newly generated using the first print-related command TD1 and the print data PD in the predetermined order. Then, the control circuit 311 controls the thermal head 305 using this print command Q1, and an attempt is made to produce the print label P1.
  • normal printing formation of printing “12345” at a printing position defined by default
  • the printing label P1 has been created normally.
  • the text data “FSia 0 ⁇ 00” serving as identification information indicating the name of the print-related command TD1 and the function of the print-related command TD1 are also displayed in a print area Rt different from the print area Rs. Is also printed with the text data “ESC / P mode” as the identification information indicating (the description relating to the printing of the text data in the print command Q1 is omitted). As a result, the operator can reliably specify the print-related command TD1 and recognize its function.
  • the first print-related command TD1 is incomplete. Is surely recognized by the operator.
  • the first print-related command TD1 is not incomplete and any of the other print-related commands TD2 to TD5 is used. There was a problem with. That is, the operator can surely recognize that the print-related command TD1 is not incomplete because the print label P1 for normal printing has been created by the above operations.
  • the next order in the predetermined order that is, the second print related command TD2 (in this example, a command not related to printing in the middle).
  • a new print command Q2 is generated using the added print-related commands TD1 and TD2 (with the “FS @” in between) and the print data PD.
  • this print command Q2 an attempt is made to create a print label P2 as described above.
  • normal printing is performed by the print command Q2 including the print-related commands TD1 and TD2 (formation of print “12345” at a print position positioned at a predetermined position (in this example, the upper left corner)).
  • the print label P2 is normally created.
  • the text data “FSiL 0 ⁇ 01” representing the print-related command TD2 is printed together with the aforementioned “FSia 0 ⁇ 00” in the print region Rt.
  • text data “Landscape ON” representing the function of the print-related command TD2 is printed together with the “ESC / P mode” described above (printing of the text data in the print command Q2). The description of the part related to is omitted).
  • the operator can reliably specify the print-related command TD2 and recognize its function.
  • the operator can surely recognize that the second print-related command TD2 is defective.
  • the normal print label P2 is created as shown in FIG. 7, there is a problem with any of the other print-related commands TD3 to TD5. That is, the operator can surely recognize that the print-related commands TD1 and TD2 were not incomplete because the print label P2 for normal printing was created.
  • the next third print-related command TD3 (in this example, the command “FS (C 0 ⁇ 02 which is not related to printing in the middle) is triggered by an operation (described later) by the operator.
  • a new print command Q3 is generated using the added print-related commands TD1, TD2, TD3 and the print data PD (with 0x00 0x00 0x04 in between).
  • normal printing (positioned at the horizontal center position) is performed by the print command Q3 including the print related commands TD1, TD2, and TD3.
  • the print label P3 is normally created, and the above-described “FSia 0 ⁇ 00” and “FSi” are formed in the print region Rt.
  • the text data “FS $ 0 ⁇ FF 0 ⁇ 00” representing the above printing-related command TD3 is also printed together with “L 0 ⁇ 01”, and the above-mentioned “ESC / P mode” “ Along with “Landscape ON”, text data “horizontal position adjustment” representing the function of the print-related command TD3 is also printed (the description of the print command Q3 relating to printing of the text data is omitted).
  • the operator can reliably specify the print-related command TD3 and recognize its function.
  • the operator can surely recognize that the third print-related command TD3 is defective.
  • the normal print label P3 is created as shown in FIG. 8, there is a problem with any of the other print-related commands TD4 and TD5. That is, the operator can surely recognize that the print-related commands TD1, TD2, and TD3 were not incomplete because the print label P3 for normal printing was created.
  • the print related commands TD1, TD2, TD3, TD4 to which the next fourth print related command TD4 is added and the print data PD are obtained.
  • the new print command Q4 used is newly generated.
  • normal printing formation of printing “12345” at the printing position positioned at the vertical center position
  • the print label P4 is normally created.
  • the text data “FS (V 0 ⁇ ) representing the print-related command TD4 is included in the print area Rt, together with the aforementioned“ FSia 0 ⁇ 00 ”,“ FSiL 0 ⁇ 01 ”,“ FS $ 0 ⁇ FF 0 ⁇ 00 ”.
  • 02 0x00 0x00 0x02 is also printed in the print area Rt, together with the above-mentioned” ESC / P mode ",” Landscape ON “,” Horizontal position adjustment ", and the above printing related command TD3.
  • the text data “vertical position adjustment” representing the function of the printing is also printed (the description relating to the printing of the text data in the print command Q4 is omitted). It is possible to reliably identify TD4 and recognize its function.
  • the operator can surely recognize that the fourth print-related command TD4 is defective. become.
  • the print label P4 for normal printing is created as shown in FIG. 9, there is a problem with another print-related command TD5. That is, the operator can surely recognize that the print-related commands TD1, TD2, TD3, and TD4 were not incomplete because the print label P4 for normal printing was created.
  • this print command Q5 an attempt is made to create a print label P5 as described above.
  • the print label P5 in which the abnormal print is formed in the print region Rs by the print command Q5 in which the print related command TD5 ′ is added in addition to the print related commands TD1, TD2, TD3, and TD4. Has been created.
  • the operator can surely recognize that the fifth print-related command TD5 is defective.
  • a button capable of mode switching operation for analyzing the print command Q is available.
  • a key or the like may be provided.
  • this button is operated, from the normal mode (details will be described later) in which only the normal print label P is created without analyzing the print-related command TD shown in FIGS. Is switched to a command check mode (details will be described later) in which print labels P1, P2,...
  • a command check mode in which print labels P1, P2,...
  • every time an operation instruction is input with this button, as described above, in addition to the first print related command TD1, the subsequent print related commands TD2, TD3,.
  • a new print command Q is sequentially added, and print labels P2, P3, P4,... Are created.
  • step S5 the control circuit 311 determines whether or not the print command Q based on the barcode BC is input from the scanner unit 204 of the barcode reader 200. While the print command Q is not input, the determination is not satisfied and the process stands by in a loop. When the print command Q is input, the determination is satisfied, and the process proceeds to step S400A.
  • step S400A the control circuit 311 controls the thermal head 305, the cutter 307, the transport roller 308, and the like based on the print command Q acquired in step S5, and performs print processing for creating the print label P (for details, see FIG. (See FIG. 12 described later).
  • Step S5 and step S400A correspond to processing in the normal mode that is not the command check mode.
  • step S10 it is determined whether or not the above-described button has been operated by the operator to switch to the command check mode. If there is no switching operation, the determination in step S10 is not satisfied, and the flow is terminated as it is. On the other hand, if there is an operation for switching to the command check mode, the determination in step S10 is satisfied, and the routine goes to step S15.
  • step S15 the control circuit 311 analyzes a command included in the print command Q. That is, as described with reference to FIGS. 4 and 5 and the like, the print command Q includes a plurality of print-related commands TD (along with commands not related to printing). In FIG. 4 and FIG. 5 described above, one line is displayed for each command for the sake of clarity and understanding. In practice, however, each command is labeled from the barcode reader 200 as continuous serial data, for example. Input to the creation device 300. Each command includes a command body and parameters in detail. In the above example, the command represented by “FSia 0 ⁇ 00” is composed of a command body represented by “FSia” and a parameter represented by “0x00”.
  • the print command Q in the serial data format as described above is sequentially extracted and analyzed by the control circuit 311 in predetermined byte units. That is, it is interpreted whether a command is included in the print command Q up to the divided portion, and what command is included if the command is included.
  • step S20 the control circuit 311 determines whether or not the command extracted and analyzed in step S15 is a command related to printing, that is, a print-related command TD. If it is not the above printing-related command TD, the determination in step S20 is not satisfied, and the process returns to step S15 to repeat the same procedure. If it is a print-related command TD, the determination at step S20 is satisfied, and the routine goes to step S25. As a result, each time step S15 or step S20 is repeated and executed as appropriate, a plurality of print-related commands TD1, TD2, TD3,. It will be extracted.
  • step S25 the control circuit 311 detects when the determination in step S20 is satisfied, that is, when the print-related commands TD1, TD2, TD3,... Included in the print command Q input in step S5 are sequentially extracted.
  • the control circuit 311 may determine whether or not printing can be normally performed by the new print command by an appropriate known method. In this case, when it is determined that normal printing is impossible (or printing is impossible), the control circuit 311 outputs a control signal to appropriate notification means, and performs appropriate error processing such as display of an error message or alarm. You may make it perform.
  • step S30 the control circuit 311 generates text data representing the name and function of each print-related command TD included in the new print command Q generated in step S25.
  • step S400B the control circuit 311 determines the thermal head 305, the cutter based on the new print command Q generated and acquired in step S25 and the text data generated in step S30. 307, control of the conveying roller 308, etc., and print processing for creating print labels P1, P2,... Is performed (refer to FIG. 12 described later for details).
  • step S35 it is determined whether or not there has been an operation for continuing processing by the operator via the above-described button. If there is an operation with a button, the determination is satisfied, and the process returns to step S15 and the same procedure is repeated. If there is no operation by the button, this flow is finished as it is.
  • the steps S15, S20, S25, S30, S400B, and S35 correspond to processing in the command check mode that is not the normal mode.
  • steps S400A and S400B Details of the printing process in steps S400A and S400B will be described with reference to FIG. These steps S400A and S400B are procedures with substantially the same contents as described below.
  • step S410 the control circuit 311 outputs a control signal to a conveyance motor (not shown) that drives the conveyance roller 308.
  • a conveyance motor (not shown) that drives the conveyance roller 308.
  • the conveyance roller 308 is driven by the driving force of the conveyance motor, and the print-receiving tape 303 is fed out from the roll 304 to start conveyance.
  • step S420 the control circuit 311 determines whether or not the print-receiving tape 303 has been conveyed by a predetermined amount.
  • the predetermined amount is, for example, a transport distance that allows the thermal head 305 to reach a position that substantially opposes the front end of the print area R (or Rs, Rt) of the print-receiving tape 303.
  • This conveyance distance determination may be performed by an appropriate known method.
  • the marking provided on the print-receiving tape 303 may be detected by a known tape sensor (not shown), or pulse signals to the above-described transport motor that is a stepping motor may be counted.
  • the determination is not satisfied and the apparatus stands by in a loop.
  • the predetermined amount is conveyed, the determination in step S420 is satisfied, and the process proceeds to step S430.
  • step S430 the control circuit 311 outputs a control signal to the thermal head 305.
  • the thermal head 305 starts printing on the print region R of the tape to be printed 303 based on the print command Q input in step S5 of FIG.
  • step S430 in step S400B the thermal head 305 performs printing on the print region Rs of the tape to be printed 303 based on the print command Q generated in step S25 in FIG. 11, and in step S335 in FIG. Printing on the print area Rt of the tape to be printed 303 based on the generated text data is started.
  • step S440 the control circuit 311 confirms whether or not printing for the print region R (or Rs, Rt) of the print-receiving tape 303 has been completed. Specifically, for example, it is determined whether the energization of the thermal head 305 corresponding to the print data PD of the print command Q or the text data is completed. Until the printing is completed, the determination is not satisfied and the loop stands by. If the printing is completed, the determination in step S440 is satisfied, and the process proceeds to step S450.
  • step S450 the control circuit 311 further conveys the print-receiving tape 303 by a predetermined amount (for example, a conveyance distance by which all the print areas R, Rs, and Rt exceed the cutter 307 by a predetermined length (margin amount)). Determine whether it was done. For example, the conveyance distance determination at this time may be the same as in step S420. Until the predetermined amount of conveyance is completed, the determination is not satisfied and the apparatus stands by in a loop. When the predetermined amount of conveyance is completed and the determination in step S450 is satisfied, the process proceeds to step S460.
  • a predetermined amount for example, a conveyance distance by which all the print areas R, Rs, and Rt exceed the cutter 307 by a predetermined length (margin amount)
  • step S460 the control circuit 311 outputs a control signal to the conveyance motor. As a result, the driving of the conveyance roller 308 is stopped, and the feeding and conveyance of the print-receiving tape 303 from the roll 304 are stopped.
  • step S470 the control circuit 311 outputs a control signal to a solenoid drive circuit (not shown) to drive a cutter solenoid (not shown).
  • the cutter 307 cuts the print-receiving tape 303.
  • all of the print-receiving tape 303 including the print region R (or Rt, Rs) sufficiently exceeds the cutter 307 at this time, and the print label P (or P1, P2) is cut by cutting the cutter 307. , ...) is generated.
  • step S480 the control circuit 311 outputs a control signal to a discharge motor (not shown) that drives a separately provided discharge roller (not shown).
  • a discharge motor not shown
  • the print label P (or P1, P2,%) Printed in step S470 is discharged out of the label producing apparatus 300. If the print label P (or P1, P2,%) Can be discharged out of the apparatus by manual operation without a discharge motor, step S480 may be omitted. Thus, this flow is finished.
  • the printing related commands TD1, TD2, TD3,... Included in the original printing command Q are newly added one by one in order.
  • the print command Q is sequentially generated, and each time the print command Q is generated, the print heads P1, P2, P3,.
  • the operator can surely recognize that the print-related command TD added immediately before is incomplete.
  • the names and functions of the print related commands TD in the order before the added print related command TD are normally printed in the print area Rt of the immediately preceding print labels P1, P2,. The operator can more reliably specify and recognize the print-related command TD having the above-mentioned defect.
  • each time the operator operates the button different print labels P1, P2, P3,. That is, while the new print command Q is generated while accumulating normal print-related commands TD until the order of the defective print-related commands TD comes, the same number as the number of normal print-related commands TD.
  • Print labels P1, P2, P3, As a result, the operator can more easily identify and recognize which of the defective print-related commands TD, for example, by counting the generated print labels P or individually checking them. .
  • the normal mode in which only the normal print label P is created without analyzing the print-related command TD or the like by the above button operation, and the print-related commands TD1, TD2 according to FIGS. ,... Can be switched to a command check mode for performing analysis or the like (see step S10 in FIG. 11).
  • the operator normally performs label creation in the normal mode, and switches to the command check mode when some trouble occurs such as normal printing is not performed (or printing itself is not performed). , It is possible to identify defective print-related commands TD1, TD2,.
  • the print label 303 formed in an uncut state on the front end side of the print-receiving tape 303 is transported in the reverse direction, and the print label P0 is more than the thermal head 308. It is conveyed in the reverse direction to the upstream side in the conveyance direction. Thereafter, as described above, based on the new print command Q2 to which the second print-related command TD2 is added, printing is performed so as to overlap the print label P0 after being conveyed in the reverse direction.
  • “FSia 0 ⁇ 00” and “ESC / P mode” representing the name and function of the print-related command TD1 are printed in the print area Rt on the right side of the print label P0 in the figure when printing is performed according to the print command Q1, and then printing is performed.
  • “FSil 0 ⁇ 01” and “Landscape ON” indicating the name and function of the printing-related command TD2 are additionally printed, and after printing according to the printing command Q3, the name and function indicating the printing-related command TD3 are displayed.
  • new print commands Q1, Q2, Q3,... are accumulated while normal print-related commands TD1, TD2, TD3,. While it is being generated, printing is repeatedly performed on one print label P0.
  • the number of print tapes 303 and print labels can be greatly reduced.
  • step S15 in FIG. 11 When switching mode automatically
  • the switch from the normal mode to the command check mode was executed by the above-described manual button operation by the operator. Not limited. That is, a determination procedure similar to that described above is provided between step S5 and step S400A in FIG. 11, and the control circuit 311 determines whether normal printing is possible based on the print command Q acquired in step S5. You may do it. In this case, when it is determined that normal printing cannot be performed, the mode automatically shifts to the command check mode, and the above-described steps S15, S20, S25, S30, S400B, and S35 are executed.
  • the present invention is not limited to this. That is, as an example of a printing apparatus, the present invention is applied to a printer that forms an image or prints characters on a normal printing paper such as A4, A3, B4, or B5 size, or a portable printer that is driven by a battery power source. You may apply. In this case, the same effect is obtained.
  • Barcode reader 300 Label production device 303 Tape to be printed 305 Thermal head 308 Conveying roller 311 Control circuit P Print label P0 Print label P1 to 5 Print label R Print area Rs Print area Rt Print area Q Print command Q1 to 5 Print command TD1 ⁇ TD5 Printing related command PD Print data

Abstract

[Problem] To enable an operator to reliably identify and recognize defective printing element setting information included in printing control information that has been output from an operation device when printing by means of the printing control information cannot be executed. [Solution] A printing instruction (Q) acquired from a barcode reader (200) is analyzed, multiple printing-related commands (TD) contained therein in a prescribed order are extracted, and the printing of printing data (PD) in a printing mode corresponding to a new printing instruction (Q) generated using the first printing-related command (TD1) of the multiple extracted printing-related commands (TD), as well as the printing of the text data of the printing-related command (TD1), are executed. Next, for each occurrence of a prescribed process continuation operation, the printing of printing data (PD) in a printing mode corresponding to new printing instructions (Q) generated by sequentially adding the subsequently ordered printing-related commands (TD2, TD3,...), as well as the printing of the text data of the printing-related commands (TD1, TD2, TD3,...), which includes the new additions, are performed.

Description

印刷装置Printing device
 本発明は、被印刷物に対し所望の印刷を行う印刷装置に関する。 The present invention relates to a printing apparatus that performs desired printing on a substrate.
 装置外部の操作機器から出力される情報に基づき印刷が行われる印刷装置が、既に知られている。このとき、上記操作機器からの情報に、例えば当該印刷装置に適合しない何らかの不備が含まれた場合には、印刷が実行されなくなる。 Printing apparatuses that perform printing based on information output from operating devices outside the apparatus are already known. At this time, for example, if the information from the operation device includes any deficiencies that are not compatible with the printing apparatus, printing is not executed.
 そこで、上記のような印刷不実行時の原因追及に配慮された印刷装置が、既に知られている(例えば、特許文献1参照)。この従来技術では、上記操作機器(ホストコンピュータ)から出力された印刷制御情報(印刷データ)が取得されることで、印刷装置(プリンタ)が当該印刷制御情報に対応した所望の印刷を実行する。その際、上記印刷制御情報が受信バッファで受信されると、データ処理部が当該印刷制御情報を印刷要素設定情報(コマンド等)を単位として順次読み込み、さらに読み込んだ印刷要素設定情報に対しデータ解釈部による解釈が行われた後、ハードディスクドライブに順次保存される。この結果、印刷不実行時における、操作機器から出力された印刷制御情報の順番と、ハードディスクドライブ内に保存される印刷制御情報の順番とを一致させることができる。 Therefore, a printing apparatus that takes into consideration the cause of the above-described non-execution of printing is already known (see, for example, Patent Document 1). In this prior art, the printing apparatus (printer) executes desired printing corresponding to the printing control information by acquiring the printing control information (printing data) output from the operating device (host computer). At this time, when the print control information is received by the reception buffer, the data processing section sequentially reads the print control information in units of print element setting information (commands), and further interprets the read print element setting information. After being interpreted by the part, it is sequentially stored in the hard disk drive. As a result, it is possible to match the order of the print control information output from the operating device and the order of the print control information stored in the hard disk drive when printing is not executed.
特開2008-165605号公報JP 2008-165605 A
 上記従来技術においては、ハードディスクドライブ内に再現性の高いデータが保存されるので、操作者が、不備のある印刷要素設定情報を見つけ出すときの利便性が向上する。しかしながら、印刷制御情報に複数含まれている印刷要素設定情報のうち、いずれに不備があるのかを操作者が特定したい場合、上記のように正しい順序で並んでいる複数の印刷要素設定情報を最初から順番に1つ1つチェックしていく必要があり、多大な労力と時間がかかる。この結果、操作者が、上記不備のある印刷要素設定情報を確実に特定して認識するのは困難であった。 In the above prior art, since highly reproducible data is stored in the hard disk drive, the convenience for the operator to find defective print element setting information is improved. However, when the operator wants to specify which of the printing element setting information included in the printing control information is incomplete, the plurality of printing element setting information arranged in the correct order as described above is first displayed. It is necessary to check one by one in order, and it takes a lot of labor and time. As a result, it is difficult for the operator to reliably identify and recognize the defective printing element setting information.
 本発明の目的は、操作機器から出力された印刷制御情報による印刷が実行されなかったときに、当該印刷制御情報に含まれる、不備のあった印刷要素設定情報を操作者が確実に特定し認識できる印刷装置を提供することにある。 It is an object of the present invention to reliably identify and recognize defective print element setting information included in the print control information when printing using the print control information output from the operating device is not executed. It is an object of the present invention to provide a printing apparatus that can perform such a process.
 上記目的を達成するために、本願発明は、装置外部の操作機器から出力された、印刷制御情報を取得する情報取得手段と、被印刷物を搬送する搬送手段と、前記搬送手段により搬送される前記被印刷物に対し、前記情報取得手段により取得された前記印刷制御情報に対応した所望の印刷を行うための印刷手段と、を有する印刷装置であって、前記情報取得手段により取得された前記印刷制御情報を解析し、当該印刷制御情報に所定の順序で含まれる複数の印刷要素設定情報を抽出する情報抽出手段と、前記情報抽出手段により抽出された複数の前記印刷要素設定情報のうち最初の印刷要素設定情報を用いて新印刷制御情報を生成し、当該新印刷制御情報に対応する印刷態様での印字データの印刷と、当該最初の印刷要素設定情報の識別情報のテキストデータの印刷とを、前記搬送手段及び前記印刷手段を連携して制御する第1制御手段と、所定の処理続行指示の入力が行われるごとに、複数の前記印刷要素設定情報のうち前記最初の印刷要素設定情報に加えそれ以降の順番の印刷要素設定情報を順次加えて、前記新印刷制御情報を生成し、当該新印刷制御情報に対応する印刷態様での前記印字データの印刷と、少なくとも前記新たに加えられた前記印刷要素設定情報の識別情報のテキストデータの印刷とを、前記搬送手段及び前記印刷手段を連携して制御する第2制御手段と、を有することを特徴とする。 In order to achieve the above object, the present invention provides an information acquisition means for acquiring printing control information output from an operating device outside the apparatus, a transport means for transporting a substrate, and the transport means transported by the transport means. A printing device for performing desired printing corresponding to the print control information acquired by the information acquisition unit on the printing material, the print control acquired by the information acquisition unit An information extracting unit that analyzes information and extracts a plurality of print element setting information included in the print control information in a predetermined order; and a first print out of the plurality of print element setting information extracted by the information extracting unit Generate new print control information using the element setting information, print the print data in the print mode corresponding to the new print control information, and identification information of the first print element setting information The first control unit that controls the printing of the text data in cooperation with the transport unit and the printing unit and the first of the plurality of print element setting information each time a predetermined processing continuation instruction is input In addition to the print element setting information, the subsequent print element setting information is sequentially added to generate the new print control information, and printing of the print data in a print mode corresponding to the new print control information, at least And a second control unit that controls the printing of the text data of the identification information of the newly added print element setting information in cooperation with the transport unit and the printing unit.
 本願発明の印刷装置では、装置外部の操作機器からの情報に基づき印刷が行われる。すなわち、上記操作機器から出力された印刷制御情報が情報取得手段によって取得される。そして、印刷手段が、その印刷制御情報に対応した所望の印刷を、搬送手段により搬送される被印刷物に対して実行する。 In the printing apparatus of the present invention, printing is performed based on information from an operating device outside the apparatus. That is, the print control information output from the operation device is acquired by the information acquisition unit. Then, the printing unit executes desired printing corresponding to the printing control information on the substrate to be printed conveyed by the conveying unit.
 このとき、当該印刷制御情報には複数の印刷要素設定情報が複数含まれているが、当該印刷要素設定情報のいずれか1つにおいて、当該印刷装置に適合しない何らかの不備(ビット数違いや情報形式の不適合等)があった場合、印刷を行うことができない。操作者は、印刷手段での印刷が正常になされないことによって、上記不備があることを認識することができる。しかしながら、上記複数の印刷要素設定情報のうちいずれに不備があったのか(言い換えればそれ以外は問題なかったのか)を、そのままでは操作者は知ることができない。 At this time, the print control information includes a plurality of pieces of print element setting information. However, in any one of the print element setting information, any incompatibility (difference in the number of bits or information format that does not match the printing apparatus). If there are non-conformances, etc.), printing cannot be performed. The operator can recognize that there is the above-mentioned defect by the fact that printing by the printing means is not normally performed. However, the operator cannot know which of the plurality of print element setting information is incomplete (in other words, there was no problem in other cases) as it is.
 そこで、本願発明の印刷装置では、情報抽出手段と、第1制御手段と、第2制御手段とを設けている。情報抽出手段は、上記印刷制御情報を解析し、複数の印刷要素設定情報をそれぞれ抽出する。そして、第1制御手段が、まず、上記所定の順序のうちの最初の印刷要素設定情報を用いて新たに新印刷制御情報を生成する。これにより、印刷手段は、搬送される被印刷物に対し、当該新印刷制御情報に対応する印刷態様で、印字データを印刷する。操作者は、このときの印字データが正常に印刷されなかった場合には、当該最初の印刷要素設定情報に不備があったことを知ることができる。なお、このとき、第1制御手段の制御により、印刷手段は、併せて当該最初の印刷要素設定情報の識別情報(例えば名称や機能等)のテキストデータの印刷も行う。これにより、操作者は、この印刷要素設定情報を確実に特定し認識することができる。 Therefore, in the printing apparatus of the present invention, information extraction means, first control means, and second control means are provided. The information extraction unit analyzes the print control information and extracts a plurality of print element setting information. The first control means first generates new print control information using the first print element setting information in the predetermined order. Accordingly, the printing unit prints the print data on the conveyed printing material in a printing mode corresponding to the new print control information. If the print data at this time is not normally printed, the operator can know that the first print element setting information is incomplete. At this time, under the control of the first control means, the printing means also prints text data of identification information (for example, name and function) of the first print element setting information. As a result, the operator can reliably specify and recognize this print element setting information.
 一方、上記のように最初の印刷要素設定情報を用いて生成された新印刷制御情報に対応した印刷態様による印字データの印刷が正常に完了した場合、当該最初の印刷要素設定情報には不備がなく他の印刷要素設定情報に問題があったことになる。この場合、第2制御手段が、上記所定の順序に沿って、上記最初の印刷要素設定情報の次の順番(この場合2番目)の印刷要素設定情報を用いてさらに新たに新印刷制御情報を生成する。印刷手段は、搬送される被印刷物に対し、当該新印刷制御情報に対応する印刷態様で、印字データを印刷する。操作者は、このときの印字データが正常に印刷されなかった場合には、新たに加えられた当該2番目の印刷要素設定情報に不備があったことを知ることができる。このとき、上記同様、第2制御手段の制御により、印刷手段は、併せて、少なくとも当該2番目の印刷要素設定情報の識別情報のテキストデータの印刷も行う。これにより、操作者は、この印刷要素設定情報を確実に特定し認識することができる。 On the other hand, when printing of the print data according to the printing mode corresponding to the new print control information generated using the first print element setting information as described above is normally completed, the first print element setting information is incomplete. Therefore, there is a problem with other print element setting information. In this case, the second control means uses the printing element setting information next to the first printing element setting information (in this case, the second printing element setting information) along the predetermined order to newly add new printing control information. Generate. The printing unit prints the print data on the conveyed substrate in a print mode corresponding to the new print control information. If the print data at this time is not normally printed, the operator can know that the newly added second print element setting information is incomplete. At this time, as described above, under the control of the second control unit, the printing unit also prints at least text data of identification information of the second print element setting information. As a result, the operator can reliably specify and recognize this print element setting information.
 さらに、上記のように2番目の印刷要素設定情報を加えて生成された新印刷制御情報に対応した印刷態様による印字データの印刷が正常に完了した場合、最初の印刷要素設定情報及び2番目の印刷要素設定情報には不備がなく、さらに次の3番目以降の他の印刷要素設定情報に問題があったことになる。したがって、以降は、上記同様にして、第2制御手段により、3番目以降の印刷要素設定情報を順次累積して加える形で新たな新印刷制御情報が生成され、その生成される都度、印刷手段が当該新印刷制御情報に対応する印刷態様での印字データの印刷と上記新たに加えられた印刷要素設定情報の識別情報を少なくとも含むテキストデータの印刷とを行う。 Further, when printing of the print data according to the printing mode corresponding to the new print control information generated by adding the second print element setting information as described above is normally completed, the first print element setting information and the second print element setting information There is no defect in the printing element setting information, and there is a problem in the other printing element setting information after the third. Therefore, thereafter, in the same manner as described above, new new print control information is generated by the second control unit by sequentially accumulating and adding the third and subsequent print element setting information. Prints print data in a print mode corresponding to the new print control information and prints text data including at least identification information of the newly added print element setting information.
 以上のように、本願発明においては、元の印刷制御情報に含まれていた各印刷要素設定情報を順番に1つずつ加えつつ新印刷制御情報を順次生成し、その生成の都度、印刷手段が印刷を行っていく。これにより、正常に印刷が行われなくなったときに、操作者は、その直前に加えられた印刷要素設定情報に不備があったことを確実に認識することができる。特に、その時点で、当該加えられた印刷要素設定情報の前の順番の印刷要素設定情報の識別情報のテキストデータが被印刷物において正常に印刷されていることから、操作者は、上記不備があった印刷要素設定情報をさらに確実に特定し認識することができる。 As described above, in the present invention, new print control information is sequentially generated while adding each print element setting information included in the original print control information one by one in order. Continue printing. Thus, when printing is not normally performed, the operator can surely recognize that the printing element setting information added immediately before the printing is incomplete. In particular, since the text data of the identification information of the printing element setting information in the order before the added printing element setting information is normally printed on the printed material at that time, the operator has the above-mentioned deficiencies. The print element setting information can be more reliably identified and recognized.
 本発明によれば、操作機器から出力された印刷制御情報による印刷が実行されなかったときに、当該印刷制御情報に含まれる、不備のあった印刷要素設定情報を操作者が確実に特定して認識することができる。 According to the present invention, when printing based on the print control information output from the operating device is not executed, the operator can reliably identify defective print element setting information included in the print control information. Can be recognized.
本実施形態の印刷装置を含む印刷システムを表すシステム構成図である。1 is a system configuration diagram illustrating a printing system including a printing apparatus according to an embodiment. 図1の印刷システムの機能構成を表す機能ブロック図である。FIG. 2 is a functional block diagram illustrating a functional configuration of the printing system in FIG. 1. 作成される印字ラベルの一例を表す図である。It is a figure showing an example of the printed label produced. 不備を含まない印刷指令によって、印字ラベルが正常に作成された状態を表す説明図である。It is explanatory drawing showing the state by which the print label was produced normally by the printing command which does not contain a defect. 不備を含む印刷指令によって、印字ラベルが正常に作成されなかった状態を表す説明図である。It is explanatory drawing showing the state by which the printed label was not produced normally by the printing command containing a defect. 最初の印刷関連コマンドを含む印刷指令を用いて、1枚目の印字ラベルが正常に印刷された状態を表す説明図である。It is explanatory drawing showing the state by which the 1st printed label was printed normally using the printing command containing the first printing related command. 2番目までの印刷関連コマンドを含む印刷指令を用いて、2枚目の印字ラベルが正常に印刷された状態を表す説明図である。It is explanatory drawing showing the state by which the 2nd printed label was printed normally using the printing command containing the printing related command to the 2nd. 3番目までの印刷関連コマンドを含む印刷指令を用いて、3枚目の印字ラベルが正常に印刷された状態を表す説明図である。It is explanatory drawing showing the state by which the 3rd printing label was printed normally using the printing command containing the printing related command to the 3rd. 4番目までの印刷関連コマンドを含む印刷指令を用いて、4枚目の印字ラベルが正常に印刷された状態を表す説明図である。It is explanatory drawing showing the state by which the 4th print label was printed normally using the printing command containing the printing related command to the 4th. 5番目までの印刷関連コマンドを含む印刷指令を用いて、5枚目の印字ラベルが正常に印刷されなかった状態を表す説明図である。It is explanatory drawing showing the state by which the printing label of the 5th sheet was not normally printed using the printing command containing the printing related command to the 5th. ラベル作成装置の制御回路が実行する制御内容を表すフローチャートである。It is a flowchart showing the control content which the control circuit of a label production apparatus performs. ステップS400の詳細手順を表すフローチャートである。It is a flowchart showing the detailed procedure of step S400. 同一の印字ラベルに繰り返し印刷を行う変形例において、最初の印刷関連コマンドを含む印刷指令により正常に印刷が行われた状態を表す説明図である。FIG. 10 is an explanatory diagram illustrating a state where printing is normally performed by a print command including a first print-related command in a modification in which printing is repeatedly performed on the same print label. 同一の印字ラベルに繰り返し印刷を行う変形例において、2番目までの印刷関連コマンドを含む印刷指令により正常に印刷が行われた状態を表す説明図である。It is explanatory drawing showing the state in which printing was normally performed by the printing command containing the printing related command to the 2nd in the modification which prints repeatedly on the same printing label. 同一の印字ラベルに繰り返し印刷を行う変形例において、3番目までの印刷関連コマンドを含む印刷指令により正常に印刷が行われた状態を表す説明図である。It is explanatory drawing showing the state in which printing was normally performed by the printing command containing the printing related command to the 3rd in the modification which prints repeatedly on the same printing label. 同一の印字ラベルに繰り返し印刷を行う変形例において、4番目までの印刷関連コマンドを含む印刷指令により正常に印刷が行われた状態を表す説明図である。It is explanatory drawing showing the state in which printing was normally performed by the printing command containing the printing related command to the 4th in the modification which prints repeatedly on the same printing label.
 以下、本発明の一実施の形態を図面を参照しつつ説明する。 Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
 本実施形態の印刷装置を備える印刷システムを図1及び図2により説明する。印刷システムPSは、適宜のバーコード記録体Lに印刷されたバーコードBCを光学的読取スキャナ等で読み取るためのバーコードリーダ200と、この読み取り情報に基づいて被印字テープ303に対し所望の印字を行い、印字ラベルPを作成するラベル作成装置300とを有している。上記ラベル作成装置300とバーコードリーダ200は、接続手段2(例えばUSBケーブル等。あるいは無線による接続でもよい)を介して情報送受信可能に接続されており、バーコードリーダ200のスキャナ部204がバーコードBCを読むことにより生成された印刷指令(詳細は後述)が、ラベル作成装置300に接続手段2を介して出力される。 A printing system including a printing apparatus according to the present embodiment will be described with reference to FIGS. The printing system PS has a barcode reader 200 for reading a barcode BC printed on an appropriate barcode recording body L with an optical reading scanner or the like, and a desired print on the print-receiving tape 303 based on the read information. And a label producing apparatus 300 for producing the print label P. The label producing apparatus 300 and the barcode reader 200 are connected so as to be able to transmit and receive information via a connecting means 2 (for example, a USB cable or the like, or may be connected wirelessly), and the scanner unit 204 of the barcode reader 200 is connected to the barcode reader 200. A print command (details will be described later) generated by reading the code BC is output to the label producing apparatus 300 via the connecting means 2.
 バーコードリーダ200は、上記バーコードBCに対し光学的な読み取りを行うための上記スキャナ部204と、ラベル作成装置300との間で上記接続手段2を介し情報通信(シリアル通信等)を行うためのインターフェース205とを有している。 The barcode reader 200 performs information communication (serial communication, etc.) between the scanner unit 204 for optically reading the barcode BC and the label producing apparatus 300 via the connection means 2. Interface 205.
 ラベル作成装置300は、被印字テープ303を巻回したロール304(本来は渦巻であるが簡略化して同心円で図示している)と、このロール304から繰り出された被印字テープ303の対応する印字領域(後述の図3参照)に所定の印字を行うサーマルヘッド305と、被印字テープ303を搬送するための搬送ローラ308と、印字が終了した被印字テープ303を所定の長さに切断して印字ラベルPを生成するためのカッタ307と、上記バーコードリーダ200と接続手段2を介し情報通信を行うためのインターフェース309と、以上のサーマルヘッド305、カッタ307、搬送ローラ308等の制御を行う制御回路311とを有している。 The label producing apparatus 300 includes a roll 304 around which the print-receiving tape 303 is wound (which is originally a spiral, but is simplified and shown as a concentric circle), and a print corresponding to the print-receiving tape 303 fed out from the roll 304. A thermal head 305 that performs predetermined printing in a region (see FIG. 3 described later), a conveyance roller 308 for conveying the print-receiving tape 303, and the print-receiving tape 303 that has finished printing are cut into a predetermined length. The cutter 307 for generating the print label P, the interface 309 for performing information communication via the bar code reader 200 and the connection means 2, and the above thermal head 305, cutter 307, transport roller 308 and the like are controlled. And a control circuit 311.
 このバーコードBCに対しバーコードリーダ200による読み取りが行われると、対応する上記印刷指令が例えばスキャナ部204において生成され、ラベル作成装置300の制御回路311に入力される。制御回路311は、当該印刷指令に基づきサーマルヘッド305、カッタ307、搬送ローラ308等の制御を行い、これによって上記印刷指令に対応した印字が形成された印字ラベルPが作成される。 When the bar code reader 200 reads the bar code BC, the corresponding print command is generated in the scanner unit 204, for example, and input to the control circuit 311 of the label producing apparatus 300. Based on the print command, the control circuit 311 controls the thermal head 305, the cutter 307, the transport roller 308, and the like, thereby creating a print label P on which a print corresponding to the print command is formed.
 上記のようにして作成された印字ラベルPの一例を図3に示す。この例では、印字ラベルPの印字領域Rの中央部に、印字データ(この例では「12345」のテキストを内容とするデータ)に対応する印字「12345」が形成されている。 An example of the printed label P produced as described above is shown in FIG. In this example, the print “12345” corresponding to the print data (in this example, the data having the text “12345”) is formed at the center of the print area R of the print label P.
 以上の基本構成において、本実施形態の特徴は、バーコードリーダ200からの印刷指令を入力してラベル作成装置300が行った印刷が正常に行われなかったときの、当該印刷指令のどこに不備があったかを見つけ出す解析手法にある。以下、その内容を順を追って説明する。 In the above basic configuration, the feature of the present embodiment is that there is a defect in the print command when the print command from the barcode reader 200 is input and the printing performed by the label producing apparatus 300 is not performed normally. There is an analysis method to find out if there was. Hereinafter, the contents will be described in order.
 <印刷指令に基づく動作例>
 本実施形態では、バーコードリーダ200のスキャナ部204で生成された印刷指令Qがラベル作成装置300へ出力され、ラベル作成装置300は当該印刷指令Qに基づいて上記所望の印刷を実行する。
<Operation example based on print command>
In the present embodiment, the print command Q generated by the scanner unit 204 of the barcode reader 200 is output to the label creating apparatus 300, and the label creating apparatus 300 executes the desired printing based on the print command Q.
 図4に示すように、印刷指令Qには、印刷に影響のある複数の印刷関連コマンドTDが所定の順序で含まれている。この例では、印刷指令Qには、「FSia 0×00」により表されESC/Pモードへのモード切替機能を実行する第1コマンドTD1と、「FSiL 0×01」により表され印字形成箇所の位置決め(ランドスケープ)機能を実行する第2コマンドTD2と、「FS$ 0×FF 0×00」により表され印字形成箇所の水平位置調整機能を実行する第3コマンドTD3と、「FS(V 0×02 0×00 0×00 0×02」により表され印字形成箇所の垂直位置調整機能を実行する第4コマンドTD4と、「FS X 0×00 0×64 0×00」により表され文字サイズ調整機能を実行する第5コマンドTD5と、の5つの印刷関連コマンドTDが含まれている。さらに、印刷指令Qには、また、印字データPD(前述の例では「12345」を内容とする)も含まれている。 As shown in FIG. 4, the print command Q includes a plurality of print-related commands TD that affect printing in a predetermined order. In this example, the print command Q includes a first command TD1 that is represented by “FSia 0 × 00” and executes a mode switching function to the ESC / P mode, and a print formation location that is represented by “FSiL 0 × 01”. A second command TD2 for executing a positioning (landscape) function, a third command TD3 for executing a horizontal position adjusting function of a print formation position represented by “FS $ 0 × FF 0 × 00”, and “FS (V 0 × Character size adjustment represented by the fourth command TD4, which is represented by “02 0 × 00 0 × 00 0 × 02”, and executes the vertical position adjustment function of the print formation location, and “FS X 0 × 00 0 × 64 0 × 00” A fifth command TD5 for executing a function and five print-related commands TD are included, and the print command Q includes print data PD (in the above example). "12345" is included).
 図4に示す例では、5つの印刷関連コマンドTD1,TD2,TD2,TD3,TD4,TD5がすべて正しい形で印刷指令Qに含まれていることから、ラベル作成装置300の制御回路311が印刷指令Q全体を正しく認識することができる。この結果、制御回路311の制御により、上記印字データPDの内容であるテキスト「12345」に対し、ESC/Pモードにおける、印字形成箇所の位置決め(水平位置調整及び垂直位置調整)が実行されるとともに、印字される文字サイズの調整が実行される。これらの結果として、バーコードBCの作成者の意図に合致した態様の印字ラベルL、すなわち、ラベル中央領域に、所望の文字サイズによるテキスト「12345」が印字された適正な印字ラベルPが作成される。 In the example shown in FIG. 4, since all the five print-related commands TD1, TD2, TD2, TD3, TD4, and TD5 are included in the print command Q in the correct form, the control circuit 311 of the label producing apparatus 300 prints the print command. Q can be recognized correctly. As a result, under the control of the control circuit 311, positioning (horizontal position adjustment and vertical position adjustment) of the print formation position in the ESC / P mode is executed for the text “12345” which is the content of the print data PD. The character size to be printed is adjusted. As a result, an appropriate print label P in which the text “12345” with a desired character size is printed in the print label L in a mode that matches the intention of the creator of the barcode BC, that is, the label central region is created. The
 これに対して、例えばバーコードBCの作成ミス等により、印刷関連コマンドTDの中に、例えば何らかのビット数違いや情報形式の不適合等の不備によりラベル作成装置300の使用や性能に適合しないものが含まれる場合があり得る。図5に示す例では、上記5つの印刷関連コマンドTDに、「FS X 0×64 0×00」という間違った印刷関連コマンドTD′が含まれている(正しくは「FS X 0×00 0×64 0×00」である)。この場合、ラベル作成装置300の制御回路311が印刷指令Q′全体を正しく認識することができない。この結果、図5に一例を示すような、不適正な印字が形成されてしまう。 On the other hand, some of the print-related commands TD do not conform to the use and performance of the label producing apparatus 300 due to, for example, some bit number difference or information format incompatibility due to, for example, a barcode BC creation error. It may be included. In the example shown in FIG. 5, the above five print related commands TD include an incorrect print related command TD ′ “FS X 0 × 64 0 × 00” (correctly “FS X 0 × 00 0 ×” 64 0 × 00 ”). In this case, the control circuit 311 of the label producing apparatus 300 cannot correctly recognize the entire print command Q ′. As a result, improper printing as shown in FIG. 5 is formed.
 操作者は、例えば上記図5に示すようにサーマルヘッド305での印刷が正常になされないことによって、印刷指令Q′中に何らかの上記不備があることを認識することができる。しかしながら、上記複数の印刷関連コマンドTDのうちいずれに不備があったのか(言い換えればそれ以外は問題なかったのか)を、そのままでは操作者は知ることができない。 The operator can recognize that there is some deficiency in the print command Q ′, for example, by the fact that printing with the thermal head 305 is not normally performed as shown in FIG. However, the operator cannot know which of the plurality of print-related commands TD is defective (in other words, there was no problem in other cases) as it is.
 <本願発明の手法の概要>
 そこで、本実施形態のラベル作成装置300では、制御回路311により上記印刷指令Qが解析され、印刷指令Qに所定の順序で含まれる複数の(この例では5つの)印刷関連コマンドTD1,TD2,TD3,TD4,TD5がそれぞれ抽出される。
<Outline of the method of the present invention>
Therefore, in the label producing apparatus 300 according to the present embodiment, the print command Q is analyzed by the control circuit 311 and a plurality of (in this example, five) print-related commands TD1, TD2, which are included in the print command Q in a predetermined order. TD3, TD4, and TD5 are extracted, respectively.
 そして、まず、図6に示すように、上記所定の順序のうちの最初の印刷関連コマンドTD1と印字データPDとを用いて、新たに新印刷指令Q1が生成される。そしてこの印刷指令Q1を用いて制御回路311がサーマルヘッド305を制御し、印字ラベルP1の作成が試行される。図6の例では、上記最初の印刷関連コマンドTD1を含む印刷指令Q1によって印字領域Rsに対し正常な印刷(デフォルトで定められた印刷箇所への印字「12345」の形成)が実行され、印字ラベルP1が正常に作成されている。なお、このとき併せて、上記印字領域Rsとは別の印字領域Rtに、当該印刷関連コマンドTD1の名称を表す識別情報としてのテキストデータ「FSia 0×00」と、当該印刷関連コマンドTD1の機能を表す識別情報としてのテキストデータ「ESC/Pモード」との印刷も、行われる(印刷指令Q1のうち当該テキストデータの印刷に係わる部分については説明を省略)。これにより、操作者は、この印刷関連コマンドTD1を確実に特定しかつその機能を認識することができる。 First, as shown in FIG. 6, a new print command Q1 is newly generated using the first print-related command TD1 and the print data PD in the predetermined order. Then, the control circuit 311 controls the thermal head 305 using this print command Q1, and an attempt is made to produce the print label P1. In the example of FIG. 6, normal printing (formation of printing “12345” at a printing position defined by default) is performed on the printing region Rs by the printing command Q1 including the first printing-related command TD1, and the printing label P1 has been created normally. At this time, the text data “FSia 0 × 00” serving as identification information indicating the name of the print-related command TD1 and the function of the print-related command TD1 are also displayed in a print area Rt different from the print area Rs. Is also printed with the text data “ESC / P mode” as the identification information indicating (the description relating to the printing of the text data in the print command Q1 is omitted). As a result, the operator can reliably specify the print-related command TD1 and recognize its function.
 上記印刷指令Q1により正常でない印刷の印字ラベルP1が作成された場合(あるいは印字ラベルP1が作成されなかった場合でもよい。以下同様)には、当該最初の印刷関連コマンドTD1に不備があったことを操作者は確実に認識することができる。一方、図6に示すように、印刷指令Q1により正常な印刷の印字ラベルP1が作成された場合には当該最初の印刷関連コマンドTD1には不備がなく他の印刷関連コマンドTD2~TD5のいずれかに問題があったことになる。すなわち、操作者は、ここまでの操作で正常な印刷の印字ラベルP1が作成されたことにより、印刷関連コマンドTD1には不備がなかったことを確実に認識することができる。 When the print label P1 for abnormal printing is created by the print command Q1 (or the print label P1 may not be created; the same applies hereinafter), the first print-related command TD1 is incomplete. Is surely recognized by the operator. On the other hand, as shown in FIG. 6, when the normal print label P1 is created by the print command Q1, the first print-related command TD1 is not incomplete and any of the other print-related commands TD2 to TD5 is used. There was a problem with. That is, the operator can surely recognize that the print-related command TD1 is not incomplete because the print label P1 for normal printing has been created by the above operations.
 そこでこの場合には、操作者による操作(後述)を契機に、上記所定の順序に沿った次の順番、すなわち2番目の印刷関連コマンドTD2を(この例では途中に印刷とは関連のないコマンド「FS@」を挟んで)加えた印刷関連コマンドTD1,TD2と、上記印字データPDとを用いた、新たに新印刷指令Q2が生成される。この印刷指令Q2を用いて、上記同様に印字ラベルP2の作成が試行される。図7の例では、上記印刷関連コマンドTD1,TD2を含む印刷指令Q2によって正常な印刷(所定の位置(この例では左上の隅部)に位置決めされた印刷箇所への印字「12345」の形成)が実行され、印字ラベルP2が正常に作成されている。このとき、上記印字領域Rtに、前述の「FSia 0×00」とともに、上記印刷関連コマンドTD2を表すテキストデータ「FSiL 0×01」の印刷が併せて行われる。また印字領域Rtには、前述の「ESC/Pモード」とともに、上記印刷関連コマンドTD2の機能を表すテキストデータ「ランドスケープON」の印刷が併せて行われる(印刷指令Q2のうち当該テキストデータの印刷に係わる部分については説明を省略)。これにより、操作者は、この印刷関連コマンドTD2を確実に特定しかつその機能を認識することができる。 Therefore, in this case, in response to an operation by the operator (described later), the next order in the predetermined order, that is, the second print related command TD2 (in this example, a command not related to printing in the middle). A new print command Q2 is generated using the added print-related commands TD1 and TD2 (with the “FS @” in between) and the print data PD. Using this print command Q2, an attempt is made to create a print label P2 as described above. In the example of FIG. 7, normal printing is performed by the print command Q2 including the print-related commands TD1 and TD2 (formation of print “12345” at a print position positioned at a predetermined position (in this example, the upper left corner)). Is executed, and the print label P2 is normally created. At this time, the text data “FSiL 0 × 01” representing the print-related command TD2 is printed together with the aforementioned “FSia 0 × 00” in the print region Rt. In the print area Rt, text data “Landscape ON” representing the function of the print-related command TD2 is printed together with the “ESC / P mode” described above (printing of the text data in the print command Q2). The description of the part related to is omitted). As a result, the operator can reliably specify the print-related command TD2 and recognize its function.
 上記印刷指令Q2により正常でない印刷の印字ラベルP2が作成された場合には、当該2番目の印刷関連コマンドTD2に不備があったことを操作者は確実に認識することができる。一方、図7に示すように正常な印刷の印字ラベルP2が作成された場合には他の印刷関連コマンドTD3~TD5のいずれかに問題があったことになる。すなわち、操作者は、正常な印刷の印字ラベルP2が作成されたことにより、印刷関連コマンドTD1,TD2には不備がなかったことを確実に認識することができる。 When the print label P2 for abnormal printing is created by the print command Q2, the operator can surely recognize that the second print-related command TD2 is defective. On the other hand, when the normal print label P2 is created as shown in FIG. 7, there is a problem with any of the other print-related commands TD3 to TD5. That is, the operator can surely recognize that the print-related commands TD1 and TD2 were not incomplete because the print label P2 for normal printing was created.
 そこでこの場合には、上記同様、操作者による操作(後述)を契機に、次の3番目の印刷関連コマンドTD3を(この例では途中に印刷とは関連のないコマンド「FS(C 0×02 0×00 0×00 0×04」を挟んで)加えた印刷関連コマンドTD1,TD2,TD3と、上記印字データPDとを用いた、新たに新印刷指令Q3が生成される。この印刷指令Q3を用いて、上記同様に印字ラベルP3の作成が試行される。図8の例では、上記印刷関連コマンドTD1,TD2,TD3を含む印刷指令Q3によって正常な印刷(水平方向中央位置に位置決めされた印刷箇所への印字「12345」の形成)が実行され、印字ラベルP3が正常に作成されている。このとき、上記印字領域Rtに、前述の「FSia 0×00」「FSiL 0×01」とともに、上記印刷関連コマンドTD3を表すテキストデータ「FS$ 0×FF 0×00」の印刷が併せて行われる。また印字領域Rtには、前述の「ESC/Pモード」「ランドスケープON」とともに、上記印刷関連コマンドTD3の機能を表すテキストデータ「水平位置調整」の印刷が併せて行われる(印刷指令Q3のうち当該テキストデータの印刷に係わる部分については説明を省略)。これにより、操作者は、この印刷関連コマンドTD3を確実に特定しかつその機能を認識することができる。 Therefore, in this case, in the same manner as described above, the next third print-related command TD3 (in this example, the command “FS (C 0 × 02 which is not related to printing in the middle) is triggered by an operation (described later) by the operator. A new print command Q3 is generated using the added print-related commands TD1, TD2, TD3 and the print data PD (with 0x00 0x00 0x04 in between). In the example of Fig. 8, normal printing (positioned at the horizontal center position) is performed by the print command Q3 including the print related commands TD1, TD2, and TD3. In this case, the print label P3 is normally created, and the above-described “FSia 0 × 00” and “FSi” are formed in the print region Rt. The text data “FS $ 0 × FF 0 × 00” representing the above printing-related command TD3 is also printed together with “L 0 × 01”, and the above-mentioned “ESC / P mode” “ Along with “Landscape ON”, text data “horizontal position adjustment” representing the function of the print-related command TD3 is also printed (the description of the print command Q3 relating to printing of the text data is omitted). Thus, the operator can reliably specify the print-related command TD3 and recognize its function.
 上記印刷指令Q3により正常でない印刷の印字ラベルP3が作成された場合には、当該3番目の印刷関連コマンドTD3に不備があったことを操作者は確実に認識することができる。一方、図8に示すように正常な印刷の印字ラベルP3が作成された場合には他の印刷関連コマンドTD4,TD5のいずれかに問題があったことになる。すなわち、操作者は、正常な印刷の印字ラベルP3が作成されたことにより、印刷関連コマンドTD1,TD2,TD3には不備がなかったことを確実に認識することができる。 When the print label P3 for abnormal printing is created by the print command Q3, the operator can surely recognize that the third print-related command TD3 is defective. On the other hand, when the normal print label P3 is created as shown in FIG. 8, there is a problem with any of the other print-related commands TD4 and TD5. That is, the operator can surely recognize that the print-related commands TD1, TD2, and TD3 were not incomplete because the print label P3 for normal printing was created.
 そこでこの場合には、上記同様、操作者による操作(後述)を契機に、次の4番目の印刷関連コマンドTD4を加えた印刷関連コマンドTD1,TD2,TD3,TD4と、上記印字データPDとを用いた、新たに新印刷指令Q4が生成される。この印刷指令Q4を用いて、上記同様に印字ラベルP4の作成が試行される。図9の例では、上記印刷関連コマンドTD1,TD2,TD3,TD4を含む印刷指令Q4によって正常な印刷(垂直方向中央位置に位置決めされた印刷箇所への印字「12345」の形成)が実行され、印字ラベルP4が正常に作成されている。このとき、上記印字領域Rtに、前述の「FSia 0×00」「FSiL 0×01」「FS$ 0×FF 0×00」とともに、上記印刷関連コマンドTD4を表すテキストデータ「FS(V 0×02 0×00 0×00 0×02」の印刷が併せて行われる。また印字領域Rtには、前述の「ESC/Pモード」「ランドスケープON」「水平位置調整」とともに、上記印刷関連コマンドTD3の機能を表すテキストデータ「垂直位置調整」の印刷が併せて行われる(印刷指令Q4のうち当該テキストデータの印刷に係わる部分については説明を省略)。これにより、操作者は、この印刷関連コマンドTD4を確実に特定しかつその機能を認識することができる。 Therefore, in this case, similarly to the above, triggered by an operation (described later) by the operator, the print related commands TD1, TD2, TD3, TD4 to which the next fourth print related command TD4 is added and the print data PD are obtained. The new print command Q4 used is newly generated. Using this print command Q4, an attempt is made to create a print label P4 as described above. In the example of FIG. 9, normal printing (formation of printing “12345” at the printing position positioned at the vertical center position) is executed by the printing command Q4 including the printing related commands TD1, TD2, TD3, and TD4. The print label P4 is normally created. At this time, the text data “FS (V 0 ×) representing the print-related command TD4 is included in the print area Rt, together with the aforementioned“ FSia 0 × 00 ”,“ FSiL 0 × 01 ”,“ FS $ 0 × FF 0 × 00 ”. 02 0x00 0x00 0x02 "is also printed in the print area Rt, together with the above-mentioned" ESC / P mode "," Landscape ON "," Horizontal position adjustment ", and the above printing related command TD3. The text data “vertical position adjustment” representing the function of the printing is also printed (the description relating to the printing of the text data in the print command Q4 is omitted). It is possible to reliably identify TD4 and recognize its function.
 上記印刷指令Q4により正常でない印刷の印字ラベルP4が作成された場合には、当該4番目の印刷関連コマンドTD4に不備があったことを操作者は確実に認識することができる。になる。一方、図9に示すように正常な印刷の印字ラベルP4が作成された場合には他の印刷関連コマンドTD5に問題があったことになる。すなわち、操作者は、正常な印刷の印字ラベルP4が作成されたことにより、印刷関連コマンドTD1,TD2,TD3,TD4には不備がなかったことを確実に認識することができる。 When the print label P4 for abnormal printing is created by the print command Q4, the operator can surely recognize that the fourth print-related command TD4 is defective. become. On the other hand, when the print label P4 for normal printing is created as shown in FIG. 9, there is a problem with another print-related command TD5. That is, the operator can surely recognize that the print-related commands TD1, TD2, TD3, and TD4 were not incomplete because the print label P4 for normal printing was created.
 そこでこの場合には、上記同様、操作者による操作(後述)を契機に、次の5番目の印刷関連コマンドTD5′を加えた印刷関連コマンドTD1,TD2,TD3,TD4,TD5′と、上記印字データPDとを用いた、新たに新印刷指令Q5が生成される。この印刷指令Q5を用いて、上記同様に印字ラベルP5の作成が試行される。図10の例では、上記印刷関連コマンドTD1,TD2,TD3,TD4に加え誤った印刷関連コマンドTD5′が加えられた印刷指令Q5により、印字領域Rsに正常でない印刷が形成された印字ラベルP5が作成されている。これにより、当該5番目の印刷関連コマンドTD5に不備があったことを操作者は確実に認識することができる。 Therefore, in this case, similarly to the above, triggered by an operation (described later) by the operator, the print related commands TD1, TD2, TD3, TD4, TD5 ′ to which the next fifth print related command TD5 ′ is added, and the above print A new print command Q5 is newly generated using the data PD. Using this print command Q5, an attempt is made to create a print label P5 as described above. In the example of FIG. 10, the print label P5 in which the abnormal print is formed in the print region Rs by the print command Q5 in which the print related command TD5 ′ is added in addition to the print related commands TD1, TD2, TD3, and TD4. Has been created. As a result, the operator can surely recognize that the fifth print-related command TD5 is defective.
 なお、図6~図10を用いて説明した手法を実行するために、本実施形態のラベル作成装置300においては、印刷指令Qを解析するためのモード切替操作が可能な図示しないボタン(あるいはスイッチ、キー等でもよい)が設けられている。このボタンが操作されることにより、上記図6~図10による印刷関連コマンドTDの解析等を行わず通常の印字ラベルPの作成のみを行う通常モード(詳細は後述)から、上記図6~図10による印刷関連コマンドTDの解析等を行い印字ラベルP1,P2・・等の作成を行うコマンドチェックモード(詳細は後述)への切り替えが実行される。また、上記コマンドチェックモードに切り替えられた後は、このボタンによる操作指示入力が行われるごとに、上述したように、最初の印刷関連コマンドTD1に加えそれ以降の印刷関連コマンドTD2,TD3,・・・を順次加えた新たな印刷指令Qが生成され印字ラベルP2,P3,P4,・・・の作成が行われる。 In order to execute the method described with reference to FIGS. 6 to 10, in the label producing apparatus 300 of the present embodiment, a button (or switch) (not shown) capable of mode switching operation for analyzing the print command Q is available. , A key or the like may be provided. When this button is operated, from the normal mode (details will be described later) in which only the normal print label P is created without analyzing the print-related command TD shown in FIGS. Is switched to a command check mode (details will be described later) in which print labels P1, P2,... Further, after switching to the command check mode, every time an operation instruction is input with this button, as described above, in addition to the first print related command TD1, the subsequent print related commands TD2, TD3,. A new print command Q is sequentially added, and print labels P2, P3, P4,... Are created.
 <制御内容>
 以上の手法を実現するために、ラベル作成装置300の制御回路311が実行する制御手順を、図11及び図12により説明する。
<Control details>
A control procedure executed by the control circuit 311 of the label producing apparatus 300 in order to realize the above method will be described with reference to FIGS. 11 and 12.
 まず、ステップS5において、制御回路311は、バーコードリーダ200のスキャナ部204からの、バーコードBCに基づく上記印刷指令Qが入力されたかどうかを判定する。印刷指令Qが入力されない間は判定が満たされずループ待機し、印刷指令Qが入力されたら判定が満たされ、ステップS400Aに移る。 First, in step S5, the control circuit 311 determines whether or not the print command Q based on the barcode BC is input from the scanner unit 204 of the barcode reader 200. While the print command Q is not input, the determination is not satisfied and the process stands by in a loop. When the print command Q is input, the determination is satisfied, and the process proceeds to step S400A.
 ステップS400Aでは、制御回路311は、上記ステップS5で取得された印刷指令Qに基づきサーマルヘッド305、カッタ307、搬送ローラ308等の制御を行い、印字ラベルPを作成する印刷処理を行う(詳細は後述の図12参照)。なお、ステップS5及び上記ステップS400Aが、上記コマンドチェックモードではない上記通常モードでの処理に相当している。 In step S400A, the control circuit 311 controls the thermal head 305, the cutter 307, the transport roller 308, and the like based on the print command Q acquired in step S5, and performs print processing for creating the print label P (for details, see FIG. (See FIG. 12 described later). Step S5 and step S400A correspond to processing in the normal mode that is not the command check mode.
 そして、ステップS10において、操作者により前述のボタンが操作されて、コマンドチェックモードへの切替操作があったかどうかを判定する。切替操作がなかった場合には、ステップS10の判定が満たされず、このままフローを終了する。一方、コマンドチェックモードへの切替操作があった場合には、ステップS10の判定が満たされ、ステップS15に移る。 In step S10, it is determined whether or not the above-described button has been operated by the operator to switch to the command check mode. If there is no switching operation, the determination in step S10 is not satisfied, and the flow is terminated as it is. On the other hand, if there is an operation for switching to the command check mode, the determination in step S10 is satisfied, and the routine goes to step S15.
 ステップS15では、制御回路311は、印刷指令Qに含まれるコマンドの解析を行う。すなわち、図4及び図5等を用いて説明したように、印刷指令Qには、複数の印刷関連コマンドTDが(印刷に関連しないコマンドとともに)含まれている。前述の図4及び図5には明確化及び理解の容易のために各コマンドごとに1行ずつ分けて表示したが、実際には、各コマンドは例えば連続したシリアルデータとしてバーコードリーダ200よりラベル作成装置300に入力される。また、各コマンドは、詳細には、コマンド本体とパラメータとを含んでいる。前述の例では「FSia 0×00」で表されるコマンドは、「FSia」で表されるコマンド本体と、「0×00」で表されるパラメータとによって構成されている。したがって、このステップS20では、上記のようなシリアルデータ形式の印刷指令Qが、制御回路311によって予め定められた所定のバイト単位で順次切り分けて抽出され、解析される。すなわち、当該切り分けられた部分までの印刷指令Qの中にコマンドが含まれるかどうか、コマンドが含まれるのであればどのようなコマンドであるのか、が解釈される。 In step S15, the control circuit 311 analyzes a command included in the print command Q. That is, as described with reference to FIGS. 4 and 5 and the like, the print command Q includes a plurality of print-related commands TD (along with commands not related to printing). In FIG. 4 and FIG. 5 described above, one line is displayed for each command for the sake of clarity and understanding. In practice, however, each command is labeled from the barcode reader 200 as continuous serial data, for example. Input to the creation device 300. Each command includes a command body and parameters in detail. In the above example, the command represented by “FSia 0 × 00” is composed of a command body represented by “FSia” and a parameter represented by “0x00”. Therefore, in this step S20, the print command Q in the serial data format as described above is sequentially extracted and analyzed by the control circuit 311 in predetermined byte units. That is, it is interpreted whether a command is included in the print command Q up to the divided portion, and what command is included if the command is included.
 その後、ステップS20に移り、制御回路311は、上記ステップS15で抽出され解析されたコマンドが印刷に関連あるコマンドであるか、すなわち印刷関連コマンドTDであるかどうかを判定する。上記印刷関連コマンドTDでなければステップS20の判定が満たされずステップS15に戻り、同様の手順を繰り返す。印刷関連コマンドTDであれば、ステップS20の判定が満たされ、ステップS25に移る。この結果、ステップS15やステップS20が適宜繰り返されて実行されるごとに、上記印刷指令Qの中に上記所定の順序で含まれる複数の印刷関連コマンドTD1,TD2,TD3,・・・がそれぞれ順次抽出されることとなる。 Thereafter, the process proceeds to step S20, and the control circuit 311 determines whether or not the command extracted and analyzed in step S15 is a command related to printing, that is, a print-related command TD. If it is not the above printing-related command TD, the determination in step S20 is not satisfied, and the process returns to step S15 to repeat the same procedure. If it is a print-related command TD, the determination at step S20 is satisfied, and the routine goes to step S25. As a result, each time step S15 or step S20 is repeated and executed as appropriate, a plurality of print-related commands TD1, TD2, TD3,. It will be extracted.
 ステップS25では、制御回路311は、ステップS20の判定が満たされた時点、すなわちステップS5で入力された印刷指令Qに含まれる各印刷関連コマンドTD1,TD2,TD3,・・が順次抽出された時点で、当該印刷関連コマンドTDまでの上記印刷指令Qの上記シリアルデータと、上記印刷指令Qの末尾に含まれる印字データPD(前述の例では「12345」)とを用いて、前述した印刷試行のための新たな印刷指令Q1,Q2,Q3,・・を生成する。なお、ステップS25で新たな印刷指令が作成された後、制御回路311が、当該新たな印刷指令によって正常に印刷可能かどうかを適宜の公知の手法で判定するようにしてもよい。この場合、正常な印刷が不可能(あるいは印刷不能)と判定した場合には、制御回路311が適宜の報知手段に対し制御信号を出力し、エラーメッセージの表示やアラームなどの適宜のエラー処理を行わせるようにしてもよい。 In step S25, the control circuit 311 detects when the determination in step S20 is satisfied, that is, when the print-related commands TD1, TD2, TD3,... Included in the print command Q input in step S5 are sequentially extracted. Thus, using the serial data of the print command Q up to the print-related command TD and the print data PD (“12345” in the above example) included at the end of the print command Q, the print trial described above is performed. New print commands Q1, Q2, Q3,. Note that after a new print command is created in step S25, the control circuit 311 may determine whether or not printing can be normally performed by the new print command by an appropriate known method. In this case, when it is determined that normal printing is impossible (or printing is impossible), the control circuit 311 outputs a control signal to appropriate notification means, and performs appropriate error processing such as display of an error message or alarm. You may make it perform.
 その後、ステップS30に移り、制御回路311は、上記ステップS25で生成された新たな印刷指令Qに含まれる各印刷関連コマンドTDの名称及び機能を表すテキストデータをそれぞれ生成する。 Thereafter, the process proceeds to step S30, and the control circuit 311 generates text data representing the name and function of each print-related command TD included in the new print command Q generated in step S25.
 その後、ステップS400Bで、前述のステップS400Aと同様、制御回路311は、上記ステップS25で生成取得された新たな印刷指令Qと上記ステップS30で生成されたテキストデータとに基づき、サーマルヘッド305、カッタ307、搬送ローラ308等の制御を行い、印字ラベルP1,P2・・を作成する印刷処理を行う(詳細は後述の図12参照)。 Thereafter, in step S400B, as in step S400A described above, the control circuit 311 determines the thermal head 305, the cutter based on the new print command Q generated and acquired in step S25 and the text data generated in step S30. 307, control of the conveying roller 308, etc., and print processing for creating print labels P1, P2,... Is performed (refer to FIG. 12 described later for details).
 その後、ステップS35に移り、前述のボタンを介し、操作者による処理続行のための操作があったかどうかを判定する。ボタンによる操作があった場合は判定が満たされ、ステップS15に戻って同様の手順を繰り返す。ボタンによる操作がなかった場合には、そのままこのフローを終了する。 Thereafter, the process proceeds to step S35, and it is determined whether or not there has been an operation for continuing processing by the operator via the above-described button. If there is an operation with a button, the determination is satisfied, and the process returns to step S15 and the same procedure is repeated. If there is no operation by the button, this flow is finished as it is.
 なお、上記ステップS15、ステップS20、ステップS25、ステップS30、ステップS400B、及びステップS35が、上記通常モードではない上記コマンドチェックモードでの処理に相当している。 The steps S15, S20, S25, S30, S400B, and S35 correspond to processing in the command check mode that is not the normal mode.
 上記ステップS400A及びステップS400Bの印刷処理の詳細内容を図12を用いて説明する。これらステップS400A及びステップS400Bは、以下に示すように、ほぼ同様の内容の手順である。 Details of the printing process in steps S400A and S400B will be described with reference to FIG. These steps S400A and S400B are procedures with substantially the same contents as described below.
 まず、ステップS410において、制御回路311は、搬送ローラ308を駆動する搬送用モータ(図示せず)に制御信号を出力する。これにより、当該搬送用モータの駆動力によって搬送ローラ308が駆動され、ロール304から被印字テープ303が繰り出され、搬送が開始される。 First, in step S410, the control circuit 311 outputs a control signal to a conveyance motor (not shown) that drives the conveyance roller 308. As a result, the conveyance roller 308 is driven by the driving force of the conveyance motor, and the print-receiving tape 303 is fed out from the roll 304 to start conveyance.
 その後、ステップS420で、制御回路311は、被印字テープ303が所定量だけ搬送されたか否かを判定する。この所定量とは、例えばサーマルヘッド305が被印字テープ303の上記印字領域R(又はRs,Rt)の先端にほぼ対向する位置に到達するだけの搬送距離である。この搬送距離判定は、適宜の公知の手法で行えばよい。例えば被印字テープ303に設けたマーキングを公知のテープセンサ(不図示)で検出してもよいし、ステッピングモータである上記搬送用モータへのパルス信号をカウントするようにしてもよい。所定量搬送されるまでは判定が満たされずループ待機し、所定量搬送されたらステップS420の判定が満たされ、ステップS430に移る。 Thereafter, in step S420, the control circuit 311 determines whether or not the print-receiving tape 303 has been conveyed by a predetermined amount. The predetermined amount is, for example, a transport distance that allows the thermal head 305 to reach a position that substantially opposes the front end of the print area R (or Rs, Rt) of the print-receiving tape 303. This conveyance distance determination may be performed by an appropriate known method. For example, the marking provided on the print-receiving tape 303 may be detected by a known tape sensor (not shown), or pulse signals to the above-described transport motor that is a stepping motor may be counted. Until the predetermined amount is conveyed, the determination is not satisfied and the apparatus stands by in a loop. When the predetermined amount is conveyed, the determination in step S420 is satisfied, and the process proceeds to step S430.
 ステップS430では、制御回路311は、サーマルヘッド305に制御信号を出力する。これにより、ステップS400AにおけるこのステップS430では、サーマルヘッド305が、上記図11のステップS5で入力された印刷指令Qに基づく被印字テープ303の上記印字領域Rへの印字を開始する。またステップS400BにおけるこのステップS430では、サーマルヘッド305が、上記図11のステップS25で生成された印刷指令Qに基づく被印字テープ303の上記印字領域Rsへの印字と、上記図11のステップS335で生成されたテキストデータに基づく被印字テープ303の上記印字領域Rtに対する印字とを開始する。 In step S430, the control circuit 311 outputs a control signal to the thermal head 305. Thereby, in step S430 in step S400A, the thermal head 305 starts printing on the print region R of the tape to be printed 303 based on the print command Q input in step S5 of FIG. In step S430 in step S400B, the thermal head 305 performs printing on the print region Rs of the tape to be printed 303 based on the print command Q generated in step S25 in FIG. 11, and in step S335 in FIG. Printing on the print area Rt of the tape to be printed 303 based on the generated text data is started.
 ステップS440では、制御回路311は、被印字テープ303の印字領域R(又はRs,Rt)に対する印字がすべて完了しているかどうかを確認する。具体的には、例えば上記印刷指令Qの印字データPDや上記テキストデータに対応するサーマルヘッド305の通電が完了したかどうかを判定する。印字が完了するまで判定が満たされずループ待機し、印字が完了していればステップS440の判定が満たされ、ステップS450へ移る。 In step S440, the control circuit 311 confirms whether or not printing for the print region R (or Rs, Rt) of the print-receiving tape 303 has been completed. Specifically, for example, it is determined whether the energization of the thermal head 305 corresponding to the print data PD of the print command Q or the text data is completed. Until the printing is completed, the determination is not satisfied and the loop stands by. If the printing is completed, the determination in step S440 is satisfied, and the process proceeds to step S450.
 ステップS450では、制御回路311は、被印字テープ303がさらに所定量(例えば、印字領域R,Rs,Rtのすべてがカッタ307を所定の長さ(余白量)分越えるだけの搬送距離)だけ搬送されたかどうかを判定する。このときの搬送距離判定も例えば上記ステップS420と同様にすれば足りる。所定量の搬送が完了するまでは判定が満たされずループ待機し、所定量の搬送が完了してステップS450の判定が満たされると、ステップS460に移る。 In step S450, the control circuit 311 further conveys the print-receiving tape 303 by a predetermined amount (for example, a conveyance distance by which all the print areas R, Rs, and Rt exceed the cutter 307 by a predetermined length (margin amount)). Determine whether it was done. For example, the conveyance distance determination at this time may be the same as in step S420. Until the predetermined amount of conveyance is completed, the determination is not satisfied and the apparatus stands by in a loop. When the predetermined amount of conveyance is completed and the determination in step S450 is satisfied, the process proceeds to step S460.
 ステップS460では、制御回路311は、上記搬送用モータに制御信号を出力する。これにより、搬送ローラ308の駆動が停止され、ロール304からの被印字テープ303の繰り出し及び搬送が停止する。 In step S460, the control circuit 311 outputs a control signal to the conveyance motor. As a result, the driving of the conveyance roller 308 is stopped, and the feeding and conveyance of the print-receiving tape 303 from the roll 304 are stopped.
 その後、ステップS470で、制御回路311は、ソレノイド駆動回路(図示せず)に制御信号を出力してカッタ用ソレノイド(図示せず)を駆動する。これにより、カッタ307が被印字テープ303の切断を行う。前述したように、この時点で印字領域R(又はRt,Rs)を含む被印字テープ303のすべてがカッタ307を十分に越えており、このカッタ307の切断によって、印字ラベルP(又はP1,P2,・・)が生成される。 Thereafter, in step S470, the control circuit 311 outputs a control signal to a solenoid drive circuit (not shown) to drive a cutter solenoid (not shown). Thereby, the cutter 307 cuts the print-receiving tape 303. As described above, all of the print-receiving tape 303 including the print region R (or Rt, Rs) sufficiently exceeds the cutter 307 at this time, and the print label P (or P1, P2) is cut by cutting the cutter 307. , ...) is generated.
 ステップS480では、制御回路311は、別途設けた排出用ローラ(図示せず)を駆動する排出用モータ(図示せず)に制御信号を出力する。これにより、上記ステップS470で印刷された印字ラベルP(又はP1,P2,・・)がラベル作成装置300の装置外へと排出される。なお、排出用モータがなくても手動操作で印字ラベルP(又はP1,P2,・・)を装置外へ排出できる場合には、このステップS480を省略してもよい。以上により、このフローを終了する。 In step S480, the control circuit 311 outputs a control signal to a discharge motor (not shown) that drives a separately provided discharge roller (not shown). As a result, the print label P (or P1, P2,...) Printed in step S470 is discharged out of the label producing apparatus 300. If the print label P (or P1, P2,...) Can be discharged out of the apparatus by manual operation without a discharge motor, step S480 may be omitted. Thus, this flow is finished.
 以上説明したように、本実施形態のラベル作成装置300においては、元の印刷指令Qに含まれていた各印刷関連コマンドTD1,TD2,TD3,・・・を順番に1つずつ加えつつ新たに印刷指令Qを順次生成し、その生成の都度、サーマルヘッド305が印刷を行って印字ラベルP1,P2,P3,・・を作成していく。これにより、正常に印刷が行われなくなったときに、操作者は、その直前に加えられた印刷関連コマンドTDに不備があったことを確実に認識することができる。特に、その時点で、当該加えられた印刷関連コマンドTDの前の順番の印刷関連コマンドTDの名称や機能が直前の印字ラベルP1,P2・・の印字領域Rtに正常に印刷されていることから、操作者は、上記不備があった印刷関連コマンドTDをさらに確実に特定し認識することができる。 As described above, in the label producing apparatus 300 of the present embodiment, the printing related commands TD1, TD2, TD3,... Included in the original printing command Q are newly added one by one in order. The print command Q is sequentially generated, and each time the print command Q is generated, the print heads P1, P2, P3,. Thereby, when printing is not normally performed, the operator can surely recognize that the print-related command TD added immediately before is incomplete. In particular, at that time, the names and functions of the print related commands TD in the order before the added print related command TD are normally printed in the print area Rt of the immediately preceding print labels P1, P2,. The operator can more reliably specify and recognize the print-related command TD having the above-mentioned defect.
 また、本実施形態では特に、処理続行指示としての上記ボタンによる操作指示入力が行われるごとに、最初の印刷関連コマンドTD1に加えそれ以降の順番の印刷関連コマンドTD2,TD3,・・・を順次加えた新たな印刷指令Qが生成され印字ラベルP2,P3,P4,・・・の作成が試行される。これにより、操作者は、処理続行指示としてのボタン自らが操作するごとに、1つずつ印刷関連コマンドTDを加えた形でサーマルヘッド305による印刷を行い印字ラベルP2,P3,P4,・・・の作成を行うことができる。この結果、操作者は、上記不備のある印刷関連コマンドTDをさらに確実に特定し認識することができる。 In the present embodiment, in particular, every time an operation instruction is input by the above button as a process continuation instruction, in addition to the first print-related command TD1, the subsequent print-related commands TD2, TD3,. An added new print command Q is generated and an attempt is made to create print labels P2, P3, P4,. As a result, the operator performs printing by the thermal head 305 with the printing-related command TD added one by one each time the button itself as a processing continuation instruction is operated, and the print labels P2, P3, P4,. Can be made. As a result, the operator can more reliably identify and recognize the defective print-related command TD.
 このとき特に、本実施形態では、操作者がボタンを操作するごとに、別々の印字ラベルP1,P2,P3,・・が順次作成される。すなわち、上記不備のある印刷関連コマンドTDの順番が来るまでの、正常な印刷関連コマンドTDを積み上げながら新印刷指令Qが生成されている間は、当該正常な印刷関連コマンドTDの数と同じ枚数の印字ラベルP1,P2,P3,・・が生成される。これにより、操作者は、当該生成された印字ラベルPをカウントとしたり個別にチェックする等により、上記不備のある印刷関連コマンドTDがどれであるかを、さらに容易に特定し認識することができる。 At this time, in particular, in the present embodiment, each time the operator operates the button, different print labels P1, P2, P3,. That is, while the new print command Q is generated while accumulating normal print-related commands TD until the order of the defective print-related commands TD comes, the same number as the number of normal print-related commands TD. Print labels P1, P2, P3,. As a result, the operator can more easily identify and recognize which of the defective print-related commands TD, for example, by counting the generated print labels P or individually checking them. .
 また、本実施形態では特に、上記ボタン操作によって、印刷関連コマンドTDの解析等を行わず通常の印字ラベルPの作成のみを行う通常モードと、上記図6~図10による印刷関連コマンドTD1,TD2,・・の解析等を行うコマンドチェックモードとを切り替えることができる(図11のステップS10参照)。これにより、操作者は、通常は通常モードによりラベル作成を実行し、正常な印刷が行われない(あるいは印刷そのものが行われない)等の何らかの不具合が生じたときに、コマンドチェックモードに切り替えて、当該不具合の原因となった不備のある印刷関連コマンドTD1,TD2,・・の特定を行うことができる。 In the present embodiment, in particular, the normal mode in which only the normal print label P is created without analyzing the print-related command TD or the like by the above button operation, and the print-related commands TD1, TD2 according to FIGS. ,... Can be switched to a command check mode for performing analysis or the like (see step S10 in FIG. 11). As a result, the operator normally performs label creation in the normal mode, and switches to the command check mode when some trouble occurs such as normal printing is not performed (or printing itself is not performed). , It is possible to identify defective print-related commands TD1, TD2,.
 なお、本発明は、上記実施形態に限られるものではなく、その趣旨及び技術的思想を逸脱しない範囲内で変形が可能である。以下、そのような変形例を説明する。 Note that the present invention is not limited to the above-described embodiment, and can be modified without departing from the spirit and technical idea thereof. Hereinafter, such modifications will be described.
 (1)同一の印字ラベルに繰り返し重ねて印刷する場合
 上記実施形態においては、1つずつ印刷関連コマンドTDを加えた新たな印刷指令Q1,Q2,・・が生成されるたびに、当該印刷指令Q1,Q2,・・による印字ラベルP1,P2,・・が別々に作成されたが、これに限られない。すなわち、同一の印字ラベルP0に対し、新たな印刷指令Q1,Q2,・・が生成されるたびに、繰り返し重ねるようにして印刷を行ってもよい。この場合、制御回路311の制御によって搬送ローラ308が逆回転可能に構成され、被印字テープ303を逆方向に搬送可能に構成されている。そして、コマンドチェックモードに切り替え後に、上述したようにして最初の印刷関連コマンドTD1を含む印刷指令Q1により1つの印字ラベルP0が作成された(但し未切断の状態のまま装置外へ露出させるのみ)後、上記ボタンが操作されると、被印字テープ303が逆方向へ搬送されることで当該被印字テープ303の先端側に未切断状態で形成されている印字ラベルP0が、サーマルヘッド308よりも搬送方向上流側まで逆方向に搬送される。その後、上述と同様、2番目の印刷関連コマンドTD2が加えられた新たな印刷指令Q2に基づき、上記逆方向に搬送された後の印字ラベルP0に対し、重ねるように印刷が行われる。
(1) When repeatedly printing on the same print label In the above embodiment, each time a new print command Q1, Q2,. Although the print labels P1, P2,... By Q1, Q2,. That is, printing may be performed on the same print label P0 so as to be repeatedly repeated each time a new print command Q1, Q2,. In this case, the conveyance roller 308 is configured to be reversely rotated by the control of the control circuit 311, and is configured to be capable of conveying the print-receiving tape 303 in the reverse direction. Then, after switching to the command check mode, one print label P0 is created by the print command Q1 including the first print-related command TD1 as described above (however, it is only exposed outside the apparatus in an uncut state). Thereafter, when the button is operated, the print label 303 formed in an uncut state on the front end side of the print-receiving tape 303 is transported in the reverse direction, and the print label P0 is more than the thermal head 308. It is conveyed in the reverse direction to the upstream side in the conveyance direction. Thereafter, as described above, based on the new print command Q2 to which the second print-related command TD2 is added, printing is performed so as to overlap the print label P0 after being conveyed in the reverse direction.
 このような手法により、上記図6、図7、図8、図9にそれぞれ対応する図13、図14、図15、図16に示すように、同一の印字ラベルP0に対する繰り返し重畳印刷が実行される。すなわち、印字ラベルP0の図示左側の印字領域Rsには、印刷指令Q1による印刷時にはデフォルトで定められた印刷箇所への印字「12345」の形成が実行され、その後印刷指令Q2による印刷時には所定の位置(この例では左上の隅部)に位置決めされた印刷箇所への印字「12345」が追加して形成され、その後印刷指令Q3による印刷時には水平方向中央位置に位置決めされた印刷箇所への印字「12345」が追加して形成され、その後印刷指令Q4による印刷時には垂直方向中央位置に位置決めされた印刷箇所への印字「12345」が追加して形成される。 By such a method, repeated superposition printing is performed on the same print label P0 as shown in FIGS. 13, 14, 15, and 16 corresponding to FIGS. 6, 7, 8, and 9, respectively. The That is, in the print area Rs on the left side of the print label P0, the print “12345” is formed at the print location determined by default when printing is performed according to the print command Q1, and then at a predetermined position when printing is performed according to the print command Q2. A print “12345” is additionally formed at the print location positioned at the upper left corner in this example, and after that, when printing is performed according to the print command Q3, the print “12345 at the print location positioned at the horizontal center position is formed. "Is added, and then printing" 12345 "is additionally formed at the printing position positioned at the center position in the vertical direction at the time of printing according to the print command Q4.
 同様に、印字ラベルP0の図示右側の印字領域Rtには、印刷指令Q1による印刷時には印刷関連コマンドTD1の名称及び機能を表す「FSia 0×00」「ESC/Pモード」が印刷され、その後印刷指令Q2による印刷時には印刷関連コマンドTD2の名称及び機能を表す「FSiL 0×01」「ランドスケープON」が追加して印刷され、その後印刷指令Q3による印刷時には印刷関連コマンドTD3の名称及び機能を表す「FS$ 0×FF 0×00」「水平位置調整」が追加して印刷され、その後印刷指令Q4による印刷時には印刷関連コマンドTD4の名称及び機能を表す「FS(V 0×02 0×00 0×00 0×02」「垂直位置調整」が追加して印刷される。 Similarly, “FSia 0 × 00” and “ESC / P mode” representing the name and function of the print-related command TD1 are printed in the print area Rt on the right side of the print label P0 in the figure when printing is performed according to the print command Q1, and then printing is performed. When printing according to the command Q2, “FSil 0 × 01” and “Landscape ON” indicating the name and function of the printing-related command TD2 are additionally printed, and after printing according to the printing command Q3, the name and function indicating the printing-related command TD3 are displayed. "FS $ 0xFF 0x00" and "Horizontal position adjustment" are added and then printed, and when printing by the print command Q4, "FS (V 0x02 0x00 0x" indicates the name and function of the print related command TD4. "00 0x02" "Vertical position adjustment" is added and printed.
 本変形例においては、上記不備のある印刷関連コマンドTDの順番が来るまでの、正常な印刷関連コマンドTD1,TD2,TD3,・・を積み上げながら新たな印刷指令Q1,Q2,Q3,・・が生成されている間は、1つの印字ラベルP0に対して繰り返して印刷が実行される。この結果、上記実施形態のように、新たな印刷指令Q1,Q2,Q3,・・が順次生成されるごとに別々の印字ラベルP1,P2,P3が作成される場合に比べ、消費される被印字テープ303や印字ラベルの数を大きく低減することができる。 In this modification, new print commands Q1, Q2, Q3,... Are accumulated while normal print-related commands TD1, TD2, TD3,. While it is being generated, printing is repeatedly performed on one print label P0. As a result, as in the above-described embodiment, compared to the case where separate print labels P1, P2, P3 are created each time a new print command Q1, Q2, Q3,. The number of print tapes 303 and print labels can be greatly reduced.
 (2)モードの自動切替を行う場合
 すなわち、以上においては、図11のステップS15において、操作者の手動による上記ボタン操作によって通常モードからコマンドチェックモードへの切り替えを実行していたが、これに限られない。すなわち、図11のステップS5とステップS400Aとの間に、前述したものと同様の判定手順を設け、ステップS5で取得された印刷指令Qにより正常な印刷が可能かどうかを制御回路311が判定するようにしてもよい。この場合、正常な印刷が行えないと判定された場合には自動的にコマンドチェックモードに移行し、上述したステップS15、ステップS20、ステップS25、ステップS30、ステップS400B、ステップS35が実行される。
(2) When switching mode automatically In other words, in the above, in step S15 in FIG. 11, the switch from the normal mode to the command check mode was executed by the above-described manual button operation by the operator. Not limited. That is, a determination procedure similar to that described above is provided between step S5 and step S400A in FIG. 11, and the control circuit 311 determines whether normal printing is possible based on the print command Q acquired in step S5. You may do it. In this case, when it is determined that normal printing cannot be performed, the mode automatically shifts to the command check mode, and the above-described steps S15, S20, S25, S30, S400B, and S35 are executed.
 本変形例においては、通常モードにより印刷が実行されている状態において、印刷不能となったときには自動的にコマンドチェックモードに切り替えられ、不備のある印刷関連コマンドTDの特定が行われる。この結果、操作者の利便性を向上することができる。 In this modified example, when printing is not possible in the normal mode, when printing becomes impossible, the mode is automatically switched to the command check mode, and the defective print-related command TD is specified. As a result, the convenience for the operator can be improved.
 (3)その他
 以上は、印刷装置として、被印字テープに所望の印刷を行って印字ラベルを作成する印字ラベル作成装置を例にとって説明したが、これに限られない。すなわち、印刷装置の一例として、例えばA4、A3、B4、B5サイズ等の通常の被印刷用紙に画像を形成したり文字を印刷するプリンタやバッテリ電源により駆動される携帯用プリンタに対し本発明を適用してもよい。この場合も同様の効果を得る。
(3) Others Although the above description has been made with respect to a print label producing apparatus that creates a print label by performing desired printing on a print-receiving tape, the present invention is not limited to this. That is, as an example of a printing apparatus, the present invention is applied to a printer that forms an image or prints characters on a normal printing paper such as A4, A3, B4, or B5 size, or a portable printer that is driven by a battery power source. You may apply. In this case, the same effect is obtained.
 なお、以上において、各図中に示す矢印は信号の流れの一例を示すものであり、信号の流れ方向を限定するものではない。 In the above, the arrows shown in each figure show an example of the signal flow, and do not limit the signal flow direction.
 また、各図に示すフローチャートは本発明を上記フローに示す手順に限定するものではなく、発明の趣旨及び技術的思想を逸脱しない範囲内で手順の追加・削除又は順番の変更等をしてもよい。 In addition, the flowcharts shown in the drawings do not limit the present invention to the procedures shown in the above-described flow, and procedures may be added or deleted or the order may be changed without departing from the spirit and technical idea of the invention. Good.
 また、以上既に述べた以外にも、上記実施形態や各変形例による手法を適宜組み合わせて利用しても良い。 In addition to those already described above, the methods according to the above-described embodiments and modifications may be used in appropriate combination.
 その他、一々例示はしないが、本発明は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。 Other than that, although not illustrated one by one, the present invention is implemented with various modifications within a range not departing from the gist thereof.
 200      バーコードリーダ
 300      ラベル作成装置
 303      被印字テープ
 305      サーマルヘッド
 308      搬送ローラ
 311      制御回路
 P        印字ラベル
 P0       印字ラベル
 P1~5     印字ラベル
 R        印字領域
 Rs       印字領域
 Rt       印字領域
 Q        印刷指令
 Q1~5     印刷指令
 TD1~TD5  印刷関連コマンド
 PD       印字データ
200 Barcode reader 300 Label production device 303 Tape to be printed 305 Thermal head 308 Conveying roller 311 Control circuit P Print label P0 Print label P1 to 5 Print label R Print area Rs Print area Rt Print area Q Print command Q1 to 5 Print command TD1 ~ TD5 Printing related command PD Print data

Claims (6)

  1.  装置外部の操作機器(200)から出力された、印刷制御情報(Q)を取得する情報取得手段(S5)と、
     被印刷物(303;303,P0)を搬送する搬送手段(308)と、
     前記搬送手段(308)により搬送される前記被印刷物(303;303,P0)に対し、前記情報取得手段(S5)により取得された前記印刷制御情報(Q)に対応した所望の印刷を行うための印刷手段(305)と、
    を有する印刷装置(300)であって、
     前記情報取得手段(S5)により取得された前記印刷制御情報(Q)を解析し、当該印刷制御情報(Q)に所定の順序で含まれる複数の印刷要素設定情報(TD1~TD5)を抽出する情報抽出手段(S15,S20)と、
     前記情報抽出手段(S15,S20)により抽出された複数の前記印刷要素設定情報(TD1~TD5)のうち最初の印刷要素設定情報(TD1)を用いて新印刷制御情報(Q1)を生成し、当該新印刷制御情報(Q1)に対応する印刷態様での印字データの印刷と、当該最初の印刷要素設定情報(TD1)の識別情報のテキストデータの印刷とを、前記搬送手段(308)及び前記印刷手段(305)を連携して制御する第1制御手段(S30,S400B)と、
     所定の処理続行指示の入力が行われるごとに、複数の前記印刷要素設定情報(TD1~TD5)のうち前記最初の印刷要素設定情報(TD1)に加えそれ以降の順番の印刷要素設定情報(TD2~TD5)を順次加えて、前記新印刷制御情報(Q2~Q5)を生成し、当該新印刷制御情報(Q2~Q5)に対応する印刷態様での前記印字データの印刷と、少なくとも前記新たに加えられた前記印刷要素設定情報(TD2~TD5)の識別情報のテキストデータの印刷とを、前記搬送手段(308)及び前記印刷手段(305)を連携して制御する第2制御手段(S30,S400B)と、
    を有することを特徴とする印刷装置(300)。
    Information acquisition means (S5) for acquiring print control information (Q) output from the operating device (200) outside the apparatus;
    Conveying means (308) for conveying the printing material (303; 303, P0);
    In order to perform desired printing corresponding to the print control information (Q) acquired by the information acquisition unit (S5) on the substrate (303; 303, P0) conveyed by the conveyance unit (308). Printing means (305),
    A printing apparatus (300) comprising:
    The print control information (Q) acquired by the information acquisition means (S5) is analyzed, and a plurality of print element setting information (TD1 to TD5) included in the print control information (Q) in a predetermined order is extracted. Information extraction means (S15, S20);
    New print control information (Q1) is generated using first print element setting information (TD1) among the plurality of print element setting information (TD1 to TD5) extracted by the information extracting means (S15, S20), Printing of print data in a printing mode corresponding to the new print control information (Q1) and printing of text data of identification information of the first print element setting information (TD1) are performed by the transport unit (308) and the First control means (S30, S400B) for controlling the printing means (305) in cooperation with each other;
    Each time a predetermined process continuation instruction is input, in addition to the first print element setting information (TD1) among the plurality of print element setting information (TD1 to TD5), the subsequent print element setting information (TD2) To TD5) are sequentially added to generate the new print control information (Q2 to Q5), print the print data in the print mode corresponding to the new print control information (Q2 to Q5), and at least the new Second control means (S30, S30) for controlling printing of text data of identification information of the added print element setting information (TD2 to TD5) in cooperation with the conveying means (308) and the printing means (305). S400B)
    A printing apparatus (300) comprising:
  2.  請求項1記載の印刷装置において、
     操作者が操作指示可能な操作手段を有し、
     前記第2制御手段(S30,S400B)は、
     前記処理続行指示としての、前記操作手段を介した前記操作指示の入力が行われるごとに、前記最初の印刷要素設定情報(TD1)に加えそれ以降の順番の印刷要素設定情報(TD2~TD5)を順次加えて、前記新印刷制御情報(Q2~Q5)を生成する
    ことを特徴とする印刷装置(300)。
    The printing apparatus according to claim 1.
    Having an operation means that can be instructed by an operator;
    The second control means (S30, S400B)
    Each time the operation instruction is input through the operation means as the processing continuation instruction, the first printing element setting information (TD1) and the subsequent printing element setting information (TD2 to TD5) are added. Are sequentially added to generate the new print control information (Q2 to Q5).
  3.  請求項2記載の印刷装置において、
     前記第1制御手段(S30,S400B)は、
     前記搬送手段(308)及び前記印刷手段(305)を連携して制御することで、
     前記最初の印刷要素設定情報(TD1)を用いて新印刷制御情報(Q1)を生成し、当該新印刷制御情報(Q1)に対応する印刷態様での印字データの印刷と、当該最初の印刷要素設定情報(TD1)の識別情報のテキストデータの印刷とを、1つの前記被印刷物(303)に行い、
     前記第2制御手段(S30,S400B)は、
     前記搬送手段(308)及び前記印刷手段(305)を連携して制御することで、
     前記最初の印刷要素設定情報(TD1)に加えそれ以降の順番の印刷要素設定情報(TD2~TD5)を順次加えて、前記新印刷制御情報(Q2~Q5)を生成し、当該新印刷制御情報(Q2~Q5)に対応する印刷態様での前記印字データの印刷と、前記新印刷制御情報(Q2~Q5)に含まれるすべての前記印刷要素設定情報(TD1~TD5)の識別情報のテキストデータの印刷とを、前記1つの被印刷物(303)に後続して搬送される各被印刷物(303)に対して順次行う
    ことを特徴とする印刷装置(300)。
    The printing apparatus according to claim 2, wherein
    The first control means (S30, S400B)
    By controlling the conveying means (308) and the printing means (305) in cooperation,
    New print control information (Q1) is generated using the first print element setting information (TD1), printing of print data in a printing mode corresponding to the new print control information (Q1), and the first print element Printing the text data of the identification information of the setting information (TD1) is performed on one of the printed materials (303),
    The second control means (S30, S400B)
    By controlling the conveying means (308) and the printing means (305) in cooperation,
    The new print control information (Q2 to Q5) is generated by sequentially adding the print element setting information (TD2 to TD5) in the subsequent order in addition to the first print element setting information (TD1), and the new print control information is generated. Printing of the print data in a print mode corresponding to (Q2 to Q5) and text data of identification information of all the print element setting information (TD1 to TD5) included in the new print control information (Q2 to Q5) The printing apparatus (300) is characterized in that the printing is sequentially performed on each substrate (303) conveyed subsequent to the one substrate (303).
  4.  請求項2記載の印刷装置において、
     前記第1制御手段(S30,S400B)は、
     前記搬送手段(308)及び前記印刷手段(305)を連携して制御することで、
     前記最初の印刷要素設定情報(TD1)を用いて新印刷制御情報(Q1)を生成し、当該新印刷制御情報(Q1)に対応する印刷態様での印字データの印刷と、当該最初の印刷要素設定情報(TD1)の識別情報のテキストデータの印刷とを、特定の1つの前記被印刷物(303,P0)に行い、
     前記第2制御手段(S30,S400B)は、
     前記搬送手段(308)及び前記印刷手段(305)を連携して制御することで、
     前記最初の印刷要素設定情報(TD1)に加えそれ以降の順番の印刷要素設定情報(TD2~TD5)を順次加えて、前記新印刷制御情報(Q2~Q5)を生成し、当該新印刷制御情報(Q2~Q5)に対応する印刷態様での前記印字データの印刷と、前記新たに加えられた前記印刷要素設定情報(TD2~TD5)の識別情報のテキストデータの印刷とを、前記特定の1つの被印刷物(P0)の同じ位置から重ねて行う
    ことを特徴とする印刷装置(300)。
    The printing apparatus according to claim 2, wherein
    The first control means (S30, S400B)
    By controlling the conveying means (308) and the printing means (305) in cooperation,
    New print control information (Q1) is generated using the first print element setting information (TD1), printing of print data in a printing mode corresponding to the new print control information (Q1), and the first print element Printing the text data of the identification information of the setting information (TD1) is performed on one specific printed material (303, P0),
    The second control means (S30, S400B)
    By controlling the conveying means (308) and the printing means (305) in cooperation,
    The new print control information (Q2 to Q5) is generated by sequentially adding the print element setting information (TD2 to TD5) in the subsequent order in addition to the first print element setting information (TD1), and the new print control information is generated. Printing the print data in a print mode corresponding to (Q2 to Q5) and printing text data of identification information of the newly added print element setting information (TD2 to TD5). A printing apparatus (300), wherein the two printing objects (P0) are overlapped from the same position.
  5.  請求項2乃至請求項4のいずれか1項記載の印刷装置において、
     前記第1制御手段(S30,S400B)及び前記第2制御手段(S30,S400B)の制御に基づき、前記搬送手段(308)による搬送及び前記印刷手段(305)による印刷が実行される第1モードと、
     前記第1制御手段(S30,S400B)及び前記第2制御手段(S30,S400B)の制御に基づくことなく、前記搬送手段(308)による搬送及び前記印刷手段(305)による印刷が実行される第2モードと、
    を有していることを特徴とする印刷装置(300)。
    The printing apparatus according to any one of claims 2 to 4,
    A first mode in which conveyance by the conveyance unit (308) and printing by the printing unit (305) are executed based on the control of the first control unit (S30, S400B) and the second control unit (S30, S400B). When,
    The conveyance by the conveyance means (308) and the printing by the printing means (305) are executed without being based on the control of the first control means (S30, S400B) and the second control means (S30, S400B). Two modes,
    A printing apparatus (300) characterized by comprising:
  6.  請求項5記載の印刷装置において、
     前記第2モードでの前記印刷手段(305)による印刷が可能か否かを判定する判定手段と、
     前記判定手段により印刷が不可能であると判定された場合に、前記第2モードから前記第1モードへ切り替えるモード切替手段と、
    を有することを特徴とする印刷装置(300)。
    The printing apparatus according to claim 5.
    Determination means for determining whether printing by the printing means (305) in the second mode is possible;
    Mode switching means for switching from the second mode to the first mode when the determination means determines that printing is impossible;
    A printing apparatus (300) comprising:
PCT/JP2012/058212 2011-05-02 2012-03-28 Printing device WO2012150671A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011102786A JP2012234388A (en) 2011-05-02 2011-05-02 Printing device
JP2011-102786 2011-05-02

Publications (1)

Publication Number Publication Date
WO2012150671A1 true WO2012150671A1 (en) 2012-11-08

Family

ID=47107861

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2012/058212 WO2012150671A1 (en) 2011-05-02 2012-03-28 Printing device

Country Status (2)

Country Link
JP (1) JP2012234388A (en)
WO (1) WO2012150671A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10950363B2 (en) 2012-12-19 2021-03-16 Dic Corporation Active material for negative electrodes of nonaqueous secondary batteries, and nonaqueous secondary battery

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6319275A (en) * 1986-07-11 1988-01-27 Nec Corp Printer
JP2002033903A (en) * 2000-07-18 2002-01-31 Tohoku Ricoh Co Ltd Printing method and printing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6319275A (en) * 1986-07-11 1988-01-27 Nec Corp Printer
JP2002033903A (en) * 2000-07-18 2002-01-31 Tohoku Ricoh Co Ltd Printing method and printing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10950363B2 (en) 2012-12-19 2021-03-16 Dic Corporation Active material for negative electrodes of nonaqueous secondary batteries, and nonaqueous secondary battery

Also Published As

Publication number Publication date
JP2012234388A (en) 2012-11-29

Similar Documents

Publication Publication Date Title
US20090219551A1 (en) Tape Printing Apparatus, Data Processing Method For Tape Printing Apparatus, Printing System, Data Processing Method For Printing System, Computer Program And Storage Medium
US8885196B2 (en) Portable terminal, printing system, control method for portable terminal, and computer program product for executing printing based on movement of the portable terminal
JP5834544B2 (en) Program, print data generation apparatus, control method for print data generation apparatus, and printing system
CN102744988A (en) Printing system, printing control method of printing system, tape printing apparatus, and printing apparatus
CN101670713B (en) print label editing apparatus
JP5845926B2 (en) Printing apparatus and printing apparatus control method
JP2013151129A (en) Printing apparatus, and method for controlling the same
WO2012150671A1 (en) Printing device
JP2007021732A (en) Tag label editor and tag label forming device
JP2019098572A (en) Print production program and print production device
JP2003303320A (en) Recorder and recording system
JP5425846B2 (en) Writing device and program
JP4581492B2 (en) RFID tag producing apparatus and control program for RFID label producing apparatus
JP5899989B2 (en) Output system
JP2009015513A (en) Recording device and its control method
JP2007310520A (en) Print system, print controller, print control method, and program
JP2013256069A (en) Print device and method for controlling print device
JP7349064B2 (en) Display processing program and communication processing system
JP4507625B2 (en) Single-sheet paper reading device, composite processing device, and single-sheet paper reading processing method
US11458748B2 (en) Printing apparatus
US11458747B2 (en) Printing apparatus
JP2005229514A (en) Cut-form read processing system, cut-form reading apparatus and compound processing apparatus
JP7194351B2 (en) printer
EP3165373B1 (en) A method for stopping a print system
JP2007021902A (en) Printer and printing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12779435

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12779435

Country of ref document: EP

Kind code of ref document: A1