I am trying to get HTML to PDF to work. But apparently I have not understood, the workflow. Mine is Page 1) I have a page with a table of names and id's. By choosing the id I call with an URL parameter ID Page 2) a new empty page where I have inserted your "HTML to PDF "Run on load" '*********************** '* http://www.DwZone-it.com '* Asp HTML to PDF '* Version 1.3.12 '*********************** set dwzPdf = new dwzAspPdf dwzPdf.setPageInstance("0") dwzPdf.setDestinationFolder("/Files/3e_01") dwzPdf.setPdfName("test") dwzPdf.setMainPar("None@[email protected]@_@Overwrite@_@A4@_@Vertical@_@35@_@35@_@35@_@35@_@@_@35@_@@_@@_@100@_@0@_@Not set@_@Not set@_@Not set@_@Not set@_@65001@_@@_@@_@@_@0@_@System@_@@_@ONLOAD@_@") dwzPdf.setSourcePar("Post@[email protected]@_@Recordset;var_id;rs_elev;ID|Recordset;var_fag1;rs_elev;Fag1|Recordset;var_fag2;rs_elev;Fag2|Recordset;var_vejl1;rs_elev;Vejl1|Recordset;var_vejl2;rs_elev;Vejl2|Recordset;var_opgave;rs_elev;opgave@[email protected]@_@false") dwzPdf.setFirstHeaderPar("0@_@@_@") dwzPdf.setSecondHeaderPar("0@_@@_@") dwzPdf.setFooterPar("0@_@@_@") dwzPdf.createPdf() '****************** ' Asp HTML to PDF ' End code '******************
..This page finally calls ( I think it should display/convert the dynamic page I want to pdf)
3) my dynamic page, where I get the data from page 2 with the request.form("id") etc
But I get this error message (English translation in () )
Der opstod en Microsoft VBScript-kørselsfejl fejl '800a01a8' (There is an Microssoft Vbsript-run error '800a01a8'
Et objekt er obligatorisk: '[undefined]' (an object is mandatory: '[undefined]'
/SRPIndskrivNY/./dwzAspPdf/dwzAspPdfClass.asp, linje 472
What have I not understod?
regards Johnny Odgaard |
|
|