- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
There are two ways to print barcodes in VB applications(国外英文资料)
There are two ways to print barcodes in VB applications(国外英文资料)
Printers that have a barcode printer are usually more expensive than regular printers, making the application system less expensive. The second is that all printouts must be processed by yourself, such as printing location is a waste of time.
Second, use pictorial method to output to ordinary printer
That the encoding rules of the bar code that is through the gap between line and line width to represent a binary 1 s and 0 s, as long as we understand the barcode encoding rules, can use drawing on regular printer to get acceptable results. Lets talk about using the most common CODE39 code.
The coding rule for CODE39 is:
Each five lines represent a character;
The bold line is 1, the thin line is 0;
The width of the spacing between the lines is 1, and the narrow representation of 0;
4, 5 lines and 4 Spaces between them are nine bits of binary code, and three of them must be 1, so theyre going to be 39 yards;
The first and last signs of the bar code begin and end
In our program, the characters that are commonly used are encoded, the lines are thick and the gaps are wide, such as:
The character * in the figure above can be interpreted as 001101000, and character 3 is interpreted as 110000100
Here is the subprocess we gave:
Note: the barcode that corresponds to strBarCode is exported to the default printer
Private Sub PrintBarCode (_
ByVal strBarCode As String, _
Optional ByVal intXPos As Integer = 0, _
Optional ByVal intYPos As Integer = 0, _
Optional ByVal intPrintHeight As Integer = 10, _
Optional ByVal bolPrintText As Boolean = True _
)
Note: the parameter specification:
Note: strBarCode - a barcode string to print
Note: intXPos, intYPos - prints the top left coordinate of the bar code (0, 0), and the coordinate scale is: mm.
Note: intheght-print height (the default is one centimeter, the coordinate scale is: mm)
Note: bolPrintText - does it print artificial identifier (the default is true)
Note: 0 - 9, a
您可能关注的文档
- PCM timeslot explain(国外英文资料).doc
- PH(国外英文资料).doc
- Openjudge topic(国外英文资料).doc
- Photoshop CS5 this document(国外英文资料).doc
- Pg and chloroprostol(国外英文资料).doc
- Photoshop CS5 installation instructions, can't hold! Turn the trial version into a pro version, and go through the details!(国外英文资料).doc
- PBL data(国外英文资料).doc
- Postpartum hemorrhage in the medium term(国外英文资料).doc
- Practice 2, 248 in the 2011 high 3 Chinese language week(国外英文资料).doc
- Practice 2 1120 in the 2011 high 3 Chinese language week(国外英文资料).doc
- The work plan of the implementation of the implementation of the scientific outlook on development was carried out(国外英文资料).doc
- There are 5, 60 impressive details of the ancient scroll scroll(国外英文资料).doc
- This is the first lecture in the circulation system(国外英文资料).doc
- The working principle of TCAS(国外英文资料).doc
- This is the fourth module of the digestive system(国外英文资料).doc
- The weather proverbs of suzhou city zhi(国外英文资料).doc
- Three times the formula for the B curve(国外英文资料).doc
- The type and performance of the adhesive(国外英文资料).doc
- Three lexical compilations(国外英文资料).doc
- To make your face naked(国外英文资料).doc
最近下载
- 遗体表面防腐操作擦拭涂抹法现代遗体防腐技术.pptx VIP
- 遗体防腐整容操作废液收集方法现代遗体防腐技术.pptx VIP
- unit1Financialsystem金融英语第一课省公开课金奖全国赛课一等奖微课获奖PPT课件.pptx VIP
- 2024版冠心病诊断与治疗指南ppt课件[1] .pdf VIP
- 教学课件 管理学基础(刘璇 张永良).ppt
- 教学楼、教学楼水电施工组织计划.docx VIP
- 41水平五 篮球单元18课时计划-《篮球:交叉步持球突破》说课稿.docx VIP
- 遗体防腐操作废液排放的监测及控制现代遗体防腐技术.pptx VIP
- 我的梦中国梦——共筑中国梦PPT课件.pptx VIP
- 中国天眼完整版本.ppt VIP
文档评论(0)