"Bouzite, Radouan" wrote:
> I am looking for the python script to convert pcx to zpl ?
I'm not aware of any such script, and I don't have any idea what ZPL (or Zebra)
is. Is this something you've seen somewhere, and need help locating, or are you
just asking if it exists?
_
I am looking for the python script to convert pcx to zpl ?
Radouan Bouzite
Unix Admin.
IPEX Inc.
[EMAIL PROTECTED]
Tel:
(514) 769-2200, ext. 291
Fax:
(514) 769-1672
___
Peter Dempsey wrote:
> Hi Douglas,
>
> Your solution worked very well with a couple of minor tweaks.
wow. it's things like this that makes you wonder why you spend
time helping people.
___
Image-SIG maillist - Image-SIG@python.org
http://mail.py
Hi Douglas,
Your solution worked very well with a couple of minor tweaks. 'Takes a lot
less lines of code than my effort. This is what I came up with today...
#! /usr/bin/env python
import Image, sys
for arg in sys.argv[1:]:
im = Image.open(arg).convert("1").rotate(0) # convert("1"
Peter Dempsey wrote:
> I made some progress today by using PIL today. I managed to load the image and
> cycle through the raw image data. The code is below. I'll look at your
> suggestion tomorrow, Douglas. The string types methods sound a bit more
> useful than my fumblings.
so why not use the c
On Monday 20 June 2005 20:07, Peter Dempsey wrote:
> Thanks Douglas and Jaos for your replies.
> Ideally, I should be able to produce a decoder plug-in for ZPL but
> I have a lot to learn before that happens. Given the lack of hits I
> got while looking for a ready-made converter, there is not muc
Thanks Douglas and Jaos for your replies.
I made some progress today by using PIL today. I managed to load the image and
cycle through the raw image data. The code is below. I'll look at your
suggestion tomorrow, Douglas. The string types methods sound a bit more
useful than my fumblings. As I
hi Peter,
>
> Thanks for the reply folks. Here is the code I have produced so far...
> #! /usr/bin/python
>
> import sys
> import string
Don't use the string module, use the string type methods:
http://python.org/doc/2.3.5/lib/string-methods.html
Read the next page too, about string formattin
On Saturday 18 Jun 2005 02:40, you wrote:
> Hi Peter,
>
> despite Fredik's lengthy and carefull answer, I think that is not what
> you were asking for - his program is suitable to print images inpout
> inline inside a Python program as sequences of 0 and 1's.
>
> But I think you were asking for a w
Joao S. O. Bueno Calligaris wrote:
> despite Fredik's lengthy and carefull answer, I think that is not what
> you were asking for - his program is suitable to print images inpout
> inline inside a Python program as sequences of 0 and 1's.
the first section of the script was sample code which illu
Hi Peter,
despite Fredik's lengthy and carefull answer, I think that is not what
you were asking for - his program is suitable to print images inpout
inline inside a Python program as sequences of 0 and 1's.
But I think you were asking for a way to print a generic image read
from a disk file.
Peter Dempsey wrote:
> Hi folks, I'm a newbie to python so please be gentle.
>
> I want to convert an image to a format suitable for use in a Zebra label
> printer. The data sent to the printer consists of a string of hex characters.
> Each byte converts to a binary set of dots on the label.
>
> F
Hi folks, I'm a newbie to python so please be gentle.
I want to convert an image to a format suitable for use in a Zebra label
printer. The data sent to the printer consists of a string of hex characters.
Each byte converts to a binary set of dots on the label.
FF becomes
A5 becomes 10
13 matches
Mail list logo