Connecting Tech Pros Worldwide Forums | Help | Site Map

printing problem within frames

meenakshia's Avatar
Member
 
Join Date: Jun 2008
Location: delhi,india
Posts: 33
#1: Sep 9 '08
hi forum
i m facing a problem regarding printing withing the frames page
i have a main frame page. which has on the left the menu html page loaded and on the right the target content page.
when i try to open a page on the right and print two different pages using iframes it does not work ,
on the contrary when i load the page without frames it does the print job perfectly.i fail to understand why this is happening
i m posting the partial code as the main code is too long and is not relevant for this issue.
the following is the code
pls suggest me some way out
Expand|Select|Wrap|Line Numbers
  1. <td>
  2. <iframe name="one" width="0" height="0" frameborder="0" src="E:/anand/program/final/databaseos/data/custprint.htm"></iframe>
  3. <iframe name="two" width="0" height="0" frameborder="0" src="E:/anand/program/final/databaseos/data/factprint.htm"></iframe>
  4.    <a href="#" onclick="printPg('one');return false;">Print Customer Copy</a>
  5.    <a href="#" onclick="printPg('two');return false;">Print Factory Copy</a>
  6. </td>
  7.  
---smile always
anand

Newbie
 
Join Date: Sep 2008
Posts: 3
#2: Sep 10 '08

re: printing problem within frames


I believe that most printers do not recognize what a frame is, and as a result will not print a page that is in frames. For example, if you have a page that has 3 frames, it will not work, but if you show one frame, it will work.
Reply