LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-06-2012, 11:55 PM   #1
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390
Blog Entries: 3

Rep: Reputation: 25
Printer Connection in HP Laserjet Professinal P1566


Hi

I have a problem regarding on printer connection using samba on linux machine.

I have a HP Laserjet Pro P1566 printer which is installed on Windows Xp machine. I want to connect my linux machine to the printer but the problem is there's no driver for the printer.

I have read some article about hplip 3.11.12.
I am able to install this software but i still can't print using samba connection.

Please help.
 
Old 02-07-2012, 10:23 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Do you have Cups installed and running?

Have you added the printer in cups? ie. you open a web browser, and enter http://localhost:631 and follow the add printer function? You need the root password. You will be adding a network printer, so you need network sharing set up on XP first.
 
1 members found this post helpful.
Old 02-07-2012, 06:08 PM   #3
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390

Original Poster
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by camorri View Post
Do you have Cups installed and running?

Have you added the printer in cups? ie. you open a web browser, and enter http://localhost:631 and follow the add printer function? You need the root password. You will be adding a network printer, so you need network sharing set up on XP first.
thanks for the reply maybe i can use computer IP address instead of localhost am i right?
 
Old 02-07-2012, 07:14 PM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
i can use computer IP address instead of localhost
Possibly, that does not work on my system.

Do you have a /etc/hosts file? Is it updated with an entry like this :

Quote:
127.0.0.1 localhost
 
1 members found this post helpful.
Old 02-07-2012, 08:42 PM   #5
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390

Original Poster
Blog Entries: 3

Rep: Reputation: 25
Quote:
Originally Posted by camorri View Post
Possibly, that does not work on my system.

Do you have a /etc/hosts file? Is it updated with an entry like this :
I have configure the printer but i still cant print.
Cups is working properly when printer is directly connect to linux machine not like
if printer is connected to windows xp machine and connect linux machine using samba server.
Ive got this error message:

Quote:
Printer State: Idle - Filter "/usr/lib/cups/filter/foomatic-rip-hplip" for printer "HP_P1566" not available: No such file or directory
Quote:
Status Message: Printer 'HP_P1566':'printer requires a binary plugin, run hp-setup'.
please help

Last edited by tailinlinux; 02-07-2012 at 09:23 PM.
 
Old 02-08-2012, 08:53 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
First of all, Samba server is not your problem. You are using samba client only when trying to print to a remote system.

Samba server is used, if the samba host has the printer, and a remote system is printing to it.

The error messages, do you have the foomatic package installed? I'm at all sure you need it, however, it appears something is looking for it.

Second, have you run hp-setup at the second messages asks?

If you browse from the linux system, can you see the printer on the XP system? Can you see other shares?
 
1 members found this post helpful.
Old 02-08-2012, 07:14 PM   #7
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390

Original Poster
Blog Entries: 3

Rep: Reputation: 25
Quote:
The error messages, do you have the foomatic package installed? I'm at all sure you need it, however, it appears something is looking for it.
Yes i have foomatic installed but there's no foomatic option when you select HP Laserjet Professional P1566.
On old printer's foomatic are present but on a new generation printer like HP Laserjet P1566 foomatic is absent.

Quote:
Second, have you run hp-setup at the second messages asks?
Yes i already run hp-setup but i cant see any option how to connect to a printer shared on a windows machine.

Quote:
If you browse from the linux system, can you see the printer on the XP system? Can you see other shares?
Yes i can see the printer shared on windows xp, my problem is i cant print due to incompatible printer driver or samba
problem.


I conduct searching in google that maybe installing foomatic can help me.
But where can i download and how to install this package for a new generation printer like
HP Laserjet Professional P1566.

Thanks for the help.
 
Old 02-09-2012, 01:56 AM   #8
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390

Original Poster
Blog Entries: 3

Rep: Reputation: 25
Hello do anyone knows if i can use ipp connection on printer,(from linux to windows) instead of smb connection.

Thanks in advance.
 
Old 02-09-2012, 08:21 AM   #9
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You told me before you can print to the printer if its attached to the linux system. For that to work, you have the correct drive. This is not a samba issue.

You need to add a remote printer through cups. The printer will be //hostnameofXP/prinername/ . If you can see the printer, then all that should be required is to add it.

Have a look at this link for using ipp.

-->http://www.owlfish.com/thoughts/wini...003-07-20.html

Last edited by camorri; 02-09-2012 at 08:27 AM.
 
Old 02-09-2012, 09:18 PM   #10
tailinlinux
Member
 
Registered: Oct 2010
Location: Paudpod, Botolan, Zambales, Philippines
Distribution: Mandriva, Ubuntu, Mint, Open Suse, Meego
Posts: 390

Original Poster
Blog Entries: 3

Rep: Reputation: 25
Quote:
You told me before you can print to the printer if its attached to the linux system.
Yes i can print if printer is attached on linux machine, my problem is, if im connecting the linux pc to a printer shared on windows pc, ive got error's example: "hpcups failed".(USING SAMBA)

So i decide to search if i can use ipp connecting linux pc to windows pc.
By the way i already read that article/ (link you give)

Thanks for the help.
 
  


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
HP laserjet 1320n printer can't print emunguya Linux - Hardware 1 11-17-2008 01:49 AM
HP Laserjet 2300 dn printer (Internet Printer) keeps on printing multiple copies mayurmvegad Linux - Networking 0 09-15-2008 02:35 AM
how can i install a HP laserJet printer? webb.ryan Linux - Hardware 3 10-30-2007 10:43 PM
no printer - slack 12 (hp laserjet) somae Slackware 2 07-18-2007 07:05 PM
Professinal Question : I need professinal answer ! Captainsj Red Hat 2 04-02-2006 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:42 AM.

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