You are here: Re: Using PHP to parse emails and print to specific printer « All PHP « IT news, forums, messages
Re: Using PHP to parse emails and print to specific printer

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация