LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-05-2004, 06:00 PM   #1
milleron
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Xandros 2.0
Posts: 2

Rep: Reputation: 0
Cannot print from Windows-network-connected printers


I'm an experienced DOS/Windows user who just installed Xandros Linux 2.0 on a dual-booted machine on my home LAN.

I was very impressed with the installation and the incredible ease of setting up networking. I can browse shares on all my Windows machines from Xandros and vice versa.

Xandros uses KDE Print, and the "add-a-printer" Wizard worked just like the one in Windows with which I am familiar. I could very easily browse right to the printers attached to machines on my Windows LAN, and they appear correctly in Xandros' Control Center/Printers. Trouble is that whenever I try to print anything, I get a "Retry-Abort" message and that is followed by a message box stating "the 2100 file no longer exists." [the printer is called "LJ_2100" on Linux and "LJ 2100" on Windows.] I presume that this last message means that the print job has been "despooled," but I don't know for sure, and I don't know why I can't print.

I presume that Xandros 2 and KDE Print use CUPS, but I get no error messages about that and there's nothing whatsoever about this problem in Xandros documentation.

Thanks in advance.

Ron
 
Old 07-06-2004, 06:52 AM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
hi milleron, welcome to lq. here is something that may help you.

http://www.faqs.org/docs/Linux-mini/...ing_to_windows

good luck.
 
Old 07-06-2004, 11:16 PM   #3
milleron
LQ Newbie
 
Registered: Jul 2004
Location: USA
Distribution: Xandros 2.0
Posts: 2

Original Poster
Rep: Reputation: 0
Hey, Peacedog,
Thanks for the response and the tip.

I resolved this problem, and, in case others access this thread from afar, here's the explanation.

Linux requires that printers have no spaces in their names. Windows does NOT require that. I had spaces in the names of the printers in Windows, both the actual names and the "share-as" names. They were "DJ 880C" and "LJ 2100." I knew that those are not legal Linux names, but when adding these printers in Linux, I DID give them names that conform perfectly to Linux device-naming conventions. I figured that the names in Windows were immaterial as long as the Linux names assigned were legal. Evidence of the validity of my deduction was the fact that Samba had NO trouble locating these printers, and allowed me to install them in Xandros Linux without a burp. They just wouldn't work. It turns out that what I mistook for "evidence of my deduction" was very misleading.
Finally, in desperation, I changed both the actual printer names and the "share-as" names in Windows to "DJ_880" and "LJ_2100." When I installed those, as anyone would guess at this point, I got perfect functionality.

Thanks again,
Ron
 
Old 07-17-2004, 12:01 AM   #4
temdesign
Member
 
Registered: Jul 2004
Location: New Orleans
Posts: 35

Rep: Reputation: 15
Still No Go

I cannot get my Mandrake 10.0 box to connect to my HP 3820 that is connected locally on a Windows 2000 box. I went to Control Center....Printers....and added the printer....but it never seems to find it...even when I put the ip address in that is hardcoded on the windows box. I never did any modifications to any files...and the only thing I did in the CUPS options is add the hardcoded ip as a host. I went to the Configure CUPS that is in the printer control panel.

Any suggestions? I am very new to Linux.

Thanks.
 
Old 07-17-2004, 02:41 PM   #5
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
what does smbclient -L ip of widows machine return?
 
Old 07-17-2004, 11:40 PM   #6
temdesign
Member
 
Registered: Jul 2004
Location: New Orleans
Posts: 35

Rep: Reputation: 15
Command

Am I supposed to run that in a terminal window?
 
Old 07-17-2004, 11:52 PM   #7
temdesign
Member
 
Registered: Jul 2004
Location: New Orleans
Posts: 35

Rep: Reputation: 15
Return Value

When I run the command, it asked for a password. I enter the password and then it list the values.

Domain----OS----Server

Sharename-----Type-----Comment
Error returning browser list: NT_STATUS_ACCESS_DENIED
session request to myipaddress failed (Called name not present)

Login Successful
Domain----OS---Server

Server--------------------------------------------Comment
OneComputerName(printer attached)
SecondComputerName

Workgroup--------------------------------------Master
WorkgroupName OneComputerName(printer attached)

So apparently it is not seeing the printer.

Any suggestions?
 
Old 07-18-2004, 05:17 PM   #8
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
could you copy and paste the exact output?
 
Old 07-18-2004, 10:57 PM   #9
temdesign
Member
 
Registered: Jul 2004
Location: New Orleans
Posts: 35

Rep: Reputation: 15
Exact Output

That is the exact output.

I am posting and replying on this site from my windows xp pro box. I hardly use the Linux box. I have 3 Windows XP Pro boxes, a Windows 2003 Server box, a Mac OS X Panther laptop, and a laptop with Linux on it. So as you can see, I am a windows guy but wanting to learn linux.
 
Old 07-19-2004, 07:02 AM   #10
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
what does the smb.conf look like?
 
  


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
cups/samba print w/o passwd in printers.conf? jshaffer Linux - Networking 1 03-29-2010 06:26 AM
Mounting a windows drive on a Linux machine (connected via an ethernet network) eddydw Linux - Networking 13 01-03-2009 03:13 PM
How to print from SLES 9 to an HP 1100a connected in Windows network. reycapoy Linux - Networking 2 11-25-2005 07:37 PM
print from Sarge over the Windows Network Printer cccc Debian 1 06-08-2005 07:51 PM
How can I print to a printer connected to a Windows XP machine? Other nebie questions powerismine Linux - Networking 4 04-02-2003 07:42 PM


All times are GMT -5. The time now is 11:13 PM.

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