PDF Printing support from Python
Mike Meyer
mwm at mired.org
Fri Apr 22 18:41:22 EDT 2005
"dcrespo" <dcrespo at gmail.com> writes:
> Hi Grant Edwards...
>
> Your solution requires a previous installation of Acrobat. Internally,
> the OS is sending the pdf file to the Acrobat PDF Driver and then it is
> sent to the printer. So you have to have Acrobat installed. Don't you?
No, you don't. My print system does that, and I don't have acrobat
installed. I have ghostscript installed, which includes pdf2ps - which
handles this particular translation.
> This is what exactly I need to do:
> Generate an invoice of 216cm width and 93cm height (1/3 of the height
> of a letter paper size), and print it respecting these dimensions. So,
> when I print this page on a dot matrix printer, it stops at those 93cm
> of height for continuous printing.
Ok, I'm a masochist. When I have problems like this (i.e. - printing
CD labels, addressing envelopes, etc) I just have the python generate
raw postscript. That gives you more than enough control over the
output to solve the problem. Integrating it with a GUI is another
matter, though.
<mike
--
Mike Meyer <mwm at mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
More information about the Python-list
mailing list