[Samba] Printing problem with Win XP SP2

Louis van Belle louis at van-belle.nl
Tue Jul 19 09:09:22 GMT 2005


Hi, good day to you 2.

Im running Debian Sarge also, en use the same printer setup as you do.
I have Windows XP SP2 (dutch) with about 20 printers , 18 HP Laserjet en 1
epson Laserjet, 1 matrix printer.
I also have uploaded the windows drivers "AS Administrator" ( i use ldap
backend, and Administrator has al of the SE Rights. ) 
So this way drivers are uploaded with Administrator:Domain Admins rights en
set to 775.

I install the printer by point en print, through a kix login script. This
works perfectly.
I understand that the printer drivers are uploaded to the workstation, but
only printing
is a problem.

check this first. 
1 where is the spooler path, and had cups / printer user rights to write to
it.
( i this this is the problem )
2 are you able to print if your user root ( or administrator ) 

3) how is cups setup, you MUST set the cups spooler to RAW Printing.


For everybody i'll make a nice howto for this setup im running.
i'll post is very soon.

Louis


>-----Oorspronkelijk bericht-----
>Van: samba-bounces+louis=van-belle.nl at lists.samba.org 
>[mailto:samba-bounces+louis=van-belle.nl at lists.samba.org] 
>Namens Petr Bartel
>Verzonden: dinsdag 19 juli 2005 8:58
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] Printing problem with Win XP SP2
>
>
>Good day good people,
>I have troubble with printing. I have samba 3.0.14a-Debian, on Debian
>Stable Sarge.
>There is my smb.conf
># Global parameters
>[global]
>        dos charset = CP852
>        unix charset = ISO8859-2
>        workgroup = IRIXAS
>        server string = Samba Irix a.s.
>        null passwords = Yes
>        obey pam restrictions = Yes
>        pam password change = Yes
>        passwd chat = *New*password* %n\n *Retype*new*password* %n\n
>*passwd:*all*authentication*tokens*updated*successfully*
>        password level = 8
>        username level = 8
>        log level = 3
>        log file = /var/log/samba/%m.log
>        max log size = 10240
>        name resolve order = wins hosts bcast lmhosts
>        time server = Yes
>        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=16384
>SO_SNDBUF=16384
>        printcap name = cups
>        add machine script = /usr/sbin/useradd -d /dev/null -g 1002 -s
>/bin/false %u
>        logon path = \\%L\Profiles\%U
>        domain logons = Yes
>        os level = 255
>        preferred master = Yes
>        domain master = Yes
>        wins support = Yes
>        lock directory = /var/cache/samba
>        invalid users = daemon, bin, sys, sync, games, man, lp, mail,
>news, uucp, proxy, postgres, www-data, backup, operator, list,
>irc, gnats, sshd
>        guest ok = Yes
>        hosts allow = 192.168.99., 127.
>        max connections = 20
>        printing = cups
>        print command =
>        lpq command = %p
>        lprm command =
>        hide unreadable = Yes
>        delete veto files = Yes
>        veto files = /.*/
>        preexec = /bin/echo %u at %m connected to //%L/%S on %T
>>>/var/log/samba/samba_connected
>        wide links = No
>        dont descend = prace
>        dos filetime resolution = Yes
>        fake directory create times = Yes
>
>[homes]
>        comment = Domovske adresare
>        valid users = %S
>        read only = No
>        create mask = 0664
>        directory mask = 0775
>        browseable = No
>
>[netlogon]
>        comment = Sitova sluzba prihlasovani
>        path = /usr/local/samba/netlogon
>        browseable = No
>        share modes = No
>
>[Profiles]
>        comment = Cestovni profily uzivatelu
>        path = /usr/local/samba/profiles
>        read only = No
>        create mask = 0600
>        directory mask = 0700
>        browseable = No
>
>[printers]
>        comment = Vsechny tiskarny
>        path = /var/spool/samba
>        printer admin = @ntadmin, root, cyber
>        printable = Yes
>        print command = lpr -P %p -o raw %s -r
>        lpq command = lpstat -o %p
>        lprm command = cancel %p-%j
>        browseable = No
>
>[print$]
>        comment = Ovladace pro mistni tiskarny
>        path = /usr/local/samba/print
>        write list = @ntadmin, root, cyber
>
>and many more shares sections
>
>My printer is Lexmark Optra S 1855 and drivers are upload from 
>windows by
>pinter wizard.
>
>/usr/local/samba/print/
>|-- W32X86
>|   |-- 2
>|   `-- 3
>|       |-- LMPCLRES.DLL
>|       |-- LXOS1855.GPD
>|       |-- STDNAMES.GPD
>|       |-- TTFSUB.GPD
>|       |-- UNIDRV.DLL
>|       |-- UNIDRV.HLP
>|       |-- UNIDRVUI.DLL
>|       `-- UNIRES.DLL
>`-- WIN40
>    `-- 0
>
>Client stations is mostly Windows XP SP2 and HERE IS A PROBLEM. I can
>install printer from samba with drivers, but if I want print I waiting
>about  20 or more seconds or Windows goes freeze.
>
>Where have I a error or mistake ?
>
>thx a lot
>     Petr Bartel
>
>
>
>-- 
>Linux administrator
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba
>



More information about the samba mailing list