You are not logged in.

#1 2006-11-02 18:59:03

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Sharing a printer via Samba [solved]

I am trying to share my printer (HP PSC-1210) connected to my arch box to a windows 2000 machine, via samba.  I know there are many network printer related threads, and also a wiki article on this but I have not been able to get it working.  Here's what I've done:
1. Set the printer up in arch using CUPS the hplip drivers.  I have successfully printed a test page.
2. Installed samba.  Here are the relavent portions of my /etc/samba/smb.conf:

[global]
   workgroup = water
   server string = Samba Server
   security = user
   load printers = yes
   log file = /var/log/samba/log.%m
   max log size = 50
   dns proxy = no 

# 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 = no
# Set public = yes to allow user 'guest account' to print
   guest ok = yes
   writable = no
   printable = yes

After restarting samba, I can see my arch machine from the windows "network neighboorhood", but the printer is not visible when I try to add a network printer.  I am trying to avoid having to set up accounts on the arch box for each user who wants to print, because I'd like any friends who bring a laptop over to be able to connect to the LAN and use the printer.  Any help is appreciated.

Offline

#2 2006-11-02 19:41:15

zen_guerrilla
Member
From: Greece
Registered: 2002-12-22
Posts: 259

Re: Sharing a printer via Samba [solved]

Offline

#3 2006-11-03 02:21:40

damjan
Member
Registered: 2006-05-30
Posts: 457

Re: Sharing a printer via Samba [solved]

Maybe it would be easier to set the W2000 box to print directly via CUPS... now I don't remeber if W2000 had ipp support builtin... I know XP does.

Online

#4 2006-11-03 12:58:40

PeteMo
Member
From: H'Burg, VA
Registered: 2006-01-26
Posts: 191
Website

Re: Sharing a printer via Samba [solved]

damjan wrote:

Maybe it would be easier to set the W2000 box to print directly via CUPS... now I don't remeber if W2000 had ipp support builtin... I know XP does.

That is what I ended up doing.  I had to set the cups daemon to listen for connections on the network, instead of just listening on localhost.  I changed

Listen localhost:631

to

Listen 192.168.1.*:631

in cupsd.conf.

Offline

Board footer

Powered by FluxBB