Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

How to use Python for coding with ZPL?

ZPL-Zebra Programming Language is used for communicating with Zebra Printers. They are mostly used for RFID and Bar-code printing. As ever, I wanted a bit more control over how my ZPL printer worked and had to get working.
The easiest technique is of course Python. And this is how I did it.

First get the Zebra package from Pypi
pypi.python.org/pypi/zebra/#downloads

Installation is simple. From commandline navigate to the folder containing setup.py and then enter
python setup.py install   [Windows Only]

I presume you've installed all necessary drivers. If you are using Win 7, Windows would have automatically installed them for you. If you're on Linux, you'd need a CUPS driver. Just look at the documentation.

Example Program:
###START OF CODE###

#ZPL commands to be sent to your Printer
label="""
^XA
^FO10,10
^A0,40,40
^FD
Hello World
^FS
^XZ
"""

#End of ZPL commands to print Hello World

from zebra import zebra
z=zebra
z.getqueues                                      #This will return a list of printers installed on your computer. 
z.setqueues('ZDesigner_ZPL_200')  #Set the default printer to your new ZPL printer
z.output(label)                                  #Have fun sending data to your printer.It's as easy as it can get. :)


####END OF CODE####


Reference:
http://bytes.com/topic/python/answers/24160-zebra-printing-language
http://pypi.python.org/pypi/zebra/

How to do everything online

The World has changed rapidly over the past 10 years. We are now connected to the Web not only  from all over the world but also from almost all our devices.

This ubiquitous growth of the Internet is only waiting to enter our lives in more dramatic ways.

Imagine using the web as a place to store all your data, edit all you word and excel files, play music, message friends, browse the internet without losing your anonymity, run an operating system….. and imagine doing all this inside that little browser on which you are reading this page!

This is not something from the future but the present. A website has been silently putting together a collection of web based software to do exactly these tasks and even more! The website in question is MyWebgrams.com

myWebgrams-logo

They have used a layout similar to that used by filehippo.com It makes it easier for you to look for the apps to do your job. You’ll find the best software in each category listed in the first page. You can find an even larger collection in subsequent pages.

This website will be very useful for People using Netbooks and also for people on the go. They have an unobtrusive ads system; so it’s easy to find what you need. Truly - “Find the web apps to do your job in seconds”.

Simple Method to Automatically turn on and turn-off your computer

Automatically turning on and off your computer is something that some of us desire. It is generally useful if you have to download something at a prescribed time interval. 

You can automate your computer using a simple program called "Wake up on Stand By". This is a 200Kb program writte by a certain dennis babkin. 

The program can be found here


The program is intuitive and easy to understand. It also has a Network repair feature that allows you to automatically repair the Network Connection.

Leave a comment if you need help using the program.

The Software Search Engine

Use the following search engine to search for softwares only.






happy googling

Bluetooth Monitor for Toshiba or any laptops

Bluetooth is a wireless technology that lets you connect two bluetooth enabled devices wirelessly. This ubiquitous technology is present in most of the cellphones,laptops and notepad computers. It is also the technology that connects your headsets to your Mobile phone.It is also used in the wireless Keyboard and mice that let you operate a computer from large distances.

A bluetooth monitor is a software that provides the drivers that are essential to connect the bluetooth device to your computer.

Most of the modern laptops(>2004) have a built-in bluetooth chip which helps transmit data wirelessly. But most of the desktops and the older laptops do not have this component. You can add a Bluetooth functionality by connecting a device called the Bluetooth dongle. (The Dongle looks like the one below)

When you add a Bluetooth dongle to a Toshiba laptop and if it is not something that has not been built by toshiba then you can't use it properly for long periods. You would have to download a set of softwares called the bluetooth stack from toshiba's website . This will allow you to operate the bluetooth dongle but for a period of 30 days.

This is because toshiba assumes that you are a a developer trying to use their tools and expects you to obtain a license from them. After the end of 30 days, the Bluetooth software/stack will stop working and the following message is displayed "Please obtain a license for this version of Bluetooth Stack for Windows by Toshiba."
But then there is no way to get such a license as toshiba does not sell such licenses !

So what to do when you get this ?

Here is a simple workaround, which I believe, will work for all laptops and PC's.

Install a different Bluetooth Monitor software such as Bluesoleil .This software is very similar to Toshiba's Bluetooth stack and Bluetooth Monitor softwares. It has more features and supports a very large number of Bluetooth Dongles.

Bluesoleil is one of those popular softwares on file sharing sites. You can download Bluesoleil from The Pirate Bay or Mininova or Torrentz using the following links. Just Click on the thumbnails to go to the relevant sites. But be warned that you could get infected with a few malicious viruses and Trojans transmitted through the torrents. You have been warned.



If you have a clean mind that is against piracy, you can download an original version of the software from the official website. The catch is that it is a shareware.


Bluesoleil is a shareware and used in the free mode it allows you to transfer a max of 5 MB of data at a time. Once you buy the license, you can use it with no limitations.

This should solve all your bluetooth manager problems on a Windows PC /laptop no matter when the laptop was manufactured.

I had a Toshiba laptop with a 3.0 GHz hyperthreaded processor and 1.2 Gb of RAM but with no Bluetooth. I faced all the above problems and whatever is written above is the solution that i managed to find. The bluetooth now works great with abssolutely no problems. Blesoleil seems to be a tad better than Toshiba's original software.



Linux users need to download a package called "bluetooth-gnome" OR "bluetooth-kde" using a suitable package manager depending on the windows environoment you use. These packages will add an application to transfer files that will work as a breeze and moreover it is legally free too! By default Ubuntu does not have a bluetooth data transfer program. Even though it is a small file of size < 1MB , It is not included. it's like the mp3 issue. You cannot play music unless you install gstreamer and gstreamer for mp3 is such a small download! Strange are the ways of opensource.

Contributors