Image processing device, printing device, and image processing method
09672456 ยท 2017-06-06
Assignee
Inventors
Cpc classification
G06F3/1205
PHYSICS
H04N1/32149
ELECTRICITY
G06F3/1257
PHYSICS
G06F3/00
PHYSICS
B41J3/01
PERFORMING OPERATIONS; TRANSPORTING
G06F3/125
PHYSICS
G06F3/1206
PHYSICS
B42D15/0053
PERFORMING OPERATIONS; TRANSPORTING
B41J3/4075
PERFORMING OPERATIONS; TRANSPORTING
International classification
B41J3/01
PERFORMING OPERATIONS; TRANSPORTING
B41J3/407
PERFORMING OPERATIONS; TRANSPORTING
B42D15/00
PERFORMING OPERATIONS; TRANSPORTING
H04N1/32
ELECTRICITY
G06F3/00
PHYSICS
Abstract
An image processing device that changes the output format of the generated printout can dynamically change the output format of the printout using print data from an existing system. An image processing device that executes a process to change the output format of a printout has an output format selector that selects a template determining the format of the printout based on information contained in the print data for the printout, and a print data generator that changes the print data according to the selected template.
Claims
1. A label printer that changes an output format of a generated printout based on received print data, the label printer comprising: a controller configured to interpret information indicating an object in the printout, contained in the received print data, select a template based on the interpreted information, and change the received print data according to the selected template as the output format of the printout changes; and a print mechanism comprising a printhead and a conveyance unit, configured to print according to the print data changed by the controller.
2. The label printer described in claim 1, wherein: the received print data is written in a page description language, and the controller interprets the information in the page description language.
3. The label printer described in claim 1, wherein: the selected template specifies a color in the printout.
4. The label printer described in claim 1, wherein: the received print data is data for monochrome printing.
5. A control method of a label printer that changes output format of a generated printout based on received print data, the control method comprising: interpreting information indicating an object in the printout, contained in the received print data for the generated printout; selecting a template for generating the generated printout based on the interpreted information; changing the print data according to the selected template, as the output format of the generated printout changes; and printing according to the print data changed.
6. A method of changing an output format of a generated printout based on received print data comprising: interpreting information indicating an object in the printout, contained in the received print data; selecting a template based on the interpreted information; changing the received print data according to the selected template; and printing according to the print data changed by the controller.
7. The method described in claim 6, wherein: the received print data is written in a page description language, and the information is interpreted in the page description language.
8. The method described in claim 6, wherein: the selected template specifies a color in the printout.
9. The method described in claim 6, wherein: the received print data is data for monochrome printing.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
DESCRIPTION OF EMBODIMENTS
(6) A preferred embodiment of the present invention is described below with reference to the accompanying figures. The technical scope of the invention is not limited to the following embodiment. Identical or similar parts are also identified by the same reference numerals in the accompanying figures.
(7)
(8)
(9) The label terminal 1 is a device used in the old system, and is the host device that sends print requests to the printer 2. The label terminal 1 may be a personal computer to which an application for generating labels (an application program) and a driver for the monochrome printer installed in the old system (printer driver) have been installed. When printing is requested, the label terminal 1 sends the monochrome print data generated by the driver over the network 4 to the printer 2. The label terminal 1 and printer 2 could be connected directly through a standard USB or RS-232 cable instead of over the network 4.
(10) The network 4 is a LAN (local area network) connecting devices including the label terminal 1, printer 2, and template terminal 3. The network 4 may also be part of the old system.
(11) As described above, the printer 2 changes the output format of the received print data and outputs a printout, and in this embodiment is an inkjet line printer. In this embodiment, the printer 2 is a new printer that is installed when upgrading the system, and prints labels based on print requests (print data) received from the label terminal 1.
(12) As shown in
(13) Although not shown in the figure, the control unit 21 typically includes a CPU, RAM, ROM, hard disk drive, NVRAM, and ASIC, and processes run by the control unit 21 are executed by the CPU or ASIC operating according to a program stored in ROM.
(14) The print mechanism 22 is the part that prints the printout (labels) on the print medium (such as paper) according to commands from the control unit 21. The print mechanism 22 can include a printhead with plural nozzles that eject ink, and a conveyance unit that conveys the print medium.
(15) The template terminal 3 is a terminal device for creating and editing the templates used by the printer 2, and the user accesses the printer 2 from the template terminal 3 over the network 4 to read and register (save) template data. The template terminal 3 can be configured using a personal computer, for example, and has software for producing and editing templates. The template terminal 3 is also newly installed as part of the system upgrade. The parts enclosed in the dotted line in
(16)
(17) The output format selector 23 is the part that interprets the print data sent from the label terminal 1, and determines the template to use with the print data. The print data generator 24 is the part that generates data telling the print unit 25 to print using the print data and the selected template. The print unit 25 is the part that applies the printing process to the print medium according to the data sent from the print data generator 24. Note that the output format selector 23, print data generator 24, and template database 26 are disposed in the control unit 21, and the print unit 25 is disposed to the print mechanism 22.
(18) Plural templates 27 are stored in the template database 26. Each template 27 (data) includes formatting information for the entire printout, including at least foreground color, background color, and background image information.
(19) Each template 27 is prepared according to the type of label, which is the printout in this embodiment, and plural templates 27 that are used based on specific conditions are prepared for labels of the same type. In the example shown in
(20) By using these templates to print, the foreground color, background color, and background image are printed using the respectively specified colors and images as shown in
(21) As described above, the user creates new templates or edits existing templates in advance using the template terminal 3, and saves the templates 27 in the template database 26.
(22) The label printing system configured as described above according to this embodiment of the invention is distinguished by the process that is run by the printer 2 to change the output format, and specific steps in this process are described below.
(23) The received print data is interpreted by the output format selector 23, and the output format selector 23 extracts the barcode information contained in the data based on the result of this interpretation (step S2). This barcode information typically includes such information as a product code identifying the type of product to which the label is applied, the date of manufacture, and an expiration date.
(24) The output format selector 23 then determines which template 27 to use in the current print job based on the acquired information (step S3). More specifically, the output format selector 23 determines the type of label (label type) from the product code information acquired as described above. Based on the template 27 selection information that is defined for the identified label type, such as the date of manufacture information, the output format selector 23 then selects one of the templates 27 prepared for that label type, and determines the template 27 to be used.
(25) In the example shown in
(26) The correlation between product code and label type, the correlation between the label type and information for selecting the appropriate template 27, and the correlation between this selection information and the template 27 to be used, can be stored in a lookup table for quick reference.
(27) Identification information for the selected template 27 is then passed from the output format selector 23 to the print data generator 24, and the print data generator 24 runs the print data generating process using the selected template 27 (step S4).
(28) More specifically, the print data generator 24 rasterizes (converts) the image data contained in the received print data to bitmap data, then accesses the template database 26, selects the selected template 27 from the above identification information, and acquires the formatting information. The print data generator 24 then changes the color of the image data and adds the background image according to the formatting information, and generates a bitmap of the final image to be printed on the printout.
(29) For example, if the template 27 for Monday is used for label (1) in
(30) The template 27 could also specify the foreground color for individual objects in the image. When this type of template 27 is used, the color of each object in the image is determined based on the specified foreground color before the original image data is converted to bitmap data, and the print data is then rasterized.
(31) The print data generator 24 then applies a screen process to the resulting color bitmap data and converts the bitmap data to data representing whether a dot is formed for each color of ink, sends the resulting print data to the print unit 25, and tells the print unit 25 to print.
(32) The print unit 25 then applies the printing process to the print medium according to the received print data, and a color printout (label) is output from the printer 2.
(33)
(34) The label in
(35) A label output process that changes the output format in the printer 2 is thus executed.
(36) The image produced from the print data received by the printer 2 in the above example assumes that the data is expressed in object units, but the image could be described by bitmap data. In this case, the output format selector 23 interprets the bitmap data using an image recognition process to acquire the barcode information and recognize the required objects.
(37) While the image layout of the templates 27 is not described above, the template 27 could also contain formatting information describing the layout. In this implementation, the template 27 contains positioning information for each image object. In addition, the print data generator 24 determines the images to be used for the original image data by object unit, and processes each object according to the template 27. This enables also changing the layout of the printout.
(38) Food labels are used for example in
(39) The printer 2 according to this embodiment of the invention can colorize and dynamically change the output format of originally monochrome printout based on time-related information, for example, and thereby improve the appearance of the printed output. As a result, the printer 2 can help prevent mistakes, improve job efficiency, and improve the customer's desire to buy particular goods.
(40) Existing systems can also be upgraded relatively easily using the printer 2 according to the invention because the label terminal 1 and other parts of the existing system can continue to be used as shown in
(41) Acquiring the necessary information is also simple, and the information can be reliably acquired, because barcode information can be used to select which template 27 to use.
(42) A system that is particularly user friendly can also be provided because the user can use the template terminal 3 to edit the templates 27 that are used.
(43) The invention being thus described, it will be apparent that it may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be apparent to one skilled in the art are intended to be included within the scope of the following claims.