Kristyan Osborne kris at longhill.brighton-hove.sch.uk
Tue Feb 17 15:05:10 GMT 2004

I think we all have your email now??!?!!?!?!?

Kristyan Osborne - IT Technician / Community Manager
Longhill High School
01273 391672 / 304086

Computers are like airconditioners: They stop working properly if you open windows.
Win95:       A 32-bit patch for a 16-bit GUI shell running on top of an
             8-bit operating system written for a 4-bit processor by a
             2-bit company who cannot stand 1 bit of competition.

-----Original Message-----
From: samba-bounces+kris=longhill.brighton-hove.sch.uk at lists.samba.org
[mailto:samba-bounces+kris=longhill.brighton-hove.sch.uk at lists.samba.org
]On Behalf Of zynkx
Sent: 17 February 2004 15:00
To: samba at lists.samba.org

hi all and thanks in advance for reading this

i have worked with samba for a while, sharing drives on
 my linux boxes and all went well until now.

now, i tried to share a printer.

1 i setup a printer in a box with cups. the printer is
working fine in that host printing everything as it is

2 i tried to share the printer to:
             2.1 one windows wrokstation in the lan
             2.2 two linux boxes on the lan

with the following config file:
   workgroup = PRINTSERVER
   netbios name = NEPTUN
   server string = neptun print server
   log file = /var/log/samba/log.%m
   max log size = 50
   security = share
   encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192
   printcap name = lpstat
   printing = cups
   comment = All Printers
   printer = hp_670C 
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr -P %p -o raw %s -r
   lpq command = lpstat -o %p
   lprm command = cancel %p-%j
   use client driver = yes      

i then made the client configuration on the windows
workstation, and windows is printing well to my linux
printing server with samba. it shares drives and the
printer without any kind of problem.

the problem is that i cannot print form my linux boxes
to that shared printer...

on linux boxes i made the following

1 configured one printer queue with cups linking the
smbspool to /usr/lib/cups/backend/ 

ln -s /usr/bin/smbspool /usr/lib/cups/backend/smb

2 loaded the driver for hp 670c in cups

3 tried to print a test page and i did it successfully

now... the only thing is that i am only able to print
test pages... and i can't figure out the command line
options to print from my linux print clients to my
linux print server...

windows is doing fine though. 

other thing is that when I:

smbclient //neptun/printers

i can mount the share but it does not print.

Email Enviado utilizando o serviço MegaMail
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list