CN102825925B - Duplex printing control method and device and duplex printing system - Google Patents

Duplex printing control method and device and duplex printing system Download PDF

Info

Publication number
CN102825925B
CN102825925B CN201110162946.4A CN201110162946A CN102825925B CN 102825925 B CN102825925 B CN 102825925B CN 201110162946 A CN201110162946 A CN 201110162946A CN 102825925 B CN102825925 B CN 102825925B
Authority
CN
China
Prior art keywords
print
data
print data
length
matched
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
CN201110162946.4A
Other languages
Chinese (zh)
Other versions
CN102825925A (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.)
Shandong New Beiyang Information Technology Co Ltd
Original Assignee
Shandong New Beiyang Information Technology 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
Application filed by Shandong New Beiyang Information Technology Co Ltd filed Critical Shandong New Beiyang Information Technology Co Ltd
Priority to CN201110162946.4A priority Critical patent/CN102825925B/en
Publication of CN102825925A publication Critical patent/CN102825925A/en
Application granted granted Critical
Publication of CN102825925B publication Critical patent/CN102825925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a duplex printing control method and device and a duplex printing system. The duplex printing control method comprises the following steps: generating first print data which are printed on the first surface of a printing medium; generating second print data matched with the first print data in the printing length, wherein the second print data are printed on the second surface of the printing medium; and printing the first print data and the second print data on the first surface and second surface of the printing medium respectively. By adopting the duplex printing control method and device and the duplex printing system, advertising information can be printed on the second surface of the length variable printing medium as much as possible.

Description

