LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-16-2010, 06:51 AM   #1
jaymz69
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Rep: Reputation: 1
sharing a printer among several mandriva 2010 machines and 1 windows7


so... there is a multifunction hp laserjet already connected to and installed on 1 machine with mandriva2010 installed and it works fine

all mandriva 2010 machines are in one wireless net but the printer is not visible/available on the others -- how to make it a shared printer for all the other mandriva machines?

in the same net there is also 1 machine with windows7 installed and I want the printer to be available from this machine as well
I configured samba 3.4.3 on the mandriva machine to which the printer is connected and the windows7 machine 'sees' the printer but when I try to connect to it an error [sth like 000x000d] pops up and I can do nothing else... when I try to install a net printer on the windows7 machine the system lists the printer as available but I cant proceed as it also pops up the same error

any help will be appreciated
 
Old 02-16-2010, 11:56 PM   #2
bloodyscript
Member
 
Registered: Apr 2006
Distribution: Sabayon linux 5.1
Posts: 182

Rep: Reputation: 15
well speaking from my experince i have a lexmark all in one wireless printer which i setup on my moms mac desktop then my sabayon computer i just when to add new printer and it was seen and was able to print.

but mayb on the other mandriva machines you need to install or configure the hpliptoolbox or cups http://hplip.sourceforge.net/
 
Old 02-16-2010, 11:57 PM   #3
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
what does your smb.conf look like?
 
Old 02-17-2010, 05:48 AM   #4
jaymz69
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Original Poster
Rep: Reputation: 1
dU need the whole smb.conf? its quite longish
if U want to check if it has the lines

printing = cups
printcap name = cups

then yes it does have them
 
Old 02-17-2010, 06:00 AM   #5
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Thumbs up

Hi,

If its multifunction hp laserjet printer then you can directly connect it to the network i.e is LAn.What i mean to say is dont connect it to any other linux/or windows machine but connect it directly in LAN.Assign some IP address to it for example:192.168.1.10.

Now to see if it works fine and is in network then do this:
1.ping 192.168.1.10
2.try to browse it via firefox http://192.168.1.10

Now to connect Linux systemd wired or wireless follow these steps:
#yum -y install hplip*
After installing HPLIP packages:
run
#hp-setup
and follow the instructions.
The Hewlett-Packard's Linux Imaging and Printing software (HPLIP) software supports 1,952 HP printers on nearly any Linux distribution available today.

For windows i think you already have drivers and just install it as network printer or standard tcp ip port.


For any other clarification revert back.


Prayag
 
Old 02-17-2010, 06:11 AM   #6
jaymz69
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Original Poster
Rep: Reputation: 1
thanx for a reply but...

I cant connect the printer directly to the net as it has no net port -- only an usb port

the hplip soft is already installed on the machine to which the printer is usb-connected

in case of windows I do have the drivers for it but when I try to connect it as the net printer the system locates the printer but when I click 'proceed' it pops up an error message [0x0000000d] and I cant proceed with installation
 
Old 02-17-2010, 11:06 PM   #7
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
hi please tell me tha name of the HP printer you have
 
Old 02-18-2010, 05:07 AM   #8
jaymz69
LQ Newbie
 
Registered: Jun 2007
Posts: 18

Original Poster
Rep: Reputation: 1
its hp colorlaserjet cm1312 mfp
 
Old 02-18-2010, 05:49 AM   #9
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Quote:
Originally Posted by jaymz69 View Post
dU need the whole smb.conf? its quite longish
if U want to check if it has the lines

printing = cups
printcap name = cups

then yes it does have them
There's more to sharing a printer via samba. Here is my smb.conf from a slackware box that shares a printer with various linux distros and windows boxes:
Code:
#======================= Global Settings =====================================
[global]
workgroup = workgroup
server string = Samba Server
security = user
hosts allow = 192.168.1.
load printers = yes
printcap name = /etc/printcap
passdb backend = tdbsam

#============================ Share Definitions ==============================
# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = yes
   printable = yes
   create mode = 0700
From the global section the "load printers" line shares all printers installed on the server machine. The rest makes the printer available with no need for credentials. Then it's just a matter of adding the printer as a network printer on the various other boxes.
 
  


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
Internet Connection Sharing Between Two Mandriva 2006 Machines DownloadTHIS Linux - Networking 3 02-14-2006 11:00 PM
Mandriva Printer and Partition sharing fredmarkle Linux - Newbie 1 05-19-2005 09:12 PM
Sharing a printer in Fedora Core 1 for use on Windows machines. nevetsrd Linux - Networking 1 02-18-2005 05:06 PM
sharing CUPS printer between Linux machines hairydan Linux - Software 0 09-10-2004 08:35 PM
sharing a Windows Printer with Linux machines tthai01 Linux - Networking 5 11-22-2002 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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