CN104516689A - Processing method of virtual printing - Google Patents

Processing method of virtual printing Download PDF

Info

Publication number
CN104516689A
CN104516689A CN201310446926.9A CN201310446926A CN104516689A CN 104516689 A CN104516689 A CN 104516689A CN 201310446926 A CN201310446926 A CN 201310446926A CN 104516689 A CN104516689 A CN 104516689A
Authority
CN
China
Prior art keywords
picture
virtual printing
buffer memory
data
received
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.)
Pending
Application number
CN201310446926.9A
Other languages
Chinese (zh)
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.)
TIANJIN SCHOLAR SOFTWARE TECHNOLOGY Co Ltd
Original Assignee
TIANJIN SCHOLAR SOFTWARE 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 TIANJIN SCHOLAR SOFTWARE TECHNOLOGY Co Ltd filed Critical TIANJIN SCHOLAR SOFTWARE TECHNOLOGY Co Ltd
Priority to CN201310446926.9A priority Critical patent/CN104516689A/en
Publication of CN104516689A publication Critical patent/CN104516689A/en
Pending legal-status Critical Current

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/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • 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/1224Client or server resources management
    • G06F3/1225Software update, e.g. print driver, modules, plug-ins, fonts

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a processing method of virtual printing. The method comprises the steps of receiving virtual printing data, analyzing the property characteristics of received virtual printing data, and combining the data with the same property characteristics; before virtual printing, a plurality of separated pictures are combined to form an original picture for virtual printing according to the existing method; imaginary lines subjected to path filling description in the original document are processed by reducing to the imaginary line instruction description of a layout file and then performing virtual printing by the existing method. According to the method, the pictures and the imaginary lines are optimally processed to avoid enlarging of the layout file after the virtual printing as well as decreasing information loss of the layout files subjected to virtual printing, and as a result, the consistency of the layout file output in virtual printing and the original file can be ensured.

Description

A kind of disposal route of virtual printing
Technical field
The present invention relates to printing technique, to the disposal route of picture and dotted line in espespecially a kind of virtual printing.
Background technology
Virtual printing is exactly in software for editing, selects a virtual printer and utilizes the driving of virtual printer (driving hereinafter referred to as printing) to be exported with layout files form by the document in software for editing.Such as, in software for editing word, " Adobe PDF " virtual printer can be utilized to be pdf document by doc document subject feature vector.
When obtaining layout files by virtual printing, because the original document in source data and software for editing is if doc document is after printing the process driving standard interface, inevitably there is information loss, and the loss of information not only can affect the effect (layout files and the original document that namely export through virtual printing whether touch the same) of master original appearance, the size of layout files also can be made to become large thus reduce to show or the speed of printing layout files.
At present, in namely using printer to print in true printing, stopping printing in order to avoid the report EMS memory error that causes because data are excessive, for the process of picture in original document, is that large picture is cut into some little pictures.Generally, before the printing, the softwares such as application software first can carry out cutting by horizontal direction to large picture, such as Microsoft powerpoint are exactly that a large picture is cut into by horizontal direction the some little picture that height is a pixel.Because application software to distinguish that to print driving be that true printer driver or virtual printer drive, so also large picture can be cut into the optimization process of some little pictures for virtual printing, but, concerning virtual printing, will two problems be brought like this:
1) layout files will become large.
Because every pictures has fixing attributive character descriptor, such as wide, high, figure place, form, display position, display size etc.For a large picture, such descriptor only needs portion; And if this large picture is cut into n opens little picture, so, such information just needs n part, and obviously, after virtual printing, layout files will become large.And picture is that compression stores in layout files, and picture is less, and the effect of compression is better, when a large picture is cut into n little picture, obviously can fall low-compression effect.
2), when showing layout files, layout files compares with former figure and has error.
The coordinate imported into during virtual printing is integer numerical value, if former picture has made convergent-divergent when printing, so after cutting, needing to recalculate display position and display size, will have error after rounding like this.True printer prints, because the resolution of printer is higher, that minimum is 300dpi at present, therefore prints and compares with former figure, can not find out difference.But for the layout files after virtual printing, a purposes due to layout files is that the resolution of display during display is 96dpi, supposes that the resolution of layout files is 600dpi for display, so, being only amplified to 6.25 times during display could be the same with the effect of printing; And if show with former page size, then need the page to be reduced into 96/600=0.16 doubly, like this, recalculate be split after picture display position and display size time can produce error, when showing again, that can see between picture is discontinuous, and during the pdf file of such as acrobat after the Microsoft powerpoint showing Background prints, Background has obvious horizontal stripe.
In addition,
Print in driving true, (DrvFillPath) is filled in path and path description (DrvStrokePath) interface must realize, but the interface that path is described generally only includes process to solid line, and for the dotted line process of more complicated, some printings drive and but might not realize.Therefore, some application programs, as softwares such as common Microsoft word, when processing description dotted line, usually adopting path to fill and reaching same effect.This process to dotted line is concerning true printer, because its resolution is high, so there is no what problem, the effect after printing is the same with dotted line effect.
Because application software to distinguish that to print driving be that true printer driver or virtual printer drive, so path also can be adopted to fill for virtual printing be optimized process to dotted line.But concerning virtual printing, due to large to the information quantitative change of the layout files obtained after dotted line process, the layout files after virtual printing, can exist certain distortion, especially when showing, thus making layout files size become large, showing and printing slack-off.
Fig. 1 a ~ Fig. 1 c is three kinds of dotted lines conventional in Microsoft word, wherein Fig. 1 a dotted line that to be dash line similarly be, Fig. 1 b is the dotted line of a line-form, and Fig. 1 c is the dotted line of a line-point-form.
When truly printing, the instruction that word gives Virtual print drive by printing interface fills the information after process with path, and each real segment in dotted line is exactly that a path is filled.Be filled to example with the path of a little real segment in dotted line shown in Fig. 1 a, description comprises:
Fill Path m 900.00,1052.00l 919.00,1052.00 l 921.00,1053.00 l922.00,1055.00 l 921.00,1057.00 l 919.00,1058.00 l 900.00,1058.00 l898.00,1057.00 l 897.00,1055.00 l 898.00,1053.00 l 900.00,1052.00 l900.00,1052.00 endsubpath
Wherein, m represents the starting point of the position that current cursor moves on to and setting-out, and l represents that picture straight-line segment is to this point i.e. terminal of drawn line segment.
How many little real segments are had in Fig. 1 a, just there is the filling instruction that how many such, if use dotted line in a large number in one section of document, such as dotted line form etc., the data volume of the layout files after the dotted line conversion after the mode process adopting above-mentioned path to fill will be very large.Therefore, if not by dotted line information reverting, and directly fill with path and realize dotted line, then instruction number will significantly increase, thus make that the size of layout files becomes large, display and slowing of printing, also master original appearance is had a certain impact simultaneously.
In order to reduce information loss as far as possible, ensureing the consistance of the information of the layout files that virtual printing exports and original document simultaneously, needing to carry out corresponding optimization process to virtual printing.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide the disposal route to picture in a kind of virtual printing, can reduce the information loss of layout files after virtual printing, ensures the consistance of the information of the layout files that virtual printing exports and original document simultaneously.
Another object of the present invention is to provide the disposal route to dotted line in a kind of virtual printing, the information loss of layout files after virtual printing can be reduced, ensure the consistance of the information of the layout files that virtual printing exports and original document simultaneously.
For achieving the above object, technical scheme of the present invention is specifically achieved in that
(treat claim write after direct copying come)
As seen from the above technical solution, the present invention, before virtual printing, for the some pictures be split, first carries out merging treatment, to restore a width original image, and then realizes virtual printing according to existing method.By the optimization process of the present invention to picture, the change avoiding layout files after virtual printing is large, thus the information loss of layout files after decreasing virtual printing, ensure that the consistance of the layout files that virtual printing exports and source document.
For having adopted path to fill the dotted line described in original document, after being first reduced to the dotted line instruction description in layout files, then realize virtual printing according to existing method.Because dotted line instruction is very succinct, so, by the optimization process of the present invention to dotted line, avoid the change of layout files after virtual printing large, thus the information loss of layout files after decreasing virtual printing, ensure that the consistance of the layout files that virtual printing exports and source document.
Accompanying drawing explanation
Fig. 1 a is the dotted line schematic diagram of dash line form;
Fig. 1 b is the dotted line schematic diagram of a line-form;
Fig. 1 c is the dotted line schematic diagram of a line-point-form;
Fig. 2 is to the process flow diagram that picture processes in virtual printing of the present invention;
Fig. 3 a is the schematic diagram of the picture merging cutting from the top down in picture processing of the present invention;
Fig. 3 b is the schematic diagram of the picture merging cutting from bottom to top in picture processing of the present invention;
Fig. 4 is the process flow diagram to the embodiment that picture processes in virtual printing of the present invention;
Fig. 5 is to the process flow diagram that dotted line processes in virtual printing of the present invention;
Embodiment
For making object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment referring to accompanying drawing, the present invention is described in more detail.
Basic thought of the present invention is: receive virtual printing data, according to the attributive character of the specific data in the virtual printing data received, merges the pictorial information data belonging to same attributive character.When data are image data, the method for merging comprises: merge the pictorial information data belonging to same picture; When specific data is dotted line data, the method for merging comprises: description is filled in the path belonging to same dotted line in dotted line data and is converted to dotted line instruction.
For the pictorial information being cut into some little pictures in original document, Virtual print drive of the present invention, by the analysis to these little pictures, carries out virtual printing output after being reduced to former figure again.
Fig. 2 is to the process flow diagram that picture processes in virtual printing of the present invention, as shown in Figure 2, comprises the following steps:
Step 200: receive virtual printing data.
The realization of this step is consistent with existing method, repeats no more here.It should be noted that, if this virtual printing completes, then exit this flow process.
Step 201: according to the attributive character in the image data in the virtual printing data received, merges the pictorial information data belonging to same picture.
In the virtual printing data received, if there is image data, illustrate in the document needing to carry out virtual printing to there is picture, and, according to the process of existing print system to picture, if this picture is large picture, this picture is made up of the some little picture after cutting.
Image data comprises pictorial information data for describing image content and attributive character thereof, and generally, attributive character comprises:
1) receive the Virtual print drive interface function of image data, having three at present, is DrvBitBlt (), DrvStretchBlt () and DrvCopyBits () respectively.
2) the color figure place of picture, width, highly, form (as bmp or jpg etc.);
3) coordinate figure of display position, display size is as display width, display height;
4) raster operation code.
The pictorial information data meeting following condition come from same picture:
1) the Virtual print drive interface function receiving image data is identical;
2) compressed format of picture is identical, is such as all bmp uncompressed format;
3) picture must to connect display continuously in longitudinal direction (y direction): for the situation of cutting from top to bottom, equals the y coordinate figure of the display position of photo current after the y coordinate of a upper picture display position adds its display height; For the situation of cutting from the bottom up, the y coordinate of photo current display position adds the display position y coordinate figure equaling a picture after it shows height.
4) the color figure place of picture, width is identical, display height is identical with the height ratio of picture itself;
5) raster operation code is identical.
That is: the width of the picture received and the picture of buffer memory is equal, and display width also equal; The ratio of height after the display height of the picture received is split with it, the ratio of the height after the display height equaling the picture of buffer memory is split with it;
For the situation of cutting from the top down, the y coordinate of the display position of the picture of buffer memory adds its display height, equals the y coordinate figure of the display position of the picture be currently received; For the situation of cutting from bottom to top, the y coordinate of the display position of the picture be currently received adds its display height, equals the y coordinate figure of the display position of the picture of buffer memory; The picture received is identical with the raster operation code of the picture of buffer memory.
Two compressed formats, color figure place, picture that width is identical being merged in the y-direction in a picture of this step, needs the y coordinate figure revising picture height and display height and display position:
After merging, the height of picture is the height sum of the picture of picture and the buffer memory received; The display height sum of the picture that the display height of picture is the picture that receives and buffer memory after merging;
To the situation of cutting from the top down, after merging, the display position of picture is the display position of the picture of buffer memory; To the situation of cutting from bottom to top, the x coordinate figure of the display position of picture to be the x coordinate figure of the display position of the picture of buffer memory the be display position of the picture of buffer memory after merging, y coordinate figure is the height that the y coordinate figure of the displaing coordinate of the picture of buffer memory deducts the picture be currently received.
Citing below specifically describes the specific implementation of composing picture in step 201:
Fig. 3 a is the schematic diagram of the picture merging cutting from the top down in picture processing of the present invention, and Fig. 3 b is the schematic diagram of the picture merging cutting from bottom to top in picture processing of the present invention.In Fig. 3 a and Fig. 3 b, the left side is the picture A that is cut into of former figure and picture B, and suppose that picture A first receives, picture B is currently received; Right figure is these two figure be split displays in the page after convergent-divergent.
If picture A and picture B comes from same picture, so, picture A and picture B must meet the following conditions simultaneously:
(1) width is equal; The width of picture A and picture B is equal, and the width of display is also equal;
(2) ratio of picture A height after display height and the cutting of picture A, the display equaling picture B highly with cutting after the ratio of picture height, i.e. h21/h11=h22/h12;
(3) picture must display continuously.That is: for the situation of cutting from the top down, the y coordinate of the picture A display position first received adds its display height, equals the y coordinate figure of the display position of the picture B be currently received, i.e. y1+h21=y2; For the situation of cutting from bottom to top, the y coordinate of the picture B display position be currently received adds its display height, equals the y coordinate figure of the display position of the picture A first received, i.e. y2+h22=y1.
4) picture A is identical with the raster operation code of picture B.
The photo current B meeting above-mentioned 4 conditions is merged with the picture A first received, and revises the y coordinate figure of picture height and display height and display position.The method of the y coordinate figure of amendment picture height and display height and display position is: suppose that after picture A and picture B merges be new picture A, then the height of new picture A is h11+h12; Display is highly h21+h22; To the situation of cutting from the top down, display position is (x1, y1), and to the situation of cutting from bottom to top, display position is (x1, y1-h22).
Fig. 4 is the process flow diagram to the embodiment that picture processes in virtual printing of the present invention, as shown in Figure 4, comprises the steps:
Step 400 ~ step 401: receive virtual printing data, and whether the virtual printing interface function judging to receive data is one of in DrvBitBlt (), DrvStretchBlt () and DrvCopyBits (), if so, step 405 is entered; If not entering step 402.
Step 402: judge whether existing image cache, if do not had, enters step 403, otherwise enters step 404.
Be previously provided with the spatial cache of the image data received for buffer memory.
Step 403: process the virtual printing data be currently received, return step 400 afterwards.
Step 404: by the picture of buffer memory write layout files, and enter step 403 after emptying buffer memory.Wherein, the realization of write belongs to existing method, repeats no more here.
Step 405: judge whether existing image cache, if had, enters step 406, otherwise enters step 411.
Step 406: compare the picture in the picture and buffer memory be currently received, and judge whether to belong to same picture, if enter step 409; Otherwise enter step 407.The method of this step specific implementation is described in detail in fig. 2, repeats no more here.
Step 407 ~ step 408: by the picture of buffer memory write layout files, and return step 400 after utilizing the picture be currently received to upgrade buffer memory.
Step 409: merge the picture in the picture and buffer memory be currently received, and upgrade the characteristic attribute of the picture after merging.The specific implementation of this step has a detailed description in fig. 2, repeats no more here.
Step 410: return step 400 after utilizing the picture after merging to upgrade buffer memory.
Step 411: the picture be currently received is returned step 400 stored in after buffer memory.
From the flow process of Fig. 2 and Fig. 4, the present invention, before virtual printing, for the some pictures be split, first carries out merging treatment, to restore a width original image, and then realizes virtual printing according to existing method.By the optimization process of the present invention to picture, the change avoiding layout files after virtual printing is large, thus the information loss of layout files after decreasing virtual printing, ensure that the consistance of the layout files that virtual printing exports and source document.
For having adopted path to fill the dotted line described in original document, Virtual print drive of the present invention has carried out virtual printing output again after being reduced to the dotted line instruction description in layout files.
First simply introduce in layout files and how to adopt dotted line (dash) instruction to describe dotted line.
Dash is the description to line style characteristic, supposes that d is dash instruction, is the parameter of dash instruction afterwards:
Instruction d [] 0, represents solid line;
Instruction d [m] i, represents that the line segment of m length is solid line, the line segment of m length is dotted line, and from i%(m+m) describe length; Such as d [3] 5,5 moulds getting (3+3) are 5, then represent that first point from the 5th point is dotted line, second point starts the circulation that solid line is length 3, dotted line is length 3.
Instruction d [m n] i, represent that the line segment of m length is solid line, the line segment of n length is dotted line, from i%(m+n) describe length;
Instruction d [m n h k] i, represent that the line segment of m length is solid line, the line segment of n length is dotted line, and the line segment of h length is solid line, and the line segment of k length is solid line, from i%(m+n+h+k) describe length;
.... the like.It should be noted that, m, n can not be integers.
According to the method for dash instruction description dotted line in layout files, the complete instruction of Fig. 1 a ~ Fig. 1 c cathetus section is respectively:
d[3]0 m 108 746.6 l 300 746.54;
d[3 0.00075]0 m 108 746.6 l 300 746.54;
d[5.25 3 0.00075 3 0.00075 3]0 m 108 746.6 l 300 746.54。
Wherein, m represents the starting point of the position that current cursor moves on to and setting-out, and l represents that picture straight-line segment is to this point i.e. terminal of drawn line segment.Visible, these three phantom line segments dash instructions are very succinct.So, if dotted line adopts dotted line instruction to describe, to avoid owing to adopting path to fill to describe the change of layout files after the virtual printing that brings large, thus the information loss of layout files after reducing virtual printing, ensure the consistance of the layout files that virtual printing exports and source document.
Fig. 5 is to the process flow diagram that dotted line processes in virtual printing of the present invention, as shown in Figure 5, comprises the following steps:
Step 500: receive virtual printing data.Receiving the Virtual print drive interface function of filling in the path for describing dotted line is DrvFillPath ().
The realization of this step is consistent with existing method, repeats no more here.It should be noted that, if this virtual printing completes, then exit this flow process.
Step 501: description is filled in the path belonging to same dotted line in the virtual printing data received and is converted to dotted line instruction.
This step comprises two processes: process one judges to belong to the path filling of same dotted line; Process two is filled in the path belonging to same dotted line to be converted to dotted line instruction.
Process one, judges that the method that the path whether dotted line that description is filled in the path received belongs to same dotted line is filled is:
Step S1, compares the shape that the dotted line described is filled in two paths received, compares the method for shape:
Step a: whether coordinate counts identical, if count difference, think that shape is different, the two does not belong to same dotted line; Identical if counted, then continue to perform step b;
Step b: the true origin in each path is displaced to first point, then in more each path, whether the coordinate figure of each point is identical, if identical, then represents that the shape of the dotted line that two the paths fillings received describe is identical, otherwise different.
The method that the true origin in each path is displaced to first point is: the coordinate supposing first point in path is (x0, y0), by path x and y a little deduct x0 and y0 all respectively and namely obtain.
Further, an error can be pre-set as equaled 1, namely coordinate figure subtract each other after absolute value to be less than 1 coordinate figure namely representing in each path each point be identical.When set error is 0, judged result is definitely equal.
Described shape is all mutually: the coordinate that two paths received are filled is counted identical, and after first of second path point being displaced to first point in first path, two paths overlap completely, by second path after the coordinate transform of translation, in two paths, the coordinate figure of each corresponding point is identical, then described shape is identical.If shape is identical, then continue to perform step S2; Otherwise show that the path received is filled the dotted line described and do not belonged to same dotted line, continue to receive virtual printing data.
Step S2, connect the central point of current path and all central points having judged the path belonging to same dotted line, judge whether to be in same line segment, if central point is still on same line segment, then continue to perform step S3, otherwise show that the path received is filled the dotted line described and do not belonged to same dotted line, continue to receive virtual printing data.Here, allly judged that the path belonging to same dotted line can pre-exist in the buffer memory pre-set.Line segment comprises straight-line segment as horizontal linear section, straight vertical line segment or any direction straight-line segment.How to judge whether a point is positioned on these line segments and belong to mature technology, no longer describe in detail here.
The present invention to the optimization process of dotted line, except above-mentioned horizontal straight dashed line section, also comprises vertical straight dashed line section, any direction straight dashed line section etc. in virtual printing, its identify and reduction and horizontal straight dashed line difference mainly:
1) line segment that each fill path central point is formed after connecting is not horizontal linear section, and corresponding above-mentioned phantom line segments type except horizontal straight dashed line section is straight vertical line segment, any direction straight dashed line section etc. respectively;
2) when whether the shape of more each path filling is identical, different to transformation of coordinates.
Such as, horizontal linear section only needs coordinate to offset, make first some position (0 in each path, 0) coordinate points, but for other phantom line segments, except true origin being displaced to except first of each path, just can compare after also carrying out rotational transform possibly, specific implementation belongs to those skilled in the art's conventional techniques means, just repeats no more here.
Except above 2 differences, to comprising vertical straight dashed line section, other disposal route and the horizontal straight dashed line section of any direction straight dashed line section etc. are completely the same.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a disposal route for virtual printing, is characterized in that, the method comprises: receive virtual printing data, analyzes the attributive character in the virtual printing data received, and merges the data belonging to same attributive character.
2. disposal route according to claim 1, is characterized in that, show after the attributive character in the virtual printing data that described analysis receives that the data received are image data, the method for merging comprises: merge the pictorial information data belonging to same picture.
3. disposal route according to claim 2, it is characterized in that, after receiving virtual printing data, the method also comprises: whether include image data in the virtual printing data received described in judgement, if existed, continue the step performing follow-up merging.
4. disposal route according to claim 3, it is characterized in that, if the virtual printing interface function of described reception data is one of in DrvBitBlt (...), DrvStretchBlt (...) and DrvCopyBits (...), then include image data in the virtual printing data received described in judging.
5. disposal route according to claim 2, is characterized in that, described image data comprises pictorial information data for describing image content and attributive character thereof; Wherein attributive character comprises: the color figure place of picture, width, highly, the coordinate figure of form, display position, comprise the display size of display width display height and raster operation code.
6. disposal route according to claim 5, is characterized in that, described in belong to same picture pictorial information data be:
The Virtual print drive interface function of described reception image data is identical;
With, the compressed format of picture is identical;
With, picture must in the display that longitudinally connects continuously;
With, color figure place, the width of described reception image data are identical, and display height is identical with the height ratio of picture itself;
With, described raster operation code is identical.
7. disposal route according to claim 3, is characterized in that, if do not comprise image data in the virtual printing data received described in judging,
Further judgement: whether store picture in the spatial cache of the image data received for buffer memory pre-set, if do not had, processes the virtual printing data be currently received, and continues to receive virtual printing data, until complete this virtual printing; Otherwise, by the picture write layout files in buffer memory, and empty buffer memory follow-up continued access receipts virtual printing data, until complete this virtual printing.
8. disposal route according to claim 2, is characterized in that, also comprises before described combining step:
Judge whether store picture in the spatial cache of the image data received for buffer memory pre-set, if had, when the described picture received belongs to same picture with the picture of buffer memory, continue the step performing merging; Otherwise, the picture be currently received is received virtual printing data, until complete this virtual printing stored in the follow-up continued access of buffer memory.
9. disposal route according to claim 8, is characterized in that, if described in the picture of the picture that receives and buffer memory do not belong to same picture, the method also comprises:
By in the picture of described buffer memory write layout files, and the picture be currently received is utilized to upgrade buffer memory follow-up continued access receipts virtual printing data, until complete this virtual printing.
10. disposal route according to claim 8, is characterized in that, the method for described merging is that two compressed formats, color figure place, picture that width is identical are merged into a picture in the y-direction;
After merging, the height of picture is the height sum of the picture of picture and the buffer memory received; The display height sum of the picture that the display height of picture is the picture that receives and buffer memory after merging;
To the situation of cutting from the top down, after merging, the display position of picture is the display position of the picture of buffer memory; To the situation of cutting from bottom to top, the x coordinate figure of the display position of picture to be the x coordinate figure of the display position of the picture of buffer memory the be display position of the picture of buffer memory after merging, y coordinate figure is the height that the y coordinate figure of the displaing coordinate of the picture of buffer memory deducts the picture be currently received.
CN201310446926.9A 2013-09-26 2013-09-26 Processing method of virtual printing Pending CN104516689A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310446926.9A CN104516689A (en) 2013-09-26 2013-09-26 Processing method of virtual printing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310446926.9A CN104516689A (en) 2013-09-26 2013-09-26 Processing method of virtual printing

