Windoze Printer and Linux Box Setup Woes

elik elik at
Thu Jan 21 20:18:12 GMT 1999

Okay... seems I still cannot get anything working right with this as far
getting it to print.  Here is the three different files which I would like all
to look at and see what I have screwed up since it refuses to print.

Here is the setup of the network:
HP 5L connected to Win95 -
Linux - Zeus -

-----------SMB.CONF FILE------------
; /etc/smb.conf
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root
   announce as = Win95
   allow hosts =
   remote announce =
   remote browse sync =
   security = share
   workgroup = GV2
   server string = %h server (Samba %v)
   encrypt passwords = yes
   wins support = no
   os level = 0
   domain master = no   
   local master = yes   
   preferred master = no
   name resolve order = bcast host wins
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   passwd program = /usr/bin/passwd %u
   passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n *Passwor
   max log size = 1000

   comment = Home Directories
   browseable = yes

   directory mask = 0775
   comment = All Printers
   browseable = yes
   path = /tmp
   printable = yes
   public = yes  
   writable = yes
   create mode = 0775

; A sample share for sharing your CD-ROM with others.
;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no 
;   path = /cdrom
;   public = yes
    only guest=yes

------------PRINTCAP FILE-----------------
# Printcap Configuration File
lp|hplj5l|HP Laserjet 5L:\

------------SMBPRINT FILLE----------------
#!/bin/sh -x
        echo "print -"
        /etc/magicfilter/ljet4l-filter "$@"
) | /usr/bin/smbclient "\\\\GOD_SERVER\\HP5L" -I -N -P
> /var/log/smbprint.log

So... here is the problem.  The linux cannot print out to the HP Printer 5L
that is connected to the Windoze.  And top of it off... The Win95 clients
cannot even browse or get inside the Linux directories at all.  Reason I have
the IP addresses in there is for secure method of allowing certain hosts to
have free access into the Linux to do the work even at the top.  But the good
news is... I can mount the 2 Windoze shares on the Linux using Smbmount and
edited the samba start-up/shutdown files to mount and unmount them on the fly
with no problem.  So... the printing and the Win95 access into the linux is
what I needed to make this work and I will be so happy that I can leave this
behind and start focusing on other tasks.  It would be nice if there is a way
to mount the printer to the port on Linux instead of this way as it is right
now.  So... anyone who can edit this configuration and make it work like I
wanted would be very much appreciated.  Thanks for your time.

Date: 21-Jan-99          Time:15:18:12
Russell Rademacher
Grapevine2 Technical Support Specialist
Pager: 800-480-9498 #1041
Phone: 716-214-5644
Fax: 716-214-5642
TDD: 716-214-5643
ICQ: 10663810
AIM: ElikCyber

More information about the samba mailing list