As far as I know, the print dialog will pop up relative to the window, so they won't see that either...
-----Original Message----- From: Ed Wong [mailto:[EMAIL PROTECTED] Sent: 20 May 2005 13:50 To: CF-Newbie Subject: RE: Creating a list in PDF format[Scanned] Thanks...I decided to just print a plain html file using a popup window which automatically starts up the print dialog then when you click on the print button I have the popup widow close self.close(); On my link to open the print page I have onclick="window.open('print.cfm','newWindow','left=1600,top=1600,height= 10,width=10,toolbars=no,scrollbars=no,resizable=no');"> This popups in fron of my main webpage. Question...Is there a way to have the popup window to popup "behind" or "off the screen" so the user doesn't see it? I've played with the left & right settings but it just puts it in the lower right hand corner. > > > >I don't personally know how to do this, but I know the answer is > >javascript and a printer-friendly web page. > > Sowee, I forgot to mention this in my previous post. To do this in > JavaScript, simply call the window.print() method. If you use RTF or > PDF though, it is most likely that their associated programs (i.e.: > MSWord, Acrobat) will launch within your browser's container. Because > they have their own Print button, you need not add JavaScript to print > the page. > > In my experience though, you need to make sure that your file would > send the correct Content-type header to your browser. Otherwise, your > browser will just present you a "Save As" dialog regardless of your > file's extension. > > > Regards, > > > > [ simon.cpu ] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1005 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