Publications (1)

Publication Number Publication Date
CN104516689A true CN104516689A (en) 2015-04-15

Family

ID=52792068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310446926.9A Pending CN104516689A (en) 2013-09-26 2013-09-26 Processing method of virtual printing

Country Status (1)

Country Link
CN (1) CN104516689A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897777A (en) * 2020-06-22 2020-11-06 百望股份有限公司 Method, device and equipment for processing electronic invoice layout file and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897777A (en) * 2020-06-22 2020-11-06 百望股份有限公司 Method, device and equipment for processing electronic invoice layout file and storage medium

Similar Documents

Publication Publication Date Title
CN100583022C (en) Method for capturing computer screen image
CN101739223B (en) Method and system to realize the transformation of document format by virtual printing
US8243322B2 (en) Image data processor and image data processing program storage medium for variable printing
CN102340698B (en) Scalable vector graphics (SVG)-based set-top box interface representation method
US11281849B2 (en) System and method for printable document viewer optimization
CN101540041A (en) Adaptation method for browsing scanned documents
US9384562B2 (en) Methods for visual content processing, and systems and computer program codes thereto
CN104111913A (en) Processing method and device of streaming document
JP2014117861A (en) Image formation apparatus and image formation apparatus control method
CN102436357B (en) Image processing apparatus and image processing method
CN104516689A (en) Processing method of virtual printing
CN112416340A (en) Webpage generation method and system based on sketch
US8570619B2 (en) Control devices for scanning documents, systems including such control devices, and non-transitory, computer-readable media storing instructions for such control devices
CN101566934B (en) Method for processing virtual printing
CN102122361B (en) Variable area-based page assembly method and system
JP4143613B2 (en) Drawing method and drawing apparatus
JP6904717B2 (en) Image processing equipment, its control method, and programs
CN101178775A (en) Process method of binary picture print data
CN107203354B (en) Image processing apparatus and control method thereof
JP2014023006A (en) Information processing device, information processing method, and information processing program
JP6755644B2 (en) Character processing device, character processing method, character processing program
CN106651862A (en) Multiple-connected-domain rapid merging algorithm and apparatus based on stroke coding
JP4741916B2 (en) Image processing apparatus, image processing method, and computer-readable recording medium storing image processing program for executing the method
US8941881B2 (en) Method and apparatus for rasterizing transparent page
CN110097147A (en) Setting method, system, computer equipment and the storage medium of pel rendering attribute

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150415

WD01 Invention patent application deemed withdrawn after publication