PDF Printing support from Python

Grant Edwards grante at visi.com
Fri Apr 22 16:26:09 EDT 2005


On 2005-04-22, dcrespo <dcrespo at gmail.com> wrote:

> Your solution requires a previous installation of Acrobat.

Probably not.  Most printing systems I'm familiar with use
ghostscript to render PDF into either postscript (the case on
my machines at home) or whatever raster format the printer
desires (the case at my office).

> Internally, the OS is sending the pdf file to the Acrobat PDF
> Driver and then it is sent to the printer.

Nope.  It's usnig the foomatic print filters which in turn use
ghostscript to render PDF.

> So you have to have Acrobat installed. Don't you?

No you just need a good printing system.  CUPS + foomatic works
great for me.  It knows what to do with postcript, text, PDF,
dvi, and a whole boatload of other fileformats that I don't
ever use.

> I want to avoid it installing a module that could do it (maybe
> I'm dreaming:( ). If there's no solution, then I will be very
> sad :-S
>
> 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.
>
> What I tried: I created a pdf file manually with these
> dimensions, and right-click on the pdf file, and selected
> "print". It just work under Windows XP with Acrobat Reader
> 7.0, but I want to do it from a Win98 as well.

Ah.  You're using Windows.  I didn't know that.  I've no clue
what to do under Windows.

-- 
Grant Edwards                   grante             Yow!  .. someone in DAYTON,
                                  at               Ohio is selling USED
                               visi.com            CARPETS to a SERBO-CROATIAN



More information about the Python-list mailing list