Hi
I am running RedHat Linux 7.2 and I wish to print to a Windows printer in the Windows 2000 network. I have installed Samba according to instructions in
http://home.ubalt.edu/abento/linux/samba/
but I am still unable to print.
I get the following errors when I print. I have also attached my smb.conf file contents. Please help.
------------------------------------------------------------------------------
[user01@pc01 samba]$ smbclient -U% -L localhost
added interface ip=XX.XX.XX.XXX bcast=XX.XX.XX.XXX nmask=XXX.XXX.XXX.0
Domain=[MYWORKGROUP] OS=[Unix] Server=[Samba 2.2.1a]
Sharename Type Comment
--------- ---- -------
temp Disk Temporary file space
public Disk Public Stuff
IPC$ IPC IPC Service (RedHat Linux Samba Server)
ADMIN$ Disk IPC Service (RedHat Linux Samba Server)
BROTHER_HL-14 Printer
AX38D4E3-pr Printer Network printer on Print server AX38D4E3
Server Comment
--------- -------
pc01 RedHat Linux Samba Server
TMSCLOCKING
Workgroup Master
--------- -------
MYWORKGROUP TMSCLOCKING
[user01@pc01 samba]$
-----------------------------------------------------------------------------
Errors while printing
[user01@pc01 javadev]$ lpq
Printer: BROTHER_HL-1450@pc01
Queue: 1 printable job
Server: pid 20812 active
Unspooler: pid 20813 active
Status: printing finished at 10:01:57.846
Rank Owner/ID Class Job Files Size Time
1 user01@pc01+811 A 811 TXT 395 10:01:57
[user01@pc01 javadev]$ lpq
Printer: BROTHER_HL-1450@pc01
Queue: 1 printable job
Server: pid 20812 active
Unspooler: pid 20823 active
Status: attempt 2, sleeping 10 before retry at 10:02:01.129
Rank Owner/ID Class Job Files Size Time
1 user01 A 811 TXT 395 10:01:57
[user01@pc01 javadev]$ lpq
Printer: BROTHER_HL-1450@pc01
Queue: 1 printable job
Server: pid 20812 active
Unspooler: pid 20823 active
Status: attempt 2, sleeping 10 before retry at 10:02:01.129
Rank Owner/ID Class Job Files Size Time
1 user01 A 811 TXT 395 10:01:57
[user01@pc01 javadev]$ lpq
Printer: BROTHER_HL-1450@pc01
Queue: 1 printable job
Server: pid 20812 active
Unspooler: pid 20823 active
Status: printing finished at 10:02:11.131
Rank Owner/ID Class Job Files Size Time
1 user01 A 811 TXT 395 10:01:57
[user01@pc01 javadev]$ lpq
Printer: BROTHER_HL-1450@pc01
Queue: 1 printable job
Server: pid 20812 active
Unspooler: pid 20839 active
Status: attempt 3, sleeping 20 before retry at 10:02:14.421
Rank Owner/ID Class Job Files Size Time
1 user01 A 811 TXT 395 10:01:57
------------------------------------------------------------------------------------
The following is my smb.conf file:
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2002/12/05 17:13:23
# Global parameters
[global]
workgroup = MYWORKGROUP
netbios name = MYCOMPUTER
server string = RedHat Linux Samba Server
security = DOMAIN
encrypt passwords = Yes
password server = ntserver
smb passwd file = /etc/smbpasswd
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
lock dir = /var/lock/samba
hosts allow = XXX.X.X.X. XX.XX.XX.XX. XX.XX.XX.XXX. XXX.X.X.X. X.X.XX.XXX. XXX.X.X.X. XXX.X.X.X. 127.
[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
printer name = raw
browseable = No
[temp]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
[public]
comment = Public Stuff
path = /home/public
read only = No
guest ok = Yes
---------------------------------------------------------------------------------