学习
贴个参考
http://itextsharp.sourceforge.net/

解决方案 »

  1.   

    我曾经看过这方面的资料,联系我详谈。
    msn:[email protected]
    ** FDFOpen:
    */
    errorCode = FDFOpen ("-", howMany, &FdfInput);
    /*
    ** FDFGetValue:
    */
    errorCode = FDFGetValue (FdfInput, "Customer.Name",
    cNameBuffer, sizeof(cNameBuffer), &howMany);
    errorCode = FDFGetValue (FdfInput, "Customer.Address",
    cAddrBuffer, sizeof(cNameBuffer), &howMany);
    errorCode = FDFGetValue (FdfInput, "My Combo Box",
    cComboBuffer, sizeof(cComboBuffer), &howMany);
    /*
    ** Presumably after we parsed this data, we would populate a
    database
    ** or generate another FDF file with some sort of response ...
    */
    // Your code goes here
    /*
    ** This next line of code is important if you are returning FDF
    ** You must emit the correct MIME type to "stdout" or you'll get a
    ** CGI error simular to this:
    **
    ** "The specified CGI application misbehaved by not
    returning
    ** a complete set of HTTP headers."
    **
    ** At this point you would generate FDF for the return and
    ** then do this:
    **
    **
    ** printf ("Content-type: application/vnd.fdf\n\n");
    ** fflush (stdout);
    **
    **
    ** For this example we will only send back acknowledgement that
    the
    ** code worked
    */
    printf ("Content-type: text/plain\n\n");
    printf ("Parsing of the submitted FDF completed\n");
    FDF Toolkit Overview and Reference 17
    FDF and Web Server Connectivity
    Creating the Client Side PDF File
    2
    /*
    ** FDFClose:
    **
    ** Use FDFClose to close any open FDFDocs and free resources
    */
    errorCode = FDFClose(FdfInput);
    }
      

  2.   

    http://community.csdn.net/Expert/topic/3582/3582652.xml?temp=.3766291