On Sat, 26 Mar 2005, Phill wrote:

> 
> Yes I can print from linux. There is nothing in the samba logs regarding
> the printing and /var/log/[printer|lpd|messages] does not exist on the
> system. It is almost like it never gets to samba at all. I have tried to
> disable firewalls on both machines but that didn't work. Mind you I didn't
> reboot linux without the firewall

Assuming a postfix printer called lp0 generate a file to print
$ ls /usr/bin | mpage >ls.ps
$ smbclient -P //localhost/lp0 -U username
smb> put ls.ps

That at least cuts the windows client out of the equation. In general I 
always find it good to test stuff with smbclient on the server itself (or 
perhaps another linux machine to eliminate name lookup issues). The syntax 
was from memory but you want the 'connect as a printer' option to 
smbclient - otherwise it's exactly the same as a file share - use ftp 
style commands for smbclient (ie get/put/ls/cd)

 -- 
---<GRiP>---
** ROOM FOR RENT $120pw (neg) near Newington Shops 525/401 buses **
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG Secretary, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
        Some people actually read these things it seems.


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to