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] Samba FAXing



Hi Karmit

By the way, I have to trouble you a bit more. I hope you don't mind.
No problem

1. I can only "http://127.0.0.1:631/printers"; with the Linux PC to access and setup the printer. I cannot "http://192.168.0.200:631/printers"; on XP PC while I can "http://192.168.0.200:10000"; for Webmin.
It seems to me that CUPS is configured to be used only from localhost. Change
the setup of cups in the following manner (/etc/cups/cupsd.conf):

# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
# (Change '@LOCAL' to 'ALL' if using directed broadcasts from another subnet.)
BrowseAllow @LOCAL
BrowseAddress @LOCAL

<Location />
  # Allow shared printing and remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin>
  Encryption Required
  # Allow remote administration...
  Order allow,deny
  Allow @LOCAL
</Location>
<Location /admin/conf>
  AuthType Basic
  Require user @SYSTEM
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow @LOCAL
</Location>

In this case "@LOCAL" means your network! After these changes you have to
restart the CUPS service.


I have already disabled the firewall of the Linux PC. During the printer setup : Device ? I choose "ipp", Make ? I choose "Postscript", Model ? I choose "Genric Postscript". Is that okay ? How can I make a test ?
Steps within W2K:

CUPS: You need to create a printer class (eg. Fax) containing you sambafax printer

a) Start "Add a new printer"
b) Choose "Network printer" then next
c) Chosse "Connect to a printer on the internet" (or similar)
d) Enter the URI "ipp://192.168.0.200:631/classes/Fax"
   ==> Note: The class name (eg. "SambaFax" is case sensitve!)
e) With choosing next you will be then asked for the printer driver if
   the printer could be detected. Choose any Postscript driver

Steps within Windows XP:

a) Start "Add a new printer"
b) Choose "Network printer" then next
c) Chosse "Connect to a printer on the internet" (or similar)
d) Enter the URI "ipp://192.168.0.200:631/printers/SambaFax"
   ==> Note: The class name (eg. "SambaFax" is case sensitve!)
e) With choosing next you will be then asked for the printer driver if
   the printer could be detected. Choose any Postscript driver

Kind regards

Rolf (aka spieler67)


2. I have problem with printer setup in XP. It seems that the client PC cannot access the server (ipp://192.168.0.200:631/printers/SamberFax), I guess with the same reason above. Do I need to change some setting of CUPS ?


Please give me some advice / instructions. Thanks so much !!!

Karmit

----- Original Message ----
From: Rolf Ackermann <rolf.ackermann@xxxxxxx>
To: hylafax-users@xxxxxxxxxxx
Sent: Sunday, May 11, 2008 9:59:19 PM
Subject: Re: [hylafax-users] Samba FAXing

Hi Karmit

1. For e), shall I do it in Samba ? OR actually add a printer ? I have checked that the path in the Samba share "/var/spool/samba" is accessable to ALL. Sorry, I am still a newbie to Linux.
No, do it within CUPS (eg. https://faxserver:631/printers). When you will be
asked for the DeviceURI enter the name of the script "sambafax" (without any
path). Please note that you first should copy the script into
"/usr/lib/cups/backend" directory.

2. I am testing with Windows XP, I suppose I can add any PS printer.

3. I have also tried to add a 9-pin printer in "Printer configuration", then it appears in the Samba printer share. I set it to guest okay. It appeared to the Windows XP PC, but same message : access denied, cannot connect. Why ? I guess I have to modify something in Samba.
To both questions: If you use IPP (Internet printer protocol) you
don't need to configure samba because CUPS is working primarly with
IPP. The advantage of IPP is that you can configure you printer as
you need from Windows, MAC, Linux.

The other thing is that (while installing under Windows) you can
simply add a new printer using any PS driver but as a network
printer with the device URI like point g).

Kind regards

Rolf (aka spieler67)




____________________ HylaFAX(tm) Users Mailing List _______________________
 To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
 *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions