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?