LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   my 'sharing windowsxp's printer' woes... (https://www.linuxquestions.org/questions/linux-networking-3/my-sharing-windowsxps-printer-woes-484353/)

orlyowl 09-17-2006 10:30 AM

my 'sharing windowsxp's printer' woes...
 
Hi. I just installed Debian and got the KDE running. Everything I want on it works. I just need to get the last thing working and I never have to use Windows on my laptop again, and that's PRINTING. Basically I have a printer connected to my desktop which is running Windows XP (for games and school's applications) and I want to use my laptop to be able to share that printer.

I have installed cups and samba, and a bunch of other things I was told to by various guides. Here's what happens next:

orly:/home/pizdets# smbclient -L //abit1800 Password:
Domain=[ABIT1800] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
X$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Printer Printer Lexmark Optra S 1855 (MS)
Domain=[ABIT1800] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------

orly:/home/pizdets# /usr/sbin/lpadmin -p Lexmark -v smb://Administrator:11209@ABIT1800/Printer -P /root/inkjet.ppd
lpadmin: add-printer (set device) failed: client-error-not-possible


I've also tried the same thing thru h t t p://localhost:631/admin and was not successful. After I give the name and location of the printer, it asks me for the device (http, ipp, etc) but there is no choice for smb!

I finally checked in Kcontrols and tried to add a printer, but the choice for SMB type is greyed out and I cannot pick it!

Please help! Thanks in advance.

Brian1 09-17-2006 12:13 PM

Have you setup the URL device like this.
smb://[UName}:[Password]@[Machine Name]/[Sharename]

Example:
smb://FordPrefect:ArthurDent@trillium/HP_Officejet

Brian1

orlyowl 09-17-2006 12:20 PM

Yes, I still get client-error-not-possible

Brian1 09-18-2006 04:21 PM

Not sure what to try next. Only thing I have run into is some issues of file sharing from a Windows 2000 Pro machine. Can mount from command line fine but under SMB4K it caused errors to mount. No idea why. Never any issues with 95/98/me and xp. I think in 2000 it had to do with the password encrytion it used.

Brian1


All times are GMT -5. The time now is 02:11 AM.