CN103049227B - Image scaling print control program and device and print system - Google Patents
Image scaling print control program and device and print system Download PDFInfo
- Publication number
- CN103049227B CN103049227B CN201110315220.XA CN201110315220A CN103049227B CN 103049227 B CN103049227 B CN 103049227B CN 201110315220 A CN201110315220 A CN 201110315220A CN 103049227 B CN103049227 B CN 103049227B
- Authority
- CN
- China
- Prior art keywords
- data
- resolution
- data processing
- zoom ratio
- 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
Links
- 238000007639 printing Methods 0.000 claims abstract description 22
- 238000000034 method Methods 0.000 claims description 19
- 238000006243 chemical reaction Methods 0.000 claims description 12
- 238000003384 imaging method Methods 0.000 claims description 12
- 230000003321 amplification Effects 0.000 claims description 2
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 15
- 238000004891 communication Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 13
- 230000003993 interaction Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003706 image smoothing Methods 0.000 description 1
- 230000001771 impaired effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1202—Dedicated interfaces to print systems specifically adapted to achieve a particular effect
- G06F3/1211—Improving printing performance
- G06F3/1215—Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1244—Job translation or job parsing, e.g. page banding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Editing Of Facsimile Originals (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of image scaling print control program and device and print system.This image scaling print control program comprises: obtain print out task; Zoom ratio is obtained according to print out task; Data processing resolution is generated according to device resolution and zoom ratio; The source data in print out task is converted to data bitmap according to data processing resolution; And device resolution prints data bitmap.By the present invention, can make, when convergent-divergent prints and be higher to image printing quality requirements, to improve print speed.
Description
Technical field
The present invention relates to printing field, in particular to a kind of image scaling print control program and device and print system.
Background technology
Traditional image scaling print control program is according to scaling, utilizes the view data of interpolation algorithm to source figure to process rear printout.Such as, conventional image scaling interpolation algorithm comprises most neighbor interpolation algorithm, bilinear interpolation value-based algorithm and cubic convolution algorithm etc.Wherein, most neighbor interpolation calculates ratio juris, the floating-point coordinate obtained by reciprocal transformation, simply round it, obtain an integer type coordinate, the pixel value that this integer type coordinate is corresponding is exactly the pixel value of object pixel, namely give object pixel value by source images from the pixel value that this floating-point coordinate is nearest, the feature of this algorithm is that data processing speed is fast, but the image after amplifying has very serious mosaic, and the image after reducing has very serious distortion.
Bilinear interpolation value-based algorithm obtains floating-point coordinate pixel value by reciprocal transformation is determined jointly by the pixel value of four necessary beings of floating-point surrounding in the figure of source, the feature of this algorithm is that data processing speed is slow, image smoothing, but bilinear interpolation has the character of low-pass filter, image outline make high fdrequency component impaired, so can be made to thicken.Cubic convolution algorithm obtains floating-point coordinate pixel value by reciprocal transformation is determined by the pixel value of the adjoint point of 16 around floating-point coordinate, this algorithm due to computational accuracy high, therefore, it is possible to overcome the deficiency of above two kinds of algorithms, but calculated amount is large, and data processing speed is slower.
Therefore, inventor finds, carries out convergent-divergent printing by interpolation algorithm, higher to image printing quality requirements, then require higher to the computational accuracy of interpolation algorithm.But the computational accuracy of interpolation algorithm is higher, data processing calculated amount is larger, causes data processing speed slow, thus affects print speed.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of image scaling print control program and device and print system, to solve the problem that print speed is slow when convergent-divergent prints and be higher to image printing quality requirements.
To achieve these goals, according to an aspect of the present invention, a kind of image scaling print control program is provided.This image scaling print control program comprises: obtain print out task; Zoom ratio is obtained according to print out task; Data processing resolution is generated according to device resolution and zoom ratio; The source data in print out task is converted to data bitmap according to data processing resolution; And data bitmap is sent to printer.By this image scaling print control program, the object of data processing speed can be improved while ensureing to provide the print data of high print quality.
Further, according to print out task obtain zoom ratio comprise: if operator input zooming parameter be percentages, then using percentages as zoom ratio; And if operator input zooming parameter for the purpose of page size, then calculate zoom ratio according to parent page size and object page size.
Further, generate data processing resolution according to device resolution and zoom ratio to comprise: zoom ratio is multiplied by device resolution, obtains data processing resolution.
Further, convert the source data in print out task to data bitmap according to data processing resolution to comprise: by data bitmap identical with data processing resolution for source data conversion imaging prime number.
Further, after data bitmap is sent to printer, said method also comprises: printer prints data bitmap according to device resolution.
To achieve these goals, according to a further aspect in the invention, a kind of image scaling print control unit is provided.This image scaling print control unit comprises: the first acquisition module, for obtaining print out task; Second acquisition module, for obtaining zoom ratio according to print out task; Generation module, for generating data processing resolution according to device resolution and zoom ratio; Modular converter, for converting the source data in print out task to data bitmap according to data processing resolution; And sending module, for data bitmap is sent to printer.
Further, if the zooming parameter of operator's input is percentages, the second acquisition module is used for percentages as zoom ratio; If page size for the purpose of the zooming parameter of operator's input, then calculate zoom ratio according to parent page size and object page size.
Further, generate data processing resolution according to device resolution and zoom ratio to comprise: zoom ratio is multiplied by device resolution, obtains data processing resolution.
Further, convert the source data in print out task to data bitmap according to data processing resolution to comprise: by data bitmap identical with data processing resolution for source data conversion imaging prime number.
Further, above-mentioned image scaling print control unit also comprises: print module, for printing data bitmap according to device resolution.
By the present invention, adopt and obtain print out task; Zoom ratio is obtained according to print out task; Data processing resolution is generated according to device resolution and zoom ratio; The source data in print out task is converted to data bitmap according to data processing resolution; And the method for data bitmap is printed according to device resolution, owing to only needing the quantity according to the pixel in scaling determination data bitmap, do not need to calculate pixel value according to interpolation algorithm, thus solve the problem that print speed is slow when convergent-divergent prints and be higher to image printing quality requirements, and then reach the effect improving print speed.
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 schematic diagram of image scaling print control unit according to a first embodiment of the present invention;
Fig. 2 is the schematic diagram of image scaling print control unit according to a second embodiment of the present invention;
Fig. 3 is the schematic diagram of the print system according to the embodiment of the present invention;
Fig. 4 is the process flow diagram of image scaling print control program according to a first embodiment of the present invention;
Fig. 5 is the process flow diagram of image scaling print control program according to a second embodiment of the present invention;
Fig. 6 is the process flow diagram of image scaling print control program according to a third embodiment of the present invention; And
Fig. 7 is according to the reciprocal process schematic diagram between the GDI of the embodiment of the present invention and printed driver.
Embodiment
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 schematic diagram of image scaling print control unit according to a first embodiment of the present invention.
As shown in Figure 1, this image scaling Print Control control device comprises the first acquisition module 10, second acquisition module 20, generation module 30, modular converter 40 and sending module 50.
First acquisition module 10 is for obtaining print out task, this first acquisition module 10 can be the module receiving print out task in image scaling print control unit, also can be that image scaling print control unit generates the module creating print out task according to the input of user.
Second acquisition module 20 is for obtaining zoom ratio according to print out task, print out task comprises the print configuration parameter of print data and operator's input, if the zooming parameter of operator's input is percentages, then the second acquisition module 20 using percentages as zoom ratio, if page size for the purpose of the zooming parameter of operator's input, then the second acquisition module 20 calculates zoom ratio according to parent page size and object page size.
Generation module 30 is for generating data processing resolution according to device resolution and zoom ratio.
Modular converter 40 is for converting the source data in print out task to data bitmap according to data processing resolution.
Sending module 50 is for being sent to printer by the device resolution of generation and data bitmap.Printer just can according to device resolution to print data bitmap after receiving data bitmap, and device resolution refers to the physical resolution of printer.
Fig. 2 is the schematic diagram of image scaling print control unit according to a second embodiment of the present invention.
As shown in Figure 2, this embodiment, except comprising the various piece in the first embodiment, can also comprise print module 60.
Print module 60 is for printing data bitmap according to device resolution (i.e. the physical resolution of printer).
In above-mentioned image scaling print control unit, owing to only needing the quantity according to the pixel in scaling determination data bitmap, do not need to calculate pixel value according to interpolation algorithm, thus solve the problem that print speed is slow when convergent-divergent prints and be higher to image printing quality requirements, and then improve print speed.
For the image scaling print control unit of the first embodiment, print request device can be corresponded to, such as, realized by main frame, by this image scaling print control unit, namely the effect improving data processing speed while the print data that high print quality is provided can be ensured, further, combined by this image scaling print control unit and any printer and just can be implemented in the object ensureing to mention print speed while print quality, only need to be configured with the device resolution corresponding with this printer in image scaling print control unit.For the image printer of the second embodiment, can the print system be made up of print request device and printer be corresponded to, while inherently can be implemented in guarantee print quality by this print system, mention the object of print speed.
The image scaling print control unit of the embodiment of the present invention can be realized by following print system.
Fig. 3 is the schematic diagram of the print system according to the embodiment of the present invention.As shown in the figure, print system comprises main frame 1 and printer 2.Main frame 1, as print request device, corresponding to above-mentioned image scaling print control unit, can be computing machine or other opertaing devices, comprise control module 11, storage unit 12 and communication interface 13.Wherein, control module 11 operates based on the installation procedure in operating system and storage unit 12, thus performs various information processing operation.Storage unit 12 comprises ROM storer, RAM storer and hard disk drive.Storage unit 12 stores the program that will be performed by control module 11.This storage unit 12 is also for various types of data required during being stored in the processing procedure that performed by control module 11.
Installation procedure in storage unit 12 comprises application program 14, Graphics Device Interface (GraphicsDeviceInterface, hereinafter referred to as GDI) 15 and printed driver 16.Wherein, application program 14 comprises data generating unit 14a, function calling cell 14b and user interface 14c, and wherein, data generating unit 14a is for creating facility environment (DeviceContext, referred to as DC), and generate source data in facility environment; Function calling cell 14b, for calling the GDI function in GDI15, proposes images outputting request; User interface 14c is used for operator and application program 14 carries out data interaction, such as, arranges the format information of source data, print configuration parameter etc.GDI15 is used for the message exchange between application program 14 and printed driver 16, the images outputting request of process application program 14.The source data rasterisation that GDI15 is generated by its inner GDI function application programs 14 arranged, generates data bitmap.Printed driver 16 comprises universal printer and describes (abbreviation GPD, the i.e. abbreviation of GenericPrinterDescription) 16a and user interface be (hereinafter referred to as UI, the i.e. abbreviation of UserInterface) 16b, wherein, GPD16a comprises data structure sum functions, for the data of the function and ability that describe printer, such as device resolution, the paper size etc. that color capabilities and printer are supported, wherein device resolution refers to the output resolution ratio of printer, i.e. printer counting of can printing at most of per inch in horizontal and vertical both direction when printout, as 600 points/inch (i.e. 600DPI, wherein DPI is the abbreviation of dot/inch), these data are kept in data structure.User interface 16b comprises data structure sum functions, data interaction is carried out for operator and printed driver 16, operator can be configured the print parameters of printer in user interface 16b, and such as operator arranges number of copies, antiquarian, zooming parameter etc. in the user interface.GPD16a and UI16b carries out data interaction by function and GDI15.Communication interface 13 is for setting up the communication between main frame 1 and printer 2, and the data generate main frame 1 and instruction send printer 2 to.
When the function calling cell 14b of application program 14 calls GDI function, when proposing image output request, GDI15 calls corresponding function in printed driver 16, such as control function, drawing function etc., carry out alternately with printed driver 16, source data rasterisation application program 14 created, generates data bitmap.Meanwhile, GDI15 sends the drawing for order of system to printed driver, and calls the function of printed driver 16.Drawing for order is converted to the print command that printer can perform by the function of printed driver 16, and printed driver 16 sends data bitmap and print command to printer by communication interface 14.
The first acquisition module 10 in image scaling print control unit can create print out task to obtain print out task by application program 14.Second acquisition module 20 can be realized by the UI16b in the user interface 14c of application program 14 or print driver 16, such as, if operator is percentages by the zooming parameter of the UI16b input in the user interface 14c of application program 14 or print driver 16, then the second acquisition module 20 directly using percentages as zoom ratio.Generation module 30 also can be realized by printed driver 16, and the zoom ratio got is multiplied by the device resolution y preserved in printed driver by printed driver 16, obtains data processing resolution.Modular converter 40 can be realized by GDI15 and printed driver 16, GDI15 and printed driver 16 carry out data interaction by function call, by data bitmap identical with data processing resolution for source data conversion imaging prime number, sending module 50 can be realized by printed driver and communication interface, and data bitmap and print command are sent to the communication interface of printer by printed driver by communication interface.
Printer 2 comprises controller 21, print buffer 22, reception buffer zone 23, communication interface 24 and printhead 25.Wherein, controller 21 is for controlling each module execution work of printer 2.Communication interface 24 is connected with the communication interface 14 of main frame by wire cable or wireless communication module, for the print data that Receiving Host issues, or feeds back the state of printer 2 to main frame 1.Reception buffer zone 23 is for temporarily storing the first print data received by communication interface 24, this first print data comprises the data bitmap and print command print buffer 22 that are sent by printed driver for temporarily storing the second print data, wherein, the second print data is controller 21 processes rear generation to data bitmap data according to print command.It should be noted that, print buffer 22 and reception buffer zone 23 can be respective independently RAM (random access memory) storeies, also can be the different storage zone in a RAM storer.Printhead 25, for being printed on the surface of the recording medium by data bitmap, forms visual image or word.
Below introduce the image scaling print control program of the embodiment of the present invention, it should be noted that, this image scaling print control program can be, but not limited to the image scaling print control unit that provided by above-described embodiment or print system realizes.
Fig. 4 is the process flow diagram of image scaling print control program according to a first embodiment of the present invention.As shown in Figure 4, this image scaling print control program comprises the following steps:
Step S102, obtains print out task; Acquisition print out task in this step can be receive the print out task from outside, also can be the print out task generating according to the input of user or create.
Step S104, obtains zoom ratio according to print out task.
Step S106, generates data processing resolution according to device resolution and zoom ratio.
Step S108, converts the source data in print out task to data bitmap according to data processing resolution.
Step S110, is sent to printer by device resolution and data bitmap.
Above-mentioned step S102 to step S110 can all be performed by print request device, and data bitmap, after obtaining data bitmap, is sent to printer so that printer performs step S112 by print request device.Thus further, above-mentioned image scaling print control program may further include following steps:
Step S112, prints data bitmap according to device resolution, as shown in Figure 5.
Fig. 6 is image scaling print control program process flow diagram according to a third embodiment of the present invention, and this second embodiment can as a kind of specific implementation of the image scaling print control program of the first embodiment, and the method comprises the following steps:
Step S201, creates print out task, proposes image and exports request
Operator creates print out task by application program 14 and printed driver 16, wherein, create text or picture file by application program 14, and input print configuration parameter by the user interface of application program 14 and/or the UI16b of printed driver 16.Print configuration parameter comprises number of copies, antiquarian, zooming parameter etc.Wherein, zooming parameter can be arranged in the user interface 14c of application program 14, or arranges at the UI16b of printed driver 16.The function calling cell 14b of application program 14 calls the GDI function of GDI15, proposes image and exports request.
Step S202, obtains zoom ratio
The UI16b of printed driver 16 obtains zoom ratio, if the zooming parameter that operator is inputted by UI16b is percentages, as 60%, then the UI16b of printed driver 16 can directly obtain this zoom ratio x%; If page size for the purpose of the zooming parameter that operator is inputted by UI16b, if object page size is A5, then printed driver 16 also needs to calculate zoom ratio x% by the value of parent page size and object page size.
Step S203, generates data processing resolution according to zoom ratio and device resolution
The zoom ratio x% got is multiplied by the device resolution y preserved in the data structure of printed driver 16 by printed driver 16, obtains data processing resolution z, i.e. z=y*x%.Data processing resolution z is saved in data structure by printed driver 16, i.e. device resolution in the data structure of printed driver is data processing resolution z by assignment again, but this assignment is only effective to this print job.
When starting print job next time, the device resolution parameter of the data structure of printed driver is reinitialized to device resolution.
Step S204, converts source data to data bitmap according to data processing resolution
GDI15 and printed driver 16 carry out data interaction by function call, by data bitmap identical with data processing resolution for source data conversion imaging prime number.
Fig. 7 is the reciprocal process schematic diagram between GDI and printed driver.As shown in the figure, in the reciprocal process of GDI and printed driver, GDI calls the related function of print driver, such as GDI is by calling DrvEnableDriver function, make printed driver initialization, and return the DLL list of printed driver support, GDI is by calling DrvEnablePDEV function, printed driver is made to return the description of physical equipment attribute to GDI, GDI is by calling DrvCompletePDEV function, the installation of notice printed driver physical equipment completes, this function is also provided to the logic handle of the GDI of PDEV (abbreviation of physical equipment) to driver, calling in GDI function for driver, GDI calls DrvEnableSurface, surface printed driver being set up will draw is also relevant with PDEV by it.Simultaneously, print driver states in the process of function the function of adjusting back again GDI and exporting in realization, such as printed driver creates by calling EngCreateBitmap function request GDI and manages bitmap, by calling EngMarkBandingSurface function flag settings surface as binding surface, along with the establishment on surface, printed driver must make surface relevant to a PDEV by the EngAssociateSurface function calling GDI, this calls also tells GDI printed driver is which drawing function surface has hung up.Thus GDI15 and printed driver 16 carry out data interaction by function call, by data bitmap identical with data processing resolution for source data conversion imaging prime number.
Such as, set device resolution is 300DPI, and when zoom ratio is 50%, data processing resolution is 150DPI, GDI15, by data bitmap identical with data processing resolution 150DPI for source data conversion imaging prime number, converts by source data the data bitmap that per inch pixel count is at 150 to; When zoom ratio is 100% (namely without convergent-divergent), data processing resolution is 300DPI, equal with device resolution, GDI15, by data bitmap identical with data processing resolution 300DPI for source data conversion imaging prime number, converts by source data the data bitmap that per inch pixel count is at 300 to; When zoom ratio is 200%, data processing resolution be 600DPI, GDI by data bitmap identical with data processing resolution 600DPI for source data conversion imaging prime number, convert by source data the data bitmap that per inch pixel count is at 600 to.
Step S205, data bitmap and print command are sent to printer by printed driver
Data bitmap and print command are sent to the communication interface of printer by printed driver by communication interface.The data bitmap received and print command are saved in reception buffer zone by the controller of printer, simultaneously, controller processes data bitmap according to print command, such as, to every number of lines of pixels according to interpolation starting character, full stop and capacity description etc., and by the every number of lines of pixels after process according to the setting address be saved in print buffer.
Step S206, printer prints data bitmap according to device resolution
Data bitmap in print buffer is sent to printhead by the controller of printer line by line, printhead horizontal and vertical according to device resolution output bitmap data.
When device resolution is 300DPI, the pixel count of per inch is 300DPI, when zoom ratio is 50%, and, data processing resolution=300DPIx50%=150DPI, like this on horizontal and vertical, the pixel count of per inch is 150 points.Therefore, when print span is one inch, when length is the data bitmap of an inch, in print span direction, the pixel count generated during device resolution is adopted to be 300x1=300 point, the pixel count adopting data processing resolution to generate is 150x1=150 point, in print length direction, the pixel count generated during device resolution is adopted to be 300x1=300 point, the pixel count adopting data processing resolution to generate is 150x1=150 point, like this, same printer is adopted to print one inch wide, during the data bitmap of an inch wide, because the pixel quantity of the data bitmap of the pixel number ratio device resolution generation of the data bitmap of data processing resolution generation all decreases 0.5 times horizontal and vertical, therefore print span just becomes original 0.5 times, print length also becomes original 0.5 times, print area is original 0.25 times, thus achieve the object reducing printing.
When zoom ratio is 200%, data processing resolution=300DPIx200%=600DPI, the pixel count of such per inch becomes 600 points.Therefore, when print span is one inch, when length is the data bitmap of an inch, in print span direction, the pixel count generated during device resolution is adopted to be 300x1=300 point, the pixel count adopting data processing resolution to generate is 600x1=600 point, in print length direction, the pixel count generated during device resolution is adopted to be 300x1=300 point, the pixel count adopting data processing resolution to generate is 600x1=600 point, like this, same printer is adopted to print one inch wide, during the data bitmap of an inch wide, because the pixel quantity of the data bitmap of the pixel number ratio device resolution generation of the data bitmap of data processing resolution generation all adds 2 times horizontal and vertical, therefore print span just becomes original 2 times, print length also becomes original 2 times, print area is original 4 times, thus achieve amplification printing.
According to the image scaling print control program of the embodiment of the present invention, data processing resolution is generated according to zoom ratio and device resolution by printed driver, GDI and printed driver carry out data interaction by function call, by data bitmap identical with data processing resolution for source data conversion imaging prime number, printer prints data bitmap according to device resolution, thus makes source data realize convergent-divergent in proportion in print span direction and print length direction.Compared with prior art, the embodiment of the present invention utilizes GDI and printed driver to carry out rasterization process to source data, only need increase according to scaling or reduce the quantity of pixel in data bitmap, do not need to calculate pixel value according to interpolation algorithm, therefore, data processing speed is fast, and print quality is high.
Present invention also provides the read-only storage medium of a kind of computing machine, the read-only storage medium of this computing machine stores the computer program of the image scaling print control program for performing the first embodiment.The read-only storage medium of this computing machine can be the conventional storer such as CD, flash disk, also can be with internet provide can the storage medium of downloading computer program for storing.This computer program is installed on print request device by operator, such as, in main frame, is then connected with printer by print request device and namely can realizes the image scaling Print Control scheme that the embodiment of the present invention provides.
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 (9)
1. an image scaling print control program, is characterized in that comprising:
Obtain print out task;
Zoom ratio is obtained according to described print out task;
Data processing resolution is generated according to device resolution and described zoom ratio;
The source data in described print out task is converted to data bitmap according to described data processing resolution; And
Institute's bit-map data is sent to printer, and wherein, described printer is used for realizing amplifying printing or reducing printing by printing institute's bit-map data,
Wherein, convert the source data in described print out task to data bitmap according to described data processing resolution to comprise:
By data bitmap identical with described data processing resolution for described source data conversion imaging prime number.
2. image scaling print control program according to claim 1, is characterized in that, obtains zoom ratio comprise according to described print out task:
If operator input zooming parameter be percentages, then using described percentages as described zoom ratio; And
If page size for the purpose of the zooming parameter of operator's input, then calculate described zoom ratio according to parent page size and described object page size.
3. image scaling print control program according to claim 1, is characterized in that, generates data processing resolution comprise according to device resolution and described zoom ratio:
Described zoom ratio is multiplied by described device resolution, obtains described data processing resolution.
4. image scaling print control program according to claim 1, is characterized in that, after described data processing resolution and institute's bit-map data are sent to printer, described method also comprises:
Described printer prints institute's bit-map data according to described device resolution.
5. an image scaling print control unit, is characterized in that comprising:
First acquisition module, for obtaining print out task;
Second acquisition module, for obtaining zoom ratio according to described print out task;
Generation module, for generating data processing resolution according to device resolution and described zoom ratio;
Modular converter, for converting the source data in described print out task to data bitmap according to described data processing resolution, wherein, described modular converter is used for data bitmap identical with described data processing resolution for described source data conversion imaging prime number; And
Sending module, is sent to printer for institute's bit-map data, and wherein, described printer is used for realizing amplifying printing or reducing printing by printing institute's bit-map data.
6. image scaling print control unit according to claim 5, is characterized in that, if the zooming parameter of operator's input is percentages, described second acquisition module is used for described percentages as described zoom ratio; If page size for the purpose of the zooming parameter of operator's input, then calculate described zoom ratio according to parent page size and described object page size.
7. image scaling print control unit according to claim 5, is characterized in that, described generation module is used for described zoom ratio to be multiplied by described device resolution, obtains described data processing resolution.
8. image scaling print control unit according to claim 5, is characterized in that, also comprise:
Print module, for printing institute's bit-map data according to described device resolution.
9. a print system, is characterized in that comprising:
Print request device, for obtaining print out task, zoom ratio is obtained according to described print out task, data processing resolution is generated according to device resolution and described zoom ratio, the source data in described print out task is converted to data bitmap according to described data processing resolution, wherein, convert the source data in described print out task to data bitmap according to described data processing resolution to comprise: by data bitmap identical with described data processing resolution for described source data conversion imaging prime number; And
Printer, for receiving the institute's bit-map data from described print request device, and prints institute's bit-map data according to described device resolution, and wherein, described printer is used for printing by printing institute's bit-map data realization amplification or reducing printing.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110315220.XA CN103049227B (en) | 2011-10-17 | 2011-10-17 | Image scaling print control program and device and print system |
PCT/CN2012/082855 WO2013056634A1 (en) | 2011-10-17 | 2012-10-12 | Method and apparatus for controlling scaled printing of images, and printing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110315220.XA CN103049227B (en) | 2011-10-17 | 2011-10-17 | Image scaling print control program and device and print system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103049227A CN103049227A (en) | 2013-04-17 |
CN103049227B true CN103049227B (en) | 2016-04-13 |
Family
ID=48061880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110315220.XA Active CN103049227B (en) | 2011-10-17 | 2011-10-17 | Image scaling print control program and device and print system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103049227B (en) |
WO (1) | WO2013056634A1 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104050155A (en) * | 2014-07-01 | 2014-09-17 | 西安诺瓦电子科技有限公司 | Text editing device and method |
CN104228369B (en) * | 2014-08-25 | 2017-01-18 | 沈阳东软医疗系统有限公司 | Printing method and device |
CN105511712B (en) * | 2014-09-24 | 2019-08-02 | 阿里巴巴集团控股有限公司 | A kind of image presentation method and device |
CN114879919B (en) * | 2022-05-31 | 2023-03-24 | 江南大学 | Image rapid zooming printing system and method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08223330A (en) * | 1995-02-15 | 1996-08-30 | Fuji Photo Film Co Ltd | Film image printer |
CN100492276C (en) * | 2003-05-20 | 2009-05-27 | 致伸科技股份有限公司 | Printing method capable of simultaneously zooming, merging and outputting contents |
CN1306383C (en) * | 2004-01-02 | 2007-03-21 | 致伸科技股份有限公司 | A method of printing images |
KR100709364B1 (en) * | 2005-06-23 | 2007-04-20 | 삼성전자주식회사 | Method and apparatus for generating pattern image |
KR100709377B1 (en) * | 2005-09-06 | 2007-04-20 | 삼성전자주식회사 | Array type inkjet printer system and its control method |
JP2008065671A (en) * | 2006-09-08 | 2008-03-21 | Fujifilm Corp | Apparatus and method for dividing image, and program |
CN100507945C (en) * | 2006-12-29 | 2009-07-01 | 四川大学 | Segmentation Method of CT Film Scanning Image Tomographic Image |
CN101465954B (en) * | 2009-01-08 | 2010-08-25 | 杭州华三通信技术有限公司 | Method and device for zooming image |
-
2011
- 2011-10-17 CN CN201110315220.XA patent/CN103049227B/en active Active
-
2012
- 2012-10-12 WO PCT/CN2012/082855 patent/WO2013056634A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2013056634A1 (en) | 2013-04-25 |
CN103049227A (en) | 2013-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3827049B2 (en) | Printer control circuit, printer and printing system | |
JP4476203B2 (en) | Image processing apparatus, program, and image processing method | |
CN103049227B (en) | Image scaling print control program and device and print system | |
JP2007200170A (en) | Image processing apparatus and image processing program | |
JP4656623B2 (en) | Drawing method, image processing apparatus, and recording medium | |
JP5439510B2 (en) | Image forming apparatus and image forming program | |
JP6202908B2 (en) | Image processing apparatus, image processing method, and program | |
JP4564986B2 (en) | Image processing apparatus, image processing method, and image processing program | |
WO2009157233A1 (en) | Computer-readable medium containing device driver | |
JP4382000B2 (en) | Print control system and print control method | |
US8860971B2 (en) | Printing device and printing method of printing device | |
CN102572203B (en) | Compression method and device for latticed page | |
US9041962B2 (en) | Imaging forming apparatus, image forming system, and program that enables data to be edited and processed | |
US8711426B2 (en) | Methods and systems for identifying and changing resolutions to cause an aspect ratio of a printed image to match an aspect ratio of image data | |
CN101365043A (en) | Dot-matrix-level pixel point color correction method and device | |
JP2017097463A (en) | Print control system, print control device, and program | |
JP2019050569A (en) | Mechanism to perform color forcing parameter conversion | |
JP4174971B2 (en) | Image processing apparatus and image processing method | |
JP2000032256A (en) | Image data interpolation device, image data interpolation method, medium recording image data interpolation program | |
EP2816795B1 (en) | Image forming apparatus having function of combining stamp image with original image | |
JP6455676B2 (en) | Electronic device and font image output program | |
JP5826147B2 (en) | Image forming apparatus | |
KR100444899B1 (en) | Rotation conversion method of image | |
JP6155604B2 (en) | Image processing apparatus and image processing method | |
JP2008078801A (en) | Image processing method |
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 |