LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-06-2005, 06:08 AM   #1
dussel
Member
 
Registered: Dec 2004
Distribution: SuSE 9.X, SuSE 10, SLES 9,RedHat, Feodora Gentoo, Solaris, and more
Posts: 50

Rep: Reputation: 15
Question Print problem to a windows printer


Hello all,

I hope there is a few that can help me with my print problem.

I tries from my SuSE linux pc to print to a windows2000 connected server. when I test the connection that everything looks OK and it is no complains when I try print but it is never working.

OK, here is a little more details...

When I use the command "smbclient -L win_pc -U user%password" then I get the following back

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote-IPC
print$ Disk Druckertreiber
ADMIN$ Disk Remoteadmin
C$ Disk Standardfreigabe
Domain=[XXXX] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager].

I have also tested with find smb and there is no problems either, I find the win_pc without any problems.

When I print a test looks it okay to me, I use this command

echo "test" | smbclient //WIN_PC/print$ -U user%password -c 'print -'

and I get this back

Domain=[XXXX] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
putting file - as stdin-11016 (2.4 kb/s) (average 2.4 kb/s)

but it's never get printed out.


Would be grateful for help to solve this problem!

//Dussel
 
Old 04-06-2005, 06:23 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Well, what type of printer do you have? Does it need a print driver on the Windows system? (It probably does.)

Most probably the printer is expecting some "header information" telling it what to print.

Bottom line, you probably need a "print driver" on the Linux side. Open a browser, and go to http://localhost:631 and see what you can do to configure a SMB printer.
 
Old 04-07-2005, 06:06 AM   #3
dussel
Member
 
Registered: Dec 2004
Distribution: SuSE 9.X, SuSE 10, SLES 9,RedHat, Feodora Gentoo, Solaris, and more
Posts: 50

Original Poster
Rep: Reputation: 15
It is a HP laserJet 3100.

I have already a HP network printer that it works fine to printout to, so I don't think it is a CUPS problem...
 
Old 04-07-2005, 01:56 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Opps. I missed a point. Looking at your smbclient output, I notice that all you show is the print$ share for the MS print drivers, not the actual printer. (In fact, all you show are the default system shares. I believe that these are, generally, reserved for MS network activities, not user connections.)

Perhaps you should go to the PC and set the printer there to "share" Then it would, at least, be visable to the Linux system.

I still think you'll need to go to the CUPS configuration setup and define the printer and the smb path to it. But if the PC is not sharing the printer, then you will, of course, not be able to use it.
 
Old 04-07-2005, 02:05 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Oh, one other thing: On the PC side, you might also need to go to "Control Panel -> Add or Remove Programs -> Add/Remove Windows Components -> Other Network and Print Services" to see if "Unix/Linux print support" is installed.

(The "Windows Components" item is in the left margin.)
 
  


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
Printer Won't Print From Windows eggoz Linux - Networking 0 12-01-2004 10:47 PM
How do I Print using a Windows Printer 1kyle Linux - Networking 3 07-21-2004 03:28 PM
Cannot print to Linux printer from Windows 2k paranoia1980 Linux - Hardware 5 09-16-2003 10:29 PM
Windows printer does not print using Samba ZhiYi Linux - Networking 0 02-28-2003 04:20 AM
How do I print to a Windows printer in redhat 8.0 sgroy45 Linux - General 1 01-08-2003 04:10 PM


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