DDE and PHP; printing a spreadsheet with COM?
| From: | Scott Hurring | Date: | Fri, 26 Apr 2002 21:31:46 +0000 |
| Subject: | DDE and PHP; printing a spreadsheet with COM? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13345@lists.php.net to get a copy of this message | ||
Does anyone here know if there are any plans
to add DDE support to PHP (or is there already
DDE support, but i stupidly overlooked it)?
I ran into a snag while developing a project using
PHP+COM+Excel; i couldn't find anyway to get Excel
to send the currently opened spreadsheet to the
printer... which is what i need to do after i
work with the sheets.
I found a way to do it with DDE, but then realized
that PHP doesn't support DDE; so i resorted to
writing a Perl script to loop through each
of my files and send a DDE command to Excel
telling it to print the file.
But i'd really rather like to keep everything
centered around PHP+COM, instead of now having
to use two separate languages with two separate
interfaces to manipulate and print spreadsheets.
---
Scott Hurring
Systems Programmer
EAC Corporation
ScottH@eac.com
Voice: 201-462-2149
Fax: 201-288-1515