LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-17-2005, 09:35 PM   #1
Starch
Member
 
Registered: Jan 2005
Posts: 77

Rep: Reputation: 15
set up a printer(linux to windows printer)


I have a printer connected to a machine running windowsxp professional. I am running Linux Slackware.

How may I set up a printer so I may print from my Linux machine?

Thanks in advance!

Last edited by Starch; 02-21-2005 at 04:51 PM.
 
Old 02-17-2005, 11:36 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
share the printer of course from the winbows machine
then access it through samba
for instance set up a new printer in cups with the address
smb://<user>:<passwrd>@<servername>/<printername>
edit: forgot to say use the linux driver i think windows can only share the printer raw

Last edited by foo_bar_foo; 02-17-2005 at 11:38 PM.
 
Old 02-18-2005, 09:24 PM   #3
Starch
Member
 
Registered: Jan 2005
Posts: 77

Original Poster
Rep: Reputation: 15
What should I put for "location"?
 
Old 02-18-2005, 11:44 PM   #4
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
location is just an optional description for you and has no real effect
"the printer in the secret condo in hawaii" is my favorite
 
Old 02-19-2005, 11:03 AM   #5
Starch
Member
 
Registered: Jan 2005
Posts: 77

Original Poster
Rep: Reputation: 15
its not working for me.
I put this into "Device URL"
smb://administrator/HPDeskje
HPDeskje is the name set up on windows as the "sharing name"

When trying to print the test page I get NT_STATUS_UNSUCCESSFUL, I tried using
smb://administrator/ and I get
NT_STATUS_BAD_NETWORK_NAME when trying to print test page.
 
Old 02-19-2005, 06:51 PM   #6
Starch
Member
 
Registered: Jan 2005
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
smb://<user>:<passwrd>@<servername>/<printername>
Whos user/pasword?
 
Old 02-21-2005, 04:50 PM   #7
Starch
Member
 
Registered: Jan 2005
Posts: 77

Original Poster
Rep: Reputation: 15
Yeah it works! Im so happy

If anyone else stumbles on this problem

When you got to the part for entering "smb://..." type
smb://anonymous@computername/printername
  • anonymous
  • Keep it like this unless you want more security than you'll need username/pasword and have it setup on your windows machine which I have tryed but don't know how to do. Until one day(today) I have tryed to put "anonymous" and said "it would be a miracle if this would work" and it worked , I was laughing because it wasn't obvious to me, and more of a joke to try.

    computername
  • Get this from on windows goto system settings, click on "Computer Name" tab and then look for "Full computer name" and use that, (Case sensitive I think). Also if you are in a different workgroup than you might need to specify the work group like smb://...@workgroup/computername... You can change your workgroup in the samba config file. On howto's it say's its in /etc/samba.conf I have it in /etc/samba/samba.config. If you change it you will need to restart your server (continue reading if your a newbe like me) cd to /etc/rc.d/ find the samba script. I have it called "rc.samba" to restart simply type
    Code:
    ./rc.samba restart
    and bingo.

    printername
  • its the share name for the printer.

and don't forget to install printing services for Unix. I don't know if that is needed but I have it installed (comes on windows CD).
 
Old 02-28-2005, 05:06 PM   #8
onelung02
Member
 
Registered: Oct 2003
Location: utah
Distribution: Slackware 10.0, Gentoo 2006.0
Posts: 289

Rep: Reputation: 30
Well I have done everything this seems to say but I get an error that says:
NT_STATUS_UNSUCCESFUL

does anyone have any idea what I need to do with this one?

-onelung
 
Old 03-14-2005, 10:54 PM   #9
tulip4heaven
Member
 
Registered: Jan 2005
Posts: 55

Rep: Reputation: 15
Thanks to all

But if a printer is attched to windows98 Then

what will i have to do ?
 
  


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
Unable to set up printer pickleman78 Slackware 2 05-18-2005 08:10 AM
Set up network printer leupi Linux - Networking 2 03-27-2005 09:37 AM
Can't set up printer in Slackware 10.0 marco13185 Linux - Hardware 4 03-01-2005 05:16 PM
How can I set up a printer with CUPS in KDE? enigma Z Linux - Software 3 09-03-2004 09:43 AM
Printer set up jhimes Linux - Hardware 0 07-30-2004 12:36 AM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration