I am developing a project for Windows Mobile 6.5 MC75A Mobile computer. I connectd my MC75A Mobile computer to the Zebra printer(ZEBRA qln420) via Bluetooth.
I am developing application in vb.net.in my project i added PrinterCE.NetCF.dll
and i copyed the same dll into windows folder in mobile device. in application print button click i given code like this:
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
but this is not working fine ..throwing error.while clicking print button.how i can achieve this?
Did you try using the SDK from Zebra? It walks you through adding it to your project and has examples for connecting to and printing using BT.
https://www.zebra.com/us/en/products/software/barcode-printers/link-os/link-os-sdk.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.