LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-17-2007, 08:40 PM   #1
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Printer & Virutual Box


I recently installed Vbox on my Debian Sid machine and installed Windows XP(guest). Now I would like to know if I can use my Brother MFC-5440cn network AIO printer using a NIC cable and Win XP?

I'm having a hard time getting the network printer setup through debian so wonder if I can use the printer using Vbox with XP inside it.

I already setup the drivers and the printer seems to be working except nothing prints when I try to print a test page or any page.

Also, how can I find the IP address of the printer? It doesn't show up in XP when I type 'ipconfig /all' command.

Thnx.
 
Old 05-18-2007, 08:49 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
Now I would like to know if I can use my Brother MFC-5440cn network AIO printer using a NIC cable and Win XP?
Please explain how exactly is this connection made. Do you mean your computer is connected to a network switch and the printer is connected to the same switch?
 
Old 05-18-2007, 07:56 PM   #3
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Quote:
Originally Posted by Emerson
Please explain how exactly is this connection made. Do you mean your computer is connected to a network switch and the printer is connected to the same switch?
I guess it wasn't so clear.

Printer is hooked up to a Dlink router. Debian is my host, which the router is plugged into for cable internet and XP is the guest. I would like to be able to print from the XP guest.

Is this possible?

Thnx.

Last edited by FredGSanford; 05-18-2007 at 08:03 PM.
 
Old 05-18-2007, 08:26 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Did you assign this printer a static address on your subnet?
 
Old 05-18-2007, 08:36 PM   #5
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
No, I was hoping dhcp would assign one.

If I did, how would I go about it?

Thnx.

Last edited by FredGSanford; 05-18-2007 at 08:39 PM.
 
Old 05-18-2007, 08:52 PM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
A static address would be a good thing, best way do do it is through printer setup, read the manual that came with it. Other way would be thru your router setup, to associate an IP address with printer's MAC address.
BTW, this printer is reported to work perfectly under Linux, did you visit openprinting.org?
 
Old 05-20-2007, 12:03 AM   #7
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Thanks. I'll look into setting a static IP. I tried setting it up through Debian but I get nothing to print. Everything seems setup correctly but nothing comes out when time to print.
 
Old 05-20-2007, 06:49 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Are you sure the printer is OK, can it print a test page in it's own?
What version of CUPS are you using?
 
Old 05-20-2007, 09:15 AM   #9
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Yes the printer does work when I boot into Win XP (not the VM). Under Debian Sid, I had it setup but nothing would print from Cups admin page. I see a message as if it's printing but nothing would come out.

I have the latest version for Sid, I can't seem to get version number.

Thnx.
 
Old 05-20-2007, 09:40 AM   #10
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Quote:
I have the latest version for Sid, I can't seem to get version number.
I see you do not want to put much effort in solving your printing problem. Also it seems you still did not visit Openprinting.org. I cannot see how I could be any help, will leave this thread now.
 
Old 05-20-2007, 01:04 PM   #11
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Sorry you're taking it the wrong way. I mention that I have setup the printer using openprinting.org and from Brother's website.

The printer seems to be setup but nothing prints. that is why I was trying to print from virtual box and win xp. And yes I am tired of messing with it under linux.

Thanks anyway for the help you did offer.
 
Old 05-20-2007, 02:12 PM   #12
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
The command ipconfig /all only will show the network settings for that computer. It will not show what computer is on the network. There are many utilities to scan the network for computers and devices, but a simple script that loops through several thousand IP address by pinging them is the easiest to make but scanning will take a long time.

In /etc/cups/cupsd.conf change loglevel to debug or debug2 and restart CUPS. Remove all printers and add them again. If there are any errors, CUPS will tell you. If the new printer is ok, send a test page and check the logs. Use wireshark on a hub not a switch to find out if the data is getting to the printer and the printer is broadcasting. The command "lpinfo -v" should provide a list connections and printers.

Yes, it does help to have the printer on the network to have a static IP address. My computer that is sharing a Brother HL-5140 has a static IP address. I went a step further and used the hosts file to specify a name, so I do not have to setup the printer again when I change the IP address.

You were clear, but it seems you want us to do the work for you. We can not because of the location. You will have to do your part getting information such as the logs and provide detail steps.
 
Old 05-20-2007, 03:19 PM   #13
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia 7 - Debian 10 - Artix Linux
Posts: 1,142

Original Poster
Blog Entries: 5

Rep: Reputation: 207Reputation: 207Reputation: 207
Thanks for the info. Since the last time I setup the printer, I have reinstall debian and haven't tried setting it up. But I've just went through it again, setting it up using lpd and cupswrapper, following Brother's and Openprinting.org.

Everytime, I get something like this:

MFC5440CN "Network host '192.168.0.03' is busy; will retry in 30

Description: MFC5440CN AIO Inkjet
Location: Den Area
Make and Model: Brother MFC-5440CN CUPS v1.1
Printer State: processing, accepting jobs, published.
Device URI: socket://192.168.0.03

The last time I used that IP address so I'm assuming it should be okay to use.

Someone else told me he's using same printer with the socket address line. The websites tell me to use the lpd line, which I have tried and nothing still prints.

One thing I don't understand with the lpd line, what does it mean when it show:

lpd://hostname/queue

The queue part?

***Edit***

Using lpd as recommended by cups admin page, I get this error:

"Network host '192.168.0.03' is busy, down, or unreachable; will retry in 30 seconds..."

Device URI: lpd://192.168.0.03/binary_p1 using this device.

aptitude show cupsys
Package: cupsys
State: installed
Automatically installed: yes
Version: 1.2.11-2

Thnx.

Last edited by FredGSanford; 05-20-2007 at 04:18 PM.
 
Old 05-20-2007, 07:28 PM   #14
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Try using USB instead of LAN to make sure the printer works. When I try using software from Brother, I had to set some symbolic links to make some scripts to run. I use the PPD from linuxprinting.org because it provides better quality than Brother's software.

Double check your IP address for your printer. I think you mistype it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up a network with a Suse box & a Windows box flatstan SUSE / openSUSE 21 03-15-2007 07:11 AM
Cannot see my Win XP SP2 box with shared printer from my SUSE Pro 9.3 box thorlin Linux - Networking 3 09-11-2005 01:16 PM
How do I get my Suse 9.1 box to print to the printer attached to my Win XP box? PadreFabuloso Linux - Newbie 2 06-23-2005 04:06 PM
share printer from Slackware 10.1 box sharkzf6 Linux - Networking 1 03-08-2005 07:07 PM
Win2K can see RH9 box, can't see printer wjn Linux - Networking 8 09-17-2003 12:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration