LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sharing a printer among several mandriva 2010 machines and 1 windows7 (http://www.linuxquestions.org/questions/linux-newbie-8/sharing-a-printer-among-several-mandriva-2010-machines-and-1-windows7-789463/)

jaymz69 02-16-2010 06:51 AM

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

bloodyscript 02-16-2010 11:56 PM

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/

worm5252 02-16-2010 11:57 PM

what does your smb.conf look like?

jaymz69 02-17-2010 05:48 AM

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

prayag_pjs 02-17-2010 06:00 AM

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

jaymz69 02-17-2010 06:11 AM

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

prayag_pjs 02-17-2010 11:06 PM

hi please tell me tha name of the HP printer you have

jaymz69 02-18-2010 05:07 AM

its hp colorlaserjet cm1312 mfp

damgar 02-18-2010 05:49 AM

Quote:

Originally Posted by jaymz69 (Post 3866695)
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.


All times are GMT -5. The time now is 03:53 PM.