LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2014, 08:47 PM   #1
randyvh
Member
 
Registered: May 2014
Posts: 95

Rep: Reputation: Disabled
network printer


Hi

This printer was working, now if I try to find network printer, mine is not showing up. It is asking for a host but I don't know what that is. I am running lubuntu 14.04.
 
Old 09-25-2014, 09:20 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,285
Blog Entries: 16

Rep: Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132Reputation: 3132
What make/model printer and is it wireless or wired? Can you ping it?
 
Old 09-25-2014, 09:36 PM   #3
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,019

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
How are you trying to find the printer? Can you share more details about your printer? I'm assuming that this relates to a printer that you've previously configured, but can't now communicate with.

Was your printer assigned a static IP address? (That's generally regarded as best practice.) Can you ping the printer successfully?

BTW, it is also possible to use a printer hostname too with the help of DNS, /etc/host mapping, or avahi. I'm using the latter to do just that.
 
Old 09-26-2014, 01:23 AM   #4
randyvh
Member
 
Registered: May 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
O.K. my printer is a brother MFC-J265W. When I open printer from tool bar and select "add" I get three choices serial port#1,enter url or network printer. It used to recognize my printer if I clicked on network printer but not now. This is a wireless printer and is working in ms.As for pinging the printer. I have a print out from the printer with the ip add. via dhcp. But I don't know what you mean by pinging the printer. Thanks for your help. Sorry I'm so tech. illiterate. This is the last step to be free of ms. I can't wait!
P.S.If i click on network printer I am asked for 'host" what should I enter?

Last edited by randyvh; 09-26-2014 at 01:36 AM.
 
Old 09-26-2014, 02:27 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If it's a network printer then it has an ip-address, if you can't remember the address go into the printers wireless settings & get it. If it's attached to a computer then you need to allow "NETWORK Sharing"
 
Old 09-26-2014, 03:28 AM   #6
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,019

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
O.K. my printer is a brother MFC-J265W.
First things first. You mentioned in your opening post that the printer had been working, is that right? Or do you mean that the OS just detected the printer. I assume that you had installed the required drivers?

If not, visit here first and install the required packages
http://support.brother.com/g/b/downl...d=mfcj265w_all

Quote:
When I open printer from tool bar and select "add" I get three choices serial port#1,enter url or network printer
Maybe you have a firewall preventing discovery? That might need to be disabled first, (during printer configuration anyway). In general terms, it should be possible to detect the printer using the CUPS web utility (regardless of distribution) using your favourite browser:

http://localhost:631/admin

Select 'Add Printer'

*You'll need to enter root and root's password to proceeded when the credentials are requested.

You should see the printer listed the 'Discovered Network Printers'. If not, you will have to manually configure, but this still involves knowing the correct IP address. The URI can be entered as
Code:
socket://<printer IP address>
For example, my network printer is reached using
Code:
socket://192.168.90.13
Quote:
As for pinging the printer. I have a print out from the printer with the ip add. via dhcp. But I don't know what you mean by pinging the printer.
Well, if you know the printer's IP address, then you should be able to ping it with this terminal command eg 192.168.1.10
Code:
ping 192.168.1.10
 
Old 09-26-2014, 01:05 PM   #7
randyvh
Member
 
Registered: May 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
I pinged the printer using the ip add. from my test page I got only
PING 192.168.42.65 (192.168.42.65) 56(84) bytes of data.
Also at local host, it's not showing any network printers?
When I do lookup my drivers it reads MFC-J265Wcup.
 
Old 09-26-2014, 05:09 PM   #8
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,019

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
I pinged the printer using the ip add. from my test page I got only
PING 192.168.42.65 (192.168.42.65) 56(84) bytes of data.
I don't know what you mean by test page (as pinging has nothing to do with that), but it reads like you tried to ping you printer, and got no response. This can mean either it is not at that address, or even configured for different subnet perhaps? If the printer is dynamically assigned (by the router using DHCP), then it's assigned IP address might not stay the same, and that is where the problem starts, since your printer URI in /etc/cups/printers.conf won't reflect reality.

So, first recommendation is to assign a static IP address via printer control panel, and then try pinging it from your machine. (That is a basic minimum of checking connectivity.)

Quote:
Also at local host, it's not showing any network printers?
If you, navigate to
http://localhost:631/printers
then your printer should be listed there. If it is not, then it is not yet configured ie there are no entries for it in /etc/cups/printers.conf

If you can disable your computer's firewall (temporarily), you may then find that your printer is discoverable. (Alternatively, it is possible to open port 9100 for socket:// printing, but you need working knowledge about your system's firewall first.)
 
Old 09-27-2014, 01:45 AM   #9
randyvh
Member
 
Registered: May 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
as far as I know the is no fire wall as how do I use port 9100
 
Old 09-27-2014, 02:25 AM   #10
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,019

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
as far as I know the is no fire wall as how do I use port 9100
This has nothing to do with your failure to get a ping response. That should be addressed first. You need to assign a suitable fixed IP address to start with. When you've done that, you can move on to configuring the printer.
 
Old 09-27-2014, 03:18 AM   #11
randyvh
Member
 
Registered: May 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
O.K. I will try. Also I tried another printer connected straight to my computer so that I could have something that could copy. The system recognized it but when I printed a test page it just spit out a blank page. Whats up with that! At this point, having to plug one in would be O.K. with me until I can get the damn brother working. I know the printer works and the system has the drivers so what the heck is wrong? At this point, I would pay someone to get it working but I can't find anyone in my area that knows linux. Anyway, thanks for the help and your patience.
 
Old 09-27-2014, 04:07 AM   #12
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,019

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
O.K. I will try. Also I tried another printer connected straight to my computer so that I could have something that could copy.
I assume you mean usb-connectivity here. That's fine, but the URI for network-based connectivity is completely different to the USB-connected URI in /etc/cups/printers.conf

Quote:
The system recognized it but when I printed a test page it just spit out a blank page. Whats up with that!
Well, that usually means the driver is not right for your printer. Are you sure you selected the correct driver during configuration? Check the .ppd file in the /etc/cups/ppd/ directory, and look for the '*cupsFilter' entry. That will twll for sure.
Code:
cat /etc/cups/ppd/name_of_the_file.ppd|grep Filter
For reference, my Brother printers (DCP-7055 and HL-2150N models) use the following
Code:
*cupsFilter: "application/vnd.cups-postscript 0 brlpdwrapperDCP7055"
Code:
*cupsFilter: "application/vnd.cups-postscript 0 brlpdwrapperHL2150N"
Yours should look similar (applicable to the driver for your model).
 
Old 09-27-2014, 07:36 PM   #13
randyvh
Member
 
Registered: May 2014
Posts: 95

Original Poster
Rep: Reputation: Disabled
I went into local host as you suggested and lo and behold, It recignized my brother printer. Which is now working! I would like to setup my other printer as a backup. You suggested I upgrade the drivers. That printer is a cannon pixmas 1p100. Is there an easy way to install these drivers? I tried to upgrade through system tool but was unsuccestull. I do have the ms driver cd but I'm assuming that cd is useless in linux. As of now I am free of ms and I feel like I just won the supperbowl.
Thank you so much!
 
Old 09-27-2014, 07:55 PM   #14
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,019

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
I went into local host as you suggested and lo and behold, It recignized my brother printer. Which is now working!
You mean the CUPS web config utility. Glad that you finally have a working printer!
 
Old 09-27-2014, 08:10 PM   #15
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,019

Rep: Reputation: 304Reputation: 304Reputation: 304Reputation: 304
Quote:
That printer is a cannon pixmas 1p100. Is there an easy way to install these drivers?
I had a quick look, and the Canon PIXMA iP100 is supported by free gutenprint drivers.

http://gimp-print.sourceforge.net/p_...d_Printers.php

Most distros include these as part of the CUPS install. Anyway, use your package manager to check if 'gutenprint' is already installed.

Alternatively, a suitable gutenprint package can be downloaded via this page

http://www.openprinting.org/driver/gutenprint/

Using the CUPS config utility, the 'iP100' model should be available to choose from the various Canon models listed.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Brother HL2070N network printer installed, print jobs stuck in printer que jgz Linux - Networking 0 02-14-2008 10:54 PM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
CUPS Network Printer/ server indicator blinks no printer output wine Linux - Networking 8 03-18-2006 10:20 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM


All times are GMT -5. The time now is 07:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration