S
stunicoll
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!
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!