CN103049227A - Control method and device for image scaling printing and printing system - Google Patents

Control method and device for image scaling printing and printing system Download PDF

Info

Publication number
CN103049227A
CN103049227A CN201110315220XA CN201110315220A CN103049227A CN 103049227 A CN103049227 A CN 103049227A CN 201110315220X A CN201110315220X A CN 201110315220XA CN 201110315220 A CN201110315220 A CN 201110315220A CN 103049227 A CN103049227 A CN 103049227A
Authority
CN
China
Prior art keywords
data
resolution
print
zoom ratio
image scaling
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.)
Granted
Application number
CN201110315220XA
Other languages
Chinese (zh)
Other versions
CN103049227B (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 CN201110315220.XA priority Critical patent/CN103049227B/en
Priority to PCT/CN2012/082855 priority patent/WO2013056634A1/en
Publication of CN103049227A publication Critical patent/CN103049227A/en
Application granted granted Critical
Publication of CN103049227B publication Critical patent/CN103049227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • G06F3/1215Improving printing performance achieving increased printing speed, i.e. reducing the time between printing start and printing end
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1244Job translation or job parsing, e.g. page banding

Abstract

The invention discloses a control method, a device and a print system of image scaling printing. The control method of the image scaling printing includes: obtaining a print job; obtaining a scaling ratio according to the print job; generating a data processing resolution ratio according to a device resolution ratio and the scaling ratio; transforming the source data of the print job into bitmap data according to the data processing resolution ratio; and printing the bitmap data according to the device resolution ratio. Therefore the printing speed can be increased when the scaling printing requires a high image printing quality.

Description

Image scaling print control program and device and print system
Technical field
The present invention relates to the 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 interpolation algorithm that the view data of source figure is processed rear printout.Comprise neighbor interpolation algorithm, bilinear interpolation value-based algorithm and cubic convolution algorithm etc. such as, image scaling interpolation algorithm commonly used.Wherein, the principle of neighbor interpolation algorithm is, a floating-point coordinate that obtains by reciprocal transformation, it is simply rounded, obtain an integer type coordinate, the pixel value that this integer type coordinate is corresponding is exactly the pixel value of purpose pixel, namely will give the purpose pixel value from the nearest pixel value of this floating-point coordinate in the source images, the characteristics of this algorithm are that data processing speed is fast, but the image after amplifying has very serious mosaic, and the image after dwindling has very serious distortion.
The bilinear interpolation value-based algorithm obtains the floating-point coordinate by reciprocal transformation pixel value is determined jointly by the pixel value of four necessary beings around the floating-point among the figure of source, the characteristics of this algorithm are that data processing speed is slow, image smoothing, but bilinear interpolation has the character of low-pass filter, make high fdrequency component impaired, so image outline is thickened.The cubic convolution algorithm obtains the pixel value of floating-point coordinate and is determined by the pixel value of 16 adjoint points around the floating-point coordinate by reciprocal transformation, this algorithm is because computational accuracy is high, therefore can overcome the deficiency of above two kinds of algorithms, but calculated amount is large, data processing speed is slower.
Therefore, the inventor finds, carries out convergent-divergent by interpolation algorithm and prints, and is higher to the image printing quality requirements, then requires just higher to the computational accuracy of interpolation algorithm.But the computational accuracy of interpolation algorithm is higher, and the data computational processing is larger, causes data processing speed slow, thereby 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 slow problem of print speed when convergent-divergent is printed and be higher to the image printing quality requirements.
To achieve these goals, according to an aspect of the present invention, provide a kind of image scaling print control program.This image scaling print control program comprises: obtain print out task; Obtain zoom ratio according to print out task; Process resolution according to device resolution and zoom ratio generated data; Process resolution according to data and convert the source data in the print out task to data bitmap; And data bitmap is sent to printer.By this image scaling print control program, can when providing the print data of high print quality, assurance improve the purpose of data processing speed.
Further, obtain zoom ratio according to print out task and comprise: if the zooming parameter of operator input is percentages, then with percentages as zoom ratio; And if the zooming parameter of operator input is the purpose page size, then calculate zoom ratio according to parent page size and purpose page size.
Further, comprise according to device resolution and zoom ratio generated data processing resolution: zoom ratio be multiply by device resolution, obtain data and process resolution.
Further, converting the source data in the print out task to data bitmap according to data processing resolution comprises: source data conversion imaging prime number and data are processed the identical data bitmap of resolution.
Further, after data bitmap was sent to printer, said method also comprised: printer is printed data bitmap according to device resolution.
To achieve these goals, according to a further aspect in the invention, provide a kind of image scaling print control unit.This image scaling print control unit comprises: the first acquisition module is used for obtaining print out task; The second acquisition module is used for obtaining zoom ratio according to print out task; Generation module is used for processing resolution according to device resolution and zoom ratio generated data; Modular converter converts data bitmap to for process the source data of resolution with print out task according to data; And sending module, be used 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 the zooming parameter of operator's input is the purpose page size, then calculate zoom ratio according to parent page size and purpose page size.
Further, comprise according to device resolution and zoom ratio generated data processing resolution: zoom ratio be multiply by device resolution, obtain data and process resolution.
Further, converting the source data in the print out task to data bitmap according to data processing resolution comprises: source data conversion imaging prime number and data are processed the identical data bitmap of resolution.
Further, above-mentioned image scaling print control unit also comprises: print module is used for printing data bitmap according to device resolution.
By the present invention, adopt and obtain print out task; Obtain zoom ratio according to print out task; Process resolution according to device resolution and zoom ratio generated data; Process resolution according to data and convert the source data in the print out task to data bitmap; And the method for printing data bitmap according to device resolution, owing to only need to determine according to scaling the quantity of the pixel in the data bitmap, do not need according to interpolation algorithm calculating pixel value, thereby solved the slow problem of print speed when convergent-divergent is printed and be higher to the image printing quality requirements, and then reached the effect that improves print speed.
Description of drawings
The accompanying drawing that consists of the application's a part is used to provide a further understanding of the present invention, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the synoptic diagram according to the image scaling print control unit of first embodiment of the invention;
Fig. 2 is the synoptic diagram according to the image scaling print control unit of second embodiment of the invention;
Fig. 3 is the synoptic diagram according to the print system of the embodiment of the invention;
Fig. 4 is the process flow diagram according to the image scaling print control program of first embodiment of the invention;
Fig. 5 is the process flow diagram according to the image scaling print control program of second embodiment of the invention;
Fig. 6 is the process flow diagram according to the image scaling print control program of third embodiment of the invention; And
Fig. 7 is according to the GDI of the embodiment of the invention and the reciprocal process synoptic diagram between the printed driver.
Embodiment
Need to prove that in the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe below with reference to the accompanying drawings and in conjunction with the embodiments the present invention in detail.
Fig. 1 is the synoptic diagram according to the image scaling print control unit of first embodiment of the invention.
As shown in Figure 1, this image scaling printing control control device comprises the first acquisition module 10, the second acquisition module 20, generation module 30, modular converter 40 and sending module 50.
The first acquisition module 10 is used for obtaining print out task, this first acquisition module 10 can be the module that receives print out task in the image scaling print control unit, also can be the image scaling print control unit generates the establishment print out task according to user's input module.
The second acquisition module 20 is used 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 with percentages as zoom ratio, if the zooming parameter of operator's input is the purpose page size, then the second acquisition module 20 calculates zoom ratio according to parent page size and purpose page size.
Generation module 30 is used for processing resolution according to device resolution and zoom ratio generated data.
Modular converter 40 converts data bitmap to for process the source data of resolution with print out task according to data.
Device resolution and data bitmap that sending module 50 is used for generating are sent to printer.Printer just can be printed data bitmap according to device resolution after receiving data bitmap, device resolution refers to the physical resolution of printer.
Fig. 2 is the synoptic diagram according to the image scaling print control unit of second embodiment of the invention.
As shown in Figure 2, the various piece of this embodiment in comprising the first embodiment, can also comprise print module 60.
Print module 60 is used for printing data bitmap according to device resolution (being the physical resolution of printer).
In above-mentioned image scaling print control unit, owing to only need to determine according to scaling the quantity of the pixel in the data bitmap, do not need according to interpolation algorithm calculating pixel value, thereby solved the slow problem of print speed when convergent-divergent is printed and be higher to the image printing quality requirements, and then improved print speed.
Image scaling print control unit for the first embodiment, can be corresponding to printing request unit, for example, realize by main frame, by this image scaling print control unit, namely can guarantee when the print data of high print quality is provided, to improve the effect of data processing speed, further, purpose by this image scaling print control unit and any printer combine and mention print speed when guaranteeing print quality with regard to can be implemented in only need to dispose the device resolution corresponding with this printer and get final product in the image scaling print control unit.For the image printer of the second embodiment, can corresponding to the print system that is consisted of by printing request unit and printer, mention the purpose of print speed when guaranteeing print quality by this print system itself with regard to can be implemented in.
The image scaling print control unit of the embodiment of the invention can be realized by following print system.
Fig. 3 is the synoptic diagram according to the print system of the embodiment of the invention.As shown in the figure, print system comprises main frame 1 and printer 2.Main frame 1 corresponding to above-mentioned image scaling print control unit, can be computing machine or other opertaing devices as printing request unit, comprises control module 11, storage unit 12 and communication interface 13.Wherein, control module 11 operates based on the installation procedure in operating system and the storage unit 12, thereby carries out various information processing operations.Storage unit 12 comprises ROM storer, RAM storer and hard disk drive.Storage unit 12 has been stored will be by the program of control module 11 execution.This storage unit 12 also is used for being stored in by required various types of data during the processing procedure of control module 11 execution.
Installation procedure in the storage unit 12 comprises application program 14, Graphics Device Interface (Graphics Device Interface is designated hereinafter simply 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 used for creating facility environment (Device Context is referred to as DC), and generates source data in facility environment; Function calling cell 14b is used for calling the GDI function of GDI15, proposes figure output request; User interface 14c is used for the operator and application program 14 is carried out data interaction, such as, the format information, print configuration parameter of source data etc. are set.GDI15 is used for the message exchange between application program 14 and the printed driver 16, processes the figure output request of application program 14.GDI15 generates data bitmap by the source data rasterisation that its inner GDI function application programs that arranges 14 generates.Printed driver 16 comprises that the universal printer description (is called for short GPD, being the abbreviation of Generic Printer Description) 16a and user interface be (hereinafter to be referred as UI, be the abbreviation of User Interface) 16b, wherein, GPD16a comprises data structure and function, be used for describing the function of printer and the data of ability, such as device resolution, the paper size that color ability and printer are supported etc., wherein device resolution refers to the output resolution ratio of printer, be that can print at most on the horizontal and vertical both direction when printout printer count by per inch, (be 600DPI such as 600 point/inches, wherein DPI is the abbreviation of dot/inch), these data are kept in the data structure.User interface 16b comprises data structure and function, be used for operator and printed driver 16 and carry out data interaction, the operator can be configured the print parameters of printer in user interface 16b, such as the operator number of copies, antiquarian, zooming parameter etc. is set in user interface.GPD16a and UI16b carry out data interaction by function and GDI15.Communication interface 13 is used for setting up the communication between main frame 1 and the printer 2, and data and instruction that main frame 1 is generated send printer 2 to.
When the function calling cell 14b of application program 14 calls the GDI function, when proposing image output request, GDI15 calls corresponding function in the printed driver 16, such as control function, drawing function etc., carry out alternately with printed driver 16, source data rasterisation with application program 14 creates generates data bitmap.Simultaneously, GDI15 sends the drawing for order of system to printed driver, and calls the function of printed driver 16.The function of printed driver 16 is converted to the print command that printer can be carried out with drawing for order, and printed driver 16 sends data bitmap and print command to printer by communication interface 14.
The first acquisition module 10 in the image scaling print control unit can create print out task to obtain print out task by application program 14.The second acquisition module 20 can be realized by user interface 14c or the UI16b in the print driver 16 of application program 14, for example, if the operator by application program 14 user interface 14c or the zooming parameter of the UI16b input in the seal driver 16 be percentages, then the second acquisition module 20 directly with percentages as zoom ratio.Generation module 30 can realize by printed driver 16 that also printed driver 16 multiply by the device resolution y that preserves in the printed driver with the zoom ratio that gets access to, and obtains data and processes 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, source data conversion imaging prime number and data are processed the identical data bitmap of resolution, sending module 50 can realize that printed driver sends to data bitmap and print command by communication interface the communication interface of printer by printed driver and communication interface.
Printer 2 comprises controller 21, print buffer 22, reception buffer zone 23, communication interface 24 and printhead 25.Wherein, controller 21 is used for each module execution work of control printer 2.Communication interface 24 is connected with the communication interface 14 of main frame by wire cable or wireless communication module, is used for the print data that Receiving Host issues, and perhaps feeds back the state of printer 2 to main frame 1.Reception buffer zone 23 is used for temporary transient the first print data that is received by communication interface 24 of preserving, this first print data comprises that the data bitmap and the print command print buffer 22 that are sent by printed driver are used for temporary transient storage the second print data, wherein, the second print data is controller 21 is processed rear generation to data bitmap according to print command data.Need to prove that print buffer 22 and reception buffer zone 23 can be RAM (random access memory) storeies independently separately, also can be different storage zone in the RAM storer.Printhead 25 is used for data bitmap is printed on the surface of recording medium, forms visual image or literal.
Below introduce the image scaling print control program of the embodiment of the invention, need to prove, this image scaling print control program can but the image scaling print control unit or the print system that are not limited to provide by above-described embodiment realize.
Fig. 4 is the process flow diagram according to the image scaling print control program of first embodiment of the invention.As shown in Figure 4, this image scaling print control program may further comprise the steps:
Step S102 obtains print out task; The print out task that obtains in this step can be the print out task that receives from the outside, also can be according to user's input generation or the print out task that creates.
Step S104 obtains zoom ratio according to print out task.
Step S106 processes resolution according to device resolution and zoom ratio generated data.
Step S108 processes resolution according to data and converts the source data in the print out task to data bitmap.
Step S110 is sent to printer with device resolution and data bitmap.
Above-mentioned step S102 can all carry out by printing request unit to step S110, and the printing request unit is sent to printer so that printer execution in step S112 with data bitmap after obtaining data bitmap.Thereby 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 the image scaling print control program process flow diagram according to third embodiment of the invention, and this second embodiment can be used as a kind of specific implementation of the image scaling print control program of the first embodiment, and the method may further comprise the steps:
Step S201 creates print out task, proposes image output request
The operator creates print out task by application program 14 and printed driver 16, wherein, create text or picture file by application program 14, and by the user interface of application program 14 and/or the UI16b input print configuration parameter of printed driver 16.Print configuration parameter comprises number of copies, antiquarian, zooming parameter etc.Wherein, zooming parameter can arrange in the user interface 14c of application program 14, and perhaps the UI16b at printed driver 16 arranges.The function calling cell 14b of application program 14 calls the GDI function of GDI15, proposes image output request.
Step S202 obtains zoom ratio
The UI16b of printed driver 16 obtains zoom ratio, if the operator is percentages by the zooming parameter that UI16b inputs, such as 60%, then the UI16b of printed driver 16 can directly obtain this zoom ratio x%; If the operator is the purpose page size by the zooming parameter of UI16b input, is A5 such as the purpose page size, then printed driver 16 also needs to calculate zoom ratio x% by the value of parent page size and purpose page size.
Step S203 processes resolution according to zoom ratio and device resolution generated data
Printed driver 16 multiply by the device resolution y that preserves in the data structure of printed driver 16 with the zoom ratio x% that gets access to, and obtains data and processes resolution z, i.e. z=y*x%.Printed driver 16 is processed resolution z with data and is saved in the data structure, and namely the device resolution in the data structure of printed driver is that data are processed resolution z by assignment again, but this assignment is only effective to this print job.
When starting next time print job, the device resolution parameter of the data structure of printed driver is reinitialized to device resolution.
Step S204 processes resolution according to data and converts source data to data bitmap
GDI15 and printed driver 16 carry out data interaction by function call, and source data conversion imaging prime number and data are processed the identical data bitmap of resolution.
Fig. 7 is the reciprocal process synoptic diagram between GDI and the 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 by calling the DrvEnableDriver function, make the printed driver initialization, and the DLL that returns the printed driver support tabulates, GDI is by calling the DrvEnablePDEV function, make printed driver return the description of physical equipment attribute to GDI, GDI is by calling the DrvCompletePDEV function, the installation of notice printed driver physical equipment is finished, this function also is provided to the logic handle of the GDI of PDEV (abbreviation of physical equipment) to driver, in calling the GDI function, GDI calls DrvEnableSurface for driver, and the surface that printed driver is set up will draw is also relevant with PDEV with it.Simultaneously, print driver is stated the function of adjusting back again GDI output in the process of function in realization, create and the management bitmap by calling EngCreateBitmap function request GDI such as printed driver, by calling EngMarkBandingSurface function flag settings surface as the binding surface, establishment along with the surface, printed driver must make by the EngAssociateSurface function that calls GDI the surface relevant with a PDEV, and this calls tells also the GDI printed driver is which drawing function the surface has hung up.Thereby GDI15 and printed driver 16 carry out data interaction by function call, and source data conversion imaging prime number and data are processed the identical data bitmap of resolution.
Such as, set device resolution is 300DPI, and when zoom ratio was 50%, it was 150DPI that data are processed resolution, GDI15 processes the identical data bitmap of resolution 150DPI with source data conversion imaging prime number and data, and being about to source data, to convert the per inch pixel count to be 150 data bitmap; When zoom ratio is 100% (namely without convergent-divergent), it is 300DPI that data are processed resolution, equate with device resolution, GDI15 processes the identical data bitmap of resolution 300DPI with source data conversion imaging prime number and data, and being about to source data, to convert the per inch pixel count to be 300 data bitmap; When zoom ratio was 200%, it was 600DPI that data are processed resolution, and GDI processes the identical data bitmap of resolution 600DPI with source data conversion imaging prime number and data, and soon to convert the per inch pixel count to be 600 data bitmap to source data.
Step S205, printed driver sends to printer with data bitmap and print command
Printed driver sends to data bitmap and print command by communication interface the communication interface of printer.The controller of printer is saved in data bitmap and the print command that receives in the reception buffer zone, simultaneously, controller is processed data bitmap according to print command, such as, according to adding initial symbol, full stop and capacity description etc., and the every number of lines of pixels certificate after will processing is saved in the setting address in the print buffer to every number of lines of pixels.
Step S206, printer is printed data bitmap according to device resolution
The controller of printer sends to printhead line by line with the data bitmap in the print buffer, printhead horizontal and vertical according to device resolution output bitmap data.
When device resolution was 300DPI, the pixel count of per inch was 300DPI, when zoom ratio is 50%,, data are processed resolution=300DPIx50%=150DPI, and on horizontal and vertical, the pixel count of per inch is 150 points like this.Therefore, when print span is one inch, when length is one inch data bitmap, in the print span direction, the pixel count that generates when adopting device resolution is the 300x1=300 point, the pixel count that adopts data to process the resolution generation is the 150x1=150 point, in the print length direction, the pixel count that generates when adopting device resolution is the 300x1=300 point, the pixel count that adopts data to process the resolution generation is the 150x1=150 point, like this, adopt same printer to print one inch wide, during one inch wide data bitmap, because the pixel quantity of the data bitmap that data processing resolution generates has all reduced 0.5 times than the pixel quantity of the data bitmap that device resolution generates 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 the purpose that has realized dwindling printing.
When zoom ratio is 200%, data are processed resolution=300DPIx200%=600DPI, and the pixel count of per inch becomes 600 points like this.Therefore, when print span is one inch, when length is one inch data bitmap, in the print span direction, the pixel count that generates when adopting device resolution is the 300x1=300 point, the pixel count that adopts data to process the resolution generation is the 600x1=600 point, in the print length direction, the pixel count that generates when adopting device resolution is the 300x1=300 point, the pixel count that adopts data to process the resolution generation is the 600x1=600 point, like this, adopt same printer to print one inch wide, during one inch wide data bitmap, because the pixel quantity of the data bitmap that data processing resolution generates has all increased by 2 times than the pixel quantity of the data bitmap that device resolution generates horizontal and vertical, therefore print span just becomes original 2 times, print length also becomes original 2 times, print area is original 4 times, prints thereby realized amplifying.
Image scaling print control program according to the embodiment of the invention, process resolution by printed driver according to zoom ratio and device resolution generated data, GDI and printed driver carry out data interaction by function call, source data conversion imaging prime number and data are processed the identical data bitmap of resolution, printer is printed data bitmap according to device resolution, thereby makes source data realize in proportion convergent-divergent in print span direction and print length direction.Compared with prior art, the embodiment of the invention utilizes GDI and printed driver that source data is carried out rasterization process, only need to increase or reduce according to scaling the quantity of pixel in the data bitmap, do not need according to interpolation algorithm calculating pixel value, therefore, data processing speed is fast, and print quality is high.
The application also provides a kind of computing machine read-only storage medium, and the read-only storage medium stores of this computing machine is useful on the computer program of the image scaling print control program of carrying out the first embodiment.The read-only storage medium of this computing machine can be the storeies such as conventional CD, flash disk, but also can be the storage medium that is used for storage downloading computer program that provides with the internet.The operator is installed on the printing request unit with this computer program, for example in the main frame, then will print request unit and be connected with printer and can realize that namely the image scaling that the embodiment of the invention provides prints control program.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and 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 modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. image scaling print control program is characterized in that comprising:
Obtain print out task;
Obtain zoom ratio according to described print out task;
Process resolution according to device resolution and described zoom ratio generated data;
Process resolution according to described data and convert the source data in the described print out task to data bitmap; And
Described data bitmap is sent to printer.
2. image scaling print control program according to claim 1 is characterized in that, obtains zoom ratio according to described print out task and comprises:
If the zooming parameter of operator input is percentages, then with described percentages as described zoom ratio; And
If the zooming parameter of operator's input is the purpose page size, then calculate described zoom ratio according to parent page size and described purpose page size.
3. image scaling print control program according to claim 1 is characterized in that, comprises according to device resolution and described zoom ratio generated data processing resolution:
Described zoom ratio be multiply by described device resolution, obtain described data and process resolution.
4. image scaling print control program according to claim 1 is characterized in that, converts the source data in the described print out task to data bitmap according to described data processing resolution and comprises:
Described source data conversion imaging prime number and described data are processed the identical data bitmap of resolution.
5. image scaling print control program according to claim 1 is characterized in that, described data is being processed after resolution and described data bitmap be sent to printer, and described method also comprises:
Described printer is printed described data bitmap according to described device resolution.
6. image scaling print control unit is characterized in that comprising:
The first acquisition module is used for obtaining print out task;
The second acquisition module is used for obtaining zoom ratio according to described print out task;
Generation module is used for processing resolution according to device resolution and described zoom ratio generated data;
Modular converter converts data bitmap to for process the source data of resolution with described print out task according to described data; And
Sending module is used for described data bitmap and is sent to printer.
7. image scaling print control unit according to claim 6 is characterized in that, if the zooming parameter of operator's input is percentages, described the second acquisition module is used for described percentages as described zoom ratio; If the zooming parameter of operator's input is the purpose page size, then calculate described zoom ratio according to parent page size and described purpose page size.
8. image scaling print control unit according to claim 6 is characterized in that, described generation module is used for described zoom ratio be multiply by described device resolution, obtains described data and processes resolution.
9. image scaling print control unit according to claim 6 is characterized in that, described modular converter is used for described source data conversion imaging prime number and described data are processed the identical data bitmap of resolution.
10. image scaling print control unit according to claim 6 is characterized in that, also comprises:
Print module is used for printing described data bitmap according to described device resolution.
11. a print system is characterized in that comprising:
Print request unit, be used for obtaining print out task, obtain zoom ratio according to described print out task, process resolution according to device resolution and described zoom ratio generated data, process resolution according to described data and convert the source data in the described print out task to data bitmap; And
Printer is used for receiving the described data bitmap from described printing request unit, and prints described data bitmap according to described device resolution.
CN201110315220.XA 2011-10-17 2011-10-17 Image scaling print control program and device and print system Active CN103049227B (en)

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 true CN103049227A (en) 2013-04-17
CN103049227B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050155A (en) * 2014-07-01 2014-09-17 西安诺瓦电子科技有限公司 Text editing device and method
CN104228369A (en) * 2014-08-25 2014-12-24 沈阳东软医疗系统有限公司 Printing method and device
CN105511712A (en) * 2014-09-24 2016-04-20 阿里巴巴集团控股有限公司 Method and device for showing picture
CN114879919A (en) * 2022-05-31 2022-08-09 江南大学 Image rapid zooming printing system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549109A (en) * 2003-05-20 2004-11-24 德鑫科技股份有限公司 Printing method for simultaneouly contracting and enlarging merge outputting
CN1641558A (en) * 2004-01-02 2005-07-20 德鑫科技股份有限公司 Image printing method
CN1927587A (en) * 2005-09-06 2007-03-14 三星电子株式会社 Array type inkjet printer system and control method thereof
JP2008065671A (en) * 2006-09-08 2008-03-21 Fujifilm Corp Apparatus and method for dividing image, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08223330A (en) * 1995-02-15 1996-08-30 Fuji Photo Film Co Ltd Film image printer
KR100709364B1 (en) * 2005-06-23 2007-04-20 삼성전자주식회사 Method and apparatus for generating pattern image
CN100507945C (en) * 2006-12-29 2009-07-01 四川大学 Fault image segmentation method for images scanned from films
CN101465954B (en) * 2009-01-08 2010-08-25 杭州华三通信技术有限公司 Method and device for zooming image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549109A (en) * 2003-05-20 2004-11-24 德鑫科技股份有限公司 Printing method for simultaneouly contracting and enlarging merge outputting
CN1641558A (en) * 2004-01-02 2005-07-20 德鑫科技股份有限公司 Image printing method
CN1927587A (en) * 2005-09-06 2007-03-14 三星电子株式会社 Array type inkjet printer system and control method thereof
JP2008065671A (en) * 2006-09-08 2008-03-21 Fujifilm Corp Apparatus and method for dividing image, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050155A (en) * 2014-07-01 2014-09-17 西安诺瓦电子科技有限公司 Text editing device and method
CN104228369A (en) * 2014-08-25 2014-12-24 沈阳东软医疗系统有限公司 Printing method and device
CN104228369B (en) * 2014-08-25 2017-01-18 沈阳东软医疗系统有限公司 Printing method and device
CN105511712A (en) * 2014-09-24 2016-04-20 阿里巴巴集团控股有限公司 Method and device for showing picture
CN105511712B (en) * 2014-09-24 2019-08-02 阿里巴巴集团控股有限公司 A kind of image presentation method and device
CN114879919A (en) * 2022-05-31 2022-08-09 江南大学 Image rapid zooming printing system and method

Also Published As

Publication number Publication date
CN103049227B (en) 2016-04-13
WO2013056634A1 (en) 2013-04-25

Similar Documents

Publication Publication Date Title
JP4476203B2 (en) Image processing apparatus, program, and image processing method
JP4725336B2 (en) Image processing apparatus and image processing program
US8508775B2 (en) Image processing with body region image and peripheral region image
CN103049227B (en) Image scaling print control program and device and print system
JP4382000B2 (en) Print control system and print control method
JP6202908B2 (en) Image processing apparatus, image processing method, and program
US8369615B2 (en) Image processing apparatus and method for efficiently reducing the amount of image data
JP4564986B2 (en) Image processing apparatus, image processing method, and image processing program
WO2009157233A1 (en) Computer-readable medium containing device driver
JP2011139163A (en) Image processing apparatus and method
JP6120824B2 (en) Image processing apparatus, image processing method, and program
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
US9041962B2 (en) Imaging forming apparatus, image forming system, and program that enables data to be edited and processed
JP2017097463A (en) Print control system, print control device, and program
JP2004299104A (en) Image data processor and image forming apparatus
US8792133B2 (en) Rendering data processing apparatus, rendering data processing method, print apparatus, print method, and computer-readable medium
JP5112223B2 (en) Image processing apparatus and image processing program
JP6455675B2 (en) Electronic device and font image output program
JP6455676B2 (en) Electronic device and font image output program
JP2010152597A (en) Printer driver, and print control method thereof
JP2008078801A (en) Image processing method
JP2012141892A (en) Printing system
JP2017011606A (en) Image processing apparatus
JP2013008247A (en) Image processing apparatus, image processing method, and program
JP2006085415A (en) Image processor, image processing method, program, and recording medium

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