CN102407683B - Stepless zooming printing control method and device of printer - Google Patents

Stepless zooming printing control method and device of printer Download PDF

Info

Publication number
CN102407683B
CN102407683B CN201010292670.7A CN201010292670A CN102407683B CN 102407683 B CN102407683 B CN 102407683B CN 201010292670 A CN201010292670 A CN 201010292670A CN 102407683 B CN102407683 B CN 102407683B
Authority
CN
China
Prior art keywords
dot matrix
input
row
character pattern
logic area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010292670.7A
Other languages
Chinese (zh)
Other versions
CN102407683A (en
Inventor
张午
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangmen Dascom Computer Peripheral Co Ltd
Original Assignee
Jiangmen Dascom Computer Peripheral 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 Jiangmen Dascom Computer Peripheral Co Ltd filed Critical Jiangmen Dascom Computer Peripheral Co Ltd
Priority to CN201010292670.7A priority Critical patent/CN102407683B/en
Publication of CN102407683A publication Critical patent/CN102407683A/en
Application granted granted Critical
Publication of CN102407683B publication Critical patent/CN102407683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Dot-Matrix Printers And Others (AREA)

Abstract

The invention provides a stepless zooming printing control method of a printer, and the method comprises the following steps of: a retrieval step for retrieving a character dot matrix from a word stock according to a print command; a target dot matrix generation step for carrying out horizontal conversion and/or vertical conversion on a source character dot matrix according to the width and height of a target character dot matrix so as to obtain the target character dot matrix with the width and height of the target character dot matrix; and a printing step for printing based on the target character dot matrix. The invention further provides a stepless zooming printing control device of the printer and the printer comprising the same.

Description

The stepless zooming printing control method of printer and device
Technical field
The present invention relates to printer, more specifically, relate to stepless zooming printing control method and the device of printer.
Background technology
In traditional printer applications, user is generally by softwares such as WPS, Word, Excel, pre-establishes specific form, hand input-data, again by the printed driver of data by computer system, after converting specific bitmap format to, send to printer.The feature of this application mode is that page formatting is unrestricted, and user can change arbitrarily bill pattern, how data to be converted to the form printing function identification without the need to understanding.
The application machine that the industry users such as bank, hospital, station, postal service, the tax have oneself special, by writing code, after the data of printing are carried out special processing, then be sent to printer, with the object reaching sweetly disposition data, simplify data input process, formulate particular note form.
Fig. 1 schematically shows the block diagram of the printer 100 of the industry users such as such as bank, hospital, station, postal service, the tax.As shown in Figure 1, this printer 100 comprises character library 11, character searching unit 12 and is printed as realizing unit 13.Character searching unit 12 receiving printing orders, retrieves corresponding character pattern based on print command from character library 11, is sent to by character pattern and is printed as realizing unit 13.Be printed as and print based on character pattern as realizing unit 13.
Existing printer does not have the function of character being carried out to arbitrary proportion convergent-divergent.When carrying out bill printing, need the character that will print not determined number in fixing space, and these characters all can not exceed the scope in fixing space.Directly print according to existing method, easily occur that printable character crosses the border or the phenomenon such as not line up between character and print zone.
Therefore, wish that printer has the ability printing arbitrary size character.But because the memory capacity of normal printer is limited, by the character pattern of the different the ratio of width to height of storing multiple sets in character library, specify the method for print range unrealistic to select the character pattern of different size to adapt to.
Summary of the invention
In order to solve the problems referred to above that prior art exists, the invention provides a kind of for printer, particularly the stepless zooming printing control method of impact printer and device.
According to a first aspect of the invention, provide a kind of stepless zooming printing control method for printer, comprising: searching step, for retrieving source character pattern according to print command from character library; Target dot matrix generation step, for according to the width of target character dot matrix with highly carry out horizontal transformation and/or vertical transitions to source character pattern, to obtain the having width of target character dot matrix and the target character dot matrix of height; And printing step, print for based target character pattern.
According to a second aspect of the invention, provide a kind of Free-scaling print control unit for printer, for according to the width of target character dot matrix with highly carry out horizontal transformation and/or vertical transitions to source character pattern, to obtain that there is the width of target character dot matrix and the target character dot matrix of height, comprise: horizontal transformation unit, for the width according to target character dot matrix, horizontal transformation is carried out to the dot matrix of this horizontal transformation unit of input; With vertical transitions unit, for the height according to target character dot matrix, vertical transitions is carried out to the dot matrix of this vertical transitions unit of input, wherein the input of vertical transitions unit receives the output from horizontal transformation unit, or the input of horizontal transformation unit receives the output from vertical transitions unit.
According to a third aspect of the invention we, provide a kind of printer, comprise Free-scaling print control unit described according to a second aspect of the present invention, described printer also comprises: character library, for storing source character pattern; Character searching unit, for retrieving one or more sources character pattern according to print command from character library; Be printed as picture realize unit, print for based target character pattern.
Accompanying drawing explanation
By reference to the accompanying drawings, according to the following explanation to exemplary embodiment, above-mentioned and/or other aspects of general plotting of the present invention will become apparent and be easier to understand, in the accompanying drawings:
Fig. 1 schematically shows the block diagram of the printer of prior art;
Fig. 2 shows the flow chart of the stepless zooming printing control method according to the embodiment of the present invention;
Fig. 3 A-3C shows the process of character pattern being carried out to horizontal transformation according to the embodiment of the present invention;
Fig. 4 A-4B shows the process of character pattern being carried out to vertical transitions according to the embodiment of the present invention;
Fig. 5 A-5B schematically shows the block diagram of the printer according to the embodiment of the present invention; And
Fig. 6 shows the Free-scaling printing effect figure according to the embodiment of the present invention.
Detailed description of the invention
With reference now to accompanying drawing, embodiments of the invention are described.
Pass through in character library, store a set of source character pattern according to the stepless zooming printing control method of the embodiment of the present invention, source character pattern is carried out to arbitrary extension or the compression of horizontal direction and vertical direction, thus be implemented to the conversion of the target character with any width and height.
Fig. 2 schematically shows the flow chart of the stepless zooming printing control method according to the embodiment of the present invention.As shown in Figure 2, the method starts from step 201.In step 202, receive the print command indicating one or more characters that will print, based on print command retrieval source character pattern.In step 203, level and/or vertical transitions are carried out to source character pattern, to obtain the target character dot matrix with target character dot matrix width and height.In step 204, based target character pattern prints.The method terminates in step 205.
According to embodiments of the invention, this Free-scaling method can also comprise comparison step, and described comparison step comprises: if the width of target character dot matrix is identical with source character pattern, then only perform vertical transitions to source character pattern; If the height of target character dot matrix is identical with source character pattern, then only source character pattern executive level is converted; And if the width of target character dot matrix is with highly all identical with source character pattern, then using source character pattern directly as target character dot matrix.
According to embodiments of the invention, when carrying out both horizontal transformation and vertical transitions, first can carry out horizontal transformation, then carrying out vertical transitions; Also first can carry out vertical transitions, then carry out horizontal transformation.As known in the art, character pattern stores with the form of digital value, therefore can by carrying out operation to realize conversion to its corresponding digital value.
Horizontal compression and horizontal extension is comprised according to the horizontal transformation of the embodiment of the present invention.The executive level compression when the width of target character dot matrix is less than the width of source character pattern, the executive level expansion when the width of target character dot matrix is greater than the width of source character pattern.
Fig. 3 A schematically shows the horizontal compression principle according to the embodiment of the present invention.
Consider in actual use, often need to carry out the non-integral multiple horizontal compression input dot matrix boil down to width of 6 (by width be such as be the output dot matrix of 4) to character, and from input dot matrix, extract 4 row simply may cause losing column data or character and become rough, therefore, the present invention carrys out executive level compression, with the raw information of reserved character image of trying one's best by using logical row.
As shown in Figure 3A, when width be 6 input dot matrix boil down to width be the output dot matrix of 4 time, by each row O1 ~ O6 (referred to as input row) of input dot matrix is mapped to 4 continuous print logical rows, form the logic dot matrix with 6*4=24 row L1 ~ L24.
Using the width 6 of input dot matrix as the width between a logic area, thus every 6 logical rows are divided between a logic area.Comprise logical row L1 ~ L6 between the first logic area, comprise logical row L7 ~ L12 between the second logic area, the rest may be inferred.Example in Fig. 3 A comprises altogether between 4 logic areas, corresponds respectively to each row T1 ~ T4 (referred to as output row) of output dot matrix.
One or more input row are corresponded between each logic area.Input when arranging corresponding when between logic area with one, the value this input arranged is as the corresponding value exporting row.When between logic area with multiple input arrange corresponding time, using multiple input row value or (OR) operation result as corresponding export row value.Such as, between the first logic area comprising logical row L1 ~ L6, correspond to two input row O1 and O2, therefore using the value of input row O1 and O2 or operation result as the corresponding value exporting row T1.Correspond to an input row O3 between the second logic area comprising logical row L7 ~ L12, therefore will the value of input row O3 as the corresponding value exporting row T2.Correspond to two input row O4 and O5 between the 3rd logic area comprising logical row L13 ~ L18, therefore using the value of input row O4 and O5 or operation result as the corresponding value exporting row T3.Correspond to an input row O6 between the 4th logic area comprising logical row L19 ~ L24, therefore will the value of input row O6 as the corresponding value exporting row T4.Aforesaid operations is carried out, to obtain the output dot matrix that width is 4 between each logic area.
Fig. 3 B schematically shows the horizontal extension principle according to the embodiment of the present invention.
As shown in Figure 3 B, when to expand to width be the output dot matrix of 6 to the input dot matrix width being 4, by each row O1 ~ O4 (referred to as input row) of input dot matrix is mapped to 6 continuous print logical rows, form the logic dot matrix with 4*6=24 row L1 ~ L24.
Using the width 4 of input dot matrix as the width between a logic area, thus every 4 logical rows are divided between a logic area.Comprise logical row L1 ~ L4 between the first logic area, comprise logical row L5 ~ L8 between the second logic area, the rest may be inferred.Example in Fig. 3 B comprises altogether between 6 logic areas, corresponds respectively to each row T1 ~ T6 (referred to as output row) of output dot matrix.
Correspond to input row between each logic area or do not correspond to any input row.Input when arranging corresponding when between logic area with one, the value this input arranged is as the corresponding value exporting row.When not corresponding to any input row when between logic area, using immediate between this logic area and have that input corresponding between front logic area that corresponding input arranges arranges export as corresponding the value arranged.Such as, between the first logic area comprising logical row L1 ~ L4, correspond to input row O1, therefore will the value of input row O1 as the corresponding value exporting row T1.Correspond to input row O2 between the second logic area comprising logical row L5 ~ L8, therefore will the value of input row O2 as the corresponding value exporting row T2.Do not correspond to any input row between the 3rd logic area comprising logical row L9 ~ L12, therefore using the value of input row O2 corresponding between the second logic area as the corresponding value exporting row T3.Correspond to input row O3 between the 4th logic area comprising logical row L13 ~ L16, therefore will the value of input row O3 as the corresponding value exporting row T4.Correspond to input row O4 between the 5th logic area comprising logical row L17 ~ L20, therefore will the value of input row O4 as the corresponding value exporting row T5.Do not correspond to any input row between the 6th logic area comprising logical row L21 ~ L24, therefore using the value of input row O4 corresponding between the 5th logic area as the corresponding value exporting row T6.Aforesaid operations is carried out, to obtain the output dot matrix that width is 6 between each logic area.
Fig. 3 C shows the flow chart of the horizontal transformation method according to the embodiment of the present invention, and wherein, the width of input dot matrix is N0, and the width of output dot matrix is N1.The method starts from step 301.In step 302, each input row of input dot matrix are mapped to N1 continuous print logical row.In step 303, be divided into by every N0 logical row between a logic area, of corresponding between each logic area in output dot matrix exports row.In step 304, between each logic area, map based on described the value obtaining the output corresponding with between this logic area and arrange.
In step 304, particularly, for horizontal compression conversion, when corresponding to input row when between logic area, the value this input arranged is as the corresponding value exporting row.Time when between logic area corresponding to multiple input row, using multiple that input the value of row or that (OR) operation result arranges as output value.For horizontal extension conversion, when corresponding to input row when between logic area, the value this input arranged is as the corresponding value exporting row.When not corresponding to any input row when between logic area, using immediate between this logic area and there is the value that input corresponding between front logic area that corresponding input arranges arranges export as corresponding the value arranged.
The method terminates in step 305.
Next, with reference to figure 4A, be transformed to example description according to the principle of the vertical transitions of the embodiment of the present invention to carry out extends perpendicular to input dot matrix.
Due to character pattern with one dimension column data form store, if so directly carry out vertical transitions, then must carry out bit manipulation, its in programme-control expense or on running time all much larger than horizontal transformation.Consider that character pattern has discrete geometric properties, and can intactly preserve through the geometric properties of postrotational character pattern, therefore, for saving the running time of program and improving printing effect, according to embodiments of the invention, vertical transitions is converted into horizontal transformation to process, whole process in three steps.As shown in Figure 4 A, first input dot matrix is done to the rotation transformation of 90 degree, obtain the dot matrix that width equals source character pattern height.Then to the conversion of this dot matrix horizontal extension, to obtain the dot matrix that width equals target character height.Finally, the dot matrix another mistake after conversion is just obtained output dot matrix to 90-degree rotation.It will be understood by those skilled in the art that to 90 degree of rotation transformations of input dot matrix can be that dextrorotation turn 90 degrees, also can be rotated counterclockwise 90 degree.Fig. 4 A shows the situation that dextrorotation turn 90 degrees.
The method of vertical compression conversion and extends perpendicular transformation classes are carried out seemingly to input dot matrix, namely first input dot matrix is done to the rotation transformation of 90 degree, obtain the dot matrix that width equals source character pattern height.Then to the conversion of this dot matrix horizontal compression, to obtain the dot matrix that width equals target character height.Finally, the dot matrix another mistake after conversion to 90-degree rotation, output dot matrix is obtained.
Fig. 4 B shows the flow chart of the vertical transitions method according to the embodiment of the present invention.The method starts from step 401.In step 402, dot matrix 90-degree rotation will be inputted.In step 403, horizontal extension or compression are carried out to the input dot matrix of 90-degree rotation.In step 404, by the dot matrix counter-rotating 90 degree in step 403 horizontal extension or compression gained, to obtain output dot matrix.The method terminates in step 405.
According to embodiments of the invention, first can carry out horizontal transformation to source character pattern, then vertical transitions be carried out to the output dot matrix of horizontal transformation, thus obtain target character dot matrix.Or, also first can carry out vertical transitions to source character pattern, then horizontal transformation be carried out to the output dot matrix of vertical transitions, thus obtain target character dot matrix.
Fig. 5 A shows the block diagram of the printer 500 according to the embodiment of the present invention.
As shown in Figure 5A, printer 500 comprises: character library 51, for storing source character pattern; Character searching unit 52, for retrieving one or more sources character pattern according to print command from character library; Free-scaling print control unit 54, for according to the width of target character dot matrix and height, obtains having the width of target character dot matrix and the target character dot matrix of height based on source character pattern; And be printed as realizing unit 53, print for based target character pattern.
Free-scaling print control unit 54 comprises: horizontal transformation unit 541, for comprising the horizontal transformation of horizontal extension and horizontal compression to character pattern; Vertical transitions unit 542, for comprising the vertical transitions of extends perpendicular and vertical compression to character pattern.The input of horizontal transformation unit 541 receives source character pattern, and its output is connected to the input of vertical transitions unit 542, and vertical transitions unit exports target character dot matrix.
The horizontal transformation operation of horizontal transformation unit and the vertical transitions operation of vertical transitions unit, as above with reference to as described in figure 3A-4B, no longer repeat here for brevity.
According to the embodiment of the present invention, Free-scaling print control unit 54 can also comprise comparing unit 543, for to the width of the width of target character dot matrix and height and source character pattern with highly compare, wherein: if the width of target character dot matrix is identical with source character pattern, then level of control converter unit 541 does not carry out horizontal transformation, thus vertical transitions unit 542 pairs of source character patterns perform vertical transitions; If the height of target character dot matrix is identical with source character pattern, then controls vertical transitions unit 542 and do not carry out vertical transitions, thus only source character pattern executive level is converted; And if the width of target character dot matrix is with highly all identical with source character pattern, then level of control converter unit 541 and vertical transitions unit 542 all do not perform conversion, thus using source character pattern directly as target character dot matrix output.
Fig. 5 B shows the block diagram of the printer 500 ' according to the embodiment of the present invention.
As shown in Figure 5 B, printer 500 ' comprising: character library 51, for storing source character pattern; Character searching unit 52, for retrieving one or more sources character pattern according to print command from character library; Free-scaling print control unit 54, for according to the width of target character dot matrix and height, obtains having the width of target character dot matrix and the target character dot matrix of height based on source character pattern; And be printed as realizing unit 53, print for based target character pattern.
Free-scaling print control unit 54 comprises: horizontal transformation unit 541, for comprising the horizontal transformation of horizontal extension and horizontal compression to character pattern; Vertical transitions unit 542, for comprising the vertical transitions of extends perpendicular and vertical compression to character pattern.The input of vertical transitions unit 542 receives source character pattern, and its output is connected to the input of horizontal transformation unit 541, and horizontal transformation unit 541 exports target character dot matrix.
The horizontal transformation operation of horizontal transformation unit and the vertical transitions operation of vertical transitions unit, as above with reference to as described in figure 3A-4B, no longer repeat here for brevity.
According to the embodiment of the present invention, Free-scaling print control unit 54 can also comprise comparing unit 543, for to the width of the width of target character dot matrix and height and source character pattern with highly compare, wherein: if the height of target character dot matrix is identical with source character pattern, then control vertical transitions unit 542 and do not carry out vertical transitions, thus the 541 pairs of source character pattern executive level conversion of horizontal transformation unit; If the width of target character dot matrix is identical with source character pattern, then level of control converter unit 541 does not carry out horizontal transformation, thus only performs vertical transitions to source character pattern; And if the width of target character dot matrix is with highly all identical with source character pattern, then level of control converter unit 541 and vertical transitions unit 542 all do not perform conversion, thus using source character pattern directly as target character dot matrix output.
Utilize stepless zooming printing control method of the present invention and device, owing to only needing to store a set of source character pattern, printer storage space can be saved.Such as, be the source character pattern of 24*24 for conventional size, only need the character library capacity of about about 1MB.In addition, utilize stepless zooming printing control method of the present invention and device can realize arbitrary extension in the horizontal direction and the vertical direction or compression, can adapt to export the character of specifying in the region of specifying size.Such as, being the original character dot matrix of 24*24 for conventional size, by converting source character pattern, the conversion that size is any dot character within the scope of 8*8 ~ 96*96 can being realized.Character through Free-scaling does not have information dropout, can identify well.The effect of the character Free-scaling utilizing stepless zooming printing control method of the present invention and device to realize as shown in Figure 6.
Can impact printer be applied to according to stepless zooming printing control method of the present invention and device, also can be applied to other any character libraries that utilize and carry out the printing device printed.
Principle of the present invention is described above with reference to specific embodiment.It will be appreciated by those skilled in the art that and do not deviating under the prerequisite according to the scope of the invention of claims statement, those skilled in the art can carry out various change to specific implementation of the present invention.
Should be appreciated that the step not needing to perform proposed exemplary method here with described order, and the order of the step of such method should be understood to be only exemplary.Equally, additional step can comprise in such method, and according to each embodiment of the present invention, can omit or combine particular step in method.Device of the present invention can realize in the mode of software, hardware or combination thereof, and all these modes are all included within protection scope of the present invention of being defined by the following claims.

Claims (17)

1., for a stepless zooming printing control method for printer, comprising:
Searching step, for retrieving source character pattern according to print command from character library;
Target dot matrix generation step, for according to the width of target character dot matrix with highly carry out horizontal transformation and/or vertical transitions to source character pattern, to obtain the having width of target character dot matrix and the target character dot matrix of height; And
Printing step, prints for based target character pattern.
2. method according to claim 1, wherein horizontal transformation comprises horizontal extension and horizontal compression, and vertical transitions comprises extends perpendicular and vertical compression.
3. method according to claim 1, wherein target dot matrix generation step also comprises comparison step, and described comparison step comprises:
If the width of target character dot matrix is identical with source character pattern, then only vertical transitions is performed to source character pattern;
If the height of target character dot matrix is identical with source character pattern, then only source character pattern executive level is converted; And
If the width of target character dot matrix is with highly all identical with source character pattern, then using source character pattern directly as target character dot matrix.
4. method according to claim 1, wherein when to the conversion of source character pattern executive level and vertical transitions, first to the conversion of source character pattern executive level, then performs vertical transitions to the dot matrix of horizontal transformation gained.
5. method according to claim 1, wherein when to the conversion of source character pattern executive level and vertical transitions, first performs vertical transitions to source character pattern; Then the dot matrix executive level of vertical transitions gained is converted.
6. method according to claim 1, wherein vertical transitions comprises:
The dot matrix 90-degree rotation carrying out vertical transitions will be needed;
To the dot matrix executive level conversion rotating gained; And
By the dot matrix counter-rotating 90 degree of horizontal transformation gained.
7. method according to claim 1, wherein horizontal transformation is used for being that to be transformed to width be output dot matrix after the conversion of N1 for the input dot matrix to be transformed of N0 by width, comprising:
Each input row of input dot matrix are mapped to N1 continuous print logical row;
Be divided into by every N0 logical row between a logic area, of corresponding between each logic area in output dot matrix exports row;
For between each logic area, map based on described the corresponding value exporting row obtained between this logic area, thus obtain output dot matrix.
8. method according to claim 7, wherein between each logic area, comprises based on the described corresponding value exporting row obtained between this logic area that maps:
For horizontal compression, when arranging corresponding to an input when between logic area, the value this input arranged exports as corresponding the value arranged, time when between logic area corresponding to multiple input row, using described multiple that input the value of row or that operation result arranges as output value;
For horizontal extension, when corresponding to input row when between logic area, the value this input arranged is as the corresponding value exporting row, when not corresponding to any input row when between logic area, using immediate between this logic area and there is the value that input corresponding between front logic area that corresponding input arranges arranges export as corresponding the value arranged.
9. the Free-scaling print control unit for printer, for according to the width of target character dot matrix with highly carry out horizontal transformation and/or vertical transitions to source character pattern, to obtain that there is the width of target character dot matrix and the target character dot matrix of height, comprising:
Horizontal transformation unit, for the width according to target character dot matrix, carries out horizontal transformation to the dot matrix of this horizontal transformation unit of input; With
Vertical transitions unit, for the height according to target character dot matrix, carries out vertical transitions to the dot matrix of this vertical transitions unit of input, wherein
The input of vertical transitions unit receives the output from horizontal transformation unit, or the input of horizontal transformation unit receives the output from vertical transitions unit.
10. device according to claim 9, wherein horizontal transformation comprises horizontal extension and horizontal compression, and vertical transitions comprises extends perpendicular and vertical compression.
11. devices according to claim 9, also comprise:
Comparing unit, for the width of the width of target character dot matrix and height and source character pattern with highly compare, wherein:
If the width of target character dot matrix is identical with source character pattern, then control only to perform vertical transitions to source character pattern;
If the height of target character dot matrix is identical with source character pattern, then control only to convert source character pattern executive level; And
If the width of target character dot matrix with highly all identical with source character pattern, then controls source character pattern directly as target character dot matrix.
12. devices according to claim 9, wherein:
The input of vertical transitions unit receives the output from horizontal transformation unit, and the input of horizontal transformation unit receives source character pattern.
13. devices according to claim 9, wherein:
The input of horizontal transformation unit receives the output from vertical transitions unit, and the input of vertical transitions unit receives source character pattern.
14. devices according to claim 9, wherein vertical transitions unit is used for:
By the dot matrix 90-degree rotation of this vertical transitions unit of input;
To the dot matrix executive level conversion rotating gained; And
The dot matrix counter-rotating 90 degree of horizontal transformation gained is exported.
15. devices according to claim 9, wherein horizontal transformation unit is used for being that to be transformed to width be output dot matrix after the conversion of N1 for the input dot matrix to be transformed of N0 by width, comprising:
Each input row of input dot matrix are mapped to N1 continuous print logical row;
Be divided into by every N0 logical row between a logic area, of corresponding between each logic area in output dot matrix exports row;
For between each logic area, map based on described the corresponding value exporting row obtained between this logic area, thus obtain output dot matrix.
16. devices according to claim 15, wherein between each logic area, comprise based on the described corresponding value exporting row obtained between this logic area that maps:
Convert for horizontal compression, when arranging corresponding to an input when between logic area, the value this input arranged exports as corresponding the value arranged, time when between logic area corresponding to multiple input row, using described multiple that input the value of row or that operation result arranges as output value;
Horizontal extension is converted, when corresponding to input row when between logic area, the value this input arranged is as the corresponding value exporting row, when not corresponding to any input row when between logic area, using immediate between this logic area and there is the value that input corresponding between front logic area that corresponding input arranges arranges export as corresponding the value arranged.
17. 1 kinds of printers, comprise according to the Free-scaling print control unit in claim 9-16 described in any one, described printer also comprises:
Character library, for storing source character pattern;
Character searching unit, for retrieving one or more sources character pattern according to print command from character library; With
Be printed as picture and realize unit, print for based target character pattern.
CN201010292670.7A 2010-09-26 2010-09-26 Stepless zooming printing control method and device of printer Active CN102407683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010292670.7A CN102407683B (en) 2010-09-26 2010-09-26 Stepless zooming printing control method and device of printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010292670.7A CN102407683B (en) 2010-09-26 2010-09-26 Stepless zooming printing control method and device of printer

Publications (2)

Publication Number Publication Date
CN102407683A CN102407683A (en) 2012-04-11
CN102407683B true CN102407683B (en) 2015-04-29

Family

ID=45910162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010292670.7A Active CN102407683B (en) 2010-09-26 2010-09-26 Stepless zooming printing control method and device of printer

Country Status (1)

Country Link
CN (1) CN102407683B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103507448B (en) * 2012-06-29 2016-08-03 山东新北洋信息技术股份有限公司 Print control program and printer
JP5758416B2 (en) * 2013-01-28 2015-08-05 東芝テック株式会社 Image forming apparatus and image forming method
CN104680197B (en) * 2013-12-02 2017-12-08 航天信息股份有限公司 A kind of method for realizing 9 needle printers scaling printing Quick Response Code
CN103707665B (en) * 2013-12-17 2016-11-09 重庆川仪自动化股份有限公司 It is applied to word print control program and the device of paper recorder
CN104924793B (en) * 2015-06-16 2017-09-19 深圳市新国都支付技术有限公司 The method of the compatible all kinds of cash register receipt information printings of POS terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1105762A (en) * 1994-04-15 1995-07-26 曾冬初 Multistage structure Chinese character base technique and its Chinese language computer operating system design
CN1167286A (en) * 1996-03-04 1997-12-10 夏普公司 Multiplaying rate setting device for imaging device
CN1217122A (en) * 1996-03-27 1999-05-19 欧姆龙株式会社 Method and device for recognizing image, and copying machine and printer using them
US6079889A (en) * 1992-06-11 2000-06-27 Esselte N.V. Label printing apparatus
US6356278B1 (en) * 1998-10-07 2002-03-12 Microsoft Corporation Methods and systems for asymmeteric supersampling rasterization of image data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4576964B2 (en) * 2004-09-28 2010-11-10 ブラザー工業株式会社 Label producing apparatus, program, and recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6079889A (en) * 1992-06-11 2000-06-27 Esselte N.V. Label printing apparatus
CN1105762A (en) * 1994-04-15 1995-07-26 曾冬初 Multistage structure Chinese character base technique and its Chinese language computer operating system design
CN1167286A (en) * 1996-03-04 1997-12-10 夏普公司 Multiplaying rate setting device for imaging device
CN1217122A (en) * 1996-03-27 1999-05-19 欧姆龙株式会社 Method and device for recognizing image, and copying machine and printer using them
US6356278B1 (en) * 1998-10-07 2002-03-12 Microsoft Corporation Methods and systems for asymmeteric supersampling rasterization of image data

Also Published As

Publication number Publication date
CN102407683A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
US7853869B2 (en) Creation of semantic objects for providing logical structure to markup language representations of documents
CN102407683B (en) Stepless zooming printing control method and device of printer
CN1677343B (en) Grid canvas
JPS6095679A (en) Control structure for document processing system
CN102609227B (en) Information processing apparatus, layout generating method
CN104598560A (en) Display method and display system for multifont characters of embedded system
CN107092587A (en) A kind of business voucher generation method and device
US7057617B1 (en) Font memory and font data reading method
KR101516213B1 (en) Responsive Web Generating Method By Converting Document To Responsive Web
JP2002133360A (en) Layout-based input/output method for cell in spreadsheet operation, and recording medium stored with program for the same
CN104423900A (en) Image printing method and printer
US20080192295A1 (en) Generation of Areas of Position Location Pattern
CN102880893A (en) Barcode displaying method
CN102810170A (en) Quick response matrix code and building method thereof
CN103909741B (en) 9 needle printers in embedded system are utilized to print the method and apparatus of Quick Response Code
CN101996192B (en) Word stock combining method and system
EP2215542B1 (en) Printing of position-coded documents
WO1988001767A1 (en) Horizontal line processor of data to be printed out sequentially
CN102810171B (en) Chinese-sensible code and construction method thereof
US8055083B2 (en) Portable bitmap rendering systems and methods
JP6166976B2 (en) Data structure of barcode font data, page data generation device, raster data generation device, raster data generation method and program
CN116227453A (en) OFD file and template generation method thereof, electronic equipment and storage medium
JPS62111283A (en) Expansion pattern converter
JPS5928190A (en) Character pattern generation system
TW498271B (en) Semiconductor device for display control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant