.ZPL File Association 2. Audio or video playlist created by Zune, a multimedia application for Windows; saved in an XML format and contains references to playlist items, such as songs or movies; allows user to organize playlists by genres or favorites. NOTE: Zune also refers to a multimedia mobile device. The Zune desktop software can interface with Zune devices.
PermalinkJoin GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up Find file Copy path
1 contributor
How print a label from a TXT file when your printer ZM400 is connected in a USB port: |
1. First of all share your printer and give it a name. |
1.1. To do that, go to ControlPanelprinters and right-click on the printer you want to share. Now, click in 'sharing...'). |
2. In the CMD type: |
net use lpt1: /delete |
net use lpt1: computerNamenetworkPrinterName |
2.1. The computer name is the name of your computer in a network. To find it right-click in the 'My computer' and 'properties'. |
In the tab 'Computer Name' you can find the name of your computer. |
2.2. The networkPrinterName is the name of the printer you gave some steps before. |
3. Now the printer is in the LPT1 port in your pc, so you can use the 'print' method in the CMD |
4. So, now, you can type: |
print fileName.txt >prn |
5. The label printer will print your label. |
Copy lines Copy permalink
Developer | Zebra Technologies |
---|---|
OS | independent |
Influenced by | |
ANSI BASIC |
Zebra Programming Language (ZPL and ZPL II) is a page description language from Zebra Technologies. It is used primarily for labeling applications. The original ZPL was advanced to ZPL II, but a full compatibility with the older version is not given. Meanwhile, ZPL II is emulated by many label printers of various producers.
Later, the Zebra Basic Interpreter (ZBI) was integrated into printer software, which is seen as an advancement to ZPL II by the producer and is ANSI BASIC oriented. Primarily, it is intended to avoid a refactoring of code when changing the printer, if the old printer software was written by a label printer of a competitor. A possible use of ZBI could be for when the Zebra printer receives a foreign label format, which it would then convert to ZPL II on the fly so it can be printed. [1]
Some printers also support the older Eltron Programming Language (EPL) for printers.
- 1Commands
Commands[edit]
The language commands always start with a caret ('
^
') or tilde sign ('~
'). Currently, more than 170 commands exist in ZPL II. Each format has to start with the command ^XA
and end with ^XZ
.[2] For instance, the font size is sent to the printer with the ^ADN,n,m
command, where n
and m
are integers denoting the font size and spacing characteristics; ^ADN,18,10
is the smallest size and ^ADN,180,100
the largest.Example[edit]
A simple output displaying the text 'Wikipedia' can be made using code like below.
References[edit]
- ^'Zebra Basic Interpreter 2.0'. Zebra.com. Retrieved 2013-12-05.
- ^'ZPL II Programming Guide (vol. I)'(PDF). http://www.ptshome.com/: Portable Technology Solutions. p. 6. Archived from the original(PDF) on 2012-03-22. Retrieved 2011-04-14.
External links[edit]
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Zebra_(programming_language)&oldid=916467094'