伊人久久久久久久久久,欧美黑人性猛交大片,亚洲无码人妻一区二区三区,亚洲欧洲中文日韩

歡迎光臨東莞市立象條碼制品有限公司!

專注條碼技術(shù)19年

條碼系統(tǒng)應(yīng)用集成服務(wù)提供商

服務(wù)支持
解決方案
條碼技術(shù)文章您當(dāng)前位置:首頁 > 條碼技術(shù)文章
VB下POSTEK條形碼打印機(jī)編程函數(shù)示例
立象條碼制品 更新時(shí)間:2023-11-07 08:42:00   

VB下POSTEK條形碼打印機(jī)編程函數(shù)示例

Option Explicit
Private Declare Function PTK_Getinfo Lib "CDFPSK.DLL" () As Integer
Private Declare Function PTK_SetPrintSpeed Lib "CDFPSK.DLL" (ByVal speed As Integer) As Long
Private Declare Function PTK_SetDarkness Lib "CDFPSK.DLL" (ByVal darkness As Integer) As Long
Private Declare Function PTK_DrawBarcode Lib "CDFPSK.DLL" (ByVal px As Long, ByVal py As Long, ByVal pdirec As Long, ByVal typee As String, ByVal NarrowWidth As Long, ByVal pHorizontal As Long, ByVal pVertical As Long, ByVal ptext As Byte, ByVal pstr As String) As Long
Private Declare Function OpenPort Lib "CDFPSK.DLL" (ByVal OP As Long) As Long
Private Declare Sub ClosePort Lib "CDFPSK.DLL" ()
Private Declare Function PTK_DrawTextTrueTypeW Lib "CDFPSK.DLL" (ByVal x As Long, ByVal y As Long, ByVal FHeight As Long, ByVal FWidth As Long, ByVal FType As String, ByVal Fspin As Long, ByVal FWeight As Long, ByVal FItalic As Long, ByVal FUnline As Long, ByVal FStrikeOut As Long, ByVal id_name As String, ByVal data As String) As Long
Private Declare Function PTK_PcxGraphicsDel Lib "CDFPSK.DLL" (ByVal pid As String) As Long
Private Declare Function PTK_PcxGraphicsDownload Lib "CDFPSK.DLL" (ByVal pcxname As String, ByVal pcxpath As String) As Long
Private Declare Function PTK_PrintLabel Lib "CDFPSK.DLL" (ByVal number As Integer, ByVal cpnumber As Integer) As Long
Private Declare Function PTK_PrintPCX Lib "CDFPSK.DLL" (ByVal px As Integer, ByVal py As Integer, ByVal filename As String) As Long
Private Declare Function PTK_DrawPcxGraphics Lib "CDFPSK.DLL" (ByVal x As Long, ByVal y As Long, ByVal gname As String) As Long
Private Declare Function PTK_DrawLineOr Lib "CDFPSK.DLL" (ByVal px As Integer, ByVal py As Integer, ByVal plength As Integer, ByVal pH As Integer) As Long
Private Declare Function GetErrState Lib "CDFPSK.DLL" () As Integer
Private Declare Function PTK_SetLabelHeight Lib "CDFPSK.DLL" (ByVal lheight As Integer, ByVal gapH As Integer) As Integer
Private Declare Function PTK_SetLabelWidth Lib "CDFPSK.DLL" (ByVal lwidth As Integer) As Integer
Private Declare Function SetPCComPort Lib "CDFPSK.DLL" (ByVal BaudRate As Integer, ByVal HandShake As Boolean) As Integer
Private Declare Function PTK_DrawText Lib "CDFPSK.DLL" (ByVal px As Integer, ByVal py As Integer, ByVal pdirec As Integer, ByVal pFont As Integer, ByVal pHorizontal As Integer, ByVal pVertical As Integer, ByVal ptext As Byte, ByVal pstr As String) As Long
Private Sub Command1_Click()
OpenPort 1
'SetPCComPort 38400, True
PTK_SetDarkness 10
PTK_SetPrintSpeed 4

'PTK_Getinfo (void)
PTK_DrawBarcode 115, 120, 0, "9", 3, 2, 60, 66, "5451T-11-M"
'PTK_DrawBarcode 115, 150, 0, "3C", 2, 4, 60, 66, "236666456"
PTK_PcxGraphicsDel "*"
PTK_PcxGraphicsDownload "aab", "F:\DLL FOR POSTEK\VB TEST\PHONE.PCX" '請(qǐng)更改為PHONE.PCX文件的當(dāng)前路徑
PTK_DrawPcxGraphics 400, 210, "aab"
'PTK_DrawLineOr 50, 180, 2, 100
PTK_DrawTextTrueTypeW 80, 50, 40, 0, "Arial", 1, 400, 0, 0, 0, "AB", "PosteK Printer"
'PTK_DrawText 100, 100, 0, 2, 1, 1, 78, "7777"
'Text1.Text = GetErrState()
PTK_PrintLabel 1, 1
ClosePort
End Sub

国产毛片毛片毛片毛片毛片| 丁香三级五月| 久久激情一区二区| 亚洲综合色区另类av| 精品久久久久久无码中文野结衣| 国精产品亚色精久久| 蜜臀牛牛视频综合| 久久中文字幕无码专区| 亚洲伊人久久精品酒店| 精品无码av元码免费专区| 97SE亚洲国产综合自在线| 欧美日韩不卡视频| 无码不卡视频| 欧美一飞二区三区久久久久| 中文字幕av一区二区三区| 国产综合色在线精品| 97久久精品人人做人人爽| 七七色色| 国产成人无码精品久久一区二区| 户外av资源| 男人天堂AV操穴| 高清一区二区三区| 色五月亚洲| 91美女干| 精品无人乱码高清m5535| 欧州毛片| 婷婷亚洲一区二区| 亚洲天堂av一区二区| 99超碰伊人| 天堂а√在线中文在线新版| 中文字幕二| 日本无遮挡边做边摸| 人人爱人人爽| 中文字幕av一区中文字幕天堂| 亚洲免费成人| 婷婷国产偷v国产偷v高清视| 欧美人与禽性猛交狂配| 欧美 日韩 三区| 国内精品人妻无码久久久影院| 久久只精品| 亚洲天堂欧美狂|