CN109783037A - A kind of instruction of print control and control method - Google Patents
A kind of instruction of print control and control method Download PDFInfo
- Publication number
- CN109783037A CN109783037A CN201910000592.XA CN201910000592A CN109783037A CN 109783037 A CN109783037 A CN 109783037A CN 201910000592 A CN201910000592 A CN 201910000592A CN 109783037 A CN109783037 A CN 109783037A
- Authority
- CN
- China
- Prior art keywords
- page
- instruction
- text
- execution device
- print execution
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 10
- 230000000694 effects Effects 0.000 claims description 37
- 230000003321 amplification Effects 0.000 claims description 20
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 20
- 238000009877 rendering Methods 0.000 claims description 7
- 230000005540 biological transmission Effects 0.000 claims description 6
- 241000208340 Araliaceae Species 0.000 claims 1
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims 1
- 235000003140 Panax quinquefolius Nutrition 0.000 claims 1
- 235000008434 ginseng Nutrition 0.000 claims 1
- 238000004519 manufacturing process Methods 0.000 abstract description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
The invention discloses a kind of instruction of print control and control methods, which is characterized in that including page control instruction, control printing equipment is moved according to the page and sends print data packet to print execution device;The page draws instruction, and control printing equipment carries out page drafting for the page;Positioning instruction, content positioning will be printed by controlling the print execution device;Technical characterstic of the invention is primarily adapted for use in the production printing of bill page formula printer, bill printer or page formula face list, has abundant in content, is easy to extend, using it is convenient, be convenient for the features such as subsequent applications.
Description
Technical field
The present invention relates to print control instruction more particularly to a kind of instruction of print control and control methods.
Background technique
In the complexity that the application control of existing print control instruction is compared, using in bill page formula printer or ticket
According on printer, using the trouble compared, meanwhile, format is complicated, applies more troublesome, is not suitable for the bill page
On formula printer or bill printer.
Summary of the invention
In place of according to above-mentioned the deficiencies in the prior art, the present invention realizes a kind of print control instruction
And control method characterized by comprising
Page control instruction, control printing equipment setting page-size and the data content for controlling whether that basis receives start
Printing;
The page draws instruction, and control printing equipment carries out page drafting for the page;
Positioning instruction controls the print execution device and positions print media;
The print control program is as follows:
S10: page sign on starts control instruction transmission according to printing and sends printing for printing beginning control instruction
On device;
S20: creating the suitable page, draws instruction according to the page, the number of the content of printing is created in the page
According to packet;
S30: output content of pages, according to the page control instruction, the data packet that will be created in S20 step is sent to
On printing equipment, and read by the print execution device, and control print execution device and execute printing;
S40: machine positioning, after S30 step, printing terminates after determining, controls the print execution device and arrives
It is next to open the position begun.
Further, the print control, which instructs, includes
Page sign on, be arranged and control the print execution device execute the starting position of the page, the page it is big
It is small, reference point coordinate and page rotation angle;
Page print command controls the packet content created in the print execution device printing S20 step;
Paper feed instruction controls the print execution device and reaches designated position.
Further, it includes that text draws instruction that the page, which draws instruction, controls the print execution device in institute
In designated position rendering text on the page stated;
Line segment draws instruction, controls the print execution device and specifies point-to-point transmission drafting one straight on the page
Line segment;
Rectangle frame draws instruction, and it is specified to control designated position drafting of the print execution device on the page
The rectangle frame of size;
Rectangle block instruction is drawn, designated position of the print execution device on the page is controlled and draws rectangle
Block;
Bar code instruction controls designated position of the print execution device on the page and draws one-dimensional item
Code;
PDF417 code instruction controls the print execution device and draws on the designated position of the page
PDF417 bar code;
DataMatrix code instruction controls the print execution device and draws in the designated position of the page
DataMatrix bar code;
GridMatrix code instruction controls designated position of the print execution device on the page and draws
GridMatrix bar code;
Bitmap instructions control designated position of the print execution device on the page and draw bitmap;
Text filed instruction controls the print execution device according to the text filed instruction text filed interior
Carry out effect printing;
Watermark literal order controls the print execution device on the page, page printing will refer to after being connected to
The subsequent content of order is set as watermark text.
Further, the text filed instruction, including the text filed instruction of setting, are arranged text on the page
Region;
Rendering text instruction controls text filed interior drafting text of the print execution device on the page
Word;
Alphabetic character spacing and line space instruction are set, the text filed interior character being arranged on the page is controlled
Spacing and line space;
Character script size is arranged to instruct, it is big to control the text filed interior character script being arranged on the page
It is small;
Text effects are arranged to instruct, control the text filed interior text effects being arranged on the page;
Text overstriking effect instruction is set, the text filed interior font effects being arranged on the page are controlled;
Text underline effect is arranged to instruct, controls the text filed interior underscore effect being arranged on the page
Fruit;
Setting text highlights effect instruction, control be arranged on the page it is text filed in highlight effect;
Text strikethrough effect instruction is set, and deleting for the text filed interior text being arranged on the page is arranged in control
Except line effect;
Text rotation angle commands are set, and the rotation for the text filed interior text being arranged on the page is arranged in control
Angle;
Text amplification factor is arranged to instruct, the amplification for the text filed interior text being arranged on the page is arranged in control
Multiple.
Further, first three bit byte of the positioning instruction is instruction judgement, for machine recognition and is conveniently done subsequent
Processing;
Nib in instruction is used to determine the subsequent performed movement of printer, and different values represents different move
Make;
When 4th byte value is 0x00, when for controlling the print execution device at an arbitrary position, label is encountered
The left black mark of seam or the right black mark of label seam, the print execution device will stop paper feed;
When 4th byte value is 0x01, for controlling the print execution device, when encountering label seam, described is beaten
Print executive device will stop paper feed;
When 4th byte value is 0x02, for controlling the print execution device, when encountering right black mark, described is beaten
Print executive device will stop paper feed;
When 4th byte value is 0x03, for controlling the print execution device, when encountering left black mark, described is beaten
Print executive device will stop paper feed;
When 4th byte value is 0x04, for controlling the print execution device, the print execution device is vertical
Move back paper;
When 4th byte value is 0x05, for controlling the print execution device, encounter in black mark when, described beats
Print executive device will stop paper feed;
Quintet is for identifying stop position deviant.
Further, the text draws instruction, is divided into three parts, and first part is instruction head, accounts for 3 bytes, is
Fixed value, second part account for 8 bytes, and successively sequence is x coordinate, account for 2 bytes, y-coordinate, account for 2 bytes, font size,
2 bytes and font setting are accounted for, 2 bytes, 2 bytes of font setting, including 16 data control bits are accounted for;Third portion
It is divided into the data content of printing;16 data control bits are as follows:
First data control bit, for controlling overstriking flag bit: setting 1 font-weight, reset then font not overstriking;
Second data control bit, for controlling underscore flag bit: setting 1 text band underscore, reset then no underscore;
Third data control bit highlights flag bit for controlling: setting 1 text and highlight, and clearing does not highlight;
4th data control bit, for controlling strikethrough flag bit: setting 1 text band strikethrough, reset then without strikethrough;
6th data control bit and the 5th data control bit, for controlling sign of rotation position: 00 is 0 ° of rotation;01 is rotation
90°;10 be 180 ° of rotation;11 be 270 ° of rotation;
12nd data control bit to the 9th data control bit is set width for controlling set width amplification factor
Amplification factor assignment;
16th data control bit to the 13rd data control bit, for controlling the highly enlarged multiple of font;For font height
Spend amplification factor assignment;
8th data control bit to the 7th data control bit is null value, assignment: 00.
Further, bar code instruction, mark barcode types value range: 65 to 73;65 be UPC-A bar code;
66 be UPC-E bar code;67 be EAN8 bar code;68 be EAN13 bar code;69 be CODE39 bar code;70 be INTERLEAVED25 item
Code;71 be CODEBAR bar code;72 be CODE93 bar code;73 be CODE128 bar code;
The wide value range of bar code code in the described bar code instruction: 1-4;1-4 respectively represents multistage bar code unit
Width 0.125mm, 0.25mm, 0.375mm, 0.5mm;1-4 respectively represents the narrow line thickness of binary bar code width
0.125mm,0.25mm,0.375mm,0.5mm;1-4 respectively represent wide line thickness be 0.25mm, 0.375mm, 0.5mm,
1.0mm。
8, instruction is drawn in a kind of printing as claimed in claim 3, which is characterized in that the bitmap instructions are divided into 3
Part, first part are instruction head, judge that picture format, second part are picture format number for the print execution device
According to accounting for 10 bytes for the processing of picture, wherein position coordinates account for 4 bytes, and picture width accounts for 2 bytes, picture height
It accounts for 2 bytes and printing special efficacy accounts for 2 bytes;Wherein, two bytes for printing special efficacy are divided into 16 data control bits;
First data control bit highlights flag bit for controlling: setting 1 bitmap and highlights printing, resets normal print;
Third data control bit and the second data control bit, for controlling sign of rotation position: 00 is 0 ° of rotation;01 is rotation
90°;
12nd data control bit to the 9th data control bit is bitmap width for controlling bitmap width amplification factor
Amplification factor assignment;
15th data control bit to the 13rd data control bit is used for the highly enlarged multiple of control word position figure;For position
Scheme highly enlarged multiple assignment.
Further, the print execution device is temperature-sensitive page formula printer or thermal printer.
Technical characterstic of the invention is primarily adapted for use in temperature-sensitive page formula printer, thermal printer or page formula face list
Production printing, has abundant in content, is easy to extend, using it is convenient, be convenient for the features such as subsequent applications.
Detailed description of the invention
Fig. 1 is the control method flow chart of print control instruction of the invention.
Fig. 2 is the face list example printed using the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
A kind of instruction of print control and control method are provided in conjunction with shown in attached drawing 1, in the present embodiment, including, page control
System instruction, control printing equipment setting page-size and the data content for controlling whether that basis receives start to print;
The page draws instruction, and control printing equipment carries out page drafting for the page;
Positioning instruction controls the print execution device and positions print media;
Print control program is as follows:
S10: page sign on starts control instruction transmission according to printing and sends printing for printing beginning control instruction
On device;
S20: creating the suitable page, draws instruction according to the page, the number of the content of printing is created in the page
According to packet;
S30: output content of pages, according to the page control instruction, the data packet that will be created in S20 step is sent to
On printing equipment, and read by the print execution device, and control print execution device and execute printing;
S40: machine positioning, after S30 step, printing terminates after determining, controls the print execution device and arrives
It is next to open the position begun.
In conjunction with the printing surface unitary declaration of attached drawing 2, send when starting control instruction according to printing by printing beginning control instruction
It is sent on printing equipment;Print execution device ready-to-print is drawn according to the page and is instructed, the creation such as horizontal line on attached drawing 2 with
And the contents such as vertical line and printing content such as recipient information, destination, one-dimension code, two dimensional code;Meanwhile according to setting as drawn
Text instruction;Alphabetic character spacing and line space instruction are set;Character script size is arranged to instruct;Text effects are arranged to instruct;
Text overstriking effect instruction is set;Text underline effect is arranged to instruct;Setting text highlights effect instruction;Text is arranged to delete
Line effect instruction;Text rotation angle commands are set;The written form of text amplification factor instruction setting printing content is set;And
It forms data packet to be sent on printing equipment, and is read by the print execution device, and control the execution of print execution device
Printing;The position that the S40 control print execution device starts to next medium after end to be printed.
It includes that text draws instruction that the page in a kind of instruction of print control, which draws instruction, controls the print execution dress
It sets on the page in designated position rendering text;It draws and instructs such as line segment, control the print execution device in the page
Point-to-point transmission is specified to draw straight line section on face;See the horizontal line and vertical line in attached drawing 2;Rectangle frame draws instruction, controls described
Draw the rectangle frame of specified size in designated position of the print execution device on the page;Such as see the outer rim in attached drawing 2;Draw square
Shape block instruction controls designated position of the print execution device on the page and draws rectangular block;In attached drawing 2
Small frame in frame;Bar code instruction controls designated position of the print execution device on the page and draws bar code;Such as
Bar code in attached drawing 2;Certainly such as PDF417 bar code, DataMatrix bar code can be set according to the difference of barcode types to refer to
It enables, GridMatrix bar code, bitmap instructions etc., it in the present invention can be according to requiring such as PDF417 bar code, DataMatrix item
The content of text such as code instruction, GridMatrix bar code, bitmap instructions control print execution device is drawn on the designated position of the page
System;
Meanwhile print execution device can be controlled according to text filed instruction text filed according to text filed instruction
Interior progress effect printing;Such as watermark literal order, print execution device is controlled on the page, by the page print command after being connected to
Subsequent content is set as watermark text.
In addition, the text filed instruction in a kind of print control instruction, including the text filed instruction of setting, it is set on the page
It sets text filed;As rendering text instructs;Alphabetic character spacing and line space instruction are set;Character script size is arranged to instruct;
Text effects are arranged to instruct;Text overstriking effect instruction is set;Text underline effect is arranged to instruct;Setting text highlights effect
Instruction;Text strikethrough effect instruction is set;Text rotation angle commands are set;Text amplification factor is set and instructs setting printing
The written form of content;There are embodiment, rendering text, that is, type fount in fig 2;Alphabetic character spacing and line space are set
Character pitch and line space between instruction setting text;There are also setting character script sizes, text effects, text overstriking, text
Underscore, text highlights, text strikethrough, text rotation angle, the text effects such as text amplification factor embody.
Meanwhile paper feed instruction in the present invention includes setting five bytes in a device;For controlling print execution device.
The positioning paper feed instructs first three bit byte for instruction judgement, for machine recognition and conveniently does subsequent processing;In instruction
Nib is used to determine the subsequent performed movement of printer, and different values represents different movements;4th byte value
When for 0x00, when for controlling the print execution device at an arbitrary position, encountering the left black mark of label seam or label seam is right black
Mark, the print execution device will stop paper feed;When 4th byte value is 0x01, for controlling the print execution dress
It sets, when encountering label seam, print execution device will stop paper feed;When 4th byte value is 0x02, for controlling described beat
Executive device is printed, when encountering right black mark, print execution device will stop paper feed;When 4th byte value is 0x03, for controlling
The print execution device, when encountering left black mark, print execution device will stop paper feed;When 4th byte value is 0x04,
For controlling the print execution device, print execution device moves back paper immediately;When 4th byte value is 0x05, for controlling
The print execution device, encounter in black mark when, print execution device will stop paper feed;Quintet is to stop for identifying
Stop bit sets deviant.
In the present invention, it is drawn and is instructed using text, be divided into three parts, first part is instruction head, 3 bytes are accounted for,
For fixed value, second part accounts for 8 bytes, and successively sequence is x coordinate (2 bytes), y-coordinate (2 bytes), font size (2
A byte) and font setting (2 bytes), wherein font setting includes 2 bytes, 16 data control bits;With
In the setting of control text effects;Such as the first data control bit, for controlling overstriking flag bit: setting 1 font-weight, reset then word
Body not overstriking;Second data control bit, for controlling underscore flag bit: setting 1 text band underscore, reset then no underscore;
Third data control bit highlights flag bit for controlling: setting 1 text and highlight, and clearing does not highlight;4th data control bit, is used for
Control strikethrough flag bit: setting 1 text band strikethrough, resets then without strikethrough;6th data control bit and the control of the 5th data
Position, for controlling sign of rotation position: 00 is 0 ° of rotation;01 is to be rotated by 90 °;10 be 180 ° of rotation;11 be 270 ° of rotation;12nd
Data control bit is set width amplification factor assignment for controlling set width amplification factor to the 9th data control bit;The
16 data control bits to the 13rd data control bit, for controlling the highly enlarged multiple of font;For font height amplification factor
Assignment;8th data control bit to the 7th data control bit, is null value, assignment: 00, Part III be in the data that print of needs
Hold.
In the present invention in order to identify different bar codes, uses bar code and instruct, identify barcode types value
Range: 65 to 73;65 be UPC-A bar code;66 be UPC-E bar code;67 be EAN8 bar code;68 be EAN13 bar code;69 be CODE39
Bar code;70 be INTERLEAVED25 bar code;71 be CODEBAR bar code;72 be CODE93 bar code;73 be CODE128 bar code;
When the wide value range of the bar code code in bar code instruction: 1-4;1-4 respectively represents multistage bar code unit width
0.125mm,0.25mm,0.375mm,0.5mm;1-4 respectively represent the narrow line thickness of binary bar code width be 0.125mm,
0.25mm,0.375mm,0.5mm;It is 0.25mm, 0.375mm, 0.5mm, 1.0mm that 1-4, which respectively represents wide line thickness,.
1 point=0.125mm in bar code code in bar code instruction in the present invention;
About control special effect of picture part for 2 bytes in the bitmap instructions used in the present invention, 16 data controls
Position processed;
Using the first data control bit, flag bit is highlighted for controlling: being set 1 bitmap and is highlighted printing, resets normal print;The
Three data control bits and the second data control bit, for controlling sign of rotation position: 00 is 0 ° of rotation;01 is to be rotated by 90 °;12nd
Data control bit is bitmap width amplification factor assignment for controlling bitmap width amplification factor to the 9th data control bit;The
16 data control bits to the 13rd data control bit are used for the highly enlarged multiple of control word position figure;For Bitmap Height amplification
Multiple assignment.
Print execution device in the present invention be temperature-sensitive page formula printer or thermal printer, this addresses the problem
In the complexity that the application control of existing print control instruction is compared, using in temperature-sensitive page formula printer or thermal printer
On, the trouble compared is used, meanwhile, format is complicated, applies more troublesome, is not suitable for temperature-sensitive page formula printer
Or on thermal printer;Code instruction of the invention and method have abundant in content, are easy to extend, convenient for spies such as subsequent developments
Point.
As the preferred embodiment of the invention, it is obvious to a person skilled in the art that showing the present invention is not limited to above-mentioned
The details of exemplary embodiment, and without departing from the spirit or essential characteristics of the present invention, it can be with other specific
Form realizes the present invention and protection scope of the present invention.Therefore, in all respects, the embodiments should be taken as
It is exemplary, and be non-limiting, the scope of the invention being indicated by the appended claims rather than by the foregoing description, therefore purport
It is including all changes that fall within the meaning and scope of the equivalent elements of the claims in the present invention.Right should not be wanted
Any appended drawing reference in asking is construed as limiting the claims involved.
In addition, it should be understood that although this specification is described in terms of embodiments, but not each embodiment is only wrapped
Containing an independent technical solution, this description of the specification is merely for the sake of clarity, and those skilled in the art should
It considers the specification as a whole, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
The other embodiments being understood that.
Claims (9)
1. a kind of print control instruction and control method characterized by comprising
Page control instruction, control printing equipment are arranged page-size and control whether to start to beat according to the data content received
Print;
The page draws instruction, and control printing equipment carries out page drafting for the page;
Positioning instruction controls the print execution device and positions print media;
The print control program is as follows:
S10: page sign on starts control instruction transmission according to printing and sends printing equipment for printing beginning control instruction
On;
S20: creating the suitable page, draws instruction according to the page, the data packet of the content of printing is created in the page;
S30: output content of pages, according to the page control instruction, the data packet that will be created in S20 step is sent to printing
On device, and read by the print execution device, and control print execution device and execute printing;
S40: machine positioning, after S30 step, printing terminates after determining, controls the print execution device to next
Open the position begun.
2. a kind of print control instruction as described in claim 1, which is characterized in that the print control, which instructs, includes
Page sign on is arranged and controls the size that the print execution device executes the starting position of the page, the page, ginseng
Examination point coordinate and page rotation angle;
Page print command controls the packet content created in the print execution device printing S20 step;
Paper feed instruction controls the print execution device and reaches designated position.
3. a kind of page as described in claim 1 draws instruction, which is characterized in that it includes text that the page, which draws instruction,
Instruction is drawn, controls the print execution device on the page in designated position rendering text;
Line segment draws instruction, controls the print execution device and specifies point-to-point transmission to draw straight line on the page
Section;
Rectangle frame draws instruction, controls designated position of the print execution device on the page and draws specified size
Rectangle frame;
Rectangle block instruction is drawn, designated position of the print execution device on the page is controlled and draws rectangular block;
Bar code instruction controls designated position of the print execution device on the page and draws bar code;
PDF417 code instruction controls the print execution device and draws PDF417 item on the designated position of the page
Code;
DataMatrix code instruction controls the print execution device and draws in the designated position of the page
DataMatrix bar code;
GridMatrix code instruction controls designated position of the print execution device on the page and draws
GridMatrix bar code;
Bitmap instructions control designated position of the print execution device on the page and draw bitmap;
Text filed instruction controls the print execution device according to the text filed instruction in text filed interior progress
Effect printing;
Watermark literal order controls the print execution device on the page, by the page print command after being connected to
Subsequent content is set as watermark text.
4. a kind of page as claimed in claim 3 draws instruction, which is characterized in that the text filed instruction, including set
Text filed instruction is set, is arranged on the page text filed;
Rendering text instruction controls text filed interior drafting text of the print execution device on the page;
Alphabetic character spacing and line space instruction are set, the text filed interior character pitch being arranged on the page is controlled
And line space;
Character script size is arranged to instruct, controls the text filed interior character script size being arranged on the page;
Text effects are arranged to instruct, control the text filed interior text effects being arranged on the page;
Text overstriking effect instruction is set, the text filed interior font effects being arranged on the page are controlled;
Text underline effect is arranged to instruct, controls the text filed interior underline effect being arranged on the page;
Setting text highlights effect instruction, control be arranged on the page it is text filed in highlight effect;
Text strikethrough effect instruction is set, and the strikethrough for the text filed interior text being arranged on the page is arranged in control
Effect;
Text rotation angle commands are set, and the rotation angle for the text filed interior text being arranged on the page is arranged in control
Degree;
Text amplification factor is arranged to instruct, the times magnification for the text filed interior text being arranged on the page is arranged in control
Number.
5. a kind of print control instruction as described in claim 1, which is characterized in that first three bit byte of the positioning instruction
For instruction judgement, subsequent processing for machine recognition and is conveniently done;
Nib in instruction is used to determine the subsequent performed movement of printer, and different values represents different movements;
When 4th byte value is 0x00, when for controlling the print execution device at an arbitrary position, it is left to encounter label seam
Black mark or the right black mark of label seam, the print execution device will stop paper feed;
When 4th byte value is 0x01, for controlling the print execution device, when encountering label seam, the printing is held
Luggage, which is set, will stop paper feed;
When 4th byte value is 0x02, for controlling the print execution device, when encountering right black mark, the printing is held
Luggage, which is set, will stop paper feed;
When 4th byte value is 0x03, for controlling the print execution device, when encountering left black mark, the printing is held
Luggage, which is set, will stop paper feed;
When 4th byte value is 0x04, for controlling the print execution device, the print execution device moves back immediately
Paper;
When 4th byte value is 0x05, for controlling the print execution device, encounter in black mark when, the printing is held
Luggage, which is set, will stop paper feed;
Quintet is for identifying stop position deviant.
6. a kind of page as claimed in claim 3 draws instruction, which is characterized in that the text draws instruction, is divided into three
A part, first part are instruction head, account for 3 bytes, are fixed value, and second part accounts for 8 bytes, and successively sequence is x coordinate,
2 bytes are accounted for, y-coordinate accounts for 2 bytes, and font size accounts for 2 bytes and font setting, 2 bytes are accounted for, font setting
2 bytes, including 16 data control bits;Part III is the data content of printing;16 data control bits are as follows:
First data control bit, for controlling overstriking flag bit: setting 1 font-weight, reset then font not overstriking;
Second data control bit, for controlling underscore flag bit: setting 1 text band underscore, reset then no underscore;
Third data control bit highlights flag bit for controlling: setting 1 text and highlight, and clearing does not highlight;
4th data control bit, for controlling strikethrough flag bit: setting 1 text band strikethrough, reset then without strikethrough;
6th data control bit and the 5th data control bit, for controlling sign of rotation position: 00 is 0 ° of rotation;01 is to be rotated by 90 °;
10 be 180 ° of rotation;11 be 270 ° of rotation;
12nd data control bit to the 9th data control bit amplifies for controlling set width amplification factor for set width
Multiple assignment;
16th data control bit to the 13rd data control bit, for controlling the highly enlarged multiple of font;It is put for font height
Big multiple assignment;
8th data control bit to the 7th data control bit is null value, assignment: 00.
7. a kind of page as claimed in claim 3 draws instruction, which is characterized in that the bar code instruction, identification strip
Code type value range: 65 to 73;65 be UPC-A bar code;66 be UPC-E bar code;67 be EAN8 bar code;68 be EAN13 bar code;
69 be CODE39 bar code;70 be INTERLEAVED25 bar code;71 be CODEBAR bar code;72 be CODE93 bar code;73 are
CODE128 bar code;
The wide value range of bar code code in the described bar code instruction: 1-4;1-4 respectively represents multistage bar code unit width
0.125mm,0.25mm,0.375mm,0.5mm;1-4 respectively represent the narrow line thickness of binary bar code width be 0.125mm,
0.25mm,0.375mm,0.5mm;It is 0.25mm, 0.375mm, 0.5mm, 1.0mm that 1-4, which respectively represents wide line thickness,.
8. instruction is drawn in a kind of printing as claimed in claim 3, which is characterized in that the bitmap instructions are divided into 3 parts,
First part is instruction head, judges picture format for the print execution device, second part is picture format data, right
10 bytes are accounted in the processing of picture, wherein position coordinates account for 4 bytes, and picture width accounts for 2 bytes, and picture height accounts for 2
Byte and printing special efficacy account for 2 bytes;Wherein, 2 bytes for printing special efficacy are divided into 16 data control bits;
First data control bit highlights flag bit for controlling: setting 1 bitmap and highlights printing, resets normal print;
Third data control bit and the second data control bit, for controlling sign of rotation position: 00 is 0 ° of rotation;01 is to be rotated by 90 °;
12nd data control bit to the 9th data control bit amplifies for controlling bitmap width amplification factor for bitmap width
Multiple assignment;
15th data control bit to the 13rd data control bit is used for the highly enlarged multiple of control word position figure;For bitmap height
Spend amplification factor assignment.
9. a kind of print control instruction as described in claim 1, which is characterized in that the print execution device is temperature-sensitive page
Face formula printer or thermal printer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910000592.XA CN109783037A (en) | 2019-01-02 | 2019-01-02 | A kind of instruction of print control and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910000592.XA CN109783037A (en) | 2019-01-02 | 2019-01-02 | A kind of instruction of print control and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109783037A true CN109783037A (en) | 2019-05-21 |
Family
ID=66499165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910000592.XA Pending CN109783037A (en) | 2019-01-02 | 2019-01-02 | A kind of instruction of print control and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109783037A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4651278A (en) * | 1985-02-11 | 1987-03-17 | International Business Machines Corporation | Interface process for an all points addressable printer |
CN1497505A (en) * | 2002-10-11 | 2004-05-19 | 精工爱普生株式会社 | Control method receipt printing data generating method of printing device |
CN1510637A (en) * | 2002-12-25 | 2004-07-07 | 深圳市中兴通讯股份有限公司 | General method for printing and drawing graphics document, dynamic link-base |
CN104679453A (en) * | 2013-12-03 | 2015-06-03 | 航天信息股份有限公司 | Information input, storage, typesetting and printing general system and information input, storage, typesetting and printing method |
CN106528006A (en) * | 2015-09-10 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Page printing method and device |
CN106598510A (en) * | 2016-11-18 | 2017-04-26 | 福建星网视易信息系统有限公司 | Method and device compatible with two print modes |
CN107037992A (en) * | 2016-02-04 | 2017-08-11 | 株式会社理光 | Printing bar code method, data processing equipment and print system |
-
2019
- 2019-01-02 CN CN201910000592.XA patent/CN109783037A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4651278A (en) * | 1985-02-11 | 1987-03-17 | International Business Machines Corporation | Interface process for an all points addressable printer |
CN1497505A (en) * | 2002-10-11 | 2004-05-19 | 精工爱普生株式会社 | Control method receipt printing data generating method of printing device |
CN1510637A (en) * | 2002-12-25 | 2004-07-07 | 深圳市中兴通讯股份有限公司 | General method for printing and drawing graphics document, dynamic link-base |
CN104679453A (en) * | 2013-12-03 | 2015-06-03 | 航天信息股份有限公司 | Information input, storage, typesetting and printing general system and information input, storage, typesetting and printing method |
CN106528006A (en) * | 2015-09-10 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Page printing method and device |
CN107037992A (en) * | 2016-02-04 | 2017-08-11 | 株式会社理光 | Printing bar code method, data processing equipment and print system |
CN106598510A (en) * | 2016-11-18 | 2017-04-26 | 福建星网视易信息系统有限公司 | Method and device compatible with two print modes |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7120299B2 (en) | Recognizing commands written onto a medium | |
JPS59152485A (en) | Electronic font management | |
CN104794106A (en) | Annotating method and device | |
CN101973167A (en) | Programmed control method and device for barcode radio frequency label composite printing | |
JP2006301739A (en) | Business form print system | |
CN101620520B (en) | Printing control device, control method for a printing device, and a control program | |
CN109783037A (en) | A kind of instruction of print control and control method | |
JP2010130463A (en) | Print data generation apparatus, printing device, and print data processing system | |
JP5233707B2 (en) | Label printer | |
US7311256B2 (en) | Barcode optical character recognition | |
CN104943403A (en) | Industrial RFID printer device | |
CN1328291A (en) | Method for writing image recognition software with QR code | |
US20240135129A1 (en) | Methods and systems for identifying and tagging barcodes in pdf files | |
JP3735062B2 (en) | Barcode printing processing method and barcode printing processing system | |
CN208888848U (en) | A kind of two dimensional code comprising variable information | |
JPH0719251B2 (en) | Mathematical symbol input display method | |
JP4347020B2 (en) | Setting information registration device | |
CN108509393A (en) | A kind of method and apparatus of edit text message | |
JP2001184349A (en) | Device and method for editing document and recording medium | |
CN102693107A (en) | Method for printing work orders in pre-printed form in workflow | |
JP4956594B2 (en) | Print data generator | |
Allison | SAS/GRAPH® 101 | |
JP2016184359A (en) | Character recognition device, character recognition processing system, and program | |
RU2592399C2 (en) | Method of encoding and recording data into rfid- label | |
JPH01237550A (en) | Character figure input/output device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190521 |