how to print pdf with python on a inkjet printer.
researchbase at gmail.com
Fri Nov 17 12:14:33 CET 2006
On 17/11/06, Tim Roberts <timr at probo.com> wrote:
> Making the PDF is easy. Go get ReportLab from www.reportlab.org. I
> consider it the best Python PDF solution.
wow! you solved my major problem before I even asked it. seams that
python programmers also have dynamic mind reading capability *smile*.
> Printing is more complicated, because you actually need something that can
> RENDER the PDF. The most common such renderer is the Acrobat Reader, and
> you can actually call the Acrobat Reader from a command line with a
> parameter that tells it to print the file automatically. The only
> disadvantage is that using that method will only print to the "default"
double wow! as it is my customer wants me to print to the default printer.
can you please help me with the command for rendering the pdf to the
printer with acrobat using python?
that essentially solves my most important problem.
else I was thinking to create an excel spreadsheet as a last alternative.
out of my curocity, I want to know if there are libraries that can
create excel spreadsheets?
I also wanted to know if there is a common dialog for listing out
printers under windows?
so in future if I make this software in GUI, I can at list help the
user select the printer from the list.
More information about the Python-list