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: 22.214.171.124 (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 126.96.36.199 in step2.
the printer machine get a samba request for called name 188.8.131.52. 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.
Location: in the gatessp room
Description: a hp printer
3. input Device infomation:
Device; Windows Printer via SAMBA
4. Device uri:
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.