WO2013056634A1 - Method and apparatus for controlling scaled printing of images, and printing system - Google Patents

Method and apparatus for controlling scaled printing of images, and printing system Download PDF

Info

Publication number
WO2013056634A1
WO2013056634A1 PCT/CN2012/082855 CN2012082855W WO2013056634A1 WO 2013056634 A1 WO2013056634 A1 WO 2013056634A1 CN 2012082855 W CN2012082855 W CN 2012082855W WO 2013056634 A1 WO2013056634 A1 WO 2013056634A1
Authority
WO
WIPO (PCT)
Prior art keywords
print
resolution
scaling
data
printing
Prior art date
Application number
PCT/CN2012/082855
Other languages
French (fr)
Chinese (zh)
Inventor
孙静
姜颖婵
王春涛
杜玉振
Original Assignee
山东新北洋信息技术股份有限公司
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 山东新北洋信息技术股份有限公司 filed Critical 山东新北洋信息技术股份有限公司
Publication of WO2013056634A1 publication Critical patent/WO2013056634A1/en

Links

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

Definitions

  • a conventional image scaling printing control method prints and outputs image data of a source image by using an interpolation algorithm according to a scaling ratio.
  • image scaling interpolation algorithms include nearest neighbor interpolation algorithm, bilinear interpolation algorithm and cubic convolution algorithm.
  • the principle of the nearest neighbor interpolation algorithm is that a floating point coordinate obtained by inverse transformation is simply rounded to obtain an integer coordinate, and the pixel value corresponding to the integer coordinate is the pixel value of the target pixel.
  • the pixel value closest to the floating point coordinate in the source image is assigned to the target pixel value.
  • the algorithm is characterized by fast data processing, but the enlarged image has a very serious mosaic, and the reduced image has severe distortion. .
  • the pixel value of the floating point coordinates obtained by the inverse linear transformation algorithm is determined by the four real existing pixel values around the floating point in the source image.
  • the algorithm is characterized by slow data processing and smooth image. However, bilinear interpolation has the property of a low-pass filter, which impairs high-frequency components, and thus blurs the outline of the image.
  • the pixel value of the floating point coordinates obtained by the inverse convolution algorithm is determined by the pixel values of 16 neighbors around the floating point coordinates.
  • a primary object of the present invention is to provide an image scaling print control method and apparatus and a printing system to solve the problem of slow printing speed when scaling printing and requiring high image print quality.
  • an image scaling print control method is provided.
  • the image scaling print control method includes: acquiring a print job; acquiring a zoom ratio according to the print job; generating a data processing resolution according to the device resolution and the zoom ratio; and determining the number of sources in the print task according to the data processing resolution Converted to bitmap data; and send bitmap data to the printer.
  • obtaining the zoom ratio according to the print job includes: if the zoom parameter input by the operator is a percentage value, the percentage value is used as the zoom ratio; and if the zoom parameter input by the operator is the destination page size, according to the original page size and purpose The page size is calculated to get the zoom ratio.
  • generating the data processing resolution according to the device resolution and the scaling ratio comprises: multiplying the scaling ratio by the device resolution to obtain a data processing resolution.
  • converting the source data in the print job into the bitmap data according to the data processing resolution comprises: converting the source data into bitmap data having the same number of pixels as the data processing resolution.
  • the method further includes: the printer printing the bitmap data according to the device resolution.
  • the image scaling print control apparatus includes: a first acquisition module, configured to acquire a print job; a second acquisition module, configured to acquire a zoom ratio according to the print job; and a generation module, configured to generate a data processing resolution according to the device resolution and the zoom ratio a conversion module for converting source data in the print job into bitmap data according to a data processing resolution; and a transmitting module for transmitting the bitmap data to the printer.
  • the scaling parameter input by the operator is a percentage value
  • the second obtaining module is configured to use the percentage value as the scaling ratio; if the scaling parameter input by the operator is the destination page size, the calculation is based on the original page size and the destination page size.
  • the zoom ratio if the scaling parameter input by the operator is a percentage value, the second obtaining module is configured to use the percentage value as the scaling ratio; if the scaling parameter input by the operator is the destination page size, the calculation is based on the original page size and the destination page size. The zoom ratio.
  • generating the data processing resolution according to the device resolution and the scaling ratio comprises: multiplying the scaling ratio by the device resolution to obtain a data processing resolution.
  • converting the source data in the print job into the bitmap data according to the data processing resolution comprises: converting the source data into bitmap data having the same number of pixels as the data processing resolution.
  • the image scaling print control apparatus further includes: a printing module, configured to print the bitmap data according to the device resolution.
  • FIG. 1 is a schematic diagram of an image scaling print control apparatus according to a first embodiment of the present invention
  • FIG. 2 is a schematic diagram of an image zoom printing control apparatus according to a second embodiment of the present invention
  • 4 is a flow chart of an image scaling print control method according to a first embodiment of the present invention
  • FIG. 5 is a flowchart of an image zoom printing control method according to a second embodiment of the present invention
  • FIG. 7 is a schematic diagram of an interaction process between a GDI and a printer driver according to an embodiment of the present invention.
  • the image scaling print control device includes a first acquisition module 10, a second acquisition module 20, a generation module 30, a conversion module 40, and a transmission module 50.
  • the first obtaining module 10 is configured to acquire a print job, and the first obtaining module 10 may be a module for receiving a print job in the image zoom print control device, or may be a module for generating a print job according to an input of the user.
  • the second obtaining module 20 is configured to obtain a zoom ratio according to the print task, where the print task includes print data and a print configuration parameter input by the operator. If the zoom parameter input by the operator is a percentage value, the second acquisition module 20 uses the percentage value as a zoom. Ratio, if the scaling parameter input by the operator is the destination page size, the second obtaining module 20 calculates the scaling ratio according to the original page size and the destination page size.
  • the generating module 30 is configured to generate a data processing resolution according to the device resolution and the scaling ratio.
  • the conversion module 40 is configured to convert the source data in the print job into bitmap data in accordance with the data processing resolution.
  • the transmitting module 50 is configured to send the generated device resolution and bitmap data to the printer. After receiving the bitmap data, the printer can print the bitmap data according to the device resolution.
  • the device resolution refers to the physical resolution of the printer.
  • 2 is a schematic diagram of an image scaling print control apparatus according to a second embodiment of the present invention. As shown in FIG. 2, the image scaling print control apparatus of this embodiment includes a printing module 60 in addition to the respective portions in the first embodiment.
  • the print module 60 is for printing bitmap data in accordance with the device resolution (ie, the physical resolution of the printer).
  • the image scaling print control apparatus since it is only necessary to determine the number of pixel points in the bitmap data according to the scaling ratio, it is not necessary to calculate the pixel value according to the interpolation algorithm, thereby solving the problem of high-precision printing quality in scaling printing.
  • the problem of slow printing speed which in turn increases the printing speed.
  • a print requesting apparatus e.g., a host
  • it is possible to correspond to a print requesting apparatus e.g., a host
  • a print requesting apparatus having the image-scaling print control apparatus, while providing print data of high print quality. The effect of improving the data processing speed.
  • the image scaling printing control device by combining the image scaling printing control device and any one of the printers, the purpose of referring to the printing speed while ensuring the print quality can be achieved, and only needs to be configured in the image zoom printing control device. There is a device resolution corresponding to the printer.
  • the image printing apparatus of the second embodiment it is possible to correspond to a printing system composed of a printing requesting apparatus and a printer, by which the printing speed can be achieved while ensuring print quality.
  • the image scaling print control apparatus of the embodiment of the present invention can be realized by the following printing system.
  • 3 is a schematic diagram of a printing system in accordance with an embodiment of the present invention. As shown, the printing system includes a host 1 and a printer 2.
  • the host 1 serves as a print requesting device corresponding to the image scaling print control device described above, and may be a computer or other control device, including a control unit 11, a storage unit 12, and a communication interface 13. Among them, the control unit 11 operates based on the operating system and the installer in the storage unit 12, thereby performing various information processing operations.
  • the storage unit 12 includes a ROM memory, a RAM memory, and a hard disk drive.
  • the storage unit 12 stores a program to be executed by the control unit 11.
  • the storage unit 12 is also used to store various types of data required during the processing performed by the control unit 11.
  • the installer in the storage unit 12 includes an application 14, a Graphics Device Interface (GDI) 15 and a printer driver 16.
  • GDI Graphics Device Interface
  • the application 14 includes a data generating unit 14a, a function invoking unit 14b, and a user interface 14c, wherein the data generating unit 14a is configured to create a device context (Device Context, abbreviated as DC), and generate source data into the device environment;
  • the calling unit 14b is used to call the GDI function in the GDI 15 to make a graphic output request;
  • the user interface 14c is used for the operator to perform data interaction with the application 14, for example, setting format information of the source data, printing configuration parameters, and the like.
  • the GDI 15 is used for information exchange between the application 14 and the printer driver 16, and processes the graphical output request of the application 14.
  • the GDI 15 rasterizes the source data generated by the application 14 through its internally set GDI function to generate bitmap data.
  • the printer driver 16 includes a general printer description (abbreviated as GPD, abbreviated as Generic Printer Description) 16a and a user interface (hereinafter referred to as UI, abbreviated as User Interface) 16b, wherein the GPD 16a includes data structures and functions for describing the printer. Data on functions and capabilities, such as device resolution, color capabilities, and paper size supported by the printer, where device resolution refers to the printer's output resolution, ie, the printer can print up to two inches per inch in both horizontal and vertical directions.
  • GPD general printer description
  • UI abbreviated as User Interface
  • the number of dots printed such as 600 dots per inch (ie 600 DPI, where DPI is the abbreviation for dot/inch), is stored in the data structure.
  • the user interface 16b includes data structures and functions for the operator to interact with the printer driver 16 for data interaction. The operator can configure the printer's print parameters in the user interface 16b, such as the operator setting the number of prints, paper in the user interface. Size, scaling parameters, etc. GPD16a and UI16b interact with GDI15 via functions.
  • the communication interface 13 is used to establish communication between the host 1 and the printer 2, and transmits data and instructions generated by the host 1 to the printer 2.
  • the GDI 15 calls a corresponding function in the printer driver 16, such as a control function, a drawing function, etc., to interact with the printer driver 16, and the application 14
  • the created source data is rasterized to generate bitmap data.
  • GDI15 transfers the system's drawing instructions to the printer driver and calls the functions of printer driver 16.
  • the function of printer driver 16 converts the drawing instructions into print instructions that the printer can execute, and printer driver 16 transmits the bitmap data and print instructions to the printer via communication interface 14.
  • the first acquisition module 10 in the image scaling print control device can create a print job through the application 14 to acquire a print job.
  • the second obtaining module 20 can be implemented by the user interface 14c of the application 14 or the UI 16b in the print driver 16, for example, if the zoom parameter input by the operator through the user interface 14c of the application 14 or the UI 16b in the print driver 16 is For the percentage value, the second acquisition module 20 directly uses the percentage value as the scaling ratio.
  • the generation module 30 can also be implemented by the printer driver 16, which multiplies the acquired scaling ratio by the device resolution y saved in the printer driver to obtain a data processing resolution.
  • the conversion module 40 can be implemented by the GDI 15 and the printer driver 16, and the GDI 15 and the printer driver 16 perform data interaction through function calls, converting the source data into pixel numbers and data processing resolution.
  • the same bitmap data, the sending module 50 can be realized by the printer driver and the communication interface, and the printer driver sends the bitmap data and the printing command to the communication interface of the printer through the communication interface.
  • the printer 2 includes a controller 21, a print buffer 22, a receiving buffer 23, a communication interface 24, and a print head 25.
  • the controller 21 is used to control each module of the printer 2 to perform work.
  • the communication interface 24 is connected to the communication interface 14 of the host through a wired cable or a wireless communication module, and is configured to receive print data delivered by the host or feed back the status of the printer 2 to the host 1.
  • the receiving buffer 23 is configured to temporarily store the first print data received by the communication interface 24, the first print data including the bitmap data sent by the printer driver and the print instruction print buffer 22 for temporarily storing the second print data.
  • the second print data is data generated by the controller 21 after processing the bitmap data according to the print instruction.
  • the print buffer 22 and the receive buffer 23 may be separate RAM (random access memory) memories, or may be different storage areas in one RAM memory.
  • the print head 25 is for printing bitmap data on the surface of the recording medium to form a visible image or text.
  • the image scaling printing control method of the embodiment of the present invention is described below. It should be noted that the image scaling printing control method may be implemented by, but not limited to, the image scaling printing control device or the printing system provided by the above embodiments.
  • the image zoom printing control method includes the following steps: Step S102: Acquire a print job; the obtaining a print job in the step may be receiving a print task from an external, or may be generated or created according to a user input. Print the task. Step S104, obtaining a zoom ratio according to the print job. Step S106, generating a data processing resolution according to the device resolution and the scaling ratio. Step S108, converting the source data in the print job into bitmap data according to the data processing resolution. Step S110, the device resolution and the bitmap data are sent to the printer.
  • FIG. 6 is a flowchart of a method for controlling image scaling printing according to a third embodiment of the present invention.
  • the second embodiment can be used as a specific implementation of the image scaling printing control method of the first embodiment.
  • the method includes the following steps: S201, creating a print job, proposing an image output requesting operator to create a print job through the application 14 and the printer driver 16, wherein the text file or the picture file is created by the application 14 and passed through the user interface and/or the printer of the application 14.
  • the UI 16b of the driver 16 inputs the print configuration parameters.
  • Print configuration parameters include print quantity, paper size, zoom parameters, and more.
  • the zoom parameter may be set in the user interface 14c of the application 14 or in the UI 16b of the printer driver 16.
  • the function calling unit 14b of the application 14 calls the GDI function of the GDI 15 to make an image output request.
  • Step S202 the UI 16b of the zoom ratio printer driver 16 is acquired to obtain a zoom ratio.
  • the UI 16b of the printer driver 16 may directly obtain the zoom ratio x%;
  • the zoom parameter input by the operator through the UI 16b is the destination page size.
  • the printer driver 16 also needs to calculate the zoom ratio x% from the values of the original page size and the destination page size.
  • Step S203 generating a data processing resolution according to the scaling ratio and the device resolution.
  • the printer driver 16 saves the data processing resolution z to the data structure, ie the device resolution in the data structure of the printer driver is reassigned to the data processing resolution z, but the assignment is only valid for this print job.
  • the device resolution parameter of the printer driver's data structure is reinitialized to the device resolution.
  • Step S204 converting the source data into the bitmap data GDI15 according to the data processing resolution and the printer driver 16 perform data interaction through the function call, and convert the source data into bitmap data having the same number of pixels and the same data processing resolution.
  • Figure 7 is a schematic diagram of the interaction process between the GDI and the printer driver.
  • GDI calls the relevant function of the print driver, such as GDI by calling The DrvEnableDriver function initializes the printer driver and returns a list of DLLs supported by the printer driver.
  • GDI returns the description of the physical device properties to GDI by calling the DrvEnablePDEV function.
  • GDI notifies the printer driver physical device by calling the DrvCompletePDEV function. The installation has been completed.
  • This function also provides the driver with a logical handle to the GDI of the PDEV (abbreviation of the physical device) for the driver to use in calling the GDI function.
  • GDI calls DrvEnableSurface to cause the printer driver to create the surface to be drawn and Associate it with PDEV.
  • the print driver calls back the GDI output function in the process of implementing the above functions.
  • the printer driver requests the GDI to create and manage the bitmap by calling the EngCreateBitmap function, and sets the surface as the binding surface by calling the EngMarkBandingSurface function.
  • the printer driver must associate the surface with a PDEV by calling GDI's EngAssociateSurface function, which also tells the GDI printer driver which drawing function to hang on the surface.
  • the GDI 15 and the printer driver 16 perform data interaction by function calls, and convert the source data into bitmap data having the same number of pixels as the data processing resolution. For example, set the device resolution to 300 DPI.
  • the data processing resolution is 150 DPI.
  • GDI15 converts the source data into bitmap data with the same number of pixels and the data processing resolution of 150 DPI, that is, the source data is converted into each. Bitmap data with 150 pixels in pixels; when the zoom ratio is 100% (ie, no scaling), the data processing resolution is 300 DPI, which is equal to the device resolution, and GDI15 converts the source data into pixel numbers and data processing resolution of 300 DPI.
  • the source data is converted into bitmap data with 300 pixels per inch; when the zoom ratio is 200%, the data processing resolution is 600DPI, GDI converts the source data into pixel number and data processing resolution
  • the 600DPI has the same bitmap data, which converts the source data into bitmap data with 600 pixels per inch.
  • the printer driver sends the bitmap data and the print command to the printer printer driver to send the bitmap data and the print command to the communication interface of the printer through the communication interface.
  • the controller of the printer saves the received bitmap data and print instructions to the receive buffer.
  • the controller processes the bitmap data according to the print command, for example, adding a start character, a terminator, and The capacity description, etc., and save the processed per-pixel row data to the set address in the print buffer.
  • Step S206 the printer prints the bitmap data according to the device resolution.
  • the controller of the printer sends the bitmap data in the print buffer to the print head line by line, and the print head outputs the bitmap data according to the device resolution in the horizontal and vertical directions.
  • the device resolution 300DPI
  • the number of pixels per inch 300DPI
  • the zoom ratio 50%
  • the number of pixels of the bitmap data generated by the device resolution is reduced by 0.5 times in both the horizontal and vertical directions, so the print width becomes 0.5 times, the print length is also 0.5 times, and the print area is 0.25 times. , thus achieving the purpose of reducing printing.
  • the bitmap data is one inch wide
  • the number of pixels of the bitmap data generated by the data processing resolution is increased by 2 times in the horizontal and vertical directions than the number of pixels of the bitmap data generated by the device resolution, so the print width is It is twice as large as the original, the print length is also doubled, and the print area is 4 times that of the original, thus achieving enlargement printing.
  • the data processing resolution is generated by the printer driver according to the zoom ratio and the device resolution, and the GDI and the printer driver perform data interaction through function calls, converting the source data into pixel numbers and data processing.
  • the printer prints the bitmap data according to the device resolution, so that the source data is scaled proportionally in the print width direction and the print length direction.
  • the embodiment of the present invention uses the GDI and the printer driver to rasterize the source data, and only needs to increase or decrease the number of pixel points in the bitmap data according to the scaling ratio, and does not need to calculate the pixel value according to the interpolation algorithm.
  • the present application also provides a computer read-only storage medium storing a computer program for executing the image scaling print control method of the first embodiment.
  • the computer read-only storage medium may be a conventional optical disc, a USB flash drive or the like, or may be a storage medium provided by the Internet for storing a downloadable computer program.
  • the image scaling printing control scheme provided by the embodiment of the present invention can be implemented by the operator installing the computer program in a print requesting device, such as a host, and then connecting the print requesting device and the printer.

Abstract

A method and apparatus for controlling the scaled printing of images, and a printing system. The method for controlling the scaled printing of images comprises: acquiring a printing task; acquiring a scaling ratio according to the printing task; generating data processing resolution according to a device resolution and the scaling ratio; converting source data in the printing task into bitmap data according to the data processing resolution; and printing the bitmap data according to the device resolution. The method for controlling the scaled printing of images improves printing speed during scaled printing while meeting high printing quality requirements.

Description

图像缩放打印控制方法及装置和打印系统 技术领域 本发明涉及打印领域, 具体而言, 涉及一种图像缩放打印控制方法及装置和打印 系统。 背景技术 传统的图像缩放打印控制方法是根据缩放比例, 利用插值算法对源图的图像数据 进行处理后打印输出。 比如, 常用的图像缩放插值算法包括最邻近插值算法、 双线性 内插值算法和三次卷积算法等。 其中, 最邻近插值算法的原理是, 通过反向变换得到 的一个浮点坐标, 对其进行简单的取整, 得到一个整数型坐标, 这个整数型坐标对应 的像素值就是目的像素的像素值, 也就是将源图像中离该浮点坐标最近的像素值赋予 目的像素值, 该算法的特点是数据处理速度快, 但放大后的图像有很严重的马赛克, 缩小后的图像有很严重的失真。 双线性内插值算法通过反向变换得到的浮点坐标的像素值是由源图中浮点四周的 四个真实存在的像素值共同决定, 该算法的特点是数据处理速度慢, 图像平滑, 但双 线性插值具有低通滤波器的性质, 使高频分量受损, 所以会使图像轮廓变得模糊。 三 次卷积算法通过反向变换得到的浮点坐标的像素值是由浮点坐标周围的 16 个邻点的 像素值确定, 该算法由于计算精度高, 因此能够克服以上两种算法的不足, 但是计算 量大, 数据处理速度更加缓慢。 发明人发现, 通过插值算法进行缩放打印, 对图像打印质量要求越高, 则对插值 算法的计算精度要求就越高。但是, 插值算法的计算精度越高, 数据处理计算量越大, 造成数据处理速度缓慢, 从而影响打印速度。 发明内容 本发明的主要目的在于提供一种图像缩放打印控制方法及装置和打印系统, 以解 决在缩放打印且对图像打印质量要求较高时打印速度慢的问题。 为了实现上述目的,根据本发明的一个方面,提供了一种图像缩放打印控制方法。 该图像缩放打印控制方法包括: 获取打印任务; 根据打印任务获取缩放比率; 根据设 备分辨率和缩放比率生成数据处理分辨率; 按照数据处理分辨率将打印任务中的源数 据转换成位图数据; 以及将位图数据发送至打印机。 通过该图像缩放打印控制方法, 可以实现在提供高打印质量的打印数据的同时提高数据处理速度的目的。 进一步地, 根据打印任务获取缩放比率包括: 如果操作者输入的缩放参数为百分 比数值, 则将百分比数值作为缩放比率; 以及如果操作者输入的缩放参数为目的页面 尺寸, 则根据原始页面尺寸和目的页面尺寸计算得到缩放比率。 进一步地, 根据设备分辨率和缩放比率生成数据处理分辨率包括: 将缩放比率乘 以设备分辨率, 得到数据处理分辨率。 进一步地, 按照数据处理分辨率将打印任务中的源数据转换成位图数据包括: 将 源数据转换成像素数与数据处理分辨率相同的位图数据。 进一步地, 在将位图数据发送至打印机之后, 上述方法还包括: 打印机按照设备 分辨率打印位图数据。 为了实现上述目的,根据本发明的另一方面,提供了一种图像缩放打印控制装置。 该图像缩放打印控制装置包括: 第一获取模块, 用于获取打印任务; 第二获取模块, 用于根据打印任务获取缩放比率; 生成模块, 用于根据设备分辨率和缩放比率生成数 据处理分辨率; 转换模块, 用于按照数据处理分辨率将打印任务中的源数据转换成位 图数据; 以及发送模块, 用于将位图数据发送至打印机。 进一步地, 如果操作者输入的缩放参数为百分比数值, 第二获取模块用于将百分 比数值作为缩放比率; 如果操作者输入的缩放参数为目的页面尺寸, 则根据原始页面 尺寸和目的页面尺寸计算得到缩放比率。 进一步地, 根据设备分辨率和缩放比率生成数据处理分辨率包括: 将缩放比率乘 以设备分辨率, 得到数据处理分辨率。 进一步地, 按照数据处理分辨率将打印任务中的源数据转换成位图数据包括: 将 源数据转换成像素数与数据处理分辨率相同的位图数据。 进一步地, 上述图像缩放打印控制装置还包括: 打印模块, 用于按照设备分辨率 打印位图数据。 通过本发明, 采用获取打印任务; 根据打印任务获取缩放比率; 根据设备分辨率 和缩放比率生成数据处理分辨率; 按照数据处理分辨率将打印任务中的源数据转换成 位图数据; 以及按照设备分辨率打印位图数据的方法, 由于仅需要根据缩放比例确定 位图数据中的像素点的数量, 不需要根据插值算法计算像素值, 因而解决了在缩放打 印且对图像打印质量要求较高时打印速度慢的问题,进而达到了提高打印速度的效果。 附图说明 构成本申请的一部分的附图用来提供对本发明的进一步理解, 本发明的示意性实 施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图中: 图 1是根据本发明第一实施例的图像缩放打印控制装置的示意图; 图 2是根据本发明第二实施例的图像缩放打印控制装置的示意图; 图 3是根据本发明实施例的打印系统的示意图; 图 4是根据本发明第一实施例的图像缩放打印控制方法的流程图; 图 5是根据本发明第二实施例的图像缩放打印控制方法的流程图; 图 6是根据本发明第三实施例的图像缩放打印控制方法的流程图; 以及 图 7是根据本发明实施例的 GDI与打印机驱动程序之间的交互过程示意图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 图 1是根据本发明第一实施例的图像缩放打印控制装置的示意图。 如图 1所示, 该图像缩放打印控制控制装置包括第一获取模块 10、 第二获取模块 20、 生成模块 30、 转换模块 40和发送模块 50。 第一获取模块 10用于获取打印任务, 该第一获取模块 10可以是图像缩放打印控 制装置中接收打印任务的模块, 也可以是图像缩放打印控制装置根据用户的输入生成 创建打印任务的模块。 第二获取模块 20用于根据打印任务获取缩放比率,打印任务包括打印数据和操作 者输入的打印配置参数, 如果操作者输入的缩放参数为百分比数值, 则第二获取模块 20将百分比数值作为缩放比率, 如果操作者输入的缩放参数为目的页面尺寸, 则第二 获取模块 20根据原始页面尺寸和目的页面尺寸计算得到缩放比率。 生成模块 30用于根据设备分辨率和缩放比率生成数据处理分辨率。 转换模块 40用于按照数据处理分辨率将打印任务中的源数据转换成位图数据。 发送模块 50用于将生成的设备分辨率和位图数据发送至打印机。打印机在接收到 位图数据后就可以按照设备分辨率来打印位图数据, 设备分辨率指打印机的物理分辨 率。 图 2是根据本发明第二实施例的图像缩放打印控制装置的示意图。 如图 2所示, 该实施例的图像缩放打印控制装置除了包括第一实施例中的各个部 分之外, 还包括打印模块 60。 打印模块 60用于按照设备分辨率 (即打印机的物理分辨率) 打印位图数据。 在上述的图像缩放打印控制装置中, 由于仅需要根据缩放比例确定位图数据中的 像素点的数量, 不需要根据插值算法计算像素值, 因而解决了在缩放打印且对图像打 印质量要求较高时打印速度慢的问题, 进而提高了打印速度。 对于第一实施例的图像缩放打印控制装置, 可以对应于打印请求装置 (如主机), 例如, 通过具有该图像缩放打印控制装置的打印请求装置即可达到在提供高打印质量 的打印数据的同时提高数据处理速度的效果, 进一步地, 通过该图像缩放打印控制装 置和任意一台打印机相结合就可以实现在保证打印质量的同时提到打印速度的目的, 只需要在图像缩放打印控制装置中配置有与该打印机对应的设备分辨率即可。 对于第 二实施例的图像打印装置, 可以对应于由打印请求装置和打印机构成的打印系统, 通 过该打印系统本身就可以实现在保证打印质量的同时提到打印速度的目的。 本发明实施例的图像缩放打印控制装置可以通过以下的打印系统来实现。 图 3是根据本发明实施例的打印系统的示意图。 如图所示, 打印系统包括主机 1 和打印机 2。 主机 1作为打印请求装置, 对应于上述的图像缩放打印控制装置, 可以 是计算机或其他控制设备, 包括控制单元 11、 存储单元 12和通讯接口 13。 其中, 控 制单元 11基于操作系统和存储单元 12中的安装程序来进行操作, 从而执行各种信息 处理操作。 存储单元 12包括 ROM存储器、 RAM存储器和硬盘驱动器。 存储单元 12 存储了要由控制单元 11执行的程序。该存储单元 12还用于存储在由控制单元 11执行 的处理过程期间所需的各种类型的数据。 存储单元 12 中的安装程序包括应用程序 14、 图形设备接口 (Graphics Device Interface, 以下简称为 GDI) 15和打印机驱动程序 16。其中, 应用程序 14包括数据生 成单元 14a、 函数调用单元 14b和用户界面 14c, 其中, 数据生成单元 14a用于创建设 备环境 (Device Context, 简称为 DC), 并生成源数据到设备环境中; 函数调用单元 14b用于调用 GDI15中的 GDI函数, 提出图形输出请求; 用户界面 14c用于操作者与 应用程序 14进行数据交互, 比如, 设置源数据的格式信息、 打印配置参数等。 GDI15 用于应用程序 14与打印机驱动程序 16之间的信息交换,处理应用程序 14的图形输出 请求。 GDI15通过其内部设置的 GDI函数对应用程序 14生成的源数据光栅化, 生成 位图数据。 打印机驱动程序 16包括通用打印机描述 (简称 GPD, 即 Generic Printer Description的缩写) 16a和用户界面 (以下简称 UI, 即 User Interface的缩写) 16b, 其中, GPD16a包括数据结构和函数, 用于描述打印机的功能和能力的数据, 比如设 备分辨率、 颜色能力以及打印机支持的纸张大小等, 其中设备分辨率是指打印机的输 出分辨率,即打印机在打印输出时横向和纵向两个方向上每英寸最多能够打印的点数, 如 600点 /英寸 (即 600DPI, 其中 DPI为 dot/inch的缩写), 这些数据保存在数据结构 中。用户界面 16b包括数据结构和函数,用于操作者与打印机驱动程序 16进行数据交 互, 操作者在用户界面 16b中可以对打印机的打印参数进行配置, 比如操作者在用户 界面中设置打印数量、 纸张尺寸、 缩放参数等。 GPD16a和 UI16b通过函数与 GDI15 进行数据交互。通讯接口 13用于建立主机 1与打印机 2之间的通讯,将主机 1生成的 数据和指令传送给打印机 2。 当应用程序 14的函数调用单元 14b调用 GDI函数,提出图像输出请求时, GDI15 调用打印机驱动程序 16中相应的函数, 比如控制函数、绘图函数等, 与打印机驱动程 序 16进行交互, 将应用程序 14创建的源数据光栅化, 生成位图数据。 同时, GDI15 将系统的绘图指令传送给打印机驱动程序, 并调用打印机驱动程序 16的函数。打印机 驱动程序 16 的函数将绘图指令转换为打印机能够执行的打印指令, 打印机驱动程序 16通过通讯接口 14将位图数据和打印指令传送给打印机。 图像缩放打印控制装置中的第一获取模块 10可以通过应用程序 14创建打印任务 以获取打印任务。 第二获取模块 20可以通过应用程序 14的用户界面 14c或打印驱动 程序 16中的 UI16b实现, 例如, 如果操作者通过应用程序 14的用户界面 14c或印驱 动程序 16中的 UI16b输入的缩放参数为百分比数值, 则第二获取模块 20直接将百分 比数值作为缩放比率。 生成模块 30也可以通过打印机驱动程序 16来实现, 打印机驱 动程序 16将获取到的缩放比率乘以打印机驱动程序中保存的设备分辨率 y, 得到数据 处理分辨率。 转换模块 40可以通过 GDI15和打印机驱动程序 16来实现, GDI15和打 印机驱动程序 16通过函数调用进行数据交互,将源数据转换成像素数与数据处理分辨 率相同的位图数据, 发送模块 50可以通过打印机驱动程序和通讯接口实现, 打印机驱 动程序通过通讯接口将位图数据和打印指令发送给打印机的通讯接口。 打印机 2包括控制器 21、 打印缓冲区 22、 接收缓冲区 23、 通讯接口 24和打印头 25。 其中, 控制器 21用于控制打印机 2的各模块执行工作。 通讯接口 24通过有线电 缆或无线通讯模块与主机的通讯接口 14连接, 用于接收主机下发的打印数据, 或者向 主机 1反馈打印机 2的状态。 接收缓冲区 23用于暂时保存由通讯接口 24接收到的第 一打印数据, 该第一打印数据包括由打印机驱动程序发送的位图数据及打印指令打印 缓冲区 22用于暂时存储第二打印数据, 其中, 第二打印数据是控制器 21根据打印指 令对位图数据进行处理后生成的数据。 需要说明的是, 打印缓冲区 22 和接收缓冲区 23可以是各自独立的 RAM (随机存储器)存储器, 也可以是一个 RAM存储器中的不 同存储区域。打印头 25用于将位图数据打印在记录介质的表面上, 形成可视的图像或 文字。 以下介绍本发明实施例的图像缩放打印控制方法, 需要说明的是, 该图像缩放打 印控制方法可以但不限于通过上述实施例提供的图像缩放打印控制装置或者打印系统 来实现。 图 4是根据本发明第一实施例的图像缩放打印控制方法的流程图。 如图 4所示, 该图像缩放打印控制方法包括以下步骤: 步骤 S102, 获取打印任务; 该步骤中的获取打印任务可以是接收来自外部的打印 任务, 也可以是根据用户的输入生成或创建的打印任务。 步骤 S104, 根据打印任务获取缩放比率。 步骤 S106, 根据设备分辨率和缩放比率生成数据处理分辨率。 步骤 S108, 按照数据处理分辨率将打印任务中的源数据转换成位图数据。 步骤 S110, 将设备分辨率和位图数据发送至打印机。 上述的步骤 S102至步骤 S110可以均通过打印请求装置来执行, 打印请求装置在 得到位图数据之后, 将位图数据发送至打印机以便打印机执行步骤 S112。 因而进一步 地, 上述的图像缩放打印控制方法可以进一步包括以下步骤: 步骤 S112, 按照设备分辨率打印位图数据, 如图 5所示。 图 6是根据本发明第三实施例的图像缩放打印控制方法流程图, 该第二实施例可 以作为第一实施例的图像缩放打印控制方法的一种具体实现方式, 该方法包括以下步 骤: 步骤 S201 , 创建打印任务, 提出图像输出请求 操作者通过应用程序 14和打印机驱动程序 16创建打印任务, 其中, 通过应用程 序 14创建文本文件或图片文件, 并通过应用程序 14的用户界面和 /或打印机驱动程序 16的 UI16b输入打印配置参数。打印配置参数包括打印数量、纸张尺寸、缩放参数等。 其中, 缩放参数可以在应用程序 14 的用户界面 14c中设置, 或者在打印机驱动程序 16的 UI16b设置。应用程序 14的函数调用单元 14b调用 GDI15的 GDI函数, 提出图 像输出请求。 步骤 S202, 获取缩放比率 打印机驱动程序 16的 UI16b获取缩放比率, 如果操作者通过 UI16b输入的缩放 参数为百分比数值, 如 60%, 则打印机驱动程序 16的 UI16b可以直接获取该缩放比 率 x%; 如果操作者通过 UI16b输入的缩放参数为目的页面尺寸, 如目的页面尺寸为 A5, 则打印机驱动程序 16还需要通过原始页面尺寸与目的页面尺寸的值计算得到缩 放比率 x%。 步骤 S203 , 根据缩放比率与设备分辨率生成数据处理分辨率 打印机驱动程序 16将获取到的缩放比率 x%乘以打印机驱动程序 16的数据结构中 保存的设备分辨率 y, 得到数据处理分辨率 z, 即 z=y*x%。打印机驱动程序 16将数据 处理分辨率 z保存至数据结构中, 即打印机驱动程序的数据结构中的设备分辨率被重 新赋值为数据处理分辨率 z, 但该赋值只对本次打印作业有效。 当启动下一次打印作业时, 打印机驱动程序的数据结构的设备分辨率参数重新初 始化为设备分辨率。 步骤 S204, 按照数据处理分辨率将源数据转换成位图数据 GDI15和打印机驱动程序 16通过函数调用进行数据交互,将源数据转换成像素数 与数据处理分辨率相同的位图数据。 图 7是 GDI和打印机驱动程序之间的交互过程示意图。如图所示,在 GDI与打印 机驱动程序的交互过程中, GDI调用打印驱动程序的相关函数, 比如 GDI通过调用 DrvEnableDriver函数, 使打印机驱动程序初始化, 并返回打印机驱动程序支持的 DLL 列表, GDI通过调用 DrvEnablePDEV函数, 使打印机驱动程序向 GDI返回物理设备 属性的描述, GDI通过调用 DrvCompletePDEV函数,通知打印机驱动程序物理设备的 安装已经完成, 这个函数也给驱动程序提供到 PDEV (物理设备的缩写) 的 GDI 的 逻辑句柄,供驱动程序在调用 GDI 函数中使用, GDI调用 DrvEnableSurface, 使打印 机驱动程序建立要绘制的表面并将其和 PDEV相关。 同时, 打印驱动程序在实现上述 功能的过程中又回调 GDI输出的函数,比如打印机驱动程序通过调用 EngCreateBitmap 函数请求 GDI创建并管理位图, 通过调用 EngMarkBandingSurface函数标记设定表面 作为绑定表面, 随着表面的创建,打印机驱动程序必须通过调用 GDI 的 EngAssociateSurface 函数使表面与一个 PDEV相关, 这个调用也告诉 GDI 打印机驱 动程序为表面挂上了哪个绘图函数。从而, GDI15和打印机驱动程序 16通过函数调用 进行数据交互, 将源数据转换成像素数与数据处理分辨率相同的位图数据。 比如, 设定设备分辨率为 300DPI, 当缩放比率为 50%时, 数据处理分辨率为 150DPI, GDI15将源数据转换成像素数与数据处理分辨率 150DPI相同的位图数据, 即将源数据转换成每英寸像素数为 150点的位图数据;当缩放比率为 100% (即无缩放) 时, 数据处理分辨率为 300DPI, 与设备分辨率相等, GDI15将源数据转换成像素数与 数据处理分辨率 300DPI相同的位图数据, 即将源数据转换成每英寸像素数为 300点 的位图数据; 当缩放比率为 200%时, 数据处理分辨率为 600DPI, GDI将源数据转换 成像素数与数据处理分辨率 600DPI相同的位图数据, 即将源数据转换成每英寸像素 数为 600点的位图数据。 步骤 S205, 打印机驱动程序将位图数据和打印指令发送给打印机 打印机驱动程序通过通讯接口将位图数据和打印指令发送给打印机的通讯接口。 打印机的控制器将接收到的位图数据和打印指令保存到接收缓冲区中, 同时, 控制器 根据打印指令对位图数据进行处理, 比如, 对每像素行数据添加起始符、 终止符及容 量描述等, 并将处理后的每像素行数据保存到打印缓冲区中的设定地址。 步骤 S206, 打印机按照设备分辨率打印位图数据 打印机的控制器将打印缓冲区中的位图数据逐行发送给打印头, 打印头在横向和 纵向按照设备分辨率输出位图数据。 当设备分辨率为 300DPI时, 每英寸的像素数为 300DPI, 当缩放比率为 50%,, 数 据处理分辨率 =300DPIx50%=150DPI, 这样在横向和纵向上, 每英寸的像素数均为 150 点。 因此, 当打印宽度为一英寸、 长度为一英寸的位图数据时, 在打印宽度方向, 采 用设备分辨率时生成的像素数为 300x1=300点, 采用数据处理分辨率生成的像素数为 150x1=150点, 在打印长度方向, 采用设备分辨率时生成的像素数为 300x1=300点, 采用数据处理分辨率生成的像素数为 150x1=150点, 这样, 采用同样的打印机打印一 英寸宽、 一英寸宽的位图数据时, 由于数据处理分辨率生成的位图数据的像素点数量 比设备分辨率生成的位图数据的像素点数量在横向和纵向均减少了 0.5倍, 因此打印 宽度就变为原来的 0.5倍, 打印长度也变成原来的 0.5倍, 打印面积为原来的 0.25倍, 从而实现了缩小打印的目的。 当缩放比率为 200%, 数据处理分辨率 =300DPIx200%=600DPI, 这样每英寸的像 素数变为 600点。 因此, 当打印宽度为一英寸、 长度为一英寸的位图数据时, 在打印 宽度方向, 采用设备分辨率时生成的像素数为 300x1=300点, 采用数据处理分辨率生 成的像素数为 600x1=600 点, 在打印长度方向, 采用设备分辨率时生成的像素数为 300x1=300点, 采用数据处理分辨率生成的像素数为 600x1=600点, 这样, 采用同样 的打印机打印一英寸宽、 一英寸宽的位图数据时, 由于数据处理分辨率生成的位图数 据的像素点数量比设备分辨率生成的位图数据的像素点数量在横向和纵向均增加了 2 倍, 因此打印宽度就变为原来的 2倍, 打印长度也变成原来的 2倍, 打印面积为原来 的 4倍, 从而实现了放大打印。 根据本发明实施例的图像缩放打印控制方法, 通过打印机驱动程序根据缩放比率 和设备分辨率生成数据处理分辨率, GDI和打印机驱动程序通过函数调用进行数据交 互, 将源数据转换成像素数与数据处理分辨率相同的位图数据, 打印机按照设备分辨 率打印位图数据, 从而使源数据在打印宽度方向和打印长度方向实现同比例缩放。 与 现有技术相比, 本发明实施例利用 GDI和打印机驱动程序对源数据进行光栅化处理, 仅需要根据缩放比例增加或减少位图数据中像素点的数量, 不需要根据插值算法计算 像素值, 因此, 数据处理速度快, 打印质量高。 本申请还提供了一种计算机只读存储介质, 该计算机只读存储介质存储有用于执 行第一实施例的图像缩放打印控制方法的计算机程序。 该计算机只读存储介质可以是 常规的光盘、 优盘等存储器, 也可以是以互联网提供的用于存储可下载计算机程序的 存储介质。 操作者将该计算机程序安装于打印请求装置, 例如主机中, 然后将打印请 求装置和打印机相连接即可以实现本发明实施例提供的图像缩放打印控制方案。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to the field of printing, and in particular to an image scaling printing control method and apparatus and a printing system. BACKGROUND OF THE INVENTION A conventional image scaling printing control method prints and outputs image data of a source image by using an interpolation algorithm according to a scaling ratio. For example, commonly used image scaling interpolation algorithms include nearest neighbor interpolation algorithm, bilinear interpolation algorithm and cubic convolution algorithm. The principle of the nearest neighbor interpolation algorithm is that a floating point coordinate obtained by inverse transformation is simply rounded to obtain an integer coordinate, and the pixel value corresponding to the integer coordinate is the pixel value of the target pixel. That is, the pixel value closest to the floating point coordinate in the source image is assigned to the target pixel value. The algorithm is characterized by fast data processing, but the enlarged image has a very serious mosaic, and the reduced image has severe distortion. . The pixel value of the floating point coordinates obtained by the inverse linear transformation algorithm is determined by the four real existing pixel values around the floating point in the source image. The algorithm is characterized by slow data processing and smooth image. However, bilinear interpolation has the property of a low-pass filter, which impairs high-frequency components, and thus blurs the outline of the image. The pixel value of the floating point coordinates obtained by the inverse convolution algorithm is determined by the pixel values of 16 neighbors around the floating point coordinates. This algorithm can overcome the shortcomings of the above two algorithms because of the high calculation accuracy, but The amount of calculation is large and the data processing speed is slower. The inventors have found that the scaling of printing by interpolation algorithm, the higher the image printing quality requirement, the higher the calculation accuracy requirement for the interpolation algorithm. However, the higher the calculation accuracy of the interpolation algorithm, the larger the amount of data processing calculation, resulting in slow data processing speed, which affects the printing speed. SUMMARY OF THE INVENTION A primary object of the present invention is to provide an image scaling print control method and apparatus and a printing system to solve the problem of slow printing speed when scaling printing and requiring high image print quality. In order to achieve the above object, according to an aspect of the present invention, an image scaling print control method is provided. The image scaling print control method includes: acquiring a print job; acquiring a zoom ratio according to the print job; generating a data processing resolution according to the device resolution and the zoom ratio; and determining the number of sources in the print task according to the data processing resolution Converted to bitmap data; and send bitmap data to the printer. With the image scaling print control method, it is possible to achieve the purpose of improving the data processing speed while providing print data of high print quality. Further, obtaining the zoom ratio according to the print job includes: if the zoom parameter input by the operator is a percentage value, the percentage value is used as the zoom ratio; and if the zoom parameter input by the operator is the destination page size, according to the original page size and purpose The page size is calculated to get the zoom ratio. Further, generating the data processing resolution according to the device resolution and the scaling ratio comprises: multiplying the scaling ratio by the device resolution to obtain a data processing resolution. Further, converting the source data in the print job into the bitmap data according to the data processing resolution comprises: converting the source data into bitmap data having the same number of pixels as the data processing resolution. Further, after transmitting the bitmap data to the printer, the method further includes: the printer printing the bitmap data according to the device resolution. In order to achieve the above object, according to another aspect of the present invention, an image scaling print control apparatus is provided. The image scaling print control apparatus includes: a first acquisition module, configured to acquire a print job; a second acquisition module, configured to acquire a zoom ratio according to the print job; and a generation module, configured to generate a data processing resolution according to the device resolution and the zoom ratio a conversion module for converting source data in the print job into bitmap data according to a data processing resolution; and a transmitting module for transmitting the bitmap data to the printer. Further, if the scaling parameter input by the operator is a percentage value, the second obtaining module is configured to use the percentage value as the scaling ratio; if the scaling parameter input by the operator is the destination page size, the calculation is based on the original page size and the destination page size. The zoom ratio. Further, generating the data processing resolution according to the device resolution and the scaling ratio comprises: multiplying the scaling ratio by the device resolution to obtain a data processing resolution. Further, converting the source data in the print job into the bitmap data according to the data processing resolution comprises: converting the source data into bitmap data having the same number of pixels as the data processing resolution. Further, the image scaling print control apparatus further includes: a printing module, configured to print the bitmap data according to the device resolution. By the present invention, acquiring a print job; acquiring a zoom ratio according to the print job; generating a data processing resolution according to the device resolution and the zoom ratio; converting the source data in the print task into bitmap data according to the data processing resolution; Resolution method for printing bitmap data, since it only needs to be determined according to the scaling ratio The number of pixels in the bitmap data does not need to be calculated according to the interpolation algorithm, thereby solving the problem that the printing speed is slow when the printing is scaled and the image quality is high, and the printing speed is improved. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in FIG. In the drawings: FIG. 1 is a schematic diagram of an image scaling print control apparatus according to a first embodiment of the present invention; FIG. 2 is a schematic diagram of an image zoom printing control apparatus according to a second embodiment of the present invention; 4 is a flow chart of an image scaling print control method according to a first embodiment of the present invention; FIG. 5 is a flowchart of an image zoom printing control method according to a second embodiment of the present invention; A flowchart of an image scaling print control method according to a third embodiment of the present invention; and FIG. 7 is a schematic diagram of an interaction process between a GDI and a printer driver according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. 1 is a schematic diagram of an image scaling print control apparatus according to a first embodiment of the present invention. As shown in FIG. 1, the image scaling print control device includes a first acquisition module 10, a second acquisition module 20, a generation module 30, a conversion module 40, and a transmission module 50. The first obtaining module 10 is configured to acquire a print job, and the first obtaining module 10 may be a module for receiving a print job in the image zoom print control device, or may be a module for generating a print job according to an input of the user. The second obtaining module 20 is configured to obtain a zoom ratio according to the print task, where the print task includes print data and a print configuration parameter input by the operator. If the zoom parameter input by the operator is a percentage value, the second acquisition module 20 uses the percentage value as a zoom. Ratio, if the scaling parameter input by the operator is the destination page size, the second obtaining module 20 calculates the scaling ratio according to the original page size and the destination page size. The generating module 30 is configured to generate a data processing resolution according to the device resolution and the scaling ratio. The conversion module 40 is configured to convert the source data in the print job into bitmap data in accordance with the data processing resolution. The transmitting module 50 is configured to send the generated device resolution and bitmap data to the printer. After receiving the bitmap data, the printer can print the bitmap data according to the device resolution. The device resolution refers to the physical resolution of the printer. 2 is a schematic diagram of an image scaling print control apparatus according to a second embodiment of the present invention. As shown in FIG. 2, the image scaling print control apparatus of this embodiment includes a printing module 60 in addition to the respective portions in the first embodiment. The print module 60 is for printing bitmap data in accordance with the device resolution (ie, the physical resolution of the printer). In the image scaling print control apparatus described above, since it is only necessary to determine the number of pixel points in the bitmap data according to the scaling ratio, it is not necessary to calculate the pixel value according to the interpolation algorithm, thereby solving the problem of high-precision printing quality in scaling printing. The problem of slow printing speed, which in turn increases the printing speed. With the image scaling print control apparatus of the first embodiment, it is possible to correspond to a print requesting apparatus (e.g., a host), for example, by providing a print requesting apparatus having the image-scaling print control apparatus, while providing print data of high print quality. The effect of improving the data processing speed. Further, by combining the image scaling printing control device and any one of the printers, the purpose of referring to the printing speed while ensuring the print quality can be achieved, and only needs to be configured in the image zoom printing control device. There is a device resolution corresponding to the printer. With the image printing apparatus of the second embodiment, it is possible to correspond to a printing system composed of a printing requesting apparatus and a printer, by which the printing speed can be achieved while ensuring print quality. The image scaling print control apparatus of the embodiment of the present invention can be realized by the following printing system. 3 is a schematic diagram of a printing system in accordance with an embodiment of the present invention. As shown, the printing system includes a host 1 and a printer 2. The host 1 serves as a print requesting device corresponding to the image scaling print control device described above, and may be a computer or other control device, including a control unit 11, a storage unit 12, and a communication interface 13. Among them, the control unit 11 operates based on the operating system and the installer in the storage unit 12, thereby performing various information processing operations. The storage unit 12 includes a ROM memory, a RAM memory, and a hard disk drive. The storage unit 12 stores a program to be executed by the control unit 11. The storage unit 12 is also used to store various types of data required during the processing performed by the control unit 11. The installer in the storage unit 12 includes an application 14, a Graphics Device Interface (GDI) 15 and a printer driver 16. The application 14 includes a data generating unit 14a, a function invoking unit 14b, and a user interface 14c, wherein the data generating unit 14a is configured to create a device context (Device Context, abbreviated as DC), and generate source data into the device environment; The calling unit 14b is used to call the GDI function in the GDI 15 to make a graphic output request; the user interface 14c is used for the operator to perform data interaction with the application 14, for example, setting format information of the source data, printing configuration parameters, and the like. The GDI 15 is used for information exchange between the application 14 and the printer driver 16, and processes the graphical output request of the application 14. The GDI 15 rasterizes the source data generated by the application 14 through its internally set GDI function to generate bitmap data. The printer driver 16 includes a general printer description (abbreviated as GPD, abbreviated as Generic Printer Description) 16a and a user interface (hereinafter referred to as UI, abbreviated as User Interface) 16b, wherein the GPD 16a includes data structures and functions for describing the printer. Data on functions and capabilities, such as device resolution, color capabilities, and paper size supported by the printer, where device resolution refers to the printer's output resolution, ie, the printer can print up to two inches per inch in both horizontal and vertical directions. The number of dots printed, such as 600 dots per inch (ie 600 DPI, where DPI is the abbreviation for dot/inch), is stored in the data structure. The user interface 16b includes data structures and functions for the operator to interact with the printer driver 16 for data interaction. The operator can configure the printer's print parameters in the user interface 16b, such as the operator setting the number of prints, paper in the user interface. Size, scaling parameters, etc. GPD16a and UI16b interact with GDI15 via functions. The communication interface 13 is used to establish communication between the host 1 and the printer 2, and transmits data and instructions generated by the host 1 to the printer 2. When the function calling unit 14b of the application 14 calls the GDI function to make an image output request, the GDI 15 calls a corresponding function in the printer driver 16, such as a control function, a drawing function, etc., to interact with the printer driver 16, and the application 14 The created source data is rasterized to generate bitmap data. At the same time, GDI15 transfers the system's drawing instructions to the printer driver and calls the functions of printer driver 16. The function of printer driver 16 converts the drawing instructions into print instructions that the printer can execute, and printer driver 16 transmits the bitmap data and print instructions to the printer via communication interface 14. The first acquisition module 10 in the image scaling print control device can create a print job through the application 14 to acquire a print job. The second obtaining module 20 can be implemented by the user interface 14c of the application 14 or the UI 16b in the print driver 16, for example, if the zoom parameter input by the operator through the user interface 14c of the application 14 or the UI 16b in the print driver 16 is For the percentage value, the second acquisition module 20 directly uses the percentage value as the scaling ratio. The generation module 30 can also be implemented by the printer driver 16, which multiplies the acquired scaling ratio by the device resolution y saved in the printer driver to obtain a data processing resolution. The conversion module 40 can be implemented by the GDI 15 and the printer driver 16, and the GDI 15 and the printer driver 16 perform data interaction through function calls, converting the source data into pixel numbers and data processing resolution. The same bitmap data, the sending module 50 can be realized by the printer driver and the communication interface, and the printer driver sends the bitmap data and the printing command to the communication interface of the printer through the communication interface. The printer 2 includes a controller 21, a print buffer 22, a receiving buffer 23, a communication interface 24, and a print head 25. The controller 21 is used to control each module of the printer 2 to perform work. The communication interface 24 is connected to the communication interface 14 of the host through a wired cable or a wireless communication module, and is configured to receive print data delivered by the host or feed back the status of the printer 2 to the host 1. The receiving buffer 23 is configured to temporarily store the first print data received by the communication interface 24, the first print data including the bitmap data sent by the printer driver and the print instruction print buffer 22 for temporarily storing the second print data. The second print data is data generated by the controller 21 after processing the bitmap data according to the print instruction. It should be noted that the print buffer 22 and the receive buffer 23 may be separate RAM (random access memory) memories, or may be different storage areas in one RAM memory. The print head 25 is for printing bitmap data on the surface of the recording medium to form a visible image or text. The image scaling printing control method of the embodiment of the present invention is described below. It should be noted that the image scaling printing control method may be implemented by, but not limited to, the image scaling printing control device or the printing system provided by the above embodiments. 4 is a flow chart of an image zoom printing control method according to a first embodiment of the present invention. As shown in FIG. 4, the image zoom printing control method includes the following steps: Step S102: Acquire a print job; the obtaining a print job in the step may be receiving a print task from an external, or may be generated or created according to a user input. Print the task. Step S104, obtaining a zoom ratio according to the print job. Step S106, generating a data processing resolution according to the device resolution and the scaling ratio. Step S108, converting the source data in the print job into bitmap data according to the data processing resolution. Step S110, the device resolution and the bitmap data are sent to the printer. The above-described steps S102 to S110 may each be performed by the print requesting means, and after the bitmap request data is obtained, the print requesting means transmits the bitmap data to the printer for the printer to execute step S112. Therefore, the image scaling print control method described above may further include the following steps: Step S112, printing bitmap data according to device resolution, as shown in FIG. 5. FIG. 6 is a flowchart of a method for controlling image scaling printing according to a third embodiment of the present invention. The second embodiment can be used as a specific implementation of the image scaling printing control method of the first embodiment. The method includes the following steps: S201, creating a print job, proposing an image output requesting operator to create a print job through the application 14 and the printer driver 16, wherein the text file or the picture file is created by the application 14 and passed through the user interface and/or the printer of the application 14. The UI 16b of the driver 16 inputs the print configuration parameters. Print configuration parameters include print quantity, paper size, zoom parameters, and more. The zoom parameter may be set in the user interface 14c of the application 14 or in the UI 16b of the printer driver 16. The function calling unit 14b of the application 14 calls the GDI function of the GDI 15 to make an image output request. Step S202, the UI 16b of the zoom ratio printer driver 16 is acquired to obtain a zoom ratio. If the zoom parameter input by the operator through the UI 16b is a percentage value, such as 60%, the UI 16b of the printer driver 16 may directly obtain the zoom ratio x%; The zoom parameter input by the operator through the UI 16b is the destination page size. If the destination page size is A5, the printer driver 16 also needs to calculate the zoom ratio x% from the values of the original page size and the destination page size. Step S203, generating a data processing resolution according to the scaling ratio and the device resolution. The printer driver 16 multiplies the obtained scaling ratio x% by the device resolution y saved in the data structure of the printer driver 16, to obtain a data processing resolution. , ie z=y*x%. The printer driver 16 saves the data processing resolution z to the data structure, ie the device resolution in the data structure of the printer driver is reassigned to the data processing resolution z, but the assignment is only valid for this print job. When the next print job is initiated, the device resolution parameter of the printer driver's data structure is reinitialized to the device resolution. Step S204, converting the source data into the bitmap data GDI15 according to the data processing resolution and the printer driver 16 perform data interaction through the function call, and convert the source data into bitmap data having the same number of pixels and the same data processing resolution. Figure 7 is a schematic diagram of the interaction process between the GDI and the printer driver. As shown in the figure, during the interaction between GDI and the printer driver, GDI calls the relevant function of the print driver, such as GDI by calling The DrvEnableDriver function initializes the printer driver and returns a list of DLLs supported by the printer driver. GDI returns the description of the physical device properties to GDI by calling the DrvEnablePDEV function. GDI notifies the printer driver physical device by calling the DrvCompletePDEV function. The installation has been completed. This function also provides the driver with a logical handle to the GDI of the PDEV (abbreviation of the physical device) for the driver to use in calling the GDI function. GDI calls DrvEnableSurface to cause the printer driver to create the surface to be drawn and Associate it with PDEV. At the same time, the print driver calls back the GDI output function in the process of implementing the above functions. For example, the printer driver requests the GDI to create and manage the bitmap by calling the EngCreateBitmap function, and sets the surface as the binding surface by calling the EngMarkBandingSurface function. For surface creation, the printer driver must associate the surface with a PDEV by calling GDI's EngAssociateSurface function, which also tells the GDI printer driver which drawing function to hang on the surface. Thus, the GDI 15 and the printer driver 16 perform data interaction by function calls, and convert the source data into bitmap data having the same number of pixels as the data processing resolution. For example, set the device resolution to 300 DPI. When the zoom ratio is 50%, the data processing resolution is 150 DPI. GDI15 converts the source data into bitmap data with the same number of pixels and the data processing resolution of 150 DPI, that is, the source data is converted into each. Bitmap data with 150 pixels in pixels; when the zoom ratio is 100% (ie, no scaling), the data processing resolution is 300 DPI, which is equal to the device resolution, and GDI15 converts the source data into pixel numbers and data processing resolution of 300 DPI. The same bitmap data, the source data is converted into bitmap data with 300 pixels per inch; when the zoom ratio is 200%, the data processing resolution is 600DPI, GDI converts the source data into pixel number and data processing resolution The 600DPI has the same bitmap data, which converts the source data into bitmap data with 600 pixels per inch. Step S205, the printer driver sends the bitmap data and the print command to the printer printer driver to send the bitmap data and the print command to the communication interface of the printer through the communication interface. The controller of the printer saves the received bitmap data and print instructions to the receive buffer. At the same time, the controller processes the bitmap data according to the print command, for example, adding a start character, a terminator, and The capacity description, etc., and save the processed per-pixel row data to the set address in the print buffer. Step S206, the printer prints the bitmap data according to the device resolution. The controller of the printer sends the bitmap data in the print buffer to the print head line by line, and the print head outputs the bitmap data according to the device resolution in the horizontal and vertical directions. When the device resolution is 300DPI, the number of pixels per inch is 300DPI, when the zoom ratio is 50%, the data processing resolution = 300DPIx50% = 150DPI, so that the number of pixels per inch is 150 points in the horizontal and vertical directions. . Therefore, when printing bitmap data with a width of one inch and a length of one inch, in the print width direction, The number of pixels generated by the device resolution is 300x1=300 points, the number of pixels generated by the data processing resolution is 150x1=150 points, and the number of pixels generated by the device resolution in the print length direction is 300x1=300 points. The number of pixels generated by the data processing resolution is 150x1=150 points, so that when the same printer prints one-inch wide and one-inch wide bitmap data, the number of pixels of the bitmap data generated by the data processing resolution is larger. The number of pixels of the bitmap data generated by the device resolution is reduced by 0.5 times in both the horizontal and vertical directions, so the print width becomes 0.5 times, the print length is also 0.5 times, and the print area is 0.25 times. , thus achieving the purpose of reducing printing. When the zoom ratio is 200%, the data processing resolution = 300 DPIx 200% = 600 DPI, so that the number of pixels per inch becomes 600 points. Therefore, when printing bitmap data with a width of one inch and one inch of length, in the print width direction, the number of pixels generated by the device resolution is 300x1=300 points, and the number of pixels generated by the data processing resolution is 600x1. =600 points, in the print length direction, the number of pixels generated by the device resolution is 300x1=300 points, and the number of pixels generated by the data processing resolution is 600x1=600 points, so that the same printer prints one inch wide, When the bitmap data is one inch wide, the number of pixels of the bitmap data generated by the data processing resolution is increased by 2 times in the horizontal and vertical directions than the number of pixels of the bitmap data generated by the device resolution, so the print width is It is twice as large as the original, the print length is also doubled, and the print area is 4 times that of the original, thus achieving enlargement printing. According to the image scaling print control method of the embodiment of the present invention, the data processing resolution is generated by the printer driver according to the zoom ratio and the device resolution, and the GDI and the printer driver perform data interaction through function calls, converting the source data into pixel numbers and data processing. With the same bitmap data, the printer prints the bitmap data according to the device resolution, so that the source data is scaled proportionally in the print width direction and the print length direction. Compared with the prior art, the embodiment of the present invention uses the GDI and the printer driver to rasterize the source data, and only needs to increase or decrease the number of pixel points in the bitmap data according to the scaling ratio, and does not need to calculate the pixel value according to the interpolation algorithm. Therefore, the data processing speed is fast and the print quality is high. The present application also provides a computer read-only storage medium storing a computer program for executing the image scaling print control method of the first embodiment. The computer read-only storage medium may be a conventional optical disc, a USB flash drive or the like, or may be a storage medium provided by the Internet for storing a downloadable computer program. The image scaling printing control scheme provided by the embodiment of the present invention can be implemented by the operator installing the computer program in a print requesting device, such as a host, and then connecting the print requesting device and the printer. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种图像缩放打印控制方法, 其特征在于包括: An image scaling printing control method, comprising:
获取打印任务;  Get a print job;
根据所述打印任务获取缩放比率;  Obtaining a zoom ratio according to the print job;
根据设备分辨率和所述缩放比率生成数据处理分辨率;  Generating a data processing resolution based on the device resolution and the scaling ratio;
按照所述数据处理分辨率将所述打印任务中的源数据转换成位图数据; 以 及  Converting source data in the print job into bitmap data according to the data processing resolution; and
将所述位图数据发送至打印机。  The bitmap data is sent to the printer.
2. 根据权利要求 1所述的图像缩放打印控制方法, 其特征在于, 根据所述打印任 务获取缩放比率包括: 2. The image scaling printing control method according to claim 1, wherein the obtaining a zoom ratio according to the printing task comprises:
如果操作者输入的缩放参数为百分比数值, 则将所述百分比数值作为所述 缩放比率; 以及  If the scaling parameter input by the operator is a percentage value, the percentage value is taken as the scaling ratio;
如果操作者输入的缩放参数为目的页面尺寸, 则根据原始页面尺寸和所述 目的页面尺寸计算得到所述缩放比率。  If the scaling parameter input by the operator is the destination page size, the scaling ratio is calculated based on the original page size and the destination page size.
3. 根据权利要求 1所述的图像缩放打印控制方法, 其特征在于, 根据设备分辨率 和所述缩放比率生成数据处理分辨率包括: 3. The image scaling print control method according to claim 1, wherein the generating the data processing resolution according to the device resolution and the scaling ratio comprises:
将所述缩放比率乘以所述设备分辨率, 得到所述数据处理分辨率。  Multiplying the scaling ratio by the device resolution yields the data processing resolution.
4. 根据权利要求 1所述的图像缩放打印控制方法, 其特征在于, 按照所述数据处 理分辨率将所述打印任务中的源数据转换成位图数据包括: 将所述源数据转换成像素数与所述数据处理分辨率相同的位图数据。 4. The image scaling print control method according to claim 1, wherein converting the source data in the print job into bitmap data according to the data processing resolution comprises: converting the source data into a number of pixels The bitmap data has the same resolution as the data processing.
5. 根据权利要求 1所述的图像缩放打印控制方法, 其特征在于, 在将所述数据处 理分辨率和所述位图数据发送至打印机之后, 所述方法还包括: 所述打印机按照所述设备分辨率打印所述位图数据。 5. The image scaling print control method according to claim 1, wherein after the data processing resolution and the bitmap data are transmitted to the printer, the method further comprises: the printer according to the The device resolution prints the bitmap data.
6. 一种图像缩放打印控制装置, 其特征在于包括: 6. An image scaling print control apparatus, comprising:
第一获取模块, 用于获取打印任务;  a first obtaining module, configured to acquire a print task;
第二获取模块, 用于根据所述打印任务获取缩放比率; 生成模块, 用于根据设备分辨率和所述缩放比率生成数据处理分辨率; 转换模块, 用于按照所述数据处理分辨率将所述打印任务中的源数据转换 成位图数据; 以及 a second obtaining module, configured to acquire a zoom ratio according to the print task; a generating module, configured to generate a data processing resolution according to the device resolution and the scaling ratio; and a conversion module, configured to convert source data in the printing task into bitmap data according to the data processing resolution;
发送模块, 用于所述位图数据发送至打印机。  a sending module, configured to send the bitmap data to the printer.
7. 根据权利要求 6所述的图像缩放打印控制装置, 其特征在于, 如果操作者输入 的缩放参数为百分比数值, 所述第二获取模块用于将所述百分比数值作为所述 缩放比率; 如果操作者输入的缩放参数为目的页面尺寸, 则根据原始页面尺寸 和所述目的页面尺寸计算得到所述缩放比率。 7. The image scaling print control apparatus according to claim 6, wherein if the scaling parameter input by the operator is a percentage value, the second obtaining module is configured to use the percentage value as the scaling ratio; The scaling parameter input by the operator is the destination page size, and the scaling ratio is calculated according to the original page size and the destination page size.
8. 根据权利要求 6所述的图像缩放打印控制装置, 其特征在于, 所述生成模块用 于将所述缩放比率乘以所述设备分辨率, 得到所述数据处理分辨率。 8. The image scaling print control apparatus according to claim 6, wherein the generating module is configured to multiply the scaling ratio by the device resolution to obtain the data processing resolution.
9. 根据权利要求 6所述的图像缩放打印控制装置, 其特征在于, 所述转换模块用 于将所述源数据转换成像素数与所述数据处理分辨率相同的位图数据。 9. The image scaling print control apparatus according to claim 6, wherein the conversion module is configured to convert the source data into bitmap data having the same number of pixels as the data processing resolution.
10. 根据权利要求 6所述的图像缩放打印控制装置, 其特征在于, 还包括: 打印模块, 用于按照所述设备分辨率打印所述位图数据。 10. The image scaling print control apparatus according to claim 6, further comprising: a printing module, configured to print the bitmap data according to the device resolution.
11. 一种打印系统, 其特征在于包括: 11. A printing system, comprising:
打印请求装置, 用于获取打印任务, 根据所述打印任务获取缩放比率, 根 据设备分辨率和所述缩放比率生成数据处理分辨率, 按照所述数据处理分辨率 将所述打印任务中的源数据转换成位图数据; 以及  a print requesting device, configured to acquire a print job, acquire a zoom ratio according to the print job, generate a data processing resolution according to the device resolution and the zoom ratio, and source data in the print job according to the data processing resolution Convert to bitmap data; and
打印机, 用于接收来自所述打印请求装置的所述位图数据, 以及按照所述 设备分辨率打印所述位图数据。  And a printer for receiving the bitmap data from the print requesting device and printing the bitmap data according to the device resolution.
12. 根据权利要求 11所述的打印系统,其特征在于,所述打印请求装置用于采用以 下方式根据所述打印任务获取缩放比率: 12. The printing system according to claim 11, wherein the print requesting means is configured to acquire a zoom ratio according to the print job in the following manner:
如果操作者输入的缩放参数为百分比数值, 则将所述百分比数值作为所述 缩放比率; 以及  If the scaling parameter input by the operator is a percentage value, the percentage value is taken as the scaling ratio;
如果操作者输入的缩放参数为目的页面尺寸, 则根据原始页面尺寸和所述 目的页面尺寸计算得到所述缩放比率。  If the scaling parameter input by the operator is the destination page size, the scaling ratio is calculated based on the original page size and the destination page size.
13. 根据权利要求 11所述的打印系统,其特征在于,所述打印请求装置用于将所述 缩放比率乘以所述设备分辨率, 得到所述数据处理分辨率。 13. The printing system according to claim 11, wherein the print requesting means is configured to multiply the scaling ratio by the device resolution to obtain the data processing resolution.
4. 根据权利要求 11所述的打印系统,其特征在于,所述打印请求装置用于将所述 源数据转换成像素数与所述数据处理分辨率相同的位图数据。 4. The printing system according to claim 11, wherein the print requesting means is configured to convert the source data into bitmap data having the same number of pixels as the data processing resolution.
PCT/CN2012/082855 2011-10-17 2012-10-12 Method and apparatus for controlling scaled printing of images, and printing system WO2013056634A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110315220.X 2011-10-17
CN201110315220.XA CN103049227B (en) 2011-10-17 2011-10-17 Image scaling print control program and device and print system

