Closed Bug 295310 Opened 20 years ago Closed 18 years ago

Print direct to printer: printer error causes Mozilla to lock-up

Categories

(Core :: Printing: Output, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: neotecdev, Unassigned)

References

()

Details

(Whiteboard: CLOSEME - 05/11)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

1. Using Windows XP SP2 and running Firefox 1.0.2

2. Using a printer driver that has been set to "Print directly to the printer"
on Control Panel > Printers and Faxes > <Printer Driver Name> > Properties >
Advanced tab

3. Navigate to a web page (e.g. http://mozilla.org)

4. Disable the printer in some way so that it cannot print (e.g. remove paper /
switch off / unplug from computer)

5. Choose File > Print

6. After choosing Print from the Print Preferences dialog, the Printing dialog
appears and Mozilla locks-up until the Printing dialog is closed (in which case
Mozilla crashes), or the printer queue is cleared.

Expected behaviour: A dialog would be produced to indicate that an error
occurred while attempting to print - with the appropriate error message (e.g.
out of paper / printer not found)

Reproducible: Always

Steps to Reproduce:
1. Using Windows XP SP2 and running Firefox 1.0.2

2. Using a printer driver that has been set to "Print directly to the printer"
on Control Panel > Printers and Faxes > <Printer Driver Name> > Properties >
Advanced tab

3. Navigate to a web page (e.g. http://mozilla.org)

4. Disable the printer in some way so that it cannot print (e.g. remove paper /
switch off / unplug from computer)

5. Choose File > Print

6. Choose Print from the Print Preferences dialog
Actual Results:  
The Printing dialog appears and Mozilla locks-up (i.e. screen refresh and all
mouse interaction except with Window task bars is disabled) until the Printing
dialog is closed (in which case Mozilla crashes), or the printer queue is cleared.

Expected Results:  
A dialog would be produced to indicate that an error occurred while attempting
to print - with the appropriate error message (e.g. out of paper / printer not
found)

This is not an issue if print spooling is turned on.
we already have bugs about the printer apis not being wrapped, it's on my list
(but not remotely fun). could you please indicate the specific printer driver
(vendor, version)?
Canon i560 - driver version 0.3.0.0, Custom KPM216H 200dpi - driver
version 3.7.0.0 and Custom KPM216H 300dpi - driver version 3.5.0.0.  We
notice that similar behaviour occurs in Internet Explorer for these
printers.
Confirmed issue in 1.0.6 on Windows 2000 SP4

Confirmed several times by attempting to print from Firefox to a printer that
has a printer error.  Firefox hangs with the message "Processing"

Tested using an HP LaserJet 8150 PCL 6 on a network.
Can you still reproduce this bug using Firefox 2.0.0.3 with a clean profile?

http://kb.mozillazine.org/Profile_Manager
Component: General → Printing
Product: Firefox → Core
QA Contact: general → printing
Whiteboard: CLOSEME - 05/11
Closing as INCOMPLETE due to lack of information. Please answer comment 4 before reopening.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.