DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
HTML to PDF  
DwZone Forum Index -> HTML to PDF

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 81 to 90 of 330 (Total: 187) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: HTML to PDF Connecting...  
View this persons public profile  Kevin Robson   18:06 19 Sep 2012  
   Re: HTML to PDF Connecting...  
View this persons public profile  Gianluigi   8:39 20 Sep 2012  
   Re: HTML to PDF Connecting...  
View this persons public profile  Kevin Robson   10:23 22 Sep 2012  
   Re: HTML to PDF Connecting...  
View this persons public profile  Gianluigi   10:30 22 Sep 2012  
   HTML to PDF - Errors this one is Body Tag Missing.  
View this persons public profile  Oliver   12:28 10 Apr 2012  
   Re: HTML to PDF - Errors this one is Body Tag Missing.  
View this persons public profile  Gianluigi   12:54 10 Apr 2012  
    Re: HTML to PDF - Errors this one is Body Tag Missing.  
View this persons public profile  Oliver   14:27 10 Apr 2012  
 
This is the source page:

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
This is a test page.
</body>
</html>

Here is the link.... I just made a test page. http://www.strongcurrentdesigns.com/114/testsource.asp

----------------

This is the create page:


<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
'********************************
'* http://www.DwZone-it.com
'* Asp HTML to PDF
'* Declare variables
'* Version 1.3.2
'********************************
Dim dwzPdf
Server.ScriptTimeout = 2500
'********************************
'* Asp HTML to PDF
'* Declare variables End Code
'********************************
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<BODY>


<p>

<%
'***********************
'* http://www.DwZone-it.com
'* Asp HTML to PDF
'* Version 1.3.2
'***********************
set dwzPdf = new dwzAspPdf
dwzPdf.setPageInstance("1")
dwzPdf.setDestinationFolder("../uploads/PDFFiles/pdf/")
dwzPdf.setPdfName("brochure.pdf")
dwzPdf.setMainPar("View in browser and delete@_@@_@Overwrite@_@LETTER@_@Vertical@_@20@_@20@_@20@_@20@_@@_@@_@@_@@_@@_@0@_@Not set@_@Not set@_@Not set@_@Not set@_@65001@_@@_@@_@@_@0@_@System@_@")
dwzPdf.setSourcePar("Get@_@/114/testsource.asp@_@@[email protected]@_@false")
dwzPdf.setFirstHeaderPar("0@_@@_@")
dwzPdf.setSecondHeaderPar("0@_@@_@")
dwzPdf.setFooterPar("0@_@@[email protected]")
dwzPdf.createPdf()
'******************
' Asp HTML to PDF
' End code
'******************
%>
</p>

</BODY>
</html>
<!--#include virtual="/dwzAspPdf/dwzAspPdfClass.asp" -->

<%
'******************
' Asp HTML to PDF
'******************
dwzPdf.kill()
set dwzPdf = nothing
'******************
' Asp HTML to PDF
'******************
%>

Yes I have the /dwzAspPdf/ in both places to be sure.
 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: HTML to PDF - Errors this one is Body Tag Missing.  
View this persons public profile  Oliver   14:38 10 Apr 2012  
   Re: HTML to PDF - Errors this one is Body Tag Missing.  
View this persons public profile  Gianluigi   8:35 11 Apr 2012  
   Re: HTML to PDF - Errors this one is Body Tag Missing.  
View this persons public profile  Oliver   12:15 11 Apr 2012  
Last Visit: Saturday 10 May, 2025 8:39 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-2

Jump to: