Hey people...

I posted this to a DOM mail list i'm on, and it was suggested i post
here.  The person who responded says this is likely a bug that might
be logged to Bugzilla (?).

> Hi List:
>
> Trying to do a printer friendly version of a page, but without the user
> having to load the printer friendly page separately.
>
> I am currently loading it into an iframe with attributes height and width
> set to 0.  The print function is as follows:
>
> parent.pfPage.focus();
> window.frames.pfPage.print();
>
> (where pfPage is the name of the iframe).
>
> This works peachy in IE 5.5.  In NS7 (haven't tested NS6, but i'm assuming
> similar behaviour), I'm running into issues.
>
> At first, it was printing the parent frame (while IE was correctly
printing
> the document in the iframe).
>
> Now, I get a NS popup that says 'printing'...and it shows the URL (which
is
> the correct url to the source of the iframe)...but it hangs in my spool
> forever and never prints.  I end up having to delete the print job and
> close the NS window to remove it from the printer dialog box (the browser
> itself doesn't lock up or anything).
>
> So, i seem to be referencing the iframe correctly...this problem seems to
> be more 'under the hood' than code-based.
>
> The page in question can be seen at
> http://130.13.124.245:6699/lincolnlaser/articles/article.cfm?article=10
>
> Any insight would be greatly, greatly appreciated.

Thx,
Charlie

Reply via email to