Pilprint

Chris Jankowski cjankowski at hbr-inc.com
Wed Aug 11 19:18:51 EDT 2004


"Fredrik Lundh" <fredrik at pythonware.com> wrote in message news:<mailman.1512.1092239365.5135.python-list at python.org>...
> Chris Jankowski wrote:
> 
> >I am a newbie to the world of Python and trying to print some
> > images(.tif).  I have installed the PIL Library and can use the some
> > of the fuctions like: m.format, im.size, im.mode without any problem.
> > When I try to use the Tools like pilprint and pilfile, I can't seem to
> > get them to work.  Any help would be greatly appreciated.
> >
> > Examples:
> >>>> pilfile *.tif
> > Traceback (  File "<interactive input>", line 1
> >    pilfile *.tif
> >
> >>>> pilprint 'c:/chris.TIF'
> > Traceback (  File "<interactive input>", line 1
> >    pilprint 'c:/chris.TIF'
> >                          ^
> > SyntaxError: invalid syntax
> 
> pilprint (etc) are programs, not Python statements.  you're supposed
> to run them from the standard command line, not Python's interactive
> prompt.
> 
> depending on your operating system, and how things are set up, some
> of these should work:
> 
>     pilprint.py c:/chris.tif
>     python pilprint.py c:/chris.tif
>     pilprint c:/chris.tif
> 
> </F>

Thanks, I got it to run, but now I have a Broken Pipe Error.  Any
ideas?  We are using a network printer.  Would that have anything to
do with it?  Also, I got an error message about not supporting group
4, when I tried it with a .tif image, are they supported?



More information about the Python-list mailing list