views:

828

answers:

1

Greetings,

My application runs under CF 2.0 locally and i would like to know how to connect and send something to print in the embedded printer of a http://www.milliontech.com/home/content/view/195/95/'>Bluebird BIP-1300 device.

Ideally i would like an example in c#.

Thank you in advance.

+2  A: 

I'm not familiar with this particular device, but in general, printers in this class require you to send RAW data, as they don't have Windows drivers.

This KB article outlines how to send data to the device using C#: whether this is useful for you depends on whether the unmanaged APIs used are available in the environment your CF app runs on.

In case the APIs are supported, what you need next are the correct escape codes for the device in order to get the on-paper results you want. These are usually well-documented in the printer manual.

If the Spooler API is not available, or you run into other issues that make this approach more trouble than it's worth, the third-party PrinterCE.NetCF SDK may also be worth looking into.

mdb