top of page

Schedule your service
Using Tesla’s Vehicles with the best, “Driver Training Experience"
Check out our availability and book the date and time that works for you
bottom of page
# ============================================================ # AAVA Petition of Support – Web Form Edition # Created under direction of Admiral Raymond R. Rosa # Founding Chair, American Autonomous Vehicle Charter Association # Fleet Admiral, Starfleet Drive Command # ============================================================ from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import LETTER from reportlab.lib.units import inch from reportlab.lib.colors import HexColor, Color from pdfrw import PdfReader, PdfWriter, PageMerge, IndirectPdfDict def create_petition_pdf(output_path): # --- Design parameters --- PAGE_W, PAGE_H = LETTER parchment = Color(0.98, 0.965, 0.92) gold = HexColor("#D4AF37") blue = HexColor("#005CFF") silver_blue = HexColor("#9BBAD6") # --- Create base PDF with ReportLab --- c = canvas.Canvas(output_path, pagesize=LETTER) c.setFillColor(parchment) c.rect(0, 0, PAGE_W, PAGE_H, stroke=0, fill=1) # Border c.setStrokeColor(gold) c.setLineWidth(4) margin = 0.5 * inch c.rect(margin, margin, PAGE_W - 2*margin, PAGE_H - 2*margin, stroke=1, fill=0) c.setStrokeColor(silver_blue) c.setLineWidth(1.5) c.rect(margin+10, margin+10, PAGE_W - 2*(margin+10), PAGE_H - 2*(margin+10), stroke=1, fill=0) # Title c.setFont("Times-Bold", 22) c.setFillColor(gold) c.drawCentredString(PAGE_W/2, PAGE_H - 1.2*inch, "AAVA Petition of Support") c.setFont("Times-Roman", 14) c.drawCentredString(PAGE_W/2, PAGE_H - 1.5*inch, "American Autonomous Vehicle Charter Association") c.setFont("Times-Italic", 12) c.drawCentredString(PAGE_W/2, PAGE_H - 1.75*inch, "In Alliance with Starfleet Drive Command") # Purpose Statement text = """By signing this petition, I affirm my support for the mission of the American Autonomous Vehicle Charter Association (AAVA) to advance safe, ethical, and sustainable integration of autonomous vehicles within our nation.""" c.setFillColor(HexColor("#333333")) textobject = c.beginText(1.1*inch, PAGE_H - 2.2*inch) textobject.setFont("Times-Roman", 11) textobject.textLines(text) c.drawText(textobject) # --- Form Fields --- form = c.acroForm y = PAGE_H - 3.1*inch spacing = 0.45*inch field_width = 3.5*inch fields = [ ("Full Name:", "full_name"), ("City / State:", "city_state"), ("Mobile Number:", "mobile_number"), ("Email Address:", "email"), ("Affiliation (Optional):", "affiliation") ] c.setFont("Times-Roman", 11) for label, name in fields: c.drawString(1.1*inch, y + 4, label) form.textfield( name=name, tooltip=label, x=2.6*inch, y=y, width=field_width, height=18, borderStyle='underlined', borderColor=gold, fillColor=None, textColor=HexColor("#000000"), forceBorder=True ) y -= spacing # Signature fields c.drawString(1.1*inch, y + 4, "Signature (Typed/Drawn):") form.signature(name='signature', x=2.6*inch, y=y, width=field_width, height=22) y -= spacing c.drawString(1.1*inch, y + 4, "Certified Digital Signature:") form.signature(name='digital_signature', x=2.6*inch, y=y, width=field_width, height=22) # --- Submit Button --- form.button( name='submit', tooltip='Submit Petition', x=PAGE_W/2 - 1.0*inch, y=0.9*inch, width=2.0*inch, height=0.4*inch, label='Submit Petition', actionURL='https://www.StarFleetDrivingForceAcademy.com', borderColor=blue, fillColor=blue, textColor=Color(1, 1, 1) ) # Footer c.setFont("Times-Italic", 10) footer = ("Admiral Raymond R. Rosa — Founding Chair, American Autonomous Vehicle Charter Association " "/ Fleet Admiral, Starfleet Drive Command") c.drawCentredString(PAGE_W/2, 0.55*inch, footer) c.setFont("Times-Roman", 9) c.drawCentredString(PAGE_W/2, 0.35*inch, "“Driving the Future of Intelligence.”") c.save() print(f"✅ Petition Web Form generated at: {output_path}") # --- Run the generator --- if __name__ == "__main__": create_petition_pdf("AAVA_Petition_WebForm.pdf")
# ============================================================ # AAVA Petition of Support – Web Form Edition # Created under direction of Admiral Raymond R. Rosa # Founding Chair, American Autonomous Vehicle Charter Association # Fleet Admiral, Starfleet Drive Command # ============================================================ from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import LETTER from reportlab.lib.units import inch from reportlab.lib.colors import HexColor, Color from pdfrw import PdfReader, PdfWriter, PageMerge, IndirectPdfDict def create_petition_pdf(output_path): # --- Design parameters --- PAGE_W, PAGE_H = LETTER parchment = Color(0.98, 0.965, 0.92) gold = HexColor("#D4AF37") blue = HexColor("#005CFF") silver_blue = HexColor("#9BBAD6") # --- Create base PDF with ReportLab --- c = canvas.Canvas(output_path, pagesize=LETTER) c.setFillColor(parchment) c.rect(0, 0, PAGE_W, PAGE_H, stroke=0, fill=1) # Border c.setStrokeColor(gold) c.setLineWidth(4) margin = 0.5 * inch c.rect(margin, margin, PAGE_W - 2*margin, PAGE_H - 2*margin, stroke=1, fill=0) c.setStrokeColor(silver_blue) c.setLineWidth(1.5) c.rect(margin+10, margin+10, PAGE_W - 2*(margin+10), PAGE_H - 2*(margin+10), stroke=1, fill=0) # Title c.setFont("Times-Bold", 22) c.setFillColor(gold) c.drawCentredString(PAGE_W/2, PAGE_H - 1.2*inch, "AAVA Petition of Support") c.setFont("Times-Roman", 14) c.drawCentredString(PAGE_W/2, PAGE_H - 1.5*inch, "American Autonomous Vehicle Charter Association") c.setFont("Times-Italic", 12) c.drawCentredString(PAGE_W/2, PAGE_H - 1.75*inch, "In Alliance with Starfleet Drive Command") # Purpose Statement text = """By signing this petition, I affirm my support for the mission of the American Autonomous Vehicle Charter Association (AAVA) to advance safe, ethical, and sustainable integration of autonomous vehicles within our nation.""" c.setFillColor(HexColor("#333333")) textobject = c.beginText(1.1*inch, PAGE_H - 2.2*inch) textobject.setFont("Times-Roman", 11) textobject.textLines(text) c.drawText(textobject) # --- Form Fields --- form = c.acroForm y = PAGE_H - 3.1*inch spacing = 0.45*inch field_width = 3.5*inch fields = [ ("Full Name:", "full_name"), ("City / State:", "city_state"), ("Mobile Number:", "mobile_number"), ("Email Address:", "email"), ("Affiliation (Optional):", "affiliation") ] c.setFont("Times-Roman", 11) for label, name in fields: c.drawString(1.1*inch, y + 4, label) form.textfield( name=name, tooltip=label, x=2.6*inch, y=y, width=field_width, height=18, borderStyle='underlined', borderColor=gold, fillColor=None, textColor=HexColor("#000000"), forceBorder=True ) y -= spacing # Signature fields c.drawString(1.1*inch, y + 4, "Signature (Typed/Drawn):") form.signature(name='signature', x=2.6*inch, y=y, width=field_width, height=22) y -= spacing c.drawString(1.1*inch, y + 4, "Certified Digital Signature:") form.signature(name='digital_signature', x=2.6*inch, y=y, width=field_width, height=22) # --- Submit Button --- form.button( name='submit', tooltip='Submit Petition', x=PAGE_W/2 - 1.0*inch, y=0.9*inch, width=2.0*inch, height=0.4*inch, label='Submit Petition', actionURL='https://www.StarFleetDrivingForceAcademy.com', borderColor=blue, fillColor=blue, textColor=Color(1, 1, 1) ) # Footer c.setFont("Times-Italic", 10) footer = ("Admiral Raymond R. Rosa — Founding Chair, American Autonomous Vehicle Charter Association " "/ Fleet Admiral, Starfleet Drive Command") c.drawCentredString(PAGE_W/2, 0.55*inch, footer) c.setFont("Times-Roman", 9) c.drawCentredString(PAGE_W/2, 0.35*inch, "“Driving the Future of Intelligence.”") c.save() print(f"✅ Petition Web Form generated at: {output_path}") # --- Run the generator --- if __name__ == "__main__": create_petition_pdf("AAVA_Petition_WebForm.pdf")