Printing of picturebox contents c# in thermal printer (zebra) by serial connection

Asked

Viewed 590 times

1

I received a request at work to print barcodes on the printer you have here (Zebra QL320 plus 1). The first step is done, I was able to adapt a code to generate the barcode; this is inserted in a pictureBox. My big question and obstacle is how do I send this image via serial port to be printed? And how do I adjust the layout of printing to print two copies of the barcode next to each other and a third copy soon after, in the size I have of the label. I found this question here of the site but is being used a string, that is, it will be printed text and in my case it is an image bitmap. Is it possible to do this? I also saw about the layout that he used the Zebradesigner2 to adjust, I just downloaded and I’ll test. I am inciante in the area and it is my first job so it is very difficult in this part, I never programmed something that has connection with anything, be it serial, Bluetooh, usb, etc and I touched very little with C#. Thanks in advance!

  • Was this image generated from a numbering? If positive, you can use it to send the print. I worked little with these printers, I know they have a language of their own. In your case you will not send the image but the código de barras (número) the printer is in charge of "drawing" the code. https://www.zebra.com/us/products/software/barcode-printers/link-os/link-sdk.html

  • Yes. The program will still be perfected to search for the unique codes of some components, however, for now the user has to type. But yes, it is from a numbering.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.