Get help with printers, scanners, fax devices, tablets etc

Moderator: slax

printer sharing

Postby username » Mon Jan 30, 2012 6:37 pm

I got my wife an Acer laptop for Christmas with windows 7 along with a router and am having difficulty configuring things so that she can share my HP Photosmart 5100 series printer I use with my 2010.10 gnome with 2.6.38.3-pclos1.bfs kernel. I used PCC to set up DHCP, and her W7 to detect the printer. The setup required an I.P. address which I got from DHCP, but it wanted port info I left blank not knowing what to put but went ahead and did install the printer in Control Panel. The test page wouldn't print. I tried pinging & got the result:
"From 192.168.0.2 icmp_seq=15 Destination Host Unreachable."
PCC doesn't have an option to configure a network printer under Hardware > Configuring Printing and Scanning that I can see. Has anyone done this who could help me getting this to work? I would appreciate it. Thanks.

P.S.: I went to the Cups page & reinstalled my printer & printed a test page successfully. I wondering if I need to configure SAMBA?
username
Full Member
Full Member
 
Posts: 171
Joined: Fri Nov 06, 2009 10:40 pm

Re: printer sharing

Postby ongoto » Wed Feb 01, 2012 2:36 am

Image
--Only a penguin could make a nest out of some rocks--
--Twitter--
--An eternal gem ala Joble--
ongoto
User avatar
Hero Member
Hero Member
 
Posts: 962
Joined: Sun Mar 01, 2009 12:53 pm
Location: California, USA

Re: printer sharing

Postby username » Wed Feb 01, 2012 1:10 pm

Thanks for the response. I've already seen that link.
I've checked out that link and it seems to be pretty old. For instance, configuring DHCP in PCC gave me two addresses (lowest and highest) I alternately entered them both in Win 7 without printer detection. Also it said: "You can normally find the IP address of a printer on the printer's control panel or by printing the configuration or status page. The Simple Network Management Protocol (SNMP) can also be used to get the IP address remotely, which happens automatically when you visit the CUPS administration web page or choose an available CUPS device when adding a printer. I DID add my printer via CUPS administration page but it did NOT "automatically" provide me with an address as it said it would. NOR did the printer test page produce one as the link said it would. Again,to quote from that link:

"The DHCP protocol is the usual way of setting the IP address of a printer on a managed network. Using the standard dhcpd(8) program supplied with UNIX you simply need to add a line to the /etc/dhcpd.conf file:

host hostname {
hardware ethernet mac-address;
fixed-address ip-address;
}

Make sure that the hostname you use is also listed in the /etc/hosts file or is registered with your DNS server."

Turns out this isn't simple as it states, as I don't have the info to fill in the parameters, although I do have a /etc/dhcpd.conf file now. Trying to use the dhcpd program produced an error:

unable to create icmp socket: Operation not permitted
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Can't open /var/lib/dhcp/dhcpd.leases for append.

There must be an easier way as many other people seem to have figured this out.
username
Full Member
Full Member
 
Posts: 171
Joined: Fri Nov 06, 2009 10:40 pm

Forum Statistics

Who is online

Users browsing this forum: No registered users and 1 guest

Options

Return to PCLinuxOS Gnome Printing & Scanning

cron