e84fcea0efdc9aa70a319b717c697094f3271bca
Bernd Wurst Trennung von Firmen-spezifi...

Bernd Wurst authored 16 years ago

1) # -* coding: utf8 *-
2) from metrics import *
3) 
Bernd Wurst Break long address-lines

Bernd Wurst authored 15 years ago

4) 
5) address_header = 'schokokeks.org · Köchersberg 25 · 71540 Murrhardt'
6) 
7) 
Bernd Wurst Trennung von Firmen-spezifi...

Bernd Wurst authored 16 years ago

8) def FoldingMarkers(canvas):
9)   """Setzt Falzmarken"""
10)   from reportlab.lib.units import cm
11)   canvas.setStrokeColorRGB(0,0,0)
12)   canvas.setLineWidth(0.01*cm)
13)   canvas.lines(
14)    [(0.3*cm,page_height-10.5*cm,0.65*cm,page_height-10.5*cm),
15)     (0.3*cm,page_height-21.0*cm,0.65*cm,page_height-21.0*cm),
16)     (0.3*cm,page_height-14.85*cm,0.7*cm,page_height-14.85*cm)]);
17) 
18) 
19) def Footer(canvas):
20)   canvas.line(leftcontent, bottomcontent, rightcontent, bottomcontent)
21)   canvas.setFont(font, 7)
22)   canvas.drawString(leftcontent, bottomcontent-10, 'schokokeks.org GbR')
23)   canvas.drawString(leftcontent, bottomcontent-20, 'Bernd Wurst / Johannes Böck')
Bernd Wurst URL ohne http://

Bernd Wurst authored 16 years ago

24)   canvas.drawString(leftcontent, bottomcontent-30, 'www.schokokeks.org')
Bernd Wurst Trennung von Firmen-spezifi...

Bernd Wurst authored 16 years ago

25)   canvas.drawString(leftcontent, bottomcontent-40, 'root@schokokeks.org')
26)   
27)   canvas.drawString(leftcontent+((rightcontent-leftcontent)/3), bottomcontent-10, 'Steuernummer 51072/01109')
28)   canvas.drawString(leftcontent+((rightcontent-leftcontent)/3), bottomcontent-20, 'Finanzamt Backnang')
29)   canvas.drawString(leftcontent+((rightcontent-leftcontent)/3), bottomcontent-30, 'USt-ID: DE255720588')
30) 
Bernd Wurst Bankverbindung nicht mehr Fett

Bernd Wurst authored 14 years ago

31)   canvas.setFont(font, 7)
Bernd Wurst SEPA-Umstellung

Bernd Wurst authored 10 years ago

32)   canvas.drawString(leftcontent+((rightcontent-leftcontent)/3)*2, bottomcontent-10, 'Volksbank Backnang')
33)   canvas.drawString(leftcontent+((rightcontent-leftcontent)/3)*2, bottomcontent-20, 'IBAN: DE91602911200041512006')
34)   canvas.drawString(leftcontent+((rightcontent-leftcontent)/3)*2, bottomcontent-30, 'BIC: GENODES1VBK')