Hi,

I am trying to send data to a Bluetooth Printer, which I have paired to
a XDA IIi (Pocket PC 2003 SE) using Bluetooth Manager. Currently, I am
using C# and I am able to start up the Connection between the two using
SerialPort.Open (baud rate = 4800, parity bit = None, Com Port =
"COM6") and this apparently works (the connection goes green in
Bluetooth Manager).

But - I am then attempting to send the data using SerialPort.Write with
the data in a byte array or a string. The code appears to work and no
exception is thrown, but the printer device shows an error indication
rather than accepting the data and printing. From using the sample exe
which came with the printer, i do know that it is working and can print
from that device.

Does anyone have any experience with this sort of stuff and can suggest
what may be going wrong? Is it because the SerialPort is using the
Microsoft stack rather than Broadcom??? I just presumed that if i were
to write the data to that port which was already connected then that
would work - but obviously not! At least the printer is indicating
that it is receiving something though by showing the error!

Any help would be great.

Thanks!

Re: Bluetooth Printer from XDAIIi (Broadcom) by DriverSoft

DriverSoft
Wed Aug 16 09:15:37 CDT 2006

Does your printer have native Bluetooth support or do you have a Bluetooth
SPP dongle attached its serial port? From your description it sounds like
a native Bluetooth printer.

If so, then you don't want to use CreateFile() to open the port as this will
get redirected to the Virtual Serial Port API. Rather you want to use the
Widcomm API to discover your printer, select the appropriate service and
open a connection to your printer.





<stunicoll@yahoo.co.uk> wrote in message
news:1155682110.271899.153070@p79g2000cwp.googlegroups.com...
> Hi,
>
> I am trying to send data to a Bluetooth Printer, which I have paired to
> a XDA IIi (Pocket PC 2003 SE) using Bluetooth Manager. Currently, I am
> using C# and I am able to start up the Connection between the two using
> SerialPort.Open (baud rate = 4800, parity bit = None, Com Port =
> "COM6") and this apparently works (the connection goes green in
> Bluetooth Manager).
>
> But - I am then attempting to send the data using SerialPort.Write with
> the data in a byte array or a string. The code appears to work and no
> exception is thrown, but the printer device shows an error indication
> rather than accepting the data and printing. From using the sample exe
> which came with the printer, i do know that it is working and can print
> from that device.
>
> Does anyone have any experience with this sort of stuff and can suggest
> what may be going wrong? Is it because the SerialPort is using the
> Microsoft stack rather than Broadcom??? I just presumed that if i were
> to write the data to that port which was already connected then that
> would work - but obviously not! At least the printer is indicating
> that it is receiving something though by showing the error!
>
> Any help would be great.
>
> Thanks!
>