Duplex printing control method and device, double-side printer system
Technical field
The present invention relates to printing field, in particular to a kind of duplex printing control method and device, double-side printer system.
Background technology
Printer extensive use in supermarket, market, for printing detail or the invoice (being referred to as receipt below) of commodity transaction.Because transaction details or invoice can as medium to consumer's transmission of informations, therefore, businessman adopts special print media to print receipt usually, wherein, the one side of print media is blank, for real time print transaction data, another side printing pre-determined advertisement information, for publicizing commodity.But the frequency upgraded due to advertising message is higher, and often a renewal advertising message all needs again to make a plate, and plate-making expense is very expensive, thus causes the cost of manufacture of print media high.In order to solve this problem, Chinese patent 200680016024.X discloses a kind of Double-plate machine and print control program thereof, duplex printer comprises the first printhead and the second printhead, wherein, first printhead is used for printing transaction data at the first surface of print media, and the second printhead is used for second print ad or sales promotion information etc. at print media.
Because receipt length is directly proportional to commodity amount that client purchases, therefore, receipt length is uncertain.In order to avoid not mating with transaction data length in print ad message length at that time of concluding the business, traditional duplex printer adopts circulation to print the method for same advertisement usually, but the shortcoming of this method is often to occur that advertising message excessively repeats, the problem of information content deficiency.
Summary of the invention
Main purpose of the present invention is to provide a kind of duplex printing control method and device, double-side printer system, to solve in prior art when adjustable length print media carries out duplex printing, the second face of print media often causes information content to print not enough problem owing to adopting circulation to print same advertisement.
To achieve these goals, according to an aspect of the present invention, a kind of duplex printing control method is provided.This duplex printing control method comprises: generate the first print data, and wherein, the first print data is for being printed on the first surface of print media; Generate the second print data matched with the print length of the first print data, wherein, the second print data is for being printed on second of print media; And print the first print data and the second print data respectively the first surface of print media and second.
Further, generate the second print data matched with the print length of the first print data to comprise: search the data matched with the print length of the first print data in a database, as the second print data.
Further, search the data matched with the print length of the first print data in a database, comprise as the second print data: in combination image table, search the combination image matched with the print length of the first print data; From image library, the video data block of composition combination image is transferred according to the combination image found; And generate the second print data according to video data block, wherein, database comprises image library, and image library is for preserving the multiple video data blocks preset, and combination image table is for preserving the combination of each video data block and the corresponding relation of its print length in image library.
Further, search the data matched with the print length of the first print data in a database, comprise as the second print data: search the print length that is less than the first print data in a database and differ minimum data with the print length of the first print data, as the second print data.
Further, search in a database and comprise with the data that the print length of the first print data matches: judge that whether the print length unit of data in the print length unit of the first print data and database is consistent; When the print length unit of the print length unit with data in database that determine the first print data is consistent, directly search the data matched with the print length of the first print data in a database; And when in the print length unit determining the first print data and database, the print length unit of data is inconsistent, first be consistent by the print length unit of the first print data with the print length unit conversion of data in database, then search the data matched with the print length of the first print data in a database.
Further, above-mentioned duplex printing control method is used for controlling double-side printer system, wherein, double-side printer system comprises main frame and printer, generate the first print data to comprise: utilize main frame to generate the first print data, generate the second print data matched with the print length of the first print data and comprise: main frame generates the second print data matched with the print length of the first print data; And the second print data is sent to printer by main frame, or, generate the first print data and comprise: utilize main frame to generate the first print data; And the first print data is sent to printer by main frame, generates the second print data matched with the print length of the first print data and comprise: printer generates the second print data matched with the print length of the first print data.
To achieve these goals, according to a further aspect in the invention, a kind of duplex printing control device is provided.This duplex printing control device comprises: the first generation module, and for generating the first print data, wherein, the first print data is for being printed on the first surface of print media; Second generation module, for generating the second print data matched with the print length of the first print data, wherein, the second print data is for being printed on second of print media; And print module, for printing the first print data and the second print data respectively the first surface of print media and second.
Further, second generation module is used for searching the data matched with the print length of the first print data in a database, as the second print data, comprising: search submodule, for searching the combination image matched with the print length of the first print data in combination image table; Transfer submodule, for transferring the video data block of composition combination image from image library according to the combination image found; And generation submodule, for generating the second print data according to video data block.
To achieve these goals, according to a further aspect in the invention, a kind of double-side printer system is provided.This double-side printer system comprises: the first Data Generator, and for generating the first print data, wherein, the first print data is for being printed on the first surface of print media; Second Data Generator, for generating the second print data matched with the print length of the first print data, wherein, the second print data is for being printed on second of print media; And duplex printing portion, for printing the first print data and the second print data respectively the first surface of print media and second.
Further, double-side printer system comprises main frame and printer, and wherein, the first Data Generator and the second Data Generator are positioned at main frame, and duplex printing portion is positioned at printer; Or the first Data Generator is positioned at main frame, duplex printing portion and the second Data Generator are positioned at printer.
Further, double-side printer system also comprises: memory, and for stored data base, wherein, the second Data Generator is used for searching the data matched with the print length of the first print data in a database, as the second print data.
Further, above-mentioned memory is for storing image library and combination image table, wherein, database comprises image graph, image library is for preserving the multiple video data blocks preset, combination image table is for preserving the combination of each video data block and the corresponding relation of its print length in image library, and the second Data Generator is used for generating the second print data in the following manner: in combination image table, search the combination image matched with the print length of the first print data; From image library, the video data block of composition combination image is transferred according to the combination image found; And generate the second print data according to video data block.
By the present invention, adopt generation first print data, wherein, the first print data is for being printed on the first surface of print media; Generate the second print data matched with the print length of the first print data, wherein, the second print data is for being printed on second of print media; And print the first print data and the second print data respectively the first surface of print media and second, print length due to the second print data matches with the print length of the first print data, thus to solve in prior art when adjustable length print media carries out duplex printing, second face of print media often causes information content to print not enough problem owing to adopting circulation to print same advertisement, and then reaches the effect printing advertising message as much as possible on second of adjustable length print media.
Accompanying drawing explanation
The accompanying drawing forming a application's part is used to provide a further understanding of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the inside composition schematic diagram of print system according to a first embodiment of the present invention;
Fig. 2 is the inside composition schematic diagram of print system according to a second embodiment of the present invention;
Fig. 3 is the flow chart of the duplex printing control method of print system according to a first embodiment of the present invention;
Fig. 4 is the flow chart of the duplex printing control method of print system according to a second embodiment of the present invention;
Fig. 5 is the flow chart of the duplex printing control method of print system according to a third embodiment of the present invention;
Fig. 6 is the flow chart of the duplex printing control method of print system according to a fourth embodiment of the present invention;
Fig. 7 is the schematic diagram of the duplex printing control device of print system according to a first embodiment of the present invention;
Fig. 8 is the schematic diagram of the duplex printing control device of print system according to a second embodiment of the present invention; And
Fig. 9 a and Fig. 9 b is the two kind combination image schematic diagrames of medium length according to the present invention between 10 and 11.
Detailed description of the invention
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the present invention in detail in conjunction with the embodiments.
Fig. 1 is the inside composition schematic diagram of the print system that first embodiment of the invention provides, and as shown in Figure 1, print system 20 comprises main frame 30, printer 40.Wherein, main frame 30 comprises controller 31, first Data Generator 32, and wherein, controller 31 is for module execution work each in main control system, and the communication interface (not shown) of such as main control system sends data to printer; First Data Generator 32, for generating the first print data, namely the print data of the first surface of print media is printed on, as transaction data, first print data can be the data (being called for short printer language data) described with printer language, as the data described with PDL language, the data etc. described with ESC/P language can also be the data (abbreviation raster data) of raster format; Main frame 30 sends data 36 by communication interface (not shown) to printer 40, and these data comprise the first print data.Printer 40 comprises controller 41, RAM memory 42, database (such as, image library 43) and combination image table 44 and duplex printing portion 45, wherein, controller 41 controls each module execution work, such as, the communication interface (not shown) that controller 41 controls printer receives the data 36 sent from main frame 30, and is temporarily stored in RAM memory 42 by the data 36 received, and controls duplex printing portion and prints the first surface of print media and second.Controller also comprises the second Data Generator 411, and wherein, the second Data Generator 411, for generating the second print data, is namely printed on the print data of second of print media, as advertising message etc.The second print data that second Data Generator 411 generates is raster data.When the first print data is printer language data, controller 41 is also converted to raster data the first print data from printer language data.RAM memory 42, for preserving the data 36 received from main frame and the second print data generated by the second Data Generator 411.Database is for preserving the image or word that preset, when database is image library 43, image library 43 is for preserving the multiple video data blocks preset, and each video data block generates an advertising message, and each video data block is preserved with the data of raster format.Combination image table 44, for preserving the corresponding relation between the combination (abbreviation combination image) of each video data block in image library 43 and its print length, wherein, when the print length of combination image refers to and prints combination image use the length of medium, both can represent in units of centimetre, millimeter, as 10cm, also can represent with number of rows of picture elements, as 1020 row etc., image library 43 and combination image table 44 are generally held in the nonvolatile storage (not shown) of printer, as FLASH memory.Duplex printing portion 45, for being printed on the first print data of raster format and the second print data respectively the first surface of medium and second.Preferably, duplex printing portion comprises the first printhead and the second printhead that are oppositely arranged, and wherein, the first printhead is used for printing the first print data at the first surface of print media, and the second printhead is used for second printing the second print data at print media.Preferably, duplex printing portion only comprises the first printhead, controller 41 controls the first printhead and first prints the first print data at the first surface of print media, then, after controller 41 controls the first printhead rotation or print media reversion, then control second printing second print data of the first printhead at print media.
Fig. 2 is the inside composition schematic diagram of the print system that second embodiment of the invention provides.As shown in Figure 2, print system 20 comprises main frame 30, printer 40.Wherein, main frame 30 comprises controller 31, first Data Generator 32, the 3rd Data Generator 33, image library 34 and combination image table 35, wherein, controller 31 controls each module execution work in printer, such as, the communication interface (not shown) of controller 31 main control system sends data 36, first Data Generator 32 for generating the first print data to printer, and the 3rd Data Generator 33 is for generating the second print data.When the first print data is printer language data, controller 31 is also for being converted to raster data the first print data from printer language data.Image library 34 is for preserving the multiple video data blocks preset, combination image table 35 is for preserving the corresponding relation between each combination image and its print length, image library 34 and combination image table 35 are generally held in the local hard drive (not shown) of main frame, can also be kept in other mediums such as network hard disc.Main frame 30 sends data 36 ' by communication interface (not shown) to printer 40, and these data 36 ' comprise the first print data and the second print data; Printer 40 comprises controller 41, RAM memory 42 and duplex printing portion 45, wherein, controller 41 controls each module execution work, such as, the communication interface (not shown) that controller 41 controls printer receives the data 36 ' sent from main frame 30, and the data 36 ' received are temporarily stored in RAM memory 42, control duplex printing portion 45 and print the first surface of print media and second.RAM memory 42, for preserving the data 36 ' received from main frame; Duplex printing portion 45, for being printed on the first print data of raster data format and the second print data respectively the first surface of medium and second.
Fig. 3 is the flow chart of the duplex printing control method of print system according to a first embodiment of the present invention, and as shown in Figure 3, the method comprises the following steps:
Step S11, generates the first print data, and wherein, the first print data is for being printed on the first surface of print media.
Step S12, generates the second print data matched with the print length of the first print data, and wherein, the second print data is for being printed on second of print media.
In this step, when generating the second print data matched with the print length of the first print data, search the second print data in the memory pre-set or database, wherein, database is for preserving the image or word that preset, preferably, generate the second print data matched with the print length of the first print data to comprise: search the data matched with the print length of the first print data in a database, as the second print data.By adopting the method for searching, the quick generation of the second print data can be realized.
Further preferably, search the data matched with the print length of the first print data in a database, comprise as the second print data: in combination image table, search the combination image matched with the print length of the first print data; From image library, the video data block of composition combination image is transferred according to the combination image found; And generate the second print data according to video data block, wherein, image library is for preserving the multiple video data blocks preset, and combination image table is for preserving the combination of each video data block and the corresponding relation of its print length in image library.
Search the data matched with the print length of the first print data in a database, can also comprise as the second print data: search the print length that is less than the first print data in a database and differ minimum data with the print length of the first print data, as the second print data.
Search in a database and can comprise with the data that the print length of the first print data matches: judge that whether the print length unit of data in the print length unit of the first print data and database is consistent; When the print length unit of the print length unit with data in database that determine the first print data is consistent, directly search the data matched with the print length of the first print data in a database; And when in the print length unit determining the first print data and database, the print length unit of data is inconsistent, first be consistent by the print length unit of the first print data with the print length unit conversion of data in database, then search the data matched with the print length of the first print data in a database.
Step S13, prints the first print data and the second print data respectively the first surface of print media and second.
Above-mentioned duplex printing control method may be used for controlling double-side printer system, wherein, double-side printer system comprises main frame and printer, generate the first print data to comprise: utilize main frame to generate the first print data, generate the second print data matched with the print length of the first print data and comprise: main frame generates the second print data matched with the print length of the first print data; And the second print data is sent to printer by main frame, or, generate the first print data and comprise: utilize main frame to generate the first print data; And the first print data is sent to printer by main frame, generates the second print data matched with the print length of the first print data and comprise: printer generates the second print data matched with the print length of the first print data.
Fig. 4 is the flow chart of the duplex printing control method of print system according to a second embodiment of the present invention, and concrete processing procedure is as follows:
Step S21, generates the first print data
Generate the first print data by the first Data Generator of main frame, the first print data is generally real-time transaction details, and the first print data can be printer language data, also can be raster data etc.
Step S22, searches the combination image of coupling to generate the second print data according to the print length of the first print data in combination image table
When the print length of the first print data refers to printing the first print data use the length of print media, can represent in units of centimetre, millimeter, as 10.2cm, also can represent in units of number of rows of picture elements, as 1000 row.The print length of the first print data is consistent with the unit of the print length of combination image in combination image table.Print length according to the first print data searches the combination image mated with this length in combination image table, wherein, coupling refers to that combination image can have the print media of this length by complete print, and after combination image prints, the remaining white space of print media is minimum.
Table 1 is the image table be kept in image library according to the embodiment of the present invention, and this table illustrates in image library the situation of the video data block preserving four width images.
Table 1
As shown in table 1, the print length of image A is 2cm, the image file of its correspondence is imageA, the print length of image B is 3cm, the image file of its correspondence is imageB, and the print length of image C is 5cm, and the image file of its correspondence is imageC, the print length of image D is 8cm, and the image file of its correspondence is imageD.
Table 2 is according to combination image table of the present invention, and this table is the combination image table corresponding with the image data base shown in table 1.
Table 2
As shown in table 2, have recorded the composition of combination image and the corresponding relation of each combination image and its print length in this form.Therefore, according to the print length of the first print data, search the combination image mated with the print length of the first print data in combination image table, the print length of this combination image and the print length of the first print data match.From image data base, transfer each video data block of composition combination image according to checking result, generate the second print data of raster format.
Second print data both can be generated by main frame, also can be generated by printer, when generating the second print data by main frame, then in main frame, preserved image library and combination image table; When generating the second print data by printer, then in printer, preserve image library and combination image table.
Step S23, prints the first print data at the first surface of print media, and second at print media prints the second print data.
First print data is printed on the first surface of medium by the duplex printing portion of printer, the second print data is printed on second of medium.When the first print data is printer language data, the controller of printer also needs the first print data to print after printer language data are converted to raster data again.When duplex printing portion comprises the first printhead and the second printhead, then print the first print data, by second printing second print data of the second printhead at medium by the first printhead at the first surface of medium; When duplex printing portion only comprises the first printhead, controller controls the first printhead and first prints the first print data at the first surface of print media, then, after controller controls the first printhead rotation or print media reversion, then control second printing second print data of the first printhead at print media.
The combination image searching coupling according to the print length of the first print data in combination image table generates the second print data, more how different images (i.e. advertising message) can be printed second of print media, the white space making print media second remaining is minimum, and the information that improve second, medium prints utilization rate.
Fig. 5 is the duplex printing control method flow chart of the print system provided according to a third embodiment of the present invention, and concrete processing procedure is as follows:
Step S31, the first Data Generator generates the first print data
Generate the first print data by the first Data Generator 32 of main frame, the first print data is generally real-time transaction details, and the first print data can be printer language data, also can be raster data etc.
Step S32, the first print data is sent to printer by main frame.
First print data is sent to printer by communication interface by main frame.
Step S33, printer receives the first print data
Printer Receiving Host send the first print data, and by receive to the first print data be kept in RAM memory.
Step S34, printer searches the combination image of coupling to generate the second print data in combination image table according to the print length of the first print data.
Printer is analyzed the first print data be kept in RAM memory, if the data represented with printer language, then also needs controller 41 to carry out instruction process to the first print data, generates raster data; If the first print data is raster data, then do not need to carry out instruction process.Controller 41 calculates the print length of the first print data according to the data volume of the first print data.Circular is, if the data volume of the first print data be S byte, the data volume of a pixel rows is Si byte, the print length of the first print data is L, then L=S/Si (OK); If the print length of every pixel rows is Li (cm), then L=(S/Si) * Li (cm).Preferably, the print length of the first print data is consistent with the print length unit of combination image in combination image table.Controller, according to the print length of the first print data, searches the combination image mated with its print length in combination image table.If the print length unit of combination image is inconsistent in the print length of the first print data and combination image table, then, before tabling look-up, controller 41 is also by consistent for the Conversion of measurement unit of the two.Second Data Generator 411 transfers each video data block of this combination image of composition according to the combination image found from image library 43, and each video data block is generated the second print data, and the second print data of generation is raster data.
Illustrate below in conjunction with table 1 and table 2 and in combination image table, search the combination image of coupling to generate the concrete steps of the second print data according to the print length of the first print data.When the print length of the first print data is 10.2cm, the print length row of inquiry combination image table are known, print length and the print length of the 7th row in combination image table of the first print data are that the combination image (A+D) of 10cm and combination image (A+B+C) mate, wherein, controller can from combination image (A+D) and combination image (A+B+C) Stochastic choice one as generating the combination image of the second print data.Each video data block of composition combination image transferred by controller from image data base, generates the second print data of raster format.When controller selects combination image (A+D), then the second print data is (ImgA+Img D).When using combination image (A+B+C), its printing effect as illustrated in fig. 9, the length La=2 of image A, the length Lb=3 of image B, the length Lc=5 of image C, print media 54 exists the white space of 0.2cm (i.e. L-La-Lb-Lc); When use combination image (A+D) time, its printing effect as shown in figure 9b, the length La=2 of image A, the length Ld=8 of image D; Print media 54 exists the white space of 0.2cm (i.e. L-La-Ld).
Step S35, printer prints the first print data at the first surface of print media, and second at print media prints the second print data.
First print data is printed on the first surface of print media by the duplex printing portion of printer, the second print data is printed on second of print media.
Fig. 6 is the duplex printing control method flow chart of the print system provided according to a fourth embodiment of the present invention, and concrete processing procedure is as follows:
Step S41, the first Data Generator generates the first print data
Generate the first print data by the first Data Generator 32 of main frame, the first print data is generally real-time transaction details, and the first print data can be printer language data, also can be raster data etc.
Step S42, main frame searches the combination image of coupling to generate the second print data in combination image table according to the print length of the first print data.
Controller 31 is analyzed the first print data, if the data represented with printer language, then also needs to carry out instruction process to the first print data, to generate raster data.Controller 31 calculates the print length of the first print data according to the data volume of the first print data of raster format, after finding the combination image of coupling according to the print length of the first print data in combination image table 35,3rd maker 33 utilizes the composition diagram picture in the video data block alternative combinations image in image library 34, generates the second print data of raster format.
Step S43, main frame is sent to printer the first print data and the second print data.
The first print data that main frame is generated the first maker by communication interface and the second print data that the 3rd maker generates are sent to printer.When transmitting the first print data and the second print data by same data channel (as same serial ports or same parallel port or same network interface) between main frame and printer, main frame is by arranging flag to distinguish the first print data and the second print data in the data, if flag is that 1B represents that the data of transmission are the first print data, flag is that 1C represents that the data of transmission are the second print data.Time between main frame from printer by different data channel transmission data, main frame distinguishes the first print data and the second print data by data channel.
Step S44, printer receives the first print data and the second print data, and the first print data and the second print data are printed on the first surface of medium and second respectively.
The first print data that printer is sent by communication interface Receiving Host and the second print data, and by the data temporary storage that receives in RAM memory.When transmitting the first print data and the second print data by same data channel between main frame and printer, printer is by identifying Data Identification digit separator first print data and the second print data that receive.Time between main frame from printer by different data channel transmission data, printer distinguishes the first print data and the second print data by the data channel received, and the first print data and the second print data is stored into respectively in the different storage area of RAM memory.The duplex printing portion of printer prints the first print data of raster format and the second print data, and wherein, the first print data is printed on the first surface of medium, and the second print data is printed on second of medium.
Table 3 is to various intermediate combination image table when being kept at that in image library, image combines according to of the present invention.
Illustrate the generative process of combination image table below in conjunction with table 3, wherein, n represents the total number of images in image library, and i represents the number of composition diagram picture in combination image, and span is (1≤i≤n).
Table 3
First, from n image, choose i image combine, generate combination , for four shown in table 1 image A, B, C, D to combination be described, wherein, n=4, i from 1 to 4, then combine comprise combination for the purpose of simplifying the description, in the print length of image, long measure is eliminated.From four images during an optional image, generate combination as shown in secondary series in table 3, comprising four combinations, is A, B, C, D respectively; During two image optional from four images, generate combination as shown in the 3rd row in table 3, comprising six combinations, is combination (A+B), (A+C), (A+D), (B+C), (B+D), (C+D) respectively; During three image optional from four images, generate combination as shown in the 4th row in table 3, comprising four combinations, is (A+B+C), (A+B+D), (A+C+D), (B+C+D) respectively; When selecting four images from four images, generate combination as shown in the 5th row in table 3, only comprise a combination, namely combine (A+B+C+D).
Then, according to print length pair in all combinations add up, generate the combination image of each print length corresponding, wherein, combination image quantity is (2 n-1) individual, as shown in table 3, first row comprises 11 print lengths, corresponding 15 (namely 2 4-1) individual combination image.
Finally, according to order from small to large, print length is sorted, generate combination image table, combine for four in table 1 image A, B, C, a D, the combination image table of generation is as shown in table 2, wherein, first row comprises 11 print lengths, and secondary series comprises 15 combination images.
The embodiment of the present invention additionally provides a kind of duplex printing control device.It should be noted that, the duplex printing control device that the embodiment of the present invention provides may be used for arbitrary duplex printing control method that execution the invention described above embodiment provides.
Fig. 7 is the schematic diagram of the duplex printing control device of print system according to a first embodiment of the present invention, and as shown in Figure 7, this duplex printing control device comprises:
First generation module 81, for generating the first print data, wherein, the first print data is for being printed on the first surface of print media;
Second generation module 82, for generating the second print data matched with the print length of the first print data, wherein, the second print data is for being printed on second of print media; And
Print module 83, for printing the first print data and the second print data respectively the first surface of print media and second.
Fig. 8 is the schematic diagram of the duplex printing control device of print system according to a second embodiment of the present invention, in this embodiment, second generation module is also for searching the data matched with the print length of the first print data in a database, as the second print data, as shown in Figure 8, the second generation module 82 comprises:
Search submodule 821, for searching the combination image matched with the print length of the first print data in combination image table;
Transfer submodule 822, for transferring the video data block of composition combination image from image library according to the combination image found; And
Generate submodule 823, for generating the second print data according to video data block.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The present invention according to the combination image of the print length of the first print data match query in the combination image table generated in advance to generate the second print data, thus the print length of the second print data is changed along with the print length change of the first print data, second of print media can be maximally utilised, print more image (i.e. advertising message), the white space making print media second remaining is minimum, improves the utilization rate of second of print media.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. a duplex printing control method, is characterized in that, comprising:
Generate the first print data, wherein, described first print data is for being printed on the first surface of print media;
Generate the second print data matched with the print length of described first print data, wherein, described second print data is for being printed on second of print media; And
Described first print data and described second print data is printed respectively the first surface of print media and second,
Wherein, generate the second print data matched with the print length of described first print data and comprise: search the data matched with the print length of described first print data in a database, as described second print data,
Wherein, search the data matched with the print length of described first print data in a database, comprise as described second print data: in combination image table, search the combination image matched with the print length of described first print data; From image library, the video data block forming described combination image is transferred according to the combination image found; Described second print data is generated according to described video data block, wherein, described database comprises described image library, described image library is for preserving the multiple video data blocks preset, and described combination image table is for preserving the combination of each video data block and the corresponding relation of its print length in described image library.
2. duplex printing control method according to claim 1, is characterized in that, searches the data matched with the print length of described first print data in a database, comprises as described second print data:
Search the print length that is less than described first print data in the database and differ minimum data with the print length of described first print data, as described second print data.
3. duplex printing control method according to claim 1, is characterized in that, searches the data matched with the print length of described first print data in a database and comprises:
Judge that whether the print length unit of described first print data is consistent with the print length unit of data in described database;
Determining that the print length unit of described first print data is with when the print length unit of data is consistent in described database, directly searches the data matched with the print length of described first print data in the database; And
When in the print length unit determining described first print data and described database, the print length unit of data is inconsistent, first be consistent by the print length unit of described first print data with the print length unit conversion of data in described database, then search the data matched with the print length of described first print data in the database.
4. duplex printing control method according to claim 1, for controlling double-side printer system, wherein,
Described double-side printer system comprises main frame and printer, it is characterized in that,
Generate the first print data to comprise:
Main frame is utilized to generate described first print data,
Generate the second print data matched with the print length of described first print data to comprise:
Described main frame generates the second print data matched with the print length of described first print data;
And
Described second print data is sent to described printer by described main frame,
Or,
Generate the first print data to comprise:
Main frame is utilized to generate described first print data; And
Described first print data is sent to described printer by described main frame,
Generate the second print data matched with the print length of described first print data to comprise:
Described printer generates the second print data matched with the print length of described first print data.
5. a duplex printing control device, is characterized in that comprising:
First generation module, for generating the first print data, wherein, described first print data is for being printed on the first surface of print media;
Second generation module, for generating the second print data matched with the print length of described first print data, wherein, described second print data is for being printed on second of print media; And
Print module, for printing described first print data and described second print data respectively the first surface of print media and second,
Wherein, described second generation module is used for searching the data matched with the print length of described first print data in a database, as described second print data, comprise: search submodule, for searching the combination image matched with the print length of described first print data in combination image table; Transfer submodule, for transferring according to the combination image found the video data block forming described combination image from image library; Generate submodule, for generating described second print data according to described video data block.
6. a double-side printer system, is characterized in that comprising:
First Data Generator, for generating the first print data, wherein, described first print data is for being printed on the first surface of print media;
Second Data Generator, for generating the second print data matched with the print length of described first print data, wherein, described second print data is for being printed on second of print media; And
Duplex printing portion, for printing described first print data and described second print data respectively the first surface of print media and second;
Memory, for stored data base, wherein, described second Data Generator is used for searching the data matched with the print length of described first print data in a database, as described second print data,
Wherein, described memory is for storing image library and combination image table, wherein, described database comprises described image library, described image library is for preserving the multiple video data blocks preset, described combination image table is for preserving the combination of each video data block and the corresponding relation of its print length in described image library
Wherein, described second Data Generator is used for generating described second print data in the following manner: in combination image table, search the combination image matched with the print length of described first print data; From image library, the video data block forming described combination image is transferred according to the combination image found; Described second print data is generated according to described video data block.
7. double-side printer system according to claim 6, comprises main frame and printer, it is characterized in that,
Described first Data Generator and described second Data Generator are positioned at described main frame, and described duplex printing portion is positioned at described printer; Or,
Described first Data Generator is positioned at described main frame, and described duplex printing portion and described second Data Generator are positioned at described printer.
CN201110162946.4A 2011-06-16 2011-06-16 Duplex printing control method and device and duplex printing system Active CN102825925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110162946.4A CN102825925B (en) 2011-06-16 2011-06-16 Duplex printing control method and device and duplex printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110162946.4A CN102825925B (en) 2011-06-16 2011-06-16 Duplex printing control method and device and duplex printing system

