Open Bug 159900 Opened 23 years ago Updated 2 years ago

need to be abe to print xul IFRAME from javascript

Categories

(Core :: Printing: Output, defect)

x86
Windows 98
defect

Tracking

()

People

(Reporter: rvj, Unassigned)

References

Details

Attachments

(1 file)

(deleted), application/vnd.mozilla.xul+xml
Details
It appears that #112609, (need to create nsprintsetting from script) is only designed to work with the nswebbrowser interface. If this understanding is wrong please advise. Having looked back over some earlier RFEs for printing support from script (namely #61580 and #70950), I notice this comment in #70950. ------- Additional Comment #20 From rods@netscape.com 2002-02-06 07:53 ------- If you want to directly print an IFrame from JS please open a new bug. This bug is now fixed. You can print from JS without the dialog showing. Could this please be done for xul iframes as this seems essential when building and switching between on-the-fly document. Thanks
..... and by printing support I mean all the functionality of nsprintsettings and nsprintpreview but for xul iframes. BTW Is there any documentation on nsPrintSettings for script. In one of the bug reports it implies that a print silent feature exists on the page setup dialog box I cant/find such an option on the current dialog box of Mozilla 1.1a Can anyone clarify?
Summary: need to be abe to print IFRAME from javascript → need to be abe to print xul IFRAME from javascript
PS Please note that the earlier #61580 and #70950 were different RFEs (although related) #61580 was a request for quiet printing support of XUL iframes #70950 was a request for full printing/previewing support of XUL iframes Unfortunately these were marked as duplicate RFEs in #61580 even though I hoped that I had made it clear that these were essentially different requests (see comment 3 in #70950) I apologise for having to restate this but it seems most of the earlier comments have been ignored.
Blocks: xulprinting
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file Test case (from chrome) (deleted) —
Should be tested from chrome
Actually the real problem is slightly different. I can get basic printing to work. The problem is when printing Iframes if they are not visible particularly a)if they are collapsed (have zero height) b) or a non-active deck ( which I think generates the same problem) By non-active I mean one where the deck contains an iframe which is NOT currently selected via selectIndex attribute I think your test case need to address these variants.
"We are unable to Print or Print Preview this page." attempting to print testcase using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060629 Minefield/3.0a1 blocked by Bug 102485? ?OS=ALL?
Assignee: rods → printing
QA Contact: sujay
Assignee: printing → nobody
QA Contact: printing
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: