3

I want to print a receipt containing text and barcode from MC75 [Windows mobile 6] and using a bluetooth printer (Zebra or any other).

I am very new to windows mobile and I don't know where to start and how to connect with bluetooth devices.

Please can someone provide me with some link or code to start with a print "hello world" via a bluetooth printer in c#.

Stephen
  • 1,737
  • 2
  • 26
  • 37
code_star_net
  • 213
  • 7
  • 23

2 Answers2

2

Zebra provides an SDK for Windows mobile which has many examples, short sample applications, and even a demo utility. You just simply call the APIs provided and the SDK will make the proper connection to the printer via Bluetooth (or TCP) for you.

Ovi Tisler
  • 6,425
  • 3
  • 38
  • 63
  • Thank You For Your Kind Response.Finally am on that.ANd iam confused...how to dynamically find zebra printer in a bluetooth range and show it to user to select from the available list and print...? can i pass text file directlt to zebra printer...or hardcode like 'T 2 0 10 52 PRINT HELLO' etc...coz i hav many data in dataset and print in to a firmat...how can i do it ? did u ever used with this ? ....nothing shown in example demo... – code_star_net Oct 24 '11 at 06:08
  • Have you looked at the documentation? Look at the BluetoothDiscoverer class. It has code on how to find printers. On the main page of the CHM file it has quick links for how to send formats and print to a printer – Ovi Tisler Oct 24 '11 at 13:17
  • Hi , I had test print.and when i create a dynamic print .its not print anything...deveie foud BT printer and pass the string like below... – code_star_net Oct 24 '11 at 14:23
1

You could take a screen shot of the information on your device (example >> HERE <<), then send the file via Bluetooth.

The only other idea I could think of would be to write enough data in a text file to completely describe all of the controls displayed on the device (control type, location, size, color, any text, barcode font) then send that text file to a Windows program on the paired PC to take that information and recreate your form

...then Print from Windows.

Community
  • 1
  • 1