[reportlab-users] Printing Tuples From A List

Rich Shepard rshepard at appl-ecosys.com
Wed Oct 10 22:01:45 EDT 2007


On Wed, 10 Oct 2007, Tim Roberts wrote:


> I don't think the tabbing came out right, because this file wouldn't run

> as-is. Here are some of the problems:


Well, Tim. I'n neither surprised nor disappointed. I tried various pieces
from the doc and was stumbling around in ignorance.


> You pass in a canvas to outDo, and then the first thing you do is erase

> it. "c=canvas" is going to wipe out the canvas object you passed in, and

> replace it with the class called "canvas". You should get right of that

> line.


Ah, OK.


> The lines starting at the canvas creation should all be in column one, not

> indented:

>

> c = canvas.Canvas("EcoPairs.pdf", pagesize=letter)

> outDo( c )

> c.showPage()

> c.save()

>

> Other than that, the basic concept looks OK.


Good. Back for more testing.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D. | The Environmental Permitting
Applied Ecosystem Services, Inc. | Accelerators(TM)
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863


More information about the reportlab-users mailing list