Bluetooth Printing Bitmap

  • Thread starter Thread starter barry.burke
  • Start date Start date
B

barry.burke

Hi there,
im currently developing an application which prints to a Zebra QL320
printer via bluetooth.

im using Opennetcf's bluetooth and socket libraries.

So far i can discover the bluetooth devices available, and also print
text and barcodes, using the StreamWriter class with a combination of
CPCL (printing language),

However i need to be able to print a signature which i capture on the
device.
The signature is captured and saved as a .bmp(bitmap)

Here is where i'm cannot get past. The data needs to be sent out in HEX
or Binary, both may work.

So how can i read the bitmap and send it to the printer as HEX or
Binary,
or even capture the signature and/or store it as binary or hex

Thanks for any help
 
Have you tried just to read the captured bitmap file and send over the
stream?

-Alex
 
Alex thanks for your reply.

It the moment thats what im trying to do. But again unsure of how to go
about it.

How would you recommend doing this.
Open streamreader and immediately send it to the streamwriter???

I've been reading up on the bluetooth printers apparently its ASCII
characters thats best to send in the stream
 
Hi Barry,

The graphic format that the QL320 printer uses is specific to CPCL. Simply
sending the data from the original graphic will not work, you must convert it
to a format that the printer understands.

Let me know if this is still an issue and I will help you.

Regards,

Andy
 
Back
Top