Publications (1)

Publication Number Publication Date
WO2013056634A1 true WO2013056634A1 (en) 2013-04-25

Family

ID=48061880

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/082855 WO2013056634A1 (en) 2011-10-17 2012-10-12 Method and apparatus for controlling scaled printing of images, and printing system

Country Status (2)

Country Link
CN (1) CN103049227B (en)
WO (1) WO2013056634A1 (en)

Families Citing this family (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
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

Citations (7)

* 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
CN1641558A (en) * 2004-01-02 2005-07-20 德鑫科技股份有限公司 Image printing method
CN1885900A (en) * 2005-06-23 2006-12-27 三星电子株式会社 Method and apparatus to generate a pattern image
CN1927587A (en) * 2005-09-06 2007-03-14 三星电子株式会社 Array type inkjet printer system and control method thereof
CN101004834A (en) * 2006-12-29 2007-07-25 四川大学 Fault image segmentation method for images scanned from films
JP2008065671A (en) * 2006-09-08 2008-03-21 Fujifilm Corp Apparatus and method for dividing image, and program
CN101465954A (en) * 2009-01-08 2009-06-24 杭州华三通信技术有限公司 Method and device for zooming image

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100492276C (en) * 2003-05-20 2009-05-27 致伸科技股份有限公司 Printing method for simultaneouly executing content contracting, enlarging, merging and output

Patent Citations (7)

* 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
CN1641558A (en) * 2004-01-02 2005-07-20 德鑫科技股份有限公司 Image printing method
CN1885900A (en) * 2005-06-23 2006-12-27 三星电子株式会社 Method and apparatus to generate a pattern image
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
CN101004834A (en) * 2006-12-29 2007-07-25 四川大学 Fault image segmentation method for images scanned from films
CN101465954A (en) * 2009-01-08 2009-06-24 杭州华三通信技术有限公司 Method and device for zooming image

Also Published As

Publication number Publication date
CN103049227B (en) 2016-04-13
CN103049227A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
JP5643574B2 (en) Image processing apparatus and image processing method
JP6029344B2 (en) Image processing apparatus, image processing method, and program
JP6128782B2 (en) Image processing apparatus, image processing apparatus control method, program, and storage medium
JP5538792B2 (en) Image processing apparatus, control method thereof, and program
WO2008063622A1 (en) Methods and systems rendering a print job
WO2013056634A1 (en) Method and apparatus for controlling scaled printing of images, and printing system
JP6202908B2 (en) Image processing apparatus, image processing method, and program
JP4564986B2 (en) Image processing apparatus, image processing method, and image processing program
JP6120824B2 (en) Image processing apparatus, image processing method, and program
JP6464695B2 (en) Image processing apparatus and computer program
US10140558B2 (en) Print control system, print control apparatus, and program
JP5895428B2 (en) Printing apparatus and control method thereof
JP2017189968A (en) Image processing apparatus and image processing method
JP7137135B2 (en) computer program and controller
JP2011083914A (en) Image forming apparatus and method and program for controlling the same
KR100571960B1 (en) Apparatus and method for controlling image forming apparatus
JP2010282489A (en) Image forming device, control method, and control program
JP2016055536A (en) Image formation device, program, and control method for image formation device
JP2008078801A (en) Image processing method
JP2020029067A (en) Drawing processing apparatus, drawing processing method, and program
JP2010152597A (en) Printer driver, and print control method thereof
JP2011048519A (en) Print system, print control unit and program
JP2011155502A (en) Printing system performing color/monochrome determination, printing method, program
JP2009226752A (en) Printer for printing image data after performing image correction of the image data
JP2009232171A (en) Host device for sending printing job

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12842380

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12842380

Country of ref document: EP

Kind code of ref document: A1