Bug 691941

Summary: Automatic search for HL-2270DW printer driver but it's called HL2270DW
Product: [Fedora] Fedora Reporter: Scott Bronson <brons_redhat>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jpopelka, lkundrak, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-07 15:54:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Scott Bronson 2011-03-29 22:01:49 UTC
My Brother HL-2270DW laser printer isn't autodetected.
 
When I plug in via USB, Fedora claims "No printer driver for HL-2270DW series" and no relevant driver is in the list.  Failure.

Autodetecting it over the network fails too.

I tried manually adding it by typing in its IP address.  Fedora claimed again that it coudln't find the printer driver and presented a list with no relevant drivers so I cancelled out.  And this is where it gets weird: the printer was all configured and ready to go!

Somehow telling it the IP address caused CUPS to discover a "Brother HL2270DW for CUPS" driver and started using it.  It's very strange that this doesn't happen for autodetection, only when I try manually configuring the printer.

Now the printer works 100%, even duplex.

How reproducible: 100%

Steps to Reproduce: Buy an HL-2270DW and plug it in

Also described here: https://fedoraproject.org/wiki/Test_Day:2011-03-29_Printing (search for Bronson).

Comment 1 Lubomir Rintel 2011-03-30 19:39:19 UTC
Changing assignee to someone who actually knows something about printers and computers and stuff

Comment 2 Tim Waugh 2011-03-31 11:11:53 UTC
When it is connected via USB and powered on, what does this command say, as root?:

lpinfo -l -v

Comment 3 Scott Bronson 2011-04-05 19:59:54 UTC
Hi Tim, here you go:


[root@lyra-f15 bronson]# lpinfo -l -v
Device: uri = usb://Brother/HL-2270DW%20series
        class = direct
        info = Brother HL-2270DW series
        make-and-model = Brother HL-2270DW series
        device-id = MFG:Brother;CMD:PJL,PCL,PCLXL;MDL:HL-2270DW series;CLS:PRINTER;
        location = 
Device: uri = lpd
        class = network
        info = LPD/LPR Host or Printer
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = ipp
        class = network
        info = Internet Printing Protocol (ipp)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = https
        class = network
        info = Internet Printing Protocol (https)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = http
        class = network
        info = Internet Printing Protocol (http)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = scsi
        class = direct
        info = SCSI Printer
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = socket
        class = network
        info = AppSocket/HP JetDirect
        make-and-model = Unknown
        device-id = 
        location =

Comment 4 Tim Waugh 2011-04-06 08:42:04 UTC
Thanks.  Could you please attach the PPD that's being used for this printer, from the /etc/cups/ppd directory?

Comment 5 Scott Bronson 2011-04-06 16:06:44 UTC
The printer settings control panel is so unstable now that it's impossible for me to add a printer.  https://bugzilla.redhat.com/show_bug.cgi?id=694157  Also, sometimes it just quits without producing a stack trace -- I haven't filed a bug about that.

Last week two apps appeared when I typed "print" into the Activities window: the printer settings panel and the printer config tool.  Now that I've updated, the latter appears to have been removed from F15.

I can't set up the printer anymore so I guess we're stuck.  Hope the crashers get fixed soon.

Comment 6 Tim Waugh 2011-04-06 16:17:56 UTC
The printer config tool is still there, just not displayed in the applications list (there is an open bug about that somewhere...).  In the mean time, Alt-F2, then type "system-config-printer", then press Enter -- that will get you printer config tool.

But I'm interested to know which driver this printer is using (see comment #4).  We don't ship a specific driver for it that I know of, but it might well be using a generic driver of some sort.

Comment 7 Scott Bronson 2011-04-06 16:54:08 UTC
Alas, I deleted the network printer to monkey with it over USB.  Hoped it would stop the crashiness.

So, I need to add it again, and system-config-printer works great!  Unfortunately the magic has disappeared.  Now, when I configure by IP address and hit cancel, I remain with no printer configured.  That's probably related to all the updates I pulled down yesterday.  Guess it's not reproducible anymore.

Here are the printer drivers, they're GPLed:

http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#HL-2270DW

It might make sense just to add the PPD than relying on Cups magic?

It seems pretty lame that the system-config-printer app doesn't appear in the Activities Search box, even when you type "system-config-printer"!

Comment 8 Tim Waugh 2011-04-07 09:28:17 UTC
(In reply to comment #7)
> It might make sense just to add the PPD than relying on Cups magic?

Not sure what you mean by this -- can you explain?

Comment 9 Scott Bronson 2011-04-07 15:36:48 UTC
I should have phrased that as a question...  What would it take to make the HL-2270DW a fully supported printer under F15?  Just adding Brother's GPLed PPD to all the rest so I can just select it from the list?

Because, while it was exciting to see Cups find a working PPD on its own last week (maybe it downloaded it from the printer or internet?), this doesn't appear to be intentional behavior.

Comment 10 Tim Waugh 2011-04-07 15:54:04 UTC
You'd have to package Brother's driver (or find someone to do it).  Once it's packaged correctly it would then be automatically installed when you configure that printer.

Closing...

Comment 11 Scott Bronson 2011-04-07 16:00:02 UTC
How about closing WONTFIX?  Unless the HL-2270DW autodetection actually does work for you?