Don't know about the printing code but the code you need to create a new window is;
<a href="" target="_blank"></a>
So in your ahref the link would look like;
<a href="API.Bind.TrojanP.htm" target="_blank"><img border="0" src="../images/printer.gif" alt="PRINT" width="32" height="32"></a>
Hope this helps
Here is the code I use for my website for directing a page to a printer friendly page that has all the graphics stripped out of it.
<font face="Tahoma" size="1" color="#460023"> Printer Friendly Page <a href="API.Bind.TrojanP.htm">
<img border="0" src="../images/printer.gif" alt="PRINT" width="32" height="32"></a></font>
What I need help with is that my new website has frames. The menu frame is directed to the main frame as the target for opening those clicked menu items. What I want to do is direct the PRINTER link to open in a new separate window rather than the same main one so that when they click the PRINT icon on that new windowed page, it will print and either close the window automatically or they can click the CLOSE button that I also provide.......and the actual site is still there in a separate browser window still intact where they left off.
So I need code for two items.....the one above that will direct the page to open in a separate browser first.
Then on the actual printer page, the code for either the CLOSE link button that will close the window immediately in case they got to a page they didn't mean to get to so they don't have to click the X in the browser window OR the code that will direct the page to print and close automatically when the printer is done.
Does anybody know how I can do this? I've been reading my printer html stuff and can't locate these direct instructions. Thanks.
Darn...just thought of another code I need regarding the printer. Some pages don't have a printer link because the page is small enough to fit the whole frame or the tip is generic and most people won't print it......but if they decide to anyhow, how can I direct the printing job to print only that frame and not the whole 'page' that's on the screen which would include the other frames? Many newbies don't realize that when the printer dialog box pops up, they have that choice and I'd like to make it as easy as possible for them by making that decision for them if I can.