LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2002, 09:16 PM   #1
TomCruise2002
LQ Newbie
 
Registered: Sep 2002
Posts: 12

Rep: Reputation: 0
Unhappy Printing to a Windows Printer


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

---------------------------------------------------------------------------------

Last edited by TomCruise2002; 12-08-2002 at 09:28 PM.
 
Old 12-10-2002, 06:00 PM   #2
BoldKiller
Member
 
Registered: Apr 2002
Location: Montreal, Quebec
Distribution: Debian, Gentoo, RedHat
Posts: 142

Rep: Reputation: 15
I have started to play with samba in an NT - 2000 environment. It seems the most common source of errors (in my case anyway) was with the login process (credentials and authentication).

Make sure the windows 2000 machines recognize the credentials passed by the linux box.

Hope this is of some help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing to Windows Printer spelltoronto Linux - Newbie 2 08-15-2005 01:04 PM
Printing to a Windows printer chud67 SUSE / openSUSE 2 11-19-2004 05:33 PM
printing to a windows printer Mr.Bone Linux - Networking 6 08-29-2004 11:38 PM
Networking with Windows XP and printing to Windows XP shared printer AlanButler Red Hat 1 10-27-2003 07:07 AM
printing to a windows printer star2a Linux - Networking 1 10-09-2003 09:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration