LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-04-2003, 01:17 AM   #1
sunyang97
LQ Newbie
 
Registered: Apr 2003
Posts: 1

Rep: Reputation: 0
Why I can not use win printer via samba


I have just installed Redhat9. I used the full installation mode. So I can confirm all packages have been installed.
Now I want to connect my computer to a Win printer (HP8150). The Win printer (I called it hp8150) is physically connected to a machine running in Win2000 OS. So I have to connected via Samba protocol, right?
So I take the following procedures: (I have root priveledge all the time)
1. use redhat config tool, so I type "printconf"
2. I input the necessary infomation to config the print queue.
queue type: Win via samba
Sharename: hp8150 (the sharename is correct, since i can see it via smbclient)
server: 164.70.41.20 (or just for simplicity gatessp for netbios name)
user: suny (my username in the domain)
password: 123456 (my password for example)
workgroup: soft_dev (the printer and my account all in the soft_dev domain)
3. save the configuration and apply the change.
4. print a test page, but I have seen the printer said it can not find the samba host.
5. So I use ethereal to grab the package I have seen this situation.
a. when I set server to 164.70.41.20 in step2.
the printer machine get a samba request for called name 164.70.41.20. And it return a negative response that said the called name is not present.
b. when I set server to gatessp for its netbios name.
my machine will sent three netbios name request, it can not find gatessp.

After I tried the printconf, I changed to use cups web interface. I type http://127.0.0.1:631/ and use it to add a printer. The procedures are as below.
1. From administration interface, click "Add printer" button.
2. I type the printer discription in the first form.
Name: gatessp
Location: in the gatessp room
Description: a hp printer
3. input Device infomation:
Device; Windows Printer via SAMBA
4. Device uri:
smb://suny:123456@soft_dev/gatessp/hp8150
5. Model/Driver for gatessp
I select HP for the printer model is HP8150
And the driver i selected "HP laserjet II series"
6. Click next button, and it finished setting up the printer.
I tried to print a test page from the cups administration interface. But it still can not work?

Can you tell me what is wrong with my procedures? Or just ask for some detail infomation. Any help is welcome.

PS: Another thing must be noted, I have used redhat 7 and redhat 8. In the previous release, I have setting the samba printer successfully.
And after I setting up my printer via cups web interface, I use printconf to see if the printer infomation is right, I found the printer infomation seems something wrong. For example, username and password is all empty and the sharename changed to suny:123456@soft_dev/gatessp/hp8150. Is it right? Is the printconf parse the configuration well? I can not print test page from the printconf(with the queue config by cups), it said the service is not available. Is redhat 9 use cups (IPP) or lpd for print demon? Can I just use cups web interface to configure printer while leave redhat some implementaion there?

Thanks for your 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
samba printer invisible on Win 98, not on XP gregmcavoy Linux - Software 0 06-20-2005 03:48 AM
Struggling with Samba CUPS win printer issue VBAHole22 Linux - Newbie 13 06-18-2004 08:47 PM
win samba printer request vanishes in RH9 hartings Linux - Networking 2 12-22-2003 04:17 PM
printing from win 98 client to samba printer on red hat linux with cups shashi_lq Linux - Networking 0 12-10-2003 01:04 AM
printer installation on win machine through samba kmccuddy Linux - Networking 7 11-07-2002 04:41 PM

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

All times are GMT -5. The time now is 12:31 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