[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

printcap (HP Laserjet 6P) and samba



I have a linux box that I'm trying to set up for file & print serving for
our university administration, but I fear that my ignorance/newbieness is
causing me some grief, and I'm craving some experienced advice.

Anyone have an example printcap for an HP Laserjet 6P that has been shared
on a remote Windows printer? This is what I currently have. Anyone see
anything missing/incorrect? Shouldn't I specify a printer driver somewhere
if I want to be able to print from the server?

ljsaturn|HP Laserjet 6P
        :rm=saturn.ois.swau.edu
        :rp=hplj6p
        :sd=/var/spool/lpd/ljsaturn
        :mx#0
        :sh
        :sf

Also, though I've tried to digest the smb.conf documentation, I'm still not
sure I understand everything. For instance, one of the many questions I have
is how are passwords managed? Would someone be willing to look my smb.conf
over?

[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root
   security = user
   server string = %h server (Samba %v)
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   encrypt passwords = yes
   wins support = yes
   os level = 65
   domain master = yes
   domain logons = yes
   local master = yes
   preferred master = yes
   name resolve order = lmhosts host wins bcast
   dns proxy = no
   mangle case = no
   case sensitive = no
   default case = lower
   preserve case = yes
   short preserve case = yes
   unix password sync = true
   passwd program = /usr/bin/passwd %u
   passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n
*Password\schanged.* .
   max log size = 1000

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mask = 0700
   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = yes
   writable = no
   create mode = 0700

[cdrom]
   comment = Delta CD-ROM
   writable = no
   locking = no
   path = /cdrom
   public = yes
   browseable = yes
   guest ok = yes
   preexec = /bin/mount /cdrom
   postexec = /bin/umount /cdrom

===========================================
Charles Lewis, Director of Administrative Computing
Southwestern Adventist University, Keene, TX
(817)556-4720  lewisc@swau.edu  FAX (360)397-7952
===========================================



Reply to: