Re: Faxing via LibreOffice Writer to Hylafax not working

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

 



Patrick Lists wrote:
> Hi,
> 
> I am trying to fax from LibreOffice Writer to a Hylafax fax server. Here
> is what I did:
> 
> 1) install the client portion of Hylafax (I used Hylafax+ 5.5.1).
> 
> 2) run faxsetup to configure the client's fax portion
> # faxsetup -client -verbose
> 
> 3) as root run spadmin:
> # /usr/lib64/libreoffice/program/spadmin
> 
> 4) add a fax printer with the following command
> /usr/bin/sendfax -D -f me@xxxxxxxxxxxxxxxxx -h 10.1.2.3 -n -s a4 \
>    -d (PHONE) (TMP)
> 
> 5) open LibreOffice Writer, create test doc
> 
> 6) add Fax icon to toolbar via Customize Toolbar -> Add -> Documents ->
> Send Default Fax (at the end)
> 
> 7) click on Fax and...
> 
> Nothing happens while I should get a dialog asking for the fax number
> (this used to work in the F14 days with OpenOffice.org). When I start
> Writer from the command line I see this error in the terminal:
> 
> sh: -c: line 0: syntax error near unexpected token `('
> sh: -c: line 0: `/usr/bin/sendfax -D -f me@xxxxxxxxxxxxxxxxx -h 10.1.2.3
> -n -m  -s a4 -d (PHONE) (TMP) 2>/dev/null'
> 
> Now here's something weird. If I select File -> Printer Settings -> Fax
> printer -> Properties -> Device -> Printer Language Type and select
> "Postscript (Level from driver)", click OK and OK and then select File ->
> Print I actually get the dialog asking for the Fax number.
> 
> Anyone have an idea how I can make the Fax icon in the toolbar work too?
> 
> Thanks for any advice.
> 
> Regards,
> Patrick

IMO shell interpret "(word)" as command list for execution in subshell,
but because You have not command separator before this construct, it's
taken as error.
But because You expect give this to sendfax command, it's necessary
quote parantheses:

/usr/bin/sendfax -D -f me@xxxxxxxxxxxxxxxxx -h 10.1.2.3 -n -s a4 \
    -d \(PHONE\) \(TMP\)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux