CN1892571B - Print system - Google Patents

Print system Download PDF

Info

Publication number
CN1892571B
CN1892571B CN2006100907226A CN200610090722A CN1892571B CN 1892571 B CN1892571 B CN 1892571B CN 2006100907226 A CN2006100907226 A CN 2006100907226A CN 200610090722 A CN200610090722 A CN 200610090722A CN 1892571 B CN1892571 B CN 1892571B
Authority
CN
China
Prior art keywords
print
data
image
image data
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2006100907226A
Other languages
Chinese (zh)
Other versions
CN1892571A (en
Inventor
劳伦斯·欧文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Star Micronics Co Ltd
Original Assignee
Star Micronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2005189066A external-priority patent/JP4594813B2/en
Application filed by Star Micronics Co Ltd filed Critical Star Micronics Co Ltd
Publication of CN1892571A publication Critical patent/CN1892571A/en
Application granted granted Critical
Publication of CN1892571B publication Critical patent/CN1892571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

A print data generation unit (50) generates print data including data which represent a print object character string. A print image data generation unit (53) generates raster image data pertaining to the image to be printed based on the print data. A processing detail determination unit (52) determines processing details pertaining to the raster image data on the basis of the print object character string. A print image data processing unit (54) accepts an input of processing detail information about the processing details and an input of the raster image data, and subjects the raster image data to the image processing based on the processing detail information. A print instruction unit (55) causes a printer to produce a printout of the processed raster image data.

Description

Print system
Technical field
The present invention relates to a kind of print system.
Background technology
General known print system comprises computing machine and printer of an executive utility, and this print system makes printer produce the printout of " image that comprises character string " created by application program.
For example, a known print system as above-mentioned print system makes printer produce the printout of the image (hereinafter referred to as " bill image ") of the bill of being created by for example POS (point of sells) application program.In utilizing the field of this print system, the advertisement or the reward voucher of particular commodity or another product relevant with particular commodity can be delivered to the client who has bought this particular commodity reliably.Can also attempt simultaneously to reduce and send required work by carrying out the convenience that improves this print system of sending of advertisement or reward voucher.
Summary of the invention
A kind of print system, it makes printer produce the printout based on the image of print data, described print data be produce by the arbitrary program in a plurality of programs and comprise the data of having indicated the character string that will be printed.This print system comprises: the print image data generation unit, and it produces the raster image data relevant with wanting printed image based on print data; Handle the details determining unit, the character string that its basis will be printed is determined the processing details at the raster image data; The print image data processing unit, it receives the raster image data and the processing details relevant processing details information definite with handling the details determining unit that produced by the print image data generation unit, and it handles details information to raster image data carries out image processing according to this; And the printing indicating member, it makes printer produce the printout of raster image data, wherein these raster image data have been carried out Flame Image Process by the print image data processing unit.
Description of drawings
In the accompanying drawings:
Fig. 1 shows the diagrammatic sketch according to the unitary construction of the print system of an embodiment;
Fig. 2 is the diagrammatic sketch that is used to illustrate the operation of main frame;
Fig. 3 is the diagrammatic sketch that example bill image is shown;
Fig. 4 is the diagrammatic sketch that the example of the bill image of handling is shown;
Fig. 5 is the diagrammatic sketch that another example of the bill image of handling is shown;
Fig. 6 is the diagrammatic sketch that the another example of handling of bill image is shown;
Fig. 7 is used to illustrate the diagrammatic sketch of image recording media from printer output;
Fig. 8 is the functional block diagram according to the print system of an embodiment;
Fig. 9 is the diagrammatic sketch that the key table example is shown;
Figure 10 illustrates one group of diagrammatic sketch of handling the example of details data;
Figure 11 illustrates the diagrammatic sketch that one group of environment is provided with the example of data;
Figure 12 is the process flow diagram that the processing procedure of being carried out by print data processing unit is shown; And
Figure 13 is the diagrammatic sketch that a sample log file is shown.
Embodiment
Below with reference to accompanying drawing embodiments of the invention are done detailed description.
Fig. 1 shows the diagrammatic sketch according to the unitary construction of the print system of an embodiment.
As shown in the figure, print system 1 comprises main frame 10 (print request device) and printer 20.
As shown in Figure 1, main frame 10 is computing machines, and this computing machine comprises control module 11, storage unit 12, input block 13, display unit 14, interface (I/F) 15 and CD reading unit 16.
Control module 11 is operated based on operating system and other programs that are stored in the storage unit 12, thereby carries out various information processing operations.Storage unit 12 is made of the computer-readable information storage medium.For example, storage unit 12 constitutes by comprising ROM (ROM (read-only memory)), RAM (random access memory) and hard disk drive.Storage unit 12 has been stored will be by the program of control module 11 execution.This storage unit 12 is also operated as working storage, is used to be stored in by required various types of data during the processing procedure of control module 11 execution.
Input block 13 is for example keyboard, mouse etc., and the data that this input block 13 will conform to the performed input of user are input to control module 11.Display unit 14 is displays etc. for example, and it comes display message according to the instruction from control module 11 inputs.According to the instruction from control module 11 input, CD reading unit 16 reads program or the data that are stored in as in the CD (information storage medium) of DVD-ROM etc.
Interface 15 is used for various peripherals or information storage medium (storage card etc.) are connected to main frame 10.Interface 15 will output to control module 11 from the data of inputs such as peripherals.According to the instruction from control module 11 inputs, this interface 15 outputs to peripherals etc. with various data.This main frame 10 is equipped with the one or more connectivity ports (hereinafter referred to as " USB port ") that meet as USB (USB (universal serial bus)) interface specification.
In one or more embodiments, the Windows OS (registered trademark) that adopts Microsoft to produce is installed in the main frame 10 and is used as operating system.And, also adopt POS application program (hereinafter referred to as " POS application program ") to be installed in the main frame 10 with bill establishment function.
Main frame 10 is connected to printer 20 by interface 15, makes data to exchange between computing machine and printer.As shown in Figure 1, printer 20 comprises control module 21, storage unit 22, image formation unit 23 and interface (I/F) 24.
The whole printer 20 of control module 21 controls.Storage unit 22 comprises ROM or RAM, and printing required various programs and data are carried out in its storage.Interface 24 receives the data that send from main frame 10, and the data that will receive like this output to control module 21.Printer 20 for example is equipped with USB port as interface 24.Image formation unit 23 is formed on image on the image recording media such as printer paper, and described image is based on the data of control module 21 inputs.
The printer 20 here receives the raster image data (more particularly, having represented the order data about the colouring information of each pixel of composition diagram picture) of tentation data forms from main frame 10, and the raster image data are formed on the image recording media.Printer 20 has the automatic gas cutting machine structure, and this printer 20 receives the order data of indication cutting image recording medium from main frame 10, and receives the order data that is used for forming image on image recording media; And this printer 20 on given position with given pattern cutting image recording medium.
The operation that when making printer 20 print the bill image of being created by POS application program main frame 10 is performed will be described now.Fig. 2 is the diagrammatic sketch that is used to illustrate the operation of main frame 10.Although POS application program 30a and POS application program 30b are provided among the figure, be installed in the application program at least one in this main frame 10.
When POS application program 30a had sent the order of printed tickets image, GDI (Graphics Device Interface) program 31 produced the metadata of the order of having represented to describe this bill image.This GDI program 31 is programs that are provided as an operating system part, and this metadata and device independent.
The metadata that is produced by GDI program 31 offers print data generating routine (printed driver) 33a by spooler 32.This print data generating routine 33a produces the print data of tentation data form according to metadata.The print data that will produce for printer 20 can be explainable or unaccountable.For example, this print data is explainable for the printer that standard is different from printer 20.
The order data (the printable character string of every row) of the order data that adopts print data generating routine 33a to produce to have represented font type, the printing details that every row is shown, be used to control the order data (order data that for example, is used for the position that the indicating image recording medium will be cut) etc. of the mechanism of printer here as print data.
When sending the instruction of the bill image 40 that is used to print as shown in Figure 3, this print data generating routine 33a at first produces the initialization command data, and the initialization command data that will produce like this offer spooler 32.Then, this print data generating routine 33a produces upper and lower, the left side of presentation video recording medium and the order data of right margin blank, and this order data is offered spooler 32.Then, for example this print data generating routine 33a produce the order data of expression font type, position that the presentation video recording medium will be cut and cutting the order data etc. of mode as the appropriate command data, and this order data offered spooler 32.
Print data generating routine 33a produces the order data of the printing details of the every row of expression continuously, as " A " " A " " A " " _ " " S " " T " " O " " R " " E " LF, " Y " " E " " A " " R " " M " " O " " N " " T " " H " " D " " A " " T " " E " LF " H " " O " " U " " R " " M " " I " " N " " U " " T " " E " LF, or " a " " a " " a "
Figure A20061009072200101
" 5 " " 0 " " 0 " LF, and the order data that will produce like this offers spooler 32.At last, this print data generating routine 33a produces the order data that page footing is shown, and this order data is offered spooler 32.In the above description, " LF " illustrates the order data of line feed.
When POS application program 30b had sent the instruction that is used for the printed tickets image, print data generating routine 33b produced print data.This print data generating routine 33b is a program of being called by " printed driver " other titles in addition, and is the program that for example provides as the part of POS application program 30b.This print data generating routine 33b produces the similar print data of print data that is produced with print data generating routine 33a.
Be retained in provisionally in the storage unit 12 by the original print data of spooler 32 print data generating routine 33a or 33b generation.This spooler 32 sequentially sends to print data printer 20, monitors the state of this printer 20 simultaneously.Specifically, in order to export this original print data from the port that links to each other with printer 20, this spooler 32 sequentially offers print data port drivers 34.
36 monitoring of The Monitor Model program provide print data from spooler 32 to port drivers 34.This The Monitor Model program 36 is used for by port drivers 34 from printer 20 receiving status informations, and be used for this information offer preset program (as, state is with reference to program etc.).When detecting from print data that spooler 32 provides, these The Monitor Model program 36 restrictions (obstruction) provide print data to port drivers 34, and this print data is offered print data converse routine 35.
This print data converse routine 35 is provided by the print data (order data) that provides from The Monitor Model program 36 orders, thus produce with as the image-related raster image data of the whole bill of print object.35 pairs of these raster image data of this print data converse routine are carried out various types of Flame Image Process.
The various image processing operations of being carried out by print data converse routine 35 will be described below.
According to the print data that provides from The Monitor Model program 36 (more particularly, representing the order data of the printing details of every row), this print data converse routine 35 determines whether this bill image comprises predetermined key word.This key word is title, specific company title of for example particular commodity etc.According to definite result, this print data converse routine 35 will append to this bill image with the corresponding image of this key word.For example, when this bill image comprised the particular commodity title, the advertising image that another product relevant with these commodity or that be correlated with these commodity is relevant etc. was affixed to this bill image.For example, as shown in Figure 3, when this bill image 40 comprises trade name " aaa ", as shown in Figure 4, the reward voucher image 41 of these commodity " aaa " is appended to this bill image 40 together with dotted line 42.Also there is the situation that a plurality of reward voucher images is appended to the bill image.In example as shown in Figure 4, there is such situation, the reward voucher image of commodity " bbb " is appended in addition the position below the reward voucher image 41 of commodity " aaa " together with dotted line.In the following description, thisly be described to " the image additional function that key word calls " by print data converse routine 35 functions that carry out, that will append to the bill image corresponding to the image of key word.
For example, this print data converse routine 35 appends to the bill image with predetermined background image.For example, watermarking images 43 as shown in Figure 5 is affixed to bill image 40.In the following description, this function that carried out by print data converse routine 35, that predetermined background image is appended to the bill image is described to " background image additional function ".
For example, as shown in Figure 6, this print data converse routine 35 has been removed at least a portion of the upper and lower margin of bill image 40.In the following description, thisly carried out by print data converse routine 35, the function of at least a portion of removing the upper and lower margin of bill image is described to " margin removal function ".
For example, shown in Fig. 7 A, for making the printer 20 of that part of mode output image recording medium that comes out earlier of image recording media on the top be formed with bill image 40, in order to make this printer 20 such output image recording mediums, that is, shown in Fig. 7 B, the part of the image recording media of the bottom that is formed with this bill image 40 is thereon come out earlier, these print data converse routine 35 carries out image processing are used for printing this bill image with horizontal or vertical inversion mode.In the following description, this that carry out by print data converse routine 35, be described to " counter-rotating printing function " with the function of inversion mode printed tickets image.
This print data converse routine 35 produces print data, and the raster image data that this print data is used to make printer 20 will optionally carry out above-mentioned various image processing operations are formed on image recording media.The print data that print data converse routine 35 produces is exported from the port that links to each other with printer 20 by The Monitor Model program 36 and port drivers 34, and the print data that will export like this offers printer 20.
Information storage medium by for example CD etc. is installed in print data converse routine 35 and The Monitor Model program 36 in the main frame 10.And, can or provide this print data converse routine 35 and this The Monitor Model program 36 respectively in the mode of integral body.In addition, may have such situation, that is, without spooler 32, the print data that print data generating routine 33b is produced directly offers The Monitor Model program 36.
To describe the function of implementing by print data converse routine 35 now in detail.Fig. 8 is illustrated in the functional block of being implemented by main frame 10, about the functional block diagram of the functional block of the one or more embodiment of the present invention.As mentioned above, main frame 10 comprises print data generating unit 50, pretreatment unit 51, print image data generation unit 53, print image data processing unit 54, prints indicating member 55, daily record data registration unit 58 and daily record data storage unit 59.Print data generating unit 50 is implemented as the print data generating routine 33a that is carried out by control module 11, the result of 33b.Another functional block is implemented as by the print data converse routine 35 of control module 11 execution and the result of The Monitor Model program 36.
[1. print data generating unit]
This print data generating unit 50 produces print data, and the print data that will produce like this offers pretreatment unit 51.As mentioned above, this print data generating unit 50 sequentially for example produces: the order data of the printing details of the order data of expression font type, the every row of expression and the order data of expression page footing, and this print data generating unit 50 sequentially offers this order data this pretreatment unit 51.
[2. pretreatment unit]
The order data that provides from this print data generating unit 50 orders is provided this pretreatment unit 51.The order data that this pretreatment unit 51 will receive like this offers print image data generation unit 53 and daily record data registration unit 58.This pretreatment unit 51 determines whether this order data that receives is " order data of expression page footing ".When this order data that receives is " order data of expression page footing ", give print image data generation unit 53 and daily record data registration unit 58 with this result's message report.
This pretreatment unit 51 can be carried out the processing that for example letter is converted to uppercase from small letters.When for example receiving " a " " a " " a " " _ " " _ " " _ "
Figure A20061009072200121
During the order data of " 5 " " 0 " " 0 " LF, this pretreatment unit 51 can be converted to this order data " A " " A " " A " " _ " " _ " " _ " The order data of " 5 " " 0 " " 0 " LF, and the order data that will change like this offers print image data generation unit 53 and daily record data registration unit 58.
[3. handling the details determining unit]
This pretreatment unit 51 comprises handles details determining unit 52.According to the character string that will print (being called for short " print object character string " later on) that is included in from the print data that print data generating unit 50 provides, this handle details determining unit 52 determine with by the relevant processing details of raster image data (that is the bill image that, will print) that will produce at the print image data generation unit of describing after a while 53.In one or more embodiments, this processing details determining unit 52 determines whether this print object character string comprises specific key word (specific character string), and determines to handle details according to the result who determines.
In one or more embodiments, this processing details determining unit 52 has been stored key table as shown in Figure 9.As shown in the figure, this key table comprises " key word " field and " view data " field.Be stored in " key word " field as the title of particular commodity or the key word of specific company title.The information that is used to specify corresponding to the view data of a key word is stored in " view data " field.Here adopt the title (filename) of view data to be stored in this view data field.For example, the name storage of the view data such as identification image, advertising image or reward voucher image that another product relevant with particular commodity or that be correlated with these commodity is relevant is in " view data " field.
When the order data (the print object character string of every row) of the printing details of the every row of expression was offered this processing details determining unit 52, this processing details determining unit 52 determined whether the printing details of this row comprise the key word that is stored in " key word " field.When determining to comprise this key word, this processing details determining unit 52 reads the title corresponding to the view data of this key word from " view data " field, thereby produces the processing details data of form (about handling the information of details) as shown in figure 10.In the processing details data shown in this figure, for example, " print logo=" coupon_aaa " " indication will append to the bill image based on the image of view data " coupon_aaa ".That is, the processing details data shown in this figure are used for indication image are appended to the bill image as command list.When pretreatment unit 51 receives report about the result that has been received of order data of expression page footing, this processing details determining unit 52 should be handled the details data and offer print image data processing unit 54.
When comprising key word in the printing details of determining every row, this processing details determining unit 52 for example can produce the director data of the form of " print logo=" coupon_aaa " ", and this director data is offered print image data processing unit 54.This print image data processing unit 54 can produce processing details data as shown in figure 10.
[4. print image data generation unit]
According to the print data that provides from pretreatment unit 51 orders, this print image data generation unit 53 produces and the image-related raster image data of whole bill that will be printed.Specifically, this print image data generation unit 53 produces view data, and the pixel of forming this bill image in this view data is relevant with color information.
According to the print data that is produced by print data generating unit 50, this print image data generation unit 53 is preserved for producing the various data of the raster image data relevant with wanting printed image.For example, this print image data generation unit 53 has been stored the font image data relevant with font type, and this font type can be specified by the order data that print data generating unit 50 produces.According to various types of data, this print image data generation unit 53 produces these raster image data.
One receives the order data of expression cutting image recording medium order, and this print image data generation unit 53 just for example produces and " is fed into cutting knife=true; Cutting number percent=50%; ... " intermediate control data.By this print image data processing unit 54 this intermediate control data is offered this printing indicating member 55.
[5. print image data processing unit]
54 pairs of raster image data that provide from print image data generation unit 53 of this print image data processing unit are carried out various types of Flame Image Process.For example, the raster image data are carried out Flame Image Process, the details of this Flame Image Process are based on the print object character string that is included in the print data that is produced by print data generating unit 50.For example, based on from handling the processing details data that details determining unit 52 provides, the raster image data are carried out Flame Image Process.When this print object character string comprises predetermined key word, these raster image data are carried out and the corresponding Flame Image Process of this key word.For example, the raster image data being carried out horizontal or vertical counter-rotating handles.
In one or more embodiments, the environment of these print image data processing unit 54 storages as shown in those Figure 11 is provided with data.As shown in the figure, this environment is provided with data and comprises " the image additional function sign that key word calls " field, " background image additional function sign " field, " background image data " field, " background image multiplicity " field, " margin is removed the function sign " field and " counter-rotating printing function sign " field.Illustrate and whether use the information of the image additional function that key word calls to be stored in " the image additional function sign that key word calls " field.The information of whether using the background image additional function is shown to be stored in " background image additional function sign " field.The information stores that is used to specify the view data relevant with the background image that will be affixed to the bill image is by in " background image data " field.The title that adopts the view data relevant with background image is to be stored in " background image data " field.The number of times that repeats to export background image is stored in " background image multiplicity " field.The information of whether using margin to remove function is shown to be stored in " margin is removed the function sign " field.The information of whether having used the counter-rotating printing function is shown to be stored in " counter-rotating printing function sign " field.The user is provided with in the specific environment as shown in the display unit 14 of main frame 10 and edits the details that this environment is provided with data on the screen.
Here, will the processing of being carried out by print image data processing unit 54 be described.Figure 12 shows the process flow diagram of this processing.
As shown in figure 12, print image data processing unit 54 at first carries out margin removal processing (S101).The zone that this print image data processing unit 54 is removed a preset width from the upper end of the raster image data that produced by print image data generation unit 53, and the zone of removing another piece preset width from its lower end.Details according to " margin is removed the function sign " field forbid carrying out the processing that belongs to this step.Can remove the zone, top and bottom, make the user that the width in zone, top and bottom can at random be set.
Then, this print image data processing unit 54 carries out the image additional treatments (S102) that key word calls.According to the processing details data that provide from processing details determining unit 52, this print image data processing unit 54 appends to this bill image with image.In one or more embodiments, this print image data processing unit 54 receives the processing details data (Figure 10) of handling details determining unit 52 from this, and sequentially obtains and the title that will append to the image-related view data of this bill image from these processing details data.When this print image data processing unit 54 obtains the title of view data, this print image data processing unit 54 reads the corresponding view data of title with the view data that obtains like this from storage unit 12, and this view data is appended to the bottom of these raster image data together with predetermined page break image (dotted line 42 etc.).The view data that reads can combine with these raster image data in translucent mode.Details according to " the image additional function sign that key word calls " field forbid carrying out the processing that belongs to this step.
Then, this print image data processing unit 54 is carried out background image additional treatments (S103).This print image data processing unit 54 appends to predetermined background image in the background of this bill image.For example, this print image data processing unit 54 produces background image data, an image repeated to have shown the number of times by " background image multiplicity " field appointment in this background image data on given position, the pixel of described image vertically with on the horizontal direction has the quantity that equates and this image with these raster image data and by environment the appointment of data " background image data " field is set; And transparent attribute is set to a zone except this background image in this background image data.This print image data processing unit 54 combines this background image data and the raster image data of having passed through the processing that belongs to S101 and S102 translucently.Details according to " background image additional function sign " field forbid carrying out the processing that belongs to step S103.
This print image data processing unit 54 will pass through and belong to S101 to the raster image data storage of the processing of S103 to storage unit 12 (hard disk drive) (S104).At this moment, these raster image data are stored in predetermined catalogue, and comprise as the sequence number of printer 20 and the character string of current time and be set as filename.
Then, this print image data processing unit 54 will pass through and belong to S101 to these raster image data of the processing of S103 vertically reverse (S105).Forbid belonging to the processing of this step according to " counter-rotating printing function sign " details of field.
To through and having belonged to S101 and offer to the raster image data of the processing of S105 and print indicating member 55.With among the step S104 in storage unit 12 path of storage raster image data or filename offer at the daily record data registration unit of describing after a while 58.
[6. printing indicating member]
This printing indicating member 55 makes printer 20 produce the printout of raster image data, and these raster image data are produced and handled by print image data processing unit 54 by print image data generation unit 53.This printing indicating member 55 comprises print data generating unit of handling 56 and the print data output unit of handling 57.
[print data generating unit of 7. handling]
This print data generating unit of handling 56 produces print data, and this print data is used to make printer 20 to produce the raster image data of being handled by print image data processing unit 54 on image recording media.In one or more embodiments, the print data generating unit 56 of this processing sequentially produces and is used for indicating the order data of printer 20 about the color information of each pixel of every row, and the order data that will produce like this offers the print data output unit 57 of this processing.The print data generating unit 56 of this processing produces and is used to make printer 20 to carry out the appropriate command data of control, the details of this control are represented by the intermediate control data that print image data generation unit 53 produces, and the print data generating unit 56 of this processing order data that will produce like this offers the print data output unit 57 of this processing.
[the print data output unit of 8. handling]
The print data (order data) that the print data output unit 57 of this processing will be produced by the print data generating unit 56 of this processing is sequentially exported from the port that links to each other with printer 20, makes this print data be output to printer 20.In the case, printer 20 receives and explains the order data that receives from print data output unit 57 orders of this processing.According to this order data, carry out with the bill image be formed on the image recording media, the operation of cutting image recording medium etc.
[9. daily record data registration unit and storage unit]
Daily record data storage unit 59 storing daily record datas.This daily record data be by will being included in the print object character string in the print data that produces by print data generating unit 50 at least a portion with " based on print data by print image data generation unit 53 that produce and by the raster image data of print image data processing unit 54 processing " being associated forms.
When the printed tickets image, the journal file that this daily record data registration unit 58 produces as shown in figure 13, and the journal file that will produce like this stores in the daily record data storage unit 59.As shown in the figure, when pretreatment unit 51 is accepted print data, this journal file storage date and time (Date and Time).This journal file is also stored the system user name relevant with the execution of POS application program 30a or 30b in the main frame 10 and the title (System User and System Computer) of main frame 10.In addition, this journal file has been stored and can for example, be responsible for the people's of registration name by the user of POS application program 30a or 30b or by the indivedual character strings (Client String) that are provided with of user of printer 20.Especially, in journal file, store the information (Output BMP) of the memory location that is used to specify the raster image data of handling by print image data processing unit 54, and in journal file, stored the printable character string (Searchable Data) that is included in the print data that produces by print data generating unit 50.
The print data that provides from this pretreatment unit 51 is provided this daily record data registration unit 58, and obtains to be included in the printable character string in this print data.This daily record data registration unit 58 receives from print image data processing unit 54 and stored the path of the raster image data of handling (the raster image data of storing) or the input of filename among S104.This daily record data registration unit 58 produces journal file according to path or filename.
As mentioned above, the print system 1 of one or more embodiment of the present invention has the image additional function that key word calls.When in the bill image, comprising specific key word, automatically appended to this bill image with the corresponding image of this key word.For example, the advertisement or the reward voucher image of commodity or another product relevant with commodity are automatically appended to the bill image that includes the particular commodity name.Therefore, for example, the advertisement of commodity or another product relevant with commodity, reward voucher etc. can be delivered to the people who buys these commodity reliably, have reduced work simultaneously.
Because this print system 1 has the counter-rotating printing function, so, make the printer 20 that the part that is formed with the image recording media on bill image top on it is come out earlier for the output image recording medium, can make its output image recording medium as follows, that is, make the part of image recording media of the bottom that is formed with the bill image on it come out earlier.Pick up for handover the user under the situation of the image recording media of exporting from printer 20, may there be such situation, promptly, for the direction (for image recording media is reversed horizontal or vertically) that changes image recording media, the user must change to the another hand from a hand with image recording media.Yet print system 1 can reduce user's this work.The realization of this counter-rotating printing function does not need to handle details determining unit 52, daily record data registration unit 58 and daily record data storage unit 59.
Because print system 1 has daily record data registration unit 58 and daily record data storage unit 59, can realize attempting, make the user, keeper etc. of POS application program 30a or 30b by specifying character string arbitrarily, the bill image of easily determining to comprise arbitrary string is actually and how is printed.In print system 1, realize above-mentioned functions by The Monitor Model program 36 and print data converse routine 35.Therefore, the realization of above-mentioned functions both needn't change POS application program 30a, 30b, also needn't prepare to be used for the different program of each POS application program 30a, 30b.
The present invention is not limited to the foregoing description.
For example, the operating system of being carried out by main frame 10 is not limited to the Windows OS (registered trademark) that Microsoft makes.And the application program of being carried out by main frame 10 is not limited to POS application program 30a, 30b.Specifically, will be not limited to the bill image created by POS application program 30a, 30b by the object that printer 20 is printed.Document or image by the Another Application program creation also can be the objects that will print.
For example, more than explanation has been mentioned by USB cable main frame 10 and printer 20 has been linked together.Yet, also can main frame 10 and printer 20 be coupled together by communication network as LAN (LAN (Local Area Network)) and so on.In the case, interface 15 and 24 can be configured for the communication interface that connects with this communication network.
Can use by the program of the address of other titles except " The Monitor Model program " (as " port simulated program " etc.) and replace The Monitor Model program 36.
For example, also can realize the function of preview bill image.When POS application program 30a, 30b sent the instruction of preview bill image, the most basic requirement was that the raster image data (bitmap file) that will be stored in step S104 in the storage unit 12 are presented on the display unit 14 (preview screen).
For example, the storage unit (as hard disk drive) of another computing machine that is connected with main frame 10 or printer 20 by communication network can realize daily record data storage unit 59.
For example, in functional block shown in Figure 8, the functional block except print data generating unit 50 can be realized by printer 20.
For example, the image additional function that calls by key word can will append to the top of this bill image with the corresponding image of this key word.Optionally, this image can be affixed to the given position in this bill image.For example, this image can be inserted in the bill image from position that this key word occurs and a definite position.
When comprising a plurality of key word in this bill image, the image additional function that calls by key word is selected at least one in a plurality of key words, and can will append to this bill image with the corresponding image of key word.For example, store priority in advance, distributed to each key word simultaneously.When comprising a plurality of key word in the bill image, according to the priority of distributing to each key word, from a plurality of key words, select at least one, and the image corresponding with this key word can be appended to this bill image.For example, when a key word occurs repeatedly in the bill image, the image additional function by key word calls only will append to this bill image once with the corresponding image of this key word.In one or more embodiments, according to from whole print object character string and with the image-related raster image data of the whole bill that will print in detect key word the result receive handle the details data after, by these raster image data being carried out the Flame Image Process (handling operation) based on these processing details data, this print image data processing unit 54 will be pasted one and the corresponding image of key word.Therefore, in the above described manner can be to adding with the corresponding image of a key word.In other words, can add with high relatively degree of freedom pair and the corresponding image of a key word.
For example, the image additional function that calls by key word, this image recording media can be cut (partially or even wholly), rather than dotted line 42 is printed between bill image subject part 40a and the reward voucher image section 41a (and the corresponding image section of a key word).
In the above in the explanation, when the bill image of preparing by this POS application program 30a or 30b (the bill image that belongs to the print command object) when comprising specific key word, be used with the corresponding image of this key word (as identification image, advertising image, reward voucher image etc.) and append to this bill image.Yet also available following function replaces combining with top function (the image additional function that key word calls) or with top function and realizes.
For example, when key images (specific image) is included in the bill image of being prepared by POS application program 30a or 30b, can carry out and the corresponding Flame Image Process of this key images this bill image.For example, can add and corresponding reward voucher image of this key images etc.This function can realize in the identical mode of image additional function that key word calls.Specifically, be the key images and the view data of storage as reward voucher etc. and so on for the basic demand of handling details determining unit 52, make this image and this view data connection that is relative to each other.According to the print data that provides from print data generating unit 50, this processing details determining unit 52 determines whether comprise this key images by the bill image that POS application program 30a or 30b prepare.Unique requirement is to provide to print image data processing unit 54 according to the result who determines to handle details data (Figure 10).
Optionally, corresponding to the moment that is printed when the bill image of preparing by POS application program 30a or 30b, can carry out Flame Image Process to this bill image.For example, can add reward voucher image corresponding to this moment etc.Can realize this function in the identical mode of image additional function that key word calls.Specifically, for unique requirement of handling details determining unit 52 be require storage time and as the view data of reward voucher image etc. and so on, make this time requirement and this view data connection that is relative to each other.Here, this time requirement is the information that illustrates as time, time cycle, date, date and time, what day or another section period.In response to the print data that provides from print data generating unit 50, for the basic demand of handling details determining unit 52 is to determine current date and time or current time whether to satisfy time requirement (whether current date and time or current time are preset times, whether current date and time or current time are included in the predetermined cycle etc.), and provide to print image data processing unit 54 according to the result who determines and to handle details data (Figure 10).As mentioned above, for example, when the schedule time arrived, the distribution reward voucher became possibility.In the case, be more preferably and to be used for be stored in journal file (Figure 13) by handling date and time or the time that details determining unit 52 determines.
As above reference example embodiment is described, a kind of print system is provided, this print system makes printer produce the printout of the image of " having comprised character string " of being created by the application program such as the POS application program, and this print system can improve convenience, and a kind of method and program that is used to control this print system also is provided simultaneously in an embodiment.
According to one or more embodiment of the present invention, provide at least a in the following example structure.
(1) a kind of print system is used to make printer to produce printout based on the image of print data, described print data be produce by the arbitrary program in a plurality of programs and comprise the data of having indicated the character string that will be printed.This print system comprises: the print image data generation unit, and it produces the raster image data relevant with wanting printed image based on print data; Handle the details determining unit, the character string that its basis will be printed is determined the processing details at the raster image data; The print image data processing unit, it receives the raster image data and the processing details relevant processing details information definite with handling the details determining unit that produced by the print image data generation unit, and it handles details information to raster image data carries out image processing according to this; And the printing indicating member, it makes printer produce the printout of raster image data, wherein these raster image data have been carried out Flame Image Process by the print image data processing unit.
(2) a kind of method that is used for control according to the print system of (1).This method comprises: produce about wanting the raster image data of printed image based on print data; Determine processing details according to the character string that will be printed at the raster image data; Come raster image carries out image processing according to the processing details information relevant to producing with the processing details of determining; And make this printer produce the printout of the raster image data of having passed through Flame Image Process.
(3) a kind of computer-readable program product, be used to make computing machine to play the function of print system, make printer produce printout based on the image of print data, described print data be produce by the arbitrary program in a plurality of programs and comprise the data of having indicated the character string that will be printed.Described program product makes this computing machine carry out processing procedure, and described processing procedure comprises: produce the raster image data relevant with wanting printed image based on print data; Determine processing details according to the character string that will be printed at the raster image data; Come raster image carries out image processing according to the processing details information relevant to producing with the processing details of determining; And make this printer produce the printout of the raster image data of having passed through Flame Image Process.
Information recording carrier of the present invention is the computer-readable information recording medium that has write down program thereon.
Embodiments of the invention relate to a kind of print system, and this print system is used to make that printer produces the printout of " based on the arbitrary program image that produce and that comprise the print data of the data of having indicated the character string that will be printed by a plurality of programs ".The character string that is printed (print object character string) comprises one or more characters.This character comprises for example control character such as blank character, tab, and comprises Japanese hiragana characters, japanese character character, numeral, alphabetic character and symbol.In one embodiment of the invention, produce the raster image data relevant according to print data with wanting printed image.According to the definite processing details of print object character string about the raster image data.The print image data processing unit is accepted the input of raster image data and about the input of the processing details information of the processing details determined.According to this processing details information the raster image data are carried out Flame Image Process.The raster image data of having carried out Flame Image Process by the print image data processing unit are printed machine and produce and be used as printout.According to embodiments of the invention, can improve the convenience of print system, this print system can make printer produce the printout of " image that comprises character string " created by the application program of for example POS application program and so on.
According to an aspect of the present invention, this print system can comprise the print request device, but this print request device is connected with printer with communication mode, and makes printer produce the printout of the image of the print data that produces based on the arbitrary program by a plurality of programs; In this print request device, can comprise print image data generation unit, processing details determining unit, print image data processing unit and print indicating member; And described printing indicating member can produce and be used to make printer to produce the print data of the printout of raster image data, and this print data outputed to printer, raster image data wherein are to be produced and carried out Flame Image Process by the print image processing unit by the print image data generation unit.
According to a further aspect in the invention, handle the details determining unit and can determine whether this print object character string comprises specific character string; And when definite this print object character string comprises specific character string, can be confirmed as processing details at the raster image data corresponding to the processing details of specific character string.
In aspect this, can be used for the image corresponding to this specific character string is appended to the print object image corresponding to the processing details of specific character string; And handle details information and can comprise the information that is used to specify the image corresponding with this specific character string.
According on the other hand, described print system can further comprise control module, this control module at least a portion of the character string that will be printed with pass through the raster image data that Flame Image Process crosses and be stored in the storer in the mode that is associated.
According on the other hand, described method can further comprise at least a portion of the character string that will be printed is stored in the storer in the mode that is associated with the raster image data of passing through Flame Image Process.
According on the other hand, described program product can make computing machine carry out processing procedure, and described processing procedure comprises that further at least a portion of the character string that will be printed is stored in the storer in the mode that is associated with the raster image data of process Flame Image Process.
According to embodiments of the invention, when realizing a kind of print system, it is handled when producing printout the data (print object image) that will be printed, wherein, the details of described processing are determined according to being included in print object characters in images string, the user specifies arbitrary string, thereby the user can be determined to the mode that the image that comprises this character string is printed by reality subsequently.
With illustrative purposes above-mentioned specific embodiment is proposed for example.Be not to be intended to the present invention is stated to the greatest extent or is limited in the disclosed precise forms.Can be according to above teaching or to obtaining various improvement and distortion the practice of the present invention.To disclosed embodiment choose and description is in order to explain principle of the present invention and real-life program so that those skilled in the art are used for various embodiment with the present invention, and carry out various improvement to be fit to concrete application target.It is intended to define scope of the present invention with claims and equivalent thereof.

Claims (9)

1. a print system (1), be used to make the printout of printer (20) generation based on the image of print data, described print data be produce by the arbitrary program in a plurality of programs (30a, 30b) and comprise the data of having indicated the character string that will be printed, this print system (1) comprising:
Print image data generation unit (53), this print image data generation unit (53) produces the raster image data relevant with wanting printed image based on described print data;
Handle details determining units (52), the character string that this processing details determining unit (52) basis will be printed is determined the processing details at described raster image data;
Print image data processing unit (54), this print image data processing unit (54) receives raster image data that produced by described print image data generation unit (53) and the relevant processing details information of determining with described processing details determining unit (52) of processing details, and this print image data processing unit (54) according to described processing details information to described raster image data carries out image processing; And
Print indicating member (55), this printing indicating member makes printer (20) produce the printout of raster image data, and wherein these raster image data have been carried out Flame Image Process by described print image data processing unit (54),
Wherein, described processing details determining unit (52) determines whether the character string that will be printed comprises specific character string, and
Wherein, when definite described character string comprises specific character string, described processing details determining unit (52) will be defined as the processing details at described raster image data corresponding to the processing details of described specific character string.
2. according to the print system (1) of claim 1, wherein, described print system (1) comprises print request device (10), described print request device (10) is connected with printer (20), and make printer produce printout based on the image of the print data that produces by the arbitrary program in a plurality of programs (30a, 30b)
Wherein said print request device (10) comprises described print image data generation unit (53), described processing details determining unit (52), described print image data processing unit (54) and described printing indicating member (55), and
Wherein said printing indicating member (55) produces and is used to make printer (20) to produce the print data of the printout of raster image data, and wherein said raster image data have been carried out Flame Image Process by described print image data processing unit (54).
3. according to the print system (1) of claim 1, wherein, comprise corresponding to the described processing details of described specific character string being used for the image corresponding to described specific character string is appended to the details of wanting on the printed image, and
Wherein, described processing details information comprises the information that is used to refer to fixed corresponding with described specific character string image.
4. according to the print system (1) of claim 2, wherein, comprise corresponding to the described processing details of described specific character string being used for the image corresponding to described specific character string is appended to the details of wanting on the printed image, and
Wherein, described processing details information comprises the information that is used to refer to fixed corresponding with described specific character string image.
5. according to the print system (1) of claim 1, further comprise control module (11), described control module (11) is stored in the raster image data of at least a portion of the character string that will be printed with the process Flame Image Process in the storage unit (12) in the mode that is associated.
6. according to the print system (1) of claim 2, further comprise control module (11), described control module (11) is stored in the raster image data of at least a portion of the character string that will be printed with the process Flame Image Process in the storage unit (12) in the mode that is associated.
7. according to the print system (1) of claim 1, wherein said print image data processing unit (54) obtains the print data that is produced by one of a plurality of programs (30a, 30b) by a specific program (33b, 31), wherein said specific program (33b, 31) receives output and outputs to described printer from described a plurality of programs (30a, 30b), and
Wherein, described printing indicating member (55) makes described printer produce the printout of raster image data by described specific program (33b, 31).
8. method that is used to control print system (1), described print system is used to make the printout of printer (20) generation based on the image of print data, described print data be produce by the arbitrary program in a plurality of programs (30a, 30b) and comprise the data of having indicated the character string that will be printed, described method comprises:
Produce about wanting the raster image data of printed image based on described print data;
Determine processing details according to the character string that will be printed at described raster image data;
Come raster image carries out image processing according to the processing details information relevant to producing with the processing details of determining; And
Make described printer produce the printout of the raster image data of having passed through Flame Image Process,
Wherein, determine in determining step whether the character string that will be printed comprises specific character string, and
Wherein, when definite described character string comprises specific character string, determining step will be defined as the processing details at described raster image data corresponding to the processing details of described specific character string.
9. the method that is used to control described print system according to Claim 8 further comprises at least a portion of the character string that will be printed is stored in the mode that is associated with the raster image data through Flame Image Process.
CN2006100907226A 2005-06-28 2006-06-28 Print system Active CN1892571B (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2005189066A JP4594813B2 (en) 2005-06-28 2005-06-28 Printing system, printing request apparatus control method, program, and printing request apparatus
JP2005189066 2005-06-28
JP2005189064 2005-06-28
JP2005189064A JP4594812B2 (en) 2005-06-28 2005-06-28 Printing system, printing request apparatus control method, program, and printing request apparatus
JP2005-189064 2005-06-28
JP2005-189066 2005-06-28

Publications (2)

Publication Number Publication Date
CN1892571A CN1892571A (en) 2007-01-10
CN1892571B true CN1892571B (en) 2011-02-16

Family

ID=37597477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100907226A Active CN1892571B (en) 2005-06-28 2006-06-28 Print system

Country Status (2)

Country Link
JP (1) JP4594812B2 (en)
CN (1) CN1892571B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102103476B (en) 2011-03-01 2015-12-16 山东新北洋信息技术股份有限公司 Double-side printer system and control method thereof
JP6145978B2 (en) * 2012-09-07 2017-06-14 セイコーエプソン株式会社 Image processing apparatus, image processing system, and printing method
JP6075427B2 (en) * 2015-09-09 2017-02-08 セイコーエプソン株式会社 Print control method and printer driver

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1439956A (en) * 2003-03-31 2003-09-03 上海北大方正科技电脑系统有限公司 Printing device for separating printed data stream order alphabetic string real-time analysis

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004058323A (en) * 2002-07-25 2004-02-26 Star Micronics Co Ltd Printer
JP3969307B2 (en) * 2002-12-26 2007-09-05 村田機械株式会社 Network printer and printer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1439956A (en) * 2003-03-31 2003-09-03 上海北大方正科技电脑系统有限公司 Printing device for separating printed data stream order alphabetic string real-time analysis

Also Published As

Publication number Publication date
CN1892571A (en) 2007-01-10
JP4594812B2 (en) 2010-12-08
JP2007011514A (en) 2007-01-18

Similar Documents

Publication Publication Date Title
CN1924789B (en) Print system
US6789482B2 (en) Printing method, recording medium containing a program for applying the printing method, printer, printer driver, POS terminal, and POS system
US20100328725A1 (en) System and method for a design with intent metadata
EP0947930A3 (en) Font sharing system and method, and recording medium storing program for executing font sharing method
CN101136978A (en) Printer control device
JPH0991301A (en) System and method for document information management
US6633890B1 (en) Method for washing of graphic image files
US20080235263A1 (en) Automating Creation of Digital Test Materials
KR20090037264A (en) Rogo menufacturing method using the internet
US6903839B1 (en) Apparatus for washing of graphic image files
CN1892571B (en) Print system
TWI620117B (en) Data processing apparatus, recording apparatus and method of data generating
JPH02297462A (en) Printer apparatus
EP1739542B1 (en) Print system
JP2007058463A (en) Receipt image printing system, control method for receipt image printing system, and program
US20060290952A1 (en) Print system
US20060055950A1 (en) Image data registration method, image data registration program, and printing apparatus
JP3955118B2 (en) Variable printing system
JP4594813B2 (en) Printing system, printing request apparatus control method, program, and printing request apparatus
JP4579470B2 (en) How to register print data
JP2008130062A (en) Form output print system
JP2005144827A (en) Print data creating device, print data creating method and print data creating program
JP2691871B2 (en) Comp compiling device using pseudo characters
Flynn Historical review of TEX3
CN108846448A (en) A kind of quotient based on digital location technology, which is overpriced, signs Method of printing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant