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 |
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. |
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... |
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. |
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.) |
All times are GMT -5. The time now is 06:36 AM. |