Printing on a Zebra Z4M barcode printer.

  • Thread starter Thread starter Juan Pablo Largente
  • Start date Start date
J

Juan Pablo Largente

I know maybe this topic must be posted on a printers forum but there's a
chance one of you guys know anything about this.
I have to write an application where at some point I have to print some
barcode labels to a Zebra Z4M Printer (I'm trying to build it as generic as
I can so any printer can be used). I thought a possible way of doing this by
sending ZPL commands to the LPT1 Port.
Does anyone know if it is possible to render the image (with barcode an
everything) and send it to the barcode printer?
I used a barcode printer some time ago that used some template design using
a text file. Do you know any program that let you design a label using a
visual enviroment so then I can use that template to print using my own
app??

Thanks!...
Juan Pablo Largente
 
http://www.xlogics.pl/Produkty/tabid/96/Default.aspx

This is a small Polish company which I left year ago. (This is why this page
is in polish language :-)
We have done XPack - tool to automate package sending written completely in
C#, and one component of it is label designer. From what I remember printer
drivers can be changed/added without problem. It works on LPT or serial
port - I don't remember (it wasn't my module), but it was a requirement to
not write it as Windows printer driver, beacuse XPack need feedback from
printer that label is printed.

As you see on this page they support now Zebra Z4M also.
It shouldn't be a problem to separate this designer and drivers as a
separate product. Or maybe it's already done.
Drop them mail on (e-mail address removed) and ask for what you need.

SeeR
 
So You want to print some text and barcodes on labels.
And the pogram is written in DotNet.
AXH
 
Hi!
I have a Zebra 105SZ. I use the Xtrareport from www.devexpress.com (they
have a great support btw.) and bypass ZPL completely.
Fine, if you want to change the labelprinter.

wolfgang
 
Hi Juan,

Hereby the zebraprinterdriver class (attachment).

This is the procedure to print labels to the zebra (for example):

Dim pd1 As New PrintDialog
pd1.PrinterSettings = New System.Drawing.Printing.PrinterSettings
If pd1.ShowDialog <> DialogResult.OK Then Exit Sub
Dim PrintStr As String = _
"^XA^CFD^FS" & Chr(10) & _
"^PON^FS" & Chr(10) & _
"^FWN^FS" & Chr(10) & _
"^LH020,30^FS" & Chr(10) & _
"^FO0,5^A0,N,50,50^FDSTART TEST" & "^FS" & Chr(10) & _
"^FO0,50^A0,N,30,30^FD" & Date.Now & "^FS" & Chr(10) & _
"^PQ1" & Chr(10) & _
"^XZ"
ZebraPrinterDriver.SendStringToPrinter(pd1.PrinterSettings.PrinterName,
PrintStr)


This is all and you can send everything to the zebra printer.

All the best,
AXH
 
Back
Top