It will be a case of trying a few things, e.g.:
or
Note the intentional blank line, which is the carriage return/enter character.
or:
Put the following into a file called fixfax.exp and call it from the original script instead of calling fixfax directly:
Confirm where expect is installed on your system and change the header accordingly.
Confirm what text fixfax spits out before wanting the enter key hit and the change the expect "please press enter:" line accordinlgy.
Last edited by TonyFullerMalv; 06-03-2009 at 05:08 PM..
Reason: Formatting
Do you know of any good and inexpensive Fax Software Package that can run on Unix and AIX? I will be using an external Modem attach to one of the system's serial port. I will be using it for sending faxes “only”
Thanks for your help (1 Reply)
Hi all,
I am running an application on Solaris 8. I want to send the output from this application as fax. To achive this i need to do add the fax as a printer on the unix machine.
I want to know is :
- What are the settings required to be done in order to make my server able to send fax... (0 Replies)
hiho,
do you know a hardware vendor which provide certified hardware for sun solaris/sparc with Class 2 or Class 1 compatible faxmodems pci-cards? i found many software for that purpose but no hardware... :( and the hcl on bigadmin only speaks about x86...
thanks a lot
greetings PRESSY (2 Replies)
I would like to build a small fax component in Java or Perl. I have the javax.comm. (rxtx gnu.io) for Java for serial connection and get send a message to my fax were the light goes on and port is taken, but after that I am in the dark.
Does anyone have some reference as to where I can get some... (1 Reply)
Dear Gurus,
I have an application that sends me thousands of small files.
I need to write a script that sleeps for some time untile enough files have arrived then concatenate (n) files into 1 big file, then send that big file to a program to process it.
For example, if I have the following... (2 Replies)
Hi all,
Our application has to send Fax to our cutomer Fax number .
I am using lpr -P faxser:test-fax <<dos format file>>
I tested on our network Fax numbers . Its working fine.
But when i try to send outside our network , its not sending
all files are sitting in... (1 Reply)
Dear community,
what I'm try to do is deny users to run a script without parameters from command bash, but the same script should run without parameters only from crontab.
Example runs by crontab:*/5 * * * * /tmp/script.sh
Here the normal execution starts every 5 minutes
Example #1 runs by... (16 Replies)
I've been trying to send FAXs from an HP_UX server using sendmail via an Esker FAX server. However if I try to include FAX configuration details in the receipient address it fails. See following string for general format... (1 Reply)
Discussion started by: JohnMair
1 Replies
LEARN ABOUT PHP
locale_get_primary_language
LOCALE_GET_PRIMARY_LANGUAGE(3) 1 LOCALE_GET_PRIMARY_LANGUAGE(3)Locale::getPrimaryLanguage - Gets the primary language for the input locale
Object oriented style
SYNOPSIS
publicstatic string Locale::getPrimaryLanguage (string $locale)
DESCRIPTION
Procedural style
string locale_get_primary_language (string $locale)
Gets the primary language for the input locale
PARAMETERS
o $locale
- The locale to extract the primary language code from
RETURN VALUES
The language code associated with the language or NULL in case of error.
EXAMPLES
Example #1
locale_get_primary_language(3) example
<?php
echo locale_get_primary_language('zh-Hant');
?>
Example #2
OO example
<?php
echo Locale::getPrimaryLanguage('zh-Hant');
?>
The above example will output:
zh
SEE ALSO locale_get_script(3), locale_get_region(3), locale_get_all_variants(3).
PHP Documentation Group LOCALE_GET_PRIMARY_LANGUAGE(3)