LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2003, 09:31 AM   #1
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Samba Printer (Unable to Connect)


Okay, this has never been an issue before because it was only cosmetic, but after upgrading to WinXP Pro it's a real problem. I can print to my Samba printers just fine, but they come up with "Access denied, unable to connect" errors in the titlebar. The /var/spool/samba directory is chmod'ed 777 and they are marked public and available for printing. Again, they print just fine, but I need to get rid of the error or else the easy to read "Location" area in XP doesn't show up.
 
Old 07-16-2003, 09:54 AM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I don't understand.

When you print, does the printer print what you send to it.
 
Old 07-16-2003, 10:02 AM   #3
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
Yes, it prints fine.

After upgrading from Win98 to XP Pro we found out that XP does not allow you to change the name of your network printers. Obviously for the average user "Downstairs LaserJet" is easier to understand than "hp5000n on Archive". In order to get a legible name for the printers you have to use the "Location" field, however when you have a perceived printer error like this, it does not display the "Location" field to tell everyone what printer it is. This is why now I need to get rid of the error.

Actual printing has never been an issue.
 
Old 07-16-2003, 10:49 AM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Oh... Well...
This is a Windows problem.
Not a Linux question

One thing that I learn over the years working with Windows is that you are always better off install Windows from scratch.
Something always goes wrong when you upgrade.

I don't really work with the dark side anymore.
My only suggestion is to re-install the printer drivers.
 
Old 07-16-2003, 11:24 AM   #5
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Mathieu
Oh... Well...
This is a Windows problem.
Not a Linux question

One thing that I learn over the years working with Windows is that you are always better off install Windows from scratch.
Something always goes wrong when you upgrade.

I don't really work with the dark side anymore.
My only suggestion is to re-install the printer drivers.

ARRGG! That is the same answer I get to every SAMBA question. Not too helpful really and I doubt it is a Windows issue.

I'm the IT director for an engineering consulting firm. We have been experimenting with Linux for about a year now, but getting support seems to be the biggest hang-up. On top of that we requires AutoCAD. Find me a REAL professional CADD program for Linux and a way to get useful support and I'll consider changing. Until then,...Bills getting my businesses dollar no matter how much I hate it.

BTW, it was a fresh install of XP.
 
Old 07-16-2003, 11:36 AM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
Yes, it prints fine.
After upgrading from Win98 to XP Pro we found out that XP does not allow you to change the name of your network printers.
If you are able to see the printer share on XP, connect to it, and successfully print. Then Samba is not to blame.

You could try adding to the printer share a comment = option.

If that doesn't solve the problem, keep this thread open. Maybe one of the Guru's or Moderators will answer you.

Also, O'Reilly & Associates have very good books on Samba and other Linux related software, programming and servers.
http://www.oreilly.com/

Last edited by Mathieu; 07-16-2003 at 11:38 AM.
 
Old 07-16-2003, 10:03 PM   #7
donz
LQ Newbie
 
Registered: Jul 2003
Location: Orlando, FL
Posts: 3

Rep: Reputation: 0
There was another post with the same question earlier.

The solution is to add the following to the appropriate [printer] section(s):

use client driver = yes

This allows windows to see the unix print queue (I don't know what the association is between the client driver and samba, but it works). I first saw this in the O'Rielly Samba book.

Don
 
Old 07-16-2003, 10:16 PM   #8
aaparkr
LQ Newbie
 
Registered: Jul 2003
Location: Okc, OK
Distribution: Mandrake 9.0
Posts: 6

Rep: Reputation: 0
So it tells you it fails, but it actually succeeds? I've seen that in connection with print spoolers. Is there some way to tell your computer to wait a little longer before giving up? If nothing else maybe try not using the spooler, or making it a little bigger/smaller.

Tony
 
Old 07-17-2003, 08:05 AM   #9
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Original Poster
Rep: Reputation: 30
Well, oddly, it worked. I noticed the previous posts here that said to try that so I did. It wouldn't work all time. Every few minutes, the status would change back. This morning it seems that all is well. I'll keep you guys posted.
 
  


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
Windows XP unable to connect to linux with Samba luthree Linux - Networking 13 03-10-2007 07:54 AM
new to samba - unable to connect PerfectReign Linux - Networking 2 08-02-2005 04:31 PM
Unable to print to Samba printer from WinXP TSloth Linux - Networking 3 02-06-2005 06:13 PM
Unable to connect to network Printer (CNet 430) chhorn Linux - Hardware 0 11-10-2004 10:29 PM
can not connect to a samba printer Hockeyfan Fedora 1 09-28-2004 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:49 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
Open Source Consulting | Domain Registration