LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-28-2007, 03:56 PM   #1
Greebstreebling
Member
 
Registered: Nov 2005
Location: Swansea, Wales, UK
Distribution: debian
Posts: 235

Rep: Reputation: 30
Smile sharing a deskjet printer on a windows machine


Hi all Having lots of fun reading about samba (last I knew it was a dance...). Making some progress on sharing a Deskjet printer attached to a windows xp machine.

from my Deb 4.0 machine I have issued smbclient -L FRED -N and the result was great it found my Windows printer share called Deskjet940c. So far so good.

I'm now configuring CUPS following a nice 'mini howto' but here's where my knowledge falls down a bit (a lot). I issued this:

lpadmin -p FREDPrinter -v smb://FRED/Deskjet940c -P /root/deskjet940c.ppd

But I'm cooked now as it complains with:

lpadmin: No such file or directory

Should I put //FRED/Deskjet940c in the printer share in smb.conf?

also is /root/deskjet940c.ppd supposed to be a printer driver for the HP Deskjet? Where might I get such a beast?

Thanks a lot for any help,
Greeb
 
Old 09-28-2007, 05:30 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
If you're not root, you probably have to specify the /sbin directory where lpadmin probably lives.
Code:
/sbin/lpadmin .....
Try that for starters.

--- rod.
 
  


Reply



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
Sharing CUPS Printer with SAMBA to Windows machine turbocueca Linux - Server 8 05-05-2007 10:41 AM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
Sharing a printer on Fedora with a Windows Machine timswim78 Linux - Networking 1 07-15-2005 07:32 PM
Sharing Printer of XP machine ntloser Linux - Newbie 1 10-06-2003 09:41 AM
Sharing a printer on a windows machine Mattouf Linux - Networking 6 06-22-2002 10:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration