Open Bug 281278 Opened 20 years ago Updated 2 years ago

Implement object.print() / object.printPreview() or print(object,mode)

Categories

(Core :: Printing: Output, enhancement)

x86
All
enhancement

Tracking

()

People

(Reporter: bugzilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Currently the only way that I can find to print an image independently of it's
source document is to open it's URI in a new tab, select that tab, then enter
print preview mode.

This is very problematic and, at best, a horrible hack. Please can someone
implement a friendlier method for achieving this task? It is needed by several
extensions, which could benefit greatly from such a change.

It is my opinion that the ideal implementation would allow extension authors to
either call object.print() and object.printPreview() as Mozilla-specific DOM
methods, or have a global function (or binding) that can recieve objects as a
parameter, and a further parameter to indicate whether print or print preview is
required.

Reproducible: Always
Assignee: firefox → printing
Component: General → Printing
Product: Firefox → Core
QA Contact: general
Version: unspecified → Trunk
Ok, I'm going to confirm this (since nobody else has in 5 months). Whether my
proposal is good or not, something needs to happen here in my opinion. I jumped
through hoops today to automate printing an image separate from it's original
document, and it still doesn't feel like a good solution.
Status: UNCONFIRMED → NEW
Ever confirmed: true
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.