<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=koi8-r" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>With NN 4.5 No. It is (as far as I understand) 
doesn't forward the print command to the viewer.</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2>However the document opens in the 
viewer.</FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A href="mailto:filipiab@atsc.army.mil" title=filipiab@atsc.army.mil>Filipiak, 
  Bob (Contractor)</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  href="mailto:'javascript@LaTech.edu'" 
  title=javascript@latech.edu>'javascript@LaTech.edu'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 11, 2001 7:30 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [Javascript] Opening and 
  printing PDF file from a new window</DIV>
  <DIV><BR></DIV>
  <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=748193016-11052001>Does 
  it work with Netscape?</SPAN></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <P><FONT size=2>Bob Filipiak (Contractor)<BR>MCP </FONT></P>
  <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
    <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
    size=2>-----Original Message-----<BR><B>From:</B> Victor Papp [<A 
    href="mailto:vpapp@bigfoot.com">mailto:vpapp@bigfoot.com</A>]<BR><B>Sent:</B> 
    Friday, May 11, 2001 10:45 AM<BR><B>To:</B> <A 
    href="mailto:javascript@latech.edu">javascript@latech.edu</A><BR><B>Subject:</B> 
    Re: [Javascript] Opening and printing PDF file from a new 
    window<BR><BR></DIV></FONT>
    <DIV><FONT face=Arial size=2>Yes,</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Arial CYR" size=2>actually, I use the onclick event to 
    execute these:</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Arial CYR" size=2>1) open&nbsp; a new window</FONT></DIV>
    <DIV><FONT face="Arial CYR" size=2>2) write HTML there using 
    window.document.write</FONT></DIV>
    <DIV><FONT face="Arial CYR" size=2>3) flush 
    (window.document.close)</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Arial CYR" size=2>the HTML I write there 
    contains</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Arial CYR" size=2>onload="window.print()" in the body 
    tag</FONT></DIV>
    <DIV><FONT face=Arial size=2>embed tag for the PDF file.</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Arial CYR" size=2>It a bit messy using only javascript, so 
    I used the capabilities of&nbsp; ASP and simplified the 
process:</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Arial CYR" size=2>1) using the &lt; a &gt; tag I link to 
    the print.asp file.</FONT></DIV>
    <DIV><FONT face=Arial size=2>2) there, I build this mentioned above HTML 
    code</FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT face="Arial CYR" size=2>Hope this helps.</FONT></DIV>
    <DIV><FONT face="Arial CYR" size=2>Victor 
Papp</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>