HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Fax from Samba



Am 2001.05.17 00:08 schrieb(en) Andrew:
> Thanks for your help but.. no luck.
> I changed the printcap to usr/spool/lpd:\
> and the smb.conf to     path = /var/spool/lpd/lp
> Question: do I need to create those directories because they don't exist?
> Or
> will it create them? I'm new to Linux forgive me if these are stupid
> questions.
> thanks
> -andrew
> 

You have got various problems... First, your spool directory in the
'/etc/printcap' is not correct. The ':sd' must point to the directory
'/var/spool/lpd'. Second, there is no need to specify any further entries
in the SAMBA-config file concerning the fax printer. It should be
sufficient to have an entry like

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   printable = yes
   public = yes
   create mode = 0700
   directory= /tmp


in your /etc/samba/smb.conf.

Another thing is that the entry in the '/etc/printcap' as described in the
Hylafax HOWTO does not work with the LPRng which comes with Red Hat 7.1 (as
whith RH 7.0 before.) So I made an extension to sambafax to work with LPRng
with the kindly support of Ignace Suy. Ignace Suy made a website to
sambafax. I do not know if this page is just official so I will not post
this here. I think that when it is official there will be a link in the
Hylafax HOWTO to this page. So I will post my LPRng extensions here:

You have to put the following lines in your '/etc/printcap.local' and
restart LPRng

# begin /etc/printcap.local

fax-lp:\
	:lp=/dev/null:\
	:sd=/var/spool/lpd:\
	:if=/var/spool/fax/bin/sambafax:\
	:sh:ff_separator:bkf:mx#0: 

# end of printcap.local

This should work...

Bye,

Stephan


____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions