title: Error in asp fpdf header using vbscript
body: <p>I  want to include header image in all the pdf pages created   by fpdf asp version</p>
  
  <pre><code>&lt;%@language =vbscript %&gt;
   &lt;!--#include file="fpdf.asp"--&gt;
   &lt;%
  Set pdf=CreateJsObject("FPDF")
  Pdf.Header = function Header ( ) 
  Pdf.image "imgurl ", 2,3,205,12  
  End function
  pdf.CreatePDF()
  pdf.SetPath("fpdf/")
  pdf.SetFont "Arial","B",16
  pdf.Open()
  pdf.AddPage()
  pdf.AddPage ()
  pdf.Cell 40,10,"Hello, world!"
  pdf.Close()
  pdf.Output()
   %&gt;
  
  It shows error " syntax error "  at
   pdf.header= function Header ()
  </code></pre>
  
  <p>But when I use </p>
  
  <pre><code>&lt;%@language=javascript%&gt;
  &lt;%
  Var pdf = new FPDF ( );
  Pdf.Header = function Header ( )
   {
   Pdf.image ('imgurl ', 2,3,205,12);
   }
   %&gt;
  </code></pre>
  
  <p>It is working perfectly But I have to use vbscript Please help</p>