RE: [PHP] COM/PHP problem
| From: | Jeremy Wilson | Date: | Sun, 15 Sep 2002 01:34:34 +0000 |
| Subject: | RE: [PHP] COM/PHP problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116410@lists.php.net to get a copy of this message | ||
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/graphic
s/hh/graphics/custdrvr_9kmf.asp?frame=true
Sorry I gave you a sub url before. This MSDN link will probably help you
with managing printers through COM
-----Original Message-----
From: Michael Hazelden [mailto:michael.hazelden@ocado.com]
Sent: Saturday, September 14, 2002 5:55 PM
To: 'php-general@lists.php.net'
Subject: [PHP] COM/PHP problem
Hi there,
I've been fiddling with the COM extensions and I've got it activating my
application and printing the file I want using the internal functions.
However, I want to guarantee the printer and tray on the printer used by
the script. Is this possible? At the moment - our solution involves
creating two service users who we set up with the correct default
printer (which is set to print to the correct tray depending) ... one
for each tray. Then the script that activates the reports runs under one
of the users (depending on which tray) ...
Is there any way to force this via COM? We don't want to be restricted
to service users ... I can't find anything on Microsoft about
controlling printers via COM ... so I'm hoping that someone here has
some experience!
Note: The application we're using via COM has no functions to control
printers ... only to print ... would make life a lot easier if it did
have them!
Cheers,
Michael.
This message has been checked for all known viruses by the MessageLabs
Virus Control Centre.
*********************************************************************
Notice: This email is confidential and may contain copyright material
of Ocado Limited (the "Company"). Opinions and views expressed in this
message may not necessarily reflect the opinions and views of the
Company. If you are not the intended recipient, please notify us
immediately and delete all copies of this message. Please note that it
is your responsibility to scan this message for viruses.
Company reg. no. 3875000. Swallowdale Lane, Hemel Hempstead HP2 7PY
*********************************************************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php