Re: printer_start_doc
| From: | Daniel Beulshausen | Date: | Fri, 24 Aug 2001 18:40:23 +0000 |
| Subject: | Re: printer_start_doc | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9052@lists.php.net to get a copy of this message | ||
At 14:20 24.08.2001 -0400, Rob Cox wrote:
I've made sure that the printer is available to IUSR_ALPHA (my server). The printer is actually open to everyone but I made sure that IUSR_ALPHA was specified too. Nothing. Still get the same error.please try http://www.php4win.com/~daniel/php-4.0.7rc1-win32.zip there have been some fixes to the extension since 4.0.6. if that still doesn't work please provide some reproducing code. sounds like printer_start_doc() is failing (permission problem, no device context created/failed,...). daniel
"Erik H. Mathy" <erik@butlerandco.com> wrote in message news:005101c12cc2$fb03c390$1300020a@erik_laptop.../*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.deYes I believe that I a m running under the IUSR_ComputerName account.I'llhave 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 ifIdon'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 -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net