Page 2 of 2

Report printing with a Network Printer(TCP/IP)

Posted: Wed Feb 01, 2012 10:26 am
by HighAley
Hello.

Thank you for information. We need time to analyse it.

By the way, you print direct to winspool.Drv, but we use standard .Net Framework GDI+ methods.

Thank you.

Report printing with a Network Printer(TCP/IP)

Posted: Mon Feb 13, 2012 10:22 am
by HighAley
Hello.

We've reproduced your issue and found out that it's a .Net Framework, Windows and printer driver problem.
Please, try to set the Printer Name with printer's local name on that host but not the network shared name. In this case printing time was very short.
Please, write us if it will help or not.

Thank you.

Report printing with a Network Printer(TCP/IP)

Posted: Mon Feb 27, 2012 12:37 am
by Chasoo
Hello,

Sorry for the delay. In our environment we do have a printer server which is controlling the printer.In order to access the printer we have to use printer server assigned name on network.i have try use the printer host name but then printersettings isvalid will return false.

in the other hand in our solution we have a printer table in the database where we store all the printers.and we are sending prints on run time next available printer by UNC name which is stored in the database.we dont have the control to change the printer name there.we will use printer unc name which has entered by the user when printing the report.

we are still stuck with the report printing time here.

tnx

Chaminda

Report printing with a Network Printer(TCP/IP)

Posted: Tue Feb 28, 2012 9:55 am
by HighAley
Hello, Chaminda.
Chasoo wrote:Sorry for the delay. In our environment we do have a printer server which is controlling the printer.In order to access the printer we have to use printer server assigned name on network.i have try use the printer host name but then printersettings isvalid will return false.

in the other hand in our solution we have a printer table in the database where we store all the printers.and we are sending prints on run time next available printer by UNC name which is stored in the database.we dont have the control to change the printer name there.we will use printer unc name which has entered by the user when printing the report.

we are still stuck with the report printing time here.
We made an investigation in this way. When we used UNC printer name than there was a delay more than a minute. When we used in the UNC printer name its' local name on the server the printing began almost immediately.
We found the same problem here (http://social.msdn.microsoft.com/Forums ... 19cf1e5f61) but it isn't solved. If you could find the reason, we'll fix this problem.

Thank you.