Re: Application started from a "win services" doesn't see network
- From: "Bruce Sanderson" <bsanders@xxxxxxxxx>
- Date: Thu, 28 Apr 2005 21:05:36 -0700
You might try adding the "network printer" as a "Local Printer" per
instructions in http://members.shaw.ca/bsanders/NetPrinterNoPP.htm. I
suspect that at least part of the issue is that "Network Printers" are a per
user thing configured in the user's profile. When something runs as a
Service, there is no "user profile".
However, a Service should be able to use an existing Local Printer.
I suspect having a Service adding a printer each time it runs would be not a
good thing to do.
--
Bruce Sanderson MVP Printing
http://members.shaw.ca/bsanders
It is perfectly useless to know the right answer to the wrong question.
"xavier" <xavier@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EA223E07-F51C-493F-8523-DA45A80A7A06@xxxxxxxxxxxxxxxx
> thank you for your concern :
> I've read the link you sent and notice the /ga in the command, it's
> worse.
>
> here another try to explain my prob.
> 1 step : on the srv1 the Admin install a printer print1 ( on
> \\pcuser\print1 )
> 2 step : execution on srv1 the background process enumerate printers ->
> no
> net printer , I try to connect printui.dll,PrintUIEntry /in /n
> \\pcuser\print1 ok it print.
> 3 step : next print job find 2 printers "\\pcuser\print1" > ????
> 4 step : the admin log on sev1 all he can do is delete the printers
> and
> goto step1 ;(
>
> printui.dll,PrintUIEntry /ga /n \\pcuser\print1 seem to fail I don't
> know
> why ?
> I've also tried it in interactive mode : the spooler fail need to be
> restarted
>
>
>
>
>
>
> "Bruce Sanderson" wrote:
>
>> See http://members.shaw.ca/bsanders/NetPrinterAllUsers.htm for how to add
>> a
>> network printer for all users on a computer.
>>
>>
>>
>> --
>> Bruce Sanderson MVP
>>
>> It's perfectly useless to know the right answer to the wrong question.
>>
.
- References:
- Application started from a "win services" doesn't see network pri
- From: xavier@isia
- 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
- From: xavier
- Application started from a "win services" doesn't see network pri
- Prev by Date: Re: Printing "range"?
- Next by Date: Re: finding attached printer on remote machines
- Previous by thread: Re: Application started from a "win services" doesn't see network
- Next by thread: Move PrintServer Queues toanother Drive
- Index(es):
Relevant Pages
|