LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-05-2004, 07:20 PM   #1
winkydink
LQ Newbie
 
Registered: Jun 2004
Location: Southern Vermont
Distribution: Mandrake 9.2
Posts: 7

Rep: Reputation: 0
How to print in Mandrake 9.2 using a Windows XP shared printer?


Hi All,

How to print in Mandrake 9.2 using a Windows XP shared printer?

I have an Brother HL-1450 laser as the local printer on a Win XP machine. Not truly networked i.e. XP machine must be on for another machine to use the printer.

I tried using printer/drake to configure a tcp/ip connection and then a SMB/Windows, but I cant get it to print.

I installed the additional networking components of XP. I have installed samba on the mandrake machine. when I try to configure samba i get this message:

"An error occured while loading localhost:901
Could not connect to host localhost (port 901)"

So it feels like I am fishing alone in the dark, I don't think I know what I am doing with samba, tcp/ip or anything.

I would like to get this to work, otherwise I will need to get a very long USB cable and install the Brother 1450 as my linux machine's local printer which I know works.. And when the XP person (my wife) want to print I will have to shut down Mandrake and log on to win 2000 and that is a drag.

Help

Does any one have and suggestions?

Hopefully,

winky.
 
Old 06-05-2004, 07:51 PM   #2
PCfixinman2025
LQ Newbie
 
Registered: Jun 2004
Location: Philly
Distribution: Redhat 9 mandrake 10 & Lindows 4.5
Posts: 16

Rep: Reputation: 0
printing in mandrake via winxp

Hi,

Your first problem might be that linux cannot perform read-writes to an NTFS formatted partition(not even with \Root access . So if your XP OS is not on a FAT32 & is on NTFS, it will not work, because your printer is not a stand-alone networked printer.

Since you cannot convert from NTFS to FAT32, you would have to re-install XP, after you save your DATA, & format to FAT32. Then during XP's install when it askes how it should proceed, when it gets to where it asks what it should do about your win file system, scroll down to "leave current file system"

do not format with NTFS.

While FAT32 is not as secure a file-system, as NTFS, with the correct, winXP updates & firewall setup you should be fine, & will have no problem printing to your XP machine through your mandrake PC.

Regards,


PCfixinman
 
Old 06-05-2004, 08:40 PM   #3
Chris H
Member
 
Registered: Aug 2003
Location: Farnborough, UK
Distribution: Zenwalk
Posts: 288

Rep: Reputation: 30
Set the XP printer to 'shared'

Make sure Samba is running.

Use CUPS to add it as a smb printer and it should work fine.
 
Old 06-05-2004, 10:15 PM   #4
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 30
chris is right, i have a similar set up . i have a printer on an xp machine shared. i have redhat on another machine. first make sure that the printer is shared, then go to control center=>peripherals=>printers=> administrator mode=>type in your password . after that follow the instructions.

another method is

open your web browser and go to http://localhost:631

then click on printers=>then add printer. then is going to ask your for user name and password, make sure u type root for username with the appropriate password. enter a name , location, and description of your printer and click continue. in the next screen you need to select printer via samba. next you will need to enter the uri , the following is an expample

smb:/usernameassword@Server/Printername; if i remember correctly, username is the username on the xp machine, password of the same user, Server is the name of the xp box where the printer is attached. hope this helps,
 
Old 06-06-2004, 01:21 PM   #5
winkydink
LQ Newbie
 
Registered: Jun 2004
Location: Southern Vermont
Distribution: Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks guys, but does do I have to change the file system on the XP box to FAT from NTFS?

And is samba difficult to get running? I installed it, but how do i use it?


many thanks,

richard
 
Old 06-06-2004, 01:55 PM   #6
winkydink
LQ Newbie
 
Registered: Jun 2004
Location: Southern Vermont
Distribution: Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you, i got it to print....

i was able to follow snakeo2 2nd set of suggestions [using localhost:631] and it worked like a charm. many many thanks to all three of you for giving me a helpful hand.

wow inter-species printing! cool.



richard.
 
Old 06-06-2004, 02:59 PM   #7
snakeo2
Member
 
Registered: Mar 2004
Location: Miami, Fl
Distribution: Red Hat 9/fedora core3/
Posts: 273

Rep: Reputation: 30
glad it worked.
 
  


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
How do I print to my windows shared printer from mandriva roybullard Mandriva 6 11-07-2005 10:22 PM
getting Firefox to print to CUPS with shared printer Lleb_KCir Linux - Software 5 07-27-2005 09:43 AM
Using samba to print to a win2003 shared printer sam_casperson Linux - Networking 0 07-12-2004 01:57 AM
Can't seem to print to an XP Pro Shared Printer powerismine Slackware 1 05-09-2003 11:54 PM
Cannot print to Win2K shared printer from RH8 mjamil Linux - Networking 0 11-05-2002 08:55 PM


All times are GMT -5. The time now is 11:13 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