Publications (2)

Publication Number Publication Date
CN102825925A CN102825925A (en) 2012-12-19
CN102825925B true CN102825925B (en) 2015-03-11

Family

ID=47329324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110162946.4A Active CN102825925B (en) 2011-06-16 2011-06-16 Duplex printing control method and device and duplex printing system

Country Status (1)

Country Link
CN (1) CN102825925B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015074208A (en) * 2013-10-11 2015-04-20 キヤノン株式会社 Image forming apparatus, control method for image forming apparatus, and program
CN105082785A (en) * 2015-08-11 2015-11-25 安徽远鸿机械自动化有限公司 Double-sided printing method of packing machine
CN107481456A (en) 2017-07-28 2017-12-15 广州市中崎商业机器股份有限公司 Smart ads system and method based on duplex printer
CN115320265A (en) * 2022-07-18 2022-11-11 北京博源恒芯科技股份有限公司 Double-sided asynchronous printing control method and device and printer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979409A (en) * 2005-12-07 2007-06-13 三星电子株式会社 Image forming method and image processing apparatus
CN101042774A (en) * 2007-01-12 2007-09-26 林辅添 Method for making electronic card for new year
CN101522423A (en) * 2005-12-07 2009-09-02 凯特琳娜销售公司 Combination printer and its paper
CN101578180A (en) * 2006-12-28 2009-11-11 爱克发印艺公司 Real-time synchronisation of front and back side printing in double-sided web printing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000029655A (en) * 1998-07-13 2000-01-28 Fujitsu Ltd Printer and recording medium
JP2006129342A (en) * 2004-11-01 2006-05-18 Murata Mach Ltd Print data generating device, printer, and printing system
JP2008188874A (en) * 2007-02-05 2008-08-21 Seiko Instruments Inc Method and printer for making double-sided printed matter
JP5012459B2 (en) * 2007-11-30 2012-08-29 セイコーエプソン株式会社 Printing apparatus and printing apparatus control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979409A (en) * 2005-12-07 2007-06-13 三星电子株式会社 Image forming method and image processing apparatus
CN101522423A (en) * 2005-12-07 2009-09-02 凯特琳娜销售公司 Combination printer and its paper
CN101578180A (en) * 2006-12-28 2009-11-11 爱克发印艺公司 Real-time synchronisation of front and back side printing in double-sided web printing
CN101042774A (en) * 2007-01-12 2007-09-26 林辅添 Method for making electronic card for new year

