Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi!

I have a barcode generator application that displays the barcode in a PictureBox.
Can someone please help how I could print the image(barcode) in the picturebox? Preferrably using the SerialPort control.


Thanks in advance.

Ken
Posted
Comments
Sergey Alexandrovich Kryukov 14-Aug-11 23:13pm    
What does it mean "preferably"? You either have a printer with such as weird feature as serial port connectivity or not.
--SA
kennytan_ph 15-Aug-11 1:25am    
Printer manufacturers may have APIs for printing which I can use for printing the image. But I don't want to use those APIs, I want something I can use for any printer.

I am able to print Texts with the SerialPort (the port is assigned to a bluetooth printer) control by using the SerialPort.write() function.

What I meant of "preferrably using serial port control" is, to have a solution that uses the SerialPort.Write() function.

But if anyone has a better solution, that will be better.

Thanks!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900