Application started from a "win services" doesn't see network pri
- From: "xavier@isia" <xavier@isia@discussions.microsoft.com>
- Date: Fri, 15 Apr 2005 02:47:06 -0700
Env = win2000 SP3
Here is my scenario :
Our app start as a service : It extract data from a db and print to
printers.
The service is started with a particular user let say "user1".
Then we reboot the server :
If the net printers were installed before after a rebbot they are not
visible.
So we try to connect the net printer in our with "rundll32
printui.dll,PrintUIEntry /q /in /n "\\Server\NamePrinter".
It recreate the printer but for a default user .
This could give two same printer for the same user : and a problem for us.
Here is my two questions :
- How can I connect a printer for a specified user when a console session
isn't logged.
- Or how can I define the printer for all the user
.
- Follow-Ups:
- Re: Application started from a "win services" doesn't see network pri
- From: Bruce Sanderson
- Re: Application started from a "win services" doesn't see network pri
- Prev by Date: Printer driver was not installer - Access denied message
- Next by Date: Re: "Access denied, unable to connect" viewing shared print queues
- Previous by thread: Printer driver was not installer - Access denied message
- Next by thread: Re: Application started from a "win services" doesn't see network pri
- Index(es):
Relevant Pages
|