[英]print from mobile computer to zebra printer via Bluetooth comunication
我正在為Windows Mobile 6.5 MC75A移動計算機開發項目。 我通過藍牙將MC75A移動計算機連接到Zebra打印機(ZEBRA qln420)。
我正在vb.net.in中開發應用程序,在我的項目中添加了PrinterCE.NetCF.dll
,並將相同的dll復制到了移動設備的Windows文件夾中。 在應用程序打印按鈕中,單擊我給定的代碼,如下所示:
Dim prce As PrinterCE
Try
'No License Key for evaluation
prce = New PrinterCE(PrinterCE.EXCEPTION_LEVEL.ABORT_JOB, "YOURLICENSEKEY")
prce.SelectPrinter(True)
prce.DrawText("Hello World")
prce.EndDoc()
Catch exc As PrinterCEException
prce.ShutDown()
MessageBox.Show("PrinterCE Exception", "Exception")
Finally
prce.ShutDown()
End Try
但這不能正常工作..拋出錯誤。同時單擊打印按鈕。我怎么能做到這一點?
您是否嘗試過使用Zebra的SDK? 它逐步引導您將其添加到項目中,並提供使用BT連接和打印的示例。
https://www.zebra.com/us/en/products/software/barcode-printers/link-os/link-os-sdk.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.