Sign in with
Sign up | Sign in
Your question

Printer becomes unshared after printing

Last response: in Windows XP
Share
August 17, 2004 3:21:14 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

I have an end user who when they run a certain program to print to a network
printer, after the page prints, the network printer suddenly becomes
unshared!

The program that does the printing is a fairly simple VB program, using the
VB printer object (no API calls), and it is running fine on literally
hundreds of different systems/networks.

However at this one installation, the program prints a page, and then after
that they must go to the system where the printer is connected and share the
printer again.

It is only happening when printing from one PC. There are two printers on
the network (an HP 6P and HP 2300). Printing from this problem PC to either
of these printers makes the printer become unshared at the computer where
the printer is attached. What could possibly cause that?
Anonymous
August 19, 2004 2:10:28 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

does the user have admin rights on the server?

Also add informational spooler events (printers folder, File ,Server
Properties, Advanced) check the system event log for event 9.

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"JJ" <jjj@nospam.com> wrote in message
news:ew$1W3GhEHA.2052@tk2msftngp13.phx.gbl...
> I have an end user who when they run a certain program to print to a
network
> printer, after the page prints, the network printer suddenly becomes
> unshared!
>
> The program that does the printing is a fairly simple VB program, using
the
> VB printer object (no API calls), and it is running fine on literally
> hundreds of different systems/networks.
>
> However at this one installation, the program prints a page, and then
after
> that they must go to the system where the printer is connected and share
the
> printer again.
>
> It is only happening when printing from one PC. There are two printers on
> the network (an HP 6P and HP 2300). Printing from this problem PC to
either
> of these printers makes the printer become unshared at the computer where
> the printer is attached. What could possibly cause that?
>
>
August 19, 2004 7:28:36 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Alan,

Thanks, but just a short time after your post, we found the problem.

It was actually not related to printing the page after all, but the function
of selecting the printer destination. So we were looking in the wrong
place.

(Our code had this in it: pi2->Attributes = PRINTER_ATTRIBUTE_DEFAULT;
when it should have been: pi2->Attributes |= PRINTER_ATTRIBUTE_DEFAULT;,
so it was replacing the shared attribute on the printer when the user
selected their default printer through our program.)


"Alan Morris(MSFT)" <alanmo@online.microsoft.com> wrote in message
news:%23Qcgq9ghEHA.2908@TK2MSFTNGP10.phx.gbl...
> does the user have admin rights on the server?
>
> Also add informational spooler events (printers folder, File ,Server
> Properties, Advanced) check the system event log for event 9.
>
> --
> Alan Morris
> Windows Printing Team
> Search the Microsoft Knowledge Base here:
> http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> "JJ" <jjj@nospam.com> wrote in message
> news:ew$1W3GhEHA.2052@tk2msftngp13.phx.gbl...
> > I have an end user who when they run a certain program to print to a
> network
> > printer, after the page prints, the network printer suddenly becomes
> > unshared!
> >
> > The program that does the printing is a fairly simple VB program, using
> the
> > VB printer object (no API calls), and it is running fine on literally
> > hundreds of different systems/networks.
> >
> > However at this one installation, the program prints a page, and then
> after
> > that they must go to the system where the printer is connected and share
> the
> > printer again.
> >
> > It is only happening when printing from one PC. There are two printers
on
> > the network (an HP 6P and HP 2300). Printing from this problem PC to
> either
> > of these printers makes the printer become unshared at the computer
where
> > the printer is attached. What could possibly cause that?
> >
> >
>
>
Related resources
!