|
Posted by Ralphie on 08/16/06 17:52
On 16 Aug 2006 07:29:42 -0700, Alex wrote...
>
>Hi everyone,
>
>We're trying to write a script that will monitor 6 email addresses and
>if an email arrives it will print to a specific network printer based
>on the email address. So if the address is 'department1@domain.com' it
>will print to 'dept1ptr'. Each printer can be setup either on a
>network print server or printed to directly via IP address... they're
>all HP printers.
>
>Any suggestions on a route to go with this? I'm very familiar with PHP
>but I've never written a script to do something like this... and if PHP
>isn't the right avenue to take, I'd love other options.
>
>Thanks in advance for any suggestions on how to approach this. Take
>care,
>
>Alex.
>
You can probably use one of the exec(), shell_exec(), or system() functions to
run system processes and depending if you needed the function to return a value
or not.
Ralphie
--
Newsguy - Basic Account - $5.95 / month
http://newsguy.com/overview.htm
Navigation:
[Reply to this message]
|