By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,761 Members | 1,969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,761 IT Pros & Developers. It's quick & easy.

Crystal Reports PrintToPrinter Method seems to hang.

P: n/a
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?
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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'talways return.

We have had at least 4 cases now where the printers above seem to hangwith several reports in the printer queue and when this happens themethod PrintToPrinter doesn't return, thus hanging the application. Noerror message is logged in the exception log. It simply seems to bewaiting for the printer to return or something.

This is creating havoc with our Invoice process. Each of the printersin the 3 different locations have had this problem

Is there a way to for us catch an event, or something that will tellus what is going on?
.

Nov 20 '05 #2

P: n/a
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'talways return.

We have had at least 4 cases now where the printers above seem to hangwith several reports in the printer queue and when this happens themethod PrintToPrinter doesn't return, thus hanging the application. Noerror message is logged in the exception log. It simply seems to bewaiting for the printer to return or something.

This is creating havoc with our Invoice process. Each of the printersin the 3 different locations have had this problem

Is there a way to for us catch an event, or something that will tellus what is going on?
.

Nov 20 '05 #3

P: n/a
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" <an*******@discussions.microsoft.com> wrote in message news:<15*****************************@phx.gbl>...
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?
.

Nov 20 '05 #4

P: n/a
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" <an*******@discussions.microsoft.com> wrote in message news:<15*****************************@phx.gbl>...
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?
.

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.