[SOLVED] How do I set up a fax server as a printer for my local network
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora 36; Homebrew desktop with Ryzen 5600G and 32Gb. Using Red Hat since 1998
Posts: 304
Rep:
How do I set up a fax server as a printer for my local network
Folks, I have an old notebook (IBM T23) running as my print server on the home network. Recently my wife needed to fax some documents. No problem, said I, I will just set up a fax server. That was months ago and I have achieved nothing more than dig a deep pit. Sigh.
Could some kind person give me step by step instructions for this?
Setup: LAN including IBM T23 with an external modem (it has an internal winmodem, but I expect using that to be just too hard) and running FC10. This machine currently has the only printer, accessible from all machines on the LAN.
Wish list: Be able to fax from any machine on the network, via the T23->modem. Preferably, to see the fax device as a printer on client machines, so it is a simple matter for my wife to 'print' to the fax. Machines on the LAN are FC10 (wife) and FC11 (me). Ability to receive faxen is not necessary, but if it is feasible I MIGHT try to set up for it too. The phone line is our normal house line, so I don't want the fax to pick up any incoming call unless I instruct it to.
Current status: Hylafax installed on the T23. So far cannot make it recognise the external or internal modems. Have not figured out how to make it appear as a printer on the T23 or over the LAN. The problem is me, but at my advanced age I am not too proud to admit my failing grey matter and ask for help.
Distribution: Fedora 36; Homebrew desktop with Ryzen 5600G and 32Gb. Using Red Hat since 1998
Posts: 304
Original Poster
Rep:
billymayday, Modem is a 56k Dynalink external fax/modem.
I am trying to follow through the Hylafax manual, but have not found the magic incantation to get everything up as yet. Looks as though I will just have to go back and beat my head against the wall for a bit longer.
Cheers, Doug
Distribution: Fedora 36; Homebrew desktop with Ryzen 5600G and 32Gb. Using Red Hat since 1998
Posts: 304
Original Poster
Rep:
faxaddmodem did not barf when I attached /dev/ttyS0, so I assume that much is done.
HylaFAX does not create a printer device which can be printed to by programs like Open Office Writer, but that is exactly what I am wanting to do. A command-line interface will not work with my wife and it is for her that I am trying to do this.
What I really want is an equivalent to the Windoze 'Print to Fax' function.
Distribution: Fedora 36; Homebrew desktop with Ryzen 5600G and 32Gb. Using Red Hat since 1998
Posts: 304
Original Poster
Rep:
Yep, read that. Not using Windoze, so the Samba stuff does not apply.
You have started me in the right direction, though. Having used faxsetup, faxaddmodem and faxmodem (I am a send-only station), I am pretty sure Hylafax is humming away OK. To create a printer, I found fax4CUPS "http://vigna.dsi.unimi.it/fax4CUPS/" and created a printer using the Cups web admin page. Viola! I now have a fax printer device on the server, shared to all the other computers.
The problem now is that the fax printer does not ask for a phone number when it is invoked, so all my faxen go onto the queue as held. I guess what I need is something to fit between the application and the fax4CUPS driver, to ask for the fax number and inject that as a -j option in the stream going to fax4CUPS, so it can hand the fax off correctly to Hylafax. The printer options applet for fax4CUPS 'knows' this is a fax device and asks for all sorts of stuff other then the job name (the -j option which needs to be set to the fax number).
I will keep on bashing - someone must have been down this path before!
Distribution: Fedora 36; Homebrew desktop with Ryzen 5600G and 32Gb. Using Red Hat since 1998
Posts: 304
Original Poster
Rep:
The sambafax site seems to be dead. Both the links given are directed to the http://www.purpel3.nl home page.
The addition to /etc/printcap is ephemeral, as Cups will destroy it next time I maintain a printer.
However, I have installed everything as far as possible. It is fragile and patchy. I still cannot print to the fax modem from any machine.
This has all become too hard. It is not worth wasting any more time on. My wife will have to get an email address instead of a fax number in future!
I don't want to sound rude, but you really need to pay at least a little attention to what people tell you, and to read the links provided.
Quote:
I'd follow this link provided (use the archive link)
And read the initial link for the samba solution I gave you
Quote:
He has provided a sambafax web-site at: http://www.purpel3.nl/sambafax/. Please refer to it for the most up-to-date information. If you are working with it, drop him a line. Update 7/13/2008: that website was not being maintained. You may find an archived version of that website at http://web.archive.org/web/200703052...3.nl/sambafax/. There also appears to be a successor to sambafax - salsafax that is on that website.
Distribution: Fedora 36; Homebrew desktop with Ryzen 5600G and 32Gb. Using Red Hat since 1998
Posts: 304
Original Poster
Rep:
No need to apologise - I appreciate the help and realise I am making it harder than it has to be. I am recovering from a breakdown and the medication makes it hard to think.
I did indeed miss the link to salsafax on the archive site. I am looking at it now and will let you know how I get on.
Again, apologies if you feel I am being a pain - not intentional I assure you.
Distribution: Fedora 36; Homebrew desktop with Ryzen 5600G and 32Gb. Using Red Hat since 1998
Posts: 304
Original Poster
Rep:
I have installed salsafax on the server and networked machines see it OK. Now I need to set up a Samba environment on my server and my clients - no? The salsafax instructions include a block of amendments to the samba configuration file: is this amendment made on the server, or on each client?
If I understand the whole process, what I am doing is creating a salsafax printer on the server, designed to take a postscript stream, parse the fax number from the stream and send the stream as a fax to the parsed number; each client then needs to create a printer 'pointing' to the salsafax on the server and using a local postscript printer driver to create the ps stream.
I am going to have a break before trying to set up samba - my brain is fading. If you could confirm that I have grasped the overall picture correctly, I would be grateful. Also, is there a dummies guide to setting up samba?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.