473,385 Members | 1,492 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,385 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 15072
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.