Visualizzazione dei risultati da 1 a 2 su 2
  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2001
    Messaggi
    532

    problemi hello word in fpdf

    ho provato questo esempio


    <%

    Set pdf=CreateJsObject("FPDF")
    pdf.CreatePDF()
    pdf.SetPath("fpdf/")
    pdf.SetFont "Arial","",16
    pdf.Open()
    pdf.AddPage()
    pdf.Cell 40,10,"Hello Word!"
    pdf.Close()
    pdf.Output("")
    %>

    ma ottengo:


    %PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream 2 J 0.57 w BT /F1 16.00 Tf ET BT 31.19 794.57 Td (Hello Word!) Tj ET endstream endobj 1 0 obj <> endobj 5 0 obj <> endobj 2 0 obj <> >> endobj 6 0 obj << /Producer (FPDF for ASP v.1.01 beta by Lorenzo Abbati [www.aspxnet.it]) /CreationDate (D:2004411144110) >> endobj 7 0 obj << /Type /Catalog /Pages 1 0 R /OpenAction [3 0 R /FitH null] /PageLayout /OneColumn >> endobj xref 0 8 0000000000 65535 f 0000000204 00000 n 0000000387 00000 n 0000000009 00000 n 0000000087 00000 n 0000000291 00000 n 0000000475 00000 n 0000000600 00000 n trailer << /Size 8 /Root 7 0 R /Info 6 0 R >> startxref 703 %%EOF

    ho aggiunto

    pdf.Output("miofile.pdf")

    ed ottengo:

    FPDF error: Unable to create output file: miofile.pdf

    non riesco ad uscirne fuori, cosa sbaglio ?

  2. #2
    Utente di HTML.it
    Registrato dal
    Oct 2001
    Messaggi
    532
    nessuno risponde ?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.