Bug 17388

Summary: REGRESSION: Webkit ignores default printer (forced alphabetical order)
Product: WebKit Reporter: Mark Hearn <markh>
Component: PrintingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: ap, kenm22, mcguire.k, webkit
Priority: P2 Keywords: InRadar, Regression
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   

Description Mark Hearn 2008-02-16 06:02:08 PST
I have two printers available to my machine. Webkit uses the opposite one to the default. The behaviour is correct in Safari.
Comment 1 Robert Blaut 2008-02-16 10:26:03 PST
It's probably duplicate of bug 17364.
Comment 2 Alexey Proskuryakov 2008-02-18 03:54:47 PST
Are both these printers physical ones? Bug 17364 mentions a virtual printer from Adobe, so I'm curious if that's important.
Comment 3 Robert Blaut 2008-02-18 04:08:15 PST
(In reply to comment #2)
> Are both these printers physical ones? Bug 17364 mentions a virtual printer
> from Adobe, so I'm curious if that's important.
> 

As far as I know, virtual printers act as physical printers. It shouldn't be matter is this a really printer or no.  
Comment 4 Alexey Proskuryakov 2008-02-18 04:17:31 PST
That's generally true - but there may be hacks hiding somewhere (perhaps in some closed source code) that could affect the behavior, so it helps to have as much detail about the configuration as possible.
Comment 5 Mark Hearn 2008-02-18 10:25:22 PST
They are both physical printers, however a little more experimentation yielded the following:
The default printer is a laser connected to an airport express base station.
The second printer is an inkjet connected directly to the machine.
Webkit ignores the setting of "default printer" in preferences and favours the directly connected printer.
ie. it always prints to the inkjet whether it is the default or not.

Comment 6 Rodney Jewett 2008-02-26 05:12:48 PST
File/print (command-P) always defaults to first printer in aphabetical list of printers. It does not use system default printer or the "last printer used" in webkit.
Comment 7 Mark Hearn 2008-03-13 06:56:07 PDT
Rodney,
The default printer is used in this situation in Safari, if this is the intended functionality in Webkit - why?

Comment 8 Ken M 2008-03-16 18:22:10 PDT
(In reply to comment #0)
> I have two printers available to my machine. Webkit uses the opposite one to
> the default. The behaviour is correct in Safari.

I have same problem. I have a Brother laser, a Brother laser fax and a Canon ink jet. The Brother laser is the default. WebKit defaults to the Canon ink jet.
Comment 9 Robert Blaut 2008-03-16 23:18:34 PDT
Per comment #6 and comment #8 marked as confirmed bug. Bug 17364 has the same root problem so I mark that bug as duplicate of this bug, because the bug covers all of cases (not only virtual printers).
Comment 10 Robert Blaut 2008-03-16 23:20:43 PDT
<rdar://problem/5745309>
Comment 11 Robert Blaut 2008-03-16 23:21:05 PDT
*** Bug 17364 has been marked as a duplicate of this bug. ***
Comment 12 Alexey Proskuryakov 2008-04-14 00:48:01 PDT
*** Bug 18439 has been marked as a duplicate of this bug. ***