Printing to a Windows print server with Samba

John Thompson JohnThompson at new.rr.com
Fri Jul 23 14:06:19 UTC 2004


Mike Ramirez wrote:
> On Fri, 2004-07-23 at 01:25, A. Lanza wrote:
> 
>>On Fri, 2004-07-23 at 09:18, Mark Farmer wrote:
>>
>>>A. Lanza wrote:
>>>
>>>>Hi,
>>>>
>>>>all printers in my network are connected to machines running Windows and
>>>>i have no local printer connected to my Linux box.
>>>>
>>>>I know that this can be accomplished by using Samba. I have Samba
>>>>services running on my PC and i'm able to connect to some network file
>>>>shares on Windows computers, but i cannot get to print on those servers.
>>>>
>>>>I've tried to use the FC2 printer config. utility to connect to a
>>>>network printer using SMB protocol. But with no success :(
>>>
>>>
>>>I'm fairly sure in saying that only the samba client is required for this (and cups of course - 
>>>if your using cups.)
>>>If you use kde then as long as cups is running the kde printer config tool should be able to 
>>>setup a printer.
>>>
>>>
>>>Mark Farmer RHCT
>>>Linux Server Administrator
>>>
>>
>>I think i have both samba client and cups running. How can i check?
>>On the other hand, i'm using gnome desktop. I've tried to connect to a
>>printer with the GUI utility with no luck :(
>>
>>Any more help?
>>
>>
> 
> 
> Using ps aux | grep service is how you can check to see if they are
> running.
> 
> [gufymike at gmike gufymike]$ ps aux | grep cups
> root      1920  0.0  0.3  8788 1656 ?        S    Jul21   0:00 cupsd
> gufymike 16162  0.0  0.1  3584  604 pts/102  R    01:42   0:00 grep cups
> [gufymike at gmike gufymike]$ ps aux | grep smb
> gufymike 16164  0.0  0.1  3580  580 pts/102  R    01:42   0:00 grep smb
> [gufymike at gmike gufymike]$ ps aux | grep samba
> gufymike 16172  0.0  0.1  3580  580 pts/102  R    01:42   0:00 grep
> samba
> [gufymike at gmike gufymike]$

Or just the "service" command:

   [root at starfleet doc]# service cups status
   cupsd (pid 27784) is running...
   [root at starfleet doc]# service smb status
   smbd (pid 4981) is running...
   nmbd (pid 4985) is running...
   [root at starfleet doc]#


-- 

-John (john at os2.dhs.org)





More information about the fedora-list mailing list