Newbie : postscript printing
Ronny Dewaele
Ronny.Dewaele at village.uunet.be
Sun Jan 9 16:35:04 EST 2000
Of course, there are several ways to get the output in a file :
- redirect the output of your program (allowing the use of print to
generate the output)
e.g. python myapp.py > outfile
- create the file in the python application :
e.g. f=open('outfile','w')
and write to it using write commands (e.g. f.writeline(outputstring) )
Ronny
Support wrote:
>
> How to make a program to print my data (from database) to
> postscript printer (under linux) ?.
> does python provide a tools to print a document ?
>
> Thanks.
More information about the Python-list
mailing list