Re: printer_start_doc
| From: | Rob Cox | Date: | Fri, 24 Aug 2001 18:20:37 +0000 |
| Subject: | Re: printer_start_doc | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9051@lists.php.net to get a copy of this message | ||
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.
"Erik H. Mathy" <erik@butlerandco.com> wrote in message
news:005101c12cc2$fb03c390$1300020a@erik_laptop...
> > 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
>