-1

I have tried to print a label in C# in a postek(Tx3r)printer with rawprinterhelper with zpl and epl language, I tried s="some zpl language" but it does not print anything and it does not move, if I use the stringBuilder but it only prints ??? characters, (I tried with a zebra printer and the code works 100%) I the following example tutorial and got it to print some words using e.Graphics.DrawString.

my question is how to use the zpl or epl language to the e.Graphics.DrawString command to be able to print a label?

.NET code to send ZPL to Zebra printers i use this code, the code only works when i print to a zebra printer

https://www.youtube.com/watch?v=nAI-1w9MhwE example print Graphics.DrawString(works for me to postek printer)

the latest drivers installed in the computer https://www.seagullscientific.com/es/support/downloads/drivers/postek/

on the printer it says it's version 7.82

i try this now :

e.Graphics.DrawString("N", printFont, System.Drawing.Brushes.Black, 10, top += printTextHeight);

e.Graphics.DrawString("B210,78,0,1,2,2,50,B,123456", printFont, System.Drawing.Brushes.Black, 10, top += printTextHeight);

e.Graphics.DrawString("A18,80,0,3,1,1,N,OBS: FraGil", printFont, System.Drawing.Brushes.Black, 10, top += printTextHeight);

e.Graphics.DrawString("LE26,60,10,2 ", printFont, System.Drawing.Brushes.Black, 10, top += printTextHeight);

e.Graphics.DrawString("A18,16,0,3,3,3,N,MI EMPRESA", printFont, System.Drawing.Brushes.Black, 10, top += printTextHeight);

e.Graphics.DrawString("P1", printFont, System.Drawing.Brushes.Black, 10, top += printTextHeight);

the printer prints but does not take the epl language and neither does the zpl, i'm missing something?

Thanks for your time.

Larry
  • 9
  • 2

0 Answers0