I'm not sure that would be true. We print 1,000's of reports to shared
printers, but occasionaly a printer will stop and PrintToPrinter
doesn't return. Once the printer's queue is cleaned out, the printing
starts again.
"Jorge" <(E-Mail Removed)> wrote in message news:<15b4c01c41db7$463c63c0$(E-Mail Removed)>...
> Hi Mike,
>
> There's a big limitation with PrintToPrinter You can't
> use it to print on shared printers only local.
>
> Kind Regards
> Jorge
> >-----Original Message-----
> >Printer - HP4300 in 3 different locations.
> >VB.Net
> >
> >Calling crReportObject.PrintToPrinter(iRptCopies, True,
> 1, -1) doesn't
> >always return.
> >
> >We have had at least 4 cases now where the printers
> above seem to hang
> >with several reports in the printer queue and when this
> happens the
> >method PrintToPrinter doesn't return, thus hanging the
> application. No
> >error message is logged in the exception log. It simply
> seems to be
> >waiting for the printer to return or something.
> >
> >This is creating havoc with our Invoice process. Each of
> the printers
> >in the 3 different locations have had this problem
> >
> >Is there a way to for us catch an event, or something
> that will tell
> >us what is going on?
> >.
> >
|