(no subject)


Fri Apr 22 16:25:02 EDT 2005


#! rnews 2261
Newsgroups: comp.lang.python
Path: news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.abs.net!attws2!ip.att.net!NetNews1!xyzzy!nntp
From: Harry George <harry.g.george at boeing.com>
Subject: Re: PDF Printing support from Python
X-Nntp-Posting-Host: cola2.ca.boeing.com
Content-Type: text/plain; charset=us-ascii
Message-ID: <xqxr7h2vaoo.fsf at cola2.ca.boeing.com>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
Lines: 42
Sender: hgg9140 at cola2.ca.boeing.com
Organization: The Boeing Company
References: <1114191192.978923.268390 at f14g2000cwb.googlegroups.com> <116iihncpcr5057 at corp.supernews.com> <1114198703.935948.286720 at o13g2000cwo.googlegroups.com>
Mime-Version: 1.0
Date: Fri, 22 Apr 2005 20:05:59 GMT
Xref: news.xs4all.nl comp.lang.python:373861

"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?
> 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.
> Unfortunately, there's no Acrobat version under Win98 (the maximun is
> 5.1) that supports this kind of printing (what I had seen until now).
> It prints, but the all paper at letter size :(
> 
> Any help? Any other tools? Any one like Cristal Report but for Python?
> I heard that wxPython supports some kind of reporting, but I don't know
> it. Anyone knows?
> 
> Daniel
> 


When you say "OS", are you talking MS Windows by any chance?  On *NIX
(e.g., CUPS+ghostview+foomatic), PDF printing is not via Adobe code.

You could also consider pdf2ps, pdftops, and XPDF.


-- 
harry.g.george at boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 294-4718



More information about the Python-list mailing list