Also Published As

Publication number Publication date
CN102825925A (en) 2012-12-19

Similar Documents

Publication Publication Date Title
CN102825925B (en) Duplex printing control method and device and duplex printing system
CN103034927B (en) Bill image management system and bill image management method
CN102263816B (en) Communications apparatus and control method thereof
CN109003081B (en) Transaction method, system and storage medium based on block chain
CN1833406B (en) Information processing apparatus and connection control method
KR101799389B1 (en) Method for identifying and authenticating an rfid tag by a reader
CN104067647B (en) The method and apparatus found for equipment
CN1770816B (en) Method and apparatus for efficient processing of color conversion
CN110278202B (en) File uploading system
EP1404112A3 (en) Image forming apparatus, a print process method, a computer program and a computer readable storage medium
CN105321272A (en) Method and device of printing dynamic two-dimensional codes according to cashier's machine transaction data
CN103067335A (en) Method for realizing information interaction as non-contact mode, correlation equipment and system
CN104517086B (en) ID card information read method
CN106780782B (en) Method, system and equipment based on the ticket checking scheme progress ticket checking that server is recommended
CN105472023A (en) Method and device for remote direct memory access
CN104834491A (en) Wireless interactive communication and self-service type printing method based on wireless local area network intelligent terminal equipment and local server
US20160364588A1 (en) System and method for tracking and utilizing data tag carriers
CN107220014A (en) Method of printing, user terminal and print system
CN104813610A (en) Providing multiple content items for display on multiple devices
CN110750206B (en) Data processing method, device and system
CN107241523A (en) Combined image input and output equipment
CN106845922A (en) A kind of vehicle is insured method, apparatus and system
TW201349005A (en) Security information interactive system, security information interactive device and security information interactive method based on spreading parameter set
CN101976328B (en) System and method for collecting exhibition data as well as mobile terminal and data server thereof
CN107465585A (en) Method for information display and device

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