LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-09-2005, 02:14 PM   #1
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Rep: Reputation: 15
Printing from Linux to Windows Printer


Hi all,
I have a home network setup with the base computer Win XP and Linux attached to the modem/router. It is set to share with other comps on the network. I have samba installed for this. Do I need to use Samba to print?

It is not working in any case. It seems to see the network but fails to print every time.

What are some steps I can take to make sure I'm setting everything up right? Could it be the driver isn't correct and so it fails to find the right printer?

thanks for any suggestions
 
Old 10-09-2005, 03:23 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Do you have cups running on your system? If so you can open up a Web browser and connect to http://localhost:631 which is a nice GUI config application for cups. You can make sure that the printer is configured correcrly and add/modify it if not. It supports adding printers accessed via SMB. I prefer this way over the distro specific printer config tools.
 
Old 10-09-2005, 04:38 PM   #3
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Thanks for the help. I'm wondering now if I have SMB on my XP system, or is it automatically that? Seems like before I had a printer that was used without having to go through all this network stuff. This time howerver, it is attached to a router that has the XP and Linux system. I do have CUPS and have tried to do more configuring but still not getting it. Should it detect it first?

I get this error: error NT_STATUS_ACCESS_DENIED What can I do?

Last edited by matrim; 10-09-2005 at 05:01 PM.
 
Old 10-10-2005, 10:57 AM   #4
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Hmm, maybe I don't have a printer or windows that is Samba based? What is needed for this to work?
 
Old 10-10-2005, 11:21 AM   #5
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
Windows does not have Samba because the latter is an open source product to interface with Windows.
What the situation seems to be (as far as I can tell) is that you have to set the printer in windows to be shared, so that other machines in the network can access it.
Then using CUPS try to find it in the network ( I like to use the IP address where the printer resides and printing through tcp/ip) and print.

Hope this helps.

Rick
 
Old 10-10-2005, 09:07 PM   #6
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Hi,
Thanks for the reply. So, if it is not printing, what are some things I can check? It seems to find the printer okay but then says fails to connect. Could that be the firewall within the router? The dirver isn't quite the right one? Any more help to figure this out is appreciated greatly, as I am now pulling out hair
 
Old 10-10-2005, 09:17 PM   #7
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
Well ... if you are using CUPS then you have a selection of printers. Is the printer you are trying to connect listed?
If it is use that one. If it is not you need to find a driver that is equivalent. There is a site called Linuxprinting (I think) that may be of help in this case.

Rick
 
Old 10-10-2005, 09:47 PM   #8
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Okay a few last questions I guess
I have CUPS because I can bring it up on my browser. Upon doing so, there are no printers, and a button is there that says Add printer. Click that, and it brings up an option to enter in location and name of printer. If this is the case, that means no printer is found on the network, is that right?

edit: Actually on certain configurations( the closest i think are right), i still get that NT_ACCESS_DENIED error. What the heck is that?

Last edited by matrim; 10-10-2005 at 09:53 PM.
 
Old 10-10-2005, 09:53 PM   #9
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
Yes ... and no.
You are logging in as a regular user. Log in as root and then add a new printer, follow the prompts to select a printer type (use the one you have if present) and a connection mode. I usually try to connect using tcp/ip.

Hope this helps.

Rick
 
Old 10-11-2005, 12:07 AM   #10
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Original Poster
Rep: Reputation: 15
Sigh, it keeps saying NT_STATUS_ACCESS_DENIED?? And there's no connection type to select, maybe my CUPS is too old
 
  


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
Setting up printer on Linux and printing to it from Windows gljubuncic Linux - Software 3 06-06-2005 02:49 PM
Samba (printing from linux to a windows printer) gingins Linux - Networking 1 04-26-2005 11:05 PM
Printing to a Linux printer via Windows jacquedp Linux - Networking 1 06-14-2004 07:53 PM
Printing from Linux to a Windows printer unswt101 Linux - Software 1 05-05-2004 11:55 AM
Printing to a windows printer from Linux 9 star2a Linux - Networking 2 10-09-2003 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:51 AM.

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