PDA

View Full Version : Fedora 10 auto-detects and installs my printer, but it does not print


linuxguy08
2009-01-19, 07:10 PM CST
I connected my Brother MFC-7220 via USB to my Fedora 10 x64 install and it automatically detects and installs the printer. I can see it in the CUPS web interface and when I print a simple gedit test document, it moves out of the queue, shows it printed successfully but the document does not print.

If I watch the LCD display on the printer, it says "Receiving Data" for a second or two, but does not print.

I don't think I need to explicitly install the CUPS Wrapper and printer driver, as it appears that is already installed per my distro.

Any ideas?

marko
2009-01-19, 07:27 PM CST
I connected my Brother MFC-7220 via USB to my Fedora 10 x64 install and it automatically detects and installs the printer. I can see it in the CUPS web interface and when I print a simple gedit test document, it moves out of the queue, shows it printed successfully but the document does not print.

If I watch the LCD display on the printer, it says "Receiving Data" for a second or two, but does not print.

I don't think I need to explicitly install the CUPS Wrapper and printer driver, as it appears that is already installed per my distro.

Any ideas?

The linux printing page has this:

http://openprinting.org/show_printer.cgi?recnum=Brother-MFC-7220

the printer is detected but doesn't seem to print, there's a proprietary driver
needed according to them. Not surprising since this is a all-in-one printer which usually means it has to use some oddball driver coded by the manufacturer.

They suggest the brcomplpr2 driver will work, find it here:
http://solutions.brother.com/linux/en_us/download_prn.html#MFC-7220

linuxguy08
2009-01-19, 11:57 PM CST
They suggest the brcomplpr2 driver will work, find it here:
http://solutions.brother.com/linux/en_us/download_prn.html#MFC-7220

This worked! Thank you!

Any idea how to get the printer to work with XP running in a vm via VirtualBox?

marko
2009-01-20, 06:27 PM CST
If your Fedora host already has CUPS setup, then go to localhost:631/admin with Firefox and make sure that the
"Share published printers connected to this system" is checked and your printer is defined.

When you have the XP VM running, go into Control Panel in it, use the Printers and Faxes tool to make a new printer. Pick network printer and select the "Connect to a printer on the Internet or on a home or offfice network" option.
Put in for the URL http://10.0.2.2:631/printers/<queue>

The 10.0.2.2 is the typical gateway IP that VirtualBox picks, and the gateway here is really your Fedora host.

but where I have <queue> put in your cups printer queue name. You can find out what that is by going to
the Fedora host and use firefox to go to http://localhost:631/printers/
or from a command window lpstat -d would show the default cups printer.

linuxguy08
2009-01-21, 06:48 PM CST
If your Fedora host already has CUPS setup, then go to localhost:631/admin with Firefox and make sure that the
"Share published printers connected to this system" is checked and your printer is defined.

When you have the XP VM running, go into Control Panel in it, use the Printers and Faxes tool to make a new printer. Pick network printer and select the "Connect to a printer on the Internet or on a home or offfice network" option.
Put in for the URL http://10.0.2.2:631/printers/<queue>


marko,

Thanks for all your help. It hasn't quite worked for me yet. I checked the box to publish the printer and it is showing as being published. XP in the vm says it can't connect to the printer. I wonder if SELinux has anything to do with it?

marko
2009-01-22, 03:45 PM CST
Don't know, I always turn selinux to permissive so that could be,
BTW, I found that tip from here:

http://forums.virtualbox.org/viewtopic.php?t=1465

Also make sure to load this page into your Windows XP VM
Firefox (or other browser in the VM)

http://10.0.2.2:631

that will help prove that your VM can communicate to the cups service on
the Fedora host (note ip address "10.0.2.2" really is same as the Fedora host due
to VBox's networking)