[Tutor] Printing from python

Ulrich Goebel ml at fam-goebel.de
Fri Mar 14 11:40:59 CET 2014


Hallo,

is there another way to pritt a PDF form python?

My problem is a PDF which is printed well by evince, but not with lp, 
even not out of python using

os.system("lp some_options file.pdf")

Later on I have to build the PDF in a python program (using reportlab) 
and then print it, even from the python program.

So I look for a (nice documented) library which give access to the CUPS 
API or something else to print the PDF from python.

Any help is welcome!

Ulrich


-- 
Ulrich Goebel
Paracelsusstr. 120, 53177 Bonn


More information about the Tutor mailing list