473,287 Members | 1,708 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Zebra Printing Language

We have to use a zebra printer to print some specialty labels. I was
wondering if anyone had used python to output text to these. I know
they use the Zebra Printing Language and before we got into that i was
wondering if there was already a module that did this. Any info would
be greatly appreciated.

Thank You

Christopher
Jul 18 '05 #1
2 15046
Twist Around asks...
We have to use a zebra printer to print some specialty labels. I was
wondering if anyone had used python to output text to these. I know
they use the Zebra Printing Language and before we got into that i was
wondering if there was already a module that did this. Any info would
be greatly appreciated.


I print directly to the printer without using any specific module.
Depending on what you want to do, ZPL (or DPL or ... ) is fairly easy. I'm
using one or another label printer in six or so different locations now and
have had no significant problems. IIRC, the hardest problem I've run into
during an installation was getting Zope to talk to a windows shared printer.
It rather felt like a naming of cats issue...

Emile van Sebille
em***@fenx.com
Jul 18 '05 #2

"Twist Around" <li*******@aol.com> wrote in message
news:2d**************************@posting.google.c om...
We have to use a zebra printer to print some specialty labels. I was
wondering if anyone had used python to output text to these. I know
they use the Zebra Printing Language and before we got into that i was
wondering if there was already a module that did this. Any info would
be greatly appreciated.


ZPLII isn't a language, its a *very* simple text markup. So think HTML or
TEX, not code.
Here's a 'hello world' label:

^XA
^FO10,10
^A0,40,40
^FD
Hello World!
^FS
^XZ
(
Which is:
^XA - Start label format
^FO10,10 - Set field origin to (10,10)
^A0,40,40 - Use Font 0, size 40x40
^FD - Begin field data
^FS - End field data
^XZ - End label
)

Enter the above in a text file, and you can send it by direct serial
connection, via LPR, or even just FTP it to the printer. Personally I use
FTP while working up a format, then LPR when it is put in production on the
iSeries. (Currently via ILE-RPG, even though python is available on OS/400
now.)

The ZPLII manuals area available from: http://www.zebra.com/SS/manuals.htm


Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Amit | last post by:
I have created formatted-PDF in Buffer. This PDF document have many images, lines, texts with underline-bold-italic. I put this buffer PDF contents to a variable. When I try to send the variable...
6
by: dzemo | last post by:
I have mentioned printer but how to print on him from code? I tried like POS printer copy .txt to LPT port but don't work. I tried print test page- still nothing. Any ideas? thx --...
3
by: Mika M | last post by:
Hi all! I have made an application for printing simple barcode labels using PrintDocument object, and it's working fine. Barcode printer that I use is attached to the computer, and this...
6
by: VJ | last post by:
I am able to print to File, which I am doing fine in our Program now. I want to be able to take this file and Print to a printer. Vijay
2
by: Beginner | last post by:
I have to print a Fedex shipping label on a Zebra(thermal) printer. I initially had the label information in a base64 string which I decoded into a memory stream. Now I need to send this memory...
13
by: ATJaguarX | last post by:
I have a Zebra S500 and multiple S600 label printers. http://www.zebra.com/id/zebra/na/en/index/products/printers/industrial_commercial/s600.html They are currently being used in our legacy...
1
by: steve | last post by:
Hi All Has anybody had experience with printing text and barcodes to Zebra label printers in VB.net 2005 Regards Steve
2
by: cchen1682005 | last post by:
Hi, I am writing an application in C#. Which can adjust the printing position of a Zebra printer, 110XiIII through program instesd of setting on Zebra's panel. Any help on this would be greatly...
0
by: Raymond | last post by:
Hi All, Has any one work with FedEx Webservice with ASP? I am using ASP via SOAP to talk to FedEx Webservice, I have no problem printing the FedEx label with PNG or PDF, my problem is to print...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.