RE: [PHP-WIN] printer_start_doc
| From: | Erik H. Mathy | Date: | Fri, 24 Aug 2001 17:34:08 +0000 |
| Subject: | RE: [PHP-WIN] printer_start_doc | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9049@lists.php.net to get a copy of this message | ||
> Yes I believe that I a m running under the IUSR_ComputerName account. I'll
> have to verify permissions.
Do that. If it's a printer being shared over the network, it's subject to
either the domain permissions or the permissions specific to the box doing
the sharing (or both, actually). Wow. That was a long-ass runon sentence!
> I've just noticed that the handle that is being returned is showing as
> 'Resource id #1'. I have no idea about that but it makes sense that if I
> don't have a proper handle, I won't be able to create a doc.
That's because you're running PHP4. It ID's things like connections,
etc...as Resource #(whathaveyou). It's an interesting way to keep track of
how many major resources you have in a script. ;)
> I would like to thank you Erik. You pushed me in the right
> direction to get to here.
Bah, piffle, tain't no thing. It's nothing you wouldn't have come up with,
I'm sure. Besides...it's good karma. You get some, you pass it on!
- Erik