View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
This post is not mutually exclusive from my prior post about the WIN2PDF driver. The problem is that sometimes, but not al the time, the calling FWX page and the _BLANK FWX that holds the following code each disappear/unload both sessions. The code is:
 
PRINTLETTER.FWX
 
<A HREF="printit1.fwx?mletter=<%=Server.URLEncode(TEXTMERGE(M.LNOTES, .F.))%>" TARGET="_BLANK">[Print]</A>
 
PRINTIT1.FWX
<%
LOCAL MergedText
M.MergedText = Request.QueryString('mletter')
%>
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
</BODY>
</HTML>
<%
SET PRINTER TO NAME "WIN2PDF"
TempFile = SYS(2023) + '\' + SYS(2015) + LTRIM(STR(Request.CurrentChannel)) + '.pdf'
STRTOFILE(M.MergedText, TempFile)
%>

Anyone have an idea what I am doing wrong please where both the calling page and the called _BLANK page both unload and disappear?